- Home
- English lessons
- Precalculus
- Graphs and transformations
// Chapter 27.3 · Precalculus · Graphs & Transformations
Graphs of Functions and Transformations: Shifts, Stretches, Reflections, Symmetry, Even and Odd Functions, and Lines
If you know the shapes of ten parent graphs and understand what the numbers a, b, h and k do in , you can sketch hundreds of other functions without plotting point after point. This page starts by reading a graph for all the information it holds, reviews lines and circles, the graphs you meet most often, and then takes shifts, stretches and reflections one at a time, with a lab where dragging a slider visibly moves each point of the graph.
- up k · right h · vertical stretch by a · horizontal compression by 1/b
- reflects in the x-axis · reflects in the y-axis
- The parent point goes to
- Even: , y-axis symmetry · odd: , origin symmetry
- Parallel: · perpendicular:
Reading a graph completely
One graph answers many questions at once. The domain is the shadow of the graph on the x-axis and the range is its shadow on the y-axis. The x-intercepts solve and the y-intercept is . Where the graph climbs as you read left to right the function is increasing, and local maxima and minima are where it turns. This skill matters more than calculation: in calculus you will use derivatives to find these features, and you need to know what you are looking for on the graph.
G1 Reading a graph
Lines, slope and circles
Slope is rise over run, , the average rate of change that stays the same along a whole line. A line has several equation forms and each suits different information: with a slope and a point use point–slope form; to read the y-intercept use . The circle is a graph that is not a function, but it is used constantly in analytic geometry and as the unit circle of trigonometry.
G2 Lines
G3 Parallel & perpendicular
G4 Distance & midpoint
G5 Circle
From , complete the square in x and in y
Find the line through perpendicular to
Rewrite the given line as : slope
Perpendicular slope (G3)
Point–slope form:
, or (check: )
Find the centre and radius of
Group:
Complete the squares:
So
Centre , radius 5
Parent functions to know by sight
Parent functions are the basic shapes that get shifted, stretched and reflected. For each, remember three things: the shape, two or three key points, and the domain and range. Each one can be selected in the lab below; the table puts them side by side.
| Function | Key points | Domain | Range | Symmetry |
|---|---|---|---|---|
| (0, 0), (1, 1) | odd | |||
| (0, 0), (±1, 1), (±2, 4) | even | |||
| (0, 0), (±1, ±1) | odd | |||
| (0, 0), (±1, 1) | even | |||
| (0, 0), (1, 1), (4, 2) | — | |||
| (0, 0), (±1, ±1), (8, 2) | odd | |||
| (1, 1), (−1, −1) | odd | |||
| (0, 1), (1, 2), (−1, ½) | — | |||
| (1, 0), (2, 1), (½, −1) | — | |||
| (0, 0), (π/2, 1), (π, 0) | odd |
Shifts, stretches and reflections
Transformations come in two kinds. Those applied outside the function, a and k, act on the y-value directly, so the graph moves vertically just as you would expect. Those applied inside, b and h, act on x before it enters f, so the graph moves horizontally the opposite way: subtracting h moves it right, multiplying by b squeezes it. The reason is that the new graph has to wait until equals the old x to produce the old y.
G6 Shifts
G7 Stretches
G8 Reflections
G9 Combined
For factor out b first: , so the shift is , not c
Describe how is obtained from and give key points, domain and range
Compare with G9:
Steps: shift left 3 → stretch vertically by 2 → reflect in the x-axis → shift up 1
Move points : , ,
The domain starts at −3; the range is flipped below the starting height
Domain , range
How is obtained from , and where is the vertex?
Factor out 2: , so
Compress horizontally by ½, then shift right 2 (not 4)
Vertex ; check:
Vertex , and the V is twice as steep (since )
The point lies on . Which point must lie on ?
:
Check: at ,
Transformation lab: drag and watch the points move
Grey open circles are key points of the parent graph and orange dots are where those same points end up. The table under the graph lists both coordinates. Make b negative to see a reflection in the y-axis, and choose 1/x, 2ˣ or log₂x to watch the asymptotes move with h and k.
Symmetry, even and odd functions
Knowing that a graph is symmetric halves the work, since you can draw the right half and reflect it. In calculus, symmetry also gives integrals over symmetric intervals for free; the integral of an odd function from −a to a is zero. To test, replace x by −x and compare with the original formula.
G10 Even & odd
even × even = even · odd × odd = even · even × odd = odd · an odd function defined at 0 passes through (0, 0)
G11 Symmetry tests
Test , ,
: even
: odd
, which equals neither nor
f even · g odd · h neither
Practice (with answers)
1Line through (−1, 4) and (3, −4)
·
2Vertex of and which way it opens
, opens up, narrower than
3Asymptotes of
shifted right 2 and up 3
and
4Is even or odd?
Odd
5Reflect in the x-axis, shift right 1 and up 4
6Distance between (1, −2) and (7, 6)
10
Read next
- 27.4 Polynomial functions — graphs read from zeros and end behavior
- 27.5 Rational functions — transformations of and asymptotes
Frequently asked questions
Why does f(x − 2) shift the graph right and not left?
y = f(x − 2) reproduces the old value f(0) only when x − 2 = 0, that is at x = 2. Every point of the original graph therefore appears 2 units later, which is 2 units to the right. Changes made to x inside the function always act in the opposite direction to what you might expect, for shifts and for stretches.
In what order should I apply several transformations?
For y = a·f(b(x − h)) + k, do the horizontal changes from the inside out (stretch or compress by b, then shift by h) and the vertical changes in the usual order (stretch or reflect by a, then shift by k). The method that never fails is to move each key point (x, y) of the parent graph to (x/b + h, a·y + k).
How do I recognise even and odd functions?
An even function satisfies f(−x) = f(x) and is symmetric about the y-axis, like x² and cos x. An odd function satisfies f(−x) = −f(x) and is symmetric about the origin, like x³ and sin x. If replacing x by −x gives neither, the function is neither even nor odd, which is the case for most functions.
When are two lines perpendicular?
When the product of their slopes is −1, so one slope is the negative reciprocal of the other: 3/4 is perpendicular to −4/3. The exception is a horizontal line and a vertical line, which are perpendicular although a vertical line has no slope.