IB Mathematics: Analysis and Approaches HL · IB AA HL SL 2.2
SL 2.2 · Use function notation, domain, range, and inverse ideas
A function is a rule that assigns exactly one output to each allowed input. In this lesson, you will connect that idea to function notation…
International Baccalaureate (IB) IB AA HL: Mathematics: Analysis and Approaches HL
Functions
Reading and using functions with care
A function is a rule that assigns exactly one output to each allowed input. In this lesson, you will connect that idea to function notation, domain and range, and inverse functions. You should be comfortable substituting values into an algebraic expression and solving a simple equation. Remember that the values allowed by a problem may be narrower than the values allowed by the formula alone: a context or a stated domain can add important restrictions.
What you will learn
Interpret and evaluate function notation.
Identify domain and range from a rule, a graph or a stated context.
Find an inverse when a function is one-to-one on its domain.
Check inverse relationships using composition and the line of symmetry.
1. Prior knowledge: inputs, outputs and notation
The notation f(x) means the output of function f when its input is x. It is read as “f of x”; it does not mean f multiplied by x. For example, if f(x)=3x−4, then f(2) is found by replacing every x with 2: f(2)=3(2)−4=2.
A function can also take an input that is already an expression. If f(x)=3x−4, then f(a+1)=3(a+1)−4=3a−1. Substitution must include parentheses so that the entire input is used.
A function can be shown by a formula, a graph, a table of input-output pairs or a description in context. Each representation must still give one output for every allowed input. For example, a table that assigns two different outputs to the same input does not describe a function.
f(c)=the output for input c
f(c) is the output corresponding to input c.
Substitute the complete input, using parentheses where needed.
A function gives exactly one output for each input in its domain.
2. Domain and range
The domain is the set of inputs for which a function is being considered. The range is the set of outputs that the function actually produces from those inputs. A domain may be stated explicitly, determined by a context, or restricted so that the function is defined.
For a graph, read the domain from the horizontal values covered by the graph and the range from the vertical values covered. Check whether endpoints are included; an included endpoint is usually shown with a solid point, while an excluded endpoint is shown with an open point. For a table, the listed inputs and outputs show the domain and range of that table.
The domain and range depend on the function and on the question. For example, the rule g(x)=x2 has non-negative outputs for every real input. If the context instead restricts inputs to non-negative values, the range remains non-negative, but the function has a narrower domain. Always state any assumed input set.
In a contextual model, units and restrictions matter. If t is time in seconds and the model is only used from the start of an experiment to 5 seconds, then the domain is restricted to that interval even if the algebraic rule could be evaluated at other values. The model may not be meaningful outside the stated interval.
Domain describes allowed inputs; range describes resulting outputs.
Use the graph, table, formula and context together when determining these sets.
State restrictions and units when they are part of the question.
3. Inverse functions and ways to check them
An inverse function reverses the input-output action of a function. If f sends x to y, then its inverse sends y back to x. The notation is f−1; it does not mean the reciprocal 1/f.
To find an inverse algebraically, write y=f(x), interchange x and y, and solve for y. The resulting expression is f−1(x), provided the original function is one-to-one on the domain being used. One-to-one means that different inputs do not produce the same output. If that condition fails, reversing the outputs would assign more than one input to some values, so there would not be an inverse function on that full domain.
A function can sometimes be made one-to-one by restricting its domain. For instance, the rule x2 gives the same output for x=2 and x=−2. If its domain is restricted to non-negative real numbers, each output has just one input, and an inverse function can be defined on the resulting range.
For inverse functions, the domain of the inverse is the range of the original function, and the range of the inverse is the domain of the original. On a graph, the graphs of a function and its inverse are reflections in the line y=x. This gives a visual check, but the reflection idea does not replace checking the domains.
Another check is to compose the functions: applying the original and then the inverse should return the starting input, and applying the inverse and then the original should return its input. These checks apply for inputs in the appropriate domains.
f−1(f(x))=x
An inverse reverses input and output; f−1 is not 1/f.
An inverse function requires the original function to be one-to-one on its domain.
The domain and range exchange places for a function and its inverse.
4. Technology and exam-style decisions
Graphing technology can help you inspect a graph, estimate its range and check whether a horizontal line meets it more than once. A horizontal line meeting a graph at multiple points indicates that multiple inputs share an output, so the function is not one-to-one on the displayed domain. The graph window only shows a portion of the graph, so it cannot by itself prove a claim about all inputs.
Use technology as a check after identifying the domain and reasoning from the function rule. When finding an inverse, graph the original rule and the inverse rule with the same scale. Their reflection in y=x should be visible. Also compare numerical input-output pairs: if f(3)=7, then the inverse should satisfy f−1(7)=3.
In an exam-style response, make the domain explicit, show how you evaluate or rearrange the rule, and check that the proposed inverse accepts the original outputs. If the question includes a real-world setting, explain why the selected domain is reasonable and retain units where appropriate.
A graphing tool supports reasoning but a viewing window can hide important features.
Check inverse values by reversing a known input-output pair.
Include domain restrictions and context when giving a final answer.
Worked example
Evaluating a function and reading a table
Let f(x)=2x+5 for inputs x in the set {−1,0,3}. Find f(0) and f(3), then state the domain and range for this restricted function.
Substitute each requested input
Use the rule with the entire input in place of x. For x=0, the output is 5. For x=3, the output is 11.
f(0)=5,f(3)=11
List allowed inputs and resulting outputs
The problem restricts the domain to the three stated inputs. Evaluating the rule at all three gives f(−1)=3, f(0)=5 and f(3)=11. These are exactly the outputs in the range.
Domain={−1,0,3},Range={3,5,11}
Answer:f(0)=5, f(3)=11, domain {−1,0,3} and range {3,5,11}.
Check: The three outputs are distinct and each comes from an allowed input.
Worked example
Finding an inverse on a stated domain
Let g(x)=x2 with domain x≥0. Find its range and inverse function.
Determine the range
Squaring any non-negative input produces a non-negative output. Every non-negative value can occur: for an output y≥0, the input y is allowed and squares to y.
Range(g)=[0,∞)
Reverse the rule
Write y=x2, exchange the input and output symbols, then solve for the new output. The non-negative domain is important: it selects the non-negative square root and makes the inverse a function.
y=x2⟹x=y2⟹y=x
State and check the inverse
The inverse accepts the original range as its domain. For any x≥0, applying the original function and then the inverse returns x.
g−1(x)=x,x≥0
Answer: The range is [0,∞) and g−1(x)=x for x≥0.
Check: For x≥0, g−1(g(x))=x2=x.
Worked example
Testing whether an inverse is possible
Consider h(x)=x2−1 with domain x∈\{-2,1,3\}. Determine whether it has an inverse function on this domain. If it does, state the inverse values.
Compare outputs for distinct inputs
Evaluate the rule at each allowed input. Since h(−2)=3 and h(1)=0, and h(3)=8, all three outputs are different.
h(−2)=3,h(1)=0,h(3)=8
Reverse the input-output pairs
Every output belongs to exactly one input, so reversing these pairs defines an inverse function. Its domain is the original range and its range is the original domain.
h−1(3)=−2,h−1(0)=1,h−1(8)=3
Answer: Yes. The function is one-to-one on the stated domain, and the inverse values are h−1(3)=−2, h−1(0)=1 and h−1(8)=3.
Check: Each inverse output is an original input, and applying h to it returns the inverse's input.
Common mistakes and how to avoid them
Reading f(x) as f multiplied by x.
Correction:f(x) names the output of function f for input x.
Giving the domain from the formula alone and ignoring a stated restriction or context.
Correction: Use the inputs allowed by the question or context, then find the outputs from those inputs.
Assuming every function has an inverse function on its full domain.
Correction: Check that different allowed inputs give different outputs. If they do not, the inverse relation is not a function unless the domain is restricted.
Treating f−1 as the reciprocal of f.
Correction:f−1 denotes the inverse function, which reverses input and output.
Swapping domain and range without checking the actual output values.
Correction: Find the original range first; it becomes the inverse's domain.
Lesson summary
Function notation identifies the output for a chosen input.
The domain is the set of allowed inputs, and the range is the set of outputs produced.
An inverse reverses inputs and outputs and is a function only when the original function is one-to-one on its domain.
For an inverse, the original domain and range exchange roles; check with reversed input-output pairs or composition.
Check your understanding
Question 1
If p(x)=4x−1, what is p(2)?
7
8
3
4(2)−1 is undefined
Show answer and explanation
7
Substitution gives p(2)=4(2)−1=7.
Question 2
A function has domain {−1,2} and maps −1 to 5 and 2 to 5. Does it have an inverse function on this domain?
Yes, because both outputs are positive.
Yes, because every input has an output.
No, because the same output comes from two different inputs.
No, because a domain cannot contain negative numbers.
Show answer and explanation
No, because the same output comes from two different inputs.
Reversing the output 5 would require it to map to both −1 and 2, so the inverse would not be a function.
Question 3
If q(4)=9 and q has an inverse function, what is q−1(9)?
4
9
q(9)
1/9
Show answer and explanation
4
The inverse reverses the pair: an output of 9 came from input 4, so q−1(9)=4.
Key terms
Function
A rule assigning exactly one output to each input in its domain.
Function notation
Notation such as f(x) that names the output of function f for input x.
Domain
The set of inputs for which a function is being considered.
Range
The set of outputs produced by a function for inputs in its domain.
Inverse function
A function that reverses the input-output action of another function.
One-to-one
A function is one-to-one on its domain when distinct allowed inputs always give distinct outputs.
Tutor support for SL 2.2 · Use function notation, domain, range, and inverse ideas
Working on SL 2.2 · Use function notation, domain, range, and inverse ideas in IB AA HL? Bring the question and your own attempt. In a live session, you can label the axes and connect each feature of the graph to the equation or situation. Ask about the first step that does not make sense, then try a similar question yourself.
برای مبحث SL 2.2 · استفاده از نماد تابع، دامنه، برد و مفهوم وارون در درس IB AA HL، سؤال و تلاش خود را همراه بیاورید. در جلسه میتوانید محورها را برچسب بزنید و هر ویژگی نمودار را به معادله یا موقعیت مسئله ربط دهید. راهنمای معلم ریاضی را ببینید یا جلسهٔ معارفهٔ رایگان ۳۰ دقیقهای درخواست کنید. زمان جلسه پس از پذیرش معلم قطعی میشود.
About this lesson and its review
Published by DoAssignment. This reviewed lesson follows International Baccalaureate (IB) IB AA HL: Mathematics: Analysis and Approaches HL, study topic SL 2.2. It is a study resource, not an official curriculum publication.
Before publication, content is checked for structure, mathematical or chemical notation, calculations, course boundaries, and readability. Errors can still occur, so corrections are welcomed.