WishWasTraining Academy
NDA & Naval Academy entrance exam school
โ† home
Chapter M4-6 ยท 6 of 7 in Analytical Geometry of Two and Three Dimensions ยท 16 min read

Line and plane in three dimensions

40 real NDA questions of this kind in the 19 papers of 2017 to 2026.

Try three questions free โ†“
This chapter has a video lessonWatch it, practise with a drill and keep your record, all with a free account. No fee, no card.

Why this chapter matters. Lines and planes in space drew 16 questions in the 7 papers from 2023 to 2026, two or three in almost every paper. The questions repeat a few patterns: write the plane through a point with a given normal, find where a line meets a plane, find the direction of the line in which two planes meet, test whether a line is parallel to a plane. Six real questions are solved in section 7.

What you will be able to do

  • Write the equation of a line in space and read its direction ratios from the equation.
  • Write the equation of a plane from a point and a normal, or from its intercepts, and read the normal from the equation.
  • Find angles between lines and planes, and test for parallel and perpendicular.
  • Find the distance of a point from a plane, the point where a line meets a plane, and the direction of the line where two planes meet.

Before you start you should know: direction ratios, direction cosines and the perpendicular condition โ€‹a_1 a_2 + b_1 b_2 + c_1 c_2 = 0โ€‹ (Chapter M4-5), and the distance of a point from a line in the plane (Chapter M4-2).

1. The equation of a line

A line in space is fixed by one point on it and its direction. The line through โ€‹(x_1, y_1, z_1)โ€‹ with direction ratios โ€‹a, b, cโ€‹ is

\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c}

Call the common value of the three fractions โ€‹tโ€‹. Then every point of the line can be written as

(x_1 + at, \; y_1 + bt, \; z_1 + ct)

This "general point" is the most useful tool of the chapter. For the line through โ€‹(1, 2, 3)โ€‹ with direction ratios โ€‹2, -1, 4โ€‹, the value โ€‹t = 1โ€‹ gives the point โ€‹(3, 1, 7)โ€‹.

Three axes and a line through a point A with direction ratios a, b, c; P is a general point of the line

For the line through two points, first subtract the coordinates to get the direction ratios (Chapter M4-5).

Reading the direction ratios. The equation must be in the form above, with โ€‹xโ€‹, โ€‹yโ€‹ and โ€‹zโ€‹ each having coefficient 1 in the numerator. The line โ€‹2x = 3y = -zโ€‹ is not in that form. Write it as โ€‹\dfrac{x}{1/2} = \dfrac{y}{1/3} = \dfrac{z}{-1}โ€‹. The direction ratios are โ€‹\dfrac{1}{2}, \dfrac{1}{3}, -1โ€‹, or, multiplying by 6, โ€‹3, 2, -6โ€‹.

2. The equation of a plane

The picture. A plane is a flat surface that goes on for ever, like a table top with no edges. Stand a pencil upright on the table. The pencil is at right angles to every line drawn on the table. Its direction is called the normal to the plane. A plane is fixed by one point on it and its normal.

A plane drawn as a flat sheet, with a point A on it, the normal standing at right angles to the sheet at A, and another point P of the plane; AP is at right angles to the normal

Every plane has an equation of the first degree:

ax + by + cz + d = 0

The coefficients โ€‹a, b, cโ€‹ are the direction ratios of the normal. So the normal to โ€‹2x - 3y + 6z + 4 = 0โ€‹ has direction ratios โ€‹2, -3, 6โ€‹.

Form Equation Use it when you know
Point and normal โ€‹a(x - x_1) + b(y - y_1) + c(z - z_1) = 0โ€‹ a point โ€‹(x_1, y_1, z_1)โ€‹ on the plane and the normal โ€‹a, b, cโ€‹
Intercept โ€‹\dfrac{x}{p} + \dfrac{y}{q} + \dfrac{z}{r} = 1โ€‹ the cuts โ€‹pโ€‹, โ€‹qโ€‹, โ€‹rโ€‹ on the three axes
General โ€‹ax + by + cz + d = 0โ€‹ every plane can be written this way

For example, the plane through โ€‹(1, 2, 3)โ€‹ with normal โ€‹2, -1, 2โ€‹ is โ€‹2(x - 1) - (y - 2) + 2(z - 3) = 0โ€‹, that is โ€‹2x - y + 2z = 6โ€‹.

