Detailed Explanation
In three dimensional geometry, a straight line is fixed once we know a point on it and its direction. When two points are given, the direction ratios of the line come from the differences of their coordinates. If the line passes through \( (x_1, y_1, z_1) \) and \( (x_2, y_2, z_2) \), then the direction ratios are \( (x_2 - x_1,\ y_2 - y_1,\ z_2 - z_1) \). The cartesian equation is written by equating the three ratios formed by subtracting the coordinates of a fixed point and dividing by the corresponding direction ratio. Setting all these equal ratios to a common value lets us describe every point on the line, so once one coordinate is fixed we can find the others.
Formula Used
The cartesian equation of a line through \( (x_1, y_1, z_1) \) and \( (x_2, y_2, z_2) \) is \[ \frac{x - x_1}{x_2 - x_1} = \frac{y - y_1}{y_2 - y_1} = \frac{z - z_1}{z_2 - z_1}. \]
Solution
- Step 1: Identify the two given points. Here \( P(2, 2, 1) \) and \( Q(5, 1, -2) \). Take \( P \) as the fixed point \( (x_1, y_1, z_1) = (2, 2, 1) \) and \( Q \) as \( (x_2, y_2, z_2) = (5, 1, -2) \).
- Step 2: Find the direction ratios by subtracting coordinates. \[ x_2 - x_1 = 5 - 2 = 3 \] \[ y_2 - y_1 = 1 - 2 = -1 \] \[ z_2 - z_1 = -2 - 1 = -3 \] So the direction ratios of line \( PQ \) are \( (3, -1, -3) \).
- Step 3: Substitute the fixed point and direction ratios into the formula to get the cartesian equation. \[ \frac{x - 2}{3} = \frac{y - 2}{-1} = \frac{z - 1}{-3}. \]
- Step 4: Now use the condition that the \( z \)-coordinate is \( -2 \). Set each ratio equal to a parameter \( \lambda \). From the \( z \)-part: \[ \frac{z - 1}{-3} = \lambda. \] Substituting \( z = -2 \): \[ \frac{-2 - 1}{-3} = \lambda \] \[ \frac{-3}{-3} = \lambda \] So \( \lambda = 1 \).
- Step 5: Use \( \lambda = 1 \) to find the \( y \)-coordinate from the \( y \)-part of the equation. \[ \frac{y - 2}{-1} = 1 \] \[ y - 2 = -1 \] \[ y = 1. \] Hence the \( y \)-coordinate is \( 1 \).
Final Answer
The cartesian equation of line \( PQ \) is \[ \frac{x - 2}{3} = \frac{y - 2}{-1} = \frac{z - 1}{-3}, \] and the point on \( PQ \) with \( z \)-coordinate \( -2 \) has \( y \)-coordinate \( 1 \) (in fact this point is \( Q(5, 1, -2) \)).
Common Mistake
A common mistake is computing the direction ratios in the wrong order or with sign errors, for example writing \( z_2 - z_1 = 1 - (-2) = 3 \) instead of \( -2 - 1 = -3 \). Always subtract the fixed point's coordinate from the second point's coordinate consistently in the same order for x, y and z.