Equation of Line Through Two Points in 3D

medium CBSE JEE-MAIN CBSE 2024 Board Exam 3 min read

Question

Find the equation of the line passing through the points A(1,2,3)A(1, 2, 3) and B(4,6,9)B(4, 6, 9) in symmetric form.


Solution — Step by Step

Subtract coordinates of AA from BB:

ba=(41, 62, 93)=(3, 4, 6)\vec{b} - \vec{a} = (4-1,\ 6-2,\ 9-3) = (3,\ 4,\ 6)

This vector tells us the direction the line “travels” — every step along the line shifts xx by 3, yy by 4, zz by 6.

Use point A(1,2,3)A(1, 2, 3) as the fixed point and (3,4,6)(3, 4, 6) as direction ratios:

x13=y24=z36\frac{x - 1}{3} = \frac{y - 2}{4} = \frac{z - 3}{6}

This is the answer in symmetric form. Any point (x,y,z)(x, y, z) on the line satisfies this equation.

Plug B(4,6,9)B(4, 6, 9):

413=624=936=1\frac{4-1}{3} = \frac{6-2}{4} = \frac{9-3}{6} = 1

All three ratios equal 1, so BB is on the line. Always do this 30-second check in board exams — it costs nothing and saves marks.


Why This Works

The symmetric form is essentially saying: the ratio of displacement from the fixed point to the direction ratio is the same for all three coordinates. That common ratio is the parameter λ\lambda — set each fraction equal to λ\lambda and you get the parametric form.

When λ=0\lambda = 0, you land on AA. When λ=1\lambda = 1, you land on BB. For any real λ\lambda, you land on some point on the line. This connection between symmetric and parametric form is exactly what CBSE asks you to convert between.

The direction ratios (3,4,6)(3, 4, 6) don’t have to be simplified or converted to direction cosines for the equation — direction ratios work perfectly as denominators.


Alternative Method

You can use point BB instead of AA as the fixed point:

x43=y64=z96\frac{x - 4}{3} = \frac{y - 6}{4} = \frac{z - 9}{6}

Both equations represent the same line. This trips up students who think there’s only one correct form. If the denominators (direction ratios) are proportional and the point lies on the line, the equation is valid.

In JEE Main, if two answer options show the line with different fixed points but the same direction ratios, both are correct. Check if the fixed point satisfies the other equation — if yes, they’re the same line.


Common Mistake

Reversing the subtraction. Students sometimes write direction ratios as (14,26,39)=(3,4,6)(1-4, 2-6, 3-9) = (-3, -4, -6). This gives:

x13=y24=z36\frac{x-1}{-3} = \frac{y-2}{-4} = \frac{z-3}{-6}

This is still the same line — just traversed in the opposite direction. But in a board exam, if the expected answer uses (3,4,6)(3, 4, 6), you’ll lose marks for sign errors. Always subtract AA from BB (head minus tail) to match the standard expected form.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next