6.01d, 6.01e - Quadratic expressions

6.01d, 6.01e - Quadratic expressions

What happens when both factors contain a letter? Multiply two binomials, reverse the expansion to factorise monic quadratics, and use the cancellation in a difference of two squares, including exact square roots.

Multiplying two binomials

A rectangle has side lengths x+3x+3 and x+2x+2. Is its area x2+6x^2+6? Splitting each side shows two extra regions that this tempting answer misses.

[DIAGRAM: asset_name: Four products in a rectangle; asset_slug: two-bracket-area; caption: Each term in the first bracket multiplies each term in the second.; description: A rectangle of width x plus three and height x plus two, split into four regions. The widths are x and three; the heights are x and two. The four areas are labelled x squared, three x, two x and six. The picture uses positive x.]
Each term in the first bracket multiplies each term in the second.

The four areas add to x2+3x+2x+6x^2+3x+2x+6. The two middle regions explain why multiplying only the first terms and the last terms is incomplete. A binomial is an expression with two terms; multiplying two binomials gives four products before any like terms are collected.

Multiplying two binomials

(a+b)(c+d)=ac+ad+bc+bd(a+b)(c+d)=ac+ad+bc+bd

Every term in one bracket multiplies every term in the other. The rule holds for all real values, including negative terms and zero. It is not supplied on the 2027 formula sheets: learn it.

Use distribution twice: first a(c+d)+b(c+d)a(c+d)+b(c+d), then distribute within each part. A grid is another way to keep track of the same four products.

Worked example 1: two positive constants

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

Plan. Find all four products, then collect the two xx-terms.

(x+3)(x+2)=x⋅x+x⋅2+3⋅x+3⋅2every pair of terms=x2+2x+3x+6calculate products=x2+5x+6collect like terms\begin{aligned} (x+3)(x+2)&=x\cdot x+x\cdot2+3\cdot x+3\cdot2 &&\text{every pair of terms}\\ &=x^2+2x+3x+6 &&\text{calculate products}\\ &=x^2+5x+6 &&\text{collect like terms} \end{aligned}

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

Check. At x=1x=1, the bracket form is 4×3=124\times3=12, and the expansion is 1+5+6=121+5+6=12.

Change only the sign of the two in the second bracket. Two of the four products now change sign.

Worked example 2: one negative constant

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

Plan. Multiply every pair, keeping negative two as a signed term.

(x+3)(x−2)=x⋅x+x(−2)+3x+3(−2)distribute both terms=x2−2x+3x−6signed products=x2+x−6collect the middle terms\begin{aligned} (x+3)(x-2)&=x\cdot x+x(-2)+3x+3(-2) &&\text{distribute both terms}\\ &=x^2-2x+3x-6 &&\text{signed products}\\ &=x^2+x-6 &&\text{collect the middle terms} \end{aligned}

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

Check. At x=4x=4, the brackets give 7×2=147\times2=14, matching 16+4−6=1416+4-6=14.

The same method works with other letters or coefficients. For example, (a+2b)(a−b)=a2−ab+2ab−2b2=a2+ab−2b2(a+2b)(a-b)=a^2-ab+2ab-2b^2=a^2+ab-2b^2. The negative sign belongs to −b-b in both of its products.

Watch out

(x+3)(x+2)=x2+6(x+3)(x+2)=x^2+6 misses the products 2x2x and 3x3x. Make four products before you simplify. When squaring a bracket, there are still four products: (x+3)2=x2+6x+9(x+3)^2=x^2+6x+9, not x2+9x^2+9.

Use the same structure with a fresh positive and negative constant.

Finding quadratic factors

Expanding the general product (x+p)(x+q)(x+p)(x+q) gives x2+(p+q)x+pqx^2+(p+q)x+pq. To reverse that process, find two numbers whose sum gives the middle coefficient and whose product gives the constant term.

Monic quadratic

A quadratic expression has highest variable power two after simplification, with a non-zero squared-term coefficient. It is monic when that coefficient is one, as in x2+bx+cx^2+bx+c.

For x2+bx+c=(x+p)(x+q)x^2+bx+c=(x+p)(x+q), the numbers must satisfy both p+q=bp+q=b and pq=cpq=c.

When seeking integer factors, list factor pairs of ∣c∣|c| and use the signs. A positive product requires two signs the same; their sum decides which sign. A negative product requires opposite signs; their sum decides which number has the greater magnitude. If no integer pair works, say so rather than forcing a false factorisation. For example, x2+x+1x^2+x+1 has no such integer pair: the only integer pairs with product one are (1,1)(1,1) and (−1,−1)(-1,-1), whose sums are two and negative two, not one.

