A4, A18 - Quadratic expansion, factorisation and roots

A4, A18 - Quadratic expansion, factorisation and roots

Two brackets can hide a quadratic expression, and a quadratic can hide two brackets. Learn to move between these forms, recognise a difference of squares and use factorisation to find the values that make a quadratic equation true.

Expanding two binomials

A rectangle has width xx centimetres, length x+1x+1 centimetres and area 12 cm212\,\mathrm{cm}^2. How can its area tell you its dimensions?

Its area equation is x(x+1)=12x(x+1)=12. We will return to that problem after learning how products and quadratics fit together. Begin with an easier product you can see as an area.

You already know

The distributive law multiplies every term in a bracket. For example, 3(x+2)=3x+63(x+2)=3x+6. Factorising reverses that expansion.

When both factors contain two terms, each term in one bracket must multiply both terms in the other.

Binomial and quadratic

A binomial has two terms. A quadratic expression in xx has a non-zero x2x^2 term and no higher power of xx. For example, x2+5x+6x^2+5x+6 is quadratic; 5x+65x+6 is linear.

For positive xx, split a rectangle of sides x+3x+3 and x+2x+2 into four smaller rectangles. Its area is the product of the outside lengths and also the sum of the four inside areas.

[DIAGRAM: asset_name: Four products in a quadratic expansion; asset_slug: 1ma1_m14_area_expansion; caption: For positive x, the rectangle's four areas add to the product of its two outside lengths.; description: A schematic rectangle has width x plus 3 and height x plus 2, split into four rectangles with areas x squared, 3x, 2x and 6. Blue denotes x squared, clay denotes the two linear areas and sage denotes the constant area.]
For positive x, the rectangle's four areas add to the product of its two outside lengths.

The four pieces explain why you must keep all four products before collecting the middle terms.

Worked example 1: four products from two brackets

Question. Expand and simplify (x+3)(x+2)(x+3)(x+2).

Plan. Distribute xx and 33 across the second bracket, then collect like terms.

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

Why this step? The x2x^2 term comes from x×xx\times x, while both cross products contribute to the coefficient of xx.

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

Check. At x=1x=1, the product is 4×3=124\times3=12; the expansion gives 1+5+6=121+5+6=12.

Change only the sign of 33. The area picture no longer represents all real inputs, but the distributive law still works.

Worked example 2: a negative bracket constant

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

Plan. Treat the first bracket as x+(−3)x+(-3), keeping the negative sign in both products.

(x−3)(x+2)=x(x+2)−3(x+2)distribute both terms=x2+2x−3x−6multiply with signs=x2−x−6collect like terms\begin{aligned} (x-3)(x+2)&=x(x+2)-3(x+2) &&\text{distribute both terms}\\ &=x^2+2x-3x-6 &&\text{multiply with signs}\\ &=x^2-x-6 &&\text{collect like terms} \end{aligned}

Why this step? −3-3 multiplies both xx and 22; the sign affects the constant as well as the middle term.

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

Check. At x=1x=1, (−2)(3)=−6(-2)(3)=-6, and 1−1−6=−61-1-6=-6.

The same method gives (x−4)(x+3)=x2−x−12(x-4)(x+3)=x^2-x-12 and (2x+1)(x−3)=2x2−5x−3(2x+1)(x-3)=2x^2-5x-3. The coefficient on the squared term comes from multiplying the two letter terms.

Watch out

Wrong: (x−5)2=x2−25(x-5)^2=x^2-25. A square means two identical brackets: (x−5)(x−5)=x2−5x−5x+25=x2−10x+25(x-5)(x-5)=x^2-5x-5x+25=x^2-10x+25.

Change only the positive constant in Worked example 2.

Factorising quadratics with leading coefficient one

Factorising a quadratic reverses the multiplication of two brackets.

The numbers in the brackets produce the constant by multiplication and the middle coefficient by addition. For instance, (x+3)(x+4)=x2+7x+12(x+3)(x+4)=x^2+7x+12, because 3+4=73+4=7 and 3×4=123\times4=12.

Sum and product for a monic quadratic

(x+p)(x+q)=x2+(p+q)x+pq(x+p)(x+q)=x^2+(p+q)x+pq

For x2+bx+cx^2+bx+c, find p+q=bp+q=b and pq=cpq=c. Monic means the coefficient of x2x^2 is 11.

Not on the formula sheet: learn it.

You need both conditions. A factor pair that gets only the constant right is not enough.

Worked example 3: choosing a factor pair

Question. Factorise x2+7x+12x^2+7x+12.

Plan. List factor pairs of 1212 and select the pair adding to 77.

12=1×12=2×6=3×4list positive factor pairs3+4=7match the middle coefficientx2+7x+12=(x+3)(x+4)put the pair in brackets\begin{aligned} 12&=1\times12=2\times6=3\times4 &&\text{list positive factor pairs}\\ 3+4&=7 &&\text{match the middle coefficient}\\ x^2+7x+12&=(x+3)(x+4) &&\text{put the pair in brackets} \end{aligned}

Why this step? The two cross products must add to 7x7x, so the sum chooses the correct pair.

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

Check. Expansion gives x2+4x+3x+12=x2+7x+12x^2+4x+3x+12=x^2+7x+12.

Change only the sign of the middle coefficient. The product remains positive, so both constants must now be negative.

Worked example 4: two negative bracket constants

Question. Factorise x2−7x+12x^2-7x+12.

Plan. Choose two constants with positive product 1212 and negative sum −7-7.

(−3)(−4)=12match the constant−3+(−4)=−7match the linear coefficientx2−7x+12=(x−3)(x−4)use the signed pair\begin{aligned} (-3)(-4)&=12 &&\text{match the constant}\\ -3+(-4)&=-7 &&\text{match the linear coefficient}\\ x^2-7x+12&=(x-3)(x-4) &&\text{use the signed pair} \end{aligned}

Why this step? A positive product allows equal signs; the negative sum tells you to choose two negatives.

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

Check. x2−4x−3x+12=x2−7x+12x^2-4x-3x+12=x^2-7x+12.

A negative constant needs opposite signs. For x2+x−12x^2+x-12, use 44 and −3-3, giving (x+4)(x−3)(x+4)(x-3). For x2−5x−14x^2-5x-14, use −7-7 and 22.

Some expressions have no integer pair that works. In x2+x+1x^2+x+1, the integer pairs giving product 11 have sums 22 or −2-2, neither 11. Do not force an integer factorisation by changing a coefficient.

Watch out

Wrong: x2−7x+12=(x−2)(x−6)x^2-7x+12=(x-2)(x-6). The product is right, but the sum is −8-8. Check both the middle coefficient and the constant.

Change only the middle coefficient in Worked example 4.

The difference of two squares

Opposite bracket signs can make the two middle products cancel completely.

Expand (a−b)(a+b)(a-b)(a+b): the products +ab+ab and −ab-ab cancel, leaving a2−b2a^2-b^2. This gives a useful factorisation pattern.

Difference of two squares

a2−b2=(a−b)(a+b)a^2-b^2=(a-b)(a+b)

This identity holds for real aa and bb; identify the complete quantities being squared.

Not on the formula sheet: learn it.

The word “difference” matters: it means subtraction between the squares.

Worked example 5: recognising two squares

Question. Factorise x2−25x^2-25.

Plan. Write the constant as a square, then use opposite bracket signs.

x2−25=x2−52identify the two squares=(x−5)(x+5)use the difference pattern\begin{aligned} x^2-25&=x^2-5^2 &&\text{identify the two squares}\\ &=(x-5)(x+5) &&\text{use the difference pattern} \end{aligned}

Why this step? Opposite signs produce middle terms +5x+5x and −5x-5x, which cancel.

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

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

Change only the coefficient of x2x^2 from 11 to 44. The squared quantity is now 2x2x.

Worked example 6: squaring a whole letter term

Question. Factorise 4x2−254x^2-25.

Plan. Identify (2x)2(2x)^2 and 525^2, then apply the same identity.

4x2−25=(2x)2−52identify each squared quantity=(2x−5)(2x+5)use opposite signs\begin{aligned} 4x^2-25&=(2x)^2-5^2 &&\text{identify each squared quantity}\\ &=(2x-5)(2x+5) &&\text{use opposite signs} \end{aligned}

Why this step? (2x)2=4x2(2x)^2=4x^2; writing 4x4x in each bracket would give 16x216x^2.

Answer. (2x−5)(2x+5)(2x-5)(2x+5).

Check. 4x2+10x−10x−25=4x2−254x^2+10x-10x-25=4x^2-25.

A common factor may come first: 3x2−27=3(x2−9)=3(x−3)(x+3)3x^2-27=3(x^2-9)=3(x-3)(x+3), and 2x2−32=2(x−4)(x+4)2x^2-32=2(x-4)(x+4). Keep the outside factor. The same pattern works in arithmetic: 1032−972=(103−97)(103+97)=6×200=1200103^2-97^2=(103-97)(103+97)=6\times200=1200. Two large squares can have a surprisingly small difference.

Watch out

x2+25x^2+25 is a sum, so (x−5)(x+5)(x-5)(x+5) is not its factorisation. Nor is x2−10x+25x^2-10x+25 a difference of two squares: it has a middle term and equals (x−5)2(x-5)^2.

Change only the squared-term coefficient in Worked example 6.

Solving equations with the zero-product principle

A product equals zero only when at least one factor equals zero.

If AB=0AB=0 and A≠0A\ne0, dividing by AA gives B=0B=0. If A=0A=0, the first factor already explains the zero product. These are the only possibilities.

Root and zero-product principle

A root is a value of the unknown that satisfies an equation. For real numbers,

AB=0⟹A=0 or B=0.AB=0\quad\Longrightarrow\quad A=0\text{ or }B=0.

This rule applies to a product equal to zero, not a product equal to another number.

Not on the formula sheet: learn it.

For example, x2−5x+6=0x^2-5x+6=0 becomes (x−2)(x−3)=0(x-2)(x-3)=0, so x=2x=2 or x=3x=3. Each root makes one bracket zero.

Worked example 7: factorising an equation equal to zero

Question. Solve x2+2x−15=0x^2+2x-15=0.

Plan. Factorise using sum 22 and product −15-15, then set each factor to zero.

(x+5)(x−3)=0factorise the quadraticx+5=0orx−3=0use the zero productx=−5orx=3solve each linear equation\begin{aligned} (x+5)(x-3)&=0 &&\text{factorise the quadratic}\\ x+5=0&\quad\text{or}\quad x-3=0 &&\text{use the zero product}\\ x=-5&\quad\text{or}\quad x=3 &&\text{solve each linear equation} \end{aligned}

Why this step? A zero product guarantees a zero factor, so both possible brackets must be considered.

Answer. x=−5x=-5 or x=3x=3.

Check. (−5)2+2(−5)−15=0(-5)^2+2(-5)-15=0, and 32+2(3)−15=03^2+2(3)-15=0.

Change only the arrangement of the equation: put the constant on the other side. You must restore a zero before applying the principle.

Worked example 8: making one side zero first

Question. Solve x2+2x=15x^2+2x=15.

Plan. Subtract 1515 from both sides, then use the same factorisation.

x2+2x−15=0subtract 15(x+5)(x−3)=0factorisex=−5or3set each factor to zero\begin{aligned} x^2+2x-15&=0 &&\text{subtract }15\\ (x+5)(x-3)&=0 &&\text{factorise}\\ x&=-5\quad\text{or}\quad3 &&\text{set each factor to zero} \end{aligned}

Why this step? Setting factors of x(x+2)=15x(x+2)=15 equal to zero would not solve the original equation.

Answer. x=−5x=-5 or x=3x=3.

Check. 25−10=1525-10=15, and 9+6=159+6=15; both roots satisfy the original form.

In x2−4x=0x^2-4x=0, factorising gives x(x−4)=0x(x-4)=0, with roots 00 and 44. Dividing by xx would lose the zero root. Identical factors, as in (x−2)2=0(x-2)^2=0, give one distinct root 22, called a repeated root.

Return to the rectangle: x(x+1)=12x(x+1)=12 gives x2+x−12=(x+4)(x−3)=0x^2+x-12=(x+4)(x-3)=0. The algebraic roots are −4-4 and 33, but a length must be positive. Its width is 3 cm3\,\mathrm{cm}, its length is 4 cm4\,\mathrm{cm}, and 3×4=123\times4=12 checks the area.

Watch out

A root may satisfy the algebra but fail the context. Keep both roots while solving, then use the stated conditions to decide which are allowed.

Change only the right-hand constant from Worked example 8.

Quick Recap

  • Two binomials produce four products before like terms are collected.
  • For a monic quadratic, bracket constants have the required sum and product.
  • A difference of squares has opposite-sign factors; a sum of squares does not use that pattern.
  • To solve by factorising, make one side zero, factorise and set each factor to zero. Check roots against the context.

The opening rectangle has width 3 cm3\,\mathrm{cm} and length 4 cm4\,\mathrm{cm}; the negative algebraic root cannot be a length.