Math Lab
Home/Class XII/Ch 10/Applications in geometry

Applications in geometry

Vector algebra is a coordinate-free language for geometric statements. Once you can write a problem in vector form, the manipulation often becomes mechanical: a few dot products, a cross product, a triple product , and you're done.

Collinearity of three points

Three points A,B,CA, B, C are collinear iff the vectors AB\vec{AB} and AC\vec{AC} are parallel, i.e. AB×AC=0.\vec{AB} \times \vec{AC} = \vec{0}. Equivalently, AC=λAB\vec{AC} = \lambda \vec{AB} for some scalar.

Coplanarity of four points

Four points A,B,C,DA, B, C, D are coplanar iff [AB  AC  AD]=0.[\vec{AB}\;\vec{AC}\;\vec{AD}] = 0.

Coplanarity of three vectors

Three vectors a,b,c\vec{a}, \vec{b}, \vec{c} are coplanar iff [a  b  c]=0[\vec a\;\vec b\;\vec c] = 0. (Each lies in the plane spanned by the others.)

Parallel and perpendicular vectors

  • Parallel: a×b=0\vec a \times \vec b = \vec 0, or b=λa\vec b = \lambda \vec a.
  • Perpendicular: ab=0\vec a \cdot \vec b = 0.

Distance from a point to a line

A line passing through AA with direction vector d\vec{d} , i.e. parametrised as r=a+td\vec{r} = \vec a + t \vec d. The distance from a point PP to this line is D=AP×dd.D = \frac{|\vec{AP} \times \vec{d}|}{|\vec{d}|}.

Why? AP×d\vec{AP}\times\vec d has magnitude APdsinθ|\vec{AP}||\vec d|\sin\theta, where θ\theta is the angle between AP\vec{AP} and d\vec d. The distance from PP to the line is the component of AP\vec{AP} perpendicular to d\vec d, which is APsinθ=AP×d/d|\vec{AP}|\sin\theta = |\vec{AP}\times\vec d|/|\vec d|.

Angle between two vectors / lines

  • Vectors: cosθ=abab\cos\theta = \dfrac{\vec a\cdot\vec b}{|\vec a||\vec b|}, sinθ=a×bab\sin\theta = \dfrac{|\vec a\times\vec b|}{|\vec a||\vec b|}.
  • Lines (defined by direction vectors d1,d2\vec d_1, \vec d_2): same formula. The angle is taken in [0,π/2][0, \pi/2] by convention (use absolute value of cosine).

Worked examples

Example 1. Show that the points A=(1,2,3)A = (1, 2, 3), B=(3,5,7)B = (3, 5, 7), C=(5,8,11)C = (5, 8, 11) are collinear.

AB=(2,3,4)\vec{AB} = (2, 3, 4). AC=(4,6,8)=2AB\vec{AC} = (4, 6, 8) = 2\vec{AB}. So they are collinear.

Example 2. Find the angle between the diagonals of a cube of unit side.

A cube with one vertex at the origin has main diagonal from (0,0,0)(0, 0, 0) to (1,1,1)(1, 1, 1), direction (1,1,1)(1, 1, 1). Another main diagonal from (1,0,0)(1, 0, 0) to (0,1,1)(0, 1, 1), direction (1,1,1)(-1, 1, 1). Dot product: 1+1+1=1-1 + 1 + 1 = 1. Magnitudes: 3\sqrt 3 each. So cosθ=1/3\cos\theta = 1/3.

Example 3. Find the distance from P=(1,2,3)P = (1, 2, 3) to the line r=i^+2j^+t(i^+j^+k^)\vec r = \hat i + 2\hat j + t(\hat i + \hat j + \hat k).

A=(1,2,0)A = (1, 2, 0), d=(1,1,1)\vec d = (1, 1, 1). AP=(0,0,3)\vec{AP} = (0, 0, 3). AP×d=i^j^k^003111=i^(03)j^(03)+k^(0)=3i^+3j^\vec{AP}\times\vec d = \begin{vmatrix}\hat i & \hat j & \hat k\\0 & 0 & 3\\1 & 1 & 1\end{vmatrix} = \hat i(0 - 3) - \hat j(0 - 3) + \hat k(0) = -3\hat i + 3\hat j. Magnitude =32= 3\sqrt 2. d=3|\vec d| = \sqrt 3. Distance =323=6= \dfrac{3\sqrt 2}{\sqrt 3} = \sqrt 6.

Example 4. Show that the four points A=(1,1,1)A = (1, 1, 1), B=(2,1,3)B = (2, 1, 3), C=(3,2,2)C = (3, 2, 2), D=(3,3,4)D = (3, 3, 4) are coplanar.

AB=(1,0,2)\vec{AB} = (1, 0, 2), AC=(2,1,1)\vec{AC} = (2, 1, 1), AD=(2,2,3)\vec{AD} = (2, 2, 3).

det(102211223)=1(32)0+2(42)=1+4=50\det \begin{pmatrix} 1 & 0 & 2 \\ 2 & 1 & 1 \\ 2 & 2 & 3 \end{pmatrix} = 1(3 - 2) - 0 + 2(4 - 2) = 1 + 4 = 5 \ne 0.

So they are not coplanar. (Sometimes problems are designed to fool you , always compute.)

Example 5. Show using vectors that the perpendiculars from the vertices of a triangle to the opposite sides are concurrent (i.e. the orthocentre exists).

