IB Analysis and Approaches HL · Functions · Section 3 of 15

Quadratic function

3 worked examples · By Álvaro López

Key idea

A quadratic function has a parabola as its graph, with a vertex that is its highest or lowest point. Choosing the right one of its three forms gives you, with no effort, the intercepts, the vertex and the maximum or minimum value: it is the key tool for the optimisation questions in the IB exam.

The parabola and its three forms

A quadratic function is a function of the form , with . Its graph is a parabola.

  • If , it opens upwards and the vertex is the minimum.
  • If , it opens downwards and the vertex is the maximum.
  • The greater is, the narrower the parabola.
  • The number is the value at : the parabola cuts the -axis at .

The parabola is symmetric about a vertical line through the vertex, the axis of symmetry.

All three describe the same function; only what you see at first glance changes. The value is the same in all three. The canonical form comes from completing the square: .

Parabola y=x^2-4x-5 with intercepts (-1,0), (5,0), (0,-5), vertex (2,-9) and axis of symmetry x=2

Intercepts with the axes, axis of symmetry and vertex

The intercept with the -axis is . The zeros (intercepts with the -axis) are the solutions of :

The axis of symmetry passes through the midpoint of the two zeros (if they exist), and is always at

The vertex has that value as its -coordinate, and its -coordinate is obtained by substituting into .

Three parabolas x^2-2, x^2 and x^2+2: with two, one and no intercepts with the x-axis

Finding the equation from data

Depending on the data you are given, one form or another is more convenient:

  • If you are given the two zeros and and another point, start from and calculate using the point.
  • If you are given the vertex and another point, start from and calculate .
  • If you are given three arbitrary points, substitute each one into and solve the resulting system of three equations.

Optimisation problems

When a quantity depends on a variable through a quadratic function, the maximum or minimum is at the vertex. Follow this order: write the function in one variable, decide its domain (in a context problem this is usually an interval), find the vertex and check that it falls within the domain.

Worked examples

Example 1 Basic

Complete study of a parabola

Let .

a) Find the intercept with the -axis.

b) Find the zeros of .

c) Find the vertex and the equation of the axis of symmetry.

Solution

a) , so the intercept is .

b) factorises as , so and .

c) The axis of symmetry is (it is also the midpoint of and ). Substituting: . The vertex is , a minimum because .

Example 2 Medium

Equation of a parabola from its zeros

A parabola cuts the -axis at and , and passes through the point .

a) Find its equation in the form .

b) Find its vertex.

c) Find the range of .

Solution

a) With the zeros and : . As it passes through : Expanding, .

b) The axis of symmetry passes through the midpoint of the zeros: . Then . The vertex is .

c) As , the vertex is the minimum, so the range is .

Example 3 Hard

Maximum profit of a shop

A shop sells T-shirts per day when it sets the price at euros each. Each T-shirt costs the shop euros. The daily profit is euros.

a) Write as .

b) Find the price that gives the maximum profit and the value of that profit.

c) Find the set of prices for which the profit is positive.

d) Write in canonical form.

Solution

a) The profit per T-shirt is , and are sold:

b) As , the maximum is at the vertex: . The profit is The price is set at euros and the maximum profit is euros per day.

c) The zeros come directly from the factorised form: and , that is, and . The parabola opens downwards, so between the zeros: , that is, .

d) With vertex and : . Check by expanding: .

In the exam: in an optimisation problem the marks are in the set-up ( correct) and in justifying that the maximum is at the vertex. Always write the maximum value with its unit, and answer what is asked: the price, the profit, or both.

Common mistakes

Summary

  • is a parabola: opening upwards if (minimum), downwards if (maximum).
  • Three forms: polynomial (intercept with ), factorised (zeros) and canonical (vertex).
  • Axis of symmetry ; vertex: substitute that -value into .
  • : two zeros if , one double zero if , none if .
  • With two zeros and a point, use the factorised form; with the vertex and a point, the canonical form.
  • In optimisation, the maximum or minimum is at the vertex if this falls within the domain.
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp