Introduction to the discriminant02_01A

You should already know the different forms you can express a quadratic in which can provide different types of solutions (i.e.
f(x)=ax2+bx+cf(x)=ax^2+bx+c
for roots,
f(x)=a(xr1)(xr2)f(x)=a(x-r_1)(x-r_2)
again for roots, and
f(x)=a(xh)2+k)f(x)=a(x-h)^2+k)
for vertex points), so I won't bother explaining each, and instead we'll jump straight to the interesting bits: roots. Roots are the
xx
-intercepts of a polynomial function (such as a quadratic). Within a quadratic, you can have either 2, 1, or 0 roots depending on the nature of the function. We can find the number of these roots in a given quadratic through what's called the discriminant:
b24acb^2-4ac
. The note below describes the solutions and their cases.

Solution occurrences

b24ac<0b^2-4ac<0
when the quadratic has
00
real solutions (all solutions are imaginary)
b24ac=0b^2-4ac=0
when the quadratic has
11
real solution
b24ac>0b^2-4ac>0
when the quadratic has
22
distinct real solutions
Think about it, when you get a math error on your calculator when typing a quadratic into the formula
b±b24ac2a\frac{-b \pm \sqrt{b^2-4ac}}{2a}
, chances are, the discriminant (the
b24acb^2-4ac
bit), is
<0<0
. You'll learn what happens when you square-root a negative number, in a later chapter. For now, just assume that you get no real solution (i.e. no
xx
-intercepts) when the discriminant is less than 0. In general, it's also helpful when graphing these functions, as will be explained later on!

Using the
aa
coefficient and discriminant02_02A

When sketching a quadratic, we can use the discriminant to determine how many intercepts we have, but we can also use the
aa
coefficient (that's negative or positive) to determine the "directionality" that the quadratic points. If the coefficient of that first
xx
is negative, the graph points downwards i.e.
x2+2x+1-x^2+2x+1
(go ahead and plot this for yourself). If that first variable is positive, the graph points upwards i.e.
x2+2x+1x^2+2x+1
. This should be common knowledge, hence this section is short.

Axis of symmetry and maximums/minimums02_03A

A quadratic will always have an axis of symmetry. It's just the nature of this type of function. When we look at a graph of
y=x2y=x^2
, we see that the minimum (or maximum if that
aa
coefficient is negative) is the axis of symmetry (or, more precisely, the point of symmetry). If that's the case, we can find the axis from these three forms of a quadratic:

Axis of symmetry

In the form
y=a(xp)(xq)y=a(x-p)(x-q)
, the axis of symmetry is:
x=p+q2x=\frac{p+q}{2}
therefore, the vertex is
(p+q2,f(p+q2))\left(\frac{p+q}{2}, f\left(\frac{p+q}{2} \right) \right)
In the form
y=a(xh)2+ky=a(x-h)^2+k
, the axis of symmetry is:
x=hx=h
therefore, the vertex is
(h,k)\left(h,k \right)
In the form
y=ax2+bx+cy=ax^2+bx+c
, the axis of symmetry is:
x=b2ax=-\frac{b}{2a}
therefore, the vertex is
(b2a,f(b2a))\left(-\frac{b}{2a}, f\left(-\frac{b}{2a} \right) \right)
It's not a smart idea to memorize these formulas, simply because they can be derived easily from the graph. We know since the graph is
symmetrical
, we can just get the average of the
xx
-values of the roots.
This topic has applications in areas such as physics (with finding the max height of a projectile, for instance), maximizing revenue, and/or maximizing area given a set of constraints. If we are to look at a quadratic, the vertex shows the maximum or minimum point of a function, depending on whether the parabola opens downwards or upwards respectively. As explained above, if the
aa
coefficient is positive, the quadratic opens upwards, and hence you get a minimum. Vice versa for a quadratic opening downwards, which would provide a maximum.

Optimization problems

A farmer has
500500
meters of fencing and wants to enclose a rectangular field. One side of the field is along a river and does not require fencing. What dimensions will maximize the area of the field?
First, recognize that the total perimeter has to add to
500500
, and let
xx
be the width perpendicular to the river and
yy
be the length parallel to the river. You therefore get the perimeter to be
2x+y=5002x+y=500
and area to be
A=xyA=xy
Then, rearrange the values for
yy
to find the width:
y=5002xy=500-2x
then
A=x(5002x)A=x(500-2x)
and finally
A=500x2x2A=500x-2x^2
Finally, rewrite as a quadratic and use the vertex formula to find the max width (since the
aa
value is negative, and hence the quadratic opens downwards to produce a maximum):
A=2x2+500xA=-2x^2+500x
then
x=5002(2)=125x=-\frac{500}{2(-2)}=125
Find the length as:
y=5002(125)=250y=500-2(125)=250
, which means that the max dimensions are
125m×250m125m\times 250m
with an area of
31,250m231,250m^2

Positive and negative definite quadratics02_04A

The last thing you'll need to know for graphing, is whether a quadratic might be positive or negative definite. These terms essentially mean whether the quadratic ever passes the
xx
-axis in either the negative or positive
yy
Cartesian space.

Definite quadratics

Positive definite when
a>0a>0
and
Δ<0\Delta <0
for all values
xRx \in \mathbb{R}
Negative definite when
a<0a<0
and
Δ<0\Delta <0
for all values
xRx \in \mathbb{R}

So what?02_05A

Knowing the above information is useful when sketching these graphs. When you sketch one, you generally have to add on the roots, axis of symmetry, vertex, and
yy
-intercept to get all the marks on a question.

Sketching quadratic graphs

1) Sketch these quadratics, including all points mentioned above:
y=4x25x+2y=4x^2-5x+2
,
y=2(x4)(x3)y=2(x-4)(x-3)
, and
y=3(x+2)2+1y=-3(x+2)^2+1
2) Explain why this quadratic has no real solutions:
20x256x+4020x^2-56x+40
3) State the values of
kk
for which this quadratic
5x2+kx35x^2+kx-3
will have: 2 solutions, 1 solution, and 0 solutions
4) Explain why
3x2+kx13x^2+kx-1
is never positive definite for any value of
kk
5) Find the value of
kk
such that
y=12x2+(k2)x+k2+4y=\frac{1}{2}x^2+(k-2)x+k^2+4
is not positive definite. What relationship does the graph have with the
xx
-axis in this case?

