Skip to content

Mathematics · Ch 10 — Vector Algebra

Some Basic Concepts

10.2

Some Basic Concepts

10.2 Some Basic Concepts

Directed Lines and Directed Line Segments

Consider any straight line ll in a plane or in three-dimensional space. This line can be traversed in two opposite directions, indicated by arrowheads. When we prescribe one of these two directions, the line becomes a directed line.

Now restrict the line ll to the segment between two points AA and BB. On this segment we have a definite length (the distance ABAB) and one of the two possible directions. This gives a directed line segment.

Note

A directed line segment has both magnitude (its length) and direction. This is the geometric representation of a vector.

Definition of a Vector

A vector is a quantity that has both magnitude and direction.

A directed line segment represents a vector. If the segment starts at point AA and ends at point BB, we denote the vector as AB→\overrightarrow{AB} or simply a⃗\vec{a}.

  • Initial point: where the vector starts (point AA in AB→\overrightarrow{AB}).
  • Terminal point: where the vector ends (point BB in AB→\overrightarrow{AB}).
  • Magnitude (or length): the distance between the initial and terminal points. Denoted ∣AB→∣|\overrightarrow{AB}|, ∣a⃗∣|\vec{a}|, or simply aa.
  • Direction: indicated by the arrowhead.
Watch out

Since length is never negative, the notation ∣a⃗∣<0|\vec{a}| < 0 has no meaning. Magnitude is always non-negative.

Position Vector

Recall the three-dimensional right-handed rectangular coordinate system from Class XI. Let O(0,0,0)O(0,0,0) be the origin and PP a point with coordinates (x,y,z)(x, y, z).

The vector with OO as initial point and PP as terminal point is called the position vector of PP with respect to the origin, denoted OP→\overrightarrow{OP} or r⃗\vec{r}. By the distance formula:

∣OP→∣=∣r⃗∣=x2+y2+z2|\overrightarrow{OP}| = |\vec{r}| = \sqrt{x^2 + y^2 + z^2}

The position vectors of points AA, BB, CC, etc., are usually denoted a⃗\vec{a}, b⃗\vec{b}, c⃗\vec{c}, respectively.

Direction Cosines

Consider the position vector OP→=r⃗\overrightarrow{OP} = \vec{r} of a point P(x,y,z)P(x, y, z). Let α\alpha, β\beta, γ\gamma be the angles that r⃗\vec{r} makes with the positive xx, yy, and zz-axes. These are the direction angles of the vector.

Their cosines — cos⁡α\cos\alpha, cos⁡β\cos\beta, cos⁡γ\cos\gamma — are the direction cosines of r⃗\vec{r}, usually denoted ll, mm, nn. From the right-angled triangles formed by dropping perpendiculars from PP to each axis:

l=cos⁡α=xr,m=cos⁡β=yr,n=cos⁡γ=zrl = \cos\alpha = \frac{x}{r}, \quad m = \cos\beta = \frac{y}{r}, \quad n = \cos\gamma = \frac{z}{r} …

Definition 1Vector

Definition

A vector is a quantity that has both magnitude and direction.

A directed line segment is a vector.

  • It is denoted as AB→\overrightarrow{AB} or simply a⃗\vec{a}, and read as "vector ABAB" or "vector aa".
  • The point AA where the vector starts is called the initial point.
  • The point BB where it ends is called the terminal point.
  • The magnitude (or length) of the vector is the distance between its initial and terminal points, denoted as ∣AB→∣|\overrightarrow{AB}|, ∣a⃗∣|\vec{a}|, or aa.
  • The arrow indicates the direction of the vector.

Note: Since length is never negative, the notation ∣a⃗∣<0|\vec{a}| < 0 has no meaning.

Intuition

Think of a vector as an arrow — it tells you how far to go (magnitude) and which way to go (direction). A plain number (like 5 kg) has only magnitude; a vector (like "5 km east") has both.

Example …

Figure 10.1A directed line l shown three ways as a vector: (i) arrow pointing up, (ii) arrow pointing down, and (iii) the same direction restricted to segment AB with vector a, illustrating how direction distinguishes vectors on a line.
Fig. 10.1 — A directed line l shown three ways as a vector: (i) arrow pointing up, (ii) arrow pointing down, and (iii) the same direction restricted to segment AB with vector a, illustrating how direction distinguishes vectors on a line.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Fig 10.1 is a three‑panel diagram that builds the idea of a vector from the most basic geometric object: a straight line.

Panel (i) shows a straight line l drawn as a dotted line. A solid arrow runs upward along it. This arrow gives the line a direction — one of the two possible ways to travel along l. The line together with this chosen direction is called a directed line.

