The x coordinate of a point on the line joining the points P(2,2,1) and Q(5,1,-2) is 4.Find its z-coordinate.
Equation of line PQ:x−23=y−2−1=z−1−3=λ.
Coordinates of any random point on the line PQ is (3λ+2,−λ+2,−3λ+1).
As x coordinate of a point on the line PQ is 4 so,(3λ+2=4⇒λ=23).
So,z coordinate is −3λ+1=−3(23)+1=−1.