Quadratics

Study Sheet

Quadratics

Parabolas, factoring, square roots, completing the square, the quadratic formula, the discriminant, vertex form, and applications

What Is a Quadratic?

Concept
Definition and Standard Form

A quadratic function is one whose highest power of the variable is 22. Its standard form is

y=ax2+bx+c,a0.y = ax^2 + bx + c, \qquad a \neq 0.

A quadratic equation sets a quadratic equal to zero: ax2+bx+c=0ax^2+bx+c=0. The numbers aa, bb, and cc are the coefficients:

  • [leftmargin=*]
  • aa is the coefficient of x2x^2 (it can never be 00, or the x2x^2 would vanish);
  • bb is the coefficient of xx;
  • cc is the constant term.
Example
Example: Identify aa, bb, cc in 3x25x+2=03x^2-5x+2=0

Match term by term:

a=3,b=5,c=2.a = 3, \qquad b = -5, \qquad c = 2.

Carry the sign! The middle coefficient is 5-5, not 55.

Example
Example: A missing middle term, 2x27=02x^2-7=0

Here there is no xx term, so b=0b=0:

a=2,b=0,c=7.a = 2, \qquad b = 0, \qquad c = -7.
Tip

How to recognize one: A relationship is quadratic exactly when, after simplifying, the highest power of the variable is 22. y=4x1y=4x-1 is linear (highest power 11); y=x29y=x^2-9 is quadratic. If you can multiply it out to reach an x2x^2 term with a0a\neq0, it is quadratic.

The Parabola: The Graph of a Quadratic

Concept
Shape, Direction, and Key Points
xy

The graph of y=ax2+bx+cy=ax^2+bx+c is a smooth U-shaped curve called a parabola.

  • [leftmargin=*]
  • Direction: if a>0a>0 the parabola opens up (holds water, has a lowest point); if a<0a<0 it opens down (has a highest point).
  • Vertex: the turning point. Its xx-coordinate is x=b2ax=-\dfrac{b}{2a}; find the yy-coordinate by substituting that xx back in.
  • Axis of symmetry: the vertical line x=b2ax=-\dfrac{b}{2a} through the vertex; the two halves mirror each other.
  • Minimum vs. maximum: an up-parabola's vertex is a minimum; a down-parabola's vertex is a maximum.
  • yy-intercept: where the curve crosses the yy-axis; set x=0x=0 to get the point (0,c)(0,c).
  • xx-intercepts (roots / zeros): where the curve crosses the xx-axis; set y=0y=0 and solve ax2+bx+c=0ax^2+bx+c=0. A parabola can have two, one, or no xx-intercepts.

The vertex is the turning point.

Example
Example: Describe the parabola y=x26x+5y=x^2-6x+5

Here a=1a=1, b=6b=-6, c=5c=5.

Direction: a=1>0 so it opens up (vertex is a minimum).Axis of symmetry: x=b2a=62(1)=3.Vertex yy=(3)26(3)+5=918+5=4.Vertex: (3,4).y-intercept: (0,5) since c=5.\begin{aligned} \text{Direction: } & a=1>0 \text{ so it opens \textbf{up} (vertex is a minimum).} \\ \text{Axis of symmetry: } & x = -\frac{b}{2a} = -\frac{-6}{2(1)} = 3. \\ \text{Vertex $y$: } & y = (3)^2 - 6(3) + 5 = 9 - 18 + 5 = -4. \\ \text{Vertex: } & (3,-4). \\ \text{$y$-intercept: } & (0,\,5) \text{ since } c=5. \end{aligned}

The xx-intercepts come from x26x+5=(x1)(x5)=0x^2-6x+5=(x-1)(x-5)=0, giving (1,0)(1,0) and (5,0)(5,0).

Tip

Two ways to describe the same curve: the axis of symmetry and the vertex share the same xx-value, x=b2ax=-\frac{b}{2a}. Find that number once and you have both.

Solving by Factoring (Zero Product Property)

Concept
The Zero Product Property

If a product of two factors equals zero, then at least one factor must be zero:

