# How do you solve x^2+5x-84=0?

##### 1 Answer
Aug 2, 2015

The solutions for the expression are:
 color(blue)(x=7, color(blue)(x=-12

#### Explanation:

x^2+5x–84

We can first factorise the above expression and then proceed towards finding the solution.

Factorising by splitting the middle term

x^2+color(blue)(5x)–84 = x^2+color(blue)(12x -7x)–84

$= x \left(x + 12\right) - 7 \left(x + 12\right)$

color(blue)((x-7)(x+12)  is the factorised form for the expression.

Now we can equate each factor with zero and obtain the solutions.

x-7=0, color(blue)(x=7
x+12=0, color(blue)(x=-12