Expand and simplify
Collect the x terms inside each bracket. Both and are multiples of , so factor out of each pair:
Written this way the two brackets are visibly the same shape, with conjugate coefficients and .
Expand with the distributive law. Multiplying out term by term:
Keep the two middle terms separate for now; they are where the surds will cancel.
Use the conjugate product for the x² coefficient. Because ,
So the quadratic term is — rational, even though each factor was irrational. That is exactly what conjugates buy you.
Combine the two linear terms. The surds appear with opposite signs and cancel:
Assemble the result and sanity-check it.
Testing : the left side is , and the right side is . The roots of are , the reciprocals of , which is what the factored form predicts.
Need to solve a different problem like this? Open the solver →