Professional Documents
Culture Documents
An Intro To Quadratics
An Intro To Quadratics
Abstract
Contents
1 Definition 2
2 Algebraically 2
2.1 Polynomial representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.2 Solving for x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.2.1 Factorizing the equation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.2.2 Using the quadratic formula . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Graphically 5
3.1 Representation of a quadratic equation . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2 Completing the square . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.3 Completing the square – the lazy way . . . . . . . . . . . . . . . . . . . . . . . . 7
3.4 Graphical properties of the parabola . . . . . . . . . . . . . . . . . . . . . . . . . 8
1
1 Definition
The so-called quadratic equation is a widely used mathematical concept. It is immensely powerful
in a range of areas, from the flight time of a bird to advanced projectile motion, and is easy to use
when understood. Due to its notoriety, many tools have been designed to facilitate the analysis
of the quadratic equation.
2 Algebraically
2.1 Polynomial representation
Mathematically speaking, a quadratic equation is a polynomial equation of degree two. That is,
all quadratic equations can be defined by three parameters a, b, c ∈ R, with a 6= 0, as follows :
ax2 + bx + c = 0
The first method does not always work (we will see why), while the second is general and will
succeed in solving the equation for any values of a, b and c (even those which yield an equation
that doesn’t have real solutions). This list does not include “completing the square” as it is
essentially the same as using the quadratic formula.
x2 + bx + c = 0
2
How can we factorize this ? Remember what we want is something in the form (x−m)(x−n) = 0.
Maybe it would be better to expand this instead of factorizing the original equation :
(x − m)(x − n) = 0
2
x − (m + n)x + mn = 0
Comparing this with our original equation, we see that b = −(m + n) and c = mn. The smart
among you might wonder, these two equations can be simultaneously solved so why bother ? Yes,
but solving them requires to solve another quadratic equation, which is what we are actually
trying to do. So the only alternative is to basically guess and check. Once you found two
numbers m, n that multiply together to give c, and add together to give b, then you know that
x2 + bx + c = (x − m)(x − n). Then, the solutions to the equation are simply :
x=m and x=n
Doing this a lot, you will soon be able to mentally factorize most quadratic equations quickly.
Now what if a 6= 1 ? This is harder, because we have to factorize the full equation :
ax2 + bx + c = 0
We now want something else, in the form (px − m)(qx − n) = 0 (the coefficients in front of
the x are necessary to obtain ax2 ). So let’s expand this :
(px − m)(qx − n) = 0
2
pqx − x(pn + qm) + mn = 0
Now you need to find two numbers that multiply to a, two other numbers that multiply to c,
and check that those four numbers satisfy pn + qm = b. This is not the most optimized method,
but better ones will not be dwelled upon in this paper as the quadratic formula is much more
useful and simple to use.
As to conclude on factorizing quadratic equations, bear in mind that there are some equations
that simply cannot be solved this way – typically, you won’t be able to find two numbers that
multiply to c and add to b for instance, because these just don’t exist.
3
We may add another line : if ∆ is a perfect square, the solutions will be rational (the proof
is left as an exercise to the reader). For more explanation on why this is (apart from the fact
that taking the square root of a negative real number is not possible, and that ∆ = 0 yields a
repeated root), you can read though the proof in the “Graphical” section. It does not require
knowledge on how to derive the quadratic formula.
Anyway, this formula always works (it can be used to find complex roots, which you will
probably find about soon) and is easy to use, apart that it is easy to make a sign error, especially
in the discriminant. This is handy, and this is how it was discovered (follow the steps) :
ax2 + bx + c = 0
b c
x2 + x + = 0
a a
2 2
b b b c
x2 + x + − + =0
a 2a 2a a
2 2
b b c
x+ = −
2a 2a a
s 2
b b c
x+ =± −
2a 2a a
r
b b2 − 4ac
x+ =±
2a 4a2
√
b b2 − 4ac
x+ =± √
2a 4a2
√
−b ± b2 − 4ac
x=
2a
4
3 Graphically
3.1 Representation of a quadratic equation
Graphically, by plotting the values of y(x) = ax2 + bx + c against x, all quadratic equations
always take the shape of a parabola. This is due to the squared x value : x2 is not proportional
to x, so the graph cannot possibly be a line. As x2 = (−x)2 , the shape of the curve will be
symmetrical. And, to finish, x2 will increase faster than x for |x| > 1, therefore leading to an
ever-increasing slope. The three parameters a, b and c give information on how the parabola will
look like. For instance, if a > 0, then the parabola will go down, then up, much like this :
Here the parabola is defined by a = 1, b = 1, and c = 1. When a < 0, then the parabola will
be reversed : it will go up, then down. This is commonly called the direction of the parabola,
and is solely parameterized by a (b and c are not involved in the direction nor the slope of the
parabola). Also, the absolute value of a gives information on the slope of the parabola : greater
means steeper. As an illustration of this statement, the following graphs were plotted together :
5
The red parabola is defined by a = 2, the blue one by a = 1 and the green one by a = 0.5.
Note how the slope of the parabola gets steeper as a increases. This is also valid for negative
values of a : the slope will be identical, the parabola will simply be reversed.
There is a problem, though : the values of b and c are not of much use when considering the
graphical representation of a quadratic equation. This is why another tool exists, which is called
the vertex form. It is another equation which is, while being equivalent to the original quadratic
equation, much more intuitive when looking at parabolas, and takes the general form of :
y = a(x − h)2 + k
In this case, a still gives information on the direction and slope of the parabola (actually, it is
identical to the a of the first equation), h gives the horizontal displacement of the parabola, and
k gives the vertical displacement of the parabola. Indeed, if the graph of any quadratic equation
is compared to the “basic” equation y = x2 , one can see that it is not that much different : the
only difference resides in the slope and direction of the parabola and the position of the vertex.
With the new equation, the vertex is simply located at the point (h, k). For instance, using the
equation y = (x − 2)2 + 1 with a = 1, h = 2, k = 1, we graph this :
y = 3x2 + 6x − 1
6
that 2mn = 2x), which nearly fits the original equation. Indeed, the identity requires that we
have n2 = 12 = 1 at the end, but we have −1 3 . So how can we do ? We can simply state that
−1 4
3 = 1 − 3 . This may seem very pointless at first, but it allows us to complete the square :
y 4
= x2 + 2x + 1 −
3 3
Now, using the identity on all but the last term :
y 4
= (x + 1)2 −
3 3
Then, multiply everything by a = 3 :
y = 3(x + 1)2 − 4
And we have the vertex form of the equation, giving us all the precious information we needed
about this parabola (which remains exactly the same thoughout the process). By the way, setting
m = x is necessary because vertex form does not allow any coefficient directly in front of the x.
This might feel like cheating but it is a valid way of doing it . . . Now that we have our square :
2 2
y b b c
= x+ − +
a 2a 2a a
2
b2 − 4ac
y b
= x+ −
a 2a 4a2
2
b2 − 4ac
b
y =a x+ −
2a 4a
7
This is the vertex form. So, we can conclude by giving the relationships :
−b b2 − 4ac
h= and k=−
2a 4a
Note that you can spot the discriminant of the equation here – and more importantly, you can
finally see why it actually succeeds in telling us the number of real roots the equation has. Let
∆ = b2 − 4ac, and assume that a is positive, then if ∆ = 0, k = 0, so the equation becomes
y = a(x − h)2 which must only touch the x-axis in one x value. If ∆ > 0, then a(x − h)2 is
∆
positive and − 4a is negative, so the equation will have negative values (the parabola will cross
∆
the x-axis in two distinct points). Finally, if ∆ < 0, then a(x − h)2 is still positive but − 4a
becomes positive, so their sum will remain positive, therefore the parabola will never touch the
x-axis (and thus no real solutions). If a is negative, a similar argument can be used, with minor
modifications. This leads to the same conclusion found using direct algebra :
< 0 No real solutions : parabola does not touch the x-axis
∆ = b2 − 4ac = 0 One real solution : parabola is tangent to x-axis
> 0 Two real solutions : parabola does cross the x-axis