if AB=0, then A=0  or  B=0.\text{if } A\cdot B = 0, \text{ then } A=0 \ \text{ or } \ B=0.

To use it, first make one side 00, factor the quadratic, set each factor equal to 00, and solve.

Example
Example: Solve x2+7x+12=0x^2+7x+12=0

Factor into two binomials (two numbers that multiply to 1212 and add to 77: that is 33 and 44):

(x+3)(x+4)=0x+3=0  or  x+4=0x=3  or  x=4.\begin{aligned} (x+3)(x+4) &= 0 \\ x+3=0 \ \text{ or } \ x+4 &= 0 \\ x=-3 \ \text{ or } \ x &= -4. \end{aligned}

Check x=3x=-3:  (3)2+7(3)+12=921+12=0.\ (-3)^2+7(-3)+12 = 9-21+12 = 0.

Example
Example: A common factor first, x2+2x=0x^2+2x=0

Factor out xx:

x(x+2)=0  x=0  or  x=2.x(x+2)=0 \ \Rightarrow \ x=0 \ \text{ or } \ x=-2.

Do not divide both sides by xx---that would lose the solution x=0x=0.

Tip

Set it equal to zero first! The Zero Product Property only works against 00. Something like (x+3)(x+4)=2(x+3)(x+4)=2 tells you nothing; you must expand, move the 22 over, and refactor.

Solving by the Square-Root Method

Concept
Take the Square Root of Both Sides

When a quadratic has no plain xx term, isolate the squared quantity and take the square root of both sides---remembering both signs:

x2=k  x=±k,(xh)2=k  xh=±k.x^2 = k \ \Rightarrow \ x = \pm\sqrt{k}, \qquad\qquad (x-h)^2 = k \ \Rightarrow \ x-h = \pm\sqrt{k}.

This works whenever the variable appears only inside a square.

Example
Example: Solve x2=49x^2=49
x=±49=±7,so x=7 or x=7.x = \pm\sqrt{49} = \pm 7, \qquad \text{so } x=7 \text{ or } x=-7.
Example
Example: A shifted square, (x2)2=16(x-2)^2=16

Take the square root of both sides:

x2=±16=±4x=2±4x=6  or  x=2.\begin{aligned} x-2 &= \pm\sqrt{16} = \pm 4 \\ x &= 2 \pm 4 \\ x &= 6 \ \text{ or } \ x = -2. \end{aligned}
Example
Example: When the root is irrational, x2=12x^2=12
x=±12=±43=±23.x = \pm\sqrt{12} = \pm\sqrt{4\cdot 3} = \pm 2\sqrt{3}.

Always simplify the radical by pulling out perfect-square factors.

Tip

Never forget the ±\pm. Every positive number has two square roots, one positive and one negative. Dropping the ±\pm throws away a whole solution.

Solving by Completing the Square

Concept
Building a Perfect Square

Completing the square rewrites x2+bxx^2+bx as a perfect square by adding (b2)2\left(\dfrac{b}{2}\right)^2. The steps for x2+bx+c=0x^2+bx+c=0:

  • [leftmargin=*]
  • Move the constant to the right side.
  • Add (b2)2\left(\frac{b}{2}\right)^2 to both sides.
  • Write the left side as (x+b2)2\left(x+\frac{b}{2}\right)^2.
  • Take the square root of both sides (±\pm!) and solve for xx.

If a1a\neq 1, divide every term by aa first.

Example
Example: Solve x2+6x7=0x^2+6x-7=0 by completing the square
x2+6x=7move the constant over(62)2=32=9the number to addx2+6x+9=7+9add 9 to both sides(x+3)2=16left side is a perfect squarex+3=±4square root of both sidesx=3±4x=1  or  x=7.\begin{aligned} x^2+6x &= 7 &&\text{move the constant over} \\ \left(\tfrac{6}{2}\right)^2 &= 3^2 = 9 &&\text{the number to add} \\ x^2+6x+9 &= 7+9 &&\text{add $9$ to both sides} \\ (x+3)^2 &= 16 &&\text{left side is a perfect square} \\ x+3 &= \pm 4 &&\text{square root of both sides} \\ x &= -3 \pm 4 \\ x &= 1 \ \text{ or } \ x = -7. \end{aligned}

