Skip to main content
Back to 3D Geometry
JEE Main 2023
3D Geometry
3D Geometry
Medium

Question

A line passes through A(4,6,2)A(4,-6,-2) and B(16,2,4)B(16,-2,4). The point P(a,b,c)P(a, b, c), where a,b,ca, b, c are non-negative integers, on the line ABA B lies at a distance of 21 units, from the point AA. The distance between the points P(a,b,c)P(a, b, c) and Q(4,12,3)Q(4,-12,3) is equal to __________.

Answer: 4

Solution

Key Concepts and Formulas

This problem involves finding a point on a line at a specific distance from a given point and then calculating the distance between two points in 3D space. The key concepts and formulas we will use are:

  1. Direction Ratios and Direction Cosines of a Line: If a line passes through two points A(x1,y1,z1)A(x_1, y_1, z_1) and B(x2,y2,z2)B(x_2, y_2, z_2), its direction ratios are (x2x1,y2y1,z2z1)(x_2-x_1, y_2-y_1, z_2-z_1). The direction cosines (l,m,n)(l, m, n) are obtained by dividing the direction ratios by the magnitude of the direction vector, i.e., (x2x1)2+(y2y1)2+(z2z1)2\sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}.
  2. Equation of a Line in Parametric Form (Distance Form): The coordinates of any point P(x,y,z)P(x, y, z) on a line passing through a point A(x1,y1,z1)A(x_1, y_1, z_1) with direction cosines (l,m,n)(l, m, n) can be expressed as: xx1l=yy1m=zz1n=r\frac{x-x_1}{l} = \frac{y-y_1}{m} = \frac{z-z_1}{n} = r Here, rr represents the signed distance of the point P(x,y,z)P(x, y, z) from the point A(x1,y1,z1)A(x_1, y_1, z_1). If r>0r>0, PP is in the direction of (l,m,n)(l,m,n) from AA; if r<0r<0, PP is in the opposite direction.
  3. Distance Formula in 3D: The distance between two points P1(x1,y1,z1)P_1(x_1, y_1, z_1) and P2(x2,y2,z2)P_2(x_2, y_2, z_2) is given by: D=(x2x1)2+(y2y1)2+(z2z1)2D = \sqrt{(x_2-x_1)^2 + (y_2-y_1)^2 + (z_2-z_1)^2}

Step-by-Step Solution

1. Determine the Direction Ratios and Magnitude of Line AB

  • Why this step? To define the orientation of the line in space, we first need its direction. Direction ratios provide this information, and their magnitude is needed to find direction cosines.
  • Given points are A(4,6,2)A(4,-6,-2) and B(16,2,4)B(16,-2,4).
  • The direction ratios of the line ABAB, denoted as (DRx,DRy,DRz)(DR_x, DR_y, DR_z), are calculated by subtracting the coordinates of AA from BB: DRx=164=12DR_x = 16 - 4 = 12 DRy=2(6)=2+6=4DR_y = -2 - (-6) = -2 + 6 = 4 DRz=4(2)=4+2=6DR_z = 4 - (-2) = 4 + 2 = 6
  • So, the direction ratios of line ABAB are (12,4,6)(12, 4, 6).
  • Now, we find the magnitude of this direction vector: d=122+42+62=144+16+36=196=14d = \sqrt{12^2 + 4^2 + 6^2} = \sqrt{144 + 16 + 36} = \sqrt{196} = 14

2. Calculate the Direction Cosines of Line AB

  • Why this step? The distance form of the line equation requires direction cosines, which are normalized direction ratios. This normalization makes the parameter rr directly represent distance.
  • We divide each direction ratio by the magnitude d=14d=14 to get the direction cosines (l,m,n)(l, m, n): l=1214=67l = \frac{12}{14} = \frac{6}{7} m=414=27m = \frac{4}{14} = \frac{2}{7} n=614=37n = \frac{6}{14} = \frac{3}{7}
  • The direction cosines of line ABAB are (67,27,37)\left(\frac{6}{7}, \frac{2}{7}, \frac{3}{7}\right).

3. Write the Equation of Line AB in Parametric (Distance) Form

  • Why this step? We are given that point PP is at a specific distance from AA. The parametric form of the line equation directly uses this distance as a parameter, simplifying the calculation of PP's coordinates.
  • Using point A(4,6,2)A(4,-6,-2) as (x1,y1,z1)(x_1, y_1, z_1) and the calculated direction cosines: x46/7=y(6)2/7=z(2)3/7=r\frac{x-4}{6/7} = \frac{y-(-6)}{2/7} = \frac{z-(-2)}{3/7} = r x46/7=y+62/7=z+23/7=r\frac{x-4}{6/7} = \frac{y+6}{2/7} = \frac{z+2}{3/7} = r Here, rr represents the signed distance of a point (x,y,z)(x,y,z) on the line from point AA.

