By the end of this chapter you'll be able to…

  • 1Extend distance and the section formula to three coordinates, and locate points dividing a segment internally or externally
  • 2Convert between direction ratios and direction cosines, and use the sum-of-squares identity, including the two-answer cases it produces
  • 3Find the angle between two lines, and test for parallelism and perpendicularity from direction ratios alone
  • 4Decide whether two lines are parallel, intersecting or skew, and compute the shortest distance in each case
  • 5Write a plane in each standard form, read its normal off the coefficients, and use the family through a line of intersection
  • 6Analyse a line against a plane for intersection, parallelism or containment, and find angles, distances, feet of perpendiculars and images
💡
Why this chapter matters in JEE Main
Two non-parallel lines in a plane always meet. In space they usually do not, and the algebra says exactly why: equating two lines gives three equations for two unknowns, so two of them can always be satisfied and the third is a condition rather than a certainty. When that leftover equation holds, the lines are coplanar and intersect. When it fails, they are skew, and the amount by which it fails is the shortest distance between them, divided by the length of the cross product of the directions. That one observation organises the whole chapter: coplanarity, perpendicularity, a line lying in a plane and a line parallel to it are all a single expression being zero rather than something you assume. The other half of the chapter is even shorter, because for any plane written as ax + by + cz + d = 0, the coefficients are the normal, and reading them that way answers most plane questions without a further formula.

Before you start — revise these

🔗
The section formula, distance formula and equation of a line in two dimensions, from Coordinate Geometry
🔗
Determinant evaluation of order three, from Matrices and Determinants
🔗
The cross product and scalar triple product, from Vector Algebra
🔗
Solving a small system of linear equations and recognising an inconsistent one

Three Dimensional Geometry

Two lines. Neither is parallel to the other. Find where they meet.

Their direction ratios are and , which are not proportional, so they are certainly not parallel. In a plane that would settle it: non-parallel lines meet, always, exactly once.

Write a general point on each and set them equal.

The first two give and immediately. Substitute into the third.

The lines do not meet. They are skew: not parallel, and yet with no point in common.

In a planeIn space
a point needs coordinates
equating two lines gives equations
unknowns to find ( and )
equations left over

That leftover equation is the whole chapter. Two unknowns can satisfy two of the three equations always; whether they also satisfy the third is a condition, not a certainty. When it holds, the lines are coplanar and meet. When it fails, they miss, and the amount by which the equation fails measures how far apart they pass.

xzy L1 L2 the common perpendicular is the only shortest gap three equations, two unknowns: the leftover one decides whether they meet, and by how much they miss not parallel, and still no point in common

Everything below is the machinery for writing lines and planes in space, and every condition in it — perpendicularity, coplanarity, a line lying in a plane — is one equation being satisfied rather than assumed.

1. Coordinates in Space

A point needs three coordinates. Distance extends the plane formula by one term, and the section formula extends componentwise.

For external division, replace by . The midpoint is the case .

Illustration 1

Find the point dividing and internally in the ratio .

Apply the formula to each coordinate separately; there is nothing three-dimensional about the work.

Check the ratio holds by comparing one coordinate's two gaps: from to is , and from to is , in the ratio as required.

2. Direction Cosines and Direction Ratios

Direction cosines are the cosines of the angles a line makes with the positive , and axes.

Direction ratios are any numbers proportional to them. A line has infinitely many sets of direction ratios but only two sets of direction cosines, opposite in sign, one for each direction along it.

xzy alpha gamma beta the line l = cos alpha, m = cos beta, n = cos gamma l squared + m squared + n squared = 1 so two of the three angles fix the third up to a sign, giving two answers direction ratios are any proportional triple; direction cosines are the one normalised to length 1

Illustration 2

A line makes with the -axis and with the -axis. What angle does it make with the -axis?

The three angles are not independent, so the third is forced by the identity.

Two answers, and both are genuine. The identity fixes , not , and the two signs correspond to the two directions along the same line. Quoting only is the standard omission here.

Trap. Never write . It is the squares that sum to , and the un-squared version is false for almost every line.

3. Angle Between Two Lines

With direction ratios and :

ConditionTest
Perpendicular
Parallel

The modulus in the numerator forces the acute angle, which is what "the angle between two lines" always means. Two skew lines still have an angle between them: translate one until they meet and measure there.

Illustration 3

Find the angle between the lines with direction ratios and .

Compute the dot product of the ratios first, because a zero there ends the question.

No denominators were needed. Both vectors happen to have length , so the formula would have given , but the numerator alone settles perpendicularity and it is always worth computing first.

4. Equation of a Line

