In the triangle ABC, A-B = (A2 + c2-b2 / 2a) - (B2 + c2-a2 / 2b) is used to judge the shape of the triangle

In the triangle ABC, A-B = (A2 + c2-b2 / 2a) - (B2 + c2-a2 / 2b) is used to judge the shape of the triangle

The result is (a-b) (a ^ 2 + B ^ 2-C ^ 2) = 0
So it's either an isosceles triangle or a right triangle