Given a Matrix $$A = \begin{vmatrix} a^2 & (s-a)^2 & (s-a)^2\\ (s-b)^2 & b^2 & (s-b)^2 \\ (s-c)^2 & (s-c)^2 & c^2\\ \end{vmatrix}$$
and $$a+b+c = 2s$$ , how can I find its determinant without expanding?
I've tried finding all factors which make two columns (/rows) similar or proportional. Only with s=0 all the rows and columns becomes 1 (after taking out the common value). With s=a $$\left|\matrix{
a^2 & 0 & 0\\
(a-b)^2=c^2 & b^2 & (a-b)^2=c^2 \\
(a-c)^2=b^2 & (a-c)^2=b^2 & c^2\\
}\right|=0$$
Here is a list of trivial factors
(s-a), (s-b), (s-c), (s-0). I'm given a hint that the determinant is a degree 6 polynomial, which I don't understand cause max degree of s is 4, please do explain how degree is 6.
I think det(A) = (s-a)(s-b)(s-c)(s-0).
Are there any more factors? What are they?
Edit: Please also explain how to arrive at the solution.