4. Determine the Coordinates of Point P(a, b, c)

  • Why this step? The problem states that point PP lies on line ABAB at a distance of 21 units from point AA. We use this information to find PP's coordinates by setting r=±21r = \pm 21. The condition that a,b,ca,b,c are non-negative integers will help us choose the correct value for rr.

  • We are given that the distance of PP from AA is 21 units. So, r=21|r|=21. We consider two cases for rr:

    • Case 1: r=21r=21 a46/7=21    a4=21×67=3×6=18    a=4+18=22\frac{a-4}{6/7} = 21 \implies a-4 = 21 \times \frac{6}{7} = 3 \times 6 = 18 \implies a = 4 + 18 = 22 b+62/7=21    b+6=21×27=3×2=6    b=6+6=0\frac{b+6}{2/7} = 21 \implies b+6 = 21 \times \frac{2}{7} = 3 \times 2 = 6 \implies b = -6 + 6 = 0 c+23/7=21    c+2=21×37=3×3=9    c=2+9=7\frac{c+2}{3/7} = 21 \implies c+2 = 21 \times \frac{3}{7} = 3 \times 3 = 9 \implies c = -2 + 9 = 7 Thus, P(a,b,c)=(22,0,7)P(a, b, c) = (22, 0, 7). These coordinates (a=22,b=0,c=7a=22, b=0, c=7) are all non-negative integers, satisfying the condition.
    • Case 2: r=21r=-21 a46/7=21    a4=21×67=3×6=18    a=418=14\frac{a-4}{6/7} = -21 \implies a-4 = -21 \times \frac{6}{7} = -3 \times 6 = -18 \implies a = 4 - 18 = -14 b+62/7=21    b+6=21×27=3×2=6    b=66=12\frac{b+6}{2/7} = -21 \implies b+6 = -21 \times \frac{2}{7} = -3 \times 2 = -6 \implies b = -6 - 6 = -12 c+23/7=21    c+2=21×37=3×3=9    c=29=11\frac{c+2}{3/7} = -21 \implies c+2 = -21 \times \frac{3}{7} = -3 \times 3 = -9 \implies c = -2 - 9 = -11 Thus, P(a,b,c)=(14,12,11)P(a, b, c) = (-14, -12, -11). These coordinates are negative, so this point does not satisfy the condition that a,b,ca, b, c are non-negative integers.
  • Therefore, the only valid coordinates for point P(a,b,c)P(a, b, c) are (22,0,7)(22, 0, 7).

5. Calculate the Distance Between Points P and Q

  • Why this step? This is the final objective of the problem: to find the distance between the determined point PP and the given point QQ.
  • We have P(22,0,7)P(22,0,7) and Q(4,12,3)Q(4,-12,3).
  • Using the 3D distance formula: PQ=(xPxQ)2+(yPyQ)2+(zPzQ)2PQ = \sqrt{(x_P-x_Q)^2 + (y_P-y_Q)^2 + (z_P-z_Q)^2} PQ=(224)2+(0(12))2+(73)2PQ = \sqrt{(22-4)^2 + (0-(-12))^2 + (7-3)^2} PQ=(18)2+(12)2+(4)2PQ = \sqrt{(18)^2 + (12)^2 + (4)^2} PQ=324+144+16PQ = \sqrt{324 + 144 + 16} PQ=484PQ = \sqrt{484} PQ=22PQ = 22

Common Mistakes & Tips

  • Confusing Distance with Signed Parameter: Remember that 'distance' is usually non-negative, but the parameter 'r' in the parametric form of a line equation can be negative, indicating a direction opposite to the chosen direction vector. Always check both positive and negative values for 'r' when finding a point at a specific distance.
  • Forgetting Non-Negative Conditions: Carefully apply all given conditions, such as "non-negative integers" for coordinates. This often helps in uniquely identifying a point from multiple possibilities.
  • Calculation Errors: 3D geometry problems often involve multiple steps and numerical calculations. Double-check each step, especially squares and sums, to avoid arithmetic mistakes.
  • Understanding "on the line AB": This implies the infinite line passing through A and B, not just the line segment AB, unless specified.

Summary

We first determined the direction ratios and direction cosines of the line AB. Then, using the parametric form of the line equation starting from point A, we found the coordinates of point P by considering a distance of 21 units. The condition that P's coordinates must be non-negative integers allowed us to uniquely identify P as (22,0,7)(22,0,7). Finally, we calculated the Euclidean distance between this point P and the given point Q using the 3D distance formula. The calculated distance between P and Q is 22 units.

The final answer is 4\boxed{4}.

Practice More 3D Geometry Questions

View All Questions