Check x=1x=1:  1+67=0\ 1+6-7=0. ✓

Example
Example: An odd middle term, x23x5=0x^2-3x-5=0
x23x=5(32)2=94x23x+94=5+94=294(x32)2=294x32=±292x=3±292.\begin{aligned} x^2-3x &= 5 \\ \left(\tfrac{-3}{2}\right)^2 &= \tfrac{9}{4} \\ x^2-3x+\tfrac{9}{4} &= 5+\tfrac{9}{4} = \tfrac{29}{4} \\ \left(x-\tfrac{3}{2}\right)^2 &= \tfrac{29}{4} \\ x-\tfrac{3}{2} &= \pm\frac{\sqrt{29}}{2} \\ x &= \frac{3\pm\sqrt{29}}{2}. \end{aligned}

An odd bb just means the number you add, (b2)2\left(\frac{b}{2}\right)^2, is a fraction. That is fine.

Tip

Whatever you do to one side, do to the other. You must add (b2)2\left(\frac{b}{2}\right)^2 to both sides to keep the equation balanced. And if a1a\neq1, divide through by aa before completing the square.

The Quadratic Formula

Concept
The Formula That Always Works

For any quadratic equation ax2+bx+c=0ax^2+bx+c=0,

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

It comes from completing the square on the general equation, so it solves every quadratic---even ones that will not factor nicely.

Example
Example: Solve 2x2+3x2=02x^2+3x-2=0 with the formula

Identify a=2a=2, b=3b=3, c=2c=-2, then substitute carefully:

x=b±b24ac2a=3±(3)24(2)(2)2(2)=3±9+164=3±254=3±54.\begin{aligned} x &= \frac{-b\pm\sqrt{b^2-4ac}}{2a} \\ &= \frac{-3\pm\sqrt{(3)^2-4(2)(-2)}}{2(2)} \\ &= \frac{-3\pm\sqrt{9+16}}{4} \\ &= \frac{-3\pm\sqrt{25}}{4} = \frac{-3\pm 5}{4}. \end{aligned}

Split the ±\pm: x=3+54=12x=\dfrac{-3+5}{4}=\dfrac{1}{2} or x=354=2x=\dfrac{-3-5}{4}=-2.

Example
Example: An irrational answer, x24x+1=0x^2-4x+1=0

Here a=1a=1, b=4b=-4, c=1c=1:

x=(4)±(4)24(1)(1)2(1)=4±1642=4±122=4±232=2±3.\begin{aligned} x &= \frac{-(-4)\pm\sqrt{(-4)^2-4(1)(1)}}{2(1)} \\ &= \frac{4\pm\sqrt{16-4}}{2} = \frac{4\pm\sqrt{12}}{2} \\ &= \frac{4\pm 2\sqrt{3}}{2} = 2\pm\sqrt{3}. \end{aligned}

Simplify 12=23\sqrt{12}=2\sqrt{3}, then divide every term of the top by the bottom.

Tip

Use parentheses when you substitute, especially for a negative bb: (4)=+4-(-4)=+4. Compute the part under the root, b24acb^2-4ac, first---and remember b2b^2 is always positive, even when bb is negative.

The Discriminant

Concept
The Number Under the Radical

The discriminant is the expression inside the square root of the quadratic formula:

D=b24ac.D = b^2 - 4ac.

Its sign tells you how many real solutions the equation has, before you ever finish solving:

  • [leftmargin=*]
  • D>0D>0: two different real solutions (parabola crosses the xx-axis twice);
  • D=0D=0: one real solution, a repeated root (parabola just touches the xx-axis);
  • D<0D<0: no real solutions (parabola never reaches the xx-axis).
Reminder — The quadratic formula:x=b±b24ac2a(a0)x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}\qquad (a\neq 0)
Example
Example: How many real solutions does x23x4=0x^2-3x-4=0 have?
D=(3)24(1)(4)=9+16=25>0.D = (-3)^2 - 4(1)(-4) = 9 + 16 = 25 > 0.

