Algebra · real student question

Solve the equation x^2 + 4x - 21 = 0.

Question

Solve

x2+4x21=0x^2+4x-21=0

Step-by-step solution

  1. Read the signs before hunting for factors. The constant term is negative, which forces the two factors to have opposite signs. The middle coefficient is positive, so the larger factor in absolute value must be the positive one.

  2. List the factor pairs of 2121 and pick the one that works. The candidates are 1211\cdot 21 and 373\cdot 7. Assigning opposite signs, we need a difference of 44:

    7+(3)=4,7(3)=217+(-3)=4,\qquad 7\cdot(-3)=-21

    so the pair is 77 and 3-3.

  3. Write the factorisation.

    x2+4x21=(x+7)(x3)=0x^2+4x-21=(x+7)(x-3)=0

  4. Solve each factor.

    x+7=0  x=7,x3=0  x=3x+7=0\ \Rightarrow\ x=-7,\qquad x-3=0\ \Rightarrow\ x=3

  5. Check both roots. At x=7x=-7: 492821=049-28-21=0 \checkmark. At x=3x=3: 9+1221=09+12-21=0 \checkmark. Note the sign flip between factor and root: the factor (x+7)(x+7) gives the root 7-7, not +7+7.

Answer

x=7orx=3x=-7\quad\text{or}\quad x=3

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