A line is fixed by one point on it and one direction.

The denominators are direction ratios and the numerators locate the fixed point. Through two points, the direction ratios are the coordinate differences.

Trap. A zero denominator does not mean division by zero; it means that coordinate is constant. Writing is standard shorthand for the line with the other two coordinates varying.

5. Skew Lines and the Shortest Distance

Two lines in space are parallel, intersecting, or skew. The third case has no analogue in the plane, and it is the default: two lines picked at random in space are almost certainly skew.

That expression is the scalar triple product of the joining vector and the two directions. It is the volume of the box they span, and a flat box means everything lies in one plane.

For parallel lines the cross product vanishes and this formula is useless. Use the other one.

Illustration 4

Compute the shortest distance between the two lines from the opening.

Take the cross product of the directions first; it is needed in both numerator and denominator.

Non-zero, confirming the lines are skew, which is what the failed intersection already told us.

Notice that the numerator is exactly the inconsistency in the third equation. The algebra that refused to solve and the geometry that refuses to meet are the same fact.

Illustration 5

Find so that the lines below are coplanar.

Coplanarity is the triple product vanishing, so set it up and solve for .

For every other value of the lines are skew, and the shortest distance is . One parameter, one condition, one answer: that is the shape of most coplanarity questions.

6. Equation of a Plane

A plane is fixed by one point and one normal direction. Everything else is a rearrangement of that.

FormEquation
General, with normal
Point-normal
Normal (distance from origin)
Intercept
Through three pointsexpand a determinant, or cross two edge vectors

The coefficients are the normal. That single reading answers most plane questions without any further formula: parallel planes share , perpendicular planes have normals with zero dot product, and a line lies parallel to a plane when its direction is perpendicular to the normal.

Illustration 6

Find the plane through , and .

Build two vectors in the plane, then cross them to get the normal.

Scale away the common factor, since only the direction of the normal matters.

Check the two points not used to anchor it: and . Both lie on it, so all three do, and the plane is right.

The family of planes through a line

Two intersecting planes meet in a line, and every plane containing that line is a combination of the two.

This is the exact analogue of the family of lines through a point of intersection, and it earns its place for the same reason: it produces the answer without ever finding the line of intersection.

Illustration 7

Find the plane through the line of intersection of and which is perpendicular to .

Write the family, so the line of intersection never has to be found.

Collect the coefficients, because they are the normal to whichever member you end up choosing.

Perpendicular planes have normals with zero dot product, and the given plane's normal is .

Substituting gives coefficients and constant . Multiplying through by clears the fractions.

Verify the condition rather than trusting the arithmetic: the normal dotted with gives . The coefficient vanishing is the visible sign that was chosen correctly.

7. Angles Between Planes, and Between a Line and a Plane

Because the coefficients are the normal, the angle between two planes is the angle between their normals.

For a line and a plane the formula uses sine, not cosine, and the reason is worth holding on to: the normal sticks out of the plane, so the angle to the normal is the complement of the angle to the plane.

Trap. Using cosine here gives the angle to the normal, which is minus the answer. It is the most frequently set trap in the unit, because the formula looks identical to the two-line one.

Check it against the extremes. A line lying in the plane is perpendicular to the normal, so the dot product is zero and the sine formula correctly returns . A line along the normal gives sine equal to , and .

Illustration 8

Find the angle between the line with direction ratios and the plane .

The normal is read straight off the coefficients: .

Had cosine been used, the answer would have come out near , the angle to the normal. The two are complementary, and both appear among the options in exam questions of this type.

8. Line and Plane: The Three Cases

Substitute the line's parametric point into the plane and watch what happens to the parameter.

Result for Meaning
a unique valuethey meet at one point
no solution ( non-zero)line parallel to the plane, outside it
every works ()line lies in the plane

The coefficient of in that substitution is exactly . Non-zero gives the first row; zero sends you to the other two, which one point of the line then separates.

meets at a pointparallel, outsidelies in the plane one value of the parameter no value works: 0 = non-zero every value works: 0 = 0 one substitution decides all three, and the direction being perpendicular to the normal only separates the last two

Illustration 9

Where does meet the plane ?

Parametrise the line, then substitute into the plane. That is the whole method.

The coefficient of came out as , which is . Non-zero, so a unique meeting point was guaranteed before the constant was even collected.

Illustration 10

Show that the line through with direction is parallel to the plane , and find how far apart they are.

Test the direction against the normal first, because that decides which of the three rows applies.

Parallel, so the only question left is whether the line lies inside the plane.

It does not, so the line runs parallel and outside. Every point on it is then the same distance from the plane, and one point is enough to measure it.