Since D>0D>0, there are two real solutions. (And because 2525 is a perfect square, they are even rational.)

Example
Example: A negative discriminant, x2+x+5=0x^2+x+5=0
D=(1)24(1)(5)=120=19<0.D = (1)^2 - 4(1)(5) = 1 - 20 = -19 < 0.

Since D<0D<0, there are no real solutions---the parabola sits entirely above the xx-axis.

Tip

The discriminant is a preview. It tells you the number and type of solutions without solving. A perfect-square DD also signals that the quadratic factors over the rationals.

Vertex Form

Concept
Reading the Vertex Directly
xy

The vertex form of a quadratic is

y=a(xh)2+k,y = a(x-h)^2 + k,

where the vertex is (h,k)(h,k) and x=hx=h is the axis of symmetry. As always, a>0a>0 opens up (minimum at the vertex) and a<0a<0 opens down (maximum). Watch the sign: the form uses (xh)(x-h), so y=(x+1)25y=(x+1)^2-5 has h=1h=-1.

The vertex is the turning point.

Example
Example: Read the vertex of y=2(x3)2+4y=2(x-3)^2+4

Compare to y=a(xh)2+ky=a(x-h)^2+k: a=2a=2, h=3h=3, k=4k=4.

Vertex (3,4),opens up, so (3,4) is a minimum.\text{Vertex } (3,4), \quad \text{opens up, so } (3,4) \text{ is a \textbf{minimum}}.
Example
Example: Convert y=x26x+5y=x^2-6x+5 to vertex form

Complete the square on the right side:

y=(x26x)+5=(x26x+9)+59add and subtract (62)2=9=(x3)24.\begin{aligned} y &= (x^2-6x) + 5 \\ &= (x^2-6x+9) + 5 - 9 &&\text{add and subtract } \left(\tfrac{6}{2}\right)^2=9 \\ &= (x-3)^2 - 4. \end{aligned}

So the vertex is (3,4)(3,-4)---matching what x=b2ax=-\frac{b}{2a} gave us earlier.

Tip

Mind the signs. In y=a(xh)2+ky=a(x-h)^2+k, the vertex is (h,k)(h,k) with the sign of hh flipped from what you see: y=(x+2)23y=(x+2)^2-3 has vertex (2,3)(-2,-3).

Applications

Concept
Turning Words into a Quadratic

Many real situations are modeled by quadratics:

  • [leftmargin=*]
  • Projectile height: an object thrown or launched has height h=16t2+v0t+h0h=-16t^2+v_0 t + h_0 (feet, seconds), where v0v_0 is the starting speed and h0h_0 the starting height. Set h=0h=0 to find when it lands; use t=b2at=-\frac{b}{2a} for the time of greatest height.
  • Area: length ×\times width often produces an x2x^2 term.

Solve, then keep only answers that make sense (a length or a time cannot be negative).

Example
Example: A ball's height is h=16t2+64th=-16t^2+64t

When does it hit the ground? Set h=0h=0 and factor:

16t2+64t=016t(t4)=0t=0  or  t=4.\begin{aligned} -16t^2+64t &= 0 \\ -16t(t-4) &= 0 \\ t=0 \ \text{ or } \ t &= 4. \end{aligned}

t=0t=0 is the launch; the ball returns to the ground at t=4t=4 seconds.

When is it highest? At t=b2a=642(16)=2t=-\frac{b}{2a}=-\frac{64}{2(-16)}=2 seconds, where h=16(2)2+64(2)=64h=-16(2)^2+64(2)=64 feet.

Example
Example: A rectangle whose length is 33 more than its width has area 5454

Let the width be ww. Then w(w+3)=54w(w+3)=54:

w2+3w54=0(w+9)(w6)=0w=9  or  w=6.\begin{aligned} w^2+3w-54 &= 0 \\ (w+9)(w-6) &= 0 \\ w=-9 \ \text{ or } \ w &= 6. \end{aligned}

A width cannot be negative, so w=6w=6: the rectangle is 66 by 99.

Tip

Check that your answer fits reality. A quadratic often gives two solutions, but a negative time or length is not physically possible---discard it and state only the meaningful answer with its units.