A quicker way: write โ€‹2x - y + 2z = kโ€‹ and put in the point to get โ€‹k = 2 - 2 + 6 = 6โ€‹.

3. Angles, parallel and perpendicular

For two directions โ€‹a_1, b_1, c_1โ€‹ and โ€‹a_2, b_2, c_2โ€‹, Chapter M4-5 gave

\cos\theta = \frac{|a_1 a_2 + b_1 b_2 + c_1 c_2|}{\sqrt{a_1^2 + b_1^2 + c_1^2}\,\sqrt{a_2^2 + b_2^2 + c_2^2}}

A plane has no direction of its own; its normal speaks for it. That gives three cases.

Between How to find the angle Parallel when Perpendicular when
Two lines Use the formula with their direction ratios the direction ratios are proportional โ€‹a_1 a_2 + b_1 b_2 + c_1 c_2 = 0โ€‹
Two planes Use the formula with their normals the normals are proportional โ€‹a_1 a_2 + b_1 b_2 + c_1 c_2 = 0โ€‹
A line and a plane Use the formula with the line's direction and the plane's normal, but the right side is โ€‹\sin\thetaโ€‹, not โ€‹\cos\thetaโ€‹ direction and normal give sum of products โ€‹= 0โ€‹ direction and normal are proportional

Read the last row with care. A line parallel to a plane is perpendicular to the normal. A line perpendicular to a plane runs along the normal. Think of the table: a pencil lying on the table is at right angles to the upright pencil.

Three small pictures of a plane with its normal: a line parallel to the plane, a line perpendicular to the plane, and a line meeting the plane at an angle theta

4. Distances

The perpendicular distance of the point โ€‹(x_1, y_1, z_1)โ€‹ from the plane โ€‹ax + by + cz + d = 0โ€‹ is

\frac{|a x_1 + b y_1 + c z_1 + d|}{\sqrt{a^2 + b^2 + c^2}}

It is the formula of Chapter M4-2 with one more term. The distance between the parallel planes โ€‹ax + by + cz + d_1 = 0โ€‹ and โ€‹ax + by + cz + d_2 = 0โ€‹ is โ€‹\dfrac{|d_1 - d_2|}{\sqrt{a^2 + b^2 + c^2}}โ€‹.

5. Where things meet

A line and a plane. Put the general point โ€‹(x_1 + at, y_1 + bt, z_1 + ct)โ€‹ into the equation of the plane, solve for โ€‹tโ€‹, and put โ€‹tโ€‹ back.

Two planes. Two planes that are not parallel meet in a line. That line lies in both planes, so it is perpendicular to both normals. If the normals are โ€‹a_1, b_1, c_1โ€‹ and โ€‹a_2, b_2, c_2โ€‹, the direction ratios of the line are

b_1 c_2 - b_2 c_1, \qquad c_1 a_2 - c_2 a_1, \qquad a_1 b_2 - a_2 b_1

For the planes โ€‹x + y + z = 1โ€‹ and โ€‹x - y + 2z = 3โ€‹ the normals are โ€‹1, 1, 1โ€‹ and โ€‹1, -1, 2โ€‹. The direction ratios are โ€‹1 \times 2 - (-1) \times 1 = 3โ€‹, then โ€‹1 \times 1 - 2 \times 1 = -1โ€‹, then โ€‹1 \times (-1) - 1 \times 1 = -2โ€‹. Check: โ€‹3 - 1 - 2 = 0โ€‹ and โ€‹3 + 1 - 4 = 0โ€‹, so โ€‹3, -1, -2โ€‹ is perpendicular to both normals.

(In Chapter M7-3 you will see that this is the cross product of the two normals.)

Two planes crossing each other; the line where they meet lies in both planes and is at right angles to both normals

6. Worked examples

Example 1. Find the equation of the line through โ€‹A(1, -1, 2)โ€‹ and โ€‹B(3, 2, 8)โ€‹.

Direction ratios: โ€‹3 - 1, \; 2 - (-1), \; 8 - 2โ€‹, that is โ€‹2, 3, 6โ€‹. The line is โ€‹\dfrac{x - 1}{2} = \dfrac{y + 1}{3} = \dfrac{z - 2}{6}โ€‹.

Example 2. Find the plane through โ€‹(2, 1, -1)โ€‹ that is perpendicular to a line with direction ratios โ€‹1, -2, 3โ€‹.

