Free Mathematics Class 12 ICSE notes · practise this chapter with an AI quiz

← All study notes

How a Single Arrow Can Store Both How Far and Which Way

Represent vectors as directed line segments with magnitude and direction, classify equal, unit, zero and collinear vectors, find direction cosines, work with i, j, k components, and use the section formula for position vectors.

Why do some quantities need a direction as well as a size?

Saying a car travelled 60 km is incomplete — towards Pune or towards Nashik? Displacement, velocity and force all need a direction as well as a size. Vectors package both, and their algebra underlies mechanics, computer graphics and three-dimensional geometry.

This lesson covers vectors as directed line segments, types of vectors and direction cosines, components and operations, and the section formula.

How is a vector represented as a directed line segment, and what are its magnitude and direction?

A vector is represented by a directed line segment AB→\overrightarrow{AB}, whose length gives its magnitude ∣AB→∣|\overrightarrow{AB}| and whose arrow, from the initial point A to the terminal point B, gives its direction.

Key ideas:

-
Scalars have size only — mass, time, temperature
-
Vectors have size and direction — displacement, velocity, force
- The
position vector
of P(x,y,z)P(x, y, z) is OP→=xi^+yj^+zk^\overrightarrow{OP} = x\hat{i} + y\hat{j} + z\hat{k}
- The magnitude of r⃗=xi^+yj^+zk^\vec{r} = x\hat{i} + y\hat{j} + z\hat{k} is ∣r⃗∣=x2+y2+z2|\vec{r}| = \sqrt{x^2 + y^2 + z^2}

Worked example. For A(1,2,−1)A(1, 2, -1) and B(4,6,11)B(4, 6, 11):

AB→=3i^+4j^+12k^,∣AB→∣=9+16+144=13\overrightarrow{AB} = 3\hat{i} + 4\hat{j} + 12\hat{k}, \qquad |\overrightarrow{AB}| = \sqrt{9 + 16 + 144} = 13

Worked example 2. A drone flies 30 m east and then 40 m north. Its displacement is 30i^+40j^30\hat{i} + 40\hat{j}, with magnitude 50 m, at tan⁡−14030≈53.1°\tan^{-1}\dfrac{40}{30} \approx 53.1° north of east.

An everyday example. Directions to a friend's house as '2 km towards the railway station' describe a vector: a distance together with a direction.

The substance. AB→\overrightarrow{AB} and BA→\overrightarrow{BA} have the same magnitude but opposite directions — so BA→=−AB→\overrightarrow{BA} = -\overrightarrow{AB}.

How do you classify vectors, and how do you find the direction cosines and direction ratios of a vector?

Vectors are equal when they have the same magnitude and direction, a unit vector has magnitude 1, the zero vector has magnitude 0, and collinear vectors are scalar multiples of each other; the direction cosines of ai^+bj^+ck^a\hat{i} + b\hat{j} + c\hat{k} are ar\dfrac{a}{r}, br\dfrac{b}{r} and cr\dfrac{c}{r} with r=a2+b2+c2r = \sqrt{a^2 + b^2 + c^2}, and a, b, c are its direction ratios.

Types of vectors:

-
Equal — same magnitude and direction, wherever they start
-
Unit
— magnitude 1; along a⃗\vec{a} it is a^=a⃗∣a⃗∣\hat{a} = \dfrac{\vec{a}}{|\vec{a}|}
- Zero — magnitude 0, with no definite direction
- Collinear or parallel — b⃗=λa⃗\vec{b} = \lambda\vec{a} for some scalar λ\lambda

Direction cosines. If a vector makes angles α\alpha, β\beta and γ\gamma with the axes, its direction cosines are l=cos⁡αl = \cos\alpha, m=cos⁡βm = \cos\beta and n=cos⁡γn = \cos\gamma, with l2+m2+n2=1l^2 + m^2 + n^2 = 1.

