A4 - Expanding double brackets and factorising quadratics

A4 - Expanding double brackets and factorising quadratics

Multiplying two brackets creates a quadratic expression. Learn to account for every product, then work backwards to find the brackets of a quadratic. You will also use the difference of two squares, including simple exact square-root factors.

Expanding two brackets

Is 51×4951 \times 49 equal to 50250^2? The numbers on either side of 5050 look balanced, but their product is slightly smaller. By the end you will explain the gap without long multiplication.

You already know

Expanding a single bracket multiplies every term by the factor outside. Collect only terms with the same letters and powers, keeping each sign with its term.

In (x+3)(x+2)(x + 3)(x + 2), the first bracket is itself a whole factor. Multiply it by xx, then by 22. Equivalently, make a grid: each term from one bracket multiplies each term from the other. Two terms times two terms give four products before collecting.

[DIAGRAM: asset_name: Four areas in a product of two brackets; asset_slug: aqa8300_a04_binomial_area; caption: The four areas x squared, 3x, 2x and 6 add to x squared + 5x + 6; description: A rectangle has width x + 3 and height x + 2, split vertically into x and 3 and horizontally into x and 2. The large top-left region is pale blue and labelled x squared; the top-right and bottom-left regions are pale sage and labelled 3x and 2x; the bottom-right region is pale clay and labelled 6. Dimension labels sit outside the rectangle. The equality (x + 3)(x + 2) = x squared + 5x + 6 appears beneath. x is positive. Not drawn accurately.]
The four areas x squared, 3x, 2x and 6 add to x squared + 5x + 6

The picture uses positive lengths. The multiplication rule also works for negative values because it comes from distributing over sums, not from measuring lengths.

Binomial and quadratic expression

A binomial has two terms, such as x+3x + 3 or 2x−12x - 1. A quadratic expression in xx has highest power x2x^2, with a non-zero coefficient of that term. For example, x2+5x+6x^2 + 5x + 6 is quadratic; 5x+65x + 6 is not.

To expand two binomials, show all four products, then collect like terms. This method is not on the formulae sheet: learn it. A grid is equally valid working.

Worked example 1: two positive constants

Question. Expand and simplify (x+3)(x+2)(x + 3)(x + 2). Non-calculator.

Plan. Multiply each term in the first bracket by both terms in the second, then collect.

(x+3)(x+2)=x(x+2)+3(x+2)split the first bracket=x2+2x+3x+6four products=x2+5x+6collect the x terms\begin{aligned} (x + 3)(x + 2) &= x(x + 2) + 3(x + 2) && \text{split the first bracket} \\ &= x^2 + 2x + 3x + 6 && \text{four products} \\ &= x^2 + 5x + 6 && \text{collect the }x\text{ terms} \end{aligned}

Why this step? The 33 multiplies the whole second bracket, not just its final term.

Answer. x2+5x+6x^2 + 5x + 6.

Check. At x=1x = 1, the brackets give 4×3=124 \times 3 = 12; the quadratic gives 1+5+6=121 + 5 + 6 = 12.

The next example changes only the sign of the 33. Two of the four products now change sign.

Worked example 2: a negative constant

Question. Expand and simplify (x−3)(x+2)(x - 3)(x + 2). Non-calculator.

Plan. Multiply using the signed term −3-3, then collect the middle terms.

(x−3)(x+2)=x(x+2)−3(x+2)keep the minus sign=x2+2x−3x−6four products=x2−x−6collect like terms\begin{aligned} (x - 3)(x + 2) &= x(x + 2) - 3(x + 2) && \text{keep the minus sign} \\ &= x^2 + 2x - 3x - 6 && \text{four products} \\ &= x^2 - x - 6 && \text{collect like terms} \end{aligned}

Why this step? −3-3 multiplies both xx and 22, so the constant product is −6-6.

Answer. x2−x−6x^2 - x - 6.

Check. At x=1x = 1, the brackets give (−2)×3=−6(-2) \times 3 = -6, and the quadratic gives 1−1−6=−61 - 1 - 6 = -6.

The first terms need not have coefficient 11. For example, (2x+1)(x+3)=2x2+6x+x+3=2x2+7x+3(2x + 1)(x + 3) = 2x^2 + 6x + x + 3 = 2x^2 + 7x + 3. Nothing changes about making all four products.

Watch out

Wrong: (x+3)(x+2)=x2+6(x + 3)(x + 2) = x^2 + 6. That misses the two cross-products, 2x2x and 3x3x. Right: include all four products before collecting.

For the next pair of brackets, the negative constant has moved into the second bracket. The four-product rule stays the same.

Finding the two brackets of a quadratic

Factorising a quadratic reverses the four-product expansion: find two numbers whose sum gives the middle coefficient and whose product gives the constant.

From the first example, (x+3)(x+2)=x2+(3+2)x+3×2(x + 3)(x + 2) = x^2 + (3 + 2)x + 3 \times 2. The middle coefficient comes from addition, and the final constant comes from multiplication. You must meet both conditions.