The line is the normal, so the plane is โ€‹x - 2y + 3z = kโ€‹. Put in the point: โ€‹k = 2 - 2 - 3 = -3โ€‹. The plane is โ€‹x - 2y + 3z + 3 = 0โ€‹.

Example 3. Find the angle between the planes โ€‹2x - y + z = 6โ€‹ and โ€‹x + y + 2z = 7โ€‹.

The normals are โ€‹2, -1, 1โ€‹ and โ€‹1, 1, 2โ€‹. Then โ€‹\cos\theta = \dfrac{|2 - 1 + 2|}{\sqrt{6}\,\sqrt{6}} = \dfrac{3}{6} = \dfrac{1}{2}โ€‹, so โ€‹\theta = 60^\circโ€‹.

Example 4. Find the distance of the point โ€‹(2, 3, -5)โ€‹ from the plane โ€‹x + 2y - 2z = 9โ€‹.

Write the plane as โ€‹x + 2y - 2z - 9 = 0โ€‹. Distance โ€‹= \dfrac{|2 + 6 + 10 - 9|}{\sqrt{1 + 4 + 4}} = \dfrac{9}{3} = 3โ€‹.

Example 5. Where does the line of Example 1 meet the plane โ€‹x + y + z = 13โ€‹?

The general point of the line is โ€‹(1 + 2t, \; -1 + 3t, \; 2 + 6t)โ€‹. Put it into the plane: โ€‹(1 + 2t) + (-1 + 3t) + (2 + 6t) = 13โ€‹, so โ€‹2 + 11t = 13โ€‹ and โ€‹t = 1โ€‹. The point is โ€‹(3, 2, 8)โ€‹.

7. From the real papers

Try each question for 75 seconds before reading the solution.

NDA I 2025, Q65. What is the equation of the plane passing through the point โ€‹(1, 1, 1)โ€‹ and perpendicular to the line whose direction ratios are โ€‹\langle 3, 2, 1 \rangleโ€‹?

(a) โ€‹x + 2y + 3z = 6โ€‹โ€ƒโ€ƒ(b) โ€‹3x + 2y + z = 6โ€‹โ€ƒโ€ƒ(c) โ€‹x + y + z = 3โ€‹โ€ƒโ€ƒ(d) โ€‹3x + 2y + z = 0โ€‹

Solution. The line is the normal, so the plane is โ€‹3x + 2y + z = kโ€‹. The point โ€‹(1, 1, 1)โ€‹ gives โ€‹k = 6โ€‹. Answer (b).

NDA I 2024, Q56. If โ€‹pโ€‹ is the perpendicular distance from origin to the plane passing through โ€‹(1, 0, 0)โ€‹, โ€‹(0, 1, 0)โ€‹ and โ€‹(0, 0, 1)โ€‹, then what is โ€‹3p^2โ€‹ equal to?

(a) โ€‹4โ€‹โ€ƒโ€ƒ(b) โ€‹3โ€‹โ€ƒโ€ƒ(c) โ€‹2โ€‹โ€ƒโ€ƒ(d) โ€‹1โ€‹

Solution. The plane cuts each axis at 1, so by the intercept form it is โ€‹x + y + z = 1โ€‹. The distance of the origin from โ€‹x + y + z - 1 = 0โ€‹ is โ€‹p = \dfrac{|-1|}{\sqrt{3}} = \dfrac{1}{\sqrt{3}}โ€‹. So โ€‹3p^2 = 1โ€‹. Answer (d).

The plane x + y + z = 1 cutting the three axes at 1, drawn as a triangle, with the perpendicular p from the origin to the plane

NDA II 2023, Q98. What is the angle between the lines โ€‹2x = 3y = -zโ€‹ and โ€‹6x = -y = -4zโ€‹?

(a) โ€‹0^\circโ€‹โ€ƒโ€ƒ(b) โ€‹30^\circโ€‹โ€ƒโ€ƒ(c) โ€‹60^\circโ€‹โ€ƒโ€ƒ(d) โ€‹90^\circโ€‹

Solution. The first line has direction ratios โ€‹3, 2, -6โ€‹ (section 1). For the second, divide โ€‹6x = -y = -4zโ€‹ by 12: โ€‹\dfrac{x}{2} = \dfrac{y}{-12} = \dfrac{z}{-3}โ€‹, direction ratios โ€‹2, -12, -3โ€‹. Sum of products: โ€‹6 - 24 + 18 = 0โ€‹. The lines are perpendicular. Answer (d).

