Functions and Graphs
Functions and Graphs
iii.
1
3
c.
g..a. d. b.
h.
y yyy y y yyyyy B y√ √
yy y y 2 y
3 10 2
5 x − 10
P (x )= x 20+4 y
8=( 44x +2)( x +2 x − 4)=( x +2)( x − (− 1+ 5))(x −yy (−x 1yy− 5))
10 20 x 20
50 xx2 20 4 5 6 5
40
–2 25 –2 2x M x0 x
–2 000 2
2 4
54 2 6 x
–2
–2 –2 –2 5 0 02 2 0 6
–2 x2 2 4 6 5
–50 A
Hargreaves
–4 –2 2 4 –2 0 2
–5–20
–15 0 5 10
x x xx x
–10 x –500 –5
–2
–10–2 –5 0 2 –20–2 2
–4
–4
–4
–2 0–2
–2 20
–2 4 22–40 6 444
–5
–2
–2
–2
–2
–4
–4
Mathematics Learning Centre
University of Sydney
NSW 2006
Contents
1 Functions 1
Mathematics Learning Centre, University of Sydney
1.1 What is a function? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.1 Definition of a function . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1.2 The Vertical Line Test . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.3 Domain of a function . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.4 Range of a function . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Specifying or restricting the domain of a function . . . . . . . . . . . . . . 6
1.3 The absolute value function . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 More about functions 11
2.1 Modifying functions by shifting ........................ 11
2.1.1 Vertical shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1.2 Horizontal shift . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2 Modifying functions by stretching . . . . . . . . . . . . . . . . . . . . . . . 12
2.3 Modifying functions by reflections . . . . . . . . . . . . . . . . . . . . . . . 13
2.3.1 Reflection in the x-axis . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3.2 Reflection in the y-axis . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.4 Other effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.5 Combining effects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.6 Graphing by addition of ordinates . . . . . . . . . . . . . . . . . . . . . . . 16
2.7 Using graphs to solve equations . . . . . . . . . . . . . . . . . . . . . . . . 17
2.8 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.9 Even and odd functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2.10 Increasing and decreasing functions . . . . . . . . . . . . . . . . . . . . . .23
2.11 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3 Piecewise functions and solving inequalities 27
3.1 Piecewise functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.1.1 Restricting the domain . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.2 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.3 Inequalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.4 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
ii
Mathematics Learning Centre, University of Sydney
4 Polynomials 36
4.1 Graphs of polynomials and their zeros . . . . . . . . . . . . . . . . . . . . 36
4.1.1 Behaviour of polynomials when |x| is large . . . . . . . . . . . . . . 36
4.1.2 Polynomial equations and their roots . . . . . . . . . . . . . . . . . 37
4.1.3 Zeros of the quadratic polynomial . . . . . . . . . . . . . . . . . . . 37
4.1.4 Zeros of cubic polynomials . . . . . . . . . . . . . . . . . . . . . . . 39
4.2 Polynomials of higher degree . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
4.4 Factorising polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.4.1 Dividing polynomials . . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.4.2 The Remainder Theorem . . . . . . . . . . . . . . . . . . . . . . . . 45
4.4.3 The Factor Theorem . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.5 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5 Solutions to exercises 50
Mathematics Learning Centre, University of Sydney 1
1 Functions
In this Chapter we will cover various aspects of functions. We will look at the definition
of a function, the domain and range of a function, what we mean by specifying the
domain of a function and absolute value function.
One way to demonstrate the meaning of this definition is by using arrow diagrams.
X Y X Y
f g
1 5 1 5
2 2 6
3 3 3 3
4 2 4 2
The definition we have given is a general one. While in the examples we have used
numbers as elements of X and Y , there is no reason why this must be so. However, in
these notes we will only consider functions where X and Y are subsets of the real
numbers.
In this setting, we often describe a function using the rule, y = f(x), and create a graph of
that function by plotting the ordered pairs (x,f(x)) on the Cartesian Plane. This graphical
Mathematics Learning Centre, University of Sydney 2
representation allows us to use a test to decide whether or not we have the graph of a
function: The Vertical Line Test.
1.1.2 The Vertical Line Test
The Vertical Line Test states that if it is not possible to draw a vertical line through a
graph so that it cuts the graph in more than one point, then the graph is a function.
y y
x
0
x
0
This is the graph of a function. All This is not the graph of a function. The
possible vertical lines will cut this vertical line we have drawn cuts the
graph only once. graph twice.
1.1.3 Domain of a function
This also corresponds to the set of x-values when we describe a function as a set of
ordered pairs (x,y).
If only the rule y = f(x) is given, then the domain is taken to be the set of all real x for
which the function is defined. For example, has domain; all real x ≥ 0. This is
sometimes referred to as the natural domain of the function.
For a function f : X → Y the range of f is the set of y-values such that y = f(x) for some x in
X.
This corresponds to the set of y-values when we describe a function as a set of ordered
pairs (x,y). The function y = √x has range; all real y ≥ 0.
Example
b.
y
3
1
x
–4 –3 –2 –1 0 1
The graph of
Example
a. State the equation of the parabola sketched below, which has vertex (3,−3).
y
1
x
–2 0 2 4 6 8
–1
–2
–3
Solution
Example
x2 + y2 = 16 is not a function as it fails the vertical line test. For example, when x = 0 y =
±4.
y
4
x
–4 –2 0 2 4
–2
–4
Example
b. f(q)
c. f(x2)
d.
Solution
y
x
–1 0 1 2 3
a. The domain is all real x. The range is all real y where y ≤ 2.25.
b. f(q) = 3q − q2
c. f(x2) = 3(x2) − (x2)2 = 3x2 − x4
d.
Example
Sketch the graph of the function f(x) = (x − 1)2 + 1 and show that f(p) = f(2 − p).
Solution
y
6
x
–2 0 2 4
= (1 − p)2 + 1
Mathematics Learning Centre, University of Sydney 6
= (p − 1)2 + 1
= f(p)
y
6
x
–2 0 2 4
The sketch illustrates the relationship f(p) = f(2 − p) for p = −1. If p = −1 then 2 − p = 2 −
(−1) = 3, and f(−1) = f(3).
We sometimes give the rule y = f(x) along with the domain of definition. This domain
may not necessarily be the natural domain. For example, if we have the function
y = x2 for 0≤x≤2
then the domain is given as 0 ≤ x ≤ 2. The natural domain has been restricted to the
subinterval 0 ≤ x ≤ 2.
Consequently, the range of this function is all real y where 0 ≤ y ≤ 4. We can best
illustrate this by sketching the graph.
Mathematics Learning Centre, University of Sydney 7
y
4
x
–1 0 1 2
We can also think of |x| geometrically as the distance of x from 0 on the number line.
|–2|=2 |4|=4
–2 0 4
| a – x | = |x – a |
a x
From this definition we can graph the function by taking each part separately. The graph
of y = |x| is given below.
y
2
y = –x x<0 1 y=x x ≥0
x
–2 –1 0 1 2
Solution
For y = |x − 2| we have
2 for x ≥ 2
⎪
⎩ −x + 2 for x < 2
1
y = –x + 2 x < 2 y = x – 2 x ≥2
x
0 1 2 3 4
We could have sketched this graph by first of all sketching the graph of y = x − 2 and then
reflecting the negative part in the x-axis. We will use this fact to sketch graphs of this
type in Chapter 2.
1.4 Exercises
1. a. State the domain and range of .
b. Sketch the graph of .
c.
d. y = |2x| − 1.
a.
b. y2 = x2.
6. Explain the meanings of function, domain and range. Discuss whether or not y2 = x3 is
a function.
7. Sketch the following relations, showing all intercepts and features. State which ones
are functions giving their domain and range.
a.
b. |x| − |y| = 0
c. y = x3
d.
e. |y| = x.
9. Write down the values of x which are not in the domain of the following functions: a.
b.
i. L(M(x)) ii.
M(L(x))
12. Using the sketches, find the value(s) of the constants in the given equations:
y y
5
2
x
–1 0 1
(–2,1) 1 (2,1)
–2
x
–2 0 2
y = ax2 − b
We can draw the graph of y = f(x) + k from the graph of y = f(x) as the addition of the
constant k produces a vertical shift. That is, adding a constant to a function moves the
graph up k units if k > 0 or down k units if k < 0. For example, we can sketch the function
y = x2 − 3 from our knowledge of y = x2 by shifting the graph of y = x2 down by 3 units.
That is, if f(x) = x2 then f(x) − 3 = x2 − 3.
y
3 y=x2
(1,1) y = x 2– 3
x
–2 –1 0 1 2
(1,–2)
–3
We can draw the graph of y = f(x − a) if we know the graph of y = f(x) as placing the
constant a inside the brackets produces a horizontal shift. If we replace x by x − a inside
Mathematics Learning Centre, University of Sydney 12
the function then the graph will shift to the left by a units if a < 0 and to the right by a
units if a > 0.
For example we can sketch the graph of from our knowledge of by shifting
this graph to the right by 2 units. That is, if then .
y
(1,1) (1,3)
–2 –1 0 1 2 3 4 x
(–1,–1) (1,–1)
–3
Note that the functionis not defined at x = 2. The point (1,1) has been
shifted to (1,3).
y y
2 2 (1,2)
1 (1,1) 1
x x
–1 0 1 –1 0 1
1 (1,1) 1
(1,1/2)
x x
–1 0 1 –1 0 1
We can sketch the function y = −f(x) if we know the graph of y = f(x), as a minus sign in
front of f(x) has the effect of reflecting the whole graph in the x-axis. (Think of the x-axis
as a mirror.) For example, we can sketch y = −|x| from our knowledge of y = |x|.
y y
2 x
–1 0 1
x
–1 0 1
We can sketch the graph of y = f(−x) if we know the graph of y = f(x) as the graph of y =
f(−x) is the reflection of y = f(x) in the y-axis.
For example, we can sketch y = 3−x from our knowledge of y = 3x.
y y
2 2
1 1
x x
–1 0 1 –1 0 1
of y = 3x in the y-axis.
y y
2
4
x
–1 0 1
2
x
–3 –1 0 1
the x-axis.
Mathematics Learning Centre, University of Sydney 15
y y
2 2
1 1
x x
–1 0 1 –2 –1 0
y
y x 2
–2 –1 0
1
–1
x
–2 –2 –1 0
The graph of y = −(x + 1)2. The graph of y The graph of y = 2−(x+1)2. The graph of
= (x + 1)2 has been reflected in the x-axis.
y = −(x + 1)2 has been shifted up by
2 units.
Similarly, we can sketch the graph of (x−h)2+(y−k)2 = r2 from the graph of x2+y2 = r2.
Replacing x by x − h shifts the graph sideways h units. Replacing y by y − k shifts the
graph up or down k units. (We remarked before that y = f(x) + k could be written as y − k
= f(x).)
Mathematics Learning Centre, University of Sydney 16
For example, we can use the graph of the circle of radius 3, x2 + y2 = 9, to sketch the graph
of (x − 2)2 + (y + 4)2 = 9.
y
4
x
–4 –2 0 2 4
–2
–4
The graph of x2 + y2 = 9.
This is a circle centre (0,0), radius 3.
y x
–2 0 2 4
(2,–1)
–2
(2,–7)
Replacing x by x − 2 has the effect of shifting the graph of x2 + y2 = 9 two units to the right.
y = |x – 2|
2
y = |x|
x
–2 0 2 4 6
x
–2 0 2 4 6
At each point of x the y-values of y = |x| and y = |x − 2| have been added. This allows us to
sketch the graph of y = |x| + |x − 2|.
This technique for sketching graphs is very useful for sketching the graph of the sum of
two trigonometric functions.
Mathematics Learning Centre, University of Sydney 18
We can solve equations of the form f(x) = k by sketching y = f(x) and the horizontal line y
= k on the same axes. The solution to the equation f(x) = k is found by determining the x-
values of any points of intersection of the two graphs.
For example, to solve |x − 3| = 2 we sketch y = |x − 3| and y = 2 on the same axes.
y
(1,2) (5,2)
2
x
–2 0 2 4 6
Example
–1 0 1 2 3 4 x
–2
–4
(3 ,– 4)
Solution
If we draw a horizontal line y = k across the graph y = f(x), it will intersect once when k >
0 or k < −4, twice when k = 0 or k = −4 and three times when −4 < k < 0.
Therefore the equation f(x) = k will have
1. 1 solution if k > 0 or k < −4 2. 2
solutions if k = 0 or k = −4
2.8 Exercises
1. Sketch the following:
a. y = x2 b. c. y = −x2 d. y = (x + 1)2
7. Show that
b. y = |x| + |x − 1| for −2 ≤ x ≤ 3
c. y = 2x + 2−x for −2 ≤ x ≤ 2
d. |x − y| = 1 for −1 ≤ x ≤ 3.
c. y = f(−x)
d. y = f(x) + 4
e. y = f(x − 3)
f. y = f(x + 1) − 2
g. y = 3 − 2f(x − 3)
h. y = |f(x)|
y
x
–3 0 1.5
–2
b.
c. x3 = x2
d.
13. Solve |x − 2| = 3.
a. algebraically
b. geometrically.
14. The parabolas y = (x − 1)2 and y = (x − 3)2 intersect at a point P. Find the coordinates
of P.
Mathematics Learning Centre, University of Sydney 21
15. Sketch the circle x2 + y2 − 2x − 14y + 25 = 0. [Hint: Complete the squares.] Find the
values of k, so that the line y = k intersects the circle in two distinct points.
a. algebraically
b. geometrically.
2.9 Even and odd functions
Definition:
Geometrically, an even function is symmetrical about the y-axis (it has line symmetry).
The function f(x) = x2 is an even function as f(−x) = (−x)2 = x2 = f(x) for all values of x. We
x
–2 –x –1 0 1 x 2
Definition:
Geometrically, an odd function is symmetrical about the origin (it has rotational
symmetry).
The function f(x) = x is an odd function as f(−x) = −x = −f(x) for all values of x. This is
illustrated on the following graph.
Mathematics Learning Centre, University of Sydney 22
–x x
–2 –1 0 1 x 2
–1
–y
The graph of y = x.
Example
1.
2.
3. .
Solution
1.
f(−x) = 3(−x)2 − 4 = 3x2 − 4 = f(x)
2.
3.
f(−x) = (−x)3 − (−x)2 = −x3 − x2
Example
Mathematics Learning Centre, University of Sydney 23
x
0
1. odd
2. even.
Solution
y
x
0
x
0
Here we will introduce the concepts of increasing and decreasing functions. In Chapter 5
we will relate these concepts to the derivative of a function.
Definition:
A function is increasing on an interval I, if for all a and b in I such that a < b, f(a) <
f(b).
The function y = 2x is an example of a function that is increasing over its domain. The
function y = x2 is increasing for all real x > 0.
y
y 2
4
f(b)
1
2
f(a)
x
x a
–1 0 1 b
0 1
Definition:
A graph is decreasing on an interval I, if for all a and b in I such that a < b, f(a) >
f(b).
The function y = 2−x is decreasing over its domain. The function y = x2 is decreasing on the
interval x < 0.
Mathematics Learning Centre, University of Sydney 25
y y
2 2
f(a)
1 1
f(b)
x x
–1 0 1 a –1 b 0 1
The graph of y = 2−x. This function is The graph of y = x2. This function is decreasing
for all real x. decreasing on the interval x < 0.
Notice that if a function is decreasing then it has negative slope.
2.11 Exercises
1. Given the graph below of y = f(x):
a. State the domain and range.
b. Where is the graph
i. increasing?
ii. decreasing?
c. if k is a constant, find the values of k such that f(x) = k has
i. no solutions ii. 1 solution iii. 2 solutions iv. 3 solutions
v. 4 solutions.
d. Is y = f(x) even, odd or neither?
y
x
–4 –2 0 2 4
–2
2. Complete the following functions if they are defined to be (a) even (b) odd.
Mathematics Learning Centre, University of Sydney 26
y y
x
0
x
0
y = f(x) y = g(x)
e. f. g. h.
i. y=2 +2
x −x
j. y = |x − 1| + |x + 1|
5. Consider the set of all odd functions which are defined at x = 0. Can you prove that
for every odd function in this set f(0) = 0? If not, give a counter-example.
Mathematics Learning Centre, University of Sydney 27
x
–1 0 1
–1
x
–1 0 1
We can now put these pieces together to define a function of the form
⎧ f(x) = ⎪⎨ 1 − x2
⎪
for x ≥ 0 ⎩ 1 − x
for x < 0
We say that this function is defined piecewise. First note that it is a function; each value
of x in the domain is assigned exactly one value of y. This is easy to see if we graph the
function and use the vertical line test. We graph this function by graphing each piece of
it in turn.
2 y
x
–1 0 1
–1
The graph shows that f defined in this way is a function. The two pieces of y = f(x) meet
so f is a continuous function.
for x ≥ 0
⎪⎩ −x for x <
0
is another example of a piecewise function.
Example
Solution
y
2
x
–2 –1 0 1 2
This function is not continuous at x = 0 as the two branches of the graph do not meet.
Notice that we have put an open square (or circle) around the point (0,2) and a solid
square (or circle) around the point (0,1). This is to make it absolutely clear that f(0) = 1
and not 2. When defining a function piecewise, we must be extremely careful to assign to
each x exactly one value of y.
3.2 Exercises
for x ≥ 0
⎪
⎩1−x for x < 0
evaluate
a. 2f(−1) + f(2)
b. f(a2)
3. Below is the graph of y = g(x). Write down the rules which define g(x) given that its
pieces are hyperbolic, circular and linear.
y
1
x
–3 –2 –1 1 2 3
–1
–2
for −2 ≤ x ≤ 0
2
⎪⎩ x − 4 for x > 0
for x < −1
Mathematics Learning Centre, University of Sydney 31
2 for −1 ≤ x < 1
for x ≥ 1
7. McMaths burgers are to modernise their logo as shown below.
y
3
x
–6 –3 0 3 6
Write down a piecewise function that represents this function using (a) 4 (b) 3 (c) 2
pieces (i.e. rules that define the function).
for 0 < x ≤ 2
⎪
⎩ cx + d for x > 2
y
4
(4,4)
x
–4 –2 0 2 4
–2
–4
We can solve inequalities using both algebraic and graphical methods. Sometimes it is
easier to use an algebraic method and sometimes a graphical one. For the following
examples we will use both, as this allows us to make the connections between the
algebra
and the graphs. positive negative positive
–1 0 1 2 3 4
− 1) < 0
1
x
The critical values are 1 and 3, which 0 1 3
divide the number line into three
intervals. We take points in each
interval to determine the sign of the
inequality; eg use x = 0, x = 2 and x =
4 as test values. When does the parabola have negative y-
values? OR When is the parabola under
Mathematics Learning Centre, University of Sydney 33
–1
(Notice that we had to include 0 as For what values of x does the line lie
one of our critical values.) under the hyperbola? From the graph, we
see that this happens when x < −2 or 0 < x
< 5.
Example
Mathematics Learning Centre, University of Sydney 34
a. Solve
i. |2x − 6| = 2x ii. |
2x − 6| > 2x iii. |
2x − 6| = x + 3 iv.
|2x − 6| < x + 3 v.
|2x − 6| = x − 3
b. Determine the values of k for which |2x − 6| = x + k has exactly two solutions.
Solution
y = |2x – 6| y = 2x
(9,12)
10.0
(1,4)
5.0
(1.5,3)
y=x+3 x
-4.00 -2.00 2.00 4.00 6.00 8.00 10.00
y=x–3
-5.0
-10.0
a. i. Mark in the graph of y = 2x. It is parallel to one arm of the absolute value graph. It
has one point of intersection with y = |2x − 6| = −2x + 6 (x < 3) at x = 1.5.
Mathematics Learning Centre, University of Sydney 35
ii. When is the absolute value graph above the line y = 2x? From the graph, when x
< 1.5.
iii. y = x + 3 intersects y = |2x − 6| twice.
b. k represents the y-intercept of the line y = x+k. When k = −3, there is one point of
intersection. (See (a) (v) above). For k > −3, lines of the form y = x + k will have two
points of intersection. Hence |2x − 6| = x + k will have two solutions for k > −3.
3.4 Exercises
1. Solve
a. x2 ≤ 4x
b.
c.
2. a. Sketch the graph of y = 4x(x − 3).
b. Solve |x − 5| > x.
i. two solutions
ii. no solutions
Definition
All polynomials are defined for all real x and are continuous functions.
We are familiar with the quadratic polynomial, Q(x) = ax2 + bx + c where = 0. This
polynomial has degree 2.
The function is not a polynomial as it has a power which is not an integer
≥ 0 and so does not satisfy the definition.
One piece of information that can be a great help when sketching a polynomial is the
way it behaves for values of x when |x| is large. That is, values of x which are large in
magnitude.
The term of the polynomial with the highest power of x is called the leading or
dominant term. For example, in the polynomial P(x) = x6 − 3x4 − 1, the term x6 is the
dominant term.
When |x| is large, the dominant term determines how the graph behaves as it is so much
larger in magnitude than all the other terms.
How the graph behaves for |x| large depends on the power and coefficient of the
dominant term.
There are four possibilities which we summarise in the following diagrams:
Mathematics Learning Centre, University of Sydney 37
y y
x x
1. Dominant term with even power and 2. Dominant term with even power and
positive coefficient, eg y = x2. negative coefficient, eg Q(x) = −x2.
y y
x x
3. Dominant term with odd power and 4. Dominant term with odd power and
positive coefficient, eg y = x . negative coefficient, eg Q(x) = −x3.
3
This gives us a good start to graphing polynomials. All we need do now is work out
what happens in the middle. In Chapter 5 we will use calculus methods to do this.
Here we will use our knowledge of the roots of polynomials to help complete the
picture.
The quadratic polynomial equation Q(x) = ax2 + bx + c = 0 has two roots that may be:
1. real (rational or irrational) and distinct,
2. real (rational or irrational) and equal,
3. complex (not real).
Mathematics Learning Centre, University of Sydney 38
We will illustrate all of these cases with examples, and will show the relationship
between the nature and number of zeros of Q(x) and the x-intercepts (if any) on the
graph.
1. Let Q(x) = x2 − 4x + 3.
y
We find the zeros of Q(x) by solving the
equation Q(x) = 0. 3
-
x2 − 4x + 3 = 0
1-
(x − 1)(x − 3) = 0
x
Therefore x = 1 or 3. |
0
|
2 4
–1 -
The roots are rational (hence real) and
distinct.
2. Let Q(x) = x2 − 4x − 3.
y
x
Solving the equation Q(x) = 0 we get,
0 2 4
–2
Therefore .
–6
3. Let Q(x) = x2 − 4x + 4.
y
Solving the equation Q(x) = 0 we get,
3
−
Therefore x = 2.
4. Let Q(x) = x2 − 4x + 5. y
Solving the equation Q(x) = 0 we get,
Therefore .
1
There are no real roots. In this case the roots
x
are complex.
0 2 4
ii. if the quadratic polynomial has a real double (or repeated) zero, then the graph sits
on the x-axis;
iii. if the quadratic polynomial has no real zeros, then the graph does not intersect the
x-axis at all.
So far, we have only considered quadratic polynomials where the coefficient of the x2
term is positive which gives us a graph which is concave up. If we consider
polynomials Q(x) = ax2 + bx + c where a < 0 then we will have a graph which is concave
down.
For example, the graph of Q(x) = −(x2 − 4x + 4) is the reflection in the x-axis of the graph
y y
x
0 2 4
3 –1
1 –3
x
0 2 4
zeros.
3x3 − 3x = 0
x
3x(x − 1)(x + 1) = 0 –1 0 1
Therefore x = −1 or 0 or 1
–1
The roots are real (in fact rational) and
distinct.
–1
− x
Therefore x = 0 or 1. –1 0 1
–1
Mathematics Learning Centre, University of Sydney 41
The graph turns at the double root.
4. Let Q(x) = x3 + x.
The roots are real with a double root at x = 0
and a single root at x = 1.
y
Solving the equation Q(x) = 0 we get, 1
x3 + x = 0 x(x2 + 1) =
0 x
–1 0 1
Therefore x = 0.
y y
1 1
x x
–1 0 1 –1 0 1
–1 –1
2. if P(x) = 0 has a repeated root with an even power then the graph of P(x) turns at
this repeated root;
Mathematics Learning Centre, University of Sydney 42
3. if P(x) = 0 has a repeated root with an odd power then the graph of P(x) has a
horizontal point of inflection at this repeated root.
For example, 1. tells us that if we have a quartic polynomial equation f(x) = 0. Then we
know that f(x) = 0 has ≤ 4 real roots.
We can illustrate 2. by the sketching f(x) = x(x − 2)2(x + 1). Notice how the graph sits on
the x-axis at x = 2.
x
–1 0 1 2
x
0 1 2 3
4.3 Exercises
1. Sketch the graphs of the following polynomials if y = P(x) is:
a. x(x + 1)(x − 3)
b. x(x + 1)(3 − x)
Mathematics Learning Centre, University of Sydney 43
c. (x + 1)2(x − 3)
d. (x + 1)(x2 − 4x + 5)
2. The graphs of the following quartic polynomials are sketched below. Match the
graph with the polynomial.
a. y = x4 b. y = x4 − 1 c. y = x4 + 1 d. y = 1 − x4 e. y = (x − 1)4 f. y = (x + 1)4
i.ii.iii. y y
2 y
1
1 1 x
–1 0 1
x x
–1 0 1 0 1 2 –1
iv.v.vi.
y y y
1
1 x 1
–1 0 1
x x
–1 0 1 –1 –2 –1 0
c. x2(x − 1)(x − 3)
d. (x + 1)2(x − 3)2
e. (x + 1)3(x − 3)
f. (x + 1)3(3 − x)
Mathematics Learning Centre, University of Sydney 44
g. x(x + 1)(x2 − 4x + 5)
h. x2(x2 − 4x + 5).
c. (x + 2)2(5 − x) > 0
d. (x + 2)3(5 − x) ≥ 0.
6. The diagrams show the graph of y = P(x) where P(x) = a(x − b)(x − c)d.
a.b.c.
y y y
x 4
2 4 0 x
2 4
2
–2
x
(2,–8)
–4 2 4
d.e.f.
y y y
x x (0, 8)
0 2 4 0 2 4
–5
x
(2,–8) –4 4
(3,–9)
7. The graph of the polynomial y = f(x) is given below. It has a local maximum and
minimum as marked. Use the graph to answer the following questions. a. State the
roots of f(x) = 0.
b. What is the value of the repeated root.
c. For what values of k does the equation f(x) = k have exactly 3 solutions.
d. Solve the inequality f(x) < 0.
e. What is the least possible degree of f(x)?
f. State the value of the constant of f(x).
Mathematics Learning Centre, University of Sydney 45
x
–2 –1 1 2
–10
(–1.28,9.91)
Suppose we have two polynomials P(x) and A(x), with the degree of P(x) ≥ the degree of
A(x), and P(x) is divided by A(x). Then
,
where Q(x) is a polynomial called the quotient and R(x) is a polynomial called the
remainder, with the degree of R(x) < degree of A(x).
We can rewrite this as
P(x) = A(x) · Q(x) + R(x).
For example: If P(x) = 2x3+4x+3 and A(x) = x−2, then P(x) can be divided by A(x) as
follows:
2x2 + 4x + 12 x − 2
2x3 + 0x2 + 4x − 3
2x3 − 4x2
4x2 + 4x − 3 4x2
− 8x
12x − 3
Mathematics Learning Centre, University of Sydney 46
12x − 24
21
The quotient is 2x + 4x + 12 and the remainder is 21. We have
2
.
This can be written as
Proof:
Following the above, we can write
where A(x) = (x − a). Since the degree of A(x) is 1, the degree of R(x) is zero. That is, R(x)
= r where r is a constant.
where r is a constant.
Example
= 3 − (−1) − 30 − 1
= −27
b.
Mathematics Learning Centre, University of Sydney 47
Remainder =
Example
Solution
Write f(x) = (x2 − 4) · q(x) + (5x + 6). Then
Remainder = f(2)
= 0 · q(2) + 16
= 16
A consequence of the Remainder Theorem is the Factor Theorem which we state below.
If x = a is a zero of f(x), that is f(a) = 0, then (x − a) is a factor of f(x) and f(x) may be
written as
f(x) = (x − a)q(x)
If a (real) polynomial
P(x) = ax3 + bx2 + cx + d,
where are real, has exactly 3 real zeros α, β and γ, then
Mathematics Learning Centre, University of Sydney 48
Furthermore, by expanding the right hand side of (1) and equating coefficients we
get: i.
;
ii.
;
iii.
.
This result can be extended for polynomials of degree n. We will give the partial result
for n = 4.
If
P(x) = ax4 + bx3 + cx2 + dx + e
is a polynomial of degree 4 with real coefficents, and P(x) has four real zeros α, β, γ and
δ, then
P(x) = a(x − α)(x − β)(x − γ)(x − δ)
If a = 1 and the equation P(x) = 0 has a root which is an integer, then that integer must
be a factor of the constant term. This gives us a place to start when looking for factors
of a polynomial. That is, we look at all the factors of the constant term to see which
ones (if any) are roots of the equation P(x) = 0.
Example
a. Factorise f(x).
c. Solve f(x) ≥ 0.
Mathematics Learning Centre, University of Sydney 49
Solution
a. Consider the factors of the constant term, 2. We check to see if ±1 and ±2 are
solutions of the equation f(x) = 0 by substitution. Since f(2) = 0, we know that (x −
2) is a factor of f(x). We use long division to determine the quotient.
4x2 − 1 x − 2 4x3
− 8x2 − x + 2
4x3 −
8x2
b.
y
So,
f(x) = (x − 2)(4x2 − 1)
1
= (x − 2)(2x − 1)(2x + 1) x
–1 0 1 2
–1
–3
c. f(x) ≥ 0 when
Example
Show that (x − 2) and (x − 3) are factors of P(x) = x3 − 19x + 30, and hence solve x3 − 19x +
30 = 0.
Solution
Mathematics Learning Centre, University of Sydney 50
So,
P(x) = x3 − 19x + 30 = (x − 2)(x − 3)(x + 5).
Instead of using long division we could have used the facts that
Then 2·3·α = −30, so that α = −5. Therefore the solution of P(x) = x3 −19x+30 = 0 is x = 2
or x = 3 or x = −5.
4.5 Exercises
1. When the polynomial P(x) is divided by (x − a)(x − b) the quotient is Q(x) and the
remainder is R(x).
a. Explain why R(x) is of the form mx + c where m and c are constants.
b. When a polynomial is divided by (x − 2) and (x − 3), the remainders are 4 and 9
respectively. Find the remainder when the polynomial is divided by x2 − 5x + 6.
c. When P(x) is divided by (x−a) the remainder is a2. Also, P(b) = b2. Find R(x) when
P(x) is divided by (x − a)(x − b).
write f(x) = g(x)q(x) + r(x) where q(x) and r(x) are polynomials.
b. Show that f(x) and g(x) have no common zeros. (Hint: Assume that α is a common
zero and show by contradiction that α does not exist.)
b. P(x) = x3 − x2 − 16x − 20
c. P(x) = x3 + 4x2 − 8
d. P(x) = x3 − x2 + x − 6
1.4 Solutions
b.
y
4
x
–4 –2 0 2 4
The graph of .
2.
Mathematics Learning Centre, University of Sydney 52
3.a. b.
y y
4 4
2 2
x x
0 1 3 5 –2 0 2
0
2 4 6 8 x
The graph of . The domain is all real = 4 and the range is all real
d.
y
4
x
–2 0 2
–1
The graph of y = |2x| − 1. The domain is all real x, and the range is all real y ≥ −1.
5.a. b. y
y
4 2
x
2
–2 0 2
x
–2 0 2 –2
6. y2 = x3 is not a function.
7.a. y
b. y
2 2
x x
–2 0 2 –2 0 2
–2 –2
c. y
d. y
2 2
x x
–2 0 2 –2 0 2
–2 –2
range is y = ±1. e.
y
x
0 2
–2
9. a. The values of x in the interval 0 < x < 4 are not in the domain of the function.
b. x = 1 and x = −1 are not in the domain of the function.
b. a = 5, b = 1 so the equation is .
13. b.
Mathematics Learning Centre, University of Sydney 55
x
–1 0 1
–1
Hence
2.8 Solutions
1.a. y
b. y
2 2
1 1
x x
–1 0 1 –1 0 1
–1 1
x
–2 –2 –1 0
Mathematics Learning Centre, University of Sydney 56
–2 0 2 x 0 2 4 x
–2 –2
The graph of .
The graph of .
c. y
d. y
2 4
x
2
–2 0 2
x
–2 0
–2 2
The graph of .
The graph of
3.a. y
b. y
1 4
x
–1 0 1 2
x
–1
–2 0 2
x
0 2 4
Mathematics Learning Centre, University of Sydney 57
2 2
x x
–2 0 2 0 2 4
y
4
x
–4 –2 0 2 4
x
2
–4 –2 0 2 4
x
0 –2 (0,– 2)
–4 –2 2 4
–2 –4
–4 –6
(1,3)
x
–4 –2 0 2 4
6. a.b.
y y
3
3
x (1 ,0) x
–3 0 3 –2 0 2 4
–3
The graph of
7.
x
–2 0 2 4
Mathematics Learning Centre, University of Sydney 59
The graph of .
8.
y
x
–2 0 2 4
–2
The graph of .
9. a.b.
y y
4 4
2 2
x x
–2 0 2 –2 0 2
2
2
x
0 x
–2 2
–2 0 2
–2
10.
y
4
x
–2 0 2
–1
11.a. b.
y y
2
x
–3 0 1.5
x
–3 0 1.5
–2
–2
x
–1.5 0 3
–2
x
–3 0 2
x
–4 –2 0
x
0 3 4.5
–2
–2
–4
g. y
h. y
4
6
2
4
x
–3 0 2
2
Thegraphof y = |f (x )|.
x
0 2 4
x
2 –2 0 2 4
x –2
12. a. –2 0 2
c.d.
y y
2
1
1
0 1 x
x
0 1
13.
x
–2 0 2 4
15.
y
10
(1,7)
x
–5 0 5
y = k intersects the circle at two distinct points when 2 < k < 12.
Mathematics Learning Centre, University of Sydney 64
16.
y
(1,1)
x
0 5 10
–5
x
–4 –2 0 2 4
18. n = −1 or n = 2.
19. a. For x ≥ 4, |x − 4| = x − 4 = 2x when x = −4, but this does not satisfy the condition of
x ≥ 4 so is not a solution.
b.
Mathematics Learning Centre, University of Sydney 65
(4/3,8/3)
2
x
0 2 4 6
2.11 Solutions
1. a. The domain is all real x, and the range is all real y ≥ −2.
c. i. k < −2 ii. There is no value of k for which f(x) = k has exactly one
solution.
iii. k = 2 or k > 0
iv. k = 0
v. −2 < k < 0
d. y = f(x) is even
2. a.b.
y = f(x) isy even. y
x x
0 0
y = f(x) is odd.
a.b.
Mathematics Learning Centre, University of Sydney 66
y y
x x
0 0
4. a.
h(−x) =
Therefore h is odd.
b.
h(−x) = (g(−x))2
=
(−(g(x))2
=
(g(x))2
= h(x)
Therefore h is even.
c.
h(−x) =
Therefore h is odd.
d.
h(−x) =
=
=
f(x) = ⎧⎪⎨ x2 − 4 for 0 < x ≤ 2
⎪ 2x − 4 for x > 2
Mathematics Learning Centre, University of Sydney 67
5. If f is defined at x = 0
0) (since 0 = −0)
Mathematics Learning centre t
+61 2 9351 4061 F +61 2 9351
5797 e
[email protected]
sydney.edu.au/mlc
MatheMatics
Learning centre