Chapter 12 · Vector Algebra

12.1 Vectors, Scalar and Vector Products

A vector has a size and a direction. Vectors add by the triangle law, split into components along $\hat i$, $\hat j$, $\hat k$, and multiply in two ways: the scalar product $\vec a\cdot\vec b=|\vec a||\vec b|\cos\theta$ measures angles and projections, the vector product $\vec a\times\vec b$ gives a perpendicular direction and the area of a parallelogram.

A delivery drone leaves its depot and flies $3$ km east, then $4$ km north. How far is it from the depot? Not $7$ km: the two legs point in different directions, and the straight-line distance is $5$ km, in a direction about $53^\circ$ north of east. To describe such motions we need quantities that carry a direction as well as a size, and a way of adding them that respects direction. Now a gust of wind pushes on the drone with a force at some angle to its path. How much of the push helps the drone forward, and how much tries to turn it? Answering needs two kinds of "product" of directed quantities: one that measures how much they agree (work, projection, angle) and one that measures how much they disagree (area, turning effect, a perpendicular direction).

These directed quantities are vectors. They are the language of mechanics in physics (displacement, velocity, force, torque, the magnetic force $q\vec v\times\vec B$), of computer graphics (every lit surface is shaded using a scalar product with the light direction), and of the three-dimensional geometry of Chapter 11. In this section we build vectors from the beginning: addition by the triangle law, components in two and three dimensions, the section formula, and the scalar (dot) and vector (cross) products with their properties. JEE Main asks one or two questions on this unit every year, and they reward exactly the facts proved here: $\vec a\cdot\vec b=0$ for perpendicular vectors, $|\vec a\times\vec b|$ as an area, $|\vec a\pm\vec b|^2$ expanded, and the identity $|\vec a\times\vec b|^2+(\vec a\cdot\vec b)^2=|\vec a|^2|\vec b|^2$.

Vectors and Scalars; Addition of Vectors

📘 Definition 12.1 — Scalars, vectors and special vectors

A scalar is a quantity described completely by a single real number (with a unit): length, mass, time, temperature, speed, work. A vector is a quantity that has both a magnitude (a non-negative number) and a direction: displacement, velocity, acceleration, force. Geometrically a vector is a directed line segment $\overrightarrow{AB}$ from an initial point $A$ to a terminal point $B$; its magnitude $|\overrightarrow{AB}|$ is the length $AB$. We write vectors as $\vec a$, $\vec b$, … and their magnitudes as $|\vec a|$ (or $a$).

  • Two vectors are equal if they have the same magnitude and the same direction — wherever they start. (Vectors are "free": sliding a segment parallel to itself does not change the vector.)
  • The zero vector $\vec 0$ has magnitude $0$ and no definite direction ($\overrightarrow{AA}$). A unit vector has magnitude $1$; the unit vector in the direction of $\vec a\ne\vec 0$ is $\hat a=\dfrac{\vec a}{|\vec a|}$.
  • The negative $-\vec a$ has the magnitude of $\vec a$ and the opposite direction: $\overrightarrow{BA}=-\overrightarrow{AB}$.
  • Vectors are collinear (parallel) if they lie along the same line or parallel lines — same or opposite directions. Vectors are coplanar if they are parallel to one plane.
  • Fix an origin $O$. The position vector of a point $P$ is $\vec r=\overrightarrow{OP}$.
📘 Definition 12.2 — Addition and scalar multiplication

Triangle law. To add $\vec a$ and $\vec b$, place the initial point of $\vec b$ at the terminal point of $\vec a$: if $\vec a=\overrightarrow{AB}$ and $\vec b=\overrightarrow{BC}$, then $\vec a+\vec b=\overrightarrow{AC}$. Equivalently (parallelogram law), if $\vec a=\overrightarrow{OA}$ and $\vec b=\overrightarrow{OB}$ start at the same point, $\vec a+\vec b=\overrightarrow{OC}$, the diagonal of the parallelogram $OACB$. The difference is $\vec a-\vec b=\vec a+(-\vec b)$; in the parallelogram it is the other diagonal, $\overrightarrow{BA}$.

Scalar multiple. For a real number $\lambda$, $\lambda\vec a$ has magnitude $|\lambda|\,|\vec a|$ and the direction of $\vec a$ if $\lambda\gt0$, the opposite direction if $\lambda\lt0$ ($0\vec a=\vec 0$).

Figure 12.1 — Left: the triangle law, $\overrightarrow{AB}+\overrightarrow{BC}=\overrightarrow{AC}$. Right: the parallelogram law — with $\vec a$ and $\vec b$ drawn from one point, $\vec a+\vec b$ and $\vec a-\vec b$ are the two diagonals.
📐 Theorem 12.1 — Properties of addition and scalar multiplication

For all vectors $\vec a,\vec b,\vec c$ and real numbers $\lambda,\mu$:

Commutative$\vec a+\vec b=\vec b+\vec a$
Associative$(\vec a+\vec b)+\vec c=\vec a+(\vec b+\vec c)$
Zero and negative$\vec a+\vec 0=\vec a,\quad\vec a+(-\vec a)=\vec 0$
Distributive$\lambda(\vec a+\vec b)=\lambda\vec a+\lambda\vec b$
$(\lambda+\mu)\vec a=\lambda\vec a+\mu\vec a$
Scalars$\lambda(\mu\vec a)=(\lambda\mu)\vec a,\quad1\vec a=\vec a$
Triangle inequality$|\vec a+\vec b|\le|\vec a|+|\vec b|$

Why? Commutativity is the parallelogram: going along $\vec a$ then $\vec b$, or $\vec b$ then $\vec a$, ends at the same opposite corner. Associativity: with $\vec a=\overrightarrow{PQ}$, $\vec b=\overrightarrow{QR}$, $\vec c=\overrightarrow{RS}$, both sides equal $\overrightarrow{PS}$. $\lambda(\vec a+\vec b)=\lambda\vec a+\lambda\vec b$ is the statement that enlarging the triangle $ABC$ of the triangle law by the factor $\lambda$ gives a similar triangle. The triangle inequality says one side of a triangle is at most the sum of the other two, with equality only when $\vec a$ and $\vec b$ point the same way. $\blacksquare$ Because of these laws, vector expressions can be rearranged like ordinary algebra — with one big exception: there is no division by a vector.

A chain of displacements adds up to the displacement from the first point to the last: $\overrightarrow{AB}+\overrightarrow{BC}+\overrightarrow{CD}=\overrightarrow{AD}$, and around a closed polygon $\overrightarrow{AB}+\overrightarrow{BC}+\dots+\overrightarrow{XA}=\vec 0$. Every vector can be written using position vectors: $\overrightarrow{AB}=\overrightarrow{OB}-\overrightarrow{OA}=\vec b-\vec a$ ("terminal minus initial").

📐 Theorem 12.2 — Section formula (vector form)

Let $A$, $B$ have position vectors $\vec a$, $\vec b$, and let $m,n\gt0$. The point $P$ dividing $AB$ internally in the ratio $m:n$ (so $AP:PB=m:n$) has position vector, and the point $Q$ dividing it externally in the ratio $m:n$ ($m\ne n$) has position vector

$$\vec p=\frac{m\vec b+n\vec a}{m+n},\qquad\vec q=\frac{m\vec b-n\vec a}{m-n}.$$

In particular the midpoint of $AB$ is $\tfrac12(\vec a+\vec b)$, and the centroid of triangle $ABC$ is $\tfrac13(\vec a+\vec b+\vec c)$.

