Graphs and Transformations AA SL
The graph of a function can be read, moved, stretched and reflected using a short list of rules. This page shows how to state the domain and range of a function and find its intercepts and turning points, how each transformation changes a graph and its key points, and how to find the asymptotes and intercepts of a reciprocal or rational function, with worked examples and exam-style questions.
Formulas at a glance
None of the rules on this page is printed in the formula booklet. The transformation rules, the domain and range of a function and the asymptotes of a rational function are facts you are expected to know and use.
Vertical translation, units up
Not in the bookletHorizontal translation, units right
Not in the bookletReflection in the -axis
Not in the bookletReflection in the -axis
Not in the bookletVertical stretch, scale factor
Not in the bookletHorizontal stretch, scale factor
Not in the bookletWhich method to use
Decide whether the question is about reading a function, transforming a graph, or a rational function.
| The question asks for | Use | Notes |
|---|---|---|
| The largest possible domain | Exclude every value that makes a denominator zero or puts a negative number under a square root | For solve |
| The range | The lowest or highest output, from the vertex or from the behaviour of the function | A quadratic opening downwards has a maximum, so the range is that value |
| The -intercept, or the -intercepts and zeros | Evaluate for the -intercept, and solve for the zeros | is one number. is an equation and can have several solutions |
| A maximum, a minimum or a vertex | Completed-square form, the axis of symmetry, or the calculator's maximum and minimum tool | For the vertex is |
| A translation: or | Add to every -value. Add to every -value | The sign inside the bracket works the opposite way: moves the graph right |
| A reflection: or | Change the sign of every -value, or of every -value | is a reflection in the -axis. is a reflection in the -axis |
| A stretch: or | Multiply every -value by , or every -value by | Points on the axis that stays fixed do not move |
| Several transformations in a row | Apply them one at a time, in the order stated | A stretch followed by a translation is not the same as a translation followed by a stretch |
| The asymptotes of | Vertical: denominator , so . Horizontal: | For they are and |
| The intercepts of a rational function | Substitute for the -intercept. Set the numerator equal to zero for the -intercept | Check the denominator is not zero at that value of |
Section 1 of 3 SL2.2
Function notation, domain and range
A function gives each input in its domain exactly one output , and the set of all outputs is the range. Working with functions means stating the largest possible domain and the range, and finding intercepts and zeros from an equation or a graph. The notation records an output, and records the inverse function.
Reading a function
Neither of these is a formula-booklet entry - they're definitions and a checklist of features you're expected to extract from an equation on sight.
Function notation
is the output of for input . gives the -intercept; solving gives the -intercept(s). The domain is every valid input; the range is every value the output can take.
Key features to find
Intercepts, turning points, asymptotes
-intercepts (), -intercept (), turning points (from a completed square or ), and any vertical or horizontal asymptotes.
Key terms
What are the domain and range?
The domain is the set of input values that the function can accept. The range is the set of output values that result.
e.g. has domain all real numbers and range .
How do you find the largest possible domain?
Start with all real numbers and exclude any value that makes a denominator zero or puts a negative number under a square root.
e.g. has domain , while has domain .
What is a zero of a function?
A zero, also called a root, is a value of for which . It is the -coordinate of a point where the graph meets the -axis.
e.g. has zeros and , so its graph crosses the -axis at and .
What does mean?
It is the inverse function, which reverses what does, and its graph is the reflection of in the line . It does not mean .
e.g. If , then .
Worked example, step by step
The question No calculator needed [6 marks]
Let .
(a) Find the largest possible domain of .
(b) Write down the range of .
(c) Find .
Worked solution: worked example
Answer: (a) . (b) . (c) .
Step 1 - Find the largest possible domain.
The expression under the square root cannot be negative, so The domain is . M1 - Use A1 -
Why? Unless the question says otherwise, the domain is every real number for which the function is defined. For a square root, that means the expression underneath must be zero or positive.
Step 2 - Find the range.
A square root is never negative, so . It equals when and grows without limit after that. Adding gives R1 - , so the smallest value of comes from adding to A1 -
Why? The range is the set of outputs. Work out the smallest output first, then say whether the outputs continue upwards. The lifts every output by one unit.
Step 3 - Turn the inverse into an equation.
is the input that sends to , so solve : M1 - Set and isolate the square root:
Why? The inverse function undoes . Asking for is the same as asking which input gives the output . You do not need to find a formula for .
Step 4 - Solve for x.
Square both sides: , so and Therefore . A1 -
Why? Squaring both sides removes the square root. Because the root was isolated first, there is only one value to find.
Step 5 - Check.
, so is in the domain. Also , which is the output you started from.
Why? Putting the answer back into confirms the inverse value, and checking it against the domain makes sure it is a valid input.
M1 Use
A1
R1 , so the smallest value of comes from adding to
A1
M1 Set and isolate the square root:
A1
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.
• passes through , , and
• has a maximum at
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 12 marks
Calculator steps: Find a maximum, minimum or zero of a graph (stationary points), Enter a function and draw its graph
Common mistakes
- Mixing up and . is a single number - the -intercept. Solving is a whole equation that can have several solutions - the -intercept(s). Students regularly solve the wrong one under time pressure.
- Misreading the vertex from completed-square form. If , the turning point is , not - the sign inside the bracket flips when you read off the coordinate.
- Assuming every function looks the same. A quadratic has at most one turning point and two roots; a cubic can have two turning points and up to three roots. Don't force a cubic's key features into a parabola-shaped mental template.
Section 2 of 3 SL2.11
Transformations of graphs
A transformation changes the graph of in a fixed way: and translate it, and reflect it, and and stretch it. Each rule moves every point predictably, so you can transform key points without knowing the equation. Composite transformations are applied one at a time, in order.
Building composite transformations
These are prior-knowledge relationships rather than formula-booklet entries - the booklet won't state them, so you need to know them cold.
Composite transformations
Apply transformations in the order the function is built: stretch by 3, then translate 2 up.
Not in the formula booklet - prior knowledgeThe four single moves
Translate up/down, translate left/right, reflect in the -axis, and stretch vertically by scale factor .
Key terms
What is a translation?
A translation slides the graph without changing its shape or size. The graph of moves vertically by , and the graph of moves horizontally by .
e.g. If lies on , then lies on and lies on .
What is a reflection?
The graph of is the reflection of in the -axis, and the graph of is its reflection in the -axis.
e.g. If lies on , then lies on and lies on .
What is a vertical stretch?
The graph of is a vertical stretch with scale factor : every -coordinate is multiplied by and the -coordinates do not change. Points on the -axis stay where they are.
e.g. If lies on , then lies on .
What is a horizontal stretch?
The graph of is a horizontal stretch with scale factor : every -coordinate is multiplied by and the -coordinates do not change. Points on the -axis stay where they are.
e.g. If lies on , then lies on , because .
Worked example, step by step
The question No calculator needed [5 marks]
The graph of has a local maximum at and passes through . The graph of is obtained from by a horizontal stretch with scale factor , followed by a translation units down.
(a) Find in terms of .
(b) Find the coordinates of the local maximum of .
(c) The graph of is the reflection of in the -axis. Find the image of on .
Worked solution: worked example
Answer: (a) . (b) . (c) .
Step 1 - Write the stretch.
A horizontal stretch with scale factor is . Here , so and the stretch is M1 - Use for a horizontal stretch with scale factor
Why? A horizontal stretch works on the inside the brackets, and it works the opposite way to what you might expect: the scale factor is , so multiplying by halves every -coordinate.
Step 2 - Add the translation.
Moving the graph units down subtracts from every output of the stretched function: A1 -
Why? The order matters. The stretch comes first, so the translation is applied to the whole stretched function. Writing would describe a different graph.
Step 3 - Transform the maximum.
Apply the same steps to . The stretch halves the -coordinate and leaves alone: . The translation lowers by : . The local maximum of is . M1 - Halve the -coordinate and subtract from the -coordinate A1 -
Why? Every point on the graph follows the same two moves, in the same order. A stretch with a positive scale factor keeps a maximum as a maximum, so the transformed point is still a local maximum.
Step 4 - Reflect in the y-axis.
The reflection in the -axis is . It changes the sign of every -coordinate and keeps , so A1 -
Why? A reflection in the -axis swaps left and right. Points on the -axis do not move, and a point with stays on the -axis.
Step 5 - Check.
Use the original point in : . This agrees with the point .
Why? Substituting the new -value into should take you back to the old -value inside . If it does, the stretch was applied the right way round.
M1 Use for a horizontal stretch with scale factor
A1
M1 Halve the -coordinate and subtract from the -coordinate
A1
A1
Now you try: enter your answers to be marked
Find its image on .
Worked solution: practice question 1
Write the equation of the image in terms of .
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 9 marks
Calculator steps: Enter a function and draw its graph
Common mistakes
- Applying transformations in the wrong order. means "stretch by 3, then translate up 2" - doing the translation first gives a different (wrong) graph.
- Getting the direction of a horizontal translation backwards. shifts the graph right by when , not left - the sign inside the bracket is the opposite of the direction of movement.
- Confusing with . The first stretches vertically by factor ; the second stretches horizontally by factor - multiplying inside the brackets compresses the graph when , it doesn't stretch it.
Section 3 of 3 SL2.8
Reciprocal and rational graphs
The reciprocal function , has a graph in two separate branches that approach the axes without touching them. A rational function has the same type of graph, with vertical asymptote and horizontal asymptote . To sketch one, mark both asymptotes, then the intercepts, and draw a branch in each region.
Asymptotes of a shifted reciprocal
Neither result below is a formula-booklet entry - both follow from the general transformation rules.
Shifted reciprocal
Vertical asymptote (denominator zero); horizontal asymptote (the value the graph tends to as ).
Key terms
What is a vertical asymptote?
A vertical asymptote is a vertical line that the graph approaches but never reaches. For a rational function it occurs where the denominator is zero.
e.g. has the vertical asymptote .
What does self-inverse mean for ?
A self-inverse function is its own inverse, so . Its graph is symmetrical about the line .
e.g. and , so applying twice returns the original input.
How do you find the horizontal asymptote of ?
For large values of , the constants and become negligible, so the fraction approaches . The horizontal asymptote is therefore .
e.g. has the horizontal asymptote and the vertical asymptote .
How do you find the intercepts of a rational graph?
For the -intercept, substitute . For the -intercept, set the numerator equal to zero, provided the denominator is not zero at that value.
e.g. For , gives the point , and gives the point .
Worked example, step by step
The question No calculator needed [6 marks]
Consider the function .
(a) Find the equation of the vertical asymptote of the graph of .
(b) Find the equation of the horizontal asymptote.
(c) Find the coordinates of the point where the graph crosses the -axis, and of the point where it crosses the -axis.
Worked solution: worked example
Answer: (a) . (b) . (c) -intercept ; -intercept .
Step 1 - Find the vertical asymptote.
The function is undefined when the denominator is zero: The vertical asymptote is . M1 - Set the denominator equal to zero: A1 -
Why? The graph cannot have a point where the function is undefined, and the values of grow without limit as gets close to . That is a vertical asymptote. In general it is .
Step 2 - Find the horizontal asymptote.
For very large , the constants and matter very little, so is close to . The horizontal asymptote is A1 -
Why? The horizontal asymptote is the value that approaches as becomes very large in either direction. For it is , the ratio of the coefficients of .
Step 3 - Find the y-intercept.
Substitute : . The graph crosses the -axis at . A1 -
Why? Every point on the -axis has , so the -intercept is always the value of .
Step 4 - Find the x-intercept.
The graph meets the -axis where , which needs the numerator to be zero: At the denominator is , which is not zero, so the graph crosses the -axis at . M1 - Set the numerator equal to zero: A1 -
Why? A fraction is zero only when its numerator is zero. Always confirm that the denominator is not also zero at that value, because then the function would be undefined there, not zero.
Step 5 - Check.
Divide to rewrite , since . In this form the asymptotes are and , as found, and .
Why? The shifted form shows the asymptotes straight away: and . Agreement between the two methods is a strong check.
M1 Set the denominator equal to zero:
A1
A1
A1
M1 Set the numerator equal to zero:
A1
Now you try: enter your answers to be marked
Worked solution: practice question 1
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 8 marks
Calculator steps: Enter a function and draw its graph, Set a good viewing window (and zoom)
Common mistakes
- Getting the sign of the vertical asymptote backwards. For , the asymptote is , not - find it by setting the denominator to zero and solving, not by reading off the sign in the bracket.
- Forgetting the horizontal asymptote shifts too. Adding a constant outside the fraction moves the horizontal asymptote from to - it's easy to state out of habit even after a vertical shift.
- Not checking the denominator at the x-intercept. The x-intercept comes from setting the numerator equal to zero, but only if the denominator is not zero at that value. If it is, the function is undefined there and there is no intercept at that point.
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.
Find a maximum, minimum or zero of a graph (stationary points)
Used in: Function notation, domain and range
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 and . |
|
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 and . |
|
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 and is , with . |
|
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)
Enter a function and draw its graph
Used in: Function notation, domain and range, Transformations of graphs, Reciprocal and rational graphs
How to enter a function and draw its graph on a TI-84 Plus CE
Enter the function in Y= and draw it | |
Press Y=. If there are old functions, move to each one with ▲ or ▼ and press clear to erase it. A function is only drawn while the = sign beside it is highlighted. |
Plot1 Plot2 Plot3 \Y1= \Y2= \Y3= |
With the cursor next to Y1=, type X,T,θ,n x² − 4 X,T,θ,n + 3. The calculator uses X,T,θ,n for . |
Plot1 Plot2 Plot3 \Y1=X²-4X+3 \Y2= \Y3= |
Press window and set Xmin = −2, Xmax = 6, Ymin = −2, Ymax = 8, leaving Xscl and Yscl as 1. For a negative number use the (−) key, not the subtraction key. |
WINDOW Xmin=-2 Xmax=6 Xscl=1 Ymin=-2 Ymax=8 Yscl=1 |
Press graph. The curve is an upward-opening parabola. It meets the -axis at . |
|
Draw more than one function, or hide one | |
Type the next function next to Y2= (press ▼ to reach it) and press graph again: every function whose = sign is highlighted is drawn. To keep a function but not draw it, move onto its = sign with ◀ and press enter, so the highlight disappears. Press enter again to turn it back on. |
|
If the graph is blank or cut off | |
Press zoom and choose 6:ZStandard to draw with the standard window, or choose 0:ZoomFit, which keeps your Xmin and Xmax and sets Ymin and Ymax so the whole curve fits. Choosing a window by hand is in set a good viewing window. For a graph that contains sin, cos or tan, check the angle mode first: press mode and see switching between degrees and radians. |
|
If the graph does not appear, the cause is usually the window, not the function. Look at the window values before you retype anything.
The full guide: Enter a function and draw its graph
Set a good viewing window (and zoom)
Used in: Reciprocal and rational graphs
How to set a good viewing window on a TI-84 Plus CE
Type the window yourself | |
Press Y=, clear any old functions with clear, and type 2 0 0 × 1 . 1 5 ^ X,T,θ,n next to Y1=. Press graph: the standard window shows nothing, because every value of the curve is above the top of the screen. |
|
Decide the window from the question. Here , so Xmin is 0 and Xmax is 20. The largest value of the curve is a little over 3 000, so Ymax is 3 500 and Ymin is 0. |
|
Press window. Type a value for each line and press enter (or ▼) after each: Xmin = 0, Xmax = 20, Xscl = 5, Ymin = 0, Ymax = 3500, Yscl = 500. Xmin must be less than Xmax and Ymin less than Ymax, or the graph will not draw. For a negative number use the (−) key, not the subtraction key. |
WINDOW Xmin=0 Xmax=20 Xscl=5 Ymin=0 Ymax=3500 Yscl=500 |
Press graph. The whole curve now shows, from the start of the domain to its end. |
|
Let the calculator choose the y-range | |
Press window and set only Xmin = 0 and Xmax = 20 (the domain from the question). Then press zoom and choose 0:ZoomFit. The calculator recalculates Ymin and Ymax so that the highest and lowest points of the graph between Xmin and Xmax fit on the screen, and redraws the graph. It does not change Xmin or Xmax. |
|
Zoom, reset and square | |
Press zoom and choose 6:ZStandard to go back to the standard window, with x and y both from −10 to 10. This is a quick reset when a graph has gone off the screen. |
|
To zoom in on part of the graph, press zoom, choose 1:ZBox, move the cursor to one corner of the part you want and press enter, then move to the opposite corner and press enter again. The box becomes the new window. |
|
For a graph of a circle to look like a circle, or a gradient to look true, press zoom and choose 5:ZSquare. For a graph of a trigonometric function press zoom and choose 7:ZTrig, after checking the angle mode. |
|
Type the domain from the question into Xmin and Xmax first, then use ZoomFit to find the y-range. If the graph is blank, look at WINDOW before you doubt the function.
The full guide: Set a good viewing window (and zoom)
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| SL2.2 | Concept of a function, domain, range and graph. Function notation, for example , , . The concept of a function as a mathematical model. Informal concept that an inverse function reverses or undoes the effect of a function. Inverse function as a reflection in the line , and the notation . The domain will be the largest possible domain for which a function is defined unless otherwise stated. |
| SL2.3 | The graph of a function; its equation . Creating a sketch from information given or a context, including transferring a graph from screen to paper. Using technology to graph functions including their sums and differences. |
| SL2.4 | Determine key features of graphs. Maximum and minimum values; intercepts; symmetry; vertex; zeros of functions or roots of equations; vertical and horizontal asymptotes using graphing technology. Finding the point of intersection of two curves or lines using technology. |
| SL2.8 | The reciprocal function : its graph and self-inverse nature. Rational functions of the form and their graphs. Equations of vertical and horizontal asymptotes. Vertical asymptote: ; horizontal asymptote: . |
| SL2.11 | Transformations of graphs. Translations: ; . Reflections (in both axes): ; . Vertical stretch with scale factor : . Horizontal stretch with scale factor : . Composite transformations. Example: using to sketch . Not required at SL: transformations of the form . |
Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).
Quick questions
What does f(x) actually mean?
is the output (-value) that the function produces for the input . Writing means the point lies on the graph of .
How do I know which way a horizontal translation moves the graph?
shifts the graph right by when is positive, and left when is negative - the movement is opposite to the sign inside the bracket.
How do I find the asymptotes of a shifted reciprocal graph?
For , the vertical asymptote is (where the denominator is zero) and the horizontal asymptote is (the value the graph approaches as ).
What is the difference between the x-intercept and the y-intercept?
The -intercept is found by evaluating . The -intercept(s) are found by solving . They use the same equation in opposite directions, so mixing them up is one of the most common exam errors.
What is the difference between y = pf(x) and y = f(px)?
stretches the graph vertically by scale factor . stretches it horizontally by scale factor - multiplying inside the brackets compresses the graph when is greater than 1.
Why must I check the denominator when finding the x-intercept of a rational function?
The x-intercept comes from setting the numerator equal to zero. If the denominator is also zero at that value, the function is undefined there, so there is no x-intercept at that point.
How can I tell from a graph whether it shows a function?
Imagine vertical lines through the graph. If every vertical line meets the graph at most once, each input has only one output, so the graph shows a function.
In what order are composite transformations applied?
Apply them in the order stated. For , stretch vertically by scale factor first and then translate down units. Translating first would give , which is a different graph.
Why does the graph of never touch the axes?
The value is not in the domain, so the graph never meets the -axis. Also, is never equal to , so the graph never meets the -axis.
How do I find for a given function?
Replace every with , using brackets to protect the sign. For , .
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.