(x+y)2−(x2+y2)=0 ⇒x2+y2+2xy−x2−y2=0 ⇒2xy=0
On comparing with ax2+2hxy+by2=0
Here, a=0,b=0,h=1 ∴tanθ=a+b2h2−ab=∞ ⇒θ=90∘ ∴ The given equation represents two mutually perpendicular lines.
Note: In second degree homogeneous equation if a+b=0, then the pair of lines are perpendicular.