Proof. $P$ lies on segment $AB$ with $n\,\overrightarrow{AP}=m\,\overrightarrow{PB}$ (same direction, lengths in ratio $m:n$). So $n(\vec p-\vec a)=m(\vec b-\vec p)$, i.e. $(m+n)\vec p=m\vec b+n\vec a$. For external division, $Q$ lies on line $AB$ outside the segment with $AQ:QB=m:n$, so $n\,\overrightarrow{AQ}=m\,\overrightarrow{BQ}$: $n(\vec q-\vec a)=m(\vec q-\vec b)$, giving $(m-n)\vec q=m\vec b-n\vec a$. The centroid divides the median from $A$ to the midpoint $\tfrac12(\vec b+\vec c)$ in the ratio $2:1$: $\dfrac{2\cdot\tfrac12(\vec b+\vec c)+1\cdot\vec a}{3}$. $\blacksquare$

✏️ Example 1 — Geometry with vectors
(a) In triangle $ABC$, $D$ and $E$ are the midpoints of $AB$ and $AC$. Prove that $\overrightarrow{DE}=\tfrac12\overrightarrow{BC}$ (the midpoint theorem). (b) $ABCDEF$ is a regular hexagon. Show that $\overrightarrow{AB}+\overrightarrow{AC}+\overrightarrow{AD}+\overrightarrow{AE}+\overrightarrow{AF}=3\overrightarrow{AD}$. (c) $A$, $B$ have position vectors $\vec a$, $\vec b$. Find the position vectors of the points dividing $AB$ in the ratio $2:1$ internally and externally.
(a) $\overrightarrow{DE}=\overrightarrow{DA}+\overrightarrow{AE}=\tfrac12\overrightarrow{BA}+\tfrac12\overrightarrow{AC}=\tfrac12\left(\overrightarrow{BA}+\overrightarrow{AC}\right)=\tfrac12\overrightarrow{BC}$. So $DE\parallel BC$ and $DE=\tfrac12BC$ in one line. $\blacksquare$
(b) Let $O$ be the centre. For each vertex $X$, $\overrightarrow{AX}=\overrightarrow{AO}+\overrightarrow{OX}$. Adding over $X=B,\dots,F$: the sum is $5\overrightarrow{AO}+\left(\overrightarrow{OB}+\dots+\overrightarrow{OF}\right)$. The six vectors from the centre to the vertices add to $\vec 0$ (they cancel in opposite pairs), so $\overrightarrow{OB}+\dots+\overrightarrow{OF}=-\overrightarrow{OA}=\overrightarrow{AO}$. Total $6\overrightarrow{AO}=3\overrightarrow{AD}$, since $D$ is opposite $A$ and $\overrightarrow{AD}=2\overrightarrow{AO}$. $\blacksquare$
(c) Internal: $\dfrac{2\vec b+\vec a}{3}$. External: $\dfrac{2\vec b-\vec a}{2-1}=2\vec b-\vec a$.
Check (c) external: $\overrightarrow{AQ}=2\vec b-2\vec a=2\overrightarrow{AB}$ and $\overrightarrow{BQ}=\vec b-\vec a=\overrightarrow{AB}$, so $AQ:QB=2:1$ with $Q$ beyond $B$ ✓.

$G$ is the centroid of triangle $ABC$. Then $\overrightarrow{GA}+\overrightarrow{GB}+\overrightarrow{GC}$ equals

Components in Two and Three Dimensions

Choose a right-handed system of coordinate axes $Ox$, $Oy$, $Oz$ and let $\hat i$, $\hat j$, $\hat k$ be the unit vectors along them. If $P$ has coordinates $(x,y,z)$, then going $x$ units along $\hat i$, $y$ along $\hat j$ and $z$ along $\hat k$ (triangle law, twice) takes us from $O$ to $P$:

$$\overrightarrow{OP}=x\hat i+y\hat j+z\hat k,\qquad|\overrightarrow{OP}|=\sqrt{x^2+y^2+z^2}.$$
📘 Definition 12.3 — Components

Every vector can be written uniquely as $\vec a=a_1\hat i+a_2\hat j+a_3\hat k$. The numbers $a_1,a_2,a_3$ are the (scalar) components of $\vec a$ along the axes, and $a_1\hat i$, $a_2\hat j$, $a_3\hat k$ its vector components. In the plane, $\vec a=a_1\hat i+a_2\hat j$. We also write $\vec a=(a_1,a_2,a_3)$.

📐 Theorem 12.3 — Working in components

For $\vec a=a_1\hat i+a_2\hat j+a_3\hat k$, $\vec b=b_1\hat i+b_2\hat j+b_3\hat k$ and a scalar $\lambda$:

  1. $\vec a\pm\vec b=(a_1\pm b_1)\hat i+(a_2\pm b_2)\hat j+(a_3\pm b_3)\hat k$ and $\lambda\vec a=\lambda a_1\hat i+\lambda a_2\hat j+\lambda a_3\hat k$.
  2. $\vec a=\vec b$ if and only if $a_1=b_1$, $a_2=b_2$, $a_3=b_3$; $\ |\vec a|=\sqrt{a_1^2+a_2^2+a_3^2}$.
  3. For points $A(x_1,y_1,z_1)$, $B(x_2,y_2,z_2)$: $\overrightarrow{AB}=(x_2-x_1)\hat i+(y_2-y_1)\hat j+(z_2-z_1)\hat k$.
  4. If $\vec b\ne\vec 0$: $\vec a$ and $\vec b$ are collinear $\iff\vec a=\lambda\vec b$ for some $\lambda$ $\iff$ $\dfrac{a_1}{b_1}=\dfrac{a_2}{b_2}=\dfrac{a_3}{b_3}$ (a zero denominator means the matching numerator is $0$).
  5. If $\vec a$, $\vec b$ are non-collinear vectors in a plane, every vector $\vec r$ of that plane can be written as $\vec r=\lambda\vec a+\mu\vec b$ for exactly one pair $(\lambda,\mu)$.

Proof. (1)–(3) follow from Theorem 12.1 by collecting the $\hat i$, $\hat j$, $\hat k$ terms, and from $\overrightarrow{AB}=\vec b-\vec a$. (4) is (2) applied to $\vec a=\lambda\vec b$. For (5), work in plane coordinates: $\lambda\vec a+\mu\vec b=\vec r$ is the pair of equations $a_1\lambda+b_1\mu=r_1$, $a_2\lambda+b_2\mu=r_2$. Non-collinearity means $a_1b_2-a_2b_1\ne0$ (by (4)), and a $2\times2$ system with non-zero determinant has exactly one solution (Chapter 3). $\blacksquare$ The unit vector $\hat a=\dfrac{\vec a}{|\vec a|}$ has components $(\cos\alpha,\cos\beta,\cos\gamma)$, where $\alpha,\beta,\gamma$ are the angles $\vec a$ makes with the axes; since it is a unit vector, $\cos^2\alpha+\cos^2\beta+\cos^2\gamma=1$. Chapter 11 develops these direction cosines for lines in space.