Worked example 3: two negative factors

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

Plan. Find a pair with product six and sum negative five.

(−2)(−3)=6correct product(−2)+(−3)=−5correct sumx2−5x+6=(x−2)(x−3)use the pair in brackets\begin{aligned} (-2)(-3)&=6 &&\text{correct product}\\ (-2)+(-3)&=-5 &&\text{correct sum}\\ x^2-5x+6&=(x-2)(x-3) &&\text{use the pair in brackets} \end{aligned}

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

Check. Expansion gives x2−3x−2x+6=x2−5x+6x^2-3x-2x+6=x^2-5x+6. Both the middle term and constant agree.

Change only the sign of the constant term. The product must now be negative, so the two numbers have opposite signs.

Worked example 4: opposite signs

Question. Factorise x2−5x−6x^2-5x-6.

Plan. Find an opposite-sign pair with product negative six and sum negative five.

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

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. The constant is negative and the middle coefficient is negative five, as required.

A repeated pair is allowed too: x2−6x+9=(x−3)2x^2-6x+9=(x-3)^2. If the constant is zero, use the common-factor method: x2+4x=x(x+4)x^2+4x=x(x+4).

Watch out

Finding a pair with the correct product is only half the job. For x2−2x−15x^2-2x-15, (x+5)(x−3)(x+5)(x-3) has constant −15-15 but middle term +2x+2x. Reverse the signs to obtain (x−5)(x+3)(x-5)(x+3).

The next quadratic does have an integer pair; use both conditions to find it.

Differences of squares

Multiply (a−b)(a+b)(a-b)(a+b) and the middle products cancel: one is +ab+ab, the other is −ab-ab. This makes a two-term expression factorise into two binomials.

Difference of two squares

For all real aa and bb,

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

The two brackets have the same terms and opposite signs between them. This rule is not on the 2027 formula sheets: learn it.

Recognise both squares before writing the factors. For example, x2−25=x2−52x^2-25=x^2-5^2, so its factors are (x−5)(x+5)(x-5)(x+5). You need subtraction: x2+25x^2+25 does not follow this difference-of-squares pattern.

Worked example 5: a square-number constant

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

Plan. Write nine as a square and use the opposite-sign brackets.

x2−9=x2−32identify both squares=(x−3)(x+3)reverse the cancellation\begin{aligned} x^2-9&=x^2-3^2 &&\text{identify both squares}\\ &=(x-3)(x+3) &&\text{reverse the cancellation} \end{aligned}

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

Check. Expanding gives x2+3x−3x−9=x2−9x^2+3x-3x-9=x^2-9, with no middle term.

Change only the constant from nine to five. Five is not the square of an integer, but it is the square of its exact square root. You do not need a decimal approximation.

Worked example 6: an exact square root

Question. Factorise x2−5x^2-5 using exact values.

Plan. Write 5=(5)25=(\sqrt5)^2 and use the same pattern.

x2−5=x2−(5)2identify the exact root=(x−5)(x+5)opposite-sign brackets\begin{aligned} x^2-5&=x^2-(\sqrt5)^2 &&\text{identify the exact root}\\ &=(x-\sqrt5)(x+\sqrt5) &&\text{opposite-sign brackets} \end{aligned}

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

Check. The middle terms x5x\sqrt5 and −x5-x\sqrt5 cancel. The constant product is −5×5=−5-\sqrt5\times\sqrt5=-5, exactly as required.

This is the connection: “not a square number” does not mean “cannot be written as a square”. Every positive real number cc is (c)2(\sqrt c)^2, so x2−c=(x−c)(x+c)x^2-c=(x-\sqrt c)(x+\sqrt c). At c=0c=0, this becomes x×xx\times x. For c<0c<0, c\sqrt c is not real, so that real-root construction does not apply.

Watch out

x2−9=(x−3)2x^2-9=(x-3)^2 is wrong: squaring one bracket produces x2−6x+9x^2-6x+9. The opposite signs in (x−3)(x+3)(x-3)(x+3) are what cancel the middle terms and make the constant negative.

Keep the square root exact in this new factorisation.

Quick Recap

  • Multiply every term in one binomial by every term in the other, then collect like terms.
  • For monic quadratic factors, the two constants must have both the correct sum and the correct product.
  • Not every monic quadratic has integer factors.
  • In a difference of squares, opposite-sign brackets cancel the middle terms.
  • Exact square roots let you factorise x2−cx^2-c for positive cc without rounding.

The rectangle's area is x2+5x+6x^2+5x+6, because the two middle regions contribute 3x+2x3x+2x. Multiplying only the corners misses part of the area.