Factorising a quadratic with leading coefficient 1

x2+bx+c=(x+p)(x+q)x^2 + bx + c = (x + p)(x + q)

Choose numbers pp and qq such that

p+q=bandpq=cp + q = b \qquad\text{and}\qquad pq = c

These conditions follow by expanding the two brackets. For integer factorisation, look for integer pp and qq.

Not on the formulae sheet: learn it.

List factor pairs of the constant, then test their sum. If the constant is positive, the two numbers have the same sign. If it is negative, their signs differ. For a positive constant and negative middle coefficient, both numbers are negative: x2−5x+6=(x−2)(x−3)x^2 - 5x + 6 = (x - 2)(x - 3), because −2−3=−5-2 - 3 = -5 and (−2)(−3)=6(-2)(-3) = 6.

Worked example 3: a positive constant

Question. Factorise x2+5x+6x^2 + 5x + 6. Non-calculator.

Plan. Find a factor pair of 66 with sum 55, then write the two brackets.

1×6=61+6=7wrong sum2×3=62+3=5both conditions metx2+5x+6=(x+2)(x+3)use the pair\begin{aligned} 1 \times 6 &= 6 \qquad 1 + 6 = 7 && \text{wrong sum} \\ 2 \times 3 &= 6 \qquad 2 + 3 = 5 && \text{both conditions met} \\ x^2 + 5x + 6 &= (x + 2)(x + 3) && \text{use the pair} \end{aligned}

Why this step? A pair with the right product alone can give the wrong middle term. That is why the sum check matters.

Answer. (x+2)(x+3)(x + 2)(x + 3).

Check. Expanding gives x2+3x+2x+6=x2+5x+6x^2 + 3x + 2x + 6 = x^2 + 5x + 6.

The next example changes only the constant from +6+6 to −6-6. The factors must now have opposite signs.

Worked example 4: a negative constant

Question. Factorise x2+5x−6x^2 + 5x - 6. Non-calculator.

Plan. Find two signed factors of −6-6 with sum 55.

6×(−1)=−6correct product6+(−1)=5correct sumx2+5x−6=(x+6)(x−1)write the signed pair\begin{aligned} 6 \times (-1) &= -6 && \text{correct product} \\ 6 + (-1) &= 5 && \text{correct sum} \\ x^2 + 5x - 6 &= (x + 6)(x - 1) && \text{write the signed pair} \end{aligned}

Why this step? The larger absolute value needs the positive sign to make the sum positive.

Answer. (x+6)(x−1)(x + 6)(x - 1).

Check. Expanding gives x2−x+6x−6=x2+5x−6x^2 - x + 6x - 6 = x^2 + 5x - 6.

Not every quadratic has integer factors. No integer pair has product 11 and sum 11, so x2+x+1x^2 + x + 1 cannot be factorised into brackets with integer constants. If the constant is zero, start with the common factor instead: x2+5x=x(x+5)x^2 + 5x = x(x + 5).

Watch out

Wrong: x2+5x−6=(x+2)(x−3)x^2 + 5x - 6 = (x + 2)(x - 3). Here the product is right, but the sum is −1-1, not 55. Right: (x+6)(x−1)(x + 6)(x - 1).

The order of the brackets does not matter. Their two constants must still pass both checks.

The difference of two squares

Some quadratics have no middle term because their cross-products cancel. These are differences of two squares.

Expanding (x+4)(x−4)(x + 4)(x - 4) gives x2−4x+4x−16=x2−16x^2 - 4x + 4x - 16 = x^2 - 16. The constants are opposites, so their sum is zero. That cancellation is the reason for the pattern.

Difference of two squares

A2−B2=(A−B)(A+B)A^2 - B^2 = (A - B)(A + B)

This holds for any real numbers or algebraic expressions AA and BB. It needs a subtraction between two squares.

Not on the formulae sheet: learn it.

Identify each square's root before writing the brackets. “Difference” means subtraction; the same pattern cannot turn x2+16x^2 + 16 into (x−4)(x+4)(x - 4)(x + 4), because those brackets expand to x2−16x^2 - 16.

Worked example 5: a missing middle term

Question. Factorise x2−16x^2 - 16. Non-calculator.

Plan. Write both terms as squares, then use opposite signs in the brackets.

x2−16=x2−42identify the squares=(x−4)(x+4)use the difference pattern\begin{aligned} x^2 - 16 &= x^2 - 4^2 && \text{identify the squares} \\ &= (x - 4)(x + 4) && \text{use the difference pattern} \end{aligned}

Why this step? The constants −4-4 and +4+4 multiply to −16-16 and add to zero, so no xx term remains.

Answer. (x−4)(x+4)(x - 4)(x + 4).

Check. The cross-products are +4x+4x and −4x-4x; they cancel.

The next example changes only the first square, from x2x^2 to (3x)2(3x)^2. Take the square root of the whole first term.

Worked example 6: a coefficient that is also a square

Question. Factorise 9x2−169x^2 - 16. Non-calculator.

Plan. Recognise 9x2=(3x)29x^2 = (3x)^2, then use the same pattern.

