The solution to a general quadratic equation is frequently committed to memory. Where that solution comes from is less often understood.

The quadratic equation is given by

 Eq.(1)

where a, b, and c are constants.

The roots of this equation are the points at which y=0. That is, the roots are where the graph of Eq.(1) crosses the x-axis.

In the case that a is zero, Eq.(1) is that of the straight line y = bx + c. Then there is only a single root, or point where the line crosses the x-axis. That point is at (x, y) is (-c/b, 0).

We are interested in the non-trivial case where a is non-zero. The roots of our quadratic are the solutions to

 Eq.(2)

Our goal is to solve Eq.(2) for x. We begin by dividing both sides of the equation by a.

 Eq.(3)

Move c/a to the right side of the equation by subtracting c/a.

 Eq.(4)

We leave our equation temporarily to consider the following squared term.

 Eq.(5)

The details of the multiplication exercise are left as an aside.

Solving for the first two terms on the right hand side of our equation we have

 Eq.(6)

Note that the left hand side of Eq.(6) is the same as the left hand side of Eq.(4). Setting the right hand sides of these two expressions equal, we write

 Eq.(7)

We move the last term on the left hand side of the equation to the right by addition.

 Eq.(8)

Carrying through the square on the right hand side leaves us with

 Eq.(9)

It is convenient to express the right hand side using a common denomination. When this is done, our equation reduces to

 Eq.(10)

The square on the left side of Eq.(10) must be dealt with to solve for x.

Before we take the square root, recall that

We take the square root of Eq.(10), including both the positive and negative roots, to obtain

 Eq.(11)

This result can be simplified by carrying the square root through the numerator and denominator of the right hand side.

 Eq.(12)

The denominator is easily taken care of, leaving us with

 Eq.(13)

Moving the second term on the left hand side to the right is accomplished by subtraction.

 Eq.(14)

Finally, the right hand side can be expressed as a single term with 2a as the common denominator.

 Eq.(15)