✏️ Example 2 — Components, unit vectors and collinearity
Let $A(1,2,-1)$ and $B(3,-1,5)$. (a) Find $\overrightarrow{AB}$, $|\overrightarrow{AB}|$ and the unit vector along $\overrightarrow{AB}$. (b) Find the vector of magnitude $14$ in the direction opposite to $\overrightarrow{AB}$. (c) Find the point $P$ dividing $AB$ internally in the ratio $1:2$. (d) Show that $A$, $B$ and $C(5,-4,11)$ are collinear, and find the ratio $AB:BC$.
Find $|\overrightarrow{AB}|$ before you open the solution:
(a) $\overrightarrow{AB}=2\hat i-3\hat j+6\hat k$, $\ |\overrightarrow{AB}|=\sqrt{4+9+36}=7$, unit vector $\tfrac17\left(2\hat i-3\hat j+6\hat k\right)$.
(b) $-14\times\tfrac17\left(2\hat i-3\hat j+6\hat k\right)=-4\hat i+6\hat j-12\hat k$.
(c) Theorem 12.2 with $m=1$, $n=2$: $\vec p=\dfrac{1\cdot\vec b+2\vec a}{3}=\dfrac{(3,-1,5)+(2,4,-2)}{3}=\left(\tfrac53,1,1\right)$.
(d) $\overrightarrow{AC}=4\hat i-6\hat j+12\hat k=2\overrightarrow{AB}$. Same direction from the common point $A$: collinear, with $C$ beyond $B$ and $AC=2AB$, so $AB:BC=1:1$ ($B$ is the midpoint of $AC$).
Check Midpoint of $A$ and $C$: $\left(\tfrac{1+5}{2},\tfrac{2-4}{2},\tfrac{-1+11}{2}\right)=(3,-1,5)=B$ ✓.

Let $\vec a=2\hat i+\hat j$ and $\vec b=\hat i+3\hat j$. For which $(\lambda,\mu)$ is $\lambda\vec a+\mu\vec b=4\hat i+7\hat j$?

Pause the lab, keep the starting $\vec a=(2,1)$ and $\vec b=(1,3)$, and set $\lambda=1$, $\mu=2$. The readout shows $\lambda\vec a+\mu\vec b=(4,7)$: one step along $\vec a$ to $(2,1)$, then two steps along $\vec b$ to $(4,7)$ — the triangle law drawn head to tail. By Theorem 12.3(5) this is the only pair: solve $2\lambda+\mu=4$, $\lambda+3\mu=7$. The pair $(2,1)$ gives $(5,5)$. Press Play: the tip of $\lambda\vec a+\mu\vec b$ wanders over the whole plane — unless you drag $\vec b$ onto the line of $\vec a$, when it is trapped on that line.
Interactive 1 — Vector Combination Lab

Drag the tips of $\vec a$ (red) and $\vec b$ (blue); they snap to whole-number components. The sliders choose $\lambda$ and $\mu$. The lab draws $\lambda\vec a$ and then $\mu\vec b$ head to tail (triangle law), the parallelogram they span, and the sum $\lambda\vec a+\mu\vec b$ (green). Play sweeps $\lambda$ and $\mu$ and leaves a trail of the green tip: two non-collinear vectors reach every point of the plane.

12
$\vec a$, $\vec b$—
$\lambda\vec a+\mu\vec b$—
$|\lambda\vec a+\mu\vec b|$—
$a_1b_2-a_2b_1$—

The vectors $2\hat i+\lambda\hat j-4\hat k$ and $-\hat i+3\hat j+2\hat k$ are collinear when $\lambda$ equals

The Scalar (Dot) Product

Push a trolley with a force $\vec F$ while it moves through a displacement $\vec d$. Only the part of the force along the motion does work: $W=|\vec F|\,|\vec d|\cos\theta$. This combination of two vectors — the product of their lengths and the cosine of the angle between them — appears so often that it gets its own name.

📘 Definition 12.4 — Scalar product

The angle $\theta$ between non-zero vectors $\vec a$, $\vec b$ is the angle between them when drawn from one point, $0\le\theta\le\pi$. Their scalar product (dot product) is the number

$$\vec a\cdot\vec b=|\vec a|\,|\vec b|\cos\theta ,$$

and $\vec a\cdot\vec b=0$ if either vector is $\vec 0$. The scalar projection of $\vec a$ on $\vec b$ is $|\vec a|\cos\theta=\dfrac{\vec a\cdot\vec b}{|\vec b|}$ (the signed length of the shadow of $\vec a$ on the line of $\vec b$), and the vector projection is $\left(\dfrac{\vec a\cdot\vec b}{|\vec b|^2}\right)\vec b$.

📐 Theorem 12.4 — Properties of the scalar product

For all vectors $\vec a,\vec b,\vec c$ and scalars $\lambda$:

  1. $\vec a\cdot\vec b=\vec b\cdot\vec a$, $\ (\lambda\vec a)\cdot\vec b=\lambda(\vec a\cdot\vec b)$, $\ \vec a\cdot(\vec b+\vec c)=\vec a\cdot\vec b+\vec a\cdot\vec c$.
  2. $\vec a\cdot\vec a=|\vec a|^2$; for non-zero vectors, $\vec a\cdot\vec b=0\iff\vec a\perp\vec b$; and $\theta$ is acute, right or obtuse as $\vec a\cdot\vec b$ is positive, zero or negative.
  3. $\hat i\cdot\hat i=\hat j\cdot\hat j=\hat k\cdot\hat k=1$, $\ \hat i\cdot\hat j=\hat j\cdot\hat k=\hat k\cdot\hat i=0$, and in components
$$\vec a\cdot\vec b=a_1b_1+a_2b_2+a_3b_3,\qquad\cos\theta=\frac{a_1b_1+a_2b_2+a_3b_3}{\sqrt{a_1^2+a_2^2+a_3^2}\,\sqrt{b_1^2+b_2^2+b_3^2}}.$$
  1. $|\vec a\pm\vec b|^2=|\vec a|^2\pm2\,\vec a\cdot\vec b+|\vec b|^2$, and $|\vec a\cdot\vec b|\le|\vec a|\,|\vec b|$ (Cauchy–Schwarz).

Proof of the component formula. Draw $\vec a=\overrightarrow{OA}$, $\vec b=\overrightarrow{OB}$; then $\overrightarrow{BA}=\vec a-\vec b$. The cosine rule in triangle $OAB$ says $|\vec a-\vec b|^2=|\vec a|^2+|\vec b|^2-2|\vec a||\vec b|\cos\theta$. In components the left side is $\sum(a_i-b_i)^2=\sum a_i^2+\sum b_i^2-2\sum a_ib_i$. Comparing, $|\vec a||\vec b|\cos\theta=a_1b_1+a_2b_2+a_3b_3$. (If $\vec a$, $\vec b$ are collinear the "triangle" is flat, and the same identity holds with $\cos\theta=\pm1$.) Properties (1) now follow from the formula, since $\sum a_i(b_i+c_i)=\sum a_ib_i+\sum a_ic_i$; (2) holds because $\cos\theta$ has the sign of the angle type; (3) is the formula itself. For (4), expand $(\vec a\pm\vec b)\cdot(\vec a\pm\vec b)$ by (1); and $|\cos\theta|\le1$. $\blacksquare$

