I was doing some matrices problems when I got to this factoring
$$bx(x-b) + ax(a-x) + ab(b-a)$$
I found this was the answer, but it was
$$-(a-b)(a-x)(b-x)$$
Doing some researches, I found this remarkable product
$$(a–b)(a–c)(b–c) = ab(a–c) + bc(b–c) + ca(c–a)$$
but with no explanation at all of how to do this simplification.
- 75,673
- 21
- 3
2 Answers
$f(x)=bx(x-b)+ax(a-x)+ab(b-a)$ is a quadratic equation.
We can check that $a$ and $b$ are roots.
Hence we can write $f(x)=A(x-a)(x-b)$ for some $A$. By verifying the leading coefficient of $x^2$, we can conclude that $A=b-a$.
- 149,520
- 20
- 88
- 149
-
in case of interest: given a ternary homogeneous cubic, there is a test for complete reducibility based on finding the Hessian matrix and its determinant, which is another ternary cubic. Here is one where I (eventually) factored something. https://math.stackexchange.com/questions/2678486/how-to-show-that-if-x-y-z-are-rational-numbers-satisfying-x-y-z3-9/2678675#2678675 – Will Jagy Apr 01 '21 at 01:27
-
http://zakuski.utsa.edu/~jagy/Brookfield_Factoring_Forms_2016.pdf – Will Jagy Apr 01 '21 at 01:43
Since the target expression has factor $(a-b)$ showing up at the original expression as $(b-a)$, we have a clue how to get this started $\to$ \begin{align}bx(x-b) + ax(a-x) + ab\color{green}{(b - a)}\end{align} \begin{align}=bx^2-b^2x + a^2x-ax^2 + ab\color{green}{(b - a)} \end{align} \begin{align}=x^2\color{green}{(b - a)}-\color{green}{(b - a)}(b+a)x+ ab\color{green}{(b - a)}\end{align} \begin{align}=\color{green}{(b - a)}(x^2-(b+a)x+ ab)\end{align} \begin{align}=\color{green}{(b - a)}(x-a)(x-b) = -(a-b)(a-x)(b-x)\end{align}
- 2,338