Chapter 11 ยท Introduction

Chapter 11 โ€” Three Dimensional Geometry

Add a third axis to the coordinate plane and every point of space gets an address $(x,y,z)$. This chapter measures distances and directions in space, writes the equations of lines, and answers the question a plane can never ask: how close do two lines come when they neither meet nor run parallel?

In the 1630s Descartes and Fermat discovered that a curve in the plane can be described by an equation in two coordinates. Extending the idea to space took about a century. In 1731 the eighteen-year-old Alexis Clairaut published a study of curves that bend out of a plane, using three coordinates, and in 1748 Euler devoted part of his Introductio to surfaces described by equations in $x$, $y$ and $z$. The third coordinate brought something genuinely new: lines that never meet and are never parallel, and with them the question of how close two such lines come.

Today three coordinates are everywhere. A phone's satellite fix, a 3-D printer's nozzle path, a CT scan, a game engine and a robot arm all store points as $(x,y,z)$ and straight motions as lines. Air-traffic systems check how close two straight flight paths come; collision checks in robotics ask the same question about the straight links of an arm. In JEE Main the chapter gives one or two questions in almost every paper: a ratio in which a plane cuts a segment, direction cosines, a point on a line, the foot of a perpendicular, the angle between two lines or the shortest distance between them. Section 11.1 builds the tools โ€” coordinates, the distance and section formulas, direction cosines and ratios, equations of a line. Section 11.2 uses them to measure angles and distances between lines.

Point $(x,y,z)$โ†’Distanceโ†’Section formulaโ†’$l,m,n$ and DRsโ†’Equation of a lineโ†’Angle between linesโ†’Foot of a perpendicularโ†’Skew linesโ†’Shortest distance
๐ŸŽฏ By the end of this chapter you canโ€ฆ
  • locate points in the eight octants and find distances between points and from a point to an axis or a coordinate plane;
  • use the section formula (internal and external), find centroids of triangles and tetrahedra, and find the ratio in which a coordinate plane divides a segment;
  • find direction cosines and direction ratios, and use $l^2+m^2+n^2=1$ to find a missing angle with an axis;
  • write the equation of a line in symmetric and parametric form, read lines given in non-standard forms, and find points on a line at a given distance or on a coordinate plane;
  • find the angle between two lines and test them for being perpendicular or parallel;
  • find the foot of the perpendicular from a point to a line, the distance from a line, and the image of a point in a line;
  • decide whether two lines intersect, are parallel or are skew, and find the point of intersection;
  • find the shortest distance between skew lines and between parallel lines, the feet of the common perpendicular and its equation;
  • solve JEE Main multiple-choice and numerical-answer problems on the whole unit.

Two drones fly straight paths. From above, the paths cross; at the crossing point of the map, drone 1's path is at height $40$ m and drone 2's at $30$ m โ€” a vertical gap of $10$ m. Drone 2 is climbing gently. What is the closest the two paths come to each other?

With the scenario level and gently climbing the readouts show the crossing in the top view at $(40,30)$, heights $40$ m and $30$ m, vertical gap $10.00$ m and closest approach $9.60$ m. Press 3-D view: the green segment of closest approach is not vertical and does not sit above the crossing point of the map. The vertical gap is just one of many segments joining the paths, and the shortest one is tilted. Only when both paths are level (second scenario) is the closest approach exactly the vertical gap; for the steep climb it drops to $8.00$ m. Section 11.2 proves why, and gives the formula.
Teaser โ€” Do the Paths Cross?

Two drones fly along straight lines over a $80\times60$ m field (heights in metres). Their shadows on the ground (dashed) cross, so in the top view the paths seem to meet. The amber segment is the vertical gap above that crossing; the green segment is the true closest approach of the two paths. Press Play to swing the camera from the top view down into 3-D, or drag the picture yourself.

crossing in top viewโ€”
heights thereโ€”
vertical gapโ€”
closest approachโ€”

Sections in this chapter

๐ŸŽฏ Chapter mixed test JEE Main ยท MCQJEE Main ยท Numerical

Eight problems that mix both sections, in no particular order โ€” just as they come in the paper, where nothing tells you which idea a question needs. Answer each one and press Submit (NTA marking: $+4$ correct, $-1$ wrong, $0$ unanswered), or press โฑ Take as a timed test for the real-exam experience, with the NTA question palette.

E1. JEE Main ยท MCQ The point on the $x$-axis equidistant from $(1,2,3)$ and $(3,0,-1)$ is (A) $(-1,0,0)$ (B) $(1,0,0)$ (C) $(2,0,0)$ (D) $(-2,0,0)$

Equation $(x-1)^2+4+9=(x-3)^2+0+1$: $-2x+14=-6x+10$, so $4x=-4$.
Answer (A) $(-1,0,0)$.
Check Both squared distances are $4+4+9=17$ and $16+0+1=17$ โœ“.

E2. JEE Main ยท Numerical The perpendicular distance of the origin from the line $\dfrac{x-3}1=\dfrac{y-3}4=\dfrac{z-3}1$ is $p$. Find $p^2$. Give the answer to the nearest integer.

