Class 12 MathsAll 13 chaptersQuick lessonWorked solutionsPast papersPast papersGet updates
Class 12 Mathematics · Chapter 10

Vector Algebra.
How far, and which way.

Some quantities need only a number: 5 seconds, 30 km/h, 10 grams. Others also need a direction: a push of 10 newtons which way? a walk of 4 km towards where? These are vectors, and we draw them as arrows. In this chapter you learn to add arrows, stretch them, split them into i, j and k parts, and multiply them in two different ways: the dot product measures how much two arrows agree, and the cross product builds a new arrow standing straight up from both.

The arrow OP⃗ from the origin to P(3, 4, 2.5) is the position vector of P. Walking 3 along x, 4 along y and 2.5 up z gets you there, so OP⃗ = 3i + 4j + 2.5k, where i, j, k are the unit arrows along the axes.
Part 1 · Sections 10.1–10.2

A vector is a length with a direction.

Some quantities are just a size. A vector is a size together with a direction, so we draw it as an arrow.

Scalar or vector
AB⃗,  length |AB⃗|

A scalar has a magnitude only (mass, time, speed, temperature). A vector has a magnitude and a direction (displacement, velocity, force). Draw it as a directed line segment from the initial point A to the terminal point B. Its length |AB⃗| is the magnitude.

Position vector
|OP⃗| = √(x² + y² + z²)

The arrow OP⃗ from the origin O to the point P(x, y, z) is the position vector of P. This is its magnitude.

Direction cosines
l = xr,  m = yr,  n = zr
l² + m² + n² = 1

OP⃗ makes angles α, β, γ with the positive x, y and z axes (its direction angles). Their cosines l = cos α, m = cos β, n = cos γ are the direction cosines. Here r = |OP⃗|.

Direction ratios
x : y : z = l : m : n

Any numbers proportional to the direction cosines (for example x, y, z themselves) are direction ratios.

Position-vector labMove the point P. The arrow OP⃗, its box of components, its length and its three direction cosines update. However you move P, l² + m² + n² stays exactly 1.
position vector and direction cosines
Example 1

Draw a displacement of 40 km, 30° west of south.

  1. Face south, turn 30° towards west, draw 4 squares.
OP⃗ with |OP⃗| = 40 km.
Example 2

Scalars or vectors: 5 s, 1000 cm³, 10 N, 30 km/h, 10 g/cm³, 20 m/s north.

  1. Does it need a direction?
Vectors: 10 N and 20 m/s north.
Part 2 · Section 10.3

Six kinds of vectors worth naming.

Some vectors come up so often that they have their own names. Each name says what is special about one arrow, or what two arrows share.

NameWhat it means
Zero vector
0⃗
length 0 and no fixed direction: its start and end are the same point
Unit vector
â
length 1; â is the unit vector along a⃗
Coinitial
AB⃗, AC⃗
start at the same point
Collinear
a⃗ ∥ b⃗
lie along parallel lines (also called parallel), whatever their lengths and senses
Equal
a⃗ = b⃗
same length and same direction, wherever they start
Negative
BA⃗ = −AB⃗
same length, opposite direction
In this chapter vectors are free vectors: we may slide them without turning them.
Basics for thissize or arrow?
Name that typePick a type. The picture shows two arrows of that kind, and says exactly what they share.
what they share
Example 3

In Fig 10.5, which vectors are collinear, equal, coinitial?

  1. Same line; same length and direction; same start.
Collinear a⃗, c⃗, d⃗; equal a⃗, c⃗; coinitial b⃗, c⃗, d⃗.
Part 3 · Section 10.4

Adding arrows: head to tail.

To add two arrows, walk along one and then the other. The sum is the single arrow from where you started to where you ended.

Triangle law
AB⃗ + BC⃗ = AC⃗
AB⃗ + BC⃗ + CA⃗ = 0⃗

Put the tail of b⃗ at the head of a⃗: the sum a⃗ + b⃗ goes from the tail of a⃗ to the head of b⃗. Going round a closed triangle brings you back to the start.

Parallelogram law
a⃗ + b⃗ = diagonal

Put both arrows at the same start. The sum is the diagonal of the parallelogram they span: the same arrow as the triangle law gives.

Subtracting
a⃗ − b⃗ = a⃗ + (−b⃗)

