Simplify
Kill the fraction first. is a difference of squares:
so the last term becomes , valid for . Once the denominator is gone the whole expression is a polynomial.
Factor out the common . Every one of the four terms carries at least one factor of :
Pulling it out now keeps the expansion one degree smaller.
Expand the first three terms inside the bracket. Using , , :
(The terms give , the terms give , the constants give .)
Expand the fourth term.
Add the two pieces inside the bracket.
Write the final factored form and check it.
The cubic has no rational roots ( all fail), so it does not factor further over . Numerical check at : the original expression and this form both equal .
Need to solve a different problem like this? Open the solver →