Graphing Techniques
Graphing Techniques
Graphing Techniques
H2 MATHEMATICS
TOPIC GRAPHING TECHNIQUES 2023/JC1
Chapter Opener
Pre-requisites:
x2 2 x 4 4
Perform long division for rational expressions. For instance, x4 .
x2 x2
O levels differentiation techniques
Page | 1
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
1 Introduction
In the H2 Mathematics syllabus, graphing calculators (G.C.) are essential in the sketching of graphs.
However, students should be aware that there are limitations inherent in G.C.
G.C. can be used to sketch the graphs of the following basic curves:
Equation Press Input Screen Result
Sample:
o brings us to the input screen to
y x2 key in equations.
„ to get the variable x
¡ to square x
s to display the graph (of the
specified equation)
y= X,T,,n ^ 3 graph
y x3
To zoom in at the point 0, 0 ,
press :
zoom 2 enter
y= 1 X,T,,n graph
Page | 2
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
y ln x y= ln X,T,,n graph
Remark:
We usually use 0: ZoomFit or 6: ZStandard to sketch graphs if pressing s alone does not give
a clear or complete view of the graph.
6: ZStandard only gives x- and y-values from -10 to 10.
0: Zoom Fit stretches the entire graph to the whole screen. For example, using 6: ZStandard gives the
view of y = lnx in the screen below which does not give a clear view of the graph near the y-axis.
y
x
O
Page | 3
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
An axial intercept is a point at which a curve intersects with either axis ( x -axis or y -axis).
A point of intersection between the curve and the x -axis is an x -intercept, while a point of intersection
between the curve and the y -axis is a y -intercept.
Worked Example 1: Find the coordinates of the axial intercepts of the curve y x 2 2 x 15 .
Solution:
Method : Algebraic
To find x -intercepts: To find y -intercept:
Substitute y 0 , Substitute x 0 ,
x 2 2 x 15 0 y 02 2 0 15
x 5 x 3 0 15
x 5 or 3
Page | 4
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
OR
Page | 5
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
Before proceeding to find the y -intercept, notice that the G.C. did not show the curve in its entirety as
the minimum turning point is not shown. We will need to change the window settings.
Press Screen Display Remarks
1. Press window to access the The default window settings
window settings menu. are:
Xmin 10 ,
Xmax 10 ,
Ymin 10 ,
Ymax 10 .
2. For this question, we can set Changing the window setting
Ymin to be 20 . is a trial and error process,
i.e. there are no “correct”
values to set.
Remark:
If question states explicitly to find exact coordinates of the axial intercepts, then method
algebraic must be used.
For method : using G.C., do not press the arrow key to trace on the curve and simply read
off the values as it is not accurate.
Page | 6
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
Self-Practice:
Find the exact coordinates of the axial intercepts for the following curves:
1 2x 1 x2 x2 2 x 3
(a) y , (b) y , (c) y , (d) y .
3 x x2 x 1 x2
Answers:
1 1 1
(a) y-intercept : 0, ; no x-intercept (b) y-intercept: 0, ; x-intercept: , 0
3 2 2
3
(c) y-intercept / x-intercept : 0, 0 (d) y-intercept: 0, ; x-intercept: 3,0 , 1,0
2
3 Asymptotes
An asymptote is a line or a curve that a graph approaches as it heads towards infinity. Recall from ‘O’
Level Additional Maths that the line x = 0 is the asymptote of the graph y = lnx, and that the line y = 0
is the asymptote of the graph y e x . One of the limitations of the GC when sketching the graph is that
the asymptotes are not shown. Hence we have to find the asymptotes manually.
In the H2 syllabus, we will study three types of asymptotes: namely vertical asymptotes, horizontal
asymptotes and oblique asymptotes. Curved asymptotes are not in the syllabus.
In many curves, the value(s) of x which makes the function y undefined indicates the presence
of a vertical asymptote at that value(s). In such curves, it will never intersect with its vertical
asymptote(s).
Page | 7
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
1
Worked Example 2: Given the curve y 1 , find the equations of the asymptotes and sketch
x3
the curve.
Solution:
undefined 1
1
When x ______
3 , y is _______________.
0
1
Explanation: As x 3 , 3 3 0 , i.e. a very small positive value. .
0
1
As x 3 , 3 3 0 , i.e. a very small negative value. .
0
Thus as x 3 , y . Hence x 3 is a vertical asymptote.
1
As x , 0 , and y 1 , hence y 1 is a horizontal asymptote.
x 3
y=1
x
O
x=3
Remark:
Asymptotes should be drawn using dotted lines.
Self-Practice:
Find the equation(s) of the vertical asymptote(s) for the following curves:
1 2x 1 x2 x2 2 x 3
(a) y , (b) y , (c) y , (d) y .
3 x x2 x 1 x2
Answers:
(a) x 3 (b) x 2 (c) x 1 (d) x 2
Page | 8
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
Solution:
Notice that when x 1 , y is undefined. x 1 is a vertical asymptote.
4
x 2 3x
By long division, we have y x 4 x 1
x 1 ______________.
1
As x , 0 , and y x 4 . y x 4 is an oblique asymptote.
x 1
y
y=x4
3,0
O x
1, 1
3, 9
x = –1
Self-Practice:
By carrying out long division to simplify the rational function (if applicable), find the equation(s)
of the horizontal asymptote(s) or oblique asymptote(s) for the following curves:
1 2x 1 x2 x2 2 x 3
(a) y , (b) y , (c) y , (d) y .
3 x x2 x 1 x2
Answers:
1
(a) y ; Horizontal asymptote: y 0
3 x
5
(b) y 2 ; Horizontal asymptote: y 2
x2
1
(c) y x 1 ; Oblique asymptote: y x 1
x 1
Page | 9
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
3
(d) yx ; Oblique asymptote: y x
x2
4 Turning Points (Self-Directed Learning)
The turning points of the curves can be found using differentiation or G.C..
x 2 3x
Worked Example 4: Find the coordinates of the turning points of the curve y , indicating
x 1
the nature of each turning point.
Solution:
Method : Algebraic
dy x 1 2 x 3 x 3 x 1
2
quotient rule
x 1
2
dx
x2 2 x 3
x 1
2
dy
At turning points, 0
dx
x2 2x 3
0
x 1
2
x2 2x 3 0
x 3 x 1 0
x 3 or 1
d 2 y x 1 2 x 2 x 2 x 3 2 x 1
2 2
quotient rule
x 1
4
dx 2
d2 y
When x 3 , y 9 and 1 0 . 3, 9 is a maximum point.
dx 2
d2 y
When x 1 , y 1 and 2 1 0 . 1, 1 is a minimum point.
dx
Page | 10
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
OR
4. Press the arrow keys to move the Like finding roots, the G.C.
cursor to the right of maximum uses a numerical method to
point, then press enter. find the maximum point, you
will need to round off
OR accordingly and verify your
answer.
You can just press a number that
is right of the maximum point.
This screenshot
appears before
pressing enter for
right bound.
5. For the guess, you can move the In this case, 3, 9 is the
cursor close to the maximum maximum point.
point, then press ENTER.
Page | 11
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
Remark:
The use of calculus to determine the exact coordinates of the turning points will be further discussed
in the topic: Applications of Differentiation.
Page | 12
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
5 Symmetry
2
Example: y x
Examples: y x , y cos x
2 O
Page | 13
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
Often, there may be restrictions to the possible values of x and y , depending on the equation of a curve.
These restrictions may not be obtained from the GC using 6: ZStandard option, so we need to learn to
determine these restrictions by analysing the equations and/or graphs.
Worked Example 5: Find the range of values of x and y for the following curves:
x2 2
(a) y ln x 3 (b) y 3 x (c) y
x 1
Solution:
Page | 14
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
x2 2
(c) For y to be defined, x 1 .
x 1
x 1 or x 1 .
y y 4 1 2 y
2
x
2 1
y y2 4 y 8
x
2
For x to be defined , y 2 4 y 8 0 .
Consider
y2 4 y 8 0
y 2
2
12 0 y
y 2 12
y 2 2 3 or y 2 2 3 .
This method is equivalent to considering the intersections between any horizontal line y = k with the
graph of y = f(x). The equation has solutions if the horizontal line intersects the graph. By finding the
values of k that results in real solutions for this equation, we are finding all horizontal lines that intersect
the graph. In other words, we are identifying all the y-values of the graph. Since this is a quadratic
equation, we identify the existence of real solutions using the discriminant method. On the other hand,
to identify the horizontal lines that do not intersect the graph, we may solve Discriminant < 0.
0,2
2.73, 5.46
Page | 15
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
Remark:
If we can identify the possible values of x and y, we will know how to change the values of Xmin,
Xmax, Ymin and Ymax in the G.C. so that the entire graph can be seen. The ability to adjust settings
in the window function is an important skill to be acquired in H2 Mathematics.
f x an x n an 1 x n 1 a2 x 2 a1 x a0
where n is a non-negative integer and a0 , a1 , a2 , , an are constants (called the coefficients of the
polynomial). If the leading coefficient an 0 and n 0 , then n is called the degree of the polynomial.
Worked Example 6: Sketch the following curves, indicating clearly the coordinates of any
intersections with the axes and turning points:
(a) y x 1 x 1 (b) y x 1 x 1
4 2 3
Solution: y
(a) y (b)
(–0.600, 2.62)
(–1, 0)
(0 ,1) x
O (1 ,0)
x (0, –1)
(–1 ,0) O (1 ,0) (–0.200, –1.11)
Page | 16
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
Worked Example 7: A cubic polynomial curve, C , is shown below. Find the equation for C .
Solution:
Since the graph crosses the x -axis three times at 3, 2, and 5, the function has factors x 3 ,
x 2 and x 5 . Thus we can let f x a x 3 x 2 x 5 , where a is a constant to be
determined.
P x
A rational function f is the ratio of two polynomials, i.e. f x where P and Q are
Q x
polynomials. There are two types of rational functions:
P x
A rational function is proper if the degree of P x the degree of Q x . It is improper if the
Q x
degree of P x the degree of Q x .
3 3x 3x 2
For instance, is proper while and are improper rational functions.
x 1 x 1 x 1
Page | 17
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
Note:
Before sketching a rational function, we need to ensure that any improper rational function is converted
to a proper one via a long division.
P x r x r x
Applying long division to an improper rational function , we obtains q x where
Q x Q x Q x
is a proper rational function. This allows us to obtain y q x as the equation of
(i) the horizontal asymptote if q x c , where c is a constant or
(ii) the oblique asymptote if q x mx c is a linear functon, m 0
P x
In the A-Level syllabus, we shall focus on rational functions where Q x is linear and the
Q x
degree of P x is at most 2.
Remark:
When Q x is linear and the degree of P x is at most 2, there will be 2 asymptotes:
(i) a vertical asymptote and
(ii) either a horizontal or oblique asymptote.
These two asymptotes divide the cartesian plane into four “sectors” and the graph will occupy two
opposite facing sectors.
Page | 18
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
ax b d
8.1 Graphs of y , where a, b, c, d , c 0, x
cx d c
In this case, both P and Q are linear functions. The rectangular hyperbola (which you will learn more
ax b d
in the topic of Conics) y , where c 0, x looks like either Figure (a) or (b) below:
cx d c
y
y
x x
2x 3
Worked Example 8: Sketch the graph of y .
x4
Solution:
5
[Asymptotes] Using the long division, we get y 2 . So the horizontal asymptote is y 2 and
x4
the vertical asymptote is x 4 .
3 3
[Intercepts] You can verify that the intercepts are 0 , and ,0 .
4 2
The domain is \ {4} and there is no turning points. We may then sketch the graph as follows.
Page | 19
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
ax 2 bx c e
8.2 Graphs of y , where a, b, c, d , e , a 0, d 0, x
dx e d
ax 2 bx c
The procedure to sketch the graph of y is similar, except that it has an oblique asymptote
dx e
instead of a horizontal asymptote.
x2 1
Worked Example 9: Sketch the graph of y .
x 1
Solution:
x2 1 2
y x 1 , so the asymptotes are y = x + 1 and x 1 .
x 1 x 1
Intercepts: The axial intercept is 0,1 , and there are no x-intercepts.
Stationary points: The turning points can be found by the GC.
Notice how close the y-intercept and the maximum point are! You need to use 1: ZBox or 2: Zoom In
to see the features of the graph clearly.
Page | 20
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
x 2 x 12
Worked Example 10: Sketch the graph of y .
x2
Solution:
x 2 x 12 10
y x 1
x2 x2
Asymptotes: y x 1 , x 2
Intercepts: The graph intersects at (0,6), (3, 0) and (4,0).
9 Other Essential G.C. Skills (Zoom Fit, ZBox, adjust WINDOW settings)
2x2 x 1
Worked Example 11: Sketch the graph of y , indicating clearly the coordinates of any
x2
intersections with the axes, turning points and equations of any asymptotes.
Solution:
2 x2 x 1 7
y 2x 3
x2 x2
Asymptotes: y = 2x + 3, x = 2
1
Intercepts: 0,
2
Stationary points: min 3.87,14.5 , max 0.129, 0.483
Page | 21
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
Remarks:
1. G.C. in zoom 6: ZStandard does not display the entire curve. We need to use 0: ZoomFit and
then change the window settings to get a better shape.
6: ZStandard
2. From the G.C., it may seem like the maximum point is lying on the y -axis. However, it is not.
We can check by pressing zoom 1: ZBox to enlarge a chosen section of the curve.
ax 2 bx c
3. For a curve C with equation of the form y , there are two possible cases:
dx e
Case 1: C has two turning points, like in Worked Examples 9 and 11. The midpoint of these
two turning points lies on where the asymptotes intersect (Prove it in tutorial)
Case 2: C has no turning points, like in Worked Example 10.
So when you only observe one turning point in your GC, you should check if there is a second
turning point by adjusting window settings.
Self-Practice: Sketch the graph of the following curves, indicating clearly axial intercept(s),
asymptote(s) and stationary point(s), if any:
1 2x 1 x2 x2 2 x 3
(i) y , (ii) y , (iii) y , (iv) y .
3 x x2 x 1 x2
1 1 1
Answers: (i) 0, , H.A y 0 , V.A x 3 (ii) 0, , , 0 , H.A y 2 , V.A x 2
3 2 3
(iii) 0, 0 , V.A x 1 , O.A y x , Max 0, 0 , Min 2, 4
3
(iv) 1, 0 , 3, 0 , 0, , O.A y x , V.A x 2
2
Page | 22
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
x2 2x 2
Worked Example 12: The curve C has equation y .
x 1
(i) Determine the asymptotes of C.
(ii) Sketch C, showing clearly any axial intercepts, turning points and asymptotes.
(iii) Deduce the number of real roots of the equation x 4 2 x3 2 x 2 x 1 0 .
Solution:
x2 2 x 2 5 x3
(i) y x 3 2
x 1 x 2x 2
x 1 x 1
asymptotes are y x 3 and x 1 .
x2 x
(ii) 3x 2
y 3 x 3
C 5
x = –1
y=x–3
(0,2)
x
y0 O (1.24, 0.472)
(– 3.24, –8.47)
(iii) x 4 2 x3 2 x 2 x 1 0
x 4 2 x3 2 x 2 x 1
x 2 ( x 2 2 x 2) x 1
x2 2 x 2 1
2
x 1 x
1
y 2
x
1
Sketch y 2 on the same axes in (ii).
x
Since there are 2 points of intersection, there are 2 real roots.
Page | 23
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
1
Worked Example13: By sketching the curves y , y 2 3 0.1x 2 on a GC, find the
x 1 x 1
point of intersection in the 3rd quadrant.
Solution:
The point of intersection can be found by using GC.
To sketch y 2 3 0.1x 2 , we first re-arrange the expression into y 3 0.1x 2 .
Page | 24
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
The point of intersection in the 3rd quadrant is 0.647, 1.72 (to 3 s.f.)
Page | 25
CJC MATHEMATICS DEPARTMENT
2023 JC1 H2 MATHEMATICS (9758)
TOPIC: GRAPHING TECHNIQUES
x - intercepts y - intercepts
Analytical Method Let y 0 to find the corresponding Let x 0 to find the corresponding
(EXACT) values(s) of x . value(s) of y .
Use of G.C.
Let denominator of Find the value which y Find the expression which y
Procedure a rational function approaches as x . approaches as x .
be zero and solve Note: A rational function has a Note: A rational function has an
for the value(s) of x horizontal asymptote if the oblique asymptote if the
in the equation. degree of numerator same as degree of numerator is 1
degree of denominator. more than degree of
denominator.
Example 2x 1 2x 1 x 2 3x 6
y y y
x3 x3 x 1
Page | 26