Q.Find the distance of a point (2,4,−1) from the line 1x+5=4y+3=−9z−6.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Distance From Point To Line
Distance from a Point to a Line
The distance from a point to a line is the shortest distance — the length of the perpendicular dropped from the point onto the line. In 3D we compute it with vectors and the cross product.
Let the line be r=a+λb (a point A with position vector a, direction b), and let P be the given point with position vector p.
The idea
Look at the triangle formed by A, P and the foot of the perpendicular M. The segment AP=p−a is the hypotenuse, and the perpendicular distance d=PM is the side opposite the angle θ between AP and the line:
d=∣AP∣sinθ.
But the cross product already contains sinθ: ∣AP×b∣=∣AP∣∣b∣sinθ. Dividing by ∣b∣ isolates the distance.
d=∣b∣∣(p−a)×b∣
Example
Distance of P(1,2,3) from the line r=(i^+j^)+λ(2i^−j^+2k^).
Here a=(1,1,0), b=(2,−1,2), and AP=p−a=(0,1,3).
AP×b=i^02j^1−1k^32=(2+3)i^−(0−6)j^+(0−2)k^=5i^+6j^−2k^. …
Concept: Distance from a point to a line in 3D — we use the perpendicular distance formula involving the cross product of the direction vector and the vector from a point on the line to the given point.
Step 1: Identify a point on the line. From the symmetric form, let P=(−5,−3,6). The direction vector of the line is d=(1,4,−9).
Step 2: Find the vector from P to the given point Q=(2,4,−1):
PQ=(2−(−5),4−(−3),−1−6)=(7,7,−7).
Step 3: Compute the cross product PQ×d:
PQ×d=i71j74k−7−9=i(7⋅(−9)−(−7)⋅4)−j(7⋅(−9)−(−7)⋅1)+k(7⋅4−7⋅1)
=i(−63+28)−j(−63+7)+k(28−7)=(−35,56,21). …
The distance from a point to a line in 3D is found by projecting the vector from a point on the line to the given point onto the direction vector of the line, then using the Pythagorean theorem. The distance is 7.
Concept and Intuition
The distance from a point to a line in 3D is the length of the perpendicular segment from the point to the line. Unlike in 2D, we can't just use a formula with coordinates — we need vector geometry.
Think of it this way: pick any point A on the line. Draw the vector AP from A to the given point P. This vector has two components relative to the line: one parallel to the line (along its direction) and one perpendicular to it. The perpendicular component is what we want — its length is the distance.
The trick: the parallel component is just the projection of AP onto the direction vector d of the line. Once we subtract that projection from AP, what remains is perpendicular to the line. The magnitude of that remainder is our answer.
Distance from point P to line through A with direction d:
d=∣d∣∣AP×d∣
This cross-product formula is the cleanest way — it directly gives the perpendicular component's magnitude without separately computing the projection.
Step-by-step Solution
1. Identify the given line and point.
The line is 1x+5=4y+3=−9z−6.
From the symmetric form, we read:
- A point on the line: A(−5,−3,6) (set each numerator to zero)
- Direction vector: d=(1,4,−9)
The given point is P(2,4,−1).
2. Form the vector from the point on the line to the given point.
AP=P−A=(2−(−5),4−(−3),−1−6)=(7,7,−7)
3. Compute the cross product AP×d.
We need:
AP×d=i71j74k−7−9
Expand:
- i-component: (7)(−9)−(−7)(4)=−63+28=−35
- j-component: −[(7)(−9)−(−7)(1)]=−[−63+7]=−(−56)=56 (Careful: the j term has a minus sign in the determinant expansion)
- k-component: (7)(4)−(7)(1)=28−7=21
So:
AP×d=(−35,56,21) …
Method: Shortest distance from a point to a line using the cross product
Use this when you only need the perpendicular distance from a point to a line, not the foot.
Steps
Step 1: Extract a point and the direction from the line.
From ax−x0=by−y0=cz−z0, read the on-line point A(x0,y0,z0) and direction d=(a,b,c).
Step 2: Form the join.
Compute AP=p−a from the on-line point to the given point P.
Step 3: Apply the formula.
d=∣d∣∣AP×d∣ …
Common Mistakes
Mistake 1: Forgetting to divide by ∣d∣.
Why it's wrong: ∣AP×d∣ is an area that scales with the length of d; only after dividing by ∣d∣ is it a genuine distance. Correct approach: use d=∣d∣∣AP×d∣ — here 72492=7.
Mistake 2: Sign error on the middle term of the cross product. …
Showing the 12 most recent of 46 on this concept.
- AP EAPCET 2024Set eng-2024-05-19-AN1 markMCQQ.The perpendicular distance from the point (−1,1,0) to the line joining the points (0,2,4) and (3,0,1) is (A) 10 (B) 525 (C) 25 (D) 8
›Reveal solutionSolution
This is the standard 3D point-to-line distance formula using a cross product; the perpendicular distance works out to 25.
Concept and Intuition
The perpendicular distance from a point P to a line through A with direction d equals ∣d∣∣AP×d∣: geometrically, ∣AP×d∣ is the area of the parallelogram spanned by AP and d, and dividing by the base ∣d∣ gives the height, which is exactly the perpendicular distance.
Step-by-Step Solution
- Take A=(0,2,4) as a point on the line and direction d=(3,0,1)−(0,2,4)=(3,−2,−3).
- AP=P−A=(−1,1,0)−(0,2,4)=(−1,−1,−4).
- Compute AP×d: AP×d=((−1)(−3)−(−4)(−2), −[(−1)(−3)−(−4)(3)], (−1)(−2)−(−1)(3)) =(3−8, −(3+12), 2+3)=(−5,−15,5).
- ∣AP×d∣=25+225+25=275=511. …
- AP EAPCET 2026Set eng-2026-05-12-AN1 markMCQQ.The perpendicular distance from the point (1,1,−2) on to the line −1x−1=2y=1z is (A) 1 (B) 23 (C) 5 (D) 21
›Reveal solutionSolution
Using the cross-product formula for point-to-line distance in 3D, the perpendicular distance from (1,1,−2) to the given line is 5.
Concept and Intuition
For a line through point A with direction vector d, the perpendicular distance from an external point P is ∣d∣∣AP×d∣ — the area of the parallelogram spanned by AP and d, divided by the base length ∣d∣, gives the height, which is exactly this perpendicular distance.
Step-by-Step Solution
- The line −1x−1=2y=1z passes through A=(1,0,0) with direction d=(−1,2,1).
- P=(1,1,−2), so AP=P−A=(0,1,−2).
- AP×d=i0−1j12k−21 =i(1⋅1−(−2)⋅2)−j(0⋅1−(−2)(−1))+k(0⋅2−1⋅(−1)) …
- AP EAPCET 2022Set eng-2022-07-08-AN1 markMCQQ.The distance between a point P whose position vector is 5iˉ+jˉ+3kˉ and the line rˉ=(3iˉ+7jˉ+kˉ)+t(jˉ+kˉ) is (A) 3 (B) 4 (C) 5 (D) 6
›Reveal solutionSolution
Use the point-to-line distance formula ∣dˉ∣∣AP×dˉ∣ where A is any point on the line and dˉ its direction vector.
Concept and Intuition
The distance from a point P to a line through A with direction dˉ equals the length of the component of AP perpendicular to the line — computed cleanly via the cross product magnitude divided by ∣dˉ∣.
Step-by-Step Solution
- From rˉ=(3iˉ+7jˉ+kˉ)+t(jˉ+kˉ): A=(3,7,1), dˉ=(0,1,1).
- P=(5,1,3), so AP=P−A=(2,−6,2).
- AP×dˉ=iˉ20jˉ−61kˉ21=iˉ(−6⋅1−2⋅1)−jˉ(2⋅1−2⋅0)+kˉ(2⋅1−(−6)⋅0)=(−8,−2,2). …
- AP EAPCET 2026Set eng-2026-05-15-AN1 markMCQQ.The shortest distance between the lines rˉ=aˉ+tbˉ and rˉ=cˉ+sdˉ when aˉ=iˉ−2jˉ+2kˉ, bˉ=3iˉ−2jˉ−2kˉ, cˉ=6iˉ+2jˉ+2kˉ and dˉ=−4iˉ−kˉ is (A) 9 (B) 763 (C) 237 (D) 35
›Reveal solutionSolution
The shortest distance between two skew lines is the projection of the vector joining a point on each line onto the common perpendicular direction bˉ×dˉ; it evaluates to 763.
Concept and Intuition
Two skew lines each carry a direction vector; their cross product bˉ×dˉ points along the unique direction perpendicular to both — the direction of the shortest connecting segment. Projecting the vector between any two points on the lines onto this direction gives the shortest distance, since all other components of that connecting vector lie within the plane spanned by bˉ,dˉ and contribute nothing to the perpendicular separation.
Step-by-Step Solution
- aˉ=(1,−2,2), bˉ=(3,−2,−2), cˉ=(6,2,2), dˉ=(−4,0,−1).
- cˉ−aˉ=(6−1,2−(−2),2−2)=(5,4,0).
- bˉ×dˉ=((−2)(−1)−(−2)(0), (−2)(−4)−(3)(−1), (3)(0)−(−2)(−4))=(2, 8+3, 0−8)=(2,11,−8).
- ∣bˉ×dˉ∣=22+112+82=4+121+64=189=321.
- (cˉ−aˉ)⋅(bˉ×dˉ)=5(2)+4(11)+0(−8)=10+44=54. …
- AP EAPCET 2025Set eng-2025-05-26-AN1 markMCQQ.The angle made by a line L with positive X-axis measured in the positive direction is 6π and the intercept made by L on Y-axis is negative. If L is at a distance of 5 units from the origin, then the perpendicular distance from the point (1,−3) to the line L is (A) 2 (B) 1 (C) 4 (D) 3
›Reveal solutionSolution
Build the line from its inclination, sign of intercept, and distance from origin, then apply the point-to-line distance formula: the answer is 3.
Concept and Intuition
A line's inclination fixes its slope; combined with the distance from the origin (and the sign of the intercept, which resolves the ambiguity of which parallel line it is), the line's equation is fully determined. From there, perpendicular distance from any point is a direct formula.
Step-by-Step Solution
- Inclination π/6⇒ slope m=tan(π/6)=31. Line: y=3x+c, i.e. x−3y+3c=0.
- Distance from origin =1+3∣3c∣=23∣c∣=5⇒∣c∣=310.
- y-intercept is c, which must be negative, so c=−310.
- Line: x−3y−10=0 (multiplying through by 3 and simplifying, the constant term becomes −10). Check: distance from origin =1+310=5. ✓. …
- AP EAPCET 2021Set eng-2021-08-25-AN1 markMCQQ.The perpendicular distance from origin to the plane x+2y−2z+5=0 equals ________ units. (A) 53 (B) 35 (C) 95 (D) 5
›Reveal solutionSolution
Direct application of the point-to-plane distance formula. Answer: 5/3.
Concept and Intuition
The perpendicular distance from a point (x0,y0,z0) to the plane ax+by+cz+d=0 is a2+b2+c2∣ax0+by0+cz0+d∣.
Step-by-Step Solution
- Here a=1,b=2,c=−2,d=5, and the point is the origin (0,0,0).
- Distance =12+22+(−2)2∣1(0)+2(0)−2(0)+5∣=1+4+45=35.
Common Mistakes …
- AP EAPCET 2025Set eng-2025-05-26-FN1 markMCQQ.The points (2,3) and (−4,−34) lie on the opposite sides of the line L≡5x−6y+k=0 and k is an integer. If the points (1,2) and (4,5) lie on the same side of the line L=0, then the perpendicular distance from origin to the line L=0 is (A) 617 (B) 619 (C) 6110 (D) 6111
›Reveal solutionSolution
This tests the "same side / opposite side of a line" sign test (plug points into ax+by+c) combined with an integer constraint, then computing perpendicular distance from the origin. Answer: 6111.
Concept and Intuition
For a line L≡ax+by+c=0, two points lie on opposite sides exactly when substituting their coordinates into ax+by+c gives values of opposite sign (product negative); they lie on the same side when the product is positive. Using both given point-pairs narrows k down to a single integer, after which the perpendicular distance from a point to a line is the standard formula a2+b2∣ax0+by0+c∣.
Step-by-Step Solution
- Substitute (2,3): 5(2)−6(3)+k=10−18+k=k−8.
- Substitute (−4,−34): 5(−4)−6(−34)+k=−20+8+k=k−12.
- Opposite sides ⇒(k−8)(k−12)<0⇒8<k<12, so (with k an integer) k∈{9,10,11}.
- Substitute (1,2): 5(1)−6(2)+k=5−12+k=k−7.
- Substitute (4,5): 5(4)−6(5)+k=20−30+k=k−10.
- Same side ⇒(k−7)(k−10)>0⇒k<7 or k>10. …
- AP EAPCET 2026Set eng-2026-05-18-AN1 markMCQQ.If M is the foot of the perpendicular drawn from P(1,2,−1) to the plane passing through the point A(3,−2,1) and perpendicular to the vector 4iˉ+7jˉ−4kˉ, then the length of PM is (A) 932 (B) 928 (C) 526 (D) 522
›Reveal solutionSolution
PM is simply the perpendicular distance from P to the given plane, computed via the point-to-plane distance formula: 928.
Concept and Intuition
The foot of the perpendicular from a point to a plane is the closest point on the plane to that point, and the distance from the point to that foot equals the perpendicular distance from the point to the plane — no need to actually find M's coordinates.
Step-by-Step Solution
- The plane passes through A(3,−2,1) and has normal vector nˉ=(4,7,−4). Its equation: 4(x−3)+7(y+2)−4(z−1)=0.
- Expand: 4x−12+7y+14−4z+4=0⇒4x+7y−4z+6=0.
- Distance from P(1,2,−1) to this plane: d=42+72+(−4)2∣4(1)+7(2)−4(−1)+6∣=16+49+16∣4+14+4+6∣=8128=928. …
- AP EAPCET 2021Set eng-2021-08-19-AN1 markMCQQ.Let L1 (resp. L2) be the line passing through 2i−k (resp. 2i+j−3k) and parallel to 3i−j+2k (resp. i−2j+k). Then the shortest distance between the lines L1 and L2 is equal to (A) 3510 (B) 358 (C) 3511 (D) 359
›Reveal solutionSolution
Applying the standard skew-line shortest-distance formula with the given points and direction vectors gives 359.
Concept and Intuition
The shortest distance between two skew lines is the projection of the vector joining a point on each line onto the common perpendicular direction, given by the cross product of the two direction vectors.
Step-by-Step Solution
- L1: point P1=(2,0,−1), direction d1=(3,−1,2).
- L2: point P2=(2,1,−3), direction d2=(1,−2,1).
- P2−P1=(0,1,−2).
- d1×d2=i^31j^−1−2k^21=i^[(−1)(1)−(2)(−2)]−j^[(3)(1)−(2)(1)]+k^[(3)(−2)−(−1)(1)]=(3,−1,−5).
- ∣d1×d2∣=9+1+25=35. …
- AP EAPCET 2025Set eng-2025-05-22-AN1 markMCQQ.For a positive real number p, if the perpendicular distance from a point −iˉ+pjˉ−3kˉ to the plane rˉ⋅(2iˉ−3jˉ+6kˉ)=7 is 6 units, then p= (A) 54 (B) 65 (C) 6 (D) 5
›Reveal solutionSolution
Applying the point-to-plane distance formula and solving for the positive root gives p=5.
Concept and Intuition
The perpendicular distance from a point (x0,y0,z0) to the plane ax+by+cz=d is a2+b2+c2∣ax0+by0+cz0−d∣ — a direct plug-in once the plane is written in Cartesian form.
Step-by-Step Solution
- The plane rˉ⋅(2iˉ−3jˉ+6kˉ)=7 is 2x−3y+6z=7, with normal magnitude 4+9+36=49=7.
- Point: (−1, p, −3).
- Distance =7∣2(−1)−3(p)+6(−3)−7∣=7∣−2−3p−18−7∣=7∣−27−3p∣.
- Set equal to 6: ∣−27−3p∣=42. Since p>0, −27−3p<0, so 27+3p=42⇒3p=15⇒p=5. …
- AP EAPCET 2021Set eng-2021-08-23-AN1 markMCQQ.The distance between the lines 3x+4y=9 and 6x+8y=15 is (A) 23 (B) 103 (C) 6 (D) 53
›Reveal solutionSolution
This tests the distance-between-parallel-lines formula, after first scaling both equations to have identical x,y coefficients. The answer is 103.
Concept and Intuition
Two lines ax+by=c1 and ax+by=c2 (same a,b) are parallel, and the distance between them is a2+b2∣c1−c2∣. The given lines must first be scaled to share the same coefficients of x and y.
Step-by-Step Solution
- Line 1: 3x+4y=9.
- Line 2: 6x+8y=15. Divide by 2: 3x+4y=7.5.
- Now both lines have the form 3x+4y=c with c1=9, c2=7.5.
- Distance =32+42∣c1−c2∣=5∣9−7.5∣=51.5=0.3=103. …
- AP EAPCET 2024Set eng-2024-05-21-AN1 markMCQQ.P is a point on x+y+5=0, whose perpendicular distance from 2x+3y+3=0 is 13, then the coordinates of P are: (A) (20,−25) (B) (1,−6) (C) (−6,1) (D) (13,−5−13)
›Reveal solutionSolution
Parametrize the point on the given line, apply the point-to-line distance formula, and solve for the parameter.
Concept and Intuition
Any point on x+y+5=0 can be written as (t,−5−t). Setting its perpendicular distance to the second line equal to the given value produces a linear equation in t (inside an absolute value), which we solve directly.
Step-by-Step Solution
- Let P=(t,−5−t) since y=−5−x on the line x+y+5=0.
- Distance from P to 2x+3y+3=0:
22+32∣2t+3(−5−t)+3∣=13∣2t−15−3t+3∣=13∣−t−12∣.
- Set equal to 13: ∣t+12∣=13.
- So t+12=13⇒t=1, or t+12=−13⇒t=−25. …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.