Definition and general solving of quadratic equations

An equation as x2+3x10=0 is said to be a quadratic equation or a second degree equation because the exponent of x (which is the unknown) is 2 (an equation such as, for example, 4x3+2x+10=0 would not be of the second degree, but of the third).

The general form of an equation of this type is:

ax2+bx+c=0

Where x is the unknown and a, b, c are any numbers.

The formula that allows us to solve this type of equations is the following one:

x=b±b24ac2a

In this operation a sign ± appears, and the fact is that, in principle, a quadratic equation can have two different solutions, one of them is obtained when we use + and other one when we use .

Example

We are going to apply this formula to the equation x2+3x10=0.

We write the values of a, b and c:

a=1,b=3 and c=10

and we replace them in the formula:

x=3±3241(10)21=3±9+402=3±492=

=3±72

And we get two different solutions:

3+72=42=2372=102=5

Therefore, the proposed equation has the solutions 2 and 5.

In most of the textbooks the solutions are indicated by writing a subscript in the letter x, so that in our case we would have:x1=2x2=5

The solutions of the equation are called roots. It is the same to say that 2 and 5 are the solutions, than it is to say that the roots of the equation x2+3x10=0 are 2 and 5.

Let's see other examples:

Example

Solve the equation 6x25x4=0. a=6, b=5 and c=4

x=(5)±(5)246(4)26=5±25+9612=5±1112=

={x1=43x2=12

Example

Find the solutions of the equation x2+x2=0. a=1, b=1 and c=2

x=1±1241(2)21=1±92=1±32={x1=1x2=2

Example

Which are the roots of 2x25x1=0? a=2, b=5 and c=1

x=5±5242(1)22=5±25+84=5±334=={x1=2.69x2=0.19

Example

Solve x216=0. a=1, b=0 and c=16

x=0±04(16)2=±82={x1=4x2=4

Example

Find the roots of 2x24x=0. a=2, b=4 and c=0.

x=4±1642022={x1=2x2=0

Sometimes the terms of the equation are grouped in a different way, as in 5x=3x2 in which case we only need to move everything to the first member 3x2x+5=0

In other cases it is possible that the unknown is not represented using the letter x, as in 3k28k+5=0, but this does not change things.

The solutions for this equation are:

k1=1k2=53

It is important to remember that the square root of a negative number does not exist within the set of the real numbers. If we find a case like this we will say that the equation has no solutions in R.

Example

x2+2x+5=0. a=1, b=2 and c=5.

x=2±42022=2±164

This equation has no solutions in R.