✏️ Example 3 — Angles, projections, perpendicularity and work
Let $\vec a=2\hat i+\hat j-2\hat k$ and $\vec b=6\hat i+2\hat j+3\hat k$. (a) Find $\vec a\cdot\vec b$ and the angle between $\vec a$ and $\vec b$. (b) Find the scalar projection of $\vec a$ on $\vec b$. (c) Find $\lambda$ such that $\vec a$ is perpendicular to $\vec a+\lambda\vec b$. (d) A force $\vec F=3\hat i+2\hat j-\hat k$ newtons moves a particle from $(1,0,2)$ to $(4,3,1)$ (metres). Find the work done.
(a) $\vec a\cdot\vec b=12+2-6=8$; $|\vec a|=3$, $|\vec b|=7$, so $\cos\theta=\tfrac{8}{21}$ and $\theta=\cos^{-1}\tfrac{8}{21}\approx67.6^\circ$.
(b) $\dfrac{\vec a\cdot\vec b}{|\vec b|}=\dfrac87$.
(c) $\vec a\cdot(\vec a+\lambda\vec b)=|\vec a|^2+\lambda\,\vec a\cdot\vec b=9+8\lambda=0$: $\lambda=-\tfrac98$.
(d) $\vec d=3\hat i+3\hat j-\hat k$; $W=\vec F\cdot\vec d=9+6+1=16$ J.
Check (c): $\vec a-\tfrac98\vec b=\left(2-\tfrac{27}{4},\,1-\tfrac94,\,-2-\tfrac{27}{8}\right)=\left(-\tfrac{19}4,-\tfrac54,-\tfrac{43}8\right)$; dot with $\vec a$: $-\tfrac{38}{4}-\tfrac54+\tfrac{86}{8}=-\tfrac{76}{8}-\tfrac{10}{8}+\tfrac{86}{8}=0$ ✓.
✏️ Example 4 — Working with magnitudes only
(a) $\vec a$, $\vec b$, $\vec c$ are unit vectors with $\vec a+\vec b+\vec c=\vec 0$. Find $\vec a\cdot\vec b+\vec b\cdot\vec c+\vec c\cdot\vec a$ and the angle between any two of them. (b) $|\vec a|=3$, $|\vec b|=5$ and $|\vec a-\vec b|=7$. Find the angle between $\vec a$ and $\vec b$, and $|\vec a+\vec b|$.
Find $|\vec a+\vec b|^2$ in (b):
(a) Square the sum $0=|\vec a+\vec b+\vec c|^2=|\vec a|^2+|\vec b|^2+|\vec c|^2+2(\vec a\cdot\vec b+\vec b\cdot\vec c+\vec c\cdot\vec a)=3+2S$, so $S=-\tfrac32$.
(a) Angle $\vec a+\vec b=-\vec c$, so $|\vec a+\vec b|^2=1$: $1+1+2\vec a\cdot\vec b=1$, $\vec a\cdot\vec b=-\tfrac12$, $\theta=120^\circ$. By symmetry every pair is at $120^\circ$ — the three vectors form an equilateral triangle head to tail.
(b) $49=|\vec a-\vec b|^2=9+25-2\vec a\cdot\vec b$, so $\vec a\cdot\vec b=-\tfrac{15}{2}$ and $\cos\theta=\dfrac{-15/2}{15}=-\tfrac12$: $\theta=120^\circ$. Then $|\vec a+\vec b|^2=9+25-15=19$, $|\vec a+\vec b|=\sqrt{19}$.
⏱ Shortcut $|\vec a+\vec b|^2+|\vec a-\vec b|^2=2\left(|\vec a|^2+|\vec b|^2\right)$ (parallelogram law for diagonals): $|\vec a+\vec b|^2=68-49=19$ in one line.

For non-zero vectors, $|\vec a+\vec b|=|\vec a-\vec b|$ holds exactly when

The Vector (Cross) Product

Turn a spanner with a force $\vec F$ applied at position $\vec r$ from the bolt. The turning effect depends on $|\vec r|\,|\vec F|\sin\theta$ — the part of the force across the spanner — and it acts about an axis perpendicular to both $\vec r$ and $\vec F$. A product that captures both the size and that perpendicular direction is the vector product.

📘 Definition 12.5 — Vector product

For non-zero, non-collinear vectors $\vec a$, $\vec b$ with angle $\theta$ between them, the vector product (cross product) is

$$\vec a\times\vec b=|\vec a|\,|\vec b|\sin\theta\ \hat n,$$

where $\hat n$ is the unit vector perpendicular to both $\vec a$ and $\vec b$ such that $\vec a$, $\vec b$, $\hat n$ form a right-handed system (curl the fingers of the right hand from $\vec a$ to $\vec b$; the thumb points along $\hat n$). If $\vec a$ and $\vec b$ are collinear, or either is $\vec 0$, then $\vec a\times\vec b=\vec 0$.

📐 Theorem 12.5 — Properties of the vector product
  1. $\vec b\times\vec a=-(\vec a\times\vec b)$ (not commutative); $\ \vec a\times\vec a=\vec 0$; for non-zero vectors, $\vec a\times\vec b=\vec 0\iff\vec a\parallel\vec b$.
  2. $(\lambda\vec a)\times\vec b=\lambda(\vec a\times\vec b)$ and $\vec a\times(\vec b+\vec c)=\vec a\times\vec b+\vec a\times\vec c$.
  3. $\hat i\times\hat j=\hat k$, $\ \hat j\times\hat k=\hat i$, $\ \hat k\times\hat i=\hat j$ (and the reverse orders give the negatives); $\hat i\times\hat i=\hat j\times\hat j=\hat k\times\hat k=\vec 0$. Hence
