Given ,
y=x−2
x−y−2=0 .....(1)
y=x2+3x+2 ....(2)
Let (t2,t) be a point on y=x2+3x−2 its distance to the line y=x−2 orx−y−2=0
d=∣∣ ∣∣t2−t−2√a2+b2∣∣ ∣∣
d=∣∣ ∣ ∣∣t2−t−2√(1)2+(−1)2∣∣ ∣ ∣∣
d=∣∣∣t2−t−2√2∣∣∣
Hence,
Required distance is =∣∣∣−2√2∣∣∣=∣∣∣2√2∣∣∣=∣∣√2∣∣=√2