DoAssignment.ca

SL 2.2 · Use function notation, domain, range, and inverse ideas

Learn to use function notation, domain, range, and inverse ideas through clear examples and targeted practice.

International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL

Functions

IB Mathematics: Analysis and Approaches SL — Study topic SL 2.2

A function is a rule that assigns exactly one output to each allowed input. Before working with a function, ask which inputs are allowed and which outputs can result. These sets are its domain and range. Function notation gives a compact way to describe inputs and outputs; inverse notation describes a rule that reverses the input-output relationship. You will use these ideas algebraically, numerically, graphically, and in a simple context.

What you will learn

1. Prior knowledge and function notation

An expression such as 3x+23x+2 describes a calculation. The notation f(x)=3x+2f(x)=3x+2 names that rule: ff is the function, and xx is its input. The value f(4)f(4) means the output when the input is 44, not multiplication of ff by 44. Substitute the input wherever the variable appears, then simplify.
A function must give one output for each allowed input. For example, if f(x)=3x+2f(x)=3x+2, then f(4)=14f(4)=14. If you know an output and need its input, set the rule equal to that output and solve. Keeping track of which quantity is input and which is output is useful in both calculations and contexts.
f(x)=3x+2f(x)=3x+2

2. Domain and range

The domain is the set of inputs allowed for a function. The range is the set of outputs the function actually produces from those inputs. A rule alone may not determine the intended domain: a question or context can impose additional restrictions. State such restrictions clearly.
For a real-valued rule involving a square root, the expression under the square root must be non-negative. In a practical setting, quantities may also be restricted: a time measured after an event cannot be negative, for example. These restrictions affect the domain and therefore can also affect the range.
A table of input-output pairs makes the relationship numerical. For a graph, inputs appear along the horizontal axis and outputs along the vertical axis. The graph helps you see which input and output values occur, but use the rule and stated restrictions to justify exact endpoints. When using interval notation, a square bracket includes an endpoint and a round bracket excludes it.

3. Inverse functions and representations

An inverse function reverses the input-output pairs of the original function. If a function takes input aa to output bb, its inverse takes input bb to output aa. The notation f−1(x)f^{-1}(x) means the inverse function; it does not mean the reciprocal 1/f(x)1/f(x).
To find an inverse, write the output as a variable, interchange the input and output, and solve for the new output. Then write the result using inverse notation. The domain of the inverse is the range of the original function, and its range is the domain of the original function. This exchange is a useful check.
An inverse must still be a function: each input to the inverse must produce only one output. A graph that gives two different outputs for one input cannot itself be the graph of a function. If a rule does not reverse uniquely on its full domain, a stated restriction may make its outputs correspond to inputs one-to-one. Do not silently change a domain; use only a restriction given or justified in the question.
Graphically, the graphs of a function and its inverse are reflections of each other across the line y=xy=x. Numerically, each ordered pair (a,b)(a,b) becomes (b,a)(b,a). A graphing calculator can help compare the two graphs or inspect possible domain and range, but it does not replace the algebraic steps or the need to state restrictions.
f(a)=b  ⟺  f−1(b)=af(a)=b\iff f^{-1}(b)=a

Worked example

Evaluate a function and find its domain and range

Let f(x)=3x−2f(x)=3x-2 for −1≤x≤4-1\leq x\leq 4. Find f(3)f(3), then state the domain and range.
  1. Substitute the input
    Replace each occurrence of xx with 33. The input is allowed because it lies between the stated endpoints.
    f(3)=3(3)−2=7f(3)=3(3)-2=7
  2. Read the domain
    The question allows every input from −1-1 to 44, including both endpoints, so use square brackets.
    −1≤x≤4-1≤ x≤ 4
  3. Find the output endpoints
    The rule is linear and increases as xx increases, so its smallest and largest outputs occur at the domain endpoints.
    f(−1)=−5,f(4)=10f(-1)=-5, f(4)=10
Answer: f(3)=7f(3)=7. The domain is [−1,4][-1,4] and the range is [−5,10][-5,10].
Check: The endpoint outputs are included because the input endpoints are included. Every intermediate input produces an output between −5-5 and 1010.

Worked example

Find an inverse with a restricted domain