Foot General point $(3+\lambda,3+4\lambda,3+\lambda)$; perpendicular to $(1,4,1)$: $(3+\lambda)+4(3+4\lambda)+(3+\lambda)=18+18\lambda=0$, $\lambda=-1$, foot $(2,-1,2)$.
Distance $p=\sqrt{4+1+4}=3$.
Answer $9$.

E3. JEE Main ยท MCQ A line makes angles $\alpha$, $\beta$, $\gamma$ with the positive coordinate axes. Then $\cos2\alpha+\cos2\beta+\cos2\gamma$ equals (A) $1$ (B) $-1$ (C) $2$ (D) $0$

Identity $\cos2\theta=2\cos^2\theta-1$, so the sum is $2(l^2+m^2+n^2)-3$.
Answer (B) $2-3=-1$.
โฑ Shortcut Test with the $x$-axis itself: $\cos0+\cos180^\circ+\cos180^\circ=1-1-1=-1$.

E4. JEE Main ยท Numerical Find the shortest distance between the line $\dfrac{x-4}4=\dfrac{y+3}{-3}=\dfrac{z-5}5$ and the vertical line $x=3,\ y=4$. Give the answer to the nearest integer.

Data $A=(4,-3,5)$, DRs $(4,-3,5)$; $B=(3,4,0)$, DRs $(0,0,1)$.
Formula $(p,q,r)=(-3\cdot1-5\cdot0,\ 5\cdot0-4\cdot1,\ 0)=(-3,-4,0)$, length $5$; $B-A=(-1,7,-5)$, $D=3-28+0=-25$; SD $=\tfrac{25}5$.
Answer $5$.
โฑ Shortcut The first line passes through the origin (put $\lambda=-1$). Seen from above, the vertical line is the point $(3,4)$, and the first line is the line through $O$ with direction $(4,-3)$; the distance of $(3,4)$ from it is $\tfrac{|3\cdot3+4\cdot4|}{5}=5$.

E5. JEE Main ยท MCQ The angle between the lines $3x=2y=z$ and $x=-y=2z$ is (A) $\cos^{-1}\tfrac{3}{\sqrt{84}}$ (B) $90^\circ$ (C) $\cos^{-1}\tfrac13$ (D) $\cos^{-1}\tfrac4{21}$

DRs $3x=2y=z=t$: $\left(\tfrac t3,\tfrac t2,t\right)\propto(2,3,6)$. $\ x=-y=2z=t$: $\left(t,-t,\tfrac t2\right)\propto(2,-2,1)$.
Angle $\cos\theta=\dfrac{|4-6+6|}{7\cdot3}=\dfrac4{21}$.
Answer (D).
โฑ Shortcut (A) uses the coefficients $(3,2,1)$ and $(1,-1,2)$ as DRs โ€” the DRs are their reciprocals.

E6. JEE Main ยท Numerical The line through $A(1,-2,3)$ and $B(5,2,-1)$ meets the $ZX$-plane at $(\alpha,0,\gamma)$. Find $\alpha+\gamma$. Give the answer to the nearest integer.

Line $A+t(B-A)=(1+4t,\ -2+4t,\ 3-4t)$; $y=0$ at $t=\tfrac12$.
Point $(3,0,1)$ โ€” the midpoint of $AB$, since the $y$-coordinates are $-2$ and $2$.
Answer $3+1=4$.

E7. JEE Main ยท MCQ The distance between the lines $x=y=z$ and $x-1=y-2=z-3$ is (A) $0$, as the lines intersect (B) $\sqrt{14}$ (C) $\sqrt2$ (D) $2$

Type Both have DRs $(1,1,1)$: parallel, and $(1,2,3)$ is not on $x=y=z$, so they are distinct.
Distance $AB=(1,2,3)$ with $A=O$, $AB^2=14$; projection on the lines $\tfrac{1+2+3}{\sqrt3}=2\sqrt3$; distance $\sqrt{14-12}=\sqrt2$.
Answer (C).
โฑ Shortcut (B) is $|AB|$ โ€” the distance between two chosen points, not between the lines.

E8. JEE Main ยท Numerical A cube has edge $6$, one vertex at the origin and edges along the positive axes. Let $d$ be the shortest distance between the diagonal from $(0,0,0)$ to $(6,6,6)$ and the edge from $(6,0,0)$ to $(6,6,0)$. Find $d^2$. Give the answer to the nearest integer.

Data Diagonal: $O$, DRs $(1,1,1)$. Edge: $(6,0,0)$, DRs $(0,1,0)$. They are skew.
Formula $(p,q,r)=(1\cdot0-1\cdot1,\ 1\cdot0-1\cdot0,\ 1\cdot1-1\cdot0)=(-1,0,1)$; $D=6(-1)+0+0=-6$; $d=\tfrac6{\sqrt2}=3\sqrt2$.
Answer $d^2=18$.
โœ… Before you start
This chapter extends the coordinate geometry of the plane, so revise from Section 10.1 the distance formula, the section formula and the idea of a locus. You also need Pythagoras' theorem and the cosine rule, the values of $\cos$ at $0^\circ,30^\circ,45^\circ,60^\circ,90^\circ$ (see Section 14.1), and the evaluation of $3\times3$ determinants from Section 3.2 โ€” the shortest-distance formula is one determinant. Chapter 12 (Vector Algebra) retells several results of this chapter in the language of the dot and cross products; you do not need it first, because every fact used here is proved directly from coordinates.