Algebra · real student question

Multiply (x - 4)(x^2 - 5x - 6).

Question

Multiply

(x4)(x25x6)(x-4)(x^2-5x-6)

Step-by-step solution

  1. Set up the distribution. FOIL only covers binomial times binomial. With a trinomial you distribute each term of (x4)(x-4) across all three terms, giving 2×3=62 \times 3 = 6 products to collect.

  2. Distribute the xx.

    x(x25x6)=x35x26xx(x^2 - 5x - 6) = x^3 - 5x^2 - 6x

  3. Distribute the 4-4. Two sign flips happen here, so go slowly: 4×5x=+20x-4 \times -5x = +20x and 4×6=+24-4 \times -6 = +24.

    4(x25x6)=4x2+20x+24-4(x^2 - 5x - 6) = -4x^2 + 20x + 24

  4. Add the two rows and collect like terms.

    x3+(5x24x2)+(6x+20x)+24=x39x2+14x+24x^3 + (-5x^2 - 4x^2) + (-6x + 20x) + 24 = x^3 - 9x^2 + 14x + 24

  5. Sanity-check the leading and constant terms. The leading term must be xx2=x3x \cdot x^2 = x^3 ✓ and the constant must be (4)(6)=+24(-4)(-6) = +24 ✓ — a negative constant would have been an immediate sign error. Distractors such as x3x2+26x+24x^3 - x^2 + 26x + 24 and x35x2+10x+24x^3 - 5x^2 + 10x + 24 get the ends right but the middle wrong.

  6. Verify with a test value. At x=2x = 2 the original is (24)(4106)=(2)(12)=24(2-4)(4-10-6) = (-2)(-12) = 24, and the expansion gives 836+28+24=248 - 36 + 28 + 24 = 24 ✓.

Answer

x39x2+14x+24x^3 - 9x^2 + 14x + 24

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