Function concepts AI SL

A function is a rule that gives exactly one output for every allowed input, and function notation such as f(x)f(x) or C(n)C(n) is the shorthand for it. This page covers evaluating a function, stating its domain and range, using a function as a model of a real situation and using the inverse function, which undoes the original rule, to find the input that gives a stated output. In a context, the skill is always the same: say what the input and the output stand for, with units.

Formulas at a glance

There are no formulas for this topic in the formula booklet. Function notation, domain, range and the inverse are ideas and methods that you apply to whatever function you are given.

Function notation - naming the rule and its variable

f(x)f(x), v(t)v(t), C(n)C(n)

Not in the booklet

Where the function is defined

Domain: the set of valid xx

Not in the booklet

What values the function outputs

Range: the set of resulting f(x)f(x)

Not in the booklet

Which method to use

Read the notation first: f(a)f(a) asks for an output, f−1(k)f^{-1}(k) asks for the input that gives the output kk, and domain and range describe the sets of inputs and outputs.

The question hasUseNotes
f(a)f(a), the value of a function or a model at an inputSubstitute aa for the variable everywhere it appears, then evaluateUse brackets round a negative input; f(3)f(3) is not ff times 3
The domain of a functionThe inputs the question allows, or the largest set of real numbers for which the rule worksExclude values that make a denominator zero or a square root negative
The range of a functionThe outputs it gives: graph it and read the lowest and highest values, or evaluate at the ends of the domainOn a restricted domain a line gives its extremes at the ends
One value of the inverse, such as f−1(10)f^{-1}(10)Solve f(x)=10f(x)=10, by hand, with the equation solver or from a graphIt is the input that gives the output 10, and f−1(x)f^{-1}(x) is not 1f(x)\dfrac{1}{f(x)}
The domain or range of the inverseSwap them: the domain of f−1f^{-1} is the range of ffCheck the answer against the context
The graph of the inverseReflect the graph of ff in the line y=xy=xThe point (a,b)(a,b) on ff becomes (b,a)(b,a)
What a function value or an inverse value means in a contextSay what the input and the output stand for, with unitsCheck that the answer lies inside the domain

SL2.2

Function notation, domain and inverse

A function is a rule that gives exactly one output for each allowed input, and it is written with notation such as f(x)f(x). The domain is the set of allowed inputs, the range is the set of resulting outputs, and the inverse function f−1f^{-1} reverses the rule. These ideas let you evaluate a function, state its domain and range, and use its inverse to find the input that gives a stated output.

Notation and definitions

Function notation, domain, range and the inverse are not formulas, so none of them is in the booklet. They are definitions and methods that you apply to each new function.

Key terms

What is a function?

A function is a rule that gives exactly one output for every input in its domain. One input must never produce two different outputs.

e.g. f(x)=3x−1f(x)=3x-1 is a function: the input 44 gives only the output 1111.

What is the domain of a function?

The domain is the set of input values for which the function is defined. Unless the question says otherwise, it is the largest set of real numbers that works.

e.g. The domain of f(x)=xf(x)=\sqrt{x} is x≥0x\ge0, because the square root of a negative number is not real.

What is the range of a function?

The range is the set of output values the function produces. On a graph, read it from the yy-values, not the xx-values.

e.g. For f(x)=x2f(x)=x^2 with all real numbers as its domain, the range is f(x)≥0f(x)\ge0.

How are a function and its inverse related on a graph?

The graph of y=f−1(x)y=f^{-1}(x) is the reflection of the graph of y=f(x)y=f(x) in the line y=xy=x. Inputs and outputs swap, so the point (a,b)(a,b) on ff becomes (b,a)(b,a) on f−1f^{-1}.

e.g. For f(x)=3x−1f(x)=3x-1, the point (4,11)(4,11) lies on ff, so (11,4)(11,4) lies on f−1f^{-1}, meaning f−1(11)=4f^{-1}(11)=4.

Worked example, step by step

The question Calculator may be used to solve the equation [5 marks]

