Quadratic functions and their graphs

Quadratic functions and their graphs

IB MYP Maths Standard: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A quadratic has the form y=ax2+bx+cy=ax^2+bx+c with a≠0a\ne0 and its graph is a parabola.
  • If a>0a>0 the parabola has a minimum; if a<0a<0 it has a maximum.
  • Roots are where y=0y=0; the yy-intercept is cc.
  • The axis of symmetry is halfway between the roots; the vertex is on it.
  • In context, link every key point to what it means, with units.

Quadratic functions and parabolas

A quadratic function has a smooth curve called a parabola, which opens upwards if a>0a>0 and downwards if a<0a<0.

A quadratic function has the form y=ax2+bx+cy=ax^2+bx+c with a≠0a\ne0. Its graph is a smooth curve called a parabola.

  • If a>0a>0 the parabola is U-shaped with a lowest point (minimum).
  • If a<0a<0 it is ∩\cap-shaped with a highest point (maximum).

The parabola is symmetrical about a vertical line, the axis of symmetry.

−5−4−3−2−112345−10−8−6−4−2246810xyy = ax²
Change a to see the parabola flip and stretch

The graph of y=−2x2+3y=-2x^2+3 is

Plotting from a table

Work out yy for a range of xx-values, plot the points and join them with a smooth curve.

Choose values of xx, work out yy, plot the points and join them with a smooth curve (never straight segments).

For y=x2−2x−3y=x^2-2x-3: using x=−2,−1,0,1,2,3,4x=-2,-1,0,1,2,3,4 gives y=5,0,−3,−4,−3,0,5y=5,0,-3,-4,-3,0,5. The values repeat on either side of x=1x=1, which shows the symmetry.

A graphing calculator or graphing software draws the same curve and lets you read off key points.

−3−2−112345−6−4−22468xyy = x² − 2x − 3
The plotted points joined with a smooth curve

For y=x2−2x−3y=x^2-2x-3, what is yy when x=−3x=-3?

Roots and the y-intercept

The roots are where y=0y=0, and the yy-intercept is the constant cc where x=0x=0.

The roots (or xx-intercepts) are the values of xx where the curve meets the xx-axis, so y=0y=0. Solve ax2+bx+c=0ax^2+bx+c=0, for example by factorising.

A parabola may have two roots, one root (touching the axis) or none.

The yy-intercept is where the curve crosses the yy-axis, so x=0x=0: it is the constant cc.

−3−2−112345−6−4−22468xy(−1, 0)(3, 0)(0, −3)y = x² − 2x − 3
y = x² − 2x − 3 crosses the axes at (−1, 0), (3, 0) and (0, −3)

Worked example

Find the roots of y=x2−2x−3y=x^2-2x-3.

Solve (x−5)(x+2)=0(x-5)(x+2)=0.

Vertex and axis of symmetry

The axis of symmetry is halfway between the roots, and the vertex is the point on the curve on that axis.

The axis of symmetry is halfway between the roots: x=x1+x22x=\frac{x_1+x_2}{2}. (If there are no roots, use the formula x=−b2ax=-\frac{b}{2a}.)

The vertex is the point of the curve on the axis: substitute that xx-value into the function.

To sketch a parabola, mark the intercepts and the vertex and draw a smooth curve through them.

−3−2−112345−6−4−22468xyaxis x = 1vertex (1, −4)y = x² − 2x − 3
The vertex of y = x² − 2x − 3 is (1, −4) on the axis x = 1
  • Axis of symmetryx=x1+x22x=\dfrac{x_1+x_2}{2}

Worked example

Find the vertex of y=x2−2x−3y=x^2-2x-3.

A parabola has roots x=2x=2 and x=8x=8. What is its axis of symmetry?

Parabolas in context

Link each root and the vertex to the situation, give units, and use only values that make sense.

Many real situations follow a parabola: the path of a ball, the area of a field, profit. Read the key points in context.

Always give units, and check which values are sensible: a negative length or time is not possible, so the graph only applies for a limited range of xx (the domain).

−0.50.511.522.533.544.5−5510152025t (s)h (m)kickedmaximum (2, 20)landsh = 20t − 5t²
Height of a ball, h = 20t − 5t² (t is on the horizontal axis)

The roots t=0t=0 and t=4t=4 are when the ball is kicked and when it lands. The vertex (2,20)(2,20) means the ball reaches its maximum height of 2020 m after 22 s.

In h=20t−5t2h=20t-5t^2, what does the root t=4t=4 mean?

Try an exam question

The graph of y=x2−2x−3y=x^2-2x-3 is a parabola. Find where it crosses the xx-axis and the coordinates of its vertex.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Where does the graph cross the yy-axis?

1 mark, marked against the mark scheme

Revision notes