Vector Algebra
Ask "what is your height?" and one number settles it — 1.6 metres, a scalar, complete in itself. Ask a football player how to pass the ball to a teammate and one number is not enough — you need muscular strength and a direction. That second kind of quantity, with magnitude and direction bound together, is a vector, and it is the subject of this entire chapter. Displacement, velocity, force, momentum: physics is saturated with vectors, and mathematics needs a clean algebra to add them, scale them, and multiply them before physics can put that algebra to work. This chapter builds that algebra from the ground up. It starts geometrically — a directed line segment with an initial point and a terminal point, its length the magnitude, its arrowhead the direction — and quickly earns an algebraic form: every vector in three-dimensional space can be written as , three numbers riding the three coordinate axes. Once vectors have components, the whole of algebra becomes available: addition by the triangle and parallelogram laws, scaling by a real number, division of a line segment in a given ratio, and — the two ideas the chapter is really building toward — two entirely different ways to multiply two vectors together. The scalar (dot) product collapses two vectors into a single number and measures how much they point the same way; the vector (cross) product builds a brand-new vector perpendicular to both and measures the area they sweep out. Why does this matter beyond the exam? Every later application — lines and planes in three-dimensional geometry, work done by a force, torque, angular momentum, the normal to a surface — is vector algebra wearing a different hat. Master the definitions precisely here, keep magnitude and direction separate in your head at every step, and the geometry chapter that follows this one, along with a good fraction of JEE mechanics, becomes an exercise in applying tools you already own.
- A vector has both magnitude and direction; in component form with magnitude .
- The position vector of is ; its direction cosines always satisfy , while its direction ratios need not.
- Vector addition obeys the equivalent triangle law and parallelogram law; addition is commutative and associative, with as the additive identity.
- Multiplying by a scalar gives a vector collinear with , of magnitude ; two vectors are collinear exactly when one is a scalar multiple of the other.
- A point dividing in the ratio has position vector internally and externally — the midpoint is the special case .
- The scalar product is a number; it is zero exactly when the two nonzero vectors are perpendicular.
- The vector product is a vector perpendicular to both and ; it is zero exactly when they are collinear, and it is not commutative — .
- The magnitude equals the area of the parallelogram with sides and , so the area of a triangle with sides , is .
- Key idea: every vector splits cleanly into a magnitude and a direction, addition and scaling build a full algebra of components, and the two products — dot for "how aligned" and cross for "how much area" — turn that algebra into the working toolkit behind coordinate geometry and mechanics.
A vector is magnitude plus direction, made algebraic through components ; the triangle and parallelogram laws add vectors, the section formula divides a segment, the scalar product measures alignment as a number, and the vector product builds a perpendicular vector whose length is the area swept out.
What this chapter covers
The chapter moves in a deliberate sequence, and each stage depends on the one before it. It opens with basic concepts — the definition of a vector as a directed line segment, the position vector of a point, and the direction cosines and direction ratios that pin a vector's orientation to the coordinate axes (Sections 10.2 and part of 10.5). Next come the types of vectors — zero, unit, coinitial, collinear, equal, negative — vocabulary you will use in every proof that follows (Section 10.3). The algebra proper begins with addition and scalar multiplication (Sections 10.4–10.5): the triangle law and the equivalent parallelogram law for adding two vectors, the properties of commutativity and associativity, multiplication by a scalar, and the resulting component form that turns every vector into an ordered triple of numbers. Inside this stretch sits the section formula (Section 10.5.3), which finds the position vector of a point dividing a segment in a given ratio — the single most reused tool from this chapter in the coordinate geometry that follows. The chapter closes with products of vectors (Section 10.6): the scalar (dot) product, which yields a number and underlies projection and the angle between two vectors, and the vector (cross) product, which yields a new vector and underlies area calculations, torque, and the normal to a plane. The worked examples and derivations below follow this same order — concepts and components first, then the two products, each proved from first principles and then drilled with board- and JEE/NEET-level problems.
The core ideas
Vectors, magnitude and position vectors
A directed line segment , with initial point and terminal point , is a vector: it carries a magnitude (the length ) and a direction (the way the arrowhead points). Vectors are written with an arrow, , or in bold, and the magnitude of is written . Since a length is never negative, the expression has no meaning — magnitude is always , with equality only for the zero vector. Fixing a right-handed coordinate system with origin , the position vector of a point is the vector from the origin to . Using the distance formula, its magnitude follows immediately:
where: are the coordinates of , and the formula is simply the three-dimensional Pythagoras theorem applied twice — once in the horizontal plane, once lifting up to . Position vectors of points are conventionally written (or and so on), a shorthand used throughout this chapter and the next. Throughout this chapter, vectors are treated as free vectors: a vector may be translated parallel to itself, without changing its magnitude or direction, and it still represents the same vector. This is why "vector " makes sense as an object in its own right, independent of where you choose to draw it.
Direction cosines and direction ratios
For the position vector of a point , let be the angles makes with the positive , and axes respectively — the direction angles. Their cosines are the direction cosines of , usually written , , . Because makes a right-angled triangle with each axis, , , where , and consequently
where: are the direction cosines and this identity is simply divided through by — a fact every vector's direction cosines obey, with no exceptions. Any three numbers proportional to (that is, , , for some nonzero ) are called direction ratios of the vector; the scalar components of a vector in component form always serve as one valid set of direction ratios. Unlike direction cosines, direction ratios need not satisfy — mixing this up with equation (2) is one of the chapter's most common slips.
Types of vectors
Before building the algebra, the chapter fixes vocabulary for special vectors and for relationships between them. The table collects every term the NCERT text defines.
| Term | Meaning |
|---|---|
| Zero (null) vector | initial and terminal points coincide; magnitude , direction undefined (or arbitrary) |
| Unit vector | magnitude exactly ; for any nonzero |
| Coinitial vectors | two or more vectors sharing the same initial point |
| Collinear vectors | parallel to the same line, regardless of magnitude or direction along it |
| Equal vectors | same magnitude and same direction, irrespective of initial point |
| Negative of a vector, | same magnitude as , opposite direction |
Two collinear vectors are not automatically equal (they may differ in magnitude, or point opposite ways along the same line), and two vectors of equal magnitude are not automatically collinear (they may point in entirely different directions) — a pair of true/false traps NCERT sets deliberately, and JEE still enjoys asking.
Addition of vectors: the triangle and parallelogram laws
A vector is simply the displacement from to . If a girl walks from to and then from to , her net displacement is the vector , giving the triangle law of vector addition:
where: the rule is to place vectors so the terminal point of one coincides with the initial point of the next; the sum is the vector from the very first initial point to the very last terminal point. Taking all three sides of a triangle in order, , since the path returns to its own start. When two vectors share an initial point instead — the natural setup for, say, two forces acting at a point — they are added by the equivalent parallelogram law: place and as adjacent sides of a parallelogram, and their sum is the diagonal through their common point. The two laws agree because shifting to start where ends (to apply the triangle law) is exactly what constructing the parallelogram does. Vector addition inherits two familiar properties, both provable from the parallelogram/triangle picture: it is commutative, , and associative, , so a sum of three or more vectors can be written without brackets. The zero vector is the additive identity, , and every vector has an additive inverse, , which is exactly how subtraction is defined: .
Multiplication by a scalar and the component form
For a vector and a real number (a scalar), the product is a vector collinear with : same direction if , opposite direction if , and magnitude
where: is the absolute value of the scalar. Taking gives the negative met above; taking (valid whenever ) gives the unit vector in the direction of , written — the standard first move whenever a problem asks for "a vector in the direction of" something. Taking unit vectors along the , , axes, any position vector resolves as , and more generally every vector in space can be written in component form , with magnitude by two applications of Pythagoras. Once vectors are components, the whole toolkit of coordinate algebra opens up: for and ,
where: exactly when , , — componentwise equality, the tool behind Example 4-style "find " questions. Two vectors given in component form are collinear exactly when one is a scalar multiple of the other, which reduces to the ratio test whenever no is zero — a fast collinearity check used constantly in coordinate geometry and worth memorising alongside the cross-product test met later.
Vector joining two points and the section formula
If and are two points, the vector from to follows by subtracting position vectors (using the triangle law through the origin):
where: the magnitude formula is exactly the familiar distance formula between two points — vector algebra and coordinate geometry are, at this level, the same statement in two notations. A point that divides the segment , with position vectors and , in the ratio has position vector given by the section formula, proved in full in the first derivation below:
where: internal division means lies between and ; external division means lies on the line extended, outside the segment. Setting in the internal formula gives the midpoint of as , the single most reused special case of this formula.
The scalar (dot) product
For two nonzero vectors with angle between them (), the scalar product is defined as
where: the result is always a real number (hence "scalar" product), never a vector; if either vector is , the angle is undefined and the product is defined to be by convention. Two immediate consequences drive most of the chapter's applications: , so the dot product of a vector with itself recovers the square of its length; and for two nonzero vectors exactly when , that is, exactly when — the algebraic test for perpendicularity used everywhere from this chapter onward. For the standard basis, and , since each pair is either parallel unit vectors () or perpendicular unit vectors (). The dot product is commutative, , and distributes over addition, ; combined with the basis relations above, these two facts are exactly what is needed to derive the component formula (first derivation below):
where: the second equation, obtained by solving (8) for , is the standard method for finding the angle between two vectors given in component form. A closely related idea is projection: the projection of on a directed line (or on a vector ) is the scalar , the "shadow length" casts along that direction; multiplying this scalar by gives the full projection vector.
The vector (cross) product and area
For two nonzero, non-parallel vectors with angle between them, the vector product is defined as
where: is the unit vector perpendicular to both and , chosen so that form a right-handed system — curl the fingers of the right hand from toward and the thumb points along . The result is a genuine vector (hence "vector product"), not a number. As with the dot product, by convention if either vector is , and for any two nonzero vectors, exactly when , that is, exactly when and are collinear (parallel or anti-parallel) — the cross-product test for collinearity, and in particular always. The single most important — and most examined — fact about this product is that it is not commutative: reversing the order reverses the direction of (curling the fingers the other way flips the thumb), so
For the standard basis, and, cycling through the right-handed order , , , (with the reverse order picking up a minus sign, e.g. ). Expanding term by term with these relations — carried out in full in the third derivation below — collapses into the compact determinant form
where: expanding this determinant along the top row reproduces the formula — the practical recipe used in every worked problem below. Geometrically, is exactly the area of the parallelogram with adjacent sides and : the base has length and the perpendicular height is , so base height reproduces . Halving the parallelogram gives the area of the triangle on the same two sides:
where: for a triangle with vertices , , , take and as the two sides meeting at — this is the standard setup for every "area of a triangle with given vertices" question, applied in the third derivation and in the worked examples.
The goal is to find the position vector of a point that divides the segment joining two points and in a given ratio , starting from nothing more than the triangle law of vector addition and the definition of scalar multiplication. This single result is what lets every later "point dividing a segment," "midpoint," or "centroid" question in coordinate geometry be answered by pure algebra instead of a fresh diagram each time, so it is worth deriving both the internal and external cases precisely, including the sign that distinguishes them.
Step 1. Set up position vectors. Let and be the position vectors of and with respect to an origin , and let be the position vector of , the point that divides internally in the ratio — meaning lies on segment with , both positive.
Step 2. Translate the ratio into a vector equation. Because lies between and on the same straight line, the vectors and point the same way along that line, and their lengths are in ratio . This gives , or equivalently, clearing the fraction, .
Step 3. Express both sides using position vectors. By the triangle law through the origin, and . Substituting into the Step 2 equation gives .
Step 4. Solve for . Expanding, , so , giving , and finally — the internal section formula, matching equation (7).
Step 5. Adapt the argument for external division. When lies on line extended beyond (so that is between and , with ), the vectors and point the same way rather than and , which flips a sign. Writing and substituting , gives , which rearranges to , exactly the external formula in equation (7) — note carefully that both the numerator's second term and the denominator change sign relative to the internal case.
Step 6. Sanity-check with the midpoint. Setting in the internal formula gives , the ordinary average of the two position vectors — exactly what "midpoint" should mean, confirming the formula behaves correctly in its simplest special case.
Go deeper · Derivation B · 1 minThe scalar product in component form
The goal is to derive the working formula purely from the definition , using only two structural properties — that the dot product distributes over vector addition, and that it is commutative — together with the nine possible dot products among . This is the formula used in essentially every numerical problem in the chapter, so seeing exactly where it comes from (rather than only memorising it) is what lets a student adapt it confidently under exam pressure.
Step 1. Write both vectors in component form. Let and , and form the dot product .
Step 2. Distribute term by term. Using distributivity of the dot product over addition (applied twice, once for each vector), the expression expands into nine separate dot products between basis vectors, each carrying a scalar coefficient: .
Step 3. Evaluate each basis dot product. Since are mutually perpendicular unit vectors, (angle , magnitude each) and every mixed product such as is (angle ). Substituting these values, six of the nine terms vanish outright, leaving only .
Step 4. State the result and verify it numerically. This gives , matching equation (9). As a check, take and : the formula gives . Both vectors have magnitude , so , giving — a fully consistent angle strictly between and , as expected for a negative dot product.
Go deeper · Derivation C · 1 minThe vector product in component form and the area of a triangle
The goal is twofold: first, derive the determinant formula for from the definition and the basis relations and so on, exactly as the previous derivation handled the dot product but now tracking direction as well as magnitude; second, apply the resulting formula to compute the area of a triangle from its vertices, the most common application of the cross product on both board and JEE papers.
Step 1. Expand the cross product term by term. For and , distributivity of the cross product over addition gives nine terms: .
Step 2. Substitute the basis cross products, tracking sign. The three "self" products , , are all (angle between a vector and itself). The remaining six come in three anti-commuting pairs: and ; and ; and . Substituting collapses the nine terms to six nonzero ones: .
Step 3. Group by basis vector. Collecting the , and coefficients separately gives , which is precisely the expansion of the determinant in equation (12) along its top row — the compact form is not a separate fact to memorise but a bookkeeping device for exactly this calculation.
Step 4. Apply the formula to the area of a triangle with vertices , , . Compute the two sides from : and (that is, ). Their cross product is .
Step 5. Take the magnitude and halve it. , so by equation (13) the area of triangle is square units — a full worked demonstration that the determinant formula and the area formula fit together into a single three-line procedure for any three vertices in space.
Worked examples
Board level — a unit vector and a vector of prescribed magnitude (extends NCERT Example 6)
Given , find (a) the unit vector in the direction of , and (b) a vector of magnitude units in the same direction.
Step 1. Find . Here , , , so .
Step 2. Divide by its own magnitude to get the unit vector: .
Step 3. Scale to the required magnitude. A vector of magnitude in the direction of is , which simplifies (since ) to .
Answer: the unit vector is , and the vector of magnitude in the same direction is .
Board level — the section formula, internal and external division (extends NCERT Example 11)
Points and have position vectors and . Find the position vector of the point dividing in the ratio , (a) internally and (b) externally.
Step 1. Apply the internal section formula with , : .
Step 2. Substitute components. , so . Dividing by gives .
Step 3. Apply the external section formula with , : .
Step 4. Substitute components. .
Answer: internally, has position vector ; externally, has position vector .
Competitive level (JEE / NEET) — collinearity and area from the cross product (extends NCERT Example 21 and Example 24)
(a) Determine whether the points , and are collinear. (b) A separate triangle has vertices , , ; confirm its area using the cross product, cross-checked against the derivation above.
Step 1. For part (a), form two vectors from the shared vertex : , and .
Step 2. Spot the fast test before computing a full determinant: exactly (each component of is double the corresponding component of ), so . Since the cross product vanishes, , , are collinear — they do not form a genuine triangle, and "area" for this triple is .
Step 3. For part (b), reuse the vectors from the third derivation: , , and .
Step 4. Take the magnitude: , so the area is .
Answer: , , in part (a) are collinear (no triangle, area ); the triangle in part (b) has area square units. Timing note: under ninety seconds for part (a) if you spot the component ratio first — — rather than grinding through the full determinant only to discover it equals zero. JEE frequently plants a collinear triple as a disguised "find the area" question specifically to reward students who check the ratio test from equation (5) before reaching for the cross product. Always test collinearity by inspection first; only compute the determinant in full once you know the answer is nonzero.
Common traps
- Direction cosines versus direction ratios. Direction cosines always satisfy ; direction ratios are merely proportional to them and essentially never satisfy that identity themselves. Never write "direction cosines" when you mean the raw components of a non-unit vector.
- Sign in the section formula. Internal division is ; external division swaps one sign to . Writing a plus where a minus belongs (or vice versa) is the most common numerical slip in section-formula questions.
- needs both vectors nonzero. The zero vector is "perpendicular" to everything by convention, but only proves when it is already known that neither vector is — check this before concluding perpendicularity.
- The cross product is not commutative. ; dropping the sign when reordering a cross product silently flips the answer's direction, and in area problems (where only the magnitude is used) this error is invisible, so it is worth verifying order carefully whenever direction matters.
- Confusing as meaningful. Magnitude is a length and is always ; there is no such thing as a "negative magnitude," only a negative scalar multiplying a vector.
- Collinear vectors are not automatically equal vectors, and vectors of equal magnitude are not automatically collinear — equality demands both same magnitude and same direction.
- Forgetting the triangle-versus-parallelogram area factor of . is the parallelogram's area; halve it for the triangle on the same two sides — a frequent one-mark-lost slip under time pressure.
You should be able to…
- State the definition of a vector, and clearly separate its magnitude from its direction.
- Write any vector in component form , compute its magnitude, and find its direction cosines and a valid set of direction ratios.
- Distinguish zero, unit, coinitial, collinear, equal and negative vectors, and correctly judge true/false statements mixing these terms.
- Add and subtract vectors using the triangle law or the parallelogram law, and multiply a vector by a scalar, including finding a unit vector or a vector of prescribed magnitude in a given direction.
- Apply the section formula, both internal and external, and its midpoint special case, to find the position vector of a dividing point.
- Test two vectors for collinearity using either the ratio-of-components test or the vanishing cross product.
- Compute from components, find the angle between two vectors, and test for perpendicularity.
- Compute as a determinant, and use its magnitude to find the area of a triangle or a parallelogram.
- Prove and correctly apply the Cauchy–Schwarz inequality and the triangle inequality .
Ask the tutor: if you want to see how these same section-formula and cross-product tools reappear to find lines, planes, and the shortest distance between them, ask for a walkthrough of three-dimensional geometry next.
What exactly is the difference between direction cosines and direction ratios?
Direction cosines are the cosines of the angles the vector makes with the positive , and axes, and because they come from a right triangle with hypotenuse , they always satisfy — no exceptions. Direction ratios are any three numbers proportional to (most conveniently, the vector's own scalar components), and they generally do not satisfy that sum-of-squares identity. To go from ratios to cosines, divide each ratio by : , , . In short, cosines are the normalised, unit-length version; ratios are any convenient un-normalised multiple.
Why is the dot product a number but the cross product a vector — what is the intuition?
They answer two different geometric questions. The dot product asks "how much does point along 's direction?" — a single number that is large and positive when the vectors nearly align, zero when perpendicular, and negative when they point roughly opposite ways; there is no natural direction left over, so the answer is a scalar. The cross product instead asks "what new direction, and how much area, do these two vectors sweep out together?" — the swept parallelogram genuinely has a size (its area, the magnitude) and a natural orientation (perpendicular to both original vectors, the direction), so the answer needs both a magnitude and a direction, that is, a vector.
How do I keep the internal and external section formulas straight without mixing up the signs?
Picture the geometry rather than memorising symbols. Internal division means sits between and , so both "arms" and point the same rotational way around the segment, which is what produces the all-plus formula . External division means sits outside the segment, on the extension beyond (for ), so one of the directional relationships flips, and that flip is exactly what turns one plus sign into a minus in both the numerator and the denominator: . If your answer for an "external" problem comes out equal to a point clearly sitting between and , you have used the wrong formula — always sanity-check the picture.
If a·b = 0, does that always guarantee a and b are perpendicular?
Almost always, with one boundary case to watch: the definition requires nonzero vectors before "perpendicular" even makes sense, because the angle between a vector and the zero vector is undefined. So the precise statement is: for any two nonzero vectors , if and only if . If a problem's algebra produces where one of the vectors could in principle be (for instance, an unknown vector defined by other conditions), check that it is genuinely nonzero before declaring perpendicularity — otherwise the "zero dot product" is trivially true for the wrong reason.
Is the triangle inequality |a + b| ≤ |a| + |b| ever an equality, and what does that mean?
Yes — equality holds exactly when and point in the same direction (or one of them is ), which is precisely the case where no "corner-cutting" happens: walking from to then to covers the same distance as walking straight from to only when lies on the segment , i.e. when , , are collinear with between the other two. Geometrically this matches intuition perfectly — the two sides of a genuine, non-degenerate triangle always sum to more than the third side, and the inequality collapses to equality only when the "triangle" flattens into a straight line.