A kettle heats water so that its temperature, TT degrees Celsius, tt seconds after it is switched on is modelled by T(t)=20+1.4tT(t)=20+1.4t, for 0≤t≤500\le t\le50.

(a) Write down the range of TT.

(b) Find T−1(76)T^{-1}(76).

(c) State what T−1(76)T^{-1}(76) represents.

Worked solution: worked example

Answer: (a) 20≤T≤9020\le T\le90 (b) T−1(76)=40T^{-1}(76)=40 (c) the water reaches 7676°C after 4040 seconds

Step 1 - Find the range.

The temperature rises as tt increases, so the lowest value is at t=0t=0 and the highest at t=50t=50: T(0)=20,T(50)=20+1.4(50)=90.T(0)=20,\qquad T(50)=20+1.4(50)=90. The range is 20≤T≤9020\le T\le90. A1 - T≥20T\ge20 A1 - T≤90T\le90

Why? The range is the set of outputs, not the inputs. On a restricted domain, a straight line takes its lowest and highest values at the two ends.

Step 2 - Turn the inverse value into an equation.

T−1(76)T^{-1}(76) is the input that gives the output 7676. So it is the value of tt that solves T(t)=76,that is20+1.4t=76.T(t)=76,\quad\text{that is}\quad 20+1.4t=76. M1 - Set 20+1.4t=7620+1.4t=76

Why? The inverse function undoes TT: TT turns a time into a temperature, and T−1T^{-1} turns a temperature back into the time. To find one value of T−1T^{-1}, ask which input gives that output.

Step 3 - Solve the equation.

Use the equation solver, or graph y=20+1.4ty=20+1.4t and y=76y=76 and find where they meet. By hand, 1.4t=561.4t=56, so t=40t=40. Every route gives T−1(76)=40T^{-1}(76)=40. A1 - 4040

Why? Any correct route is accepted, so use the one you can do without a slip.

Step 4 - Check the answer.

T(40)=20+1.4(40)=76T(40)=20+1.4(40)=76, so the input 4040 does give the output 7676. The point (40,76)(40,76) lies on the graph of TT, so (76,40)(76,40) lies on the graph of T−1T^{-1}, its reflection in the line y=xy=x. The domain of T−1T^{-1} is the range of TT, 20≤x≤9020\le x\le90, and 7676 is inside it.

Why? A function and its inverse swap inputs and outputs, so the outputs of TT become the inputs of T−1T^{-1}. Putting 4040 back into TT is the quickest check.

Step 5 - Say what it means.

T−1(76)=40T^{-1}(76)=40 means that the water reaches 7676°C 4040 seconds after the kettle is switched on. This is inside the domain 0≤t≤500\le t\le50, so it is a valid time. A1 - The time, in seconds, at which the water reaches 7676°C

Why? In a context an answer needs its meaning and its units. Checking that 4040 lies in the domain shows the model can be used here.

Marks (5):
A1 T≥20T\ge20
A1 T≤90T\le90
M1 Set 20+1.4t=7620+1.4t=76
A1 4040
A1 The time, in seconds, at which the water reaches 7676°C

Now you try: enter your answers to be marked

These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.

1
Easy
Calculator
[2 marks]
Let f(x)=x2−4x+1.f(x)=x^{2}-4x+1.
(a) Find f(0).f(0).
[1]
(b) Find f(3).f(3).
[1]
Fractions & powers
Other

Worked solution: practice question 1

2
Medium
Calculator
[3 marks]
A car’s stopping distance is modelled by d(v)=0.01v2+0.2vd(v)=0.01v^2+0.2v metres at speed vv km/h.

Find the stopping distance at 60 km/h.
[3]
Fractions & powers
Other

Worked solution: practice question 2

3
Easy
Calculator
[5 marks]
A function is defined by f(x)=2.5x−4f(x)=2.5x-4.
(a) State which expression gives the solution of the equation f(x)=11f(x)=11.
[1]
(b) Find f−1(11)f^{-1}(11).
[2]
(c) Find the value of xx for which f−1(x)=2f^{-1}(x)=2.
[2]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 10 marks