Going Deeper: Advanced Quadratics

Concept
Where the Quadratic Formula Comes From
xy

The quadratic formula is not magic---it is completing the square done once and for all on the general equation ax2+bx+c=0ax^2+bx+c=0. Because the derivation never uses specific numbers, the result works for every quadratic. The key move is the same as before: turn x2+baxx^2+\frac{b}{a}x into a perfect square by adding (b2a)2\left(\frac{b}{2a}\right)^2 to both sides. Master this derivation and you never have to memorize the formula blindly again.

The vertex is the turning point.

Example
Worked Example: Derive x=b±b24ac2ax=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a}

Start from the general equation and complete the square, tracking every step:

ax2+bx+c=0startx2+bax+ca=0divide every term by ax2+bax=camove the constant overx2+bax+(b2a)2=(b2a)2caadd (b2a)2 to both sides(x+b2a)2=b24a2ca=b24ac4a2perfect square; common denominatorx+b2a=±b24ac2asquare root of both sides (±!)x=b±b24ac2asubtract b2a, combine over 2a.\begin{aligned} ax^2+bx+c &= 0 &&\text{start} \\ x^2+\tfrac{b}{a}x+\tfrac{c}{a} &= 0 &&\text{divide every term by } a \\ x^2+\tfrac{b}{a}x &= -\tfrac{c}{a} &&\text{move the constant over} \\ x^2+\tfrac{b}{a}x+\left(\tfrac{b}{2a}\right)^2 &= \left(\tfrac{b}{2a}\right)^2-\tfrac{c}{a} &&\text{add } \left(\tfrac{b}{2a}\right)^2 \text{ to both sides} \\ \left(x+\tfrac{b}{2a}\right)^2 &= \frac{b^2}{4a^2}-\frac{c}{a} = \frac{b^2-4ac}{4a^2} &&\text{perfect square; common denominator} \\ x+\tfrac{b}{2a} &= \pm\frac{\sqrt{b^2-4ac}}{2a} &&\text{square root of both sides ($\pm$!)} \\ x &= \frac{-b\pm\sqrt{b^2-4ac}}{2a} &&\text{subtract } \tfrac{b}{2a}, \text{ combine over } 2a. \end{aligned}

The discriminant b24acb^2-4ac appears naturally as the numerator under the root---it was there in the algebra all along.

Concept
The Discriminant and the Nature of the Roots

For a quadratic with rational coefficients, the discriminant D=b24acD=b^2-4ac tells you not just how many roots, but what kind:

  • [leftmargin=*]
  • D>0D>0 and a perfect square: two rational roots (the quadratic factors over the rationals);
  • D>0D>0 but not a perfect square: two irrational roots, a conjugate pair b2a±D2a\frac{-b}{2a}\pm\frac{\sqrt{D}}{2a};
  • D=0D=0: one repeated rational root (a “double root”); the parabola is tangent to the xx-axis;
  • D<0D<0: no real roots---two complex conjugate roots (see below).
