Rewrite the trinomial as a perfect square:
Decide which identity to test. A three-term expression with two perfect-square outer terms and a single middle term is a candidate for
Testing this first is faster than trial-and-error factoring, but the test has to be done properly: two squares are not enough, the middle term must match exactly.
Identify and from the outer terms. The first term is already a square, , so . The last term is , so . Note is the whole quantity , not just — carrying the coefficient inside is what makes the next check work.
Verify the middle term. With and ,
which is exactly the middle term given. Because all three terms match the pattern, the trinomial really is a perfect square. Had the middle term been anything else, say , the expression would not be a perfect square and would need a different method.
Write the square of the difference. The sign inside the bracket copies the sign of the middle term, so a gives a minus:
Check by expanding back. . A numeric check is even quicker: at the original is and . Both agree, so is the answer.
Need to solve a different problem like this? Open the solver →