Panel (ii) shows the same dotted line l, but now the solid arrow points downward. This is the opposite direction. The two panels together make the point: any straight line can be given two directions, and a directed line is simply a line with one of those directions prescribed.

Panel (iii) is the crucial step. Instead of the whole infinite line, we now restrict ourselves to the line segment from point AA to point BB. The segment is drawn as a solid arrow from AA to BB, and the vector is labelled a⃗\vec{a} (or AB→\overrightarrow{AB}). This is a directed line segment — it has a definite length (the distance ABAB) and a definite direction (from AA to BB). The textbook then defines a vector as exactly this: a quantity that has both magnitude and direction.

Note

The point AA is called the initial point (or tail) and BB is the terminal point (or head). The magnitude of the vector is written ∣a⃗∣|\vec{a}|, ∣AB→∣|\overrightarrow{AB}|, or simply aa, and it is always non‑negative. The notation ∣a⃗∣<0|\vec{a}| < 0 has no meaning.

The figure does not show any axes or coordinates — it is purely geometric. Its purpose is to separate the concept of direction (panels i and ii) from the concept of a vector as a directed segment with a specific length (panel iii). Once this foundation is laid, the textbook moves to the coordinate system and introduces the position vector of a point P(x,y,z)P(x,y,z) relative to the origin OO:

r⃗=OP→\vec{r} = \overrightarrow{OP}

with magnitude

∣r⃗∣=x2+y2+z2.|\vec{r}| = \sqrt{x^2 + y^2 + z^2}.

From there, the direction cosines are defined. If α,β,γ\alpha, \beta, \gamma are the angles that r⃗\vec{r} makes with the positive xx, yy, and zz axes respectively, then

cos⁡α=xr,cos⁡β=yr,cos⁡γ=zr,\cos\alpha = \frac{x}{r},\quad \cos\beta = \frac{y}{r},\quad \cos\gamma = \frac{z}{r}, …

Figure 10.2Position vectors on 3-D right-handed X, Y, Z axes: (i) position vector r from origin O(0,0,0) to point P(x,y,z), and (ii) coinitial position vectors a, b and c drawn from O to points A, B and C.
Fig. 10.2 — Position vectors on 3-D right-handed X, Y, Z axes: (i) position vector r from origin O(0,0,0) to point P(x,y,z), and (ii) coinitial position vectors a, b and c drawn from O to points A, B and C.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Fig 10.2 is the textbook’s first visual bridge between the coordinate geometry you studied in Class XI and the vector language of Class XII. It shows two related 3‑D sketches, both drawn in a right‑handed coordinate system with the Z‑axis pointing straight up, the Y‑axis to the right, and the X‑axis coming toward the lower left. The origin is labelled O.

Panel (i) — the left sketch — introduces the position vector. A point P(x,y,z)P(x,y,z) is placed somewhere in the first octant (all coordinates positive). A solid arrow, usually coloured indigo in the printed book, runs from O to P. This arrow is the vector r⃗=OP→\vec{r} = \overrightarrow{OP}. Its length is the distance from the origin to P, which by the distance formula is

∣r⃗∣=x2+y2+z2.|\vec{r}| = \sqrt{x^{2} + y^{2} + z^{2}}.

The dashed lines from P back to the axes (dropping perpendiculars to the coordinate planes) make it clear that xx, yy, zz are the components of r⃗\vec{r} along the three axes. So the figure’s first message is: every point in space corresponds to a unique position vector from the origin, and the coordinates of the point are exactly the components of that vector.

Panel (ii) — the right sketch — generalises the idea. Now three different points AA, BB, CC are shown, each with its own position vector from O: a⃗=OA→\vec{a} = \overrightarrow{OA}, b⃗=OB→\vec{b} = \overrightarrow{OB}, c⃗=OC→\vec{c} = \overrightarrow{OC}. All three vectors are coinitial — they share the same starting point O. This panel prepares you for the notation used throughout the chapter: the position vector of any point XX is written as x⃗\vec{x} (or OX→\overrightarrow{OX}). It also sets up the visual habit of thinking of vectors as arrows radiating from a common origin, which is essential when you later add vectors or resolve them into components.

Important

The position vector OP→\overrightarrow{OP} of a point P(x,y,z)P(x,y,z) is the vector from the origin to PP. Its magnitude is

∣OP→∣=x2+y2+z2.|\overrightarrow{OP}| = \sqrt{x^{2} + y^{2} + z^{2}}.

The coordinates (x,y,z)(x,y,z) are the scalar components of OP→\overrightarrow{OP} along the XX, YY, ZZ axes.

