Concept understanding — Perpendicularity and Coincidence Conditions
The general angle formula tanθ=a+b2h2−ab has two extreme cases worth isolating as standalone conditions, since they are tested far more often than the general angle itself.
Perpendicular lines (θ=90∘). This happens exactly when the formula's denominator vanishes (with the numerator staying finite): a+b=0. Equivalently, since m1m2=a/b, two lines are perpendicular exactly when m1m2=−1, i.e. a/b=−1, giving the same condition a+b=0. This condition involves only a and b — the middle coefficient h has no bearing at all on whether the lines are perpendicular, only on the specific direction each line takes. So, to find a parameter making a pair of lines perpendicular, we only ever need to set the coefficient of x2 plus the coefficient of y2 equal to zero.
Coincident lines (θ=0∘, one line repeated). This happens exactly when the formula's numerator vanishes: h2−ab=0, i.e. h2=ab — precisely the discriminant condition from the reality-of-lines concept, since a repeated root of the underlying quadratic means the "two" lines are really one line counted twice. Geometrically, the homogeneous expression becomes a perfect square: ax2+2hxy+by2=b(y−mx)2 for the repeated slope m=−h/b. …