Documente Academic
Documente Profesional
Documente Cultură
CHAPTER 2: CALCULUS
Calculus is fundamentally different from the mathematics that you have studied
previously. Calculus is less static and more dynamic. It is concerned with change and
motion; it deals with quantities that approach other quantities. So in this chapter we
begin our study of calculus by investigating how the values of function change and
approach limits.
Functions arise whenever one quantity depends on another. Consider the following
situations.
Example:
Area of a circle, A = πr 2
The area A of a circle depends on the radius r of the circle. The rule that connects r and
A is given by the equation A = πr 2 . With each positive number r there is associated one
value of A, and we say that A is a function of r.
A function f is a rule that assigns to each element x in a set A exactly one element,
called f (x), in a set B.
x
f (x)
a
f (a)
f
A
→ B
Consider functions for which the sets A and B are sets of real numbers. The set A is
called the domain of the function. The number f ( x) is the value of f at x and is read
“ f of x ”. The range of f is the set of all possible values of f ( x) as x varies
throughout the domain. A symbol that represents an arbitrary number in the domain of a
function f is called an independent variable. A symbol that represents a number in the
range of f is called a dependent variable. In example above, for instance, r (radius) is
the independent variable and A (area) is the dependent variable.
1
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 1a:
1 − x if x ≤ 1
A function f is defined by f ( x) = 2 . Evaluate f (0) and f (1) . Sketch the
x if x > 1
graph.
f(0) = 1, f (1) = 0
Example 1b:
Sketch the graph of the absolute value function f ( x) = | x | .
Example 1c:
0.39 if 0 < w ≤ 1
0.63 if 1 < w ≤ w
Sketch the graph of the function C ( w) = .
0.87 if 2 < w ≤ 3
1.11 if 3 < w ≤ 4
Step function
2
UGCM1653/UCCM1653 Mathematics for Engineering I
2.3 Symmetry
Example 2:
Determine whether f ( x ) = x is an even or odd function.
2
Solution:
f ( − x) = ( − x ) 2 = x 2
We notice that f ( x ) = f ( − x) = x . Therefore, f is an even function.
2
Example 3:
Determine whether f ( x ) = x + x is an even or odd function.
5
Solution:
f ( − x) = ( − x ) 5 + ( − x ) = − x 5 − x = −( x 5 + x ) = − f ( x )
Since f (− x) = − f ( x) , therefore f is an odd function.
Our aim in this section is to explore the meaning of the limit of a function.
Example 3:
Let investigate the behavior of the function f defined by f ( x) = x 2 − x + 2 for values of
x near 2. The following tables give values of f (x) for values of x close to 2, but not
equal to 2.
3
UGCM1653/UCCM1653 Mathematics for Engineering I
From the table and the graph of f shown, we can see that when x close to 2 (on either
side of 2), f (x) is close to 4. In fact, it appears that we can make the values of f (x) as
close as we like to 4 by taking x sufficiently close to 2. We express this by saying “the
limit of the function f (x) = x2 – x + 2 as x approaches 2 is equal to 4”. The notation for
this is
lim( x 2 − x + 2) = 4
x →2
Definition 1:
We write
lim f ( x) = L
x→a
and say “the limit of f (x), as x approaches a, equals L” . If we can make the values of
f (x) arbitrarily close to L (as close to L as we like) by taking x to be sufficiently close a
(on either side of a) but not equal to a.
f ( x) → L when x → a
Example 4:
x −1
Find the value of lim .
x→ 1 x2 −1
Solution:
Method 1: Graph
4
UGCM1653/UCCM1653 Mathematics for Engineering I
Method 2:
x −1 x −1 1
lim = lim = lim = 0 .5
x →1 x −1
2 x →1 ( x − 1)( x + 1) x →1 ( x + 1)
Note:
x −1
The method below is WRONG. This is because lim is NOT defined at x=1.
x→ 1 x 2 − 1
x −1 1−1 0
lim = 2 = (NOT defined)
x →1 x −1 1 −1 0
2
5
UGCM1653/UCCM1653 Mathematics for Engineering I
lim f ( x) = L lim f ( x) = L
x→ a − x→ a +
By comparing Definition 1 with the definitions of one sided limits, we see that the
following is true.
Example 5:
1
Find lim 2 if it exists.
x→0 x
Solution:
1 1
lim 2 = = ∞
x →0 x 0
1 1
y = 2 tends to become infinity as x approaches 0. Therefore, lim 2 does not exist.
x x→ 0 x
Limit Laws :
6
UGCM1653/UCCM1653 Mathematics for Engineering I
f ( x) lim f ( x)
v. lim = x→a if lim g ( x) ≠ 0
x→a g ( x) lim g ( x) x→a
[ ]
x→a
vii. lim c = c
x→ a
viii. lim x = a
x→ a
Example 6: Example 7:
x2 −1 (3 + h) 2 − 9
Find lim Evaluate lim
x →1 x − 1 h→0 h
Solution: Solution:
x2 −1 ( x − 1)( x + 1) (3 + h) 2 − 9 9 + 6h + h 2 − 9
lim = lim lim = lim
x →1 x − 1 x →1 x −1 h →0 h h→0 h
= lim( x + 1) = 1 + 1
x →1
6h + h 2 h (6 + h )
=2 = lim = lim = lim(6 + h)
h →0 h h→ 0 h h →0
=6
2.5 Derivatives
In this chapter we study a special type of limit, called a derivative that occurs when we
want to find the slope of a tangent line or a velocity, or any instantaneous rate of change.
7
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 8:
Find an equation of the tangent line to the parabola y = x2 at the point P(1,1).
Definition
The tangent line to the curve y = f (x) at the point P(a, f (a)) is the line through P with
slope
f ( x) − f (a)
m = lim
x→a x−a
Provided that this limit exists
Definition
The derivative of a function f at a, denoted by f ′(a ) is
f ( a + h) − f ( a )
f ′(a ) = lim
h →0 h
8
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 8:
If f ( x) = x , find the derivative of f by using first principle.
Example 9:
1− x
Find the derivative of f ( x) = by using first principle.
2+ x
dy d
Remark: Other notation f ' ( x) = y ′ = = f ( x)
dx dx
9
UGCM1653/UCCM1653 Mathematics for Engineering I
Basic differentiation:
d
i. (c) = 0 , where c is constant
dx
d n
ii. ( x ) = nx n −1 , where n is positive integer
dx
iii.
d
[cf ( x)] = c d f ( x)
dx dx
iv.
d
[ f ( x ) + g ( x )] = d f ( x ) + d g ( x )
dx dx dx
v.
d
[ f ( x ) − g ( x )] = d f ( x ) − d g ( x )
dx dx dx
d d d
vi. [ f ( x) g ( x)] = f ( x) g ( x) + g ( x) f ( x) Product rule
dx dx dx
d d
g ( x) f ( x) − f ( x) g ( x)
d f ( x) dx dx
vii. = Quotient rule
dx g ( x) [g ( x ) ]2
d
viii. sin x = cos x
dx
d
ix. cos x = − sin x
dx
d
x. tan x = sec 2 x
dx
d
xi. csc x = − csc x cot x
dx
d
xii. sec x = sec x tan x
dx
d
xiii. cot x = − csc 2 x
dx
dy dy du
xiv. =
dx du dx
xv.
dy
[g ( x)]n = n[g ( x)]n−1 .g ′( x)
dx
xvi.
dy
[ln( g ( x))] = g ′( x) g ( x)
dx
xvii. e f ( x ) = e f ( x ) . f ' ( x )
dy
dx
10
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 10:
Differentiate
Solution:
11
UGCM1653/UCCM1653 Mathematics for Engineering I
12
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 11
Find
Solution:
Example 12:
dy
(a) x 2 + y 2 = 25, find
dx
(b) Find an equation of the tangent to the circle x 2 + y 2 = 25, at the point (3, 4)
Solution:
a)
13
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 13:
(a) Find y ' if x 3 + y 3 = 6 xy
(b) Find the tangent to the x 3 + y 3 = 6 xy at the point (3,3)
Solution:
a)
d 3
dx
(
x + y3 = )
d
dx
(6 xy )
At point (3, 3)
b) Tangent equation is
14
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 14:
Find y ' if sin( x + y ) = y 2 cos x
d
[sin(x + y )] = d (y 2 cos x )
dx dx
Example 15:
Find y ′′ if x 4 + y 4 = 16
15
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 16:
Air is being pumped into a spherical balloon so that its volume increases at a rate of
100cm3/s. How fast is the radius of the balloon increasing when the diameter is 50cm?
Solution:
Let V be the volume of the balloon and r be radius
4 3
Volume for sphere, V = πr
3
dV
Then, = 4πr 2
dr
Apply Chain rule :
Example 17:
A ladder 10 ft long rests against a vertical wall. If the bottom of the ladder slides away
from the wall at a rate of 1ft/s , how fast is the top of the ladder sliding down the wall
when the bottom of the ladder is 6ft from the wall?
16
UGCM1653/UCCM1653 Mathematics for Engineering I
Solution:
dy
Based on the question, when x = 6, =?
dt
dx
Given : = 1 ft/t
dt
------------(1)
Definition
A function f has an absolute maximum (or global maximum) at c if f (c) ≥ f ( x) for
all x in D, where D is the domain of f . The number f (c) is called the maximum value of
f on D. Similarly, f has an absolute minimum at c if f (c) ≤ f (x) for all x in D and the
number f (c) is called the minimum value of f on D. The maximum and minimum values
of f are called extreme values of f.
17
UGCM1653/UCCM1653 Mathematics for Engineering I
Definition
A function f has a local maximum (or relative maximum) at c if f (c) ≥ f ( x) when x
near c. This means that f (c) ≥ f ( x) for all x in some open interval containing c.
Similarly, f has a local minimum at c if f (c) ≤ f ( x) when x is near c.
Example 18:
Obtain all extreme values of f ( x) = 3 x 4 − 16 x 3 + 18 x 2 − 1 ≤ x ≤ 4 .
Figure show :
Definition
A critical number of a function f is a number c in the domain of f such that either
f ′(c) = 0 or f ′(c) does not exist.
Example 19:
Find the critical numbers of f ( x) = x 3 / 5 (4 − x)
Ans: 0, 3/2
Solution:
Let f ' ( x) = 0 , then x = 3/2. At x = 0, f ' ( x) does not exist because it is not defined.
Thus, the critical numbers are 3/2 and 0
18
UGCM1653/UCCM1653 Mathematics for Engineering I
Theorem
If f has a local maximum or minimum at c, then c is a critical number of f where
f ' ( x) = 0 .
Definition:
If the graph of f lies above all of its tangents on an interval I, then it is called concave
upward on I. If the graph of f lies below all of its tangents on I, it is called concave
downward on I.
19
UGCM1653/UCCM1653 Mathematics for Engineering I
Definition:
A point P on a curve y = f (x) is called an inflection point if f is continuous there and the
curve changes from concave upward to concave downward or from concave downward
to concave upward at P.
Concavity test
i. If f ′′(x) > 0 for all x in I, then the graph of f is concave upward on I.
ii. If f ′′(x) < 0 for all x in I, then the graph of f is concave downward on I.
Example 20:
Obtain all extreme points of y = x4 – 4x3.
20
UGCM1653/UCCM1653 Mathematics for Engineering I
At critical point,
f ' ( x) = 0
4 x 2 ( x − 3) = 0
x = 0, x = 3
Concavity Test:
Example 21:
A farmer has 2400 ft of fencing and wants to fence off a rectangular field that borders a
straight river. He needs no fence along the river. What are the dimensions of the field
that has the largest area?
21
UGCM1653/UCCM1653 Mathematics for Engineering I
Solution:
(maximum)
22
UGCM1653/UCCM1653 Mathematics for Engineering I
2.10 Integrals
b b b
i) [ f ( x) + g ( x)]dx = f ( x)dx + g ( x)dx
a a a
b b
ii) cf ( x)dx = c f ( x)dx ,
a a
where c is a constant value
b b b
iii) [ f ( x) − g ( x)]dx = f ( x)dx − g ( x)dx
a a a
Note:
Based on formula 2 (a) and 2(c), they can be written in these simple forms.
23
UGCM1653/UCCM1653 Mathematics for Engineering I
[ f ( x )]
n +1
[ f (x )] dx = f (x )
n 1
. +c
'
n +1
f (x) 1
e dx = .e f ( x ) + c
f (x )
'
Example 22:
(a)
(b)
sinh( 3 − 4 x ) dx =
(2 x − 7) dx =
3
(c)
(d)
3 dx =
5x
2x + 3 d ( x 2 + 3 x − 5)
x 2 + 3 x − 5 dx = ln ( x + 3 x − 5 ) + C
(e)
dx = 2
x2 + 3x − 5
(f) ta n 2 x
ta n x s e c xdx = ta n x d ( ta n x ) d x = +C
2
2
2.11 Methods of Integration
udv = uv − vdu
Notes: Choose u for the function which is easy to be differentiated.
Choose dv for the function which is easy to be integrated.
Example 23:
Solution:
We let u = x and dv = e x dx
24
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 24:
Evaluate
Method 1:
Method 2:
25
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 25:
For a rational function, which is ratio of two polynomials, we can decompose the
proper function into a sum of a simple rational function.
f ( x)
If the degree of f(x) is less than the degree of g(x), then is a proper fraction.
g ( x)
26
UGCM1653/UCCM1653 Mathematics for Engineering I
f ( x)
If the degree of f(x) is greater than or equal to the degree of g(x), then is
g ( x)
5 x − 10 2 3
improper fraction. For example can be decomposed into + .
x − 3x − 4
2
x − 4 x +1
Hence to integrate the function, we just simply integrate the decomposed function.
5 x − 10 2 3
x 2 − 3x − 4 dx = x − 4 dx + x + 1 dx
= 2 ln x − 4 + 3 ln x + 1 + c
Case 1:
If the factors for denominator Q(x) are all linear, then the proper fraction p ( x) / Q ( x) can
be decomposed using the following rule:
Example 26:
1
x 2 − 4 dx
Solution:
27
UGCM1653/UCCM1653 Mathematics for Engineering I
Case 2:
If some of the factor Q(x) are irreducible quadratics, then the contribution of those
factors to the partial fraction decomposition contains:
A1 x + B Am x + B
+K+ where A1… Am are constant
ax + bx + c
2
(ax + bx + c) m
2
Example 27:
Solve
Solution:
28
UGCM1653/UCCM1653 Mathematics for Engineering I
Example 28:
x2 + x −1
Evaluate dx (Improper fraction)
x
x2 + x −1 1
x dx = x + 1 − x dx
x2
= + x − ln x + c
2
∞
f ( n ) (a)
f ( x) = ( x − a) n
n =0 n!
f ′(a ) f ′′(a ) f ′′′(a )
f ( x) = f ( a ) + ( x − a) + ( x − a) 2 + ( x − a ) 3 + .......
1 2! 3!
Example 29:
Find the Maclaurin series of the function f (x) = e x .
f ′( x) = e x f ′(0) = 1
f ′′( x) = e x f ′′(0) = 1
f ′′′( x) = e x f ′′′( x) = 1
f ′′′′( x) = e x f ′′′′( x) = 1
Example 30:
Find the Taylor series for f (x) = ex at a = 2.
f ′( x) = e x f ′(2) = e 2
f ′′( x) = e x f ′′(2) = e 2
f ′′′( x) = e x f ′′′(2) = e 2
f ′′′′( x) = e x f ′′′′(2) = e 2
f ′(2) ′′ ′′′
f ( x ) = e x ≈ f ( 2) + (x − 2) + f (2) (x − 2)2 + f (2) (x − 2 )3 + .......
1 2! 3!
2 2
= e 2 + e 2 ( x − 2 ) + ( x − 2 ) + ( x − 2 ) + .......
e 2 e 3
2 6
30