c3 1 Functions
c3 1 Functions
Definitions
Mathematical Mappings
In maths, many (but not all) mappings can be expressed using algebra.
General rule: x 2x + 5
-1 3
0 5
1 7 Range is
2 9 { 3,5,7,9,11}
3 11
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 2
1.9
2 2.1
2.33
2.52
3 2.99
π
0 0
45 0.707
90 1
135
180
x 2 − 4x + 3 = 0 0
x2 − x = 0 1
x 2 − 3x + 2 = 0 2
3
b+ b2 − 4ac
General rule: ax2 + bx + c = 0 x=
2a
b − b 2 − 4ac
x=
2a
Functions
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 3
Notation
The function which maps x onto x2 can be written in any of the following ways:
Graphs of Functions
Since there is one and only one value of y for each x value the graph of a
function is a simple curve or line going from left to right with no doubling back
and no breaks or gaps.
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 4
(iii) for a function which contains Iogs: term inside the log must be > 0
Example
2
(i) f:x → , x + 4 ≠ 0, x ≠ - 4
x+4
Some functions can only have certain y values. Looking at the graph is
helpful.
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 5
Transformation of Functions
Examples
4
(i) y = (x - 4)2 is a translation by of the curve y = x2
0
0
(ii) y = x2 + 3 is a translation by of the curve y = x2
3
4
(iii) y = (x - 4)2 + 3 is a translation by of the curve y = x2
3
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 6
Exercise
1. State the translation which can be applied to the first curve in each
example in order to obtain the second curve.
(ii) y = x2; y = x2 - 10
(v) y = x2 + 7; y = (x + 3)2 + 9
(vi) y = x2 - 4; y = (x - 1)2 - 6
(ix) y = 2 x3 - 5x + 3; y = 2 (x + 2)3 - 5 (x + 2) + 1
2. Find the equations of the curves when the translations next to them have
been applied.
3
(i) y = x2;
−5
−4
(ii) y = x2;
8
1
(iii) y = 4x2;
2
−4
(iv) y = 2x3 - 3x2;
−1
20o
(v) y = sin (x + 45);
3
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 7
−y 90o
2
(vi) y = 3sin x;
7
One-way stretches – look1for multiply/divide
x
i.e. all the y coords are doubled so the max and min values are 2 and -2
instead of 1 and -1.
Example
(i) Find the value of a, p and q when y = 2x2 - 4x - 1 is written in the form y
= a [x + p]2 + q.
(ii) Show how the graph can be obtained from the graph of y = x2 by
successive transformations and list the transformations in the order in
which they are applied.
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
10 y
C3/1 - FUNCTIONS 8
x
Solution
–8 –6 –4 –2 2 4 6 8
2x2 + 4x - 1 = 2 x + 2 x − 12
2
= 2 [(x+1)2 -1 - 12 ] –5
= 2 [(x+1)2 - 32 ]
3
−1
y = (x + 1)2 - is a translation of y = x2 by 3 , then we apply a
− 2
2
Y=x2
3
Y=(x+1)2 - 2
3
Y=2[(x+1)2 - 2 ]
NB: The stretch doubles the y coords of every point on the curve, including
the turning point.
Where the curve crosses the x-axis doesn't change since the y-coords
are zero and doubling them still makes them zero.
Reflections
Example
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
–2
C3/1 - FUNCTIONS 9
4 y 2 y
Sketch on separate
3 diagrams the graphs of 1
x
2
-x –2 2
(i) y=2 1 –1
(ii) y = - 2x x
–2
–2 2
Solution –1 –3
–2 –4
(i) (ii)
The General Quadratic Curve: You are now able to obtain any
quadratic curve by a transformation of y = x2.
Example
Solution
1 + 4x - x2 = −1 x − 4 x − 1
2
(i)
= −1 ( x − 2 ) − 4 − 1
2
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
6 y
4 10
C3/1 - FUNCTIONS
2
x
= - 1 ( x − 2 ) − 5
2
–6 –4 –2 2 4 6
= − [ (x - 2)2 – 5 ]
–2
–4
–6
2
(ii) y = x2 becomes y = (x - 2)2 - 5 by applying the translation
−5
in the x-axis.
Composite Functions
Notation
Example 1
(i) fg (x)
(ii) gf (x)
Solution
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 11
Example 2
1
Given that f(x) = 2x and h(x) = x find
(i) fh (x)
(ii) hf (x)
Solution
1 1 2
(i) fh (x) = f ( )=2( )=
x x x
1
(ii) hf (x) = h (2x) =
2x
Example 3
1
Given that f (x) = x2 + 2 and g (x) = find (i) fg(x), (ii) gf (x)
2x
Solution
2
1 1 1
(i) fg (x) = f ( ) = +2= + 2
2x 2x 4x 2
1
(ii) gf (x) = g (x2 + 2) =
2 (x + 2)
2
Example 4
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 12
Solution
x2 + 4x
Inverse Functions
-1
The reverse mapping of a function f (x) is called the inverse function f (x)
1
NB: f-1 (x) is NOT
f (x)
Domain Range
: :
: :
-1 -1
0 0
1 1
2 2
: 3
: 4
: :
: :
x x+2
The mapping is clearly a function since for every input there is only one
output.
The reverse mapping is also a function since for any input there is only one
output (each number maps onto two less than itself i.e. x → x - 2). The
reverse mapping is called the inverse function f-1 (x).
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
4
C3/1 - FUNCTIONS x 13
2 4 6 8 10
So, for a function f to have an inverse function f -1, f must represent a one-to-
one mapping over the given domain and range.
y
6
You can decide whether a function has an inverse by looking at its graph.
4
2 4 6 8 10
y
6
–4 –2 2 4 6
The above functions both have an inverse because they have no turning
points (ie max or min points).
eg : y = x 2 , x ≤ 0 has an inverse,
so does y = x2 , x ≥ 0 .
It is often helpful to restrict the domain of a function so that its inverse is also
a function
e.g. y = sin x, - 90° < x < 90° ,
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 14
Similarly,
y = cos x, 0 < x < 180°
and y = tan x, -90° < x < 90°
both have inverse functions cos-1 x and tan-1 x over these restricted domains.
Using the inverse trig functions on your calculator will give angles in the above
ranges.
Note: To find the inverse of a quadratic you must first put it in completed
square form.
Example 1
Solution
Let y = 2x + 1
y -1
Rearrange to get x in terms of y: x =
2
x −1
Replace y with x: ∴ f −1 ( x ) =
2
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 15
Example 2
Solution
Let y = 2x - 3
y+3
x=
2
x+3
∴ f −1(x) =
2
6
Find f -1(x) if f (x) = , x ≠ −2
x+2
Solution
6
Let y =
x+2
y (x + 2) =6
y x + 2y =6
yx = 6 - 2y
6 − 2y
x =
y 4 y
6 − 2x 3
∴ f -1 (x) = 2
x 1
–1
–3
–4
Example 4
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 16
Solution
y = ex
∴ x = ln y
⇒ f -1 (x) = ln x
Example 5
Solution
y = x2 + 3x – 5
= ( x + 32 ) − ( 32 ) − 5
2 2
= ( x + 32 ) − 294
2
Rearrange: ( x + 32 ) 2 − 294 = y
( x + 32 ) 2 = y + 294
x + 32 = ± y + 294
x = − 32 ± y + 294
Curve Sketching
2. Find where the curve cuts the axes (if reasonably simple) i.e. put x = 0
for intercept with y axis and y = 0 for intercept with x axis.
4. Find any vertical asymptotes (i.e. any values of x for which the function is
not defined).
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 17
e.g.
1
(i) f (x) = , x ≠ 0 ∴ x = 0 is an asymptote.
x
2
(ii) f (x) = 3 + , x ≠ 4 ∴ x = 4 is asymptote.
x−4
2 2
f (x) = 3 + . As x → + ∞ , then → + 0, f (x) → 3 ∴ y = 3 is an
x−4 x−4
asymptote.
Example
x+2 b
The function f (x) = . Write this in the form a + where a and b are
x −1 x −1
constants to be determined. Find (i) the equations of the asymptote (ii) the
words of the pts where the curve cross the axes. Sketch the curve.
Solution
x+2 b
≡a +
x −1 x −1
x + 2 a (x-1) + b
=
x −1 x −1
ax - a + b
=
x −1
x: 1=a
Constant: 2 = -a + b = b = 3
x - 1 ≠0 ⇒ x ≠1 ∴
asymptote x = 1
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
C3/1 - FUNCTIONS 18
x+2 3
∴ =1+
x −1 x −1
3 3
As x → + ∞ , → → ±0
x − 1 ±∞
3
∴1 + → 1± 0 → 1
x −1 ∴ asymptote y = 1
0+2
Crosses y - axis where x = 0 ⇒ y = = −2
0 −1
x+2
Crosses x - axis where y = 0 ⇒ 0 =
x −1
x+2 10 y
0 = [ x ( x − 1)]
x −1 5
x
0
−6
2 ⇒x = - 2
= x + −4 −2 2 4 6
−5
−10
Graph looks like this
Example
1
f (x) =
(x + 3)(x − 3)
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT
−0.5
−1
C3/1 - FUNCTIONS 19
Solution
1
f (x) =
(x + 3)(x − 3)
x-3 ≠0
X+3 ≠ 0 ∴ x ≠3
x ≠ −3 ∴ x = 3 asymptote
x=-3
asymptote
1 1
At A, x = 0 ∴ f (x) = =-
(0 + 3)(0 − 3) 9
∴ A is ( 0,− 91 )
/opt/scribd/conversion/tmp/scratch24528/31244855.docIT