- Practice
- About 28 min
- 5 practice questions
Components, scalar and vector products, position and displacement
Resolve vectors into components, add them using î, ĵ, k̂, multiply vectors by scalars, use the scalar (dot) and vector (cross) products with their properties, and find position vectors, distance and displacement.
If something looks wrong, please tell us.
By the end of this lesson you can
- Resolve a vector as A = Aₓî + A_yĵ + A_zk̂ with Aₓ = A cos θ and A_y = A sin θ.
- Add and subtract vectors component by component and multiply a vector by a scalar.
- Calculate A·B = AB cos θ = AₓBₓ + A_yB_y + A_zB_z and use it to find angles and test for perpendicular vectors.
- Calculate A × B by the determinant and use the right-hand rule and the area interpretation.
- Write position and displacement vectors and distinguish distance from displacement.
Drawing triangles works for two vectors, but becomes slow for three or more, or in three dimensions. Once we fix a coordinate system, every vector can be split into components along the axes, and vector algebra reduces to ordinary algebra on the components. This lesson also introduces the two ways of multiplying vectors that appear all through physics.
Components of a vector
In three dimensions any vector can be written A = Aₓ î + A_y ĵ + A_z k̂, where Aₓ, A_y, A_z are its x, y and z components. In two dimensions, if A makes an angle θ with the x-axis, Aₓ = A cos θ and A_y = A sin θ, and A = √(Aₓ² + A_y²). In three dimensions A = √(Aₓ² + A_y² + A_z²). The unit vectors along the negative axes are −î, −ĵ and −k̂.
Adding: A + B = (Aₓ + Bₓ) î + (A_y + B_y) ĵ + (A_z + B_z) k̂, and similarly for subtraction. Multiplying by a scalar λ: λA has magnitude |λ|A, in the same direction as A if λ is positive and opposite if λ is negative. Physics is full of such products: F = ma (m positive, so force is along acceleration), p = mv, and F = qE (q may be negative, so the force may be opposite to the field).
Equal vectors have equal components. If A = B, then Aₓ = Bₓ, A_y = B_y and A_z = B_z. So one vector equation is equivalent to three scalar equations: F = ma means Fₓ = maₓ, F_y = ma_y and F_z = ma_z.
Worked example 1: components and sums
(a) A displacement of 10 m makes 30° with the x-axis: Aₓ = 10 cos 30° = 8.66 m, A_y = 10 sin 30° = 5.0 m. (b) Let A = 2î + 3ĵ − k̂ and B = î − 2ĵ + 4k̂. Then A + B = 3î + ĵ + 3k̂ and A − B = î + 5ĵ − 5k̂. Also 3A = 6î + 9ĵ − 3k̂, and the unit vector along A is (2î + 3ĵ − k̂)/√14, since A = √(4 + 9 + 1) = √14.
The scalar (dot) product
A·B = AB cos θ, where θ is the angle between them. The result is a scalar.
- Positive for an acute angle, negative for an obtuse angle, zero for perpendicular (orthogonal) vectors.
- Commutative: A·B = B·A; distributive: A·(B + C) = A·B + A·C.
- Maximum AB at θ = 0° (parallel); minimum −AB at θ = 180° (anti-parallel).
- A·A = A², so A = √(A·A); î·î = ĵ·ĵ = k̂·k̂ = 1 and î·ĵ = ĵ·k̂ = k̂·î = 0.
- In components: A·B = AₓBₓ + A_yB_y + A_zB_z; the angle is θ = cos⁻¹(A·B/AB).
Work is a scalar product: W = F·dr = F dr cos θ. In uniform circular motion the centripetal force is perpendicular to the displacement, so it does no work.
The vector (cross) product
A × B = (AB sin θ) n̂, where n̂ is a unit vector perpendicular to the plane of A and B, in the direction a right-handed screw advances when turned from A to B through the smaller angle (right-hand rule: fingers curl from A to B, thumb gives the direction).
- The product is perpendicular to both A and B.
- Not commutative: A × B = −(B × A); the magnitudes are equal, the directions opposite.
- Maximum magnitude AB at θ = 90°; zero for parallel or anti-parallel vectors, so A × A = 0 and î × î = ĵ × ĵ = k̂ × k̂ = 0.
- î × ĵ = k̂, ĵ × k̂ = î, k̂ × î = ĵ; reversing the order gives a minus sign (ĵ × î = −k̂).
- In components: A × B = î(A_yB_z − A_zB_y) − ĵ(AₓB_z − A_zBₓ) + k̂(AₓB_y − A_yBₓ), the expansion of the determinant with rows (î, ĵ, k̂), (Aₓ, A_y, A_z), (Bₓ, B_y, B_z).
- |A × B| is the area of the parallelogram with sides A and B; half of it is the area of the triangle.
Rotational quantities are cross products: torque τ = r × F, angular momentum L = r × p, and linear velocity v = ω × r.
Scalar product and vector product
-
A·B (dot)
- Result is a scalar
- AB cos θ
- Commutative
- Zero when perpendicular
- Example: work
-
A × B (cross)
- Result is a vector
- AB sin θ, perpendicular to both
- Anti-commutative
- Zero when parallel
- Example: torque
Worked example 2: dot and cross products
Take A = 2î + 3ĵ − k̂ and B = î − 2ĵ + 4k̂ again. Dot: A·B = (2)(1) + (3)(−2) + (−1)(4) = 2 − 6 − 4 = −8. A = √14 = 3.742, B = √21 = 4.583, so cos θ = −8/(3.742 × 4.583) = −8/17.15 = −0.467 and θ ≈ 117.8° (obtuse, because the dot product is negative). Cross: î(3 × 4 − (−1)(−2)) − ĵ(2 × 4 − (−1)(1)) + k̂(2 × (−2) − 3 × 1) = î(12 − 2) − ĵ(8 + 1) + k̂(−4 − 3) = 10î − 9ĵ − 7k̂. Check: A·(A × B) = 20 − 27 + 7 = 0, so the product is indeed perpendicular to A. The parallelogram on A and B has area √(100 + 81 + 49) = √230 ≈ 15.2 square units.
Position vector, distance and displacement
The position vector of a particle at P(x, y, z) is r = xî + yĵ + zk̂, drawn from the origin of the frame to P. Distance is the actual path length travelled: a positive scalar. Displacement is the change in position, Δr = r₂ − r₁ = (x₂ − x₁)î + (y₂ − y₁)ĵ + (z₂ − z₁)k̂, the straight line from the initial to the final position: a vector. Displacement can be positive, negative or zero; its magnitude can never exceed the distance; between two points many distances are possible but only one displacement.
Worked example 3: a walk
A girl walks 4 m east, then 3 m north, then 7 m west. With east as +x and north as +y, her final position vector is r = (4 − 7)î + 3ĵ = −3î + 3ĵ m. Its magnitude is √(9 + 9) = 4.24 m, directed north-west, while the distance walked is 4 + 3 + 7 = 14 m. A runner who completes exactly half a lap of a circular track of radius 35 m covers a distance πr = (22/7) × 35 = 110 m but a displacement of only 2r = 70 m, across the diameter.
Key takeaways
- Components: Aₓ = A cos θ, A_y = A sin θ; magnitude √(Aₓ² + A_y² + A_z²).
- Vectors are added and compared component by component.
- Dot product: a scalar, AB cos θ, zero for perpendicular vectors; it gives the angle between vectors.
- Cross product: a vector perpendicular to both, AB sin θ, A × B = −B × A, zero for parallel vectors.
- Displacement Δr = r₂ − r₁; its magnitude never exceeds the distance travelled.
Check your understanding
-
1. The vectors P = 4î + 6ĵ and Q = 3î − 2ĵ are:
- parallel
- anti-parallel
- perpendicular
- equal
Show answer
Answer: C. P·Q = (4)(3) + (6)(−2) = 12 − 12 = 0. A zero dot product between non-zero vectors means they are perpendicular (orthogonal).
-
2. Which statement about the cross product is correct?
- A × B = B × A
- A × B is perpendicular to both A and B
- A × A = A²
- î × ĵ = −k̂
Show answer
Answer: B. The cross product is perpendicular to the plane of A and B. It is anti-commutative (A × B = −B × A), the self cross product is zero, and î × ĵ = +k̂.
-
3. For A = î + 2ĵ + 2k̂, the magnitude of A is:
- 5
- √5
- 9
- 3
Show answer
Answer: D. A = √(1² + 2² + 2²) = √(1 + 4 + 4) = √9 = 3.
-
4. A force F = (2î + 5ĵ) N moves a body through a displacement d = (4î − ĵ) m. The work done is:
- 3 J
- 13 J
- 8 J
- −5 J
Show answer
Answer: A. W = F·d = (2)(4) + (5)(−1) = 8 − 5 = 3 J.
-
5. A particle moves from r₁ = (2î + ĵ) m to r₂ = (5î + 5ĵ) m. The magnitude of its displacement is:
- 7 m
- 5 m
- √65 m
- 25 m
Show answer
Answer: B. Δr = r₂ − r₁ = 3î + 4ĵ m, so |Δr| = √(9 + 16) = 5 m.
Sign in to keep track of the lessons you finish.