If in a ΔABC,a2−b2a2+b2=sin(A−B)sin(A+B), prove that it is either a right-angled or an isosceles triangle.