Let the line passing through the points P(3,−2,−5) and Q(3,−2,6) be PQ. Since PQ passes through P(3,−2,−5), its
position vector is given by,
→a=3^i−2^j−5^k
The direction ratios of PQ are given by,
(3−3)=0,(−2+2)=0,(6+5)=11
The equation of the vector in the direction of PQ is
→b=0^i−0^j+11^k=11^k
The equation of PQ in vector form is given by →r=→a+λ→b,λ∈R
⇒→r=(3^i−2^j−5^k)+11λ^k
The equation of PQ in Cartesian form is
x−x1a=y−y1b=z−z1c
⇒x−30=y+20=z+511