Common mistakes

  • Reading f(x)f(x) as multiplication. f(x)f(x) is notation for "the output of ff at xx" - it isn't ff times xx, and f(3)f(3) means substitute x=3x=3, not "ff times 3".
  • Stating the range using the domain's numbers. The range is a set of yy-values, not xx-values - substitute the domain endpoints (or check the graph's turning points) into the function to get the actual range.
  • Mixing up the input and the output of the inverse. f−1(k)f^{-1}(k) is the input that gives the output kk, not the output at the input kk - so find it by solving f(x)=kf(x)=k, not by substituting kk into ff.

Try some questions on function notation, domain and inverse

Using your GDC

The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.

Evaluate a function at a point

Used in: Function notation, domain and inverse

How to evaluate a function at a point on a TI-84 Plus CE

Call the function from the home screen

Press Y= and type the function into Y1: X,T,θ,n ^ 3 − 2 X,T,θ,n + 1.

Y1=X^3-2X+1

Press 2nd mode (QUIT) to return to the home screen. Press vars, then ▶ to open the Y-VARS menu, choose 1:Function and then 1:Y1. Use this menu rather than typing the letter Y and the number 1.

Type the x-value in brackets, ( 2 . 5 ), and press enter.

f(2.5)=11.625f(2.5) = 11.625, which is 11.611.6 to 3 significant figures.

Y1(2.5)
11.625
Another way: the table

Press 2nd window (TBLSET) and set Indpnt to Ask, then press 2nd graph (TABLE). The table is empty. Type 2 . 5 and press enter: the Y1 column fills in.

X | Y1
2.5 | 11.625
Another way: trace the graph

Press graph to draw the graph, then trace. Type 2 . 5 (an X= prompt appears) and press enter. The cursor jumps to that x-value and the bottom of the screen shows the point.

X=2.5
Y=11.625