The textbook uses this figure to lead directly into the definition of direction cosines (Fig 10.3, which follows immediately). In that next figure, the same position vector r⃗=OP→\vec{r} = \overrightarrow{OP} is shown with the angles α\alpha, β\beta, γ\gamma that it makes with the positive XX, YY, ZZ axes. From the right‑angled triangles visible in the sketch — triangle OAPOAP in the XZXZ‑plane, OBPOBP in the YZYZ‑plane, and OCPOCP in the XYXY‑plane — you get

cos⁡α=xr,cos⁡β=yr,cos⁡γ=zr,\cos\alpha = \frac{x}{r},\quad \cos\beta = \frac{y}{r},\quad \cos\gamma = \frac{z}{r},

where r=∣r⃗∣r = |\vec{r}|. These three cosines are called the direction cosines l,m,nl, m, n of the vector, and they satisfy l2+m2+n2=1l^{2} + m^{2} + n^{2} = 1. The coordinates can then be written as (lr,mr,nr)(lr, mr, nr), which is a compact way of saying that the vector’s direction is completely specified by its direction cosines, and its length scales them. …

Figure 10.3Position vector r = OP in a 3-D cuboid with its projections x, y, z on the axes and the direction angles marked at O, plus an inset right-angled triangle OAP, illustrating direction cosines and direction angles of a vector.
Fig. 10.3 — Position vector r = OP in a 3-D cuboid with its projections x, y, z on the axes and the direction angles marked at O, plus an inset right-angled triangle OAP, illustrating direction cosines and direction angles of a vector.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

Fig 10.3 is the central diagram for understanding how a vector in 3D space is described by its components and its direction. It shows a point P(x,y,z)P(x, y, z) in the first octant of a right-handed rectangular coordinate system, with the origin OO at the corner of a dashed rectangular box (a cuboid) whose edges lie along the positive XX, YY, and ZZ axes.

The position vector r⃗=OP→\vec{r} = \overrightarrow{OP} is drawn as a solid arrow (indigo in the original) from OO to PP, cutting diagonally through the interior of the cuboid. The three edges of the cuboid that meet at OO are the coordinate axes; the three edges that meet at PP are parallel to the axes. The projections of PP onto the axes are labelled AA (on the XX-axis), BB (on the YY-axis), and CC (on the ZZ-axis). The lengths OAOA, OBOB, and OCOC are exactly the coordinates xx, yy, and zz of PP, respectively. So the dashed cuboid makes it visually clear that to go from OO to PP you can travel xx units along XX, then yy units parallel to YY, then zz units parallel to ZZ — or take the direct vector r⃗\vec{r}.

At the origin OO, three small arcs indicate the direction angles α\alpha, β\beta, and γ\gamma that r⃗\vec{r} makes with the positive XX, YY, and ZZ axes. These are the angles between the vector and each axis, measured in the usual way (between 0∘0^\circ and 180∘180^\circ).

The figure also isolates a right triangle OAPOAP, with the right angle at AA (where the perpendicular from PP meets the XX-axis). In this triangle, OA=xOA = x is the adjacent side to angle α\alpha, OP=rOP = r is the hypotenuse, and APAP is the opposite side. From this triangle the textbook derives the first direction cosine:

cos⁡α=xr\cos\alpha = \frac{x}{r}

Similarly, by considering the right triangles OBPOBP (right angle at BB) and OCPOCP (right angle at CC), you get:

cos⁡β=yr,cos⁡γ=zr\cos\beta = \frac{y}{r}, \qquad \cos\gamma = \frac{z}{r}

These three cosines are called the direction cosines of r⃗\vec{r}, often denoted by ll, mm, and nn respectively. The magnitude r=∣r⃗∣r = |\vec{r}| is given by the distance formula:

r=x2+y2+z2r = \sqrt{x^2 + y^2 + z^2}

cos⁡α=xr,cos⁡β=yr,cos⁡γ=zr\cos\alpha = \frac{x}{r},\quad \cos\beta = \frac{y}{r},\quad \cos\gamma = \frac{z}{r}

where r=x2+y2+z2r = \sqrt{x^2 + y^2 + z^2}.

Because x=rcos⁡αx = r\cos\alpha, y=rcos⁡βy = r\cos\beta, z=rcos⁡γz = r\cos\gamma, the coordinates of PP can be written as (lr,mr,nr)(lr, mr, nr) where l=cos⁡αl = \cos\alpha, m=cos⁡βm = \cos\beta, n=cos⁡γn = \cos\gamma. The numbers lrlr, mrmr, nrnr are called the direction ratios of r⃗\vec{r}, often denoted by aa, bb, cc.

Important

The direction cosines always satisfy l2+m2+n2=1l^2 + m^2 + n^2 = 1, but a2+b2+c2≠1a^2 + b^2 + c^2 \neq 1 in general (since a=lra = lr, etc., and rr is not necessarily 1). …