9. Distance from a Point to a Plane

It is the two-dimensional line formula with one more term, for the same reason: divide by the length of the normal.

Before the modulus, the sign tells you which side. Two points give the same sign when they lie on the same side of the plane, and opposite signs when the plane separates them.

For two parallel planes, make the coefficients match and then take the difference of the constants over the normal's length.

Illustration 11

Find the distance from to , and the distance between and .

For the parallel planes the coefficients already match, so only the constants differ.

Trap. Match the coefficients before subtracting. The planes and are parallel, but the gap is , not . Halving the second equation first is the safe habit.

Foot of the perpendicular, and the image of a point

Both come from the same idea: walk from the point along the normal until you hit the plane, then keep going the same distance again.

The common value lands you at the foot; doubling it lands you at the image.

the plane P, the point F, the foot: k P', the image: 2k normal direction (a, b, c) d d one walk along the normal reaches the foot; the same walk again reaches the image

Illustration 12

Find the foot of the perpendicular from to the plane , and the image of in it.

Write the plane as so the constant has the right sign, then compute the common value.

The foot is reached by stepping times the normal from .

Check that lies on the plane: .

The image needs the same step taken twice.

The distance is , agreeing with the distance formula computed earlier for this same point and plane.

Summary

In a plane, non-parallel lines always meet. In space they usually do not, because equating two lines gives three equations for two unknowns and the leftover one is a condition rather than a certainty.

That leftover condition is coplanarity, , and the amount by which it fails is the shortest distance.

Distance and the section formula extend from the plane by adding one term and one coordinate.

Direction cosines satisfy ; direction ratios are any proportional triple. Two angles to the axes fix the third only up to sign, so such questions have two answers.

The angle between lines uses the modulus of the dot product, so it is always the acute one, and a zero numerator settles perpendicularity without any denominator.

A line is a point plus a direction, and a zero denominator in the symmetric form means that coordinate is constant, not that anything is divided by zero.

Parallel lines need the other distance formula, since the cross product of their directions vanishes.

For a plane, the coefficients are the normal, and that single reading answers parallelism, perpendicularity and most of the rest.

The angle between a line and a plane uses sine, because the normal is perpendicular to the plane; using cosine gives the complement.

Substituting a line into a plane decides all three cases from the parameter: a unique value, no solution, or every value.

Every plane through the line where two planes meet is , which answers the question without ever finding that line.

The foot of a perpendicular and the image of a point are one walk along the normal and the same walk twice.

The distance from a point to a plane divides by the length of the normal, and its sign before the modulus tells you which side. For parallel planes, match the coefficients before differencing the constants.

Key formulas & results

Everything to memorise for the exam hall, in one card. Screenshot this for revision.

The organising principle
equating two lines in space gives three equations for two unknowns, so one equation is left over
That leftover equation is the coplanarity condition. When it holds the lines meet; when it fails they are skew, and the size of the failure is the shortest distance.
Distance and section formula in space
add a third squared difference under the root; divide each coordinate as in the plane, with n replaced by -n for external division
Nothing about the work is three-dimensional: each coordinate is handled separately, and the midpoint is the case m = n.
Direction cosines
l^2 + m^2 + n^2 = 1, where l, m, n are the cosines of the angles to the three axes
Never sum the un-squared cosines to 1. Two angles fix the third only up to sign, so such questions have two answers, one for each direction along the line.
Direction ratios to direction cosines
divide each ratio by the square root of the sum of their squares
A line has infinitely many sets of direction ratios but only two sets of direction cosines, differing in sign.
Angle between two lines
cos theta is the modulus of the dot product of the ratios, over the product of their magnitudes
The modulus forces the acute angle. A zero numerator settles perpendicularity with no denominator needed, and proportional ratios mean parallel.
Equation of a line
vector form r = a + (lambda) b; Cartesian (x - x1)/a = (y - y1)/b = (z - z1)/c
Denominators are direction ratios and numerators locate a point. A zero denominator is shorthand for that coordinate being constant, not a division by zero.
Coplanarity of two lines
the scalar triple product of the joining vector with the two directions is zero
It is the volume of the box the three vectors span, and a flat box means one plane contains everything. This is the same condition as the third equation being consistent.
Shortest distance between skew lines
the modulus of that triple product, divided by the magnitude of the cross product of the directions
For parallel lines the cross product vanishes and this is useless; use the magnitude of the joining vector crossed with the common direction, over that direction's magnitude.
Equation of a plane
ax + by + cz + d = 0, with normal (a, b, c); also point-normal, intercept and three-point forms
THE COEFFICIENTS ARE THE NORMAL. Parallel planes share them, perpendicular planes have normals with zero dot product, and that reading replaces several formulas.
Family of planes through a line
P1 + (lambda) P2 = 0 is every plane containing the line where P1 and P2 meet
The analogue of the family of lines through a point, and it earns its place the same way: the line of intersection is never computed.
Angle between a line and a plane
sin theta is the modulus of b dot n, over the product of the magnitudes
SINE, not cosine, because the normal is perpendicular to the plane. Using cosine gives the complement, which is the most frequently set trap in the unit.
Line against a plane
substitute the parametric point: a unique parameter means one meeting point, no solution means parallel and outside, every value means the line lies in the plane
The coefficient of the parameter is b dot n. Non-zero gives a unique point; zero sends you to the other two cases, separated by testing one point of the line.
Distance, foot and image
distance is the modulus of ax1 + by1 + cz1 + d over the length of the normal; stepping k along the normal reaches the foot and 2k the image, with k the negative of that same ratio over the sum of squares
Before the modulus the sign says which side. For parallel planes, match the coefficients before differencing the constants.
⚠️