9x2−16=(3x)2−42identify both squared expressions=(3x−4)(3x+4)opposite signs\begin{aligned} 9x^2 - 16 &= (3x)^2 - 4^2 && \text{identify both squared expressions} \\ &= (3x - 4)(3x + 4) && \text{opposite signs} \end{aligned}

Why this step? The first entry in each bracket is 3x3x, because multiplying 3x3x by itself gives 9x29x^2.

Answer. (3x−4)(3x+4)(3x - 4)(3x + 4).

Check. Expansion gives 9x2+12x−12x−16=9x2−169x^2 + 12x - 12x - 16 = 9x^2 - 16.

There is a fast mental-arithmetic use too. 1012−1002=(101−100)(101+100)=201101^2 - 100^2 = (101 - 100)(101 + 100) = 201. Consecutive whole-number squares differ by an odd number: the difference is one times their sum. Large squares can hide a very small calculation.

Watch out

Wrong: 9x2−16=(9x−4)(9x+4)9x^2 - 16 = (9x - 4)(9x + 4). Those first terms multiply to 81x281x^2. Right: use 3x3x in each bracket.

Check the numerical coefficient's square root as carefully as the constant's square root.

Exact square-root factors

A square root can be kept exact inside a bracket. You do not need a decimal approximation to multiply it by itself.

For example, (5)2=5(\sqrt{5})^2 = 5 by the definition of a square root. So the difference-of-squares pattern also handles (x+5)(x−5)(x + \sqrt{5})(x - \sqrt{5}). Treat 5\sqrt{5} as one constant, just as you treated 44 in the previous part.

Surd

An exact root that is irrational, such as 5\sqrt{5}. Its decimal never terminates or repeats. In contrast, 9=3\sqrt{9} = 3 is rational and is not a surd.

For a positive number kk, (k)2=k(\sqrt{k})^2 = k. This square-root fact and the difference-of-squares identity are not on the formulae sheet: learn them. Here you only need a root multiplied by itself, not any rules for combining different roots.

Worked example 7: a square root cancels exactly

Question. Expand and simplify (x+5)(x−5)(x + \sqrt{5})(x - \sqrt{5}). Non-calculator.

Plan. Form the four products; the cross-products cancel and the root is squared.

(x+5)(x−5)=x2−5 x+5 x−(5)2four products=x2−5cancel and square the root\begin{aligned} (x + \sqrt{5})(x - \sqrt{5}) &= x^2 - \sqrt{5}\,x + \sqrt{5}\,x - (\sqrt{5})^2 && \text{four products} \\ &= x^2 - 5 && \text{cancel and square the root} \end{aligned}

Why this step? Keeping the root exact makes both cancellations exact. A rounded decimal would lose that precision.

Answer. x2−5x^2 - 5.

Check. At x=0x = 0, the original is 5×(−5)=−5\sqrt{5} \times (-\sqrt{5}) = -5, matching the answer.

The next example reverses only the direction: instead of expanding given brackets, find brackets for the given quadratic.

Worked example 8: factorising with an exact root

Question. Factorise x2−5x^2 - 5. Non-calculator.

Plan. Write 55 as (5)2(\sqrt{5})^2 and use the difference of two squares.

x2−5=x2−(5)2write the second square=(x−5)(x+5)use opposite signs\begin{aligned} x^2 - 5 &= x^2 - (\sqrt{5})^2 && \text{write the second square} \\ &= (x - \sqrt{5})(x + \sqrt{5}) && \text{use opposite signs} \end{aligned}

Why this step? A square does not need an integer root. The exact root of 55 works perfectly well as a constant.

Answer. (x−5)(x+5)(x - \sqrt{5})(x + \sqrt{5}).

Check. The previous expansion returns x2−5x^2 - 5.

A root outside a bracket is still a factor: 3(x+3)=3 x+3\sqrt{3}(x + \sqrt{3}) = \sqrt{3}\,x + 3. As before, every term is multiplied. Leaving a little space after the root makes it clear where the next factor starts.

Watch out

Wrong: (5)2=25(\sqrt{5})^2 = 25. Squaring a square root undoes the root, so (5)2=5(\sqrt{5})^2 = 5. It does not square the number under the root again.

The opening calculation now has a short explanation: 51×49=(50+1)(50−1)=502−1=249951 \times 49 = (50 + 1)(50 - 1) = 50^2 - 1 = 2499. Increasing one factor by 11 and decreasing the other by 11 costs exactly one from the product.

Quick Recap

  • Expanding two binomials produces four products before like terms are collected.
  • To factorise x2+bx+cx^2 + bx + c, find two numbers with sum bb and product cc. Both conditions matter.
  • A difference of squares factorises as A2−B2=(A−B)(A+B)A^2 - B^2 = (A - B)(A + B); the cross-products cancel.
  • Keep square roots exact. (k)2=k(\sqrt{k})^2 = k, so the same pattern can give exact square-root factors.

The opening product is 24992499, exactly 11 less than 50250^2.