All revision notes topics

Domain and rangeIB MYP Maths Extended: Revision notes

Section 1

Domain and range

The domain of a function is the set of all allowed inputs (xx-values). The range is the set of all outputs (f(x)f(x) or yy-values) that the function produces. Example: f(x)=2x−3f(x)=2x-3 with −1≤x≤4-1\leq x\leq4. The domain is −1≤x≤4-1\leq x\leq4. Since f(−1)=−5f(-1)=-5 and f(4)=5f(4)=5, the range is −5≤f(x)≤5-5\leq f(x)\leq5.

Key termsdomainrangefunction
Common mistake

Mixing up the two. Domain is about xx (across); range is about yy (up and down).

Section 2

Writing domain and range

Use inequalities: −1≤x≤4-1\leq x\leq4 or x>2x>2. Use set notation: {x∈R:−1≤x≤4}\{x\in\mathbb{R}:-1\leq x\leq4\}, read as 'all real xx such that xx is between −1-1 and 44 inclusive'. R\mathbb{R} is the set of real numbers. The symbols ≤\leq and ≥\geq include the end value; << and >> do not. For a mapping or table, list the outputs: 1→3, 2→5, 3→31\to3,\ 2\to5,\ 3\to3 has range {3,5}\{3,5\}, because repeated outputs are listed once. From a graph, read how far the graph extends across (xx) and up and down (yy).

Key termsset notationinequality

Section 3

Domain from a rule

If no domain is given, use the largest set of real numbers that works. Two things to watch:

  • Division by zero is not allowed: for 4x−5\frac{4}{x-5} the domain is x≠5x\neq5.
  • Square root of a negative is not real: for x+3\sqrt{x+3} we need x+3≥0x+3\geq0, so x≥−3x\geq-3.
Key termsrestricted domain
Exam tip

Set the denominator equal to zero to find the value to exclude, and set the square-root expression ≥0\geq0 to find the allowed values.

Section 4

Restricting a domain

A domain can be restricted by the question or by the context, for example a price that cannot be negative. Restricting the domain can change the range. For f(x)=x2f(x)=x^2, the range is f(x)≥0f(x)\geq0 for all real xx, but for −2≤x≤3-2\leq x\leq3 the range is 0≤f(x)≤90\leq f(x)\leq9, because the greatest value occurs at x=3x=3 and the least at x=0x=0. To find a range on a restricted domain, work out the function at both ends, and check whether a lowest or highest point lies inside the domain.

Key termsend point
Common mistake

Only evaluating the end points of a quadratic. The vertex may lie inside the domain and give the greatest or least value.

Section 5

Range of linear and quadratic functions

A linear function on all real numbers has range all real numbers (unless it is constant). On a restricted domain, the range runs from the output at one end to the output at the other. A quadratic has a vertex. Complete the square to find it: x2−6x+5=(x−3)2−4x^2-6x+5=(x-3)^2-4, so the least value is −4-4 and the range is f(x)≥−4f(x)\geq-4. If the parabola opens downwards, the vertex is the greatest value. In context, write the domain and range with units and explain what they mean, for example a revenue of 0≤R≤8000\leq R\leq800 dirhams.

Key termsvertex

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Domain and range

  1. A function is defined by f(x)=2x−3f(x)=2x-3, where xx is a real number and −1≤x≤4-1\leq x\leq4.
    The domain of ff is restricted so that f(x)≥0f(x)\geq0. Find the new domain.2 marks
  2. Consider the functions h(x)=x+3h(x)=\sqrt{x+3} and k(x)=4x−5k(x)=\dfrac{4}{x-5}. Each function has the largest possible domain of real numbers.
    State the range of hh and give a reason.2 marks
  3. A quadratic function is defined by f(x)=x2−6x+5f(x)=x^2-6x+5.
    By completing the square, find the coordinates of the lowest point of the graph, and hence state the range of ff when its domain is all real numbers.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).