I solved a following problem in my mathematics homework today:
Factorize $18(ab^2 + bc^2 + ca^2) - 12(a^2b + b^2c + c^2a) - 19abc$.
That's easy. I solved by the following way and it was same as sample answer of the book:
$\ \ \ \ 18(ab^2 + bc^2 + ca^2) - 12(a^2b + b^2c + c^2a) - 19abc$
$=(-12b+18c)a^2 + (18b^2 - 19bc - 12c^2) + (18bc^2 - 12b^2c)$
$=-6a^2 (2b-3c) + a(2b-3c)(9b+4c) - 6bc(2b-3c)$
$=(2b-3c)(-6a^2 + 9ab + 4ac - 6bc)$
$=(2b-3c)(2a-3b)(2c-3a)$.
(if there is a typo, please inform this)
Though the process took much times (highly implementing one), and I think it's too straight forward way.
The question and answer looks simple, so I think there must be more elegant and way, which has less calculation time.
So, I want to ask the simplier way to solve this.
You can make the followin.
Let $a=3$ and $b=2$.
Thus, our expression is equal to $0$.
Since our expression is homogenious,
we got a factor $2a-3b$ and since it's a cyclic expression, we get $$\sum_{cyc}(18a^2c-12a^2b)-19abc=A(2a-3b)(2b-3c)(2c-3a).$$
Now, let $a=b=c=1$.
We obtain $-1=-A$, which gives $A=1$ and we are done!