The straight lines represented by the equation ax2+2bxy+by2=0 are perpendicular if
a-b = 0
a+b = 0
a+2h+b = 0
a = 2h
The angle between the straight lines ax2+2bxy+by2=0 is given by
tanθ=∣∣∣2√h2−aba+b∣∣∣
They will be perpendicular if a+b = 0