Let triangle ABCABC have position vectors a,b,c\vec a, \vec b, \vec c with respect to some origin. Let HH be a point such that AHBC=0\vec{AH}\cdot\vec{BC} = 0 and BHCA=0\vec{BH}\cdot\vec{CA} = 0 (i.e. HH lies on two altitudes). Then we must show CHAB=0\vec{CH}\cdot\vec{AB} = 0.

Let h\vec h be the position vector of HH. AH=ha\vec{AH} = \vec h - \vec a, BC=cb\vec{BC} = \vec c - \vec b, etc. The first two conditions: (ha)(cb)=0(\vec h - \vec a)\cdot(\vec c - \vec b) = 0, (hb)(ac)=0(\vec h - \vec b)\cdot(\vec a - \vec c) = 0. Expand:

  • hchbac+ab=0\vec h \cdot \vec c - \vec h\cdot\vec b - \vec a\cdot\vec c + \vec a\cdot\vec b = 0.
  • hahcab+bc=0\vec h\cdot\vec a - \vec h\cdot\vec c - \vec a\cdot\vec b + \vec b\cdot\vec c = 0.

Add: hahbac+bc=0\vec h\cdot\vec a - \vec h\cdot\vec b - \vec a\cdot\vec c + \vec b\cdot\vec c = 0, i.e. (hc)(ab)=0(\vec h - \vec c)\cdot(\vec a - \vec b) = 0. So CHAB=0\vec{CH}\cdot\vec{AB} = 0. Concurrence proved.

Example 6. Find the unit vector in the plane of i^+2j^\hat i + 2\hat j and i^j^\hat i - \hat j that is perpendicular to 2i^+j^+k^2\hat i + \hat j + \hat k.

Let the desired vector be r=α(i^+2j^)+β(i^j^)=(α+β)i^+(2αβ)j^\vec r = \alpha (\hat i + 2\hat j) + \beta(\hat i - \hat j) = (\alpha + \beta)\hat i + (2\alpha - \beta)\hat j. Perpendicularity to (2,1,1)(2, 1, 1): 2(α+β)+(2αβ)=02(\alpha + \beta) + (2\alpha - \beta) = 0, so 4α+β=04\alpha + \beta = 0, i.e. β=4α\beta = -4\alpha. Substituting: r=3αi^+6αj^=3α(i^+2j^)\vec r = -3\alpha\hat i + 6\alpha\hat j = 3\alpha(-\hat i + 2\hat j). Magnitude: 3α53|\alpha|\sqrt 5. Unit vector: i^+2j^5\dfrac{-\hat i + 2\hat j}{\sqrt 5}.

Try it yourself

  1. Show that A=(2,3,4)A = (2, 3, 4), B=(3,4,5)B = (3, 4, 5), C=(4,5,6)C = (4, 5, 6) are collinear.
  2. Show that the diagonals of a rectangle have equal lengths.
  3. Find the distance from P=(2,3,4)P = (2, 3, 4) to the line through (1,2,3)(1, 2, 3) with direction (1,1,1)(1, 1, 1).
  4. Are (1,0,0),(0,1,0),(0,0,1),(1,1,1)(1, 0, 0), (0, 1, 0), (0, 0, 1), (1, 1, 1) coplanar?
  5. Find the angle between the body diagonal of a cube and one of its edges.
  6. Show that the medians of a triangle are concurrent at the centroid (using vectors).
  7. Find a vector orthogonal to both 2i^+3j^2\hat i + 3\hat j and j^k^\hat j - \hat k, with magnitude 77.
  8. The midpoints of sides ABAB and ACAC of a triangle are MM and NN. Show MN=12BC\vec{MN} = \frac{1}{2}\vec{BC}.
  9. Find λ\lambda so that A=(1,1,2)A = (1, -1, 2), B=(3,2,1)B = (3, 2, 1), C=(λ,5,3)C = (\lambda, 5, 3) are collinear.
  10. The position vectors of two points are a\vec a and b\vec b. Find the position vector of a point that divides the segment ABAB in ratio 2:1\sqrt 2 : 1 internally.
  11. Find n^\hat n perpendicular to the plane of i^+j^2k^\hat i + \hat j - 2\hat k and 2i^j^+k^2\hat i - \hat j + \hat k.
  12. Show that the line joining the midpoints of two sides of a triangle is parallel to the third side.
  13. A particle moves with position r(t)=ti^+t2j^+t3k^\vec r(t) = t\hat i + t^2\hat j + t^3\hat k. Find its velocity and acceleration at t=1t = 1.
  14. The vertices of a quadrilateral are A=(1,2,3)A = (1, 2, 3), B=(4,5,6)B = (4, 5, 6), C=(7,8,10)C = (7, 8, 10), D=(4,5,7)D = (4, 5, 7). Find the area.

Pitfalls and tricks

  • Vectors first, then coordinates. Many proofs are cleaner if you stay in pure vector form before introducing coordinates.
  • Use the right tool: dot product for angles and perpendicularity, cross product for areas and normals, triple product for volumes and coplanarity.
  • Distance from a point to a line is the magnitude of the perpendicular component of AP\vec{AP}, captured by AP×d/d|\vec{AP}\times\vec d|/|\vec d|.
  • Position vectors are relative to an origin , but most identities (involving differences of position vectors) are origin-independent.
  • Practice sketching even rough 3D pictures , they keep you honest about which vector points where.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Applications
6 questions · pick the best answer
Q1

Three points A,B,CA, B, C are collinear iff

Q2

Four points coplanar iff

Q3

Distance from PP to line through AA with direction d\vec d

Q4

sinθ\sin\theta between two vectors is

Q5

Centroid of triangle by position vectors

Q6

Two lines with directions d1,d2\vec d_1, \vec d_2 are perpendicular iff