Write the equation of the parabola with focus (0,0) and directrix x+y-4=0.
Let P(x,y) be any point on the parabola whose focus is S(0,0) and the directrix x+y-4=0
Draw PM perpendicular from P(x,y) on the directrix
x+y-4=0
Then by definition, SP=PM
⇒SP2=PM2⇒(x−0)2+(y−0)2=∣∣∣x+y−4√12+12∣∣∣2
⇒x2+y2=(x+y−4)2(√2)2
⇒2x2+2y2=x2+y2+(−4)2+2xy+2×y×(−4)+2×(−4)×x
⇒2x2+2y2=x2+y2+16+2xy−8y−8x
⇒2x2−x2+2y2−y2−2xy+8x+8y−16=0
⇒x2+y2−2xy+8x+8y−16=0