Algebra · real student question

Expand (x + 2)(x + 5).

Question

Expand

(x+2)(x+5)(x+2)(x+5)

Step-by-step solution

  1. Split the product using the distributive law. Treat (x+5)(x+5) as a single object multiplied by each term of the first bracket:

    (x+2)(x+5)=x(x+5)+2(x+5)(x+2)(x+5)=x(x+5)+2(x+5)

  2. Distribute each piece.

    x(x+5)=x2+5x,2(x+5)=2x+10x(x+5)=x^2+5x,\qquad 2(x+5)=2x+10

    These four products are exactly the F, O, I, L of the mnemonic: First xxx\cdot x, Outer x5x\cdot 5, Inner 2x2\cdot x, Last 252\cdot 5.

  3. Add and combine like terms.

    x2+5x+2x+10=x2+7x+10x^2+5x+2x+10=x^2+7x+10

  4. Note the shortcut for monic binomials. When both brackets are (x+p)(x+p) and (x+q)(x+q), the answer is always x2+(p+q)x+pqx^2+(p+q)x+pq. Here p+q=7p+q=7 and pq=10pq=10, which is why the middle coefficient is 77 and the constant is 1010 — and it is exactly the pattern used in reverse when factoring.

  5. Verify numerically. At x=3x=3: (5)(8)=40(5)(8)=40, and 9+21+10=409+21+10=40 \checkmark. At x=2x=-2: (0)(3)=0(0)(3)=0, and 414+10=04-14+10=0 \checkmark.

Answer

(x+2)(x+5)=x2+7x+10(x+2)(x+5)=x^2+7x+10

Need to solve a different problem like this? Open the solver →