Let g(x)=(x−2)2+1g(x)=(x-2)^2+1 with domain x≥2x\geq 2. Find g−1(x)g^{-1}(x) and state its domain and range.
  1. Write an output variable
    Use yy for the output so that interchanging input and output is clear.
    y=(x−2)2+1y=(x-2)^2+1
  2. Interchange input and output
    Reverse the input-output relationship. The original restriction x≥2x\geq2 ensures the inverse uses the non-negative square root.
    x=(y−2)2+1x=(y-2)^2+1
  3. Solve for the new output
    Subtract 11 and take the non-negative square root, since the original input was at least 22. This selects the branch consistent with the stated domain.
    y=2+x−1y=2+\sqrt{x-1}
  4. Exchange domain and range
    The original function has minimum output 11 and no upper limit. Its inverse therefore accepts inputs from 11 upward and returns values from 22 upward.
    g−1(x)=2+x−1,x≥1g^{-1}(x)=2+\sqrt{x-1}, x\geq1
Answer: g−1(x)=2+x−1g^{-1}(x)=2+\sqrt{x-1}, with domain x≥1x\geq1 and range y≥2y\geq2.
Check: For example, g(4)=5g(4)=5 and g−1(5)=4g^{-1}(5)=4, so the input-output pair is reversed correctly.

Worked example

Interpret an inverse in a context

A delivery service estimates its fee in dollars using C(t)=5t+8C(t)=5t+8, where tt is the distance in kilometres and t≥0t\geq0. Find the distance that corresponds to a fee of CAD 38, and write the inverse rule.
  1. Set the fee to the given amount
    The fee is the output of CC. Substitute the given fee and solve for the distance input.
    5t+8=385t+8=38
  2. Solve for distance
    Subtract the fixed fee and divide by the rate per kilometre. The result respects the stated non-negative distance domain.
    t=6t=6
  3. Reverse the rule
    Write the fee as the input and solve for distance. The inverse accepts fees of at least CAD 8, corresponding to distances of at least zero.
    C−1(x)=x−85,x≥8C^{-1}(x)=\frac{x-8}{5}, x\geq8
Answer: The fee of CAD 38 corresponds to a distance of 66 km. The inverse rule is C−1(x)=x−85C^{-1}(x)=\frac{x-8}{5} for x≥8x\geq8.
Check: Substituting 66 km into the original rule gives 5(6)+8=385(6)+8=38, so the context and inverse agree.

Common mistakes and how to avoid them

Treating f(3)f(3) as ff multiplied by 33.
Correction: Read the bracketed value as the input to the function, then substitute it into the rule.
Giving a range without considering the stated domain.
Correction: Find outputs only from allowed inputs; a domain restriction can change the range.
Writing 1/f(x)1/f(x) for the inverse.
Correction: An inverse reverses input and output pairs. Use reciprocal notation only when division by a function value is intended.
Taking both square-root signs when a restricted domain selects one.
Correction: Use the original domain to choose the output branch that reverses the given function.

Lesson summary

Check your understanding

Question 1

If h(x)=2x+5h(x)=2x+5, what is h(4)h(4)?
  1. 13
  2. 18
  3. 7
  4. 9
Show answer and explanation
13
Substitute 44 for xx: 2(4)+5=132(4)+5=13.

Question 2

The function p(x)=x2p(x)=x^2 has domain x≥0x\geq0. What is its range?
  1. All real numbers
  2. y≥0y\geq0
  3. y>0y>0
  4. x≥0x\geq0
Show answer and explanation
y≥0y\geq0
Squaring a non-negative input gives an output at least zero, and zero is attained when x=0x=0.

Question 3

If q(2)=7q(2)=7, which statement must be true for the inverse?
  1. q−1(2)=7q^{-1}(2)=7
  2. q−1(7)=2q^{-1}(7)=2
  3. q−1(7)=7q^{-1}(7)=7
  4. q−1(2)=2q^{-1}(2)=2
Show answer and explanation
q−1(7)=2q^{-1}(7)=2
The inverse reverses the input-output pair, so the input 77 produces output 22.

Key terms

Function
A rule that assigns exactly one output to each allowed input.
Domain
The set of inputs for which a function is defined.
Range
The set of outputs produced by a function over its stated domain.
Inverse function
A function that reverses the input-output pairs of the original function.

Continue through IB AA SL

View the complete IB AA SL International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL curriculum and lessons

About this lesson and its review

Published by DoAssignment. This AI-assisted lesson follows International Baccalaureate (IB) IB AA SL: Mathematics: Analysis and Approaches SL, study topic SL 2.2. It is a study resource, not an official curriculum publication.

Before publication, the draft is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability, and then requires administrator approval. Errors can still occur, so corrections are welcomed.

Official curriculum reference

Report a correction or ask a question