Traps JEE Main sets — and how to dodge them

These are the exact option-traps and misreads that cost marks under negative marking.

WATCH OUT
Assuming two non-parallel lines in space must intersect
Equating two lines gives three equations for two unknowns, so the third is a condition. Solve two of them, then substitute into the third: if it fails, the lines are skew. Almost any two lines picked at random in space are skew, so this is the normal case rather than the exception.
Why it happens: In two dimensions it is always true, and the habit transfers without being noticed.
WATCH OUT
Writing cos alpha + cos beta + cos gamma = 1
It is the squares that sum to one. Test it on the line along the x-axis, where the cosines are 1, 0 and 0: the squares give 1 correctly, and so does the un-squared sum by coincidence. Test it on the line through (1,1,1) instead, where each cosine is one over root three and the un-squared sum is root three, not 1.
Why it happens: The identity is remembered as a sum equalling one and the squares get dropped.
WATCH OUT
Using cosine for the angle between a line and a plane
The normal points out of the plane, so the angle to the normal is the complement of the angle to the plane. Use sine. If the answer and its complement both appear among the options, that is the question testing this exact point.
Why it happens: The formula looks identical to the line-to-line one and the vectors involved are a direction and a normal.
WATCH OUT
Quoting only one angle when the direction-cosine identity gives a square
Both signs are genuine and correspond to the two directions along the same line. A line making 45 degrees with x and 60 degrees with y makes either 60 or 120 degrees with z, and a complete answer states both.
Why it happens: Solving cos squared gamma equals one quarter, the positive root is written down and the negative one forgotten.
WATCH OUT
Using the skew-line distance formula on parallel lines
For parallel lines the cross product of the directions is the zero vector, so the formula is zero over zero. Use the joining vector crossed with the single common direction, divided by that direction's magnitude. Check for proportional direction ratios before choosing a formula.
Why it happens: The formula is learnt as the shortest-distance formula without its condition.
WATCH OUT
Differencing the constants of two parallel planes without matching coefficients
The formula assumes identical coefficients. For 2x - 2y + z = 3 and 4x - 4y + 2z = 9, halve the second to 2x - 2y + z = 4.5 first; the gap is 1.5 over 3, which is 0.5, not 6 over 3. Normalise before subtracting, every time.
Why it happens: The planes are visibly parallel, so the constants look directly comparable.

Exam-pattern practice

PYQ-style questions with full solutions. Work through them as a readiness check — mark yourself honestly and get your gap report at the end.

Readiness check

Are you exam-ready for Three Dimensional Geometry?

12 problems from this chapter. Try each one, reveal the worked solution, mark yourself honestly — get your gap report at the end.

12 questions~8 min

5-minute revision

The whole chapter, distilled. Read this the night before the exam.

  • Three equations, two unknowns: the leftover one decides whether two lines meet
  • Skew is the normal case in space, not the exception
  • l squared plus m squared plus n squared equals 1, and two angles fix the third only up to sign
  • Direction ratios are any proportional triple; a zero denominator means that coordinate is constant
  • The modulus in the angle formula forces the acute angle; a zero numerator ends the question
  • Coplanarity is the scalar triple product vanishing, which is a flat box
  • Shortest distance is that triple product over the magnitude of the cross product
  • Parallel lines need the other distance formula, since the cross product vanishes
  • For a plane, the coefficients are the normal, and that reading replaces several formulas
  • Every plane through a line of intersection is P1 plus lambda P2
  • Line to plane uses SINE; using cosine gives the angle to the normal
  • Step k along the normal for the foot, 2k for the image; the sign before the modulus says which side

