Expand Expression Calculator

Multiply out brackets and collect the like terms.

Use letters, brackets, + − × ÷ and whole powers.

Try

Result

You entered2x2−7x−42x^{2} - 7x - 4

2x2−7x−4\displaystyle 2x^{2} - 7x - 4

Degree

2\displaystyle 2

Number of terms

3\displaystyle 3

Factored form

(x−4)(2x+1)\displaystyle \left(x - 4\right)\left(2x + 1\right)
Show the work
  1. Distributive property

    Multiply every term in each bracket by every term it is multiplied with, keeping each sign with its term. Each multiplication uses the distributive property.

    Using k(p+q)=kp+kqk\left(p + q\right) = kp + kq

    2x2−8x+x−42x^{2} - 8x + x - 4
  2. Collect like terms

    Like terms have the same letters with the same powers, so their coefficients can be added. Add the numbers in front of each group of like terms.

    Using ax+bx=(a+b)xax + bx = \left(a + b\right)x

    −8x+x=(−8+1)x=−7x\begin{aligned} -8x + x &= \left(-8 + 1\right)x \\ &= -7x \end{aligned}
  3. Result

    So the expanded form is 2x2−7x−42x^{2} - 7x - 4.

Worked examples