NDA I 2024, Q55. A line through โ€‹(1, -1, 2)โ€‹ with direction ratios โ€‹< 3, 2, 2 >โ€‹ meets the plane โ€‹x + 2y + 3z = 18โ€‹. What is the point of intersection of line and plane?

(a) โ€‹(4, 4, 1)โ€‹โ€ƒโ€ƒ(b) โ€‹(2, 4, 1)โ€‹โ€ƒโ€ƒ(c) โ€‹(4, 1, 4)โ€‹โ€ƒโ€ƒ(d) โ€‹(3, 4, 7)โ€‹

Solution. The general point is โ€‹(1 + 3t, \; -1 + 2t, \; 2 + 2t)โ€‹. In the plane: โ€‹(1 + 3t) + 2(-1 + 2t) + 3(2 + 2t) = 18โ€‹, so โ€‹5 + 13t = 18โ€‹ and โ€‹t = 1โ€‹. The point is โ€‹(4, 1, 4)โ€‹. Answer (c).

NDA I 2026, Q56. A line โ€‹Lโ€‹ passing through the point โ€‹(-1, 2, -3)โ€‹ is perpendicular to the plane โ€‹Pโ€‹ given by โ€‹2x + 3y + z + 5 = 0โ€‹. What are the direction ratios of a line โ€‹Mโ€‹ parallel to the plane โ€‹Pโ€‹?

(a) โ€‹\langle -3, 2, 1 \rangleโ€‹โ€ƒโ€ƒ(b) โ€‹\langle 3, 2, -6 \rangleโ€‹โ€ƒโ€ƒ(c) โ€‹\langle 1, 3, 2 \rangleโ€‹โ€ƒโ€ƒ(d) โ€‹\langle 2, 2, -10 \rangleโ€‹

Solution. A line parallel to a plane is perpendicular to its normal โ€‹2, 3, 1โ€‹. Test each option with the sum of products: (a) โ€‹-6 + 6 + 1 = 1โ€‹; (b) โ€‹6 + 6 - 6 = 6โ€‹; (c) โ€‹2 + 9 + 2 = 13โ€‹; (d) โ€‹4 + 6 - 10 = 0โ€‹. Only (d) gives zero. Answer (d).

NDA II 2025, Q51. A plane โ€‹Pโ€‹ is parallel to the line having direction ratios โ€‹\langle 1, 3, 2 \rangleโ€‹ and contains the line of intersection of the planes โ€‹6x + 4y - 5z = 2โ€‹ and โ€‹x - 2y + 3z = 0โ€‹. Which of the following are the direction ratios of the line of intersection of the given planes?

(a) โ€‹\langle 2, 23, 16 \rangleโ€‹โ€ƒโ€ƒ(b) โ€‹\langle 2, -23, -16 \rangleโ€‹โ€ƒโ€ƒ(c) โ€‹\langle 2, 3, 2 \rangleโ€‹โ€ƒโ€ƒ(d) โ€‹\langle -1, 3, -2 \rangleโ€‹

Solution. The normals are โ€‹6, 4, -5โ€‹ and โ€‹1, -2, 3โ€‹. By the rule of section 5 the direction ratios are โ€‹4 \times 3 - (-2)(-5) = 2โ€‹, then โ€‹(-5) \times 1 - 3 \times 6 = -23โ€‹, then โ€‹6 \times (-2) - 1 \times 4 = -16โ€‹. Check with the first normal: โ€‹12 - 92 + 80 = 0โ€‹. Answer (b).

Notice how often the first step is simply "read the normal from the equation of the plane".

8. Mistakes that cost marks

  1. Parallel and perpendicular exchanged for a line and a plane. Line parallel to the plane: sum of products with the normal is zero. Line perpendicular to the plane: direction ratios proportional to the normal. Students often use the two-lines rule and get it the wrong way round.
  2. Cosine used for a line and a plane. The formula with the line's direction and the plane's normal gives โ€‹\sin\thetaโ€‹ for the angle between the line and the plane.
  3. Reading direction ratios from an equation that is not in standard form. โ€‹2x = 3y = -zโ€‹ has direction ratios โ€‹3, 2, -6โ€‹, not โ€‹2, 3, -1โ€‹. Also, โ€‹\dfrac{1 - x}{2}โ€‹ must be rewritten as โ€‹\dfrac{x - 1}{-2}โ€‹.
  4. Leaving out the constant in the distance formula. For โ€‹x + 2y - 2z = 9โ€‹, move the 9 to the left first.