Roots02_06A

As described earlier, the solutions of a quadratic are know as it's roots. We can construct new quadratic functions to or find sums/products of roots of a quadratic.

Roots

The roots of
ax2+bx+cax^2+bx+c
are:
α=b+b24ac2a\alpha=\frac{-b +\sqrt{b^2-4ac}}{2a}
and
β=bb24ac2a\beta=\frac{-b -\sqrt{b^2-4ac}}{2a}
The sum of these roots are:
α+β=b+b24ac2a+bb24ac2aba\alpha + \beta=\frac{-b +\sqrt{b^2-4ac}}{2a}+\frac{-b -\sqrt{b^2-4ac}}{2a} \equiv -\frac{b}{a}
The product of these roots are:
αβ=(b+b24ac2a)(bb24ac2a)ca\alpha \beta=\left( \frac{-b +\sqrt{b^2-4ac}}{2a} \right) \left( \frac{-b -\sqrt{b^2-4ac}}{2a} \right) \equiv \frac{c}{a}
A key form that would be good to memorize is:
(α+β)2α2+β2+2αβ\left(\alpha + \beta \right)^2 \equiv \alpha ^2 + \beta ^2 + 2\alpha \beta
, and you can just re-arrange when you need to find
α2+β2\alpha ^2 + \beta ^2
Simple algebraic manipulation can be used to solve questions related to roots. The following example shows how a typical question is solved:

Solving roots

The quadratic equation
x22kx+(k1)=0x^2-2kx+(k-1)=0
has roots
α\alpha
and
β\beta
such that
α2+β2=4\alpha ^2 + \beta^2=4
. Without solving the equation, find the possible values of the real number
kk
.
First, find
α+β=2k\alpha + \beta=2k
and
αβ=k1\alpha \beta=k-1
Expand the roots:
(α+β)2=α2+αβ+αβ+β2\left(\alpha + \beta \right)^2=\alpha ^2+\alpha \beta + \alpha \beta + \beta ^2
Simplify and substitute values:
(α+β)2=(α2+β2)+2αβ\left(\alpha + \beta \right)^2=\left(\alpha ^2 + \beta ^2 \right) + 2\alpha \beta
We know that
α2+β2=4\alpha ^2 + \beta^2=4
, so:
4k2=4+2(k1)4k^2=4+2(k-1)
Simplify and re-arrange:
4k22k2=04k^2-2k-2=0
then
2k2k1=02k^2-k-1=0
then
(2k+1)(k1)=0(2k+1)(k-1)=0
So
k=12k=-\frac{1}{2}
or
k=1k=1

Topics coming soon

  • Maximums and minimums
  • Practical applications
  • ECQs