Worked example. For a⃗=2i^−j^+2k^\vec{a} = 2\hat{i} - \hat{j} + 2\hat{k}, ∣a⃗∣=3|\vec{a}| = 3, so the direction cosines are 23\dfrac{2}{3}, −13-\dfrac{1}{3} and 23\dfrac{2}{3}, the direction ratios are 2, −1-1 and 2, and the unit vector is 13(2i^−j^+2k^)\dfrac{1}{3}(2\hat{i} - \hat{j} + 2\hat{k}). Check: 49+19+49=1\dfrac{4}{9} + \dfrac{1}{9} + \dfrac{4}{9} = 1.

An everyday example. Two cars driving side by side on a straight highway at the same speed have equal velocity vectors.

The substance. Direction ratios are not unique, but direction cosines are — 2, −1-1, 2 and 4, −2-2, 4 describe the same direction.

How do you express a vector in i, j, k components and add, subtract and multiply vectors by scalars?

Any vector in space can be written as a1i^+a2j^+a3k^a_1\hat{i} + a_2\hat{j} + a_3\hat{k}, and vectors are added, subtracted and multiplied by scalars component by component, which matches the triangle law of addition.

Rules for a⃗=a1i^+a2j^+a3k^\vec{a} = a_1\hat{i} + a_2\hat{j} + a_3\hat{k} and b⃗=b1i^+b2j^+b3k^\vec{b} = b_1\hat{i} + b_2\hat{j} + b_3\hat{k}:


- a⃗+b⃗=(a1+b1)i^+(a2+b2)j^+(a3+b3)k^\vec{a} + \vec{b} = (a_1 + b_1)\hat{i} + (a_2 + b_2)\hat{j} + (a_3 + b_3)\hat{k}
- λa⃗=λa1i^+λa2j^+λa3k^\lambda\vec{a} = \lambda a_1\hat{i} + \lambda a_2\hat{j} + \lambda a_3\hat{k}
- Triangle law — AB→+BC→=AC→\overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}

Worked example. Let a⃗=2i^+3j^−k^\vec{a} = 2\hat{i} + 3\hat{j} - \hat{k} and b⃗=i^−2j^+4k^\vec{b} = \hat{i} - 2\hat{j} + 4\hat{k}.

- a⃗+b⃗=3i^+j^+3k^\vec{a} + \vec{b} = 3\hat{i} + \hat{j} + 3\hat{k}
- 2a⃗−3b⃗=i^+12j^−14k^2\vec{a} - 3\vec{b} = \hat{i} + 12\hat{j} - 14\hat{k}
- ∣a⃗+b⃗∣=9+1+9=19≈4.36|\vec{a} + \vec{b}| = \sqrt{9 + 1 + 9} = \sqrt{19} \approx 4.36

Worked example 2 (collinear points). A(1,2,3)A(1, 2, 3), B(2,4,5)B(2, 4, 5) and C(4,8,9)C(4, 8, 9) are collinear, since AB→=i^+2j^+2k^\overrightarrow{AB} = \hat{i} + 2\hat{j} + 2\hat{k} and AC→=3i^+6j^+6k^=3AB→\overrightarrow{AC} = 3\hat{i} + 6\hat{j} + 6\hat{k} = 3\overrightarrow{AB}.

An everyday example. A boat crossing a river moves with its own velocity plus the current's velocity, and the vector sum sets its actual path.

The substance. ∣a⃗+b⃗∣|\vec{a} + \vec{b}| is not ∣a⃗∣+∣b⃗∣|\vec{a}| + |\vec{b}| in general — they are equal only when the vectors point the same way.

How do you use the section formula to find the position vector of a point dividing a segment?

If A and B have position vectors a⃗\vec{a} and b⃗\vec{b}, the point dividing AB internally in the ratio m:nm : n has position vector mb⃗+na⃗m+n\dfrac{m\vec{b} + n\vec{a}}{m + n}, externally mb⃗−na⃗m−n\dfrac{m\vec{b} - n\vec{a}}{m - n}, and the midpoint has position vector a⃗+b⃗2\dfrac{\vec{a} + \vec{b}}{2}.

