Quadratics

A quick intro to quadratics!

First a quadratic is any equation of the form y=ax^2+bx+c where a,b & c are any real numbers, they produces a graph of the shape:

Rendered by QuickLaTeX.com

Solving a quadratic, means we are finding the locations where the function equals zero, which is where the function crosses the y-axis, when f(x)=0. These locations or solutions are known as the roots of the quadratic. We can solve these equations using several methods, the general method uses the quadratic formula:

(1)   \begin{equation*}  x & =\frac{-b\pm \sqrt{b^{2}-4ac}}{2a} \\ \end{equation*}

An example, is the quadratic y=3x^2 - 2x -5, so we set a=3, b=-2 and c=-5 we get:

    \[ \begin{split} x & =\frac{-b\pm \sqrt{b^{2}-4ac}}{2a} \\ & =\frac{-(-2)\pm \sqrt{(-2)^{2}-4(3)(-5)}}{2(3)} \\ & =\frac{2\pm \sqrt{4-4(-15)}}{6} \\ & =\frac{2\pm \sqrt{4-(-60)}}{6} \\ & =\frac{2\pm \sqrt{4+60}}{6} \\ & =\frac{2\pm \sqrt{64}}{6} \\ & =\frac{2\pm 8}{6} \\ \end{split} \]

We have two solutions because of the \pm which is a plus and minus sign, solving the plus first:

    \[ \begin{split} x & =\frac{2+8}{6} \\ & =\frac{10}{6} \\ & =5/3 \\ \end{split} \]

And the minus gives:

    \[ \begin{split} x & =\frac{2-8}{6} \\ & =\frac{-6}{6} \\ & =-1 \\ \end{split} \]

So the solutions to y & =3x^{2}-2x-5 are x=-1 and x=5/3, we can check this by looking at the graph of the function:

Rendered by QuickLaTeX.com

So we can see that the graph of y=3x^2 - 2x -5 does cross the y-axis at x=-1 and x=5/3 as we calculated.

The quantity within the square root of the quadratic formula is known as the discriminant, so \Delta = b^2 - 4ac. We can use the discriminant to classify the quadratics roots. When the discriminant is positive the quadratic will have two solutions or roots, when the discriminant is zero there will be a single solution or root, and the graph of the function will touch the y-axis at a single point. When the discriminant is negative, the solution of the quadratic will be complex, due to the fact that the square root is negative, and therefore complex, the graph of the function will not cross the y-axis at all.

Examples are as follows:

Rendered by QuickLaTeX.com

In this example the discriminant is \Delta = (-2)^2 - 4*(1)*(-3) = 4 - (-12) = 16, which is positive. So the graph crosses the y-axis, there are two solutions and they are both real and distinct numbers, which are x=-1 and x=3

Rendered by QuickLaTeX.com

This time the discriminant is \Delta = (-6)^2 - 4*1*9 = 36 - 36 = 0, so there is a single solution or double root at x=3, which is the location that the graph touches the y-axis.

Rendered by QuickLaTeX.com

Finally we have a discriminant of \Delta = 2^2 - 4*1*2 = 4 - 8 = -4, so as this is negative, the solution is complex. We can use the complex number i which has the property i^2=-1 to help solve these types of equations.

In this example we would do the following:

    \[ \begin{split} x & = \frac{-b \pm \sqrt{b^{2}-4ac}}{2a} \\ & = \frac{-2 \pm \sqrt{2^{2}-4*1*2}}{2*1} \\ & = \frac{-2 \pm \sqrt{4-8}}{2} \\ & = \frac{-2 \pm \sqrt{-4}}{2} \\ & = \frac{-2 \pm \sqrt{-1*4}}{2} \\ & = \frac{-2 \pm 2\sqrt{-1}}{2} \\ & = \frac{-2 \pm 2i}{2} \\ & = -1 \pm i \end{split} \]

So with this example we have two solutions x=-1+i and x=-1-i, these are a pair of complex conjugates, usually written as x = -1 \pm i, this does tell us that the function is at its lowest value at x=-1

Taking the factored quadratic y=(2x+3)(3x-2), we know that the solutions are going to be at x=-3/2 and x=2/3, we can check this by expanding and then using the quadratic formula:

    \[ \begin{split} y & = (2x)(3x)+(2x)(-2)+(3)(3x)+(3)(-2) \\ & = 6x^{2}-4x+9x-6 \\ & = 6x^{2}+5x-6 \end{split} \]

So using the quadratic formula with a=6, b=5 and c=-6, we get:

    \[ \begin{split} x & =\frac{-b\pm \sqrt{b^{2}-4ac}}{2a} \\ & =\frac{-5\pm \sqrt{(5)^{2}-4(6)(-6)}}{2(6)} \\ & =\frac{-5\pm \sqrt{25-4(-36)}}{12} \\ & =\frac{-5\pm \sqrt{25-(-144)}}{12} \\ & =\frac{-5\pm \sqrt{25+144}}{12} \\ & =\frac{-5\pm \sqrt{169}}{12} \\ & =\frac{-5\pm 13}{12} \\ \end{split} \]

So we have two solutions, solving the addition first:

    \[ \begin{split} x & =\frac{-5+13}{12} \\ & =\frac{8}{12} \\ & =\frac{2}{3} \\ \end{split} \]

And the subtraction gives:

    \[ \begin{split} x & =\frac{-5-13}{12} \\ & =\frac{-18}{12} \\ & =-\frac{3}{2} \\ \end{split} \]

The solutions to y & =6x^{2}+5x-6 are x=-3/2 and x=2/3 as expected, from the factored form of the quadratic equation.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.