Subtraction adds the negative.

Rules for adding

a⃗ + b⃗ = b⃗ + a⃗
(a⃗ + b⃗) + c⃗ = a⃗ + (b⃗ + c⃗)
a⃗ + 0⃗ = a⃗

Addition is commutative and associative, and 0⃗ is the additive identity.

Triangle and parallelogram labTurn and stretch the two arrows. Switch between the two laws: the green sum is the same arrow either way. Tick "subtract" to add −b⃗ instead.
a⃗ = 3i + j and the result
Part 4 · Section 10.5

Components: every vector is xi + yj + zk.

Split any arrow into three steps along the axes. Then working with vectors becomes working with ordinary numbers.

Component form
r⃗ = xi + yj + zk

i, j, k are the unit vectors along the x, y and z axes. For the position vector of P(x, y, z), x, y, z are the scalar components and xi, yj, zk the vector components.

Scalar multiple
|λa⃗| = |λ| |a⃗|

Multiplying by a scalar λ stretches the length by |λ|, and reverses the direction if λ < 0.

Unit vector
â = a⃗|a⃗|

Divide a vector by its own length: the result is the unit vector along a⃗.

End minus start
P₁P₂⃗ = (x₂ − x₁)i
+ (y₂ − y₁)j + (z₂ − z₁)k

The vector from P₁(x₁, y₁, z₁) to P₂(x₂, y₂, z₂).

VectorsIn components
a⃗ + b⃗(a₁ + b₁)i + (a₂ + b₂)j + (a₃ + b₃)k
λa⃗(λa₁)i + (λa₂)j + (λa₃)k
a⃗ = b⃗exactly when a₁ = b₁, a₂ = b₂, a₃ = b₃
a⃗, b⃗ collinearexactly when b⃗ = λa⃗, that is b₁a₁ = b₂a₂ = b₃a₃
With a⃗ = a₁i + a₂j + a₃k and b⃗ = b₁i + b₂j + b₃k, everything works component by component.
Scalar-multiple labλa⃗ for a⃗ = 2i + j. Slide λ: the arrow stretches by |λ| and flips when λ is negative. The pink unit vector never changes length (1), it only flips with the direction.
λa⃗ and its length
Example 4

xi + 2j + zk = 2i + yj + k.

  1. Match components.
x = 2, y = 2, z = 1.
Example 5

a⃗ = i + 2j, b⃗ = 2i + j: equal lengths? equal vectors?

  1. √5 each; components differ.
|a⃗| = |b⃗|, a⃗ ≠ b⃗.
Example 6

Unit vector along 2i + 3j + k.

  1. Divide by √14.
(2i + 3j + k)/√14.
Example 7

Length 7 along i − 2j.

  1. 7 × unit vector.
(7/√5)i − (14/√5)j.
Example 8

Unit vector along (2i + 2j − 5k) + (2i + j + 3k).

  1. Sum 4i + 3j − 2k, length √29.
(4i + 3j − 2k)/√29.
Example 9

Direction ratios and cosines of i + j − 2k.

  1. Divide by √6.
1, 1, −2; 1/√6, 1/√6, −2/√6.
Example 10

Vector from P(2, 3, 0) to Q(−1, −2, −4).

  1. End minus start.
−3i − 5j − 4k.
Part 5 · Section 10.5.3

The section formula: weighing the two ends.

A point that divides PQ in a ratio is a weighted average of the two ends. It is pulled towards the end with the bigger weight.

Internal
r⃗ = mb⃗ + na⃗m + n

P and Q have position vectors a⃗ and b⃗. R lies between P and Q and divides PQ internally: PR : RQ = m : n.

External
r⃗ = mb⃗ − na⃗m − n

R lies outside the segment and divides PQ externally: PR : QR = m : n.

Midpoint
r⃗ = a⃗ + b⃗2

The midpoint is the case m = n.

Watch the cross-over
m goes with b⃗,  n with a⃗

The ratio number next to Q multiplies Q’s vector, so the point is pulled towards the end with the bigger weight.

Section-formula labChoose m and n. Internal division keeps R between P and Q; external division pushes it outside, beyond the end with the bigger number. The distances PR and RQ are measured to show the ratio really is m : n.
position vector of R
Example 11

