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)f(x) means the output of function ff when its input is xx. It is read as “ff of xx”; it does not mean ff multiplied by xx. For example, if f(x)=3x−4f(x)=3x-4, then f(2)f(2) is found by replacing every xx with 22: f(2)=3(2)−4=2f(2)=3(2)-4=2.
A function can also take an input that is already an expression. If f(x)=3x−4f(x)=3x-4, then f(a+1)=3(a+1)−4=3a−1f(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)f(c) is the output corresponding to input cc.
  • 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)=x2g(x)=x^2 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 tt is time in seconds and the model is only used from the start of an experiment to 55 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 ff sends xx to yy, then its inverse sends yy back to xx. The notation is f−1f^{-1}; it does not mean the reciprocal 1/f1/f.
To find an inverse algebraically, write y=f(x)y=f(x), interchange xx and yy, and solve for yy. The resulting expression is f−1(x)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 x2x^2 gives the same output for x=2x=2 and x=−2x=-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=xy=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))=xf^{-1}(f(x))=x
  • An inverse reverses input and output; f−1f^{-1} is not 1/f1/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=xy=x should be visible. Also compare numerical input-output pairs: if f(3)=7f(3)=7, then the inverse should satisfy f−1(7)=3f^{-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+5f(x)=2x+5 for inputs xx in the set {−1,0,3}\{-1,0,3\}. Find f(0)f(0) and f(3)f(3), then state the domain and range for this restricted function.
  1. Substitute each requested input
    Use the rule with the entire input in place of xx. For x=0x=0, the output is 55. For x=3x=3, the output is 1111.
    f(0)=5,f(3)=11f(0)=5,\quad f(3)=11
  2. 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)=3f(-1)=3, f(0)=5f(0)=5 and f(3)=11f(3)=11. These are exactly the outputs in the range.
    Domain={−1,0,3},Range={3,5,11}\text{Domain}=\{-1,0,3\},\quad \text{Range}=\{3,5,11\}
Answer: f(0)=5f(0)=5, f(3)=11f(3)=11, domain {−1,0,3}\{-1,0,3\} and range {3,5,11}\{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)=x2g(x)=x^2 with domain x≥0x\geq 0. Find its range and inverse function.
  1. Determine the range
    Squaring any non-negative input produces a non-negative output. Every non-negative value can occur: for an output y≥0y\geq 0, the input y\sqrt{y} is allowed and squares to yy.
    Range(g)=[0,∞)\text{Range}(g)=[0,\infty)
  2. Reverse the rule
    Write y=x2y=x^2, 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=xy=x^2\;\Longrightarrow\;x=y^2\;\Longrightarrow\;y=\sqrt{x}
  3. State and check the inverse
    The inverse accepts the original range as its domain. For any x≥0x\geq0, applying the original function and then the inverse returns xx.
    g−1(x)=x,x≥0g^{-1}(x)=\sqrt{x},\quad x\geq0
Answer: The range is [0,∞)[0,\infty) and g−1(x)=xg^{-1}(x)=\sqrt{x} for x≥0x\geq0.
Check: For x≥0x\geq0, g−1(g(x))=x2=xg^{-1}(g(x))=\sqrt{x^2}=x.

Worked example

Testing whether an inverse is possible

Consider h(x)=x2−1h(x)=x^2-1 with domain x∈\{-2,1,3\}. Determine whether it has an inverse function on this domain. If it does, state the inverse values.
  1. Compare outputs for distinct inputs
    Evaluate the rule at each allowed input. Since h(−2)=3h(-2)=3 and h(1)=0h(1)=0, and h(3)=8h(3)=8, all three outputs are different.
    h(−2)=3,h(1)=0,h(3)=8h(-2)=3,\quad h(1)=0,\quad h(3)=8
  2. 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)=3h^{-1}(3)=-2,\quad h^{-1}(0)=1,\quad h^{-1}(8)=3
Answer: Yes. The function is one-to-one on the stated domain, and the inverse values are h−1(3)=−2h^{-1}(3)=-2, h−1(0)=1h^{-1}(0)=1 and h−1(8)=3h^{-1}(8)=3.
Check: Each inverse output is an original input, and applying hh to it returns the inverse's input.

Common mistakes and how to avoid them

Reading f(x)f(x) as ff multiplied by xx.
Correction: f(x)f(x) names the output of function ff for input xx.
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−1f^{-1} as the reciprocal of ff.
Correction: f−1f^{-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−1p(x)=4x-1, what is p(2)p(2)?
  1. 7
  2. 8
  3. 3
  4. 4(2)−14(2)-1 is undefined
Show answer and explanation
7
Substitution gives p(2)=4(2)−1=7p(2)=4(2)-1=7.

Question 2

A function has domain {−1,2}\{-1,2\} and maps −1-1 to 55 and 22 to 55. Does it have an inverse function on this domain?
  1. Yes, because both outputs are positive.
  2. Yes, because every input has an output.
  3. No, because the same output comes from two different inputs.
  4. 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 55 would require it to map to both −1-1 and 22, so the inverse would not be a function.

Question 3

If q(4)=9q(4)=9 and qq has an inverse function, what is q−1(9)q^{-1}(9)?
  1. 4
  2. 9
  3. q(9)q(9)
  4. 1/91/9
Show answer and explanation
4
The inverse reverses the pair: an output of 99 came from input 44, so q−1(9)=4q^{-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)f(x) that names the output of function ff for input xx.
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.

Continue through IB AA HL

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

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.

Explore math tutoring · Request an eligible free 30-minute introduction. Your request is matched by subject and language; a tutor must accept before a time is confirmed.

برای مبحث 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.

Official curriculum reference

Report a correction or ask a question