P4.7 - Vectors
- Syllabus
- 2019
- Topic
- P4.7
- Level
- A2
A vector records both magnitude and direction. In two dimensions it has two components; in three dimensions it has three. The components measure the signed change parallel to each coordinate axis.
| Form | Three-dimensional example |
|---|---|
| column vector | 3−25 |
| unit-vector form | 3i−2j+5k |
| displacement | move 3 in x, −2 in y, and 5 in z |
Two vectors are equal when their corresponding components are equal, even if they start at different points. Thus 3−25 and 3i−2j+5k represent the same vector.
A point describes a location; a vector describes a displacement or direction. They may use the same ordered numbers, but their meanings differ. Preserve component order and signs: the third component is the z-change, not an extra label.
The magnitude ∣a∣ is the length of a vector. It follows from Pythagoras in two or three dimensions. Dividing a non-zero vector by its magnitude keeps its direction but changes its length to 1.
a1a2a3=a12+a22+a32,a=∣a∣a(a=0)
For a=4−42, ∣a∣=42+(−4)2+22=6. A unit vector in the same direction is a=614−42=2/3−2/31/3. Its magnitude is 1, which checks the calculation.
Magnitude is never negative, but vector components may be. Squaring removes component signs inside the length calculation. The zero vector has magnitude 0 and no defined direction, so it cannot be divided by its magnitude to make a unit vector.
Vector addition combines successive displacements, while scalar multiplication changes a vector's length and possibly its direction. Both operations are performed component by component.
a1a2a3+b1b2b3=a1+b1a2+b2a3+b3,ka1a2a3=ka1ka2ka3
If a=2−13 and b=−451, then a+b=−244,2a−b=8−75. Geometrically, addition places vectors head-to-tail; the resultant joins the starting point to the finishing point.
Multiplying by a positive scalar preserves direction, multiplying by a negative scalar reverses it, and multiplying by zero gives the zero vector. Do not add magnitudes in place of components: vector addition depends on direction.
The position vector of a point runs from the fixed origin to that point. If OA=a and OB=b, the displacement from A to B is found by subtracting start from finish.
AB=OB−OA=b−a
If A=(2,−3,5) and B=(8,1,−1), then AB=81−1−2−35=64−6. Reversing the journey gives BA=−AB.
Position vectors also encode division of a segment. If B lies one third of the way from A to C, then b=a+31(c−a), so c=3b−2a. The coefficients reflect the stated direction and ratio.
Always subtract the position vector of the starting point from that of the finishing point. Coordinates and position-vector components match relative to the fixed origin, but AB is not normally the position vector of either endpoint.
The distance between two points is the magnitude of the displacement vector joining them. Subtract corresponding coordinates, square the changes, add them, and take the non-negative square root.
d=∣P1P2∣=(x2−x1)2+(y2−y1)2+(z2−z1)2
For P=(1,−2,4) and Q=(5,1,−8), PQ=43−12, so PQ=42+32+(−12)2=169=13. The same distance results from QP because every component is squared.
Distance is a scalar and cannot be negative. Do not omit the square root when the question asks for distance rather than distance squared, and do not add coordinate changes before squaring them.
A vector line is determined by one point and one non-zero direction vector. The parameter moves through every real value, generating every point on the line.
| Given information | Vector equation |
|---|---|
| point with position vector a, direction b | r=a+tb |
| points with position vectors c and d | r=c+t(d−c) |
Through C=(1,2,0) and D=(3,−1,4), a direction is CD=(2,−3,4), so r=120+t2−34. At t=1 this gives D, providing a quick check.
| Direction-vector test | Simultaneous coordinate equations | Relationship |
|---|---|---|
| scalar multiples | — | parallel (or the same line if they share a point) |
| not scalar multiples | one consistent pair of parameters satisfies all three coordinates | intersecting |
| not scalar multiples | no pair satisfies all three coordinates | skew |
Use different parameters for different lines. Solving only two coordinate equations is not enough: substitute the resulting parameters into the third. In three dimensions, lines that are not parallel need not intersect; they may be skew.
The scalar product converts two vectors into a number that measures directional alignment. Its component form calculates the value; its geometric form connects that value to the angle between the vectors.
a⋅b=a1b1+a2b2+a3b3=∣a∣∣b∣cosθ
For non-zero a=122 and b=201, a⋅b=4,∣a∣=3,∣b∣=5, so θ=cos−1(354)≈53.4∘. For the acute angle between two lines, use the absolute value of the cosine because either direction vector may be reversed.
If non-zero vectors satisfy a⋅b=0, then cosθ=0 and they are perpendicular. For example, (1,2,2)⋅(2,1,−2)=2+2−4=0. This condition can locate the foot of a perpendicular by making a displacement vector dot a line's direction equal to zero.
The dot product is a scalar, not a vector. The angle formula requires two non-zero vectors. When an angle is attached to named points, form both vectors from the angle's vertex before taking their scalar product.