I have come upon the trivariate polynomial $A^2+B^2+C^2-2AB-2AC-2BC$ and want to factor it. Because of the symmetry, I am wondering if it can be a perfect square or if there is some other nice factorization.
2026-03-25 12:48:47.1774442927
On
On
Can $A^2+B^2+C^2-2AB-2AC-2BC$ be a perfect square?
10k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
4
There are 4 best solutions below
0
On
A more symmetric factorization would be:
$$A^2 + B^2 + C^2 - 2AB -2AC - 2BC =$$ $$(A + B + C)^2 - 4AB - 4AC - 4BC =$$ $$(A + B + C - 2 \sqrt{AB + AC + BC}) (A + B + C + 2 \sqrt{AB + AC + BC})$$
if $$AB + AC + BC \ge 0$$
0
On
As is noted in other comments and answer, the symmetry is a little illusory because of the signs. This is probably less than you were hoping for, but or any integral choice of $B$ and $C$, you can find an integer $A$ which makes the expression a perfect square. Just take $A = 2(B+C)$, and the expression equates to $(B-C)^2$.
You can use Wolfram Alpha to get some alternative forms
The first two listed are $$(A-B-C)^2-4BC$$ $$A^2-2A(B+C)+(B-C)^2$$
As J.M. says, it will all depend on the value of $A,B$ and $C$