JEE Main question blueprint

How this topic is asked, tier by tier — so you can prep to the pattern.

Typical weightage: 4

Question styleMarks eachTypical countWhat it tests
Direction cosines, ratios and angles11
Lines in space, skew lines and shortest distance11
Planes and their equations11
Line and plane: intersection, angle and distance11

Exam-hall strategy

Battle-tested tips from mentors and toppers for this topic under the sectional clock.

  1. Classify before computing. Proportional direction ratios means parallel, a vanishing triple product means intersecting, and anything else is skew. One computation answers the whole question and tells you which formula is even valid.
  2. Read the coefficients of a plane as its normal immediately, and write that vector down. Parallelism, perpendicularity, angles and distances all follow from it without any further formula being recalled.
  3. Whenever a direction-cosine identity leaves you with a square, write both signs. The two answers are the two directions along the line, and exam options are built to reward stating both.
  4. For any line-and-plane question, compute the dot product of the direction with the normal first. Non-zero means they meet at one point; zero means you must test a point of the line to separate parallel from contained.
  5. Verify a plane by substituting the points it was built from, and verify a foot of perpendicular by substituting it into the plane. Both checks take seconds and catch the arithmetic slips that this unit's long expressions invite.

Beyond the exam

Where this skill shows up in the job you're competing for — and in life.

Robot arm and CNC machine control works entirely in this …

Robot arm and CNC machine control works entirely in this language: a tool path is a line in space, a workpiece surface is a plane, and the controller repeatedly asks whether they intersect and at what angle

Collision avoidance for aircraft and drones is a shortest…

Collision avoidance for aircraft and drones is a shortest-distance-between-skew-lines problem, since two flight paths that never touch can still pass close enough to matter, and the separation is exactly the common perpendicular

Computer graphics renders every image by intersecting lin…

Computer graphics renders every image by intersecting lines with planes: a ray from the eye through a pixel is tested against each surface, and the parameter value at the intersection decides what is visible

Where else this topic is tested

Prepare once, score in every exam that asks it.

JEE Main
JEE Advanced
BITSAT
WBJEE
MHT CET

Questions aspirants ask

Pulled from the Q&A community and mentor sessions.

Check the direction ratios first. If they are proportional the lines are parallel, and the only remaining question is whether they coincide, which one point settles. If they are not proportional, compute the scalar triple product of the joining vector with the two directions. Zero means coplanar, and since they are not parallel they must intersect. Non-zero means skew, and its modulus divided by the magnitude of the cross product is the shortest distance. That is a single computation answering the whole classification, and it is worth doing before attempting to solve for an intersection point, because solving will only tell you the answer by failing.

Because the vector you have for the plane is its normal, which points out of it rather than along it. The dot product formula gives the angle between the line and the normal, and the angle between the line and the plane itself is the complement of that. Sine of the angle to the plane equals cosine of the angle to the normal, so replacing cosine by sine converts one into the other in a single step. A useful check is the extreme cases: a line lying in the plane is perpendicular to the normal, so the dot product is zero and the sine formula correctly returns an angle of zero, while a line along the normal gives sine equal to one and an angle of ninety degrees.

The volume of the parallelepiped spanned by the three vectors: the one joining a point of each line, and the two direction vectors. If the two lines are coplanar, all three of those vectors lie in one plane, the box is flat and its volume is zero. If the lines are skew, the box has genuine thickness, and that thickness measured perpendicular to the plane of the two directions is exactly the shortest distance between the lines. Dividing the volume by the area of the base, which is the magnitude of the cross product of the directions, gives that thickness. So the distance formula is not an arbitrary expression; it is volume divided by base area, which is the height.

Because the symmetric form is shorthand for a set of parametric equations, not a set of fractions to be evaluated. Writing means the common parameter multiplies the direction ratios , so stays at 1 while and vary. Nothing is ever divided by zero, because the parameter is what is being computed. If it helps, convert to parametric form as soon as a zero appears: , , . That form is also what you need for substituting into a plane, so the conversion is rarely wasted.

Whenever the question describes a plane by the line it contains plus one more condition. The family automatically contains that line for every value of the parameter, so the extra condition just fixes the parameter, and the line itself is never computed. The typical conditions are passing through a given point, being perpendicular to another plane, or being parallel to a given line, and each translates into one linear equation in the parameter. The one thing to watch is that the family misses the plane itself, which corresponds to an infinite parameter; if the answer seems not to exist, test whether alone satisfies the condition.

Header Logo