We know that give any pair of real numbers A and B, the following statement will be true:

if, and only if

Now, if we factor a quadratic equation into two factors A and B, and use the fact we've just mentioned, we can then equal each factor to zero, solve for x and get the solutions to said quadratic equation.