Functions & graphing with technology
Function notation, domain and range, and inverses, then the GDC skills that AI SL depends on: graphing with a sensible window, and finding zeros, maximum and minimum points, asymptotes and intersections. Solving an equation graphically works for equations you could never solve by hand.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Use function notation, such as and solving SL 2.2
- State the domain and range of a function, including on a restricted domainSL 2.2
- Find the inverse of a simple function, and understand as a reflection in SL 2.2
- Draw a graph on the GDC with a suitable window, and sketch it on paperSL 2.3
- Find zeros, maximum and minimum points, intercepts and asymptotes with the GDCSL 2.3, 2.4
- Solve by finding where two graphs intersectSL 2.4
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
A function is a rule that turns each input into exactly one output. In AI SL you rarely need algebra to study a function: you graph it. Almost every question about a function, such as "where is it zero?", "what is its largest value?" or "when does it reach 30?", is answered by drawing it on the GDC and reading off a point. The skill is knowing which tool to use and writing the answer properly.
2.1 Function notation and inverses
means "the function multiplies its input by 3 and subtracts 5". is the output when the input is 4. The inverse undoes : if , then . Its graph is the reflection of the graph of in the line .
2.2 Domain and range
The domain is the set of inputs allowed; the range is the set of outputs produced. In a model the domain is often limited by the context (time cannot be negative, a box side cannot be longer than the card). To find a range, graph the function on its domain and read off the lowest and highest values: check the endpoints as well as any turning points.
f1(x)=x^2−4x+1 | −1≤x≤52.3 Key features on the GDC
| Feature | How to find it | How to write it |
|---|---|---|
| -intercept | Put , or trace to | |
| Zeros (-intercepts) | menu → Analyze Graph → Zero | , or the points |
| Maximum / minimum | menu → Analyze Graph → Maximum or Minimum | a point: |
| Vertical asymptote | where the function is undefined (often a denominator of 0) | an equation: |
| Horizontal asymptote | the value the function approaches as becomes very large; check with the table | an equation: |
2.4 Solving equations graphically
To solve , graph and and find every intersection. Zoom out first so you do not miss one: the GDC only finds what is on the screen.
Graphs page: type the function after f1(x)=. Window: menu → Window/Zoom → Window Settings, or Zoom – Fit. Analyze Graph (menu): Zero, Minimum, Maximum, Intersection: click to the left of the point, then to the right. Table: ctrl T shows a table of values; useful for asymptotes and checking. Restricting the domain: add |1≤x≤5 after the function.
3Explore it
Change the values in . The dashed lines are the asymptotes. Watch how each value moves the graph, and where the zero is.
4Common mistakes & exam tips
Common mistakes
- Giving a maximum as just a -value when the question asks for coordinates, or the other way round.
- Finding the range from the turning point only, and ignoring the endpoints of the domain.
- Missing an intersection because the window is too small.
- Writing an asymptote as a number ("2") instead of an equation ().
- Copying a graph that has joined across a vertical asymptote. Asymptotes are never crossed by a rational graph like this.
Exam tips
- "Sketch" means a neat graph showing its shape and the key features labelled; "draw" means accurately, on given axes or to scale.
- On a sketch, label intercepts, turning points and asymptotes with their values, and show the curve approaching asymptotes.
- Write down the equations you graphed: "graphing and " earns the method mark.
- Use the table (ctrl T) to check behaviour for large when you suspect a horizontal asymptote.
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB Maths AI SL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.
Let , for .
- (a)Write down the equation of the vertical asymptote.[1]
- (b)Write down the equation of the horizontal asymptote.[1]
- (c)Sketch the graph of for , showing the asymptotes.[2]
- (d)Solve .[2]
| (a) | |
| A1 | |
| (b) | |
| A1 | |
| (c) | |
| two branches with the correct shape, approaching the asymptotes | A1 |
| zero at and -intercept shown | A1 |
| (d) | |
| graphing and , or rearranging to | (M1) |
| A1 | |
Let , for .
- (a)Find the coordinates of the local maximum and the local minimum.[2]
- (b)Find the range of .[2]
- (c)Write down the number of solutions of .[2]
| (a) | |
| local maximum | A1 |
| local minimum | A1 |
| (b) | |
| , | (M1) |
| A1 | |
| (c) | |
| line drawn or considered | (M1) |
| 3 | A1 |
A cup of tea cools in a room. Its temperature after minutes is °C, for .
- (a)Write down the initial temperature of the tea.[1]
- (b)Find the temperature after 10 minutes.[1]
- (c)Write down the equation of the horizontal asymptote of the graph of , and interpret it in context.[2]
- (d)Find the time taken for the tea to cool to 30 °C.[2]
- (e)Write down the range of .[1]
| (a) | |
| 80 °C | A1 |
| (b) | |
| 56.4 °C | A1 |
| (c) | |
| A1 | |
| the tea cools towards room temperature, 20 °C | R1 |
| (d) | |
| graphing and , or | (M1) |
| 35.8 minutes | A1 |
| (e) | |
| A1 | |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you're scoring well above, try these real IB Maths AI SL questions. Your school or teacher will have the papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2021 · TZ2 · Paper 1 | Q7 | Range of a rational function on a restricted domain; an inverse value | ★☆☆ |
| May 2025 · TZ2 · Paper 1 | Q9 | Function on a table of values: solve equations, composite and inverse | ★☆☆ |
| May 2025 · TZ3 · Paper 1 | Q3 | Water tank model: evaluate, an inverse value and its meaning, range | ★★☆ |
| May 2023 · TZ1 · Paper 2 | Q2 | Graph of 3x − 1 + 4/(x − 2): turning points, intersections, asymptotes | ★★★ |
