Expanding double brackets

Math · Algebra I

Question 1 of 10

0

    Expand and simplify (x + 8)². What is the coefficient of x?

    Decimals (0.75 or 0,75), fractions (3/4) and mixed numbers (1 1/2) are accepted. Do not use thousands separators.

    How to type your answer
    • Fractions: 3/4. Mixed numbers: 1 1/2.
    • Decimals with a point or a comma: 0.75 or 0,75.
    • Negative numbers start with a minus: -3/4.
    • Percentages need the % sign: 75%.

    Stuck? Read the explanation

    Unlocks at a streak of 5 correct answers in a row.

    Print a free worksheet (PDF)

    Embed this practice on your site or class page

    Paste this HTML into your page. Students practise right there; it is free and needs no account.

    Expanding double brackets explained

    Expanding double brackets means multiplying two brackets together, so that every term in one bracket multiplies every term in the other. Collect the like terms afterwards to get a simplified expression, usually a quadratic with an x2x^2 term, an xx term and a constant.

    The letters FOIL (first, outer, inner, last) are a helpful reminder of the four products. The x2x^2 term comes from the two first terms, the xx term is the sum of the outer and inner products, and the constant is the product of the last terms.

    Watch for the two common square forms. (x+p)2=x2+2px+p2(x + p)^2 = x^2 + 2px + p^2, so the xx term is 2p2p, not pp, and the constant is p2p^2, not pp. (x+p)(x−p)=x2−p2(x + p)(x - p) = x^2 - p^2, a difference of two squares. For non-monic brackets, (ax+b)(cx+d)=acx2+(ad+bc)x+bd(ax + b)(cx + d) = acx^2 + (ad + bc)x + bd.

    Worked example

    Expand (2x+3)(x−4)(2x + 3)(x - 4).

    1. 2x×x=2x22x \times x = 2x^2, 2x×(−4)=−8x2x \times (-4) = -8x, 3×x=3x3 \times x = 3x and 3×(−4)=−123 \times (-4) = -12.
    2. Collect the like terms: 2x2−8x+3x−12=2x2−5x−122x^2 - 8x + 3x - 12 = 2x^2 - 5x - 12.

    Check at x=1x = 1: the brackets give 5×(−3)=−155 \times (-3) = -15, and 2−5−12=−152 - 5 - 12 = -15. Also, (x+5)2=x2+10x+25(x + 5)^2 = x^2 + 10x + 25, not x2+25x^2 + 25.

    Key facts

    • The practice questions start with monic brackets such as (x+4)(x−7)(x + 4)(x - 7) and squares such as (x+p)2(x + p)^2. Medium questions use brackets like (3x−2)(2x+5)(3x - 2)(2x + 5). Hard questions use squares like (4x−3)2(4x - 3)^2 and combinations such as a square minus a product.
    • Many questions ask for one part only: the coefficient of x2x^2, the coefficient of xx, or the constant term. You still do the whole expansion unless you are confident about which products to use.
    • For (ax+b)(cx+d)(ax + b)(cx + d): the x2x^2 coefficient is acac, the xx coefficient is ad+bcad + bc and the constant is bdbd.
    • For (ax+b)2(ax + b)^2: the coefficients are a2a^2, 2ab2ab and b2b^2. The middle term is twice the product of the two terms.
    • Check by substituting x=1x = 1 into the brackets and into your answer. If they differ, there is a mistake.
    • Signs are where most marks are lost. Treat each term as carrying its sign, so in (3x−2)(3x - 2) the second term is −2-2, and multiply the signs as well as the numbers.
    • The answer to a full expansion is written in descending powers: the x2x^2 term, then the xx term, then the number.

    Worked example 2

    Expand (3x−2)(2x+5)(3x - 2)(2x + 5) and give the coefficient of xx.

    1. 3x×2x=6x23x \times 2x = 6x^2.
    2. 3x×5=15x3x \times 5 = 15x.
    3. −2×2x=−4x-2 \times 2x = -4x.
    4. −2×5=−10-2 \times 5 = -10.
    5. Collect: 6x2+15x−4x−10=6x2+11x−106x^2 + 15x - 4x - 10 = 6x^2 + 11x - 10.

    The coefficient of xx is 11. Check with the formula: ad+bc=3×5+(−2)×2=15−4=11ad + bc = 3 \times 5 + (-2) \times 2 = 15 - 4 = 11. Check at x=1x = 1: (1)(7)=7(1)(7) = 7 and 6+11−10=76 + 11 - 10 = 7.

    Worked example 3

    Expand (4x−3)2(4x - 3)^2.

    1. Write it as two brackets: (4x−3)(4x−3)(4x - 3)(4x - 3).
    2. 4x×4x=16x24x \times 4x = 16x^2.
    3. The two middle products are 4x×(−3)=−12x4x \times (-3) = -12x, twice, so −24x-24x.
    4. (−3)×(−3)=+9(-3) \times (-3) = +9.
    5. The answer is 16x2−24x+916x^2 - 24x + 9.

    Check with 2ab=2×4×(−3)=−242ab = 2 \times 4 \times (-3) = -24. Check at x=1x = 1: (1)2=1(1)^2 = 1 and 16−24+9=116 - 24 + 9 = 1. The squared bracket does not give 16x2+916x^2 + 9. The middle term is always there.

    Worked example 4

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

    1. Expand the square: (3x+2)2=9x2+12x+4(3x + 2)^2 = 9x^2 + 12x + 4.
    2. Expand the product: (2x+5)(2x−5)=4x2−25(2x + 5)(2x - 5) = 4x^2 - 25. The two middle terms, −10x-10x and +10x+10x, cancel.
    3. Put the second result in brackets because of the minus sign: 9x2+12x+4−(4x2−25)9x^2 + 12x + 4 - (4x^2 - 25).
    4. Remove the brackets: 9x2+12x+4−4x2+259x^2 + 12x + 4 - 4x^2 + 25.
    5. Collect: 5x2+12x+295x^2 + 12x + 29.

    Check at x=1x = 1: 25−(7)(−3)=25+21=4625 - (7)(-3) = 25 + 21 = 46, and 5+12+29=465 + 12 + 29 = 46.

    Common mistakes

    • Writing (x+p)2=x2+p2(x + p)^2 = x^2 + p^2. The middle term 2px2px is missing.
    • Multiplying only the first and last terms and forgetting the outer and inner products.
    • Sign errors with negative numbers: −2×2x=−4x-2 \times 2x = -4x, not +4x+4x.
    • Subtracting only the first term of a product: −(4x2−25)-(4x^2 - 25) becomes −4x2+25-4x^2 + 25, not −4x2−25-4x^2 - 25.
    • Squaring only the number and not the xx term: (4x)2=16x2(4x)^2 = 16x^2, not 4x24x^2.

    Exam tips

    • Draw the four arrows or a small grid so that no product is missed. You should always have four products before you collect. A square of a bracket is a product of two identical brackets, so it has four products too.
    • Put any bracket that follows a minus sign in its own brackets, then remove them in a separate step.
    • Quick check: substitute x=1x = 1 (or x=2x = 2) into the original and your answer.
    • For a question about one coefficient, the formulas ad+bcad + bc and 2ab2ab give it directly, and you can use the substitution check to confirm it.
    • Give the final answer in order: x2x^2 term, xx term, constant.
    • If the question asks only for the constant term, the product of the two last terms is enough, but write it with its sign. A negative times a negative is positive.

    What you will practise

    New numbers every time you practise. Levels: Easy, Medium, Hard. Each answer is followed by a worked explanation.

    Example questions

    • Easy

      Expand and simplify (x + 1)(x − 5). What is the coefficient of x?

    • Medium

      Expand and simplify (3x − 1)(6x + 9). What is the coefficient of x²?

    • Hard

      Expand and simplify (2x + 4)² − (5x + 1)(5x − 1). What is the coefficient of x²?