9. Quick check

Do these without help. Answers are at the end.

  1. Write the direction ratios of the line โ€‹\dfrac{x - 2}{3} = \dfrac{y + 1}{-2} = \dfrac{z}{6}โ€‹ and one point on it.
  2. Find the equation of the plane that cuts the axes at 2, 3 and 6.
  3. Find the distance of the origin from the plane โ€‹2x - 3y + 6z = 14โ€‹.
  4. For what value of โ€‹kโ€‹ is a line with direction ratios โ€‹1, k, 2โ€‹ parallel to the plane โ€‹2x + y - 3z = 5โ€‹?
  5. Find the distance between the planes โ€‹x + 2y + 2z = 3โ€‹ and โ€‹x + 2y + 2z = 12โ€‹.

10. Read and watch more, free

What Where Language
Textbook, the line in space NCERT Class 12 Mathematics, Chapter 11 Three Dimensional Geometry ยท Hindi edition. The present edition covers lines only, not planes English, Hindi
Self-study notes, the plane NIOS Mathematics, Lesson 35 Plane ยท Hindi edition English, Hindi
Self-study notes, the line NIOS Mathematics, Lesson 36 Straight Line ยท Hindi edition English, Hindi
Textbook, university style OpenStax Calculus Volume 3, section 2.5 Equations of Lines and Planes in Space English
Video, three-dimensional geometry for NDA Defence Wallah: 3D for NDA 2 2026 (one class, about 5 hours 40 minutes) Hinglish
Video, another class for NDA Chandigarh Career Group: NDA Maths one shots (Class 6, "Three dimensional geometry", about 6 hours) Hinglish
Video, in depth (harder than NDA needs) Mohit Tyagi: Vector and Three Dimensional Geometry (12 lectures) Hinglish
Past questions with answers ExamSIDE: Three Dimensional Geometry English

The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.

Answers to the quick check

  1. Direction ratios โ€‹3, -2, 6โ€‹. One point is โ€‹(2, -1, 0)โ€‹.
  2. โ€‹\dfrac{x}{2} + \dfrac{y}{3} + \dfrac{z}{6} = 1โ€‹. Multiply by 6: โ€‹3x + 2y + z = 6โ€‹.
  3. โ€‹\dfrac{|-14|}{\sqrt{4 + 9 + 36}} = \dfrac{14}{7} = 2โ€‹.
  4. The line must be perpendicular to the normal โ€‹2, 1, -3โ€‹: โ€‹2 + k - 6 = 0โ€‹, so โ€‹k = 4โ€‹.
  5. โ€‹\dfrac{|3 - 12|}{\sqrt{1 + 4 + 4}} = \dfrac{9}{3} = 3โ€‹.

Next chapter: The sphere.

Free ยท no sign-up

Try three questions on this chapter

Exam-pattern questions from this chapter's drill. Pick an answer for each, then check.

  1. Question 1 of 3
    For what value of โ€‹kโ€‹ is a line with direction ratios โ€‹\langle 2, k, -1 \rangleโ€‹ parallel to the plane โ€‹3x - y + 4z = 2โ€‹?
  2. Question 2 of 3
    Consider the plane โ€‹2x + 3y + 6z = 21โ€‹ and the following statements: I. Its perpendicular distance from the origin is โ€‹\tfrac{21}{11}โ€‹. II. Its intercepts on the x-, y- and z-axes are โ€‹\tfrac{21}{2}โ€‹, โ€‹7โ€‹ and โ€‹\tfrac{7}{2}โ€‹ respectively. Which of the statements given above is/are correct?
  3. Question 3 of 3
    What are the direction ratios of the line in which the planes โ€‹2x + y - z = 3โ€‹ and โ€‹x - y + 2z = 1โ€‹ meet?
Free sign-up

You have read the chapter. Now make it stick.

A free account adds the video lesson, a drill of ten questions on this chapter marked like the exam, the timed mock papers, a study plan to your exam date and your own record of what you have done. No fee, no card.

Past questions quoted are from the official UPSC paper named in the text; the explanations are WishWas's own and have been checked against the official key. The links under โ€œRead and watch moreโ€ go to free material on other sites; nothing is copied.