Grade 12 IB Math is live, AA and AI · see the IB course

Grade 11 · MCR3U · Functions

MCR3U: Domain, Range and Function Notation

A function sends each input to exactly one output. Function notation names the rule, f(x)f(x), and the domain and range say which inputs it accepts and which outputs it can produce. Almost every question in this topic asks for one of those three things.

How It Works

Function or relation. A relation is any set of ordered pairs. It is a function when no input appears with two different outputs. On a graph, use the vertical line test: if some vertical line hits the graph twice, it is not a function.

Function notation is substitution. f(3)f(3) means replace every xx in the rule with 33. For f(x)=2x2−5f(x) = 2x^2 - 5, f(3)=2(9)−5=13f(3) = 2(9) - 5 = 13. The input can be an expression too: f(a+1)=2(a+1)2−5f(a + 1) = 2(a + 1)^2 - 5. Keep the brackets, or the square lands on the wrong term.

Solving runs the other way. f(x)=13f(x) = 13 asks which inputs give an output of 1313. Set the rule equal to 1313 and solve. A quadratic rule can give two answers, and both count.

Domain from an equation. Start with all real numbers and remove whatever breaks the rule. A denominator cannot be 00, and the expression under a square root cannot be negative. So 1x−4\frac{1}{x - 4} excludes x=4x = 4, and x+2\sqrt{x + 2} needs x≥−2x \ge -2.

Range from an equation. Ask which outputs the rule can reach. A square root is never negative. A parabola stops at its vertex: y=(x−1)2+3y = (x - 1)^2 + 3 has range y≥3y \ge 3, and a negative aa flips the inequality. 1x−4\frac{1}{x - 4} is never 00, so its range leaves out 00.

Domain and range from a graph. Read the domain left to right along the xx-axis and the range bottom to top along the yy-axis. A closed dot includes the endpoint, an open dot leaves it out, and an arrow means the graph keeps going.

Set notation. Tests expect answers like {x∈R∣x≥−2}\{x \in \mathbb{R} \mid x \ge -2\}. Check every boundary before you write it: is the endpoint in or out?

5 Worked Examples

Easy first, test level last. Try each one on paper, then open the solution.

  1. Easy

    Is {(1,4),(2,6),(3,4),(2,8)}\{(1, 4), (2, 6), (3, 4), (2, 8)\} a function? State its domain and range.
    Show solution
    1. The input 22 goes to both 66 and 88, so the relation is not a function. Two inputs sharing the output 44 is fine.
    2. Domain: the first coordinates, {1,2,3}\{1, 2, 3\}. Range: the second coordinates, {4,6,8}\{4, 6, 8\}.

    Answer: Not a function; domain {1,2,3}\{1, 2, 3\}, range {4,6,8}\{4, 6, 8\}.

  2. Easy

    For f(x)=2x2−5f(x) = 2x^2 - 5, find f(3)f(3), f(−1)f(-1) and f(a+1)f(a + 1).
    Show solution
    1. f(3)=2(3)2−5=18−5=13f(3) = 2(3)^2 - 5 = 18 - 5 = 13.
    2. f(−1)=2(−1)2−5=2−5=−3f(-1) = 2(-1)^2 - 5 = 2 - 5 = -3.
    3. f(a+1)=2(a+1)2−5=2(a2+2a+1)−5=2a2+4a−3f(a + 1) = 2(a + 1)^2 - 5 = 2(a^2 + 2a + 1) - 5 = 2a^2 + 4a - 3.

    Answer: f(3)=13f(3) = 13, f(−1)=−3f(-1) = -3 and f(a+1)=2a2+4a−3f(a + 1) = 2a^2 + 4a - 3.

  3. Medium

    State the domain and range of f(x)=x+2−3f(x) = \sqrt{x + 2} - 3.
    Show solution
    1. The expression under the root cannot be negative: x+2≥0x + 2 \ge 0, so x≥−2x \ge -2.
    2. x+2≥0\sqrt{x + 2} \ge 0, so f(x)≥−3f(x) \ge -3. The value −3-3 is reached at x=−2x = -2, so it is included.

    Answer: Domain {x∈R∣x≥−2}\{x \in \mathbb{R} \mid x \ge -2\}, range {y∈R∣y≥−3}\{y \in \mathbb{R} \mid y \ge -3\}.

  4. Medium

    State the domain and range of g(x)=−2(x−1)2+5g(x) = -2(x - 1)^2 + 5, then solve g(x)=−3g(x) = -3.
    Show solution
    1. A polynomial accepts every real xx, so the domain is all real numbers.
    2. a=−2a = -2, so the parabola opens down and its vertex (1,5)(1, 5) is a maximum. The range is y≤5y \le 5.
    3. −2(x−1)2+5=−3-2(x - 1)^2 + 5 = -3 gives (x−1)2=4(x - 1)^2 = 4, so x−1=±2x - 1 = \pm 2.

    Answer: Domain {x∈R}\{x \in \mathbb{R}\}, range {y∈R∣y≤5}\{y \in \mathbb{R} \mid y \le 5\}; g(x)=−3g(x) = -3 at x=−1x = -1 and x=3x = 3.

  5. Test level

    For h(x)=3x−4+1h(x) = \frac{3}{x - 4} + 1, state the domain and range, find h(5)h(5), and solve h(x)=−2h(x) = -2.
    Show solution
    1. The denominator is 00 at x=4x = 4, so the domain leaves out 44.
    2. 3x−4\frac{3}{x - 4} is never 00, so h(x)h(x) is never 11. Every other output is reached, so the range leaves out only 11.
    3. h(5)=31+1=4h(5) = \frac{3}{1} + 1 = 4.
    4. 3x−4+1=−2\frac{3}{x - 4} + 1 = -2 gives 3x−4=−3\frac{3}{x - 4} = -3, so x−4=−1x - 4 = -1 and x=3x = 3.

    Answer: Domain {x∈R∣x≠4}\{x \in \mathbb{R} \mid x \ne 4\}, range {y∈R∣y≠1}\{y \in \mathbb{R} \mid y \ne 1\}; h(5)=4h(5) = 4; x=3x = 3.

Learn It on Martian Lab

Martian Lab teaches this in the Function Notation, Domain & Range lesson of its MCR3U Functions & Transformations unit. Watch it, then take the Functions & Transformations practice tests to see if it stuck.

Watch the Function Notation, Domain & Range lesson free

Start Practicing

No credit card required to start.

Get started