What triangle is ABC if the side length of 1 satisfies (a-b) (A2 + b2-c2) = 0? (2 represents Square)

What triangle is ABC if the side length of 1 satisfies (a-b) (A2 + b2-c2) = 0? (2 represents Square)

Because (a-b) (A2 + b2-c2) = 0
So a = B or C & sup2; = A & sup2; + B & sup2;
So a triangle is a right triangle or an isosceles triangle