$$\vec a\times\vec b=\begin{vmatrix}\hat i&\hat j&\hat k\\a_1&a_2&a_3\\b_1&b_2&b_3\end{vmatrix}=(a_2b_3-a_3b_2)\hat i-(a_1b_3-a_3b_1)\hat j+(a_1b_2-a_2b_1)\hat k .$$
  1. $|\vec a\times\vec b|$ is the area of the parallelogram with adjacent sides $\vec a$, $\vec b$; the area of triangle $ABC$ is $\tfrac12\left|\overrightarrow{AB}\times\overrightarrow{AC}\right|$.
  2. $\vec a\times\vec b$ is perpendicular to both $\vec a$ and $\vec b$, and $\ |\vec a\times\vec b|^2+(\vec a\cdot\vec b)^2=|\vec a|^2|\vec b|^2$ (Lagrange's identity).

Proof. (1) Swapping $\vec a$ and $\vec b$ keeps $|\vec a||\vec b|\sin\theta$ but the right-hand rule now points the thumb the other way. (2) For $\lambda\gt0$ the direction is unchanged and the size scales by $\lambda$ (for $\lambda\lt0$ both the vector and $\hat n$ reverse); the distributive law is a geometric fact we accept here (it can be proved by projecting onto the plane perpendicular to $\vec a$). (3) $\hat i$, $\hat j$ are perpendicular unit vectors, so $|\hat i\times\hat j|=1$, and in a right-handed system the thumb points along $\hat k$; expanding $(a_1\hat i+a_2\hat j+a_3\hat k)\times(b_1\hat i+b_2\hat j+b_3\hat k)$ by (2) into nine terms and using these values gives the determinant. (4) The parallelogram has base $|\vec a|$ and height $|\vec b|\sin\theta$. (5) $\vec a\cdot(\vec a\times\vec b)$ is the determinant with rows $\vec a,\vec a,\vec b$, which has two equal rows and is $0$; and $|\vec a|^2|\vec b|^2\left(\sin^2\theta+\cos^2\theta\right)=|\vec a|^2|\vec b|^2$. $\blacksquare$

✏️ Example 5 — Cross products, perpendicular directions and areas
Let $\vec a=\hat i+2\hat j-\hat k$ and $\vec b=2\hat i-\hat j+3\hat k$. (a) Find $\vec a\times\vec b$ and the unit vectors perpendicular to both $\vec a$ and $\vec b$. (b) Find $\sin\theta$ and check Lagrange's identity. (c) Find the area of the triangle with vertices $A(1,1,1)$, $B(2,3,0)$, $C(3,0,4)$.
Find the area in (c) to two decimal places:
(a) $\vec a\times\vec b=\big(2\cdot3-(-1)(-1)\big)\hat i-\big(1\cdot3-(-1)\cdot2\big)\hat j+\big(1\cdot(-1)-2\cdot2\big)\hat k=5\hat i-5\hat j-5\hat k$. $|\vec a\times\vec b|=5\sqrt3$, so the unit perpendiculars are $\pm\dfrac{1}{\sqrt3}\left(\hat i-\hat j-\hat k\right)$.
(b) $|\vec a|=\sqrt6$, $|\vec b|=\sqrt{14}$: $\sin\theta=\dfrac{5\sqrt3}{\sqrt{84}}=\dfrac{5}{\sqrt{28}}\approx0.945$. Lagrange: $|\vec a\times\vec b|^2=75$, $\vec a\cdot\vec b=2-2-3=-3$, and $75+9=84=6\times14$ ✓.
(c) $\overrightarrow{AB}=\hat i+2\hat j-\hat k=\vec a$ and $\overrightarrow{AC}=2\hat i-\hat j+3\hat k=\vec b$. Area $=\tfrac12|\vec a\times\vec b|=\dfrac{5\sqrt3}{2}\approx4.33$ square units.
Check $\vec a\cdot(5,-5,-5)=5-10+5=0$ ✓ and $\vec b\cdot(5,-5,-5)=10+5-15=0$ ✓: the cross product is perpendicular to both.

Take $\vec a=3\hat i$ and $\vec b=2\hat i+2\hat j$. Which is larger, $\vec a\cdot\vec b$ or $|\vec a\times\vec b|$?

Choose the preset a = 3i, b = 2i + 2j. The readouts show $\vec a\cdot\vec b=6$, $\theta=45^\circ$, $|\vec a\times\vec b|=6$ (the shaded parallelogram has base $3$ and height $2$) and $\vec a\times\vec b=(0,0,6)$, straight up the $z$-axis. The two products are $|\vec a||\vec b|\cos\theta$ and $|\vec a||\vec b|\sin\theta$, and $\cos45^\circ=\sin45^\circ$. Lagrange's identity checks out: $36+36=9\times8$. Change $b_2$ to $5$ and the angle opens up: the cross product grows, the dot product stays $6$ (the projection of $\vec b$ on $\vec a$ is unchanged).
Interactive 2 — Dot and Cross Product Explorer (3-D)

Type the components of $\vec a$ (red) and $\vec b$ (blue) or choose a preset. The lab shows the projection of $\vec a$ on the line of $\vec b$ (green, with the dashed perpendicular), the parallelogram on $\vec a$, $\vec b$ whose area is $|\vec a\times\vec b|$, and $\vec a\times\vec b$ itself (purple) standing perpendicular to that parallelogram. Play turns the view so you can see the 3-D picture from all sides.

$\vec a\cdot\vec b$—
angle $\theta$—
projection of $\vec a$ on $\vec b$—
$|\vec a\times\vec b|$ = area—
✏️ Example 6 — Hard example: recovering a vector from its products
(a) Let $\vec a=\hat i+\hat j+\hat k$ and $\vec b=\hat j-\hat k$. Find the vector $\vec c$ such that $\vec a\times\vec c=\vec b$ and $\vec a\cdot\vec c=3$, and find $3|\vec c|^2$. (b) $|\vec a|=2$, $|\vec b|=5$ and $|\vec a\times\vec b|=8$. Find the possible values of $\vec a\cdot\vec b$.
Find $3|\vec c|^2$ in (a):
(a) Set up With $\vec c=x\hat i+y\hat j+z\hat k$: $\vec a\times\vec c=(z-y)\hat i-(z-x)\hat j+(y-x)\hat k$. Setting this equal to $\hat j-\hat k$: $z-y=0$, $x-z=1$, $y-x=-1$ (the third equation follows from the first two — the cross product is always perpendicular to $\vec a$, so only two conditions are independent).
(a) Solve $y=z$ and $x=z+1$; with $x+y+z=3$: $3z+1=3$, $z=\tfrac23$. So $\vec c=\tfrac53\hat i+\tfrac23\hat j+\tfrac23\hat k$ and $3|\vec c|^2=3\cdot\dfrac{25+4+4}{9}=11$.
(a) Check $\vec a\cdot\vec c=\tfrac{5+2+2}{3}=3$ ✓; $\vec a\times\vec c=\left(\tfrac23-\tfrac23\right)\hat i-\left(\tfrac23-\tfrac53\right)\hat j+\left(\tfrac23-\tfrac53\right)\hat k=\hat j-\hat k$ ✓.
⏱ Shortcut Lagrange's identity gives $|\vec c|$ without finding $\vec c$: $|\vec a|^2|\vec c|^2=|\vec a\times\vec c|^2+(\vec a\cdot\vec c)^2=2+9$, so $3|\vec c|^2=11$.
(b) $(\vec a\cdot\vec b)^2=|\vec a|^2|\vec b|^2-|\vec a\times\vec b|^2=100-64=36$: $\vec a\cdot\vec b=\pm6$ (the angle may be acute or obtuse; $\sin\theta=\tfrac45$ in both cases).
🚀 Beyond JEE Main (JEE Advanced) — triple products

The scalar triple product is in the JEE Advanced 2026 syllabus; the JEE Main 2026 list stops at scalar and vector products. This box is for interest only; nothing in it is used in the exercises, the Exam corner or the quiz.

The scalar triple product $[\vec a\ \vec b\ \vec c]=\vec a\cdot(\vec b\times\vec c)$ equals the determinant with rows $\vec a,\vec b,\vec c$. Its absolute value is the volume of the parallelepiped with edges $\vec a,\vec b,\vec c$ (base area $|\vec b\times\vec c|$ times height), so $\vec a,\vec b,\vec c$ are coplanar exactly when $[\vec a\ \vec b\ \vec c]=0$. The vector triple product obeys $\vec a\times(\vec b\times\vec c)=(\vec a\cdot\vec c)\vec b-(\vec a\cdot\vec b)\vec c$; it gives Example 6(a) in one line: $\vec a\times(\vec a\times\vec c)=3\vec a-3\vec c=\vec a\times\vec b$.

⚠️ JEE Main traps

1. Scalar versus vector. $\vec a\cdot\vec b$ is a number; $\vec a\times\vec b$ is a vector. Expressions such as $\vec a\cdot\vec b\cdot\vec c$ or $(\vec a\cdot\vec b)\times\vec c$ are meaningless, and $(\vec a\cdot\vec b)\vec c\ne\vec a(\vec b\cdot\vec c)$ in general.

2. Order and signs in the cross product. $\vec b\times\vec a=-\vec a\times\vec b$, $\hat j\times\hat i=-\hat k$, $\hat i\times\hat i=\vec 0$ (not $1$). In the determinant the middle ($\hat j$) term carries a minus sign.

3. No cancelling. $\vec a\cdot\vec b=\vec a\cdot\vec c$ does not give $\vec b=\vec c$ (only $\vec a\perp(\vec b-\vec c)$), and $\vec a\times\vec b=\vec a\times\vec c$ gives only $\vec a\parallel(\vec b-\vec c)$. Both together (with $\vec a\ne\vec 0$) do force $\vec b=\vec c$.

4. Projection divides by the right length. The projection of $\vec a$ on $\vec b$ is $\dfrac{\vec a\cdot\vec b}{|\vec b|}$. "Acute angle" needs $\vec a\cdot\vec b\gt0$ and the vectors not parallel in the same direction (when $\theta=0$ there is no angle to speak of).

5. Triangles are half. Area of a triangle $=\tfrac12|\overrightarrow{AB}\times\overrightarrow{AC}|$, built from side vectors — not from the position vectors $\vec a\times\vec b$ of two vertices. A parallelogram given by its diagonals $\vec d_1,\vec d_2$ has area $\tfrac12|\vec d_1\times\vec d_2|$.

$\hat i\times\left(\hat j\times\hat i\right)$ equals

Exercises

$\hat i$, $\hat j$, $\hat k$ are the unit vectors along the axes. Angles between vectors lie in $[0^\circ,180^\circ]$.

I
Vectors, addition and the section formula.
  • 1 Classify as scalar or vector: speed, displacement, work, force, temperature, momentum, volume, acceleration.
  • 2 Simplify: (a) $\overrightarrow{AB}+\overrightarrow{BC}+\overrightarrow{CD}$ (b) $\overrightarrow{AB}-\overrightarrow{CB}$ (c) $\overrightarrow{AB}+\overrightarrow{BC}+\overrightarrow{CA}$.
  • 3 $A$, $B$ have position vectors $\vec a$, $\vec b$. Find the position vectors of the points dividing $AB$ in the ratio $3:2$ internally and externally.
  • 4 Prove with vectors that the midpoints of the sides of any quadrilateral form a parallelogram.
  • 5 $G$ is the centroid of triangle $ABC$ and $O$ any point. Show that $\overrightarrow{OA}+\overrightarrow{OB}+\overrightarrow{OC}=3\overrightarrow{OG}$.
  • 6 $\vec a$, $\vec b$ are non-collinear and $(\lambda-2)\vec a+(\mu+1)\vec b=\vec 0$. Find $\lambda+\mu$.
  • 7 Points $A$, $B$, $C$ have position vectors $\vec a-2\vec b$, $2\vec a+\vec b$, $4\vec a+7\vec b$ ($\vec a$, $\vec b$ non-collinear). Show that they are collinear and find $k$ with $\overrightarrow{AC}=k\overrightarrow{AB}$.
  • 8 $ABCDEF$ is a regular hexagon with $\overrightarrow{AB}=\vec a$ and $\overrightarrow{BC}=\vec b$. Express $\overrightarrow{CD}$, $\overrightarrow{DE}$, $\overrightarrow{EF}$, $\overrightarrow{FA}$ and $\overrightarrow{AD}$ in terms of $\vec a$ and $\vec b$.
1 Scalars: speed, work, temperature, volume. Vectors: displacement, force, momentum, acceleration.
2 (a) $\overrightarrow{AD}$ (b) $\overrightarrow{AB}+\overrightarrow{BC}=\overrightarrow{AC}$ (c) $\vec 0$.
3 Internal: $\dfrac{3\vec b+2\vec a}{5}$; external: $\dfrac{3\vec b-2\vec a}{3-2}=3\vec b-2\vec a$.
4 With vertices $\vec a,\vec b,\vec c,\vec d$ the midpoints are $\tfrac12(\vec a+\vec b)$, $\tfrac12(\vec b+\vec c)$, $\tfrac12(\vec c+\vec d)$, $\tfrac12(\vec d+\vec a)$. The first side is $\tfrac12(\vec c-\vec a)$ and the opposite side, from the fourth midpoint to the third, is also $\tfrac12(\vec c-\vec a)$: equal vectors, so that pair of sides is parallel and equal, and the figure is a parallelogram. $\blacksquare$
5 With origin $O$, $\overrightarrow{OG}=\tfrac13\left(\overrightarrow{OA}+\overrightarrow{OB}+\overrightarrow{OC}\right)$ by Theorem 12.2. $\blacksquare$
6 Non-collinear vectors are independent (Theorem 12.3(5) with $\vec r=\vec 0$): both coefficients are $0$, $\lambda=2$, $\mu=-1$, $\lambda+\mu=1$.
7 $\overrightarrow{AB}=\vec a+3\vec b$, $\overrightarrow{AC}=3\vec a+9\vec b=3\overrightarrow{AB}$: collinear, $k=3$.
8 In a regular hexagon $\overrightarrow{AD}=2\overrightarrow{BC}=2\vec b$ and opposite sides are equal and opposite. $\overrightarrow{CD}=\overrightarrow{AD}-\overrightarrow{AB}-\overrightarrow{BC}=\vec b-\vec a$, $\overrightarrow{DE}=-\vec a$, $\overrightarrow{EF}=-\vec b$, $\overrightarrow{FA}=\vec a-\vec b$, $\overrightarrow{AD}=2\vec b$. (Check: the six sides add to $\vec 0$.)
II
Components.
  • 1 Find $|\vec a|$ and $\hat a$ for $\vec a=2\hat i-3\hat j+6\hat k$.
  • 2 For $\vec a=\hat i+2\hat j+3\hat k$ and $\vec b=2\hat i-\hat j+\hat k$, find $2\vec a-3\vec b$ and its magnitude.
  • 3 Find the vector of magnitude $10$ in the direction of $3\hat i-4\hat k$.
  • 4 Find $x$ and $y$ if $(x+y)\hat i+(x-y)\hat j=6\hat i+2\hat j$.
  • 5 For which $a$ are $A(1,-2,3)$, $B(2,3,-1)$ and $C(a,13,-9)$ collinear?
  • 6 Find the point dividing the join of $A(2,1,-3)$ and $B(7,-4,2)$ internally in the ratio $2:3$.
  • 7 Find the unit vector making equal acute angles with the three axes, and that angle in degrees.
  • 8 Write $\vec r=5\hat i+5\hat j$ as $\lambda\vec a+\mu\vec b$ with $\vec a=2\hat i+\hat j$ and $\vec b=\hat i+3\hat j$.
1 $|\vec a|=\sqrt{4+9+36}=7$, $\hat a=\tfrac27\hat i-\tfrac37\hat j+\tfrac67\hat k$.
2 $2\vec a-3\vec b=(2-6)\hat i+(4+3)\hat j+(6-3)\hat k=-4\hat i+7\hat j+3\hat k$; magnitude $\sqrt{16+49+9}=\sqrt{74}\approx8.602$.
3 $|3\hat i-4\hat k|=5$, so the vector is $10\cdot\tfrac15(3\hat i-4\hat k)=6\hat i-8\hat k$.
4 $x+y=6$, $x-y=2$: $x=4$, $y=2$.
5 $\overrightarrow{AB}=(1,5,-4)$, $\overrightarrow{AC}=(a-1,15,-12)=3\overrightarrow{AB}$ requires $a-1=3$: $a=4$.
6 $\dfrac{2(7,-4,2)+3(2,1,-3)}{5}=\dfrac{(20,-5,-5)}{5}=(4,-1,-1)$.
7 Equal direction cosines with $3\cos^2\alpha=1$: $\cos\alpha=\tfrac{1}{\sqrt3}$, unit vector $\tfrac{1}{\sqrt3}(\hat i+\hat j+\hat k)$, angle $\cos^{-1}\tfrac1{\sqrt3}\approx54.74^\circ$.
8 $2\lambda+\mu=5$, $\lambda+3\mu=5$: $\lambda=2$, $\mu=1$. So $\vec r=2\vec a+\vec b$.
III
The scalar product.
  • 1 Find $\vec a\cdot\vec b$ and the angle between $\vec a=\hat i+2\hat j-2\hat k$ and $\vec b=3\hat i+4\hat k$.
  • 2 Find $\lambda$ so that $2\hat i+\lambda\hat j+\hat k$ is perpendicular to $4\hat i-2\hat j-2\hat k$.
  • 3 Find the scalar projection of $2\hat i+3\hat j+2\hat k$ on $\hat i+2\hat j+\hat k$.
  • 4 $|\vec a|=2$, $|\vec b|=3$ and the angle between them is $60^\circ$. Find $|\vec a+\vec b|$ and $|\vec a-\vec b|$.
  • 5 Show that $(\vec a+\vec b)\cdot(\vec a-\vec b)=|\vec a|^2-|\vec b|^2$, and deduce that the diagonals of a rhombus are perpendicular.
  • 6 Forces $\vec F_1=2\hat i+\hat j-\hat k$ and $\vec F_2=\hat i+2\hat j+3\hat k$ (newtons) act together on a particle that moves from $(1,2,3)$ to $(5,4,1)$ (metres). Find the total work done.
  • 7 Find the angle between two body diagonals of a cube (use the cube with vertices at $(0,0,0)$ and $(1,1,1)$).
  • 8 $|\vec a|=3$, $|\vec b|=4$, $|\vec c|=5$ and each vector is perpendicular to the sum of the other two. Find $|\vec a+\vec b+\vec c|$.
  • 9 $\vec a$, $\vec b$ are unit vectors and $|\vec a-\sqrt3\,\vec b|=1$. Find the angle between them in degrees.
1 $\vec a\cdot\vec b=3+0-8=-5$; $|\vec a|=3$, $|\vec b|=5$, $\cos\theta=-\tfrac13$, $\theta\approx109.47^\circ$ (obtuse, as the negative dot product says).
2 $8-2\lambda-2=0$: $\lambda=3$.
3 $\dfrac{2+6+2}{\sqrt6}=\dfrac{10}{\sqrt6}\approx4.082$.
4 $\vec a\cdot\vec b=2\cdot3\cdot\tfrac12=3$: $|\vec a+\vec b|=\sqrt{4+9+6}=\sqrt{19}\approx4.359$, $|\vec a-\vec b|=\sqrt{4+9-6}=\sqrt7\approx2.646$.
5 Expand: $\vec a\cdot\vec a-\vec a\cdot\vec b+\vec b\cdot\vec a-\vec b\cdot\vec b=|\vec a|^2-|\vec b|^2$. In a rhombus with sides $\vec a$, $\vec b$ ($|\vec a|=|\vec b|$) the diagonals are $\vec a+\vec b$ and $\vec a-\vec b$, whose dot product is $0$. $\blacksquare$
6 Resultant $3\hat i+3\hat j+2\hat k$, displacement $4\hat i+2\hat j-2\hat k$: $W=12+6-4=14$ J.
7 Diagonals from $(0,0,0)$ to $(1,1,1)$ and from $(0,0,1)$ to $(1,1,0)$: $(1,1,1)$ and $(1,1,-1)$. $\cos\theta=\tfrac{1}{3}$, $\theta\approx70.53^\circ$.
8 $\vec a\cdot(\vec b+\vec c)=\vec b\cdot(\vec c+\vec a)=\vec c\cdot(\vec a+\vec b)=0$; adding, $2(\vec a\cdot\vec b+\vec b\cdot\vec c+\vec c\cdot\vec a)=0$. So $|\vec a+\vec b+\vec c|^2=9+16+25=50$ and $|\vec a+\vec b+\vec c|=5\sqrt2\approx7.071$.
9 $1=1+3-2\sqrt3\,\vec a\cdot\vec b$, so $\vec a\cdot\vec b=\tfrac{\sqrt3}{2}$ and $\theta=30^\circ$.
IV
The vector product.
  • 1 Find $(2\hat i-\hat j+\hat k)\times(\hat i+3\hat j-2\hat k)$ and its magnitude.
  • 2 Find a unit vector perpendicular to both $\hat i+\hat j$ and $\hat j+\hat k$.
  • 3 Find the area of the parallelogram with adjacent sides $3\hat i+\hat j-2\hat k$ and $\hat i-3\hat j+4\hat k$.
  • 4 Find the area of the triangle with vertices $A(1,1,2)$, $B(2,3,5)$, $C(1,5,5)$.
  • 5 Find the area of the parallelogram whose diagonals are $3\hat i+\hat j-2\hat k$ and $\hat i-3\hat j+4\hat k$.
  • 6 $|\vec a|=10$, $|\vec b|=2$ and $\vec a\cdot\vec b=12$. Find $|\vec a\times\vec b|$.
  • 7 Prove that $(\vec a-\vec b)\times(\vec a+\vec b)=2(\vec a\times\vec b)$, and interpret it for a parallelogram.
  • 8 Let $\vec a=\hat i+\hat j$ and $\vec b=\hat i$. Find two different vectors $\vec c$ with $\vec a\times\vec c=\vec a\times\vec b$. Which extra condition forces $\vec c=\vec b$?
1 $\big((-1)(-2)-1\cdot3\big)\hat i-\big(2(-2)-1\cdot1\big)\hat j+\big(2\cdot3-(-1)\cdot1\big)\hat k=-\hat i+5\hat j+7\hat k$; magnitude $\sqrt{1+25+49}=5\sqrt3\approx8.660$.
2 $(\hat i+\hat j)\times(\hat j+\hat k)=\hat i-\hat j+\hat k$; unit vector $\pm\tfrac{1}{\sqrt3}(\hat i-\hat j+\hat k)$.
3 Cross product $-2\hat i-14\hat j-10\hat k$; area $\sqrt{4+196+100}=\sqrt{300}=10\sqrt3\approx17.32$.
4 $\overrightarrow{AB}=(1,2,3)$, $\overrightarrow{AC}=(0,4,3)$; cross product $(-6,-3,4)$; area $\tfrac12\sqrt{61}\approx3.905$.
5 With sides $\vec p,\vec q$ the diagonals are $\vec d_1=\vec p+\vec q$, $\vec d_2=\vec p-\vec q$ and $\vec d_1\times\vec d_2=-2\,\vec p\times\vec q$. So the area is $\tfrac12|\vec d_1\times\vec d_2|=\tfrac12\sqrt{300}=5\sqrt3\approx8.660$ — half of part 3.
6 Lagrange: $|\vec a\times\vec b|^2=400-144=256$, so $16$.
7 Expand: $\vec a\times\vec a+\vec a\times\vec b-\vec b\times\vec a-\vec b\times\vec b=\vec 0+\vec a\times\vec b+\vec a\times\vec b-\vec 0$. The parallelogram on the diagonals $\vec a\pm\vec b$ has twice the area of the parallelogram on $\vec a$, $\vec b$ — which is part 5 read backwards.
8 $\vec a\times(\vec c-\vec b)=\vec 0$ means $\vec c-\vec b=t\vec a$: e.g. $\vec c=\hat i$ ($t=0$) or $\vec c=2\hat i+\hat j$ ($t=1$). If also $\vec a\cdot\vec c=\vec a\cdot\vec b$, then $t|\vec a|^2=0$, so $t=0$ and $\vec c=\vec b$ (trap 3).
🎯 Exam corner JEE Main · MCQJEE Main · Numerical

E1. JEE Main · MCQ If $\vec a$ and $\vec b$ are non-zero vectors with $|\vec a|=|\vec b|=|\vec a+\vec b|$, then the angle between $\vec a$ and $\vec b$ is (A) $60^\circ$ (B) $90^\circ$ (C) $120^\circ$ (D) $150^\circ$

Square Let $|\vec a|=|\vec b|=r$. $r^2=|\vec a+\vec b|^2=r^2+2\vec a\cdot\vec b+r^2$, so $\vec a\cdot\vec b=-\tfrac{r^2}2$.
Angle $\cos\theta=\dfrac{-r^2/2}{r^2}=-\tfrac12$.
Answer (C) $120^\circ$.
⏱ Shortcut $\vec a$, $\vec b$ and $-(\vec a+\vec b)$ form an equilateral triangle head to tail, so the exterior angle between $\vec a$ and $\vec b$ is $180^\circ-60^\circ$.

E2. JEE Main · Numerical Let $\vec a=2\hat i+\hat j-\hat k$ and $\vec b=\hat i-\hat j+2\hat k$. A vector $\vec c$ is perpendicular to both $\vec a$ and $\vec b$, and $\vec c\cdot(\hat i-\hat j+\hat k)=15$. Find $|\vec c|^2$. Give the answer to the nearest integer.

Direction $\vec c$ is parallel to $\vec a\times\vec b=(1\cdot2-(-1)(-1))\hat i-(2\cdot2-(-1)\cdot1)\hat j+(2(-1)-1\cdot1)\hat k=\hat i-5\hat j-3\hat k$.
Scale $\vec c=t(\hat i-5\hat j-3\hat k)$ and $\vec c\cdot(\hat i-\hat j+\hat k)=t(1+5-3)=3t=15$: $t=5$.
Answer $|\vec c|^2=25(1+25+9)=875$.

E3. JEE Main · MCQ The scalar projection of $\vec a=\lambda\hat i+\hat j+4\hat k$ on $\vec b=2\hat i+6\hat j+3\hat k$ is $4$. Then $\lambda$ equals (A) $6$ (B) $5$ (C) $7$ (D) $\tfrac52$

Projection $\dfrac{\vec a\cdot\vec b}{|\vec b|}=\dfrac{2\lambda+6+12}{7}=4$.
Solve $2\lambda+18=28$.
Answer (B) $\lambda=5$.
⏱ Shortcut Divide by $|\vec b|=7$, not by $|\vec a|$ (which contains $\lambda$ and would give a quadratic).

E4. JEE Main · Numerical $|\vec a|=4$, $|\vec b|=3$ and the angle between $\vec a$ and $\vec b$ is $\tfrac\pi6$. Find the area of the parallelogram whose diagonals are $2\vec a-\vec b$ and $\vec a+2\vec b$. Give the answer to the nearest integer.

Diagonals Area $=\tfrac12\left|(2\vec a-\vec b)\times(\vec a+2\vec b)\right|$ (trap 5).
Expand $(2\vec a-\vec b)\times(\vec a+2\vec b)=4\,\vec a\times\vec b-\vec b\times\vec a=5\,\vec a\times\vec b$, and $|\vec a\times\vec b|=4\cdot3\cdot\sin\tfrac\pi6=6$.
Answer $\tfrac12\times5\times6=15$.
⏱ Shortcut Using the diagonals as if they were sides gives $30$ — the most common wrong answer.

E5. JEE Main · MCQ Vectors $\vec a$, $\vec b$, $\vec c$ satisfy $\vec a+\vec b+\vec c=\vec 0$ with $|\vec a|=3$, $|\vec b|=4$, $|\vec c|=5$. Then $\vec a\cdot\vec b+\vec b\cdot\vec c+\vec c\cdot\vec a$ equals (A) $25$ (B) $0$ (C) $-50$ (D) $-25$

Square the sum $0=|\vec a+\vec b+\vec c|^2=9+16+25+2S$.
Answer (D) $S=-25$.
⏱ Shortcut The vectors form a $3$–$4$–$5$ right triangle head to tail, so $\vec a\cdot\vec b=0$; then $\vec c=-(\vec a+\vec b)$ gives $\vec b\cdot\vec c+\vec c\cdot\vec a=\vec c\cdot(\vec a+\vec b)=-25$. (B) forgets that only one pair is perpendicular.

E6. JEE Main · Numerical Let $\vec a=\hat i+2\hat j+2\hat k$, and let $\vec b$ be a vector with $\vec a\times\vec b=6\hat i-3\hat j$ and $\vec a\cdot\vec b=6$. Find $|\vec b|^2$. Give the answer to the nearest integer.

Lagrange $|\vec a|^2|\vec b|^2=|\vec a\times\vec b|^2+(\vec a\cdot\vec b)^2=45+36=81$.
Divide $|\vec a|^2=9$, so $|\vec b|^2=9$.
Answer $9$.
Check Solving in components (as in Example 6) gives $\vec b=3\hat k$: $\vec a\times3\hat k=6\hat i-3\hat j$ ✓, $\vec a\cdot3\hat k=6$ ✓, $|\vec b|^2=9$ ✓. Note $(6,-3,0)\cdot\vec a=0$ — the data are consistent, as a cross product must be perpendicular to $\vec a$.
🔬 Research–Teaching NexusResearch-tutored · optional, about 45 minutes

Research question. A family wants to put solar panels on a sloping roof. How much sunlight does a panel catch at different times of day, and how much would a different tilt help — in Chennai, in Delhi and in Berlin?

Why it matters. The power a panel collects is proportional to $\cos i$, where $i$ is the angle between the panel's normal and the direction of the sun — that is, to the scalar product $\hat n\cdot\hat s$ of two unit vectors. The normal itself comes from a vector product of two edges of the panel. Installers worldwide use exactly this calculation (with weather data on top) to choose the tilt and orientation of rooftop and solar-farm panels.

What to do.

  1. Take axes with $\hat i$ east, $\hat j$ north, $\hat k$ up. A roof faces south and is tilted at angle $\beta$: two of its edges are $\vec u=4\hat i$ (along the ridge) and $\vec v=3\left(-\cos\beta\,\hat j-\sin\beta\,\hat k\right)$ (down the slope). Compute $\vec u\times\vec v$ and the unit normal $\hat n$ pointing up and out of the roof. Check that $\hat n=\hat k$ when $\beta=0$.
  2. The sun at elevation $e$ and azimuth $A$ (measured from north towards east) has direction $\hat s=\cos e\sin A\,\hat i+\cos e\cos A\,\hat j+\sin e\,\hat k$. Verify $|\hat s|=1$.
  3. At noon on an equinox the sun is due south ($A=180^\circ$) at elevation $90^\circ-\varphi$, where $\varphi$ is the latitude. Compute $\hat n\cdot\hat s$ for $\beta=0^\circ,15^\circ,30^\circ,45^\circ$ in Chennai ($\varphi\approx13^\circ$), Delhi ($\varphi\approx28.6^\circ$) and Berlin ($\varphi\approx52.5^\circ$). Which tilt is best at each place?
  4. Find sun positions (elevation and azimuth) for your own town at 9 a.m., noon and 3 p.m. on one day from a free online solar calculator, and compute the share of full power for your roof.

Tools: Calculator or spreadsheet; an online sun-position calculator.

Hand in: The normal vector, a table of $\hat n\cdot\hat s$ values, your recommended tilt for each city with a one-paragraph justification.

Going further. Show that at equinox noon $\hat n\cdot\hat s=\cos(\varphi-\beta)$, so the best tilt equals the latitude. Over a whole year the best fixed tilt is close to (a little less than) the latitude — why might installers in cloudy northern Europe choose a smaller tilt?

Instructor note: $\vec u\times\vec v=4\hat i\times(-3\cos\beta\,\hat j-3\sin\beta\,\hat k)=-12\cos\beta\,\hat k+12\sin\beta\,\hat j$; the outward normal is $\hat n=-\sin\beta\,\hat j+\cos\beta\,\hat k$ after choosing the upward sign (students often get the sign wrong — a good discussion of orientation and the right-hand rule). With $\hat s=-\sin\varphi\,\hat j+\cos\varphi\,\hat k$ at equinox noon, $\hat n\cdot\hat s=\cos(\varphi-\beta)$. Flat panels lose about $3\%$ in Chennai, $12\%$ in Delhi and $39\%$ in Berlin at that moment.

🧪 Self-check quiz

0/5 correct

Q1. The unit vector in the direction of $\hat i-2\hat j+2\hat k$ is

Q2. If $|\vec a\times\vec b|=\sqrt3\,(\vec a\cdot\vec b)$ for non-zero vectors, the angle between $\vec a$ and $\vec b$ is

Q3. If $\vec a+\vec b$ is perpendicular to $\vec a-\vec b$, then

Q4. The area of the triangle with two sides given by the vectors $\hat i+\hat j$ and $\hat j+\hat k$ is

Q5. The vectors $2\hat i+\lambda\hat j+\hat k$ and $\hat i-2\hat j+3\hat k$ are perpendicular when $\lambda$ is