PrevNext

Introduction

Quick! Find all zeros of this quadratic:

47x250x7847x^2 - 50x - 78

This seems extremely daunting to do with techniques such as factoring and even completing the square. Luckily, the quadratic formula is useful in solving "large" quadratics such as the one shown.

The quadratic formula is a relatively short formula that gives us all roots of a second-degree polynomial (or quadratic). Namely, for a quadratic: ax2+bx+cax^2 + bx + c, its roots are:

x=b±b24ac2a{x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}}

Derivation of the Quadratic Formula

Begin with the general quadratic ax2+bx+c=0ax^2 + bx + c = 0. Divide through by aa:

x2+bax+ca=0x^2 + \frac{b}{a}x + \frac{c}{a} = 0

Move the constant to the right:

x2+bax=cax^2 + \frac{b}{a}x = -\frac{c}{a}

Complete the square by adding (b2a)2\left(\dfrac{b}{2a}\right)^2 to both sides:

x2+bax+(b2a)2=(b2a)2cax^2 + \frac{b}{a}x + \left(\frac{b}{2a}\right)^2 = \left(\frac{b}{2a}\right)^2 - \frac{c}{a}

The left side is now a perfect square trinomial:

(x+b2a)2=b24ac4a2\left(x + \frac{b}{2a}\right)^2 = \frac{b^2 - 4ac}{4a^2}

Taking the square root of both sides and isolating xx:

x+b2a=±b24ac2ax + \frac{b}{2a} = \pm\frac{\sqrt{b^2 - 4ac}}{2a}

x=b±b24ac2a\boxed{x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}}

The discriminant of the quadratic formula is the expression underneath the square root, i.e, b24acb^2 - 4ac (not b24ac\sqrt{b^2 - 4ac}).

You may have the reaction upon seeing the square root that what if b24acb^2 - 4ac is negative? If so, the quadratic has imaginary solutions, i.e, they involve i=1i = \sqrt{-1}. This tells us that the positivity of the discriminant can tell us whether the quadratic has 0, 1, or 2 solutions.

Classification:

  1. b24ac>0b^2 - 4ac > 0: The quadratic has two real roots.
  2. b24ac=0b^2 - 4ac = 0: The quadratic has one real root.
  3. b24ac<0b^2 - 4ac < 0: The quadratic has two imaginary roots.

Write the equation as ax2+bx+c=0ax^2+bx+c=0 before applying the formula.

Techniques

Although simple, the quadratic formula has some serious implications in various problems.

  • If a problem notes a quadratic has two rational solutions, that implies the discriminant is a perfect square. Hence, setting b24acb^2 - 4ac to c2c^2 for some integer c may result in useful deductions.
  • Problems may explicitly state whether the quadratic has two real solutions, one real solution, or no real solutions which tells us the negativity of the discriminant.
  • Reliability in general for solving tricky quadratics!

With our new knowledge, we can trivially solve:

47x250x78=047x^2 - 50x - 78 = 0

Plugging directly into the quadratic formula with a=47a = 47, b=50b = -50, c=78c = -78:

x=(50)±(50)24(47)(78)2(47)x = \frac{-(-50) \pm \sqrt{(-50)^2 - 4(47)(-78)}}{2(47)}

x=50±2500+1466494x = \frac{50 \pm \sqrt{2500 + 14664}}{94}

x=50±1716494x = \frac{50 \pm \sqrt{17164}}{94}

x=50±2429194x = \frac{50 \pm 2\sqrt{4291}}{94}

x=25±429147x = \frac{25 \pm \sqrt{4291}}{47}

Worked Example

The zeros of the function f(x)=x2ax+2af(x) = x^2-ax+2a are integers. What is the sum of the possible values of aa?

Solution

Although the problem seems daunting at first, it can be easily broken down using simple steps. Firstly, the roots will be of the form: x=a±a28a2x=\frac{a\pm\sqrt{a^2-8a}}{2}. As noted, integral zeroes imply that the discriminant is a perfect square.

Hence, a28a=c2a^2-8a=c^2 for some non-negative integer cc. Here, we can isolate for a by completing the square: a(a8)=k2a(a-8)=k^2

((a4)+4)((a4)4)=k2((a-4)+4)((a-4)-4)=k^2

(a4)242=k2(a-4)^2-4^2=k^2

(a4)2=k2+42(a-4)^2=k^2+4^2

Aha! This looks like a pythagorean triple of the form (k,4,a4k,4,|a-4|). This works only if kk is not 0. If kk is 0:

(a4)2=42(a-4)^2=4^2

a=0,8a = 0, 8

If kk is not 0, then the only integral pythagorean triple that satisfies this is (3,4,5)(3, 4, 5), from which k=3k = 3 and a4|a - 4| = 5. This gives two more solutions, a=1,9a = -1, 9.

Summing all solutions we get 0+8+(1)+90 + 8 + (-1) + 9 = 16\boxed{16}.

Practice Problems

StatusSourceProblem NameDifficultyTags
AMC 10Hard
AMC 10BEasy

Module Progress:

Join the AoPS Community!

Stuck on a problem, or don't understand a module? Join the AoPS community and get help from other math contest students.

PrevNext