NVAMediumJEE 2026Equation of Line in 3D

JEE Mathematics 2026 Question with Solution

If the image of the point P(a,2,a)P(a, 2, a) in the line x2=y+a1=z1\frac{x}{2} = \frac{y+a}{1} = \frac{z}{1} is QQ and the image of QQ in the line x2b2=ya1=z+2b5\frac{x-2b}{2} = \frac{y-a}{1} = \frac{z+2b}{-5} is PP, then a+ba + b is equal to _____.

Answer

Correct answer:3

Step-by-step solution

Standard Method

Given: The image of P(a,2,a)P(a,2,a) in line L1:x2=y+a1=z1L_1: \frac{x}{2}=\frac{y+a}{1}=\frac{z}{1} is QQ, and the image of QQ in line L2:x2b2=ya1=z+2b5L_2: \frac{x-2b}{2}=\frac{y-a}{1}=\frac{z+2b}{-5} is PP.

Find: The value of a+ba+b.

If one point is the image of the other in a line, that line is the perpendicular bisector of the segment joining the two points. Therefore, both lines are perpendicular bisectors of PQPQ, so they must intersect at the midpoint MM of PQPQ.

A general point on L1L_1 is

M1=(2λ,λa,λ)M_1=(2\lambda,\lambda-a,\lambda)

and a general point on L2L_2 is

M2=(2μ+2b,μ+a,5μ2b).M_2=(2\mu+2b,\mu+a,-5\mu-2b).

Since these represent the same intersection point, equate coordinates:

2λ=2μ+2b    λ=μ+b2\lambda=2\mu+2b \implies \lambda=\mu+b λa=μ+a    λ=μ+2a\lambda-a=\mu+a \implies \lambda=\mu+2a

Comparing these gives

b=2a.b=2a.

Now equate the zz-coordinates:

λ=5μ2b.\lambda=-5\mu-2b.

Using λ=μ+2a\lambda=\mu+2a and b=2ab=2a,

μ+2a=5μ4a\mu+2a=-5\mu-4a 6μ=6a    μ=a.6\mu=-6a \implies \mu=-a.

Hence,

λ=μ+2a=a.\lambda=\mu+2a=a.

So the intersection point is

M=(2a,0,a).M=(2a,0,a).

Since MM is the midpoint and L1L_1 is the perpendicular bisector, vector MP\overrightarrow{MP} is perpendicular to the direction vector of L1L_1.

Now

P=(a,2,a),M=(2a,0,a)P=(a,2,a), \quad M=(2a,0,a)

so

MP=PM=(a,2,0).\overrightarrow{MP}=P-M=(-a,2,0).

The direction vector of L1L_1 is

d1=(2,1,1).\vec d_1=(2,1,1).

Using perpendicularity,

MPd1=0\overrightarrow{MP}\cdot \vec d_1=0 (a,2,0)(2,1,1)=0(-a,2,0)\cdot(2,1,1)=0 2a+2=0    a=1.-2a+2=0 \implies a=1.

Therefore,

b=2a=2.b=2a=2.

Hence,

a+b=1+2=3.a+b=1+2=3.

Therefore, the required value is 33. The solution's lists 1414, but the extracted working clearly gives 33.

Midpoint and perpendicular bisector idea

Given: Both reflections connect the same pair of points PP and QQ.

Find: a+ba+b.

The key idea is that if QQ is the reflection of PP in a line, then that line is the perpendicular bisector of PQPQ. Since both given lines perform reflection between the same two points, both must pass through the midpoint of PQPQ.

So first find the intersection point of the two lines.

From

x2=y+a1=z1=λ,\frac{x}{2}=\frac{y+a}{1}=\frac{z}{1}=\lambda,

we get

x=2λ,y=λa,z=λ.x=2\lambda, \quad y=\lambda-a, \quad z=\lambda.

From

x2b2=ya1=z+2b5=μ,\frac{x-2b}{2}=\frac{y-a}{1}=\frac{z+2b}{-5}=\mu,

we get

x=2μ+2b,y=μ+a,z=5μ2b.x=2\mu+2b, \quad y=\mu+a, \quad z=-5\mu-2b.

At the intersection,

2λ=2μ+2b,2\lambda=2\mu+2b, λa=μ+a,\lambda-a=\mu+a, λ=5μ2b.\lambda=-5\mu-2b.

From the first two equations,

λ=μ+b,\lambda=\mu+b, λ=μ+2a.\lambda=\mu+2a.

Hence,

b=2a.b=2a.

Substitute this into the third equation:

μ+2a=5μ4a\mu+2a=-5\mu-4a 6μ=6a6\mu=-6a μ=a.\mu=-a.

Then

λ=μ+2a=a.\lambda=\mu+2a=a.

So the midpoint is

M=(2a,0,a).M=(2a,0,a).

Now use the fact that PMPM must be perpendicular to L1L_1.

We have

MP=(a,2,0)\overrightarrow{MP}=(-a,2,0)

and direction vector of L1L_1 is

(2,1,1).(2,1,1).

Thus,

(a,2,0)(2,1,1)=0(-a,2,0)\cdot(2,1,1)=0 2a+2=0-2a+2=0 a=1.a=1.

Then

b=2.b=2.

Therefore,

a+b=3.a+b=3.

So the correct numerical answer from the shown working is 33.

Common mistakes

  • Assuming the two lines can be treated independently is incorrect. Both reflections involve the same pair of points PP and QQ, so both lines must be perpendicular bisectors of the same segment PQPQ and hence pass through the same midpoint.

  • Finding the intersection of the lines but not using the perpendicularity condition is incomplete. After obtaining the midpoint MM, you must also use that MP\overrightarrow{MP} is perpendicular to the direction vector of the reflecting line.

  • A common algebra error is writing the second line incorrectly from symmetric form. From x2b2=ya1=z+2b5=μ\frac{x-2b}{2}=\frac{y-a}{1}=\frac{z+2b}{-5}=\mu, the coordinates are x=2μ+2bx=2\mu+2b, y=μ+ay=\mu+a, and z=5μ2bz=-5\mu-2b. Any sign mistake changes the result.

Practice more Equation of Line in 3D questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions