Q.Find the distance between the points P(1,−3,4) and Q(−4,1,2).
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^.
Its magnitude is 25+36+4=65, and ∣b∣=4+1+4=3, so
d=365.
b must be the line's direction vector, not a point on the line. And use AP=p−a where A is any point genuinely on the line.
Finding the shortest distance from a point to a line using the cross product is a standard, frequently tested problem in the NCERT Class 12 Three Dimensional Geometry chapter, appearing in CBSE boards, JEE Main and various state CETs. "Distance of a point from a line vector form" is a common search, and this same cross-product technique reappears later when finding the distance between two skew lines.
The distance between two points in three-dimensional space is found using the natural extension of the Pythagorean theorem to 3D.
For points P(x1,y1,z1) and Q(x2,y2,z2), the distance formula is:
d=(x2−x1)2+(y2−y1)2+(z2−z1)2
Substituting P(1,−3,4) and Q(−4,1,2):
d=(−4−1)2+(1−(−3))2+(2−4)2
d=(−5)2+(4)2+(−2)2=25+16+4=45
Simplifying: 45=9×5=35.
The distance between the points is 35 units.
The distance between two points in three-dimensional space is found using the natural extension of the Pythagorean theorem to 3D. For P(1,−3,4) and Q(−4,1,2), the distance is 35 units.
Why the 3D distance formula works
When you want to find the distance between two points in space, you're really asking: how long is the straight line segment connecting them? In two dimensions, the Pythagorean theorem gives us d=(Δx)2+(Δy)2. In three dimensions, we simply add one more squared term for the z-coordinate difference.
Think of it this way: imagine a rectangular box where P and Q are at opposite corners. The distance between them is the diagonal of this box. The edges of the box have lengths ∣Δx∣, ∣Δy∣, and ∣Δz∣. By applying the Pythagorean theorem twice—first in the xy-plane, then extending to include the z-direction—we get the 3D distance formula.
d=(x2−x1)2+(y2−y1)2+(z2−z1)2
Step-by-step calculation
-
Identify the coordinates.
We have P(1,−3,4) and Q(−4,1,2). Label them as (x1,y1,z1)=(1,−3,4) and (x2,y2,z2)=(−4,1,2).
-
Find the differences in each coordinate.
Δx=x2−x1=−4−1=−5
Δy=y2−y1=1−(−3)=1+3=4
Δz=z2−z1=2−4=−2
- Square each difference.
(Δx)2=(−5)2=25
(Δy)2=42=16
(Δz)2=(−2)2=4
- Sum the squared differences.
(Δx)2+(Δy)2+(Δz)2=25+16+4=45
- Take the square root.
d=45=9×5=35
Always simplify the square root at the end. Here, 45=9⋅5=35 is the simplest radical form, which is what most exams expect.
The distance between P(1,−3,4) and Q(−4,1,2) is 35 units.
Showing the 12 most recent of 16 on this concept.
- CBSE 20261 markMCQQ.The length of perpendicular drawn from point (2, 5, 7) on line x 1 = y 0 = z 0 is 1 (A) 2 (B) 5 (C) 74 (D) 78
›Reveal solutionSolution
The perpendicular 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, then using the Pythagorean theorem. For point (2,5,7) and the line 1x=0y=0z, the distance is 74, so the correct option is (C).
Concept and Intuition
The distance from a point to a line in 3D is the length of the perpendicular segment connecting the point to the line. This is not the same as the distance along any slant path — it's the shortest possible distance.
Think of it this way: if you stand at a point in space and look at a line, the shortest path to reach that line is to walk straight towards it at a right angle. That perpendicular distance is what we calculate.
The key idea: take any point A on the line, form the vector AP from A to the given point P, then project AP onto the direction vector d of the line. The component of AP perpendicular to d gives the perpendicular distance.
Distance from point P to line through A with direction d:
d=∣d∣∣AP×d∣
This works because the cross product magnitude gives the area of the parallelogram formed by AP and d, and dividing by ∣d∣ gives the height (perpendicular distance) of that parallelogram.
Step-by-Step Solution
1. Identify the line and a point on it.
The line is given as 1x=0y=0z. This means:
- Direction ratios are (1,0,0) — the line runs along the x-axis.
- The line passes through the origin (0,0,0) because when x=0, y=0, z=0 satisfies the equation.
So we have:
- Point on line: A=(0,0,0)
- Direction vector: d=(1,0,0)
- Given point: P=(2,5,7)
2. Find the vector from A to P.
AP=P−A=(2−0,5−0,7−0)=(2,5,7)
3. Compute the cross product AP×d.
AP×d=i^21j^50k^70
Expanding:
- i^ component: (5)(0)−(7)(0)=0
- j^ component: −((2)(0)−(7)(1))=−(0−7)=7
- k^ component: (2)(0)−(5)(1)=−5
So AP×d=(0,7,−5)
TipNotice that since d=(1,0,0) is along the x-axis, the cross product simply picks out the y and z components of AP with a sign swap. This is a shortcut: for a line along the x-axis, the perpendicular distance is just y2+z2 of the point relative to the line.
4. Find the magnitude of the cross product.
∣AP×d∣=02+72+(−5)2=0+49+25=74
5. Find the magnitude of the direction vector.
∣d∣=12+02+02=1
6. Apply the distance formula.
d=∣d∣∣AP×d∣=174=74
Watch outA common mistake is to use the formula for distance from a point to a line in 2D, which involves a different expression. In 3D, always use the cross product method. Also, don't forget to divide by ∣d∣ — if you forget, you'd get 74 anyway here because ∣d∣=1, but that won't always be the case.
7. Match with the options.
The options are:
- (A) 2
- (B) 5
- (C) 74
- (D) 78
The distance is 74, which is not among the options directly. But option (C) is 74, and 74 is the square root of 74. The question likely asks for the square of the distance (a common phrasing in such problems), or the value under the square root.
ImportantIn many exam problems, when options are whole numbers like 74 and 78, the "length of perpendicular" often refers to the squared distance. Here, 74 is the actual distance, and 74 is its square. Option (C) 74 matches.
✓Final answerThe length of the perpendicular is 74, so the correct option is (C).
- CBSE 2026Set 65/1/11 markMCQQ.The length of the perpendicular from the point (2,5,7) on the line 1x=0y=0z is (A) 2 (B) 5 (C) 74 (D) 78
›Reveal solutionSolution
To find the perpendicular distance from a point to a line, we identify a general point on the line, form a vector from the given point to this general point, and use the condition that this vector must be perpendicular to the line's direction vector. This allows us to find the specific point on the line (the foot of the perpendicular) and then calculate the distance. The length of the perpendicular is 74.
When we talk about the "length of the perpendicular from a point to a line," we are essentially looking for the shortest distance between that point and any point on the line. Imagine dropping a plumb line from the given point straight down to the line; the length of that plumb line is what we need to find.
The core idea is that the shortest distance occurs along a line segment that is perpendicular to the given line. If we can find the exact point on the line where this perpendicular meets it (often called the "foot of the perpendicular"), then calculating the distance between the two points becomes straightforward using the standard 3D distance formula.
Here's how we approach this:
- Represent a general point on the line: Any point on the given line can be expressed using a single parameter.
- Form a vector: Create a vector connecting the given point to this general point on the line.
- Apply perpendicularity: The key insight is that this connecting vector must be perpendicular to the direction vector of the line. In 3D geometry, two vectors are perpendicular if and only if their dot product is zero. This condition will allow us to find the specific value of the parameter.
- Find the foot of the perpendicular: Substitute the parameter value back into the general point's coordinates to get the coordinates of the foot of the perpendicular.
- Calculate the distance: Use the distance formula between the given point and the foot of the perpendicular.
Let's apply this method to the given problem.
-
Identify the given point and the line's properties.
The given point is P=(2,5,7).
The equation of the line is 1x=0y=0z.
This symmetric form tells us two crucial things:
- A point on the line (when x=0,y=0,z=0) is A=(0,0,0).
- The direction vector of the line, d, has components given by the denominators: d=(1,0,0).
NoteThe line 1x=0y=0z is a special case. It represents the x-axis itself, as it passes through the origin (0,0,0) and has a direction along the x-axis.
-
Represent a general point on the line.
Let Q be any general point on the line. Using the parametric form of the line, x=0+1λ, y=0+0λ, z=0+0λ, where λ is a scalar parameter.
So, a general point on the line is Q=(λ,0,0).
-
Form the vector connecting the given point to the general point on the line.
The vector PQ connects point P(2,5,7) to point Q(λ,0,0).
PQ=Q−P=(λ−2,0−5,0−7)=(λ−2,−5,−7).
-
Apply the perpendicularity condition to find λ.
For PQ to be the perpendicular from P to the line, PQ must be perpendicular to the direction vector of the line, d=(1,0,0).
The dot product of two perpendicular vectors is zero.
If two vectors u=(u1,u2,u3) and v=(v1,v2,v3) are perpendicular, then their dot product is zero:
u⋅v=u1v1+u2v2+u3v3=0
So, PQ⋅d=0:
(λ−2)(1)+(−5)(0)+(−7)(0)=0
λ−2+0+0=0
λ−2=0
λ=2.
-
Find the coordinates of the foot of the perpendicular.
Substitute λ=2 back into the coordinates of the general point Q(λ,0,0).
The foot of the perpendicular is Q=(2,0,0).
-
Calculate the distance between P and Q.
Now we need to find the distance between P(2,5,7) and Q(2,0,0).
The distance between two points (x1,y1,z1) and (x2,y2,z2) in 3D is given by:
D=(x2−x1)2+(y2−y1)2+(z2−z1)2
Distance PQ=(2−2)2+(0−5)2+(0−7)2
PQ=(0)2+(−5)2+(−7)2
PQ=0+25+49
PQ=74.
TipAn alternative method uses the cross product. The perpendicular distance d from a point P to a line passing through point A with direction vector d is given by the formula:
d=∣d∣∣AP×d∣
For P=(2,5,7), A=(0,0,0), and d=(1,0,0):
AP=(2,5,7)
AP×d=i21j50k70=i(0−0)−j(0−7)+k(0−5)=(0,7,−5)
∣AP×d∣=02+72+(−5)2=0+49+25=74
∣d∣=12+02+02=1=1
d=174=74.
This method is often quicker for competitive exams once you are comfortable with vector cross products.
The calculated length is 74. Comparing this with the given options:
(A) 2
(B) 5
(C) 74
(D) 78
The correct option is (C).
✓Final answerThe length of the perpendicular from the point (2,5,7) on the line 1x=0y=0z is 74.
- CBSE 2026Set ANNUAL1 markMCQQ.Distance of the point (3,−5) from the line 3x−4y−26=0 is(a) 35(b) 53(c) 0(d) None of these
›Reveal solutionSolution
Apply d=A2+B2∣Ax1+By1+C∣ with A=3,B=−4,C=−26 and the point (3,−5).
Distance from a point (x1,y1) to the line Ax+By+C=0:
d=A2+B2∣Ax1+By1+C∣
Here A=3,B=−4,C=−26, and (x1,y1)=(3,−5):
d=32+(−4)2∣3(3)+(−4)(−5)−26∣=9+16∣9+20−26∣=25∣3∣=53
✓Final answer(b) 53.
- CBSE 2025Set ANNUAL1 markMCQQ.The length of the perpendicular drawn from the point (6,7) on the straight line 3x+4y+9=0 is(a) 5(b) 7(c) 9(d) none of these
›Reveal solutionSolution
The perpendicular distance from (6,7) to 3x+4y+9=0 works out to 11, which does not match any of the numeric options given, so the answer is "none of these."
The distance from a point (x1,y1) to a line ax+by+c=0 is d=a2+b2∣ax1+by1+c∣.
Here a=3, b=4, c=9, (x1,y1)=(6,7):
d=32+42∣3(6)+4(7)+9∣=9+16∣18+28+9∣=555=11.
Since 11 does not appear among options (a) 5,
(b) 7,
(c) 9, the correct choice is "none of these."
✓Final answerThe correct option is (d) none of these (the actual distance is 11).
- CBSE 2025Set ANNUAL1 markMCQQ.The distance of the line 6x−7y=11 from origin is(a) 11/85(b) 1185(c) 1185/85(d) 85
›Reveal solutionSolution
The distance of 6x−7y=11 from the origin is 851185.
Write the line as 6x−7y−11=0. The distance from the origin (0,0) to ax+by+c=0 is d=a2+b2∣c∣.
Here a=6, b=−7, c=−11: d=62+(−7)2∣−11∣=36+4911=8511.
Rationalising the denominator: 8511=851185.
✓Final answerThe correct option is (c) 1185/85.
- CBSE 2025Set ANNUAL1 markMCQQ.The distance between the straight lines 4x−3y=7 and 4x−3y=12 is(a) 1(b) 5(c) 12(d) 19
›Reveal solutionSolution
The distance between 4x−3y=7 and 4x−3y=12 is 1.
For two parallel lines ax+by=c1 and ax+by=c2 (same a,b), the distance between them is d=a2+b2∣c2−c1∣.
Here a=4, b=−3, c1=7, c2=12: d=42+(−3)2∣12−7∣=16+95=55=1.
✓Final answerThe correct option is (a) 1.
- CBSE 2023Set ANNUAL1 markMCQQ.The distance between the parallel lines ax+by+c=0 and ax+by+d=0 is(a) a2+b2d−c(b) a2−b2d−c(c) abd−c(d) d−c
›Reveal solutionSolution
The distance between two parallel lines with the same a,b but different constants c,d is a2+b2d−c.
For two parallel lines ax+by+c=0 and ax+by+d=0 (same slope, since a,b match), the perpendicular distance between them is derived by picking any point on one line and applying the point-to-line distance formula to the other, which simplifies to:
dlines=a2+b2d−c
✓Final answer(a) a2+b2d−c.
- CBSE 2023Set ANNUAL1 markMCQQ.The equation of the straight line upon which the length of the perpendicular from the origin is p and this perpendicular makes an angle α with the x-axis is(a) xcosα−ysinα=p(b) xsinα+ycosα=p(c) xcosα+ysinα=p(d) None of these
›Reveal solutionSolution
The line is xcosα+ysinα=p; option (c).
If the perpendicular from the origin has length p and makes angle α with the x-axis, the foot of the perpendicular is (pcosα, psinα) and the line perpendicular to that direction is the normal form (NCERT Class 11 Straight Lines): xcosα+ysinα=p.
✓Final answer(c) xcosα+ysinα=p.
- CBSE 2022Set ANNUAL1 markQ.The length of perpendicular from (0, 0) to 3x + 4y + 15 = 0 is ............ .
›Reveal solutionSolution
Applying the point-to-line distance formula with (0,0) gives 3.
Distance from (x1,y1) to line ax+by+c=0:
d=a2+b2∣ax1+by1+c∣
Here (x1,y1)=(0,0), and the line is 3x+4y+15=0 (a=3,b=4,c=15):
d=32+42∣3(0)+4(0)+15∣=9+1615=515=3
✓Final answerThe perpendicular distance is 3.
- CBSE 2022Set ANNUAL1 markMCQQ.What would be the distance of the origin from the line BC?(a) 1 km(b) 1.2 km(c) 1.4 km(d) 2 km
›Reveal solutionSolution
Apply the point-to-line distance formula to the origin and the line x−y+2=0 found in the previous part.
The line BC is x−y+2=0 (from part iii). Distance of a point (x0,y0) from line Ax+By+C=0 is A2+B2∣Ax0+By0+C∣.
Here A=1,B=−1,C=2, and the point is the origin (0,0):
d=12+(−1)2∣1(0)+(−1)(0)+2∣=22=2≈1.414 km
Rounded, this is ≈1.4 km.
✓Final answerOption (c): distance =2≈1.4 km
- CBSE 2022Set ANNUAL1 markMCQQ.The distance of the point (2,−3,−1) from the plane 2x−3y+6z+7=0 is(a) 2(b) 3(c) 6(d) 7
›Reveal solutionSolution
Apply the point-to-plane distance formula to get 714=2.
Distance of (x1,y1,z1) from ax+by+cz+d=0 is a2+b2+c2∣ax1+by1+cz1+d∣.
=22+(−3)2+62∣2(2)−3(−3)+6(−1)+7∣=49∣4+9−6+7∣=714=2.
✓Final answer(a) 2.
- CBSE 2022Set ANNUAL1 markMCQQ.The distance of the plane 2x−3y+4z=6 from the origin is(a) 356(b) 376(c) 296(d) 316
›Reveal solutionSolution
Use a2+b2+c2∣d∣ for ax+by+cz=d.
Write the plane as 2x−3y+4z−6=0. Distance from (0,0,0):
22+32+42∣2(0)−3(0)+4(0)−6∣=4+9+166=296.
✓Final answer(c) 296.
🎓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.