The correct option is D y=2x+1 or y=−2x+1
A line passing through P(h,k) and parallel to x− axis is y=k ........................(1)
The other two given lines are
y=x ........................(2)
and x+y=2 .........................(3)
Solving eqns (1) and (2)
we get A(k,k)
Solving eqns (2) and (3)
we get B(1,1)
Solving eqns (3) and (1)
we get C(2−k,k)
∴ Area of △ABC=4h2
⇒12∣∣
∣∣kk11112−kk1∣∣
∣∣=4h2
Applying C2→C2−C1, then
12∣∣
∣∣k011012−k2k−21∣∣
∣∣=4h2
⇒(k−1)2=4h2
⇒k−1=±2h
∴k=±2h+1
Replace h→x,k→y
∴ Locus of (h,k) is y=2x+1 or y=−2x+1