For a quadratic equation of the form x2+bx+c=0, we are able to factorise the left hand side expression into the form (x+p)(x+q), if there exists a p and q such that p+q=b and p×q=c.
For the expression x2−4x−12,
we need two numbers which add together to give −4 and multiply together to give −12. Therefore, p=−6 and q=2, and the quadratic equation can be written in the form (x−6)(x+2)=0.
Since one of the brackets must be 0 for their product to be 0 we know that
x−6=0orx+2=0
and therefore, the solutions to this quadratic equation are
x=6andx=−2.