Worked example (internal).
For a⃗=i^+2j^−k^\vec{a} = \hat{i} + 2\hat{j} - \hat{k} and b⃗=4i^−j^+5k^\vec{b} = 4\hat{i} - \hat{j} + 5\hat{k}, the point dividing AB in the ratio 2:12 : 1 is

2(4i^−j^+5k^)+(i^+2j^−k^)3=3i^+3k^\frac{2(4\hat{i} - \hat{j} + 5\hat{k}) + (\hat{i} + 2\hat{j} - \hat{k})}{3} = 3\hat{i} + 3\hat{k}

Worked example (external). Dividing the same segment externally in the ratio 2:12 : 1 gives 2b⃗−a⃗1=7i^−4j^+11k^\dfrac{2\vec{b} - \vec{a}}{1} = 7\hat{i} - 4\hat{j} + 11\hat{k}.

Centroid. The centroid of a triangle with vertices a⃗\vec{a}, b⃗\vec{b} and c⃗\vec{c} has position vector a⃗+b⃗+c⃗3\dfrac{\vec{a} + \vec{b} + \vec{c}}{3}.

An everyday example. Placing a support pillar two-thirds of the way along a straight footbridge uses the section formula with the ratio 2:12 : 1.

The substance. The vector section formula is the coordinate formula in compact form — each component of the answer is the familiar section formula for that coordinate.
Exam tip

What earns full marks on basic vector concepts?

Put arrows or hats on every vector symbol and keep scalars plain — mixing them up makes an answer wrong, not just untidy.

- ∣r⃗∣=x2+y2+z2|\vec{r}| = \sqrt{x^2 + y^2 + z^2} and a^=a⃗∣a⃗∣\hat{a} = \dfrac{\vec{a}}{|\vec{a}|}
- Direction cosines satisfy l2+m2+n2=1l^2 + m^2 + n^2 = 1
- AB→=b⃗−a⃗\overrightarrow{AB} = \vec{b} - \vec{a}
- Section formula: mb⃗+na⃗m+n\dfrac{m\vec{b} + n\vec{a}}{m + n}

The trap. Writing AB→=a⃗−b⃗\overrightarrow{AB} = \vec{a} - \vec{b}. It is the position vector of B minus that of A.
Did you know

How do video games move characters using vectors?

Every object in a video game has a position vector, and in each frame the game adds a small velocity vector to it. Gravity is another vector added to the velocity, which is why thrown objects follow realistic arcs.

When a character turns, the game rotates its direction vector; when it jumps, an upward vector is added. Collisions are detected by comparing position vectors.

The entire virtual world is, underneath, vector addition and scalar multiplication repeated at high speed.
Exam relevance

How are basic vector concepts tested in JEE Main?

Vector Algebra is a recurring JEE Main chapter, and its ideas are used again in three-dimensional geometry and in physics topics such as motion and forces.

What gets asked. Unit vectors and magnitudes, direction cosines, conditions for collinear points, and section formula problems with position vectors.

Question types. Multiple-choice and numerical-value questions.

The trap that costs marks. Confusing direction ratios with direction cosines — cosines must be divided by the magnitude.
Key takeaways

What must you be able to do from this lesson?

- Vectors: directed line segments with magnitude x2+y2+z2\sqrt{x^2 + y^2 + z^2} and a direction
- Types and direction cosines: equal, unit, zero and collinear vectors, with l2+m2+n2=1l^2 + m^2 + n^2 = 1
- Components and operations: add, subtract and scale component by component
- Section formula: mb⃗+na⃗m+n\dfrac{m\vec{b} + n\vec{a}}{m + n} internally, with the midpoint as a special case

What is the unit vector in the direction of 6i^−2j^+3k^6\hat{i} - 2\hat{j} + 3\hat{k}?

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on Vectors — Basic ConceptsCreate a free account
← Back to all articles