Lemonmath
Tiếng Việt

The quadratic function

Lesson 6.2 · 24 min read · Updated

Throw a ball in the air. It goes up, slows down, stops for an instant and falls back; the path is a curve called a parabola. The same curve appears in bridge arches, satellite dishes and the graph of profit against price. All these situations are described by a quadratic function, and knowing its highest or lowest point answers the question "what is the best we can do?".

The function y=ax2+bx+cy=ax^2+bx+c

The number ∣a∣|a| controls how narrow the parabola is.

-4-3-2-11234-4-224xyO
Parabolas y=x2y=x^2, y=−x2y=-x^2 and y=12x2y=\frac12x^2

Sketching a parabola

To sketch y=ax2+bx+cy=ax^2+bx+c: (1) find the vertex; (2) draw the axis; (3) find the points where the graph meets the axes (x=0x=0 gives y=cy=c; y=0y=0 gives the roots, if any); (4) use symmetry about the axis.

-112345-2-1123456xyOI(2, -1)133
y=x2−4x+3y=x^2-4x+3

Table of variation

The table of variation shows where the function goes up or down. For y=x2−4x+3y=x^2-4x+3 (a>0a>0):

xx −∞-\infty 22 +∞+\infty
yy +∞+\infty decreasing −1-1 increasing +∞+\infty

For a>0a>0: decreasing on (−∞,−b2a)\left(-\infty, -\frac{b}{2a}\right), increasing on (−b2a,+∞)\left(-\frac{b}{2a}, +\infty\right), minimum −Δ4a-\frac{\Delta}{4a}. For a<0a<0 it is the other way round and −Δ4a-\frac{\Delta}{4a} is the maximum.

-2-11234-2-1123456xyOI(1, 4)-133
y=−x2+2x+3y=-x^2+2x+3

Finding the formula

Translations: y=a(x−p)2+qy=a(x-p)^2+q

Completing the square gives ax2+bx+c=a(x−p)2+qax^2+bx+c=a(x-p)^2+q with p=−b2ap=-\frac{b}{2a} and q=−Δ4aq=-\frac{\Delta}{4a}. So the vertex is (p,q)(p, q). The graph is the parabola y=ax2y=ax^2 moved pp units to the right and qq units up (left or down if negative).

-3-2-112342468xyO(1, 3)
y=2x2y=2x^2 moved to y=2(x−1)2+3y=2(x-1)^2+3

Expanding, 2(x−1)2+3=2x2−4x+52(x-1)^2+3=2x^2-4x+5, which has vertex (44,−(16−40)8)=(1,3)\left(\frac{4}{4}, \frac{-(16-40)}{8}\right)=(1, 3). ✓

Applications

0.511.522.533.544.555101520xyO(2, 21.5)
Height of the ball

Key terms

Summary

  • y=ax2+bx+cy=ax^2+bx+c has a parabola as its graph, with vertex (−b2a,−Δ4a)\left(-\frac{b}{2a}, -\frac{\Delta}{4a}\right) and axis x=−b2ax=-\frac{b}{2a}.
  • a>0a>0: opens up, minimum at the vertex. a<0a<0: opens down, maximum at the vertex.
  • Sketch with the vertex, the intercepts and symmetry; summarise with a table of variation.
  • y=a(x−p)2+qy=a(x-p)^2+q has vertex (p,q)(p, q).
  • Use the vertex to solve maximum and minimum problems; always check the allowed values of xx.

Practice

Show solutions
  1. xI=3x_I=3, yI=9−18+5=−4y_I=9-18+5=-4. Vertex (3,−4)(3, -4), axis x=3x=3. x2−6x+5=0x^2-6x+5=0 gives x=1x=1 or x=5x=5.
  2. a=−2<0a=-2<0: opens down. xI=−4−4=1x_I=-\dfrac{4}{-4}=1, yI=−2+4+1=3y_I=-2+4+1=3. Vertex (1,3)(1, 3).
  3. a=3>0a=3>0, so there is a minimum at x=126=2x=\dfrac{12}{6}=2: y=12−24+7=−5y=12-24+7=-5. Minimum −5-5 at x=2x=2.
  4. a=−1<0a=-1<0, vertex at x=2x=2, y=−4+8=4y=-4+8=4.
xx −∞-\infty 22 +∞+\infty
yy −∞-\infty increasing 44 decreasing −∞-\infty

Maximum 44 at x=2x=2. 5. y=a(x−1)2−4y=a(x-1)^2-4. Through (3,0)(3, 0): 4a−4=04a-4=0, a=1a=1. So y=(x−1)2−4=x2−2x−3y=(x-1)^2-4=x^2-2x-3. 6. c=1c=1 (from AA). BB: a+b+1=0a+b+1=0. CC: 4a+2b+1=34a+2b+1=3, so 2a+b=12a+b=1. Subtract: a=2a=2, b=−3b=-3. y=2x2−3x+1y=2x^2-3x+1. Check CC: 8−6+1=38-6+1=3 ✓. 7. x2−2x−3=(x−1)2−4x^2-2x-3=(x-1)^2-4. Move the parabola y=x2y=x^2 one unit to the right and four units down. 8. Maximum at t=−10−10=1t=-\dfrac{10}{-10}=1 s: h(1)=−5+10=5h(1)=-5+10=5 m. h=0h=0: −5t(t−2)=0-5t(t-2)=0, so it lands at t=2t=2 s. 9. Let the sides be xx and 30−x30-x. Area S=x(30−x)=−x2+30xS=x(30-x)=-x^2+30x, maximum at x=15x=15, S=225S=225. It is a square of side 1515 m, area 225225 m2^2. 10. y=(x−m)2+3−m2y=(x-m)^2+3-m^2, so the minimum is 3−m23-m^2. Setting 3−m2=23-m^2=2 gives m2=1m^2=1, so m=1m=1 or m=−1m=-1.