11.06 Functions and Graphs
11.06 Functions and Graphs
The graph of y ax q has already been dealt with in Grade 9 and 10. Revise
functions and graphs in the Grade 10 Study guide.
In Grade 10 you have sketched the graph of y ax q . The parabola was symmetrical
about the y-axis.
f x x2 ,
g x x 2 and
2
h x x 2 2
2
Thus: p is the horizontal shift of the graph p units to the left or to the right and q is
the vertical shift of the graph q units upwards or downwards.
2
2.1 Sketching the parabola
The y intercepts: Let x 0 (this is always the c-value if the equation is in the
form y ax2 bx c )
b
Equation of the axis of symmetry: x
2a
or
the square.
3
Example 1
Solution
2 x2 6 x 8 0
x 2 3x 4 0 [Divide by 2]
x 4 x 1 0
x 4 or x 1
b
Turning po int : x
2a
6 6 3
x
2 2 4 2
Substitute x 3
2 into equation
2
3 3
y 2 6 8
2 2
y 2x2 6x 8
y 2 x 2 3x 4 [Divide by 2]
2 2
y 2 x 2 3x 32 32 4 [Add and subtract 32 ]
2
4
y 2 x 32 94 4 [Factorise first three terms and square 32 ]
2
y 2 x 32 254
2
[Add last two terms]
y 2 x 32 252
2
[Multiply 254 by 2 in front of the bracket 2( 245 ) 252 ]
Example 2
Solution
Axis of symmetry: x 1
y 2( x 1) 2 8
y 2( x 2 2 x 1) 8
y 2x2 4x 2 8
y 2 x 2 4 x 6
y int ercept : y 6
2 x 2 4 x 6 0
x2 2x 3 0 [Divide by 2]
x 3 x 1 0
x 3 or x 1
5
2.2 Determining the equation of the parabola
When you are asked to find the equation of the parabola, one of the following
equations are used.
The roots and another point are given: y a x 1st root x 2nd root
Example 3
y ax2 bx c.
Solution
y a x 2 x 4 [Roots: 2 and 4]
y a x 2 x 4
4 a 2 4
4 8a
a 4
8
a 12
6
Now substitute a with 12 in y a x 2 x 4 and simplify.
y 12 x 2 x 4
y 12 x 2 2 x 8
y 12 x 2 x 4
a 12 , b 1, c 4
Example 4
In the diagram
f x ax 2 bx c.
of a, b and c
Solution
y a x 1 6
2
4 a 1 6
2
4 6 a
2 a
7
Now let a 2 in y a x 1 6
2
y 2 x 1 6
2
y 2 x 2 2 x 1 6
y 2x2 4x 2 6
y 2x2 4x 4
a 2, b 4, c 4
a
3. The hyperbola defined by y q
x p
The effect of a
If a 0 (positive) the graph lies in the first and third quadrant.
If a 0 (negative) the graph lies in the second and fourth quadrant.
a is the vertical shrinking or stretching of the graph.
The effect of q
The effect of p
Division by 0 is undefined, therefore x p 0.
Thus, the equation of the vertical asymptote is x p x p 0 when x p
p is the horizontal shift of the graph p units to the left or to the right.
8
If a is positive graph in quadrant 1 and 3.
If a is negative graph in quadrant 2 and 4.
Example 5
12
Sketch the graph of y 2
x 1
Solution
Horizontal asymptote: y 2
y-intercept: Let x 0
12
y 2
0 1
y 12 2
y 14
x-intercept: Let y 0
12
20
x 1
12 2 x 2 0
2 x 14
x 7
9
Example 6
8
Sketch the graph of y 1
x2
Solution
Horizontal asymptote: y 1
Vertical asymptote: x 2
y-intercept: x 0
8
y 1
02
8
y 1
2
y 4 1
y 3
x-intercept: y 0
8
1 0
x2
8 x 2 0
8 x 2 0
x 6
10
3.2 The axes of symmetry of the hyperbola
a
The function f x is
x
symmetrical about the
line y x and the line y x.
y x p q and y x p q.
Example 7
12
7.1 y 2
x 1
8
7.2 y 1
x2
11
Solution
y x p q and y x p q
y x 1 2 and y x 1 +2
y x3 y x 1 2
y x 1
7.2 y x p q and y x p q
y x 2 1 and y x 2 1
y x 2 1 y x 2 1
y x 3 y x 1
y x 3 and y x 1
Example 8
12
Solution
Vertical asymptote: x 2
p 2 [Vertical asymptote: x p]
p2
Horizontal asymptote: y 1
q 1 [Horizontal asymptote: y q]
a
y 1
x2
a
2 1 [Substitute x with 0 and y with 2 and determine a]
02
2 2 a 2 [Multiply by 2]
4 2 a
a 2
a 2; p 2; q 1
The effect of q : You already know that q is the vertical shift of the graph.
The equation of the horizontal asymptote is y q.
The graph of the exponential function do not have a vertical
asymptote.
13
The effect of p :
f x 2x ,
g x 2 x 1 and
h x 2 x 1.
Therefore, p is a horizontal shift of the graph. If p 0 , the graph moves to the left
and if p 0 , the graph moves to the right.
The x-intercept: Let y 0 and solve the equation. Note: if q 0 there will
be no x-intercept.
If the base > 1 the graph will be ascending and if the base < 1 the graph will be
descending.
Example 9
Solution
Horizontal asymptote: y 1
14
y-intercept: Let x 0
y 301 1
y 3 1
y 2
x-intercept: Let y 0
3x 1 1 0
3x 1 1
3x 1 30 [Remember: 1 = 30 ]
x 1 0 [Bases are equal, equate exponents]
x 1
Example 10
Solution
Horizontal asymptote: y 1
y-intercept: Let x 0
y 2 13
0 1
1
y 2 13 1
1
y 2 3 1 [ 13 3]
1
y 7
x-intercept: Let y 0
2 13
x 1
1 0
13
x 1
12
no solution
15
4.2 Determining the equation of the graph
Example 11
graph of y 2x p q
Solution
Horizontal asymptote: y 1
q 1 [Horizontal asymptote is always y q ]
0 21 p 1
1 21 p
p 1
p 1; q 1
Example 12
y a.b x q is shown.
16
Solution
Horizontal asymptote: y 1
3 a b 1 [x 0; y 3]
0
3 1 a 1 [Remember b0 1]
2 a
y 2b x 1
7 1 2b
6 2b
b 3
17
5. Translation of graphs
The translation of graphs means that an existing graph is moved to the right or the
left by a specific number of units, and is translated upwards or downwards by a
specific number of units.
What will the equation of the new graph be if the graph of y x 2 is moved 2 units to
the left and translated 1 unit upwards.
y x 2 1
2
Example 13
In the diagram f x x2 , g x
18
Solution
f x x2
y x2
Equation of g x
Equation of h x
y x 1 2
2
Example 14
14.2 On the same set of axes, using translation, sketch the graph of
f x x 2 1.
2
Solution
14.1 y-intercept: y 3
x-intercept: Let y 0.
x2 2 x 3 0
x 3 x 1 0
x 3 0 or x 1 0
x 3 or x 1
19
Turning Point
b 2
x 1
2a 2 1
y 1 2 1 3
2
4
You must be able to make certain deductions from sketch graphs when the equation
of the graph is given, i.e. determine coordinates, lengths of lines and the points of
intersection of graphs.
20
Example 15
Solution
15.1 To calculate the lengths of OA, OB and OC, you first have to find the
coordinates of A, B and C.
A and B are the x-intercepts, therefor let y 0.
x2 4 x 5 0
x 5 x 1 0
x 5 or x 1 A(1;0) B (5;0)
b ( 4)
15.2 Coordinates of Turning Point: x x 2(1)
2a
x 4
2
x 2
y 485
y 9
D 2; 9
21
15.3 EF is parallel to the y-axis length of EF = y-coordinate of E.
First calculate the x-coordinate of E. E is the point of intersection of f x
and g x .
Let f x g x and solve the equation.
x2 4x 5 x 1 [f x x 2 4 x 5 and g x x 1]
x2 5x 6 0
x 6 x 1 0
x 6 or x 1 but x 0 at E At E : x 6
Let x 6 in g x : y x 1
y 6 1
y 7
E (6; 7)
Length of EF 7 units
GH g x f x
GH x 1 x 2 4 x 5
GH x 1 x 2 4 x 5
GH x 2 5 x 6 [Now complete the square]
GH x 5 x 6
2
5 5
GH ( x 2 5 x ( ) 2 ( ) 2 6)
2 2
5 25
GH [( x ) 2 6]
2 4
5 49
GH [( x ) 2 ]
2 4
5 49
GH ( x ) 2 [ 494 1 449 ]
2 4
Maximum length of GH 49
4 12 14
22
15.5 Range is the y-values. The graph has a turning point at (2;-9). Therefore,
the minimum value if -9.
Range { y; y 9, y }
15.6 Turning Point of f x 2 (0; 9) [Graph moves 2 units to the left]
Example 16
Solution
Change in y y y
16.1 Average gradient or 1 2
Change in x x1 x2
y 2 2 2 3 y 3 2 3 3
2 2
y 5 y 12
5 12 5 12
Average gradient
23 1
7
OR
23
f 2 f 3
Average gradient
23
2 2 2 2 3 3 2 2 3 3
23
5 12
1
5 12
1
7
16.2 The vertical asymptote passes through the turning point D. Therefore,
calculate the x-coordinate of the turning point.
b
x
2a
2
x
2 1
x 1
q 1 [Horizontal asymptote: y q]
2
y 1 [p 1 and q 1. Let x 0]
0 1
y 2 1
y 1
E 0; 1
24
16.4 Domain the x values {x : x , x 1}
2 2
16.5 g 5 1 [Substitute x with 5 in g x 1]
5 1 x 1
2
1
4
3
2
Example 17
3
f x 2
x 1
and g x x 1.
25
Solution
3
0 2 [y 0, determine x]
x 1
0 3 2 x 1 [Multiply by x 1]
0 3 2x 2
5
x
2
5
A ;0
2
3
y 2 [x 0, determine y ]
0 1
y 3 2
y 5
B(0;5)
26
3
2 x 1
x 1
3 2 x 2 x2 x x 1 [Remove brackets]
0 3 2 x 2 x 2 x x 1
0 x2 4
0 x 2 x 2 [Factorise RHS]
x 2 or x 2
At C.x 0 x 2
Let x 2 in y x 1
y 2 1
y 3
C (2;3)
DE f x g x
3
DE 2 x 1
x 1
3
4 2 x 1 [DE 4, given]
x 1
27
4 x 1 3 2 x 1 x x 1 x 1 [Multiply by x 1]
4x 4 3 2x 2 x2 x x 1
4 x 4 3 2 x 2 x2 x x 1 0
x2 4x 0
x x 4 0
x 0 or x 4
At E , x 0 x 4
y 4 1
y 3 E (4; 3)
y ( x p) q or y x p q
y x 1 2 y x 1 2
y X 1 2 y x 1 2
y x3 y x 1
y x3 or y x 1
3
y 1 2
x 2 1
3
y 2 1
x 1
3
h x 1
x 1
28
7. Graphs of the trigonometric functions
f x sin x,
g x 2sin x and
h x sin x 1 .
Effect of q : q is a vertical shift of the graph and therefore effects the range of the
function.
29
Take a look at the following sketches.
y tan x y tan 2x
To sketch the graphs of the trigonometric functions, use your calculator to set up a
table and sketch the graph by means of point-by point plotting.
However, it is important that you know the graphs of y sin x, y cos x and y tan x
and can sketch the graphs. Know the x-intercepts and the turning points of the
various functions for x 0;360 .
This will make it easier to do translations as well as to determine the equations of the
functions when sketches of graphs are given.
30
7.3 The graphs of y sin x p , y cos x p and y tan x p
Sketched are the graphs of f x cos x , g x cos x 30 and h x cos x 60 .
Example 18
Solution
You can sketch the graph of y sin x and then do the translations,
OR
31
Set up a table.
Very small intervals are used in order to obtain the values of the turning points.
In the graph of y 2sin 2 x 30 3 parameters are used, a 2 , k 2 and p 30 . In the
examination no more than two parameters at a time will be asked simultaneously,
e.g. y sin k x p or y a sin x p or y a sin kx or y sin x p q .
Example 19
On the same set of axes, sketch the graphs of f x cos 2 x 60 and
g x 2sin x 30 for x 180;180
32
Solution
Use your calculator to set up tables and then plot the points.
Example 20
33
Solution
a 3 [90 30 3]
Range of y sin ax 1 is 1 1 y 1 1
0 y 2
Example 21
21.1 On the same set of axes, draw sketch graphs of f x cos x 30 and
g x sin 2 x for x 180;180.
21.2 For which values of x is the interval x 0;90 is f x g x
Solution:
34
21.2 cos x 30 sin 2 x
cos x 30 cos 90 2 x
x 30 90 2 x or x 30 360 90 2 x
x 2 x 90 30 k .360 x 30 270 2 x k .360
3x 120 k .360 x 2 x 270 30 k .360
x 40 k .120 x 300 k .360
x 300 k.360
Example 22
Solution
35
Example 23
Sketched are the graphs of f x tan ax and g x cos x p . Determine the values
of a and p.
Solution
a 2 [90 45 = 2]
p 45
36
Example 24
Solution
f x tan x 30
q 1
g x 2 cos x 1
37
SUMMARY
The parabola: y a x p q
2
b
Or for Turning Point of parabola: Let x and substitute this value into
2a
equation to find the y-value of the turning point.
38
The graph of y sin x x 0;360 The graph of y cos x x 0;360
39
EXERCISE 6
1.2 y 2 x 1 2
2
1.1 y 2 x2 10 x 8
4
1.3 y 2 1.4 y x2 3x 10
x 1
8
1.5 y 3x1 1 1.6 y 1
x2
6
1.7 y x2 x 2 1.8 y 3
x 1
x2
1.9 y 2.
1
1 1.10 y 3.2x1 3
2
a a
g x q g x q
x p x p
40
2.3 f x ax 2 bx c and 2.4 f x ax2 bx c and
g x 3x p q g x 2x p q
3. Determine the equation of the parabola through the points (-4; 0), (2;0) and
(-2; 4).
4. Determine the equation of the parabola with turning point (-2; 8) and
passing through the point (-4; 4).
4
5. Determine the values of p and q if the graph of y q passes through
x p
the point (-2; 1) and the horizontal asymptote is the line y 2.
7. On the same set of axes sketch the graphs of f x sin 2( x 30 and
g x 2cos( x 30). { 180 x 180}
41
8. The sketch shows the graphs of
f x x2 x 6 and g x x 2.
x2
42
10. Sketched are the graphs of
f x x2 2x 3 and
4
g x 2.
x 1
43
12. Sketched are the graphs of
5
f x 2 and g x x 1
x3
44
14. The graphs of f x a cos(kx) and g x sin( x p) are sketched below for
x 45;360
45
EXERCISE 6 1.3 y
4
x 1
2
Horizontal asymtote: y 2
1.1 y 2 x 10 x 8
2
Vertical asymtote: x 1
y intercept: x intercepts
b
T .P : x y
4
2 0=
4
2
2a 01 x 1
0 4 2 x 1
10 5
x y 4 2
2 2 2
y 2 0 4 2x 2
10 8
2
5 5
y2
2 2 2x 2
9
x 1
2
T .P. 5
2
;
9
2
y -intercept: y 8
x-intercepts:
2 x 2 10 x 8 0
x2 5x 4 0
x 4 x 1 0
1.4 y x 3x 10
2
x 4 | x 1
y -intercept: y 10
x-intercepts:
1.2 y 2 x 12 2
T .P p; q 1; 2 x 2 3 x 10 0
x-intercepts: x 2 3 x 10 0
x 5 x 2 0
2 x 2 2 x 1 2 0
x 5 | x 2
2x 4x 2 2 0
2
T .P :
2x 4x 0
2
b
x
2x x 2 0 2a
3
x 0 | x 2 x
2 1
y -intercept:
3
2
y0
3 10
2
3 3
y
2 2
12
1
4 12 3
2
;
1
4
46
x 1
1.5 y 3 1
x-intercept:
0 3x 1 1
1 3x 1
30 3x 1
x 1 0
x 1
y -intercept:
y 3x 1 1 1.8 y
6
3
x 1
y 3 1 Horizontal asymptote: y 3
y2
Vertical asymptote: x 1
Horizontal asymtote: y 1
y -intercept:
6
1.6 8 y 3
y 1 01
x2
Horizontal asymptote: y 1 63
y 9
Vertical asymptote: x 2
x-intercept:
x-intercept:
6
8 0 3 0
1 0 x 1
x2
0 6 3( x 1)
8 ( x 2) 0
0 6 3x 3
8 x 2 0
3 x 9
x 10
x 3
y -intercept:
8
y 1
x2
0 2 1.9 y 2 1
2
1
5
Horizontal asymptote: y 1
y -intercept:
1.7 y x x 2
2
1
0 2
Turning Point: y2 1
2
y 2 1
2
b 1 1
x y
2
2 1
2a 2 2
2
1 1 7
1
y 1 1
1
21 2 4
2 2
1 7
;
2 4
1 12 41 2 1 7
x
21 2
no x-intercept
y -intercept: y 2
47
x 1
1.10 y 3 2 3 0
a
5 2
1
Horizontal asymptote: y 3 a
0 1
x-intercept: y -intercept: 3
0 a 3
0 3 2 x 1 3 y 3 201 3
a 3
3 3 2 x 1 y 3 21 3 3
g ( x) 1
1 2 x 1 y 3 12 3 x2
20 2 x 1 y 32
x 1 0
x 1
2.2 f ( x) a x p 2 q
y a x 1 4
2
0 a 1 1 4
2
0 4 a 4
a 1
f ( x) 1 x 1 4
2
f ( x) x 2 2 x 1 4
f ( x) x 2 2 x 3
y a x r1 x r2 y
a
x 1
2 p 1; q 2
y a x 1 x 5 0
a
2
11
10 a 4 1 4 5 a
0 2
10 a 5 1 2
0 a 4
10 5a
4
a 2 a 4 g ( x) 2
x 1
f ( x) 2 x 1 x 5
f ( x) 2 x 2 4 x 5 2.3 f ( x) a( x p) y
2
y a x 2 2
2
f ( x) 2 x 2 8 x 10
2 a 0 2 2
2
p 2 2 2 4a
q 1 4 4a
y
a
1 a 1
x2
48
f ( x ) 1 x 2 2
2
3. y a x r1 x r2
f ( x) x 2 4 x 4 2 y a x 4 x 2
f ( x) x 2 4 x 4 2 4 a 2 4 2 2
f ( x) x 2 4 x 2 4 a 2 4
4 8a
g ( x) 3 x p q a 2
y 12 x 4 x 2
y 3x p 2 q 2
3 30 p 2 y 12 x 2 2 x 8
3 2 3 p y 12 x 2 x 4
1 3 p 3
0
3p
p0 g ( x) 3 x 2
4. y a x p 2 q
y a x 2 8
2
2.4 T .P given: 4 a 4 2 8
2
y a x p q
2
4 a 4
y a x 2 1
2
a 1
1 a 0 2 y 1 x 2 8
2 2
2 4a y 1 x 2 4 x 4 8
a 1
2 y x2 4x 4 8
f ( x) x 2 1
1 2
2 y x2 4x 4
f ( x) 1
2 x 2
4x 4 1
f ( x) 12 x 2 2 x 2 1
f ( x) 12 x 2 2 x 1 4
5. y x p q
y
4
x p
2 q 2
g ( x) 2 x p q
4
1 2
y 2 x p 1 q 1 2 p
2 p 4 2 2 p
1 20 p 1 0;1 point on g ( x)
2 p 4 4 2 p
2 2p
p 2p 44 2
p 1
p 2 p 2
g ( x) 2 x 1 1
4
y 2
x 2
p 2 q2
49
8.3 Calculate the x-coordinate of E
x2 x 6 x 2
x2 2x 8 0
x 4 x 2 0
x 4 or x 2 x 0 x 4
y 42 y 6
EF 6 units
7. 0 x 5 x 3
x 5 x 3
At M : x 0 x 3
OM 3 units
8.5 KL g ( x) f ( x)
KL x 2 x 2 x 6
KL x 2 x 2 x 6
KL x 2 2 x 8
8.1 At A and B : y 0 KL x 2 2 x 8
x2 x 6 0
x 3 x 2 0
x 2 2 x 1 1 8
2 2
x 1 9
2
x 3 or x 2
At C : x 0 y 6
x 1 9
2
b 1 1 x 2
8.2 x x
2a 21 2 y 1
12
2
y 12 6
14 12 6 6 14
D 12 ; 6 14
50
9.2 At A : f ( x) 0 10.1 x 1
3
1 0 y2
x2
3 x 2 0
3 x 2 0 10.2 Let f ( x) 0
x 5
x 5 A(5;0) x2 2 x 3 0
At B : g ( x) 0 x2 2x 3 0
x 1 x 3 x 1 0
1 1 0
2 x 3 or x 1
x 1
1 1 A(1; 0) B(3; 0)
2
x 1 0
1 1
2 2 y
4
x 1
2 At C : x 0 in g ( x)
x 1 0 4
y 2
01
x 1 B(1;0)
y 4 2
y 2 C (0; 2)
At C : Let x 0 in
3
1 y
0 2 10.3 Turning point of parabola:
3
1 y x
b
2
2a
5 5
y C (0; ) x
2
x 1
2 2 2 1
y 1 2 1 3
2
9.3 OD 1 xD 1 xE 1 1 2 3 4
f ( x)
3
x2
1 E is a point on f ( x) y 4
3
y 1 (Let x 1)
1 2 f 1 f 2
1 1 y 2 10.4 M
1 2
DE 2 units
1 2 1 3 2 2 2 3
2 2
x 1 1
9.4 g ( x) 1 1
2 1 2 3 4 4 3
1 51
g (5) 1 0 5
2
0,98 5
51
10.5 g ( x) f ( x 2) 11.5 OG 2 units xH 2
translation 2 units to the right. y
3
x 2
1 G a point on g ( x)
TP of g ( x) (3;4) 3
y 1
2 2
3 1
1
4 4
11.1 At A and B : f ( x) 0 1
H (2, )
x2 4x 5 0 4
x 5 x 1 0
x 5 x 1
11.6 y : y 4; y
OA 1 unit
OB 5 units
OC 5 units C (0; 5) 12.1 At A and B : f ( x) g ( x)
11.2 x 214 2
y 2 4 2 5
2
4 88
9
D(2; 9)
11.3
5
2 x 1
x 3
EF 8 yF 8 f ( x) 8
5 2 x 3 x 1 x 3
x 2 4 x 5 8
5 2 x 6 x2 4 x 3
x2 4x 3 0
0 x2 2 x 8
x 3 x 1 0
0 x 4 x 2
x 3 or x 1
F (1; 8) x 4 or x 2
y x 1
y 4 1 or y 2 1
11.4 y
a
1 (p 2)
x 2
y 3 or y 3
0
a
1 2
1 A( 1;0) A(4; 3) B(2;3)
a
0 1
3
0 a 3 a 3 12.2 x 3 y2
a 3 p 2
52
12.3 f ( x)
5
x 3
2 13.3 CD f ( x) g ( x)
5 CD x 2 2 x 15 x 3
f ( x 1) 1 2 1
x 13
CD x 2 2 x 15 x 3
5
f ( x 1) 1 1 6 x 2 x 12 (CD 12)
x2
x 2 x2 x 6 0
y 1 x 3 x 2 0
x 3 or x 2
12.4 y x p q x 0 at E
y x 3 2 (p 3; q 2) OE 2 units
y x 3 2
y x 1 c 1 13.4 FG g ( x) f ( x)
FG x 3 x 2 2 x 15
FG x 3 x 2 2 x 15
13.1 At A : g ( x) 0 FG x 2 x 12 (OH 4,5 x 4,5)
g ( x) 0 FG 4,5 4,5 12
2
x3 0 3, 75 units
x 3
A(3;0)
53
15.
a 1
2
sin 120 p 1
120 p 90 ( sin 90 1)
p 90 120
p 30
54