Concept
Sum and Product of the Roots (Vieta's Formulas)

If r1r_1 and r2r_2 are the two roots of ax2+bx+c=0ax^2+bx+c=0, then

r1+r2=ba,r1r2=ca.r_1+r_2 = -\frac{b}{a}, \qquad\qquad r_1\, r_2 = \frac{c}{a}.

You can see why by expanding a(xr1)(xr2)=ax2a(r1+r2)x+ar1r2a(x-r_1)(x-r_2)=ax^2-a(r_1+r_2)x+a\,r_1 r_2 and matching coefficients. For a monic quadratic (a=1a=1), this reads especially cleanly:

x2(sum)x+(product)=0.x^2 - (\text{sum})\,x + (\text{product}) = 0.

These give a fast check on any answer, and let you build a quadratic straight from conditions on its roots.

Example
Worked Example: Build a quadratic from conditions

(a) Find a quadratic whose roots are 33 and 5-5. Use the sum and product:

sum=3+(5)=2,product=(3)(5)=15.\text{sum} = 3+(-5) = -2, \qquad \text{product} = (3)(-5) = -15.

So x2(sum)x+(product)=x2(2)x+(15)=x2+2x15=0x^2-(\text{sum})x+(\text{product}) = x^2-(-2)x+(-15) = x^2+2x-15=0.

(b) Find a quadratic whose roots sum to 66 and multiply to 1010. Directly,

x26x+10=0.x^2-6x+10=0.

Check with the discriminant: D=(6)24(1)(10)=3640=4<0D=(-6)^2-4(1)(10)=36-40=-4<0, so those two roots are a complex conjugate pair---consistent, since no two real numbers add to 66 and multiply to 1010.

Concept
Vertex Form for Maximum/Minimum Optimization

Rewriting y=ax2+bx+cy=ax^2+bx+c as y=a(xh)2+ky=a(x-h)^2+k turns optimization into reading off the vertex: the extreme value of yy is exactly kk, reached at x=hx=h.

  • [leftmargin=*]
  • If a>0a>0, the vertex is the lowest point, so kk is the minimum value.
  • If a<0a<0, the vertex is the highest point, so kk is the maximum value.

This is the standard way to answer “what is the largest area / smallest cost / greatest height?”

Example
Worked Example: Maximize a rectangular area

A farmer has 4040 m of fencing for a rectangular pen. What dimensions give the largest area? Let the width be ww; then the length is 20w20-w (since 2w+2=402w+2\ell=40). The area is

A(w)=w(20w)=20ww2=(w220w)=(w220w+100)+100complete the square, add/subtract 100=(w10)2+100.\begin{aligned} A(w) &= w(20-w) = 20w-w^2 \\ &= -\left(w^2-20w\right) \\ &= -\left(w^2-20w+100\right)+100 &&\text{complete the square, add/subtract } 100 \\ &= -(w-10)^2 + 100. \end{aligned}

Since a=1<0a=-1<0, the vertex (10,100)(10,100) is a maximum: the area is greatest at w=10w=10 m, giving a 10×1010\times 10 square with area 100\mathbf{100} m2. (A square always maximizes area for a fixed perimeter.)

Concept
A First Look at Complex Roots

When D=b24ac<0D=b^2-4ac<0, the quadratic formula asks for the square root of a negative number, which no real number provides. We introduce the imaginary unit

i=1,soi2=1.i = \sqrt{-1}, \qquad\text{so}\qquad i^2 = -1.

Then 16=161=4i\sqrt{-16}=\sqrt{16}\,\sqrt{-1}=4i, and the formula still works. The two roots come out as a complex conjugate pair p±qip\pm qi: same real part p=b2ap=-\frac{b}{2a}, opposite imaginary parts. Graphically, the parabola simply never crosses the xx-axis.

Example
Worked Example: Complex roots of x2+2x+5=0x^2+2x+5=0

Here a=1a=1, b=2b=2, c=5c=5, and D=(2)24(1)(5)=420=16<0D=(2)^2-4(1)(5)=4-20=-16<0:

x=2±162=2±1612=2±4i2=1±2i.\begin{aligned} x &= \frac{-2\pm\sqrt{-16}}{2} \\ &= \frac{-2\pm\sqrt{16}\,\sqrt{-1}}{2} = \frac{-2\pm 4i}{2} \\ &= -1\pm 2i. \end{aligned}

The roots are 1+2i-1+2i and 12i-1-2i. Vieta check: their sum is 2=ba-2=-\frac{b}{a} ✓ and their product is (1)2(2i)2=14i2=1+4=5=ca(-1)^2-(2i)^2=1-4i^2=1+4=5=\frac{c}{a} ✓.

Reminder — Vieta's formulas:r1+r2=ba,r1r2=car_1+r_2=-\frac{b}{a},\qquad r_1 r_2=\frac{c}{a}
Concept
The Line-Tangent-to-Parabola Condition

To find where a line y=mx+dy=mx+d meets a parabola y=ax2+bx+cy=ax^2+bx+c, set them equal and collect everything on one side to get a single quadratic in xx. The discriminant of that quadratic decides the geometry:

  • [leftmargin=*]
  • D>0D>0: the line cuts the parabola at two points (a secant);
  • D=0D=0: the line just touches it at one point---it is tangent;
  • D<0D<0: the line misses the parabola entirely.

So “tangent” is precisely the condition D=0D=0: one repeated intersection.

Example
Worked Example: For which kk is y=x+ky=x+k tangent to y=x2y=x^2?

Set the two expressions equal and move everything to one side:

x2=x+kx2xk=0.x^2 = x+k \quad\Longrightarrow\quad x^2-x-k=0.

This is a quadratic in xx with a=1a=1, b=1b=-1, c=kc=-k. Tangency means one repeated root, i.e. D=0D=0:

D=(1)24(1)(k)=1+4k=0k=14.D=(-1)^2-4(1)(-k) = 1+4k = 0 \quad\Longrightarrow\quad k=-\tfrac{1}{4}.

At k=14k=-\frac14 the equation becomes x2x+14=(x12)2=0x^2-x+\frac14=\left(x-\frac12\right)^2=0, so the single point of contact is x=12x=\frac12, y=14y=\frac14: the point (12,14)\left(\frac12,\frac14\right).

Tip

The discriminant ties it all together. The same expression b24acb^2-4ac counts real roots, classifies them as rational / irrational / complex, and---when applied to the “set them equal” equation---tells whether a line cuts, touches, or misses a parabola. And Vieta's formulas r1+r2=bar_1+r_2=-\frac{b}{a}, r1r2=car_1 r_2=\frac{c}{a} give a fast check on any pair of roots, real or complex.

Formulas, Proofs & Tips

Tip
The quadratic formula
x=b±b24ac2a(a0)x=\frac{-b\pm\sqrt{b^{2}-4ac}}{2a}\qquad (a\neq 0)

What it means. Solves every quadratic ax2+bx+c=0ax^2+bx+c=0, factorable or not.

Example. x25x+6=0x^2-5x+6=0: x=5±25242x=\dfrac{5\pm\sqrt{25-24}}{2}, so x=3x=3 or x=2x=2.

Why it works. Complete the square. Divide by aa: x2+bax=cax^2+\tfrac{b}{a}x=-\tfrac{c}{a}. Add (b2a)2\left(\tfrac{b}{2a}\right)^2 to both sides so the left is a perfect square: (x+b2a)2=b24ac4a2\left(x+\tfrac{b}{2a}\right)^2=\tfrac{b^2-4ac}{4a^2}. Take square roots and subtract b2a\tfrac{b}{2a}.

Tip. Write the equation as ax2+bx+c=0ax^2+bx+c=0 first — every term must be on one side, or your a,b,ca,b,c will be wrong.

Tip
The discriminant
Δ=b24ac\Delta = b^{2}-4ac

What it means. The part under the root. Δ>0\Delta>0: two real roots. Δ=0\Delta=0: one repeated root. Δ<0\Delta<0: two complex roots.

Example. x24x+4x^2-4x+4 has Δ=1616=0\Delta=16-16=0, so one repeated real root.

Why it works. In the quadratic formula the roots differ by ±Δ2a\tfrac{\pm\sqrt{\Delta}}{2a}. A positive Δ\Delta gives two distinct real shifts, zero gives none, and a negative Δ\Delta forces the square root to be imaginary.

Tip. If Δ\Delta is a perfect square the quadratic factors over the integers — worth checking before reaching for the formula.

Tip
Vertex of a parabola
x=b2a,y=f ⁣(b2a)x=-\frac{b}{2a}, \qquad y=f\!\left(-\frac{b}{2a}\right)

What it means. The turning point — the minimum if a>0a>0, the maximum if a<0a<0.

Example. y=x26x+5y=x^2-6x+5: vertex at x=62=3x=-\tfrac{-6}{2}=3, y=4y=-4, so (3,4)(3,-4).

Why it works. The two roots of the quadratic formula sit symmetrically either side of b2a-\tfrac{b}{2a}, so that value is the axis of symmetry. A parabola turns exactly on its axis of symmetry.

Tip. This also gives the max/min value of a quadratic without calculus — useful for word problems about greatest area or lowest cost.