Vector operations
A vector carries two pieces of information at once — how much and which way — and everything in Class 12 vector algebra, from the dot product to the equation of a line in space, is built on top of the small toolkit covered here: writing a vector in component form using , finding its magnitude and direction, and combining two or more vectors by addition, subtraction, and scalar multiplication. This is the opening theme of the optional Vector Algebra unit (Section B), and it is deliberately computational — proofs of geometry theorems using vectors sit outside the syllabus. Get comfortable here first: direction cosines, position vectors, and the scalar-multiple test for collinear points reappear constantly once products of vectors are introduced.
A vector in component form is added, subtracted, and scaled term-by-term, its magnitude is , and its direction is fixed by direction cosines satisfying .
The core idea
A vector in three dimensions is written in component form using the unit vectors along the , , axes:
Its magnitude — a nonnegative scalar, never a vector — is
where: are the scalar components of along the three axes.
Direction cosines and ratios. The direction cosines of are the cosines of the angles it makes with the , , axes, so , , , and they always satisfy (proved below). Any numbers merely proportional to — that is, proportional to — are direction ratios; they fix the direction but need not satisfy the identity.
Special vectors. is a unit vector if , and the unit vector along any nonzero is . The zero vector has zero magnitude and no defined direction. Two vectors are equal only if they share both magnitude and direction. Two nonzero vectors are parallel (or collinear) if one is a scalar multiple of the other: .
Points to vectors. If and are two points, ; note . The position vector of is , measured from the origin .
Addition, subtraction, scalar multiplication all act component-wise: for and ,
where: is a real scalar; scales the magnitude by and flips the direction when . The negative has the same magnitude as but points the opposite way.
The goal is to show, starting only from the definitions , , and the magnitude formula , that these three ratios always satisfy the identity for any nonzero vector , which is why the identity can be used as a quick check on any set of direction cosines a student computes.
Step 1. Write each direction cosine as a ratio of a component to the magnitude: , , . These are exactly the definitions given above — nothing new is assumed yet.
Step 2. Square each ratio and add them together: . All three fractions share the same denominator , so they combine into a single fraction.
Step 3. Substitute the magnitude formula. Since by definition, the numerator and denominator of the fraction from Step 2 are identical: .
Step 4. Read the result. The identity holds for every nonzero vector regardless of its individual components, which is why it is used as a built-in consistency check: if a computed set of does not satisfy , an arithmetic error has been made somewhere upstream.
Worked example
Let and , the same vectors used to introduce this topic. Find , the magnitude and direction cosines of , and then use those results to test whether is parallel to .
Step 1 — subtract a scalar multiple. , so .
Step 2 — magnitude and direction cosines of . , so , , . Check: , confirming the identity from the derivation.
Step 3 — test against for a scalar multiple. . Since is a scalar multiple of with , the two vectors are parallel (in fact anti-parallel, since ).
Answer: ; with direction cosines ; and , so .
Common traps
- Treating and as interchangeable — one is a vector, the other a nonnegative scalar; never add a vector to a number.
- Reporting direction ratios as if they were direction cosines without dividing by — only direction cosines satisfy .
- Getting the order wrong in : it is final point minus initial point, and .
- Assuming equal magnitude means equal vectors — direction must match too, and for collinearity the scalar multiple must be checked component-by-component, not just approximately.
Ask the tutor: if you want to see how this same direction-cosine and collinearity toolkit extends once the dot and cross products are introduced, ask the AI tutor to walk through a mixed problem.
What is actually the difference between direction cosines and direction ratios?
Direction cosines are the specific numbers , , obtained by dividing each component by the vector's magnitude, and they always satisfy . Direction ratios are any three numbers proportional to — for instance the raw components themselves — that fix the same direction but are not normalised, so they generally do not satisfy that identity. If a question just says find the direction, giving direction ratios is fine unless it specifically asks for direction cosines.
Why does the scalar-multiple test prove three points are collinear?
Two vectors are parallel exactly when one is a scalar multiple of the other, because scaling a vector only changes its length (and possibly flips it), never its line of action. If for some scalar , then and both lie on the line through in the direction of that common vector, so all three points share one line — that is the definition of collinear. The test fails to prove collinearity if the ratios of corresponding components are not all equal, since then no single works.
Do I need to memorise the direction cosine identity proof for the exam?
The proof itself is short enough that it is worth knowing it can be derived, but most questions simply ask you to compute from a given vector and use as a self-check, not to reproduce the derivation. Where it does matter is in mixed problems that give you two of and ask for the third — there you substitute into the identity and solve, which only works if you trust it always equals exactly 1.