Lesson 3: Domain and range

Find the range of f(x)=x2−4x+1f(x) = x^2 - 4x + 1 for −1≤x<5-1 \le x < 5

SkillDomain and range

Worked example

  • Complex familiar
  • Technology free

Find the range of f(x)=x2−4x+1f(x) = x^2 - 4x + 1 on the domain −1≤x<5-1 \le x < 5.

1 of 5 steps
  1. Step 1: Find the turning point

    Complete the square: f(x)=(x−2)2−4+1=(x−2)2−3f(x) = (x - 2)^2 - 4 + 1 = (x - 2)^2 - 3. The turning point (2,−3)(2, -3) is a minimum, because the parabola opens upwards.

    (2,−3)(2, -3)

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Find the turning point (complete the square) and check it lies in the domain.

  2. Evaluate the function at both endpoints, noting which are included.

  3. The range runs from the smallest to the largest output; decide each bracket by whether that output is actually reached.

Watch out for

  • Using only the endpoints, and so missing the minimum at the turning point.

  • Writing [−3,6)[-3, 6) because x=5x = 5 is excluded, when 66 is reached at x=−1x = -1.

Save your progress with a free account