OP⃗ = 3a⃗ − 2b⃗, OQ⃗ = a⃗ + b⃗; divide in 2 : 1.

  1. Internal and external formulas.
5a⃗/3 and 4b⃗ − a⃗.
Example 12

A(2i − j + k), B(i − 3j − 5k), C(3i − 4j − 4k) form a right triangle.

  1. 41 = 6 + 35.
Right angle at C.
Part 6 · Sections 10.6.1–10.6.2

The dot product: how much two arrows agree.

The dot product turns two arrows into one number. It measures how much they point the same way, and it is 0 at a right angle.

The definition
a⃗ · b⃗ = |a⃗| |b⃗| cos θ

θ is the angle between them, 0 ≤ θ ≤ π. The answer is a number: the scalar (dot) product. It is 0 if either vector is 0⃗.

In components
a⃗ · b⃗ = a₁b₁ + a₂b₂ + a₃b₃

The dot product is commutative and distributes over addition. With i · i = j · j = k · k = 1 and i · j = j · k = k · i = 0, that gives this rule. Also a⃗ · a⃗ = |a⃗|².

The angle
cos θ = a⃗ · b⃗|a⃗| |b⃗|

Positive for an acute angle, 0 for a right angle, negative for an obtuse angle. So a⃗ ⊥ b⃗ exactly when a⃗ · b⃗ = 0.

Projection
a⃗ · b̂ = a⃗ · b⃗|b⃗|

The projection of a⃗ on b⃗: the length of a⃗’s shadow on the line of b⃗. The projection vector is (a⃗ · b̂) b̂.

Shadow labTurn b⃗ round a⃗. The green bar is the shadow (projection) of b⃗ on a⃗, and a⃗ · b⃗ = |a⃗| × shadow. At 90° the shadow disappears; past 90° it falls behind and the dot product goes negative.
|a⃗| = 3
Example 13

|a⃗| = 1, |b⃗| = 2, a⃗ · b⃗ = 1: the angle.

  1. cos θ = ½.
π/3.
Example 14

Angle between i + j − k and i − j + k.

  1. cos θ = −1/3.
cos⁻¹(−1/3).
Example 15

(a⃗ + b⃗) ⊥ (a⃗ − b⃗) for a⃗ = 5i − j − 3k, b⃗ = i + 3j − 5k.

  1. Dot product 0.
Shown.
Example 16

Projection of 2i + 3j + 2k on i + 2j + k.

  1. 10/√6.
(5/3)√6.
Example 17

|a⃗| = 2, |b⃗| = 3, a⃗ · b⃗ = 4: |a⃗ − b⃗|.

  1. Square and expand.
√5.
Example 18

â unit, (x⃗ − â) · (x⃗ + â) = 8.

  1. |x⃗|² − 1 = 8.
|x⃗| = 3.
Example 19

|a⃗ · b⃗| ≤ |a⃗||b⃗|.

  1. |cos θ| ≤ 1.
Cauchy–Schwarz.
Example 20

|a⃗ + b⃗| ≤ |a⃗| + |b⃗|.

  1. Square, use Example 19.
Triangle inequality.
Example 21

A(−2i + 3j + 5k), B(i + 2j + 3k), C(7i − k) collinear.

  1. |AC| = |AB| + |BC|.
Collinear.
Part 7 · Section 10.6.3

The cross product: an arrow standing up from both.

The cross product turns two arrows into a new arrow that stands straight up from both. Its length is the area they span.

The definition
a⃗ × b⃗ = |a⃗| |b⃗| sin θ n̂

For non-zero, non-parallel a⃗ and b⃗: the vector (cross) product. n̂ is the unit vector perpendicular to both, chosen by the right-hand rule: curl the fingers from a⃗ to b⃗, and the thumb points along n̂.

Area
|a⃗ × b⃗| = |a⃗| |b⃗| sin θ

This is the area of the parallelogram with sides a⃗ and b⃗. A triangle with sides a⃗ and b⃗ has area ½|a⃗ × b⃗|.

Order matters
b⃗ × a⃗ = −(a⃗ × b⃗)

The cross product is not commutative. And if a⃗ ∥ b⃗, then a⃗ × b⃗ = 0⃗.

In components
a⃗ × b⃗ = ijka₁a₂a₃b₁b₂b₃

The cross product is this determinant, with i, j, k in the top row.

The unit vectors

i × j = k
j × k = i
k × i = j
i × i = j × j = k × k = 0⃗
Parallelogram labOpen the angle between a⃗ and b⃗. The shaded area is |a⃗ × b⃗| = |a⃗||b⃗| sin θ: zero when they line up, largest at 90°. The symbol shows the direction of a⃗ × b⃗: ⊙ out of the screen, ⊗ into it. Swap the order to see b⃗ × a⃗ point the other way.
|a⃗| = 3, |b⃗| = 2
Example 22

|a⃗ × b⃗| for 2i + j + 3k and 3i + 5j − 2k.

  1. Determinant: −17i + 13j + 7k.
√507.
Example 23

Unit vector ⊥ to a⃗ + b⃗ and a⃗ − b⃗.

  1. Cross product, divide by length.
±(−i + 2j − k)/√6.
Example 24

Triangle A(1, 1, 1), B(1, 2, 3), C(2, 3, 1).

  1. ½|AB⃗ × AC⃗|.
½√21.
Example 25

Parallelogram on 3i + j + 4k and i − j + k.

  1. |a⃗ × b⃗|.
√42.
Example 26

All unit vectors in the XY-plane.

  1. Tip on the unit circle.
cos θ i + sin θ j.
Example 27

Angle between AB⃗ and CD⃗; collinear?

  1. cos θ = −1.
θ = π; collinear.
Example 28

|a⃗| = 3, |b⃗| = 4, |c⃗| = 5, each ⊥ the sum of the other two.

  1. Square the sum.
5√2.
Example 29

a⃗ + b⃗ + c⃗ = 0⃗, lengths 3, 4, 2: a⃗ · b⃗ + b⃗ · c⃗ + c⃗ · a⃗.

  1. Dot with each vector, add.
−29/2.
Example 30

Split β⃗ = 2i + j − 3k along and across α⃗ = 3i − j.

  1. λ = ½.
(3/2)i − ½j and ½i + (3/2)j − 3k.
Self-check

The nine multiple-choice questions, and six more.

Fifteen quick questions to check yourself. Tap an option to see whether it is right, and why.

Every MCQ from Exercises 10.2–10.4 and the miscellaneous exercise, plus six concept checks.

Score0 / 1515 left to answer
Summary

Remember this.

A vector has a magnitude and a direction. OP⃗ = xi + yj + zk and |OP⃗| = √(x² + y² + z²).

Direction cosines: l = x/r, m = y/r, n = z/r, with l² + m² + n² = 1.

Add head to tail (triangle law) or along the diagonal (parallelogram law); in components, add matching parts. λa⃗ stretches by |λ|; â = a⃗/|a⃗|.

AB⃗ = (position of B) − (position of A). Section formula: (mb⃗ + na⃗)/(m + n) internally, (mb⃗ − na⃗)/(m − n) externally.

a⃗ · b⃗ = |a⃗||b⃗| cos θ = a₁b₁ + a₂b₂ + a₃b₃, a number. Zero means perpendicular. Projection of a⃗ on b⃗ = a⃗ · b⃗/|b⃗|.

a⃗ × b⃗ = |a⃗||b⃗| sin θ n̂: a vector perpendicular to both, found by the i, j, k determinant.

|a⃗ × b⃗| is the parallelogram area, and b⃗ × a⃗ = −a⃗ × b⃗.

A little history

From "to carry" to vector analysis.

c. 350 BCAristotle

Already knew that the combined action of two forces could be found by the parallelogram law.

1586Simon Stevin

Analysed the geometric addition of forces in De Beghinselen der Weeghconst ("Principles of the Art of Weighing").

c. 1800Wessel and Argand

Gave the complex number a + ib a picture as a directed line segment in a plane.

1853Hamilton

First used the word vector (from the Latin vectus, "to carry") in Lectures on Quaternions.

1880sGibbs and Heaviside

Separated the scalar and vector parts of the quaternion product and created the vector analysis used today.

Finished Chapter 10? Hear when the next one is ready

Leave your email and we will write when a new chapter or a new set of worked solutions is ready. That is all we use it for, and you can ask to be taken off the list at any time.

You are on the list. We will email you when new chapters are added, and for nothing else.