Professional Documents
Culture Documents
"The true spirit of delight, the exaltation, the sense of being more
than man, which is the touchstone of the highest excellence, is to
be found in Mathematics as surely as in poetry."
Bertrand Russell
John Waterman
Acknowledgements
I am hugely grateful for numerous helpful comments and suggestions from
Ian Christie and Mike Fairbank, Abbey College London, Alan Gregory MBE,
Prof Alastair McDonald, Barry Ainge, Sam Waterman, Steve Gooch, Ilona
Hurrell, Joe Waterman and Mike McGuire.
I particularly want to thank Matt Joy who, as a seasoned journalist, patiently
pointed the need for simplicity and succinct brevity. And Victor
Lunn-Rockliffe, with whom I spent many hours exploring how best to make
the layout and presentation as inviting as possible.
I want to thank Dan Balis and two of my grandchildren, Ethan and Sekai,
who road-tested some of it in the latter stages of development.
Most importantly, I need to acknowledge the hundreds of other students
whom I have had the privilege to teach, and who have contributed
immeasurably, albeit unwittingly, to this book.
Finally to my wife Anne who, despite having not the slightest interest in
Mathematics, patiently encouraged me over the many times it looked like it
would never get finished.
John Waterman, May 2019
Love of Maths Pure Maths Guide First edition published by Love of Maths Ltd
June 2021.
Contents
Overview
8.1 Sketching polynomials. What does “sketching" mean? Roots and the
zero product principle.
Multiple roots. Higher order polynomials. Which way up is the curve?
1 1
8.2 The reciprocal functions. y = x and y = x 2 . Asymptotes.
8.3 Transforming functions.
Translations y = f (x) + a and y = f (x + a)
Stretches y = a f (x) and y = f (ax)
Reflections (in the coordinate axes) y = − f (x) and y = f (−x)
8.4 Periodic functions. Definition. Amplitude and period. Transforming the
sine, cosine and tan curves.
8.5 An elegant way of thinking about transformations. (Optional.)
8-1
CHAPTER 8. SKETCHING AND TRANSFORMING CURVES
Imagine there are two boxes. In each one there is a card with a number
written on it. We don’t know either number, but we are told their product is
zero.
? × ? =0
(x − 10)(x + 2) = 0 ⇒ x − 10 = 0 or x + 2 = 0
⇒ x = 10 or x = −2.
This will apply however many elements there are in the product, for example
Either x = 0, x + 1 = 0, x − 2 = 0 or x − 7 = 0.
The roots are x = −1, 0, 2 and 7.
What is sketching?
We talked about the idea of sketching graphs, and why it is such a vital skill,
in the Chapter 7. It is because the brain is far better at dealing with pictures
than it is with abstract concepts.
By sketching a curve, as opposed to plotting it, we mean making a drawing
of it that captures the key features, for example where it crosses the
coordinate axes. It doesn’t need to be particulary neat, but if it’s too small or
untidy it will be difficult to use. Always draw a sketch in pencil, so you can
correct or improve it if you need to.
1
Strictly speaking a straight line is a polynomial of order 1.
We can identify
• which way up the curve is, from the sign of the x 2 coefficient;
y
6 x =2
BB
9
B
B
B• • - x
−1 5
−5 •
y = −9
We’ll pick up the story from here. The maximum/minimum issue only
applies to quadratics; we are going to need calculus to find maximum and
minimum points for polynomials (see Chapter 10). We’ll be seeing how the
others apply—to polynomials in general.
It’s a cubic and its roots, i.e. where y = 0, are at x = −1, 2 and 4.
To find the y-intercept we don’t need to multiply out the brackets—just put
x = 0 into the formula: y = (1)(−2)(−4) = 8.
The function looks like this (notice the axes use different scales):
y
6
- x
−1 2 4
It’s a beautiful curve. More interesting than a quadratic curve. For example
the maximum and points do not lie midway between the roots. You can see
why this is: the curve at x = −1, for example, is noticeably steeper than it is at
x = 2, so the shape of the curve between these points is skewed to the left.
Similarly the curve between 2 and 4 is skewed to the right.
The cubic curve below has exactly the same roots, but it’s the other way up.
y
6
- x
−1 2 4
−8
All we need to do is find the sign of the highest power of x. We think of it like
this: if we make x big enough the highest power will always dominate. Take
this function, for example
y = 50x + 10x 2 − x 3 .
We say “as x tends to infinity, y tend to minus infinity", writing it like this:
as x → ∞, y → −∞.
In our example the diagram below on the right applies.
Armed with the sign of the highest power of a function we can see which way
up the curve is. Check this for yourself with the curves on the previous page.
y y
6 6
-x -x
You may have spotted that this is a generalisation of what we found for
quadratics, where the highest power of x is 2.
@
I
@
@
positive x 2 coefficient ⇒ curve up this way up
B
B
Example 1
Solution
y
6
- x
−2 0 2
y
6
- x
− 21 3 5
−15
We have made no attempt to keep to the scale on each axis. Imagine how
odd the graph would look if we did! It means we can’t use the sketch to infer
anything intuitive about distances or gradients. Rather like the map of the
London Underground, it’s purpose is to show key points and the relationships
between them, not the actual physical layout.
Example 2
Solution
y
6
-x
−3 0 2 3
2
The highest power of x when the polynomial is multiplied out.
and so on. . .
y
6
A
A
A
• • -x
P
i
PP
P
Two distinct roots
y
6
A
A
A
• • -x
PP
i
PP
P
Two distinct roots
- but getting closer to each other
y
6
A
A
A
• -x
PP
i
P PP
P
Two equal roots
We can think of the equation (x − 3)2 = 0 as having one root, x = 3. But, as the
graphs show, it is rather more meaningful to think if it has having two roots,
both equal to 3.
We shall see that a polynomial can have any number of roots: a cubic can
have three, a quartic four etc. That means the scope for repeated, or multiple
roots is much greater.
In the top graph the function has three distinct roots.
In the middle graph we imagine the curve “straightening out" a bit, forcing
the three roots closer together.
In the bottom graph they concur. The curve approaches from the left with
negative values, levels out, and then switches to positive values.
y
6
• • • - x
PP
i
PP
Three distinct roots
y
6
• • • - x
PP
i
PP
Three distinct roots
- but getting closer together
y
6
• - x
PP
i
PP
Three equal roots
A triple root like this looks like a single root, except that the curve flattens out
at the root, i.e. it has zero gradient at that point.
Of course we could go on forever with this, but we’ll end with a quick look
quadruple roots.
• • • •
P
i
PP
PP
P
Four distinct roots
•
H
Y
HH
H
HH
Four equal roots
Yes, you guessed it, it ends up looking very much like a double root. The
curve is flatter than at a double root, but it’s not possible to show this clearly
on a sketch.
Sketch these functions, in each case marking where the curve crosses the
axes.
y = x 2, y = x 3, y = x 4, y = x 5.
y = x2 y = x3
6 6
-x -x
y = x4 y = x5
6 6
-x -x
Example 3
Solution
(a) This polynomial is a cubic,
y
which when multiplied out
would start 6
y = 4x 3 . . .
which tells us which way up it is.
It has a single root at x = 0 and a
double one at 32 . - x
0 3
2
So the function must looks like
this:
y
(b) The coefficient of x 4 is −1
and the function factorises to 6
y = x 2 (4 + x)(4 − x)
so it has single roots at ±4 and a
double root at the origin.
-x
The function must look like this: −4 0 4
y
4
(c) The coefficient of x is 3. 6
So far in this chapter our quadratic function had two roots; our cubic
functions have all had three roots and our quartic functions four roots. We
know from our study of quadratics that this is not necessarily the case. The
order of the polynomial corresponds to the maximum number of roots.
Take this cubic function
y = (x − 2)(x 2 + 1).
Since the second bracket doesn’t have any solutions, the curve only has one
root. The coefficient of x 3 is positive (and the y-intercept is negative) so the
curve must look something like this
y
6
- x
0 2
−2
We can’t tell at this stage exactly where the “humps" are: they may both be to
the right of the y-axis, or both to the left. Calculus will allow us to pin this
down. (So we’ll return to this function in Chapter 10 to find out.)
Another example:
y = (x + 3)2 (2x 2 + 1).
Because 2x 2 + 1 = 0 has no roots this quartic has only two roots, both at
x = −3. You can probably pick out the coefficient of x 4 in your head if we see
the function as
y = (x + 3)(x + 3)(2x 2 + 1).
It is +2. In the same way we can pick out the y-intercept:
y = (x + 3)(x + 3)(2x 2 + 1).
It is +9. So the curve look like this
y
6
- x
−3
A cubic curve will always have to cross the x-axis somewhere: it has at least
one root.
Not so a quartic curve—it can escape altogether, just as quadratic curve can.
Two examples:
y
6
-
x
y
6
- x
-x
Example 4
The graphs below show the curves of two cubic functions. Find their
equations.
(a) y
6
- x
−2 1
−6
(b) y
6
- x
− 32 0 2
(1, −10)
Solution
(a) With a single root at −2 and a double root at 1 the equation of the curve
must be of the form
−6 = k(2)(−1)2 or − 6 = 2k,
so k = −3 and the equation is
y = −3(x + 2)(x − 1)2 .
Exercises 1
(a) y (b) y
6 6
6
-x - x
−2 1 −1 1 2
−4
(c) y
6 (d )
y
(−1, 2) 6
•
-x
-x −2 0 3
−1
−3
(c) For a polynomial of order 2n, what are the possible number of roots it can
have? For this polynomial, how many possibilities does this represent?
Solutions 1
1.(a) y (b) y
6 6
8
-x
−2 4 -x
−2 4
−8
2.(a) (b)
y y
6 6
6
-x -x
−3 −2 1 −3 −2 1
−6
3.(a) y (b) y
6 6
- x
−1 0 1 - x
0 1
4.(a) y (b) y
6 6
- x - x
−3 0 1 −3 0 1
5.(a) y (b) y
6 6
-x -x
2 2
−2
−8
6.(a) (b) y
y
6
6
-x
-x 0 6
0 6
7.(a) (b)
y
y
6
6
-x 3
−3 −1 0 1
-x
1
−9
8.(a) y (b) y
6 6
-x -x
0 1 0 1
10. Comparing brackets, (7 − 2x) = −(2x − 7) and (3 − x)3 = −(x − 3)3 , so the
functions are identical.
The curve of this function has three properties that set it apart from every
function we have met so far. Firstly it has two distinct parts or branches to
it; secondly it has two asymptotes (we’ll explain what these are later); thirdly
there is a value of x for which there is no corresponding value of y.
1
Here’s what the graph of y = looks like.
x
1
y=
x
6
• ( 41 , 4)
• (1, 1)
1
• (2, 2 )
-x
•
(−5, −0.2)
(−1, −1) •
In the formula for y, the bigger the value of x, the smaller the value of y—
because we are dividing 1 by a bigger and bigger number.
In the right hand branch the shape of the curve is consistent with this: points
further to the right have smaller y-coordinates. (In the left hand branch the
values of x with larger magnitude are further to the left.)
4
Another example. This is the graph of y =
x
y
6
• (1, 4)
• (2, 2)
• (4, 1)
•
-x
(−8, − 21 )
(−2, −2) •
Can you see what the symmetries are? (See the footnote3 .)
3
The lines of symmetry are y = x and y = −x. The function also has rotational
symmetry of order 2 about the origin. (When rotating the curve about the origin
there are 2 two positions it could in that look identical.)
1 1
The curve of y = has many the features of y = .
x2 x
It differs in that the function is positive for all values of x and the curve
approach the x-axis more rapidly as x gets larger (although it is hard to show
this clearly on a sketch).
1
y=
x
6
• ( 21 , 4)
(−1, 1) • • (1, 1)
1
• (2, 4 )
• -x
(−5, 0.04)
Example 5
k
The curve y = passes through the point (4, 32 ).
x
Find the value of k and determine where the curve crosses the line y = x − 1.
Solution
By substitution 3 k
= ⇒ k = 6.
2 4
6
The curve is y = , and this crosses the line y = x − 1 where
x
6
x −1 =
x
x2 − x − 6 = 0
(x − 3)(x + 2) = 0.
Example 6
Show that the line y + 2x = 8 is a tangent to the curve x y = 8 and find the
point where it touches.
Use a symmetry argument to determine the equation of the other tangent to
the curve which has the same gradient.
Solution
To find where they meet we can substitute y = 8 − 2x into the equation of the
curve:
x(8 − 2x) = 8
0 = 2x 2 − 8x + 8
0 = x 2 − 4x + 4
(x − 2)2 = 0.
The equation has equal roots so the line is a tangent, touching where x = 2,
i.e. at. (2, 4).
y
6
(2, 4)
-x
(−2, −4)
By symmetry the other tangent will touch at (−2, −4), and since its gradient
is −2, its equation must be
y + 4 = −2(x + 2)
y + 4 = −2x − 4
y = −2x − 8
or y + 2x + 8 = 0.
Example 7 [Ignore this example if you haven’t yet met the equation of a circle.]
x4 − a2x2 + 1 = 0
Solution
But finding where the curves meet corresponds to solving the equations
simultaneously.
1
Substituting y = into the equation of the circle we have
x
1
x2 + = a2
x2
which can be written
x 4 − a 2 x 2 + 1 = 0.
So this equation must have 0, 2 or 4
roots.
The easiest way to find when there are y
no roots is to look at a borderline case. 6
The middle circle
touches both branches of the curve
1
y= . (1, 1)
x
By symmetry we can see that it does so
-x
at (1, 1) and (−1, −1). Any circle smaller
won’t cut the curve so won’t yield any (−1, −1)
solutions.
By
p Pythagoras the points of contact are
2 units from the origin, so the equation
p
has no roots when the radius ap< 2, or
to be more precise when |a| < 2.
There is a language issue to clarify. Strictly speaking when the circle touches
the curve there are still 4 roots—split into two equal pairs. This is why the
question says “distinct roots": depending on the value of r the equation has
0, 2 or 4 distinct, i.e. numerically different, roots.
Asymptotes
An asymptote in the graph of a function is a line4 that the curve gets closer
and closer to, but never reaches.
1
The curve y = x has two asymptotes: the coordinate axes.
1
y=
x
6
-x
If we imagine extending the x-axis, say as far as x = 100, the the point on the
curve with this x-coordinate has y-coordinate equal to 0.01.
(100, 0.01)
• -x
No matter how far we go the curve will never cross the x-axis. Because the
same thing happens whether we make x a very large positive number or a
very large negative number, we simply say: as x tends to infinity, y tends to
zero. Or more concisely
as x → ∞, y → 0.
The other asymptote is the y-axis. Let’s make the value of x close to zero. For
example x = 0.001, the value of y would be 1000, and so on. In this case
as x → 0, y → ∞.
4
For our purpose here it will be a straight line; an asymptote can be a curve.
y y
x
x
y y
Can you see that all except one of the curves has two asymptotes?
By drawing two sketches on the same graph, say how many solutions (roots)
there are to each of these equations.
1 1 1 1 1
(a) x − 1 = x 2 (b) x = x 2 + 3 (c) x 2 = 10 − x (d) 100 x +1 = x
The answers are on the next page. If you are not sure where to start, there is a
hint in the footnote5 .
5 1 1
The solutions of the equation x − 1 = are where y = x − 1 and y = meet.
x x
y y
x
x
−1
(c) 3 solutions
y
10
(d) 2 solutions.
y 1
The line y = 100 x +1
Will eventually meet the
curve again (at a point just
below the x-axis).
1
x
The best way to describe the transformations is to see what effect they have
on a simple function like
y f (x) = x 2 − 4.
6 This is a quadratic function; its
curve is a parabola, which has an
axis of symmetry—in this case the
line x = 0.
−4
When we have done that we’ll look in detail at how it applies to a whole
range of different functions, including ones that have asymptotes.
Two translations
(i) y = f (x) + a Translation a distance +a parallel to the y-axis
(ii) y = f (x + a) Translation a distance −a parallel to the x-axis
Two stretches
(iii) y = a f (x) Stretch scale factor a parallel to the y-axis
1
(iv) y = f (ax) Stretch scale factor a parallel to the x-axis
Two reflections
(v) y = − f (x) Reflection in the x-axis
(vi) y = f (−x) Reflection in the y-axis
We shall see that transforming a curve is best seen as moving all the points
on the curve, rather than moving the curve as a whole. The “destination" for
each point we call its image.
6
Actually two of them are just special cases of two of the others. But they have a
different name and it’s simplest to treat them separately.
Starting with a function y = f (x) we add some constant value a to it. The
effect is to increase every y value by a.
y = f (x) → y = f (x) + 3.
y = f (x) y = f (x) + 3
6= x 2 − 4 6= x 2 − 1
4
-x -x
−2 2 −1 1
−1
3
−4
Notice how the y-intercept has move up 3. At the same time the roots have
moved closer to the origin, to exactly where we expect them to be: at the
solutions of x 2 − 1 = 0.
y = f (x) → y = f (x) − 5.
y = f (x) y = f (x) − 5
6= x 2 − 4 6= x 2 − 9
5
-x -x
−2 2 −3 3
5
−4
−9
We have marked the new y-intercepts in each case, and the new roots. Satisfy
yourself that they are correct.
8.3.2 Translation y = f (x + a)
This moves the curve a units to the left (parallel to the x-axis).
In the formula for f (x), we replace every occurrence of x with x + a.
How come the translation is in the opposite direction to the one we’d expect?
It seems to be inconsistent with translation in the y direction. When we’ve
finished describing how all the transformations work, we’ll exlain why there
is actually no inconsistency at all.
y = f (x) → y = f (x + 2).
y = f (x)
6= x 2 − 4
-x
−2 2
−4
C 2
y = f (x + 2)
6 = (x + 2)2 − 4
= x 2 + 4x
-x
−4 0
Moving the function y = f (x) to the left 2 units will move the two roots to −4
and 0.
This is consistent with the fact that the roots of y = f (x +2) = x(x +4) are x = 0
and x = −4.
y = f (x) → y = f (x − 1).
y = f (x)
6= x 2 − 4
-x
−2 2
−4
1 B
y = f (x − 1)
6= (x − 1)2 − 4
= x 2 − 2x − 3
-x
−1 3
f (x) = x 2 − 4.
y = f (x) → y = 2 f (x).
y = f (x) y = 2 f (x)
2
6= x − 4 2
6= 2(x − 4)
• (3, 10)
• (3, 5)
4
-x ×2 -x
−2 2 −2 2
5
−4
−8
y = f (x) → y = 15 f (x).
y = f (x) y = 15 f (x)
2
6= x − 4 1
6= 5 (x 2 − 4)
• (3, 5)
4
• (3, 1)
-x × 15 -x
−2 2 −2 2
5 − 45
−4
The roots remain at 2 and −2. for example the image of (3, 5) is (3, 1) and the
y-intercept moves to (0, − 45 ).
y = f (x) → y = f (3x).
y = f (x)
2
6= x − 4
• (3, 5)
-x
−2 2
−4
C B
× 31
y = f (3 x)
2
6= (3x) − 4
= 9x 2 − 4
• (1, 5)
-x
− 23 2
3
−4
y = 9x 2 − 4.
¡1 ¢
y = f (x) → y=f 2x .
y = f (x)
2
6= x − 4
• (3, 5)
-x
−2 2
−4
C B
×2
y = f 12 x
¡ ¢
6= x 2 − 4
¡ ¢
2
x2
= 4 −4
• (6, 5)
-x
−4 4
−4
x2
y= − 4.
4
Let’s look at y = − f (x) first. Starting with a function y = f (x) we change the
sign of every y value. The effect is to reflect the curve in the x-axis. Points on
the x-axis, i.e. any roots, remain unchanged.
To show reflections graphically we’e going to use the function
y = f (x) = x(x − 4)
y = f (x) → y = − f (x).
y = f (x) y = − f (x)
6= x(x − 4) 6= −x(x − 4)
(2, 4)
•
4
-x -x
0 4 0 4
5
•
(2, −4)
The roots are unchanged but the vertex moves from (2, −4) to its reflection in
the x-axis, i.e. (2, 4).
y = f (x) → y = f (−x).
y = f (x)
6= x(x − 4) = x 2 − 4x
-x
0 4
•
(2, −4)
4 5
y = f (− x)
6 = (−x)2 − 4(−x)
= x 2 + 4x
-x
−4 0
•
(−2, −4)
7
y = 0 ⇒ x(x + 4) = 0 ⇒ x = 0 or x = −4.
Translations
(i) y = f (x) + a Translation +a parallel to the y-axis
(ii) y = f (x + a) Translation −a parallel to the x-axis
Stretches
(iii) y = a f (x) Stretch scale factor a parallel to the y-axis A
1
(iv) y = f (ax) Stretch scale factor a parallel to the x-axis
!
A
A
Reflections A
At GCSE level you will have met the enlargement transformation. This is
equivalent to two stretches with the same scale factor—one in the x
direction and one in the y direction.
In each case describe the effect of the transformation on the graph of the
function.
(a) y = x 2 − 5 → y = x2 − 3
(b) y = x 2 → y = (x + 6)2
(c) y = x 2 + 1 → y = 4x 2 + 4
x2
(d) y = x 2 → y = 25
(e) y = 3x 2 − 1 → y = 1 − 3x 2
(f) y = x 2 (1 + x) → y = x 2 (1 − x)
The answers are in the footnote8 .
Example 8
P (2, 3)
•
2
-x
−2 0 6
Solution
In each case decide what transformation is involved, and work out what that
transformation does to the points marked on the graph. (For the sake of
clarity we have shown the original curve y = f (x) together with the
transformed curve. You won’t need to do this.)
y = f (x − 2)
6
(4, 3)
•
2
-x
−2 0 6 8
y = 3 f (x)
6 (2, 9)
•
-x
−2 0 6
(−2, 3)
•
2
-x
−6 −2 0 2 6
1
(d) Stretch scale factor 2
parallel to the x-axis.
y = f (2x)
6
(1, 3)
•
2
-x
−2 −1 0 3 6
Example 9
Solution
x(x + 2)(x − 2) = 0,
y
6
- x
−2 0 2
- x
0 2 4
Although the question hasn’t asked us to, we can verify the positions of these
roots algebraically:
Example 10
Solution
First let’s translate the vertex from the origin to (2, 1).
y = f (x) = x 2 y
6 6
(2, 1)
•
- x - x
The curve has been translated +2 unit parallel to the x-axis and +1units
parallel to the y-axis, so the transformed function is
y = f (x − 2) + 1
= (x − 2)2 + 1
= x 2 − 4x + 5
We can see from this that the curve passes through (0, 5) as required.
(b) The curve looks like this:
y
6
• (1, 1)
- x
1
the resultof a stretch scale factor 2 parallel to the x-axis.
This corresponds to the transformation x → 2x, and the new function is
y = (2x)2 − 4(2x) + 5 = 4x 2 − 8x + 5.
Example 11
Solution
1
(i) We can start with the curve y = , which has the axes as asymptotes.
x
1
If we translate this curve “down" 1 unit, we have y = −1 .
x
The “horizontal" asymptote, formerly y = 0, is now y = −1. We can think of
the asymptote as moving with the curve.
y y
6 6
- x - x
1
−1
1 1
(ii) The only difference between y = −1 and y = −1 is that the
x x+3
x has been replaced by x + 3.
1 1
Using function notation, if f (x) = −1, f (x + 3) = −1.
x x+3
So the next step is to translate the curve we found in (i) 3 units to the left,
which moves the “vertical" asymptote from x = 0 to x = −3. .
You may want to see if you can complete this for yourself before turning the
page. That includes pinning down where the curve crosses the axes.
5 C 3
x
-
−3 −2
− 23
−1
1 2
Putting x = 0 into y = −1 gives y = − .
x+3 3
Putting y = 0 we have
1
0 = −1
x +3
0 = 1 − (x + 3)
x +3 = 1
x = −2
You will have noticed that positions of the key points in our diagram are not
particularly accurate. It’s a sketch: all we need is for the overall configuration
to be right (the relationship between the points), and for the coordinates of
key points to be marked. That includes the position of any asymptotes.
Example 12
Solution
y
6
C
C
C
PC
-x
0 Q R
•
(2, −3)
[You may recall that the vertex of the curve y = (x − a)2 + b is at (a, b)
confirming that the vertex is at (2, −3).]
It remains to find the positions of P , Q and R.
For the y-intercept we need g (0), where g (x) = x 2 − 4x + 1. P is (0, 1).
We can find Q and R from g (x) = 0 using the completed square:
(x − 2)2 = 3
p
x −2 = ± 3
p
x = 2± 3
p p
P is 2 − 3, Q is 2 + 3.
p p
Do these look about right? Well, 3 ≈ 1.732, so 2 − 3 is a small positive
number— which is consistent with the sketch.
We have line symmetry too: the axis of the parabola should be exactly
midway between the roots, which it is.
Example 13
p
The graph shows the function y = x.
y
6
- x
p
(i) Sketch the curve y = − x.
(ii) On a separate graph, sketch the two curves
p p
y = x + 1 and y = 2 x + 1.
Solution
Notice that the curve only exists to the right of the y-axis. This makes sense
because we can’t take the square root of a negative number.
The curve is also unusual in another way. Look at the way it behaves at the
origin: the gradient there is infinite. None of this affects how we treat the
function when transforming it.
p
(i) This is the reflection of y = x in the x-axis.
y
6
- x
p p
(ii) If f (x) = x, y = x + 1 = f (x + 1), i.e. f (x) translated −1 unit parallel to
the x-axis. It crosses axes at (−1, 0) and (0, 1).
p
y = 2 x + 1 is this curve strteched by a scale factor 2 parallel to the y-axis.
y
6
- x
−1 0
y = sin x
6
per i od -
1
6
ampl i t ud e
BB ? - x
−180◦ 0 ◦
180 ◦
360 ◦
540 ◦ 6 720◦
ampl i t ud e
−1 ?
y
6
-x
−4 −2 2 4 6 8
−2
First we will look at the trig functions, and the effect of transforming them.
After that we will return to consider other periodic functions.
9
Not all periodic functions have an amplitude. An example would be the tan function.
10
The period is 6.
Example 14
Solution
J
J
- x
−180◦ −90 ◦
0 ◦
90 ◦
180 ◦
270 ◦
360◦
−1
J
J 1
- x
−180◦ −90◦ 0 90◦ 180◦ 270◦ 360◦
11
x = 270◦ + 360n ◦ , where n is an integer (which can be positive, negative or zero).
y = 3 sin x = 3 f (x)
6
- x
−180◦ −90◦ 0◦ 90◦ 180◦ 270◦ 360◦
−1
−2
−3
The y-coordinate of each point on the curve has been trebled, so the function
takes values between −3 and +3, leaving the roots unchanged.
We can imagine the graph drawn on sheet of rubber, which is stretched in
both directions (parallel to the y-axis), while leaving the x-axis in the same
position.
The period remains at 360◦ .
The amplitude is 3 units.
1
(iii) sin 2x = f (2x), so we need to stretch f (x) by a scale factor 2
parallel to
the x-axis.
This is much less intuitive than parts (i) and (ii). Rather than thinking of
transforming the curve as a whole, it is safer to
To do this you need to start with a careful sketch of y = sin x, with some of
the key points labelled, like the ones marked below. (If the sketch is too
rough you won’t be able to see what’s going on.)
y = f (x) = sin x
6
1 •
J
J• • •
•
- x
−180◦ −90 ◦
0◦ 90 ◦
180◦ 270 ◦
360◦
−1 •
Under the transformation, the distance of each dot from the y-axis is halved.
y = f (x) = sin x
6
1 •
J
J • • • •
- x
−180◦ −90◦ 0◦ 90◦ 180◦ 270 ◦
360◦
•−1 •
y = f (2x) = sin 2x
6
1 •
B
B• • • • - x
◦
−180 −90◦ 0◦ 90◦ 180◦ 270◦ 360◦
−1 •
Copy this sketch and complete the curve, so it goes from −180◦ to +360◦ .
The formula for the position of all the roots is very simple: 90n ◦ where n is
an integer.
The effect of the transformation has been to halve the period from 360◦ to
180◦ . The amplitude remains unchanged at 1.
J
J
- x
◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦
−180 −90 0 30 90 180 270 360
−1
Example 15
Solution
Method 1
Start with the function y = f (x) = cos x. Apply the transformation
x → x + 45◦ , giving the function g (x) = f (x + 45◦ ) = cos(x + 45◦ ).
1
Now apply the transformation x → 2x to g (x), giving the final function
h(x) = g ( 21 x) = cos( 12 x + 45◦ ).
In other words a translation of −45◦ parallel to the x-axis, followed by a
stretch scale factor 2 in the x-direction.
Under the translation (90◦ , 0) moves to (45◦ , 0), and (0, 1) moves to (−45◦ , 1).
Under the stretch (45◦ , 0) goes back to (90◦ , 0), (225◦ , 0) moves to (450◦ , 0) and
(−45◦ , 1) moves to (−90◦ , 1).
y
6
y = cos(x + 45◦ ) y = cos x
• 1• @
R
@
• • - x
◦ ◦ ◦ ◦
−270 −180 −90 0 90◦ 180 ◦
270 ◦
360 ◦
450 ◦
−1
y
y = cos( 21 x + 45◦ ) 6
y = cos(x + 45◦ )
@ • • 1
R
@
• • • •
- x
◦
−270 −180◦ −90◦ 0◦ 90◦ 180◦ 270◦ 360◦ 450◦
−1
Method 2
Suppose we choose to do the stretch first, i.e.x → 21 x, and we have
g (x) = f ( 12 x) = cos( 21 x).
So far so good—or so it seems.
Now we apply the transformation x → x + 45◦ , giving
h(x) = g (x + 45◦ ) = cos( 12 (x + 45◦ )) = cos( 12 x + 22.5◦ ).
To correct this the translation needs to be x → x + 90◦ —hardly the most
obvious transformation. Then
h(x) = g (x + 90◦ ) = cos( 12 (x + 90◦ )) = cos( 12 x + 45◦ ).
With the sin and cos functions stretch before translating.
Construct the curve for yourself, using Method 2. The solution is on the next
page.
y
6
y = cos( 12 x) y = cos x
1
• • • • • •
- x
−270◦
◦
−180 −90◦ 0◦ 90◦ 180◦ 270◦ 360◦ B ◦
450 540◦
B
B
−1
Under the stretch (−90◦ , 0) moves to (−180◦ , 0), (90◦ , 0) moves to (180◦ , 0) and
(270◦ , 0) moves to (540◦ , 0).
y
y = cos( 21 x + 45◦ ) 6
@ • 1 •
R
@
• • •
•
- x
◦ −180
−270
◦ −90◦ 0◦ 90◦ 180◦ 270◦ 360◦ 450◦ 540◦
−1
Under the translation (0, 1) moves to (−45◦ , 1), (180◦ , 0) moves to (90◦ , 0) and
(540◦ , 0) moves to (450◦ , 0).
x-direction y-direction
x-direction y-direction
Starting with y = f (x) Starting with y = f (x)
x → 13 x y → 31 y
giving giving
1
y = f 13 x
¡ ¢
3
y = f (x)
or y = 3 f (x)
This approach will always work, although you may prefer to stick with the one
you are used to.
In the next, and final, example it is the only possible approach .
Example 16
The circle C 0 is
2x 2 + 2y 2 + 7y − 1 = 0.
C 0 is translated a distance +3 parallel to the x-axis and −1 parallel to the
y-axis, to form a new circle C 1 .
(a) Find the equation of C 1 .
(b) Show that C 0 crosses the x-axis but C 1 does not.
Solution
(a) We could write the equation in the form (x − a)2 + (y − b)2 = r 2 , find the
position of the new centre, move that centre and hence find the new
equation. The coefficients in this case would make that a bit heavy going.
The much simpler approach is to apply the two transformations
x → x − 3 and y → y +1
to the equation of C 0 .
The equation of C 1 is
(b) If we knew where the centre of C 0 was, and its radius, we could easily find
the answer.
There is a much simpler way. Suppose we set about finding where each of
them crosses the axis, by putting y = 0 into their equations.
1
C0 : 2x 2 − 1 = 0 ⇒ x = ±p .
2
So C 0 does, and we have found where. Turning to C 1 ,
C1 : 2x 2 − 12x + 27 = 0.
For this circle to cross the x-axis this quadratic equation needs to have real
roots, in other words its discriminant must be positive or zero.
Exercises 2
1. In each case describe precisely the transformation that changes the curve
y = f (x) into y = g (x) (drawn in blue).
(a) y (b) y
6 6
3 3
-x -x
−5 −2 2 5
−3
(c) y (d ) y
6 6
-x -x
5 10 5 10
(e) y (f ) y
6 6
8
4 4
-x -x
−4
(iv) y = f (−x)
(v) y = f (x − 4)
6.
2
y=x The diagram shows the curve
6 2
y =
x
Copy the graph and on the
same diagram sketch the curve
2
-x y =
x +3
Write down the equations of
the asymptotes.
Find the positions of any
points where the curve crosses
the coordinate axes.
7.
y
The graph shows the function
6 y = f (x). The function has roots
at x = −2 and x = 8.
A(3, 4)
•
It has a maximum point at (3, 4).
In separate diagrams sketch the
-x curves
−2 8 (i) y = − f (x)
(ii) y = f (2x)
On each diagram mark the roots of f (x) = 0 and the image of A.
8. The graph show a function y = f (x), which takes the value 3 for all values of x
except those in the interval 2 < x < 6. The scale on each axis is the same.
y On separate graphs sketch
6 the functions
(a) y = 13 f (x)
(b) y = f (x + 4)
(c) y = f 12 x .
¡ ¢
7+3x
9. L is the line y = . Show that the point (1, 2) lies on L.
5
Find the equation of the line parallel to L that passes through (−4, 2).
On separate diagrams,
sketch the curves
4
(a) y = x 2 −1
4
(b) y = x 2 −4x+4 .
-x
- x
0 P
19. Find the equation of the ellipse that passes through the points
(6, 0), (0, 3), (−6, 0) and (0, −3).
[There is a hint in the footnote14 .]
14
Stretch a circle.
Solutions 2
1. (a) translation −6 // y−axis (b) reflection in y − axi s or translation +3 // x-axis
(c) stretch s.f. 2 // x-axis (d) translation +5 // x-axis
(e) reflection in x-axis or stretch s.f. −1 // y-axis
(f) stretch s.f. 2 // y-axis
(c) g (x) = f 21 x
¡ ¢
2. (a) g (x) = f (x) − 6 (b) g (x) = f (−x) or f (x − 3)
(d) g (x) = f (x − 5) (e) g (x) = − f (x) (f) g (x) = 2 f (x)
5. P Q R
(i) (−4, 5) (0, 2) (2, 0)
(ii) (−4, 9, ) (0, 0) (2, −6)
(iii) (−8, 3) (0, 0) (4, −2)
(iv) (4, 3) (0, 0) (−2, −2)
(v) (0, 3) (4, 0) (6, −2)
6.
y
6
−3 - x
2
The curve y = x+3 is shown in blue.
The curve crosses the y-axis at (0, 32 ).
Asymptotes: y = 0 and x = −3.
-x -x
−2 8 −1 4
•
A(3, −4)
8. (a) (b)
y y
6 6
-x -x
(c) y
6
-x
22+3x
9. y= 5
.
The line through (−4, 2) is L translated −5 // x-axis. i.e. f (x) → f (x + 5).
10. (a) (b) y
x
−2
x −1
11.
1
y +2 = 6
(x − 3)2
1
= 4
(x − 3)2
1
(x − 3)2 =
4
2 1
x x −3 = ±
3 2
5 7
x =
or
2 2
Notice that it is easier to rearrange the equation this way than to multiply
through by (x − 3)2 .
1 1+x−1 x x (x−1)+1 1 1
12. +1 = = . Or = = +
x−1 x−1 x−1 x−1 x−1 x−1 x−1
y
1
x
1
1
13. (a) x = 4 [multiply both sides by x 2 ] (b) |k| ≤
16
1 4
The equation = + k can be written kx 2 − x + 4 = 0.
x x2
This has roots provided the discriminant is non-negative, i.e. 1 − 16k ≥ 0
- x - x
−1 1
16.
4
y = x2 −1 Asymptotes: x = 0 and y = −1.
6 x = ±2.
4
[Crosses x-axis where x 2 − 1= 0]
-x
−1
4 4
y = (x−2)2 Let f (x) = x 2 .
6 Since x 2 − 4x + 4 = (x − 2)2
the curve is
y = g (x) = f (x − 2).
Asymptotes: y = 0, x = 2.
y = g (0) = 1.
-x
2
17. There is no need to find a and b. We can simply transform the circle.
(i) reflection (in y-axis) x → −x, giving 3x 2 + 3y 2 − 5x − y + 2 = 0 .
(i) translation y → y − 2, giving 3x 2 + 3y 2 + 5x − 13y + 4 = 0 .
18. P is (2, 0). [The smallest value x can take for the square root to be possible.]
p p p
PQ = 90 = 3 10. [At Q, 3 = x − 2, or 9 = x − 2. So Q is (11, 3).]
p p
Let f (x) = x − 2, then 2x − 2 = f (2x). Stretch y = f (x) s.f. 21 // x-axis.
The image of Q is ( 11
2
, 3).
y
6
3
Q(11, 3)
- x
0 1 2
19. Start with the circle centre the origin radius 3, i.e. x 2 + y 2 = 9.
If we stretch this s.f. 2 // x-axis we get the required ellipse: x → 12 x.
x2
4
+ y 2 = 9 which simplifies to x 2 + 4y 2 = 36.
We can check this is correct by finding where it crosses the axes.
• Transforming functions.
Translations y = f (x) + a and y = f (x + a)
Stretches y = a f (x) and y = f (ax)
Reflections (in the coordinate axes) y = − f (x) and y = f (−x)
The importance of focussing on the transformation of individual
points rather than broad changes.
The effect that transforming has on roots, intersections with the axes,
minimum and minimum points and asymptotes.