Professional Documents
Culture Documents
Differential Calculus
Chapter 1
June 7, 2015
2
Contents
3
4 CONTENTS
Chapter 1
This chapter reviews some basic mathematical concepts that prepare students in the study of
calculus. These concepts include graphs of equations and functions, mathematical models and
some applications.
B 4
3 A
2
1
x
4 3 2 1 1 2 3 4
1
2
D
3
C
4
5
6 CHAPTER 1. FUNCTIONS AND THEIR GRAPHS
Figure 1.1 shows a portion of the cartesian plane illustrating the points A, B, C, and D with
coordinates (2, 3), (1, 4), (2, 3) and (3, 2) respectively.
In calculus, we will be concerned with equations relating two or more variables. If an equation
relates two variables, we can geometrically represent the equation as a subset of a the cartesian
plane.
Definition 1.1.1. The graph of an equation relating the variable x and y is the set of all ordered
pairs (x, y) such that the equation holds.
Example 1.1.1. Consider the equation 2x + y = 4. Observe that for a given value of x, there is a
corresponding value of y for which the equation holds, since if the equation holds, then y = 2x+4.
Thus, the graph of the given equation has infinitely many points in it. We can plot some of the
points in the graph of 2x + y = 4 by constructing the following table of values.
x 1 0 1 2 3
y 6 4 2 0 2
Therefore, (1, 6), (0, 4), (1, 2), (2, 0) and (3, 2) are some points in the graph of 2x + y = 4.
The figures below show the plotted points and the portion of the graph of 2x + y = 4.
y y
(1, 6) 6 (1, 6) 6
5 5
(0, 4) 4 (0, 4) 4
3 3
2 (1, 2) 2 (1, 2)
1 1
(2, 0) (2, 0)
x x
2 1 1 2 3 4 2 1 1 2 3 4
1 1
2 (3, 2) 2 (3, 2)
x 1 0 1 2 3 4
y 7 2 1 2 1 2
We next plot the points (1, 7), (0, 2), (1, 1), (2, 2), (3, 1), (4, 2) and connect them us-
ing a smooth curve.
1.1. GRAPHS OF AN EQUATION 7
(1, 7) y
6
5
4
3
(0, 2) 2 (4, 2)
1
x
2 1 1 2 3 4
1 (1, 1) (3, 1)
2
(2, 2)
Warning! The point plotting method presented in the previous examples is easy and convenient
to use. However, it can be misleading too. For example, consider the equation
1
y= x(39 10x2 + x4 ).
30
Note that the points (3, 3), (1, 1), (0, 0), (1, 1) and (3, 3) are in the graph of the given
equation. From these five points, one might conclude that the graph is a straight line. However,
the actual graph is not a line. See figures below.
5 5
4 4
3 (3, 3) 3 (3, 3)
2 2
(1, 1) (1, 1)
1 1
(0, 0) (0, 0)
5 4 3 2 1 0 1 2 3 4 5 5 4 3 2 1 0 1 2 3 4 5
(1, 1) 1 1
(1, 1)
2 2
(3, 3) 3 (3, 3) 3
4 4
5 5
8 CHAPTER 1. FUNCTIONS AND THEIR GRAPHS
x2 3x = 2
x2 3x + 2 = 0
(x 2)(x 1) = 0
x = 2 or 1
To find the y-intercepts, let x = 0 and solve for y.
y2 = 0
y = 2
Therefore, the x-intercepts are 2 and 1 and the y-intercepts is 2.
Example 1.1.4. Consider the graph of (x 2)2 + (y 2)2 = 1. Observe that if x = 0, then
4 + (y 2)2 = 1. Thus, (y 2)2 = 3 which has no real solutions for y. Thus, the graph has no
y-intercepts. Similarly, the graph also has no x-intercepts.
y
2
(2, 2)
1
x
1 1 2 3 4
1
In sketching graphs of equation, it is useful to know if the graph is symmetric with respect to a
given line. we consider three types of symmetry in the following:
Definition 1.1.2. .
1. A graph is symmetric with respect to the y-axis if whenever the point (x, y) is a point
on the graph, then the point (x, y) is also a point of the given graph.
2. A graph is symmetric with respect to the x-axis if whenever the point (x, y) is a point
on the graph, then the point (x, y) is also a point of the given graph.
1.1. GRAPHS OF AN EQUATION 9
3. A graph is symmetric with respect to the origin if whenever the point (x, y) is a point
on the graph, then the point (x, y) is also a point of the given graph.
If the graph of an equation is symmetric about the y-axis, then the portion of the graph to
the left of the y-axis is the mirror image of the portion to the right of the y-axis. If the graph of
an equation is symmetric about the x-axis, then the portion of the graph below of the x-axis is
the mirror image of the portion above the y-axis. If the graph is symmetric with respect to the
origin, then the graph is unchanged when we rotate the graph 180 about the origin.
2 1 0 1 2
1
2
10 CHAPTER 1. FUNCTIONS AND THEIR GRAPHS
1.2 Functions
There are several types of functions in mathematics. In calculus, we are interested in a particular
class of real-valued functions which can be used to model real life relationships and phenomena.
Calculus can be thought as the study of real-valued functions and its analytical properties which
are directly affected by change.
Even though functions can be used to represent real life relationships, a function as a mathematical
entity is a very abstract concept that we cannot be able to define it at this point as we lack
prerequisites. We shall be using an intuitive definition instead.
Definition 1.2.1. Let A and B be nonempty sets. A function from A to B is a rule assigning
to each element x A a unique element y B. In this case, we call y as the image of x under
f and we express this by writing y = f (x).
In calculus, the sets A and B in the definition are usually sets of real numbers, e.g. the interval
[0, 1], the set Z of integers, or sometimes R = (, ) itself. In such a case, f is called a
real-valued function of a real variable.
The set A of inputs is called the domain of f . The set {f (x) : x A} of all outputs of f is called
the range of f . Necessarily, the range of f is a subset of the set B which is called the codomain
of f .
We usually define a function by giving a formula for f (x). And in this case, the domain of f is
taken to be the largest set of real numbers for which f (x) is defined.
Example 1.2.1. Let f (x) = 1 x2 . Then f is a function since for each x, a f (x) has a unique
value. The formula means that f assigns the input x to the output 1 x2 . In particular,
Since f (x) is defined for all real number x, then the domain of f is (, ). The range of f
is the set {1 x2 : x (, )}. But for x (, ), x2 0. So, 1 x2 1. In fact,
1 x2 = 1 if and only if x = 0. Hence, the range of f is the interval
(, 1] = {y : y 1}
Example 1.2.2. The graph of the function f (x) = 1 x2 is the set {(x, y) : y = 1 x2 }. The
graph is nothing but the graph of the equation y = 1 x2 which was studied in the previous section.
Geometrically, the graph of f is a parabola. Sometimes, we specify the domain where the function
is defined. For example, if q(x) = 1 x2 , for 1 x < 2. This means that g is only defined on the
interval [1, 2) and it is undefined outside [1, 2). The graphs of f and g are shown figure 1.2
1.2. FUNCTIONS 11
y y
2 2
1 1
x x
2 1 1 2 2 1 1 2
1 1
2 2
3 3
4 4
Definition 1.2.3. Let n be a positive integer. A polynomial function of degree n is any function
of the form
where ai R, i = 1, 2, . . . , n and an 6= 0.
1
Example 1.2.3. The function f (x) = x5 2x3 x + is a polynomial function of degree 5.
4
2
On the other hand, the functions g(x) = x x, h(x) = +x and (x) = |x|+2x2 are not polynomial
x
functions.
p(x)
f (x) = ,
q(x)
x+2
f (x) =
x2 1
4 3 2 1 0 1 2 3 4
1
x+2
Observe that the graph of f (x) = has vertical asymptotes x = 1 and x = 1.
x2 1
We now recall the six trigonometric functions.
1. sin x, which is defined as the ordinate of the point where the ray from the origin, making
an angle of x radians, from the positive x-axis crosses the unit circle.
2. cos x, which is defined as the abscissa of the point where the ray from the origin, making
an angle of x radians, from the positive x-axis crosses the unit circle.
sin x
3. tan x = , x 6= + k, where k Z.
cos x 2
cos x
4. cot x = , x 6= k, where k Z.
sin x
1
5. sec x = , x 6= + k, where k Z.
cos x 2
1
6. csc x = , x 6= k, where k Z.
sin x
Some functions are defined independently on a set of disjoint intervals.
Example 1.2.5. (Piecewise Defined Functions).
Let a function h be defined by
4 x2 if x 0
h(x) = 2 if 0 < x 1 .
2x if x > 1
1.2. FUNCTIONS 13
This means that the function h is defined independently on the disjoint intervals (, 0], (0, 1]
and (1, ). The graph of h is the union of the graphs of h(x) = 4 x2 , for x 0, h(x) = 2, for
0 < x 1 and h(x) = 2x, for x > 1. The graph of h is shown below.
y
6
x
3 2 1 1 2 3
1
x if x 0
f (x) = |x| = .
x if x < 0
The graph of the absolute value function is shown figure.
4 3 2 1 0 1 2 3 4
1
If x is a real number, then it is known that there is a unique integer n such that n x < n + 1,
that is every real number can be sandwiched between two consecutive integers. The unique integer
n is denoted JxK called the floor of x. The integer JxK is the greatest integer less than or equal to x.
Example 1.2.6. J4K = 4, J2.5K = 2, JK = 3, J2 + 2K = 3, J2.23K = 3, J 10K = 4
The greatest integer function or the floor function is the function defined by
f (x) = JxK,
14 CHAPTER 1. FUNCTIONS AND THEIR GRAPHS
2 1 0 1 2 3 4 5 6
1
Definition 1.2.5. Let f and g be functions. We define the following functions for all x where
f (x) and g(x) are defined.
1
Example 1.2.7. Let f (x) = x2 + 3x and for h 6= 0, let g(x) = x + h. Calculate [(f g) f ](x).
h
Solution:
1 f (g(x)) f (x)
[(f g) f ](x) =
h h
f (x + h) f (x)
=
h
(x + h)2 + 3(x + h) (x2 + 3x)
=
h
x2 + 2xh + h2 + 3x + 3h x2 3x
=
h
2xh + h2 + 3h
=
h
= 2x + h2 + 3
Example 1.2.8. Let f (x) = x + 1 and g(x) = x 3. Determine the domain of fg .
f f (x) x+1
Solution: Note that (x) = = . For (f /g)(x) to be defined, we must ensure
g g(x) x3
that x + 1 0 and x 3 > 0. This implies that x 1 and x > 3, thus x > 3. Therefore, the
domain of f /g is the interval (3, ).
r
x+1
Remark 1.2.1. If we consider the function h(x) = , it turns out that h has a different
x3
domain with f /g as in the previous example. In fact, the domain of h consists of all real numbers
x+1
x such that 0 and x 6= 3. Thus, the domain of h is (, 1] (3, ).
x3