Y1( from the Y-VARS menu is the exact route: the answer is the function's value, not a cursor position. Use the table when you want several values.

The full guide: Evaluate a function at a point

Find where two graphs meet (intersection)

Used in: Function notation, domain and inverse

How to find where two graphs meet on a TI-84 Plus CE

Graph both and use intersect

Press Y=, clear any old functions with clear, then type X,T,θ,n x² − 3 next to Y1=. Press ▼ and type 2 X,T,θ,n + 1 next to Y2=.

Plot1 Plot2 Plot3
\Y1=X²-3
\Y2=2X+1
\Y3=

Press window and set Xmin = −3, Xmax = 5, Ymin = −4, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. Both curves should show, with two crossing points on the screen.

WINDOW
Xmin=-3
Xmax=5
Xscl=1
Ymin=-4
Ymax=10
Yscl=1

Press 2nd trace (CALC) and choose 5:intersect. First curve? appears with the cursor on one graph: press enter. Second curve? appears: press enter again. If more than two graphs are drawn, use ▲ or ▼ to put the cursor on the right graph before pressing enter.

Second curve?

Guess? appears. Use ◀ or ▶ to move the cursor close to the right-hand crossing, then press enter.

The screen shows Intersection with x=3.24x = 3.24 and y=7.47y = 7.47.

Intersection X=3.236068 Y=7.472136

For the other crossing, repeat 2nd trace 5:intersect, enter, enter, and this time move the guess close to the left-hand crossing before pressing enter.

x=−1.24x = -1.24 and y=−1.47y = -1.47.

Intersection X=-1.236068 Y=-1.472136

The guess decides which crossing the calculator finds, so give a guess near the point you want. A crossing outside the window cannot be found, so check WINDOW first.

The full guide: Find where two graphs meet (intersection)

Find a maximum, minimum or zero of a graph (stationary points)

Used in: Function notation, domain and inverse

How to find a maximum, minimum or zero on a TI-84 Plus CE

Graph the function and use the CALC menu

Press Y=, clear any old functions with clear, then type X,T,θ,n ^ 3 − 6 X,T,θ,n x² + 5 X,T,θ,n + 4 next to Y1=.

Plot1 Plot2 Plot3
\Y1=X^3-6X²+5X+4
\Y2=

Press window and set Xmin = −2, Xmax = 6, Ymin = −15, Ymax = 10. For a negative number use the (−) key, not the subtraction key. Press graph. The graph should show the turning points and the places where it crosses the x-axis.

WINDOW
Xmin=-2
Xmax=6
Xscl=1
Ymin=-15
Ymax=10
Yscl=1

For the local maximum, press 2nd trace (CALC) and choose 4:maximum. Left Bound? appears with the cursor on the graph: use ◀ to move it to the left of the maximum, then press enter. Right Bound? appears: use ▶ to move to the right of the maximum and press enter. Guess? appears: move the cursor close to the maximum, between the two bounds, and press enter. With more than one graph drawn, use ▲ or ▼ first to put the cursor on the right graph.

The screen shows Maximum with x=0.472x = 0.472 and y=5.13y = 5.13.

Maximum X=0.472475 Y=5.128451

For the local minimum, press 2nd trace and choose 3:minimum, then set the left bound, the right bound and the guess in the same way, with the bounds either side of the minimum.

The screen shows Minimum with x=3.528x = 3.528 and y=−9.13y = -9.13.

Minimum X=3.527525 Y=-9.128451

For a zero (a place where the graph crosses the x-axis), press 2nd trace and choose 2:zero. Set the left bound on one side of the crossing and the right bound on the other, then give a guess between them. Each search finds one zero, so repeat with the bounds round each of the other crossings.

The zero between x=1x = 1 and x=2x = 2 is x=1.711x = 1.711, with y=0y = 0.

Zero X=1.710831 Y=0

Put the left and right bounds either side of the point you want, and the guess between them. A bound or guess that is outside the window, or on the wrong side, gives an error or a different point.

The full guide: Find a maximum, minimum or zero of a graph (stationary points)

See the full list of GDC guides for every calculator task.

Syllabus content covered

CodeSyllabus content
SL2.2Concept of a function, domain, range and graph. Function notation, for example f(x)f(x), v(t)v(t), C(n)C(n). The concept of a function as a mathematical model. The domain will be the largest possible domain for which a function is defined unless otherwise stated. Informal concept that an inverse function reverses or undoes the effect of a function; inverse function as a reflection in the line y=xy=x, with notation f−1(x)f^{-1}(x).

Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).

Quick questions

What does f(x)f(x) notation actually mean?

f(x)f(x) names the output of the function ff when the input is xx. It is notation, not multiplication - f(3)f(3) means substitute x=3x=3 into the rule, it does not mean ff times 3.

How do you find a value of the inverse function?

To find f−1(k)f^{-1}(k), solve f(x)=kf(x)=k: the answer is the input that gives the output kk. For f(x)=2x+5f(x)=2x+5, f−1(9)f^{-1}(9) is the solution of 2x+5=92x+5=9, so f−1(9)=2f^{-1}(9)=2.

How do I find the domain of a function from its graph?

Read the set of xx-values that the graph covers, from the leftmost point to the rightmost point. An open circle at an end means that value is not included.

Which values of xx must be excluded from a domain?

Exclude values that make a denominator zero or that make the expression under a square root negative. For example, f(x)=5x+3f(x)=\dfrac{5}{x+3} is undefined at x=−3x=-3.

Is f−1(x)f^{-1}(x) the same as 1f(x)\dfrac{1}{f(x)}?

No. The −1-1 here is not a power. The inverse function f−1f^{-1} undoes ff, whereas 1f(x)\dfrac{1}{f(x)} is the reciprocal of the output. For f(x)=2xf(x)=2x, f−1(6)=3f^{-1}(6)=3 because f(3)=6f(3)=6, but 1f(6)=112\dfrac{1}{f(6)}=\dfrac{1}{12}.

Ready to practise properly?

Practice questions on every section, marked instantly like the real exam.