I wanted to solve the following problem.
In $\triangle ABC$ we have $$\sin^2 A + \sin^2 B = \sin^2 C + \sin A \sin B \sin C.$$ Compute $\sin C$.
Since it's an equation for a triangle, I assumed that $\pi = A + B + C$ would be important to consider.
I've tried solving for $\sin C$ as a quadratic, rewriting $\sin C = \sin (\pi - A - B)$, but nothing seemed to work.
How does one approach this problem? Any help would be appreciated.
The answer is
$$\frac{2\sqrt{5}}{5}$$
By the law of sines the triangle $ABC$ is a similar to the triangle with sides-lengths $\sin{A}$, $\sin{B}$ and $\sin{C}$.
Thus, by the law of cosines $$\sin^2C=\sin^2A+\sin^2B-2\sin{A}\sin{B}\cos{C}$$ and by the given $$\sin^2C=\sin^2A+\sin^2B-\sin{A}\sin{B}\sin{C}.$$ Id est, $$2\cos{C}=\sin{C}$$ or $$4(1-\sin^2C)=\sin^2C$$ or $$\sin{C}=\frac{2}{\sqrt5}$$ or $$C=\arcsin\frac{2}{\sqrt{5}}.$$ Done!