IUC-Calculus Slide Complete
IUC-Calculus Slide Complete
AND ENGINEERING.
INSTITUT UNIVERSITAIRE DE
LA CÔTE
PREPARED BY
PATRICE NDAMBOMVE.
Objectives
Domain Range
f
a f(c)
A b f(a) B
c f(b)
d f(d)
10/5/2021 (c) Patrice Ndambomve 9
Functions
Function or not?
f
√ × ×
10/5/2021 (c) Patrice Ndambomve 10
Functions
Function Representation: f ( x) x 4
2
Example 2: g ( w) 4 3w
The domain of g is the collection of all real
numbers ≤4/3. The range of g is the set of all
nonnegative numbers.
C. D.
a. f (2) b. f (x + 3) c. f (-x)
Solution
a. We find f (2) by substituting 2 for x in the
equation.
f (2) = 22 + 3 • 2 + 5 = 4 + 6 + 5 = 15
Thus, f (2) = 15.
If f (x) = x2 + 3x + 5, evaluate: b. f (x + 3)
Solution
b. We find f (x + 3) by substituting (x + 3) for x in
the equation.
f (x + 3) = (x + 3)2 + 3(x + 3) + 5
Equivalently,
f (x + 3) = (x + 3)2 + 3(x + 3) + 5
= x2 + 6x + 9 + 3x + 9 + 5
= x2 + 9x + 23.
10/5/2021 (c) Patrice Ndambomve 19
Example 2a.
Solution
c. We find f (-x) by substituting (-x) for x in the
equation.
f (-x) = (-x)2 + 3(-x) + 5
Equivalently,
A) {-11, 8, 5}
B) {-5, 0 5}
C) {-11, -8, -5}
D) {0, 3, 5}
2 graph
5 10 15
of a
-2
relation
-4
graph
of a
function
Determine if the
graph is a graph
of a function or
just a graph of a
relation.
graph
of a
relation
graph is a graph of a 14
function or just a 12
10
graph of a relation. 8
graph 2
A
15 10 5 5 10 15 20 25
of a 2
relation
4
1
graph
-6 -4 -2 2 4 6 of a
-1
relation
-2
-3
2 graph
-10 -5 5 10
of a
-2 relation
-4
-6
3
graph
1
-3 -2 -1 1 2 3 4
of a
-1
-2 function
-3
-5
1 1
1
f (x) . f (x) y f (y) x
f (x)
10/5/2021 (c) Patrice Ndambomve 36
Steps for finding an inverse function.
3.Solve for y.
-1
4.Replace y with f (x).
10/5/2021 (c) Patrice Ndambomve 37
Consider f(x) = x2. Then y= x2.
Interchange x and y , x=y2
Make y the subject y i.e
x f 1(x) x
x y y x
0 0 0 0
1 1 1 1
2 4 4 2
3 9 9 3
f (x ) 7x 5
g (x ) 14 x 3
1
h (x )
8x 3
f -1(x) = x : {(1, 1), (4, 2), (9, 3), (16, 4), (25, 5)}
Example: Show, via the definition of inverse
functions that f (x) = x3 + 6 and g(x) = 3 x 6 are
inverses of each other.
3
f (g(x)) f ( x 6 )
3
x 6 6 x 6 6 x
3
g( f (x)) g(x 6) x 6 6 x x
3 3 3 3 3
x x x
2
1
f ( f (x)) f
2
1 1
f ( f (x)) f (x ) x x 2
STEPS COMPUTATIONS
x 5
4
y
y 2x 1 3
Replace f (x) with y
Solve for y x 1 2y 3
x 1
y3
2
y 3 x 21
Replace y with f -1(x) 1 x 1
f (x) 3
Find the inverse of f (x) x 1, x 1
STEPS COMPUTATIONS
y
y x 1
Replace f (x) with
x 2 y 1
y x 2 1
1
Replace y with f -1(x) f (x) x 2 1
10/5/2021 (c) Patrice Ndambomve x 0 52
Find the inverse of….
2x 3
f ( x) ,x 1
5x 1 5
(a)
X 5 7 9 2 6
(c)
y 1 6 2 8 4
Find:
(a) (b) f(f-1(x)) (c) f-1(f(x)) (d) g-1(x)
x2 + 1 , x 0
f(x) = x–1, x0
2x + 1, x 0
f(x) = 2x + 2, x 0
3x - 2, x -2
f(x) = -x , -2 x 1
x2 – 7x, x 1
Evaluate the following:
f(-2) = 2? f(3) = -12
?
f(-4) = -14
? f(1) = -6?
1) x 10 4) x 5
Ans x = ? or -? “no solution”
2) x 4 5) x 14
x = ? or - ? x = ? or - ?
3
3) x 0 6) t
4
x=0 3
t=? or - 4
10/5/2021 (c) Patrice Ndambomve 69
y =|x|
x y
0 0
0.5 0
0.75 0
1 1
1.5 1
2
10/5/2021
2 (c) Patrice Ndambomve 72
Greatest Integer Function:
y x
y x
x
f(g(x))
f g(x)
g
For example:
If f(x)=sin(x), g(x)=2x+4 then
f(g(x))=f(2x+4)=sin(2x+4)
10/5/2021 (c) Patrice Ndambomve 77
The Composition of Functions
The composition of the function f with g is
denoted by f o g and is defined by the equation
(f o g)(x) = f (g(x)).
f g
x
g
g(x)
domain of g
f range of f
range of g f(g(x))
domain of f
x f g x
f
g Machine
x
gFunction
Function
Machine
f g x f g x f x 2 x 2 x 3 6 x 2 8 x 8
3
k h x k h x k 2 2x 4 2 2x 2
2
2x 4 2x 4
The result of
Replace the
the function h
variable x in
becomes the
k(x) with 2x 4
input to k
Simplify
h k x h k x h x2 2 2 x2 2 4 2x2 4 4 2x2 2 x
Notice, the result here is not the same as the previous result. This is
usually the case with composite functions. Changing the order of the
composition (changing which function is the “inner” function and which is
the “outer” function) usually changes the result.
f g x f 3x 5
1
3x 5
g f x
1 1
g f x g 3 5 5
3
x x x
f x and g x so that h x f g x
h x 5 4x
2
g x 5 4x
f x x2
h x 3 1 x2
g x 1 x2
f x 3 x
2
h x
9x 3
g x 9x 3
2
10/5/2021 f x (c) Patrice Ndambomve 90
x
Assignment 2. To be submitted in the next class
1 Given the functions
Find:
(a) (b) (c) (d)
(e) (f)
2 Identify the inner and the outer functions for these functions:
3 Let f , g , h : R R be defined by f ( x) = x 2 , g ( x) x 5, h( x) x 2 3
Find (a) g f ( x) (b) f g ( x) (c) h g f ( x)(d )f(-2)
(e) f(3x) (f) f(g(1) (g) f(g(4) ) (h) g(f(4) )
10/5/2021 (c) Patrice Ndambomve 91
10/5/2021 (c) Patrice Ndambomve 92
10/5/2021 (c) Patrice Ndambomve 93
7. Given the function
x3 + 1, x 2
f(x) = 2x -5, x 2
a 5 b 5
4 4
. 3 . 3
2
1 1
-5 -4 -3 -2 -1 1 2 3 4 5 -5 -4 -3 -2 -1 1 2 3 4 5
-1 -1
-2 -2
-3 -3
-4 -4
-5 -5
Solutio
a
n. The function is decreasing on the interval (-∞, 0), increasing on the
interval (0, 2), and decreasing on the interval (2, ∞).
-5 -4 -3 -2 -1 1 2 3 4 5 -5 -4 -3 -2 -1 1 2 3 4 5
-1 -1
-2 -2
-3 -3
-4 -4
-5 -5
Solution:
b.
• Although the function's equations are not given, the graph indicates
that the function is defined in two pieces.
• The part of the graph to the left of the y-axis shows that the
function is constant on the interval (-∞, 0).
• The part to the right of the y-axis shows that the function is
10/5/2021
increasing on the interval [0,∞).
(c) Patrice Ndambomve 100
Example 8b.
Describe the
increasing,
decreasing, or
constant behavior of
each function whose
graph is shown.
Describe the
increasing,
decreasing, or
constant behavior of
each function whose
graph is shown.
Describe the
increasing,
decreasing, or
constant behavior of
each function whose
graph is shown.
Increasing on (-∞,∞)
e.g y=x+1
Y=-2x+1
Domain =0,
Range =0,
Range = 0,
A logarithm is an exponent!
Exponential function: y = ax
y = log216 16 = 2y 16 = 24 y = 4
y = log2( )1 = 2y
1 1
= 2-1 y = –1
2 2 2
y = log416 16 = 4y 16 = 42 y = 2
y = log51 1=5y 1 = 50 y = 0
Simplify: log3 35
log3 35 = 5 property 3
Simplify: 7log79
7log79 = 9 property 3
Since the logarithm function is the inverse of the exponential function of the
same base, its graph is the reflection of the exponential function in the line y = x.
y y = 2x
x 2x y=x
–2 1 horizontal y = log2 x
4 asymptote y = 0
–1 1 x-intercept
2 x
0 1 (1, 0)
1 2
vertical asymptote
2 4 x=0
3 8
(c) Patrice Ndambomve
10/5/2021 133
Example: Graph the common logarithm function f(x) = log10 x.
x 1 1 1 2 4 10
100 10
f(x) = log10 x –2 –1 0 0.301 0.602 1
y by calculator
f(x) = log10 x
x
5
(0, 1) x-intercept
x=0
vertical
asymptote –5
y-axis y
Graph of f (x) = loga x (a 1) y = ax y=x
vertical
1. domain (0, ) asymptote
y = log2 x
2. range (,)
3. x-intercept (1, 0)
4. vertical asymptote domain
x
x 0 as x 0 f ( x) x-intercept
5. increasing (1, 0)
6. continuous
7. one-to-one range
8. reflection of y = a x in y = x
y = ln x is equivalent to e y = x
For example:
Example 6
3x – 4, x ≠ 0
If f(x) = then lim f(x) = –4.
10, x ≠ 0, x→0
It does not matter that f(0) = 10. For x ≠ 0, and thus for all x near 0,
f(x) = 3x – 4 and therefore lim f(x) = lim (3x – 4) = –4.
x→0 x→0
x 9 1 1
lim 6
x 9
lim
x 9 ( x 9)( x 3)
x 3
4 x2 (2 x)(2 x)
b) lim 2 = lim
x 2 2 x x 3
x 2 x 2 (2 x)
2 x
= lim
x
x 2 2
2 (2) 4
1
10/5/2021
(2) 2
4
(c) Patrice Ndambomve 149
3x if x 2
c) Find lim f ( x) where f ( x)
x 2
1 if x 2
lim f ( x) = lim 3 x
x 2 x 2
3 lim x
x 2
is not involved
4( x 2 4) Answer : 16
a. lim
x 2
x 2
x3 2 x 4 5
lim .
x 3 x 1
2
2
a
10/5/2021 (c) Patrice Ndambomve 154
The left-hand limit of f (x), as x approaches
a, equals M
written: lim f ( x) M
x a
M
a
10/5/2021 (c) Patrice Ndambomve 155
Examples
Examples of One-Sided Limit
x 2 if x 3
1. Given f ( x)
2x if x 3
Find lim f ( x)
x 3
lim f ( x) lim 2 x 6
x 3 x 3
Find lim f ( x)
x 3
lim f ( x) lim x 2 9
x 3 x 3
In this
case lim f x 5
x 2
a) lim f ( x) lim ( x 1)
x 0 x 0
0 1 1
b) lim f ( x) lim ( x 1) 0 1 1
x 0 x 0
c) lim f ( x) lim(
x 1
x 1) 11 2
x 1
But
lim f ( x) 2 because lim f ( x) 2 and lim f ( x) 2.
x 1 x 1 x 1
10/5/2021 (c) Patrice Ndambomve 159
Limit Theorems
If c is any number, lim f ( x) L and lim g ( x) M , then
x a x a
a) lim f ( x) g ( x) L M b) lim f ( x) g ( x) L M
x a x a
c) lim f ( x) g ( x) L M
xa
d)
x a
lim f ( x)
g ( x) L , ( M 0)
M
e) lim c f ( x) c L f) lim f ( x) Ln
n
x a
x a
g) lim c c h) lim x a
xa xa
i) lim x n a n j) lim f ( x) L , ( L 0)
x a x a
10/5/2021 (c) Patrice Ndambomve 160
Examples Using Limit Rule
Ex. lim x 1 lim x lim1
2
x 3
2
x 3
x 3
lim1
2
lim x
x 3 x 3
32 1 10
2 1 1
35 8
10/5/2021 (c) Patrice Ndambomve 161
Limits -Computing limits (a b)(a b) a 2 b2
Rationalizing denominators
lim
x
lim
x 1 x 1 x
x 0
1 x 1 x x 0
1 x 1 x 1 x 1 x
lim
x
1 x 1 x
lim
x 1 x 1 x
1 x 1 x 1 x 1 x
x 0 2 2 x 0
lim
x 1 x 1 x lim
1 x 1 x 1
x 0 2x x 0 2
10/5/2021 (c) Patrice Ndambomve 162
Definition of Limit
a) lim f ( x) g ( x) lim
x 3
f ( x) lim g ( x)
x 3
x 3
4 (2) 2
4 (2) 6
2 f ( x) g ( x) lim 2 f ( x) lim g ( x) 2 4 (2) 5
c) lim x 3 x 3
x 3
f ( x) g ( x)
10/5/2021 lim f ( x) lim g ( x)
(c) Patrice Ndambomve 4 (2) 164 4
x 3 x 3
Limits at Infinity
1 1
For all n > 0, lim n lim n 0
x x x x
1
provided that n is defined.
x
3x 5 x 1
2 3 5 1
lim
x x 2 Divide
Ex. xlim 2
2 4x 2 x 2 4 by x
x2
lim 3 lim 5
x x
x lim 1 x 3 0 0 3
x
2
lim 2
x
x 2 lim 4
x
04 4
3 2
2 x x3
lim
x 1 100 1
1 2 3
x x x
2
2
1
10/5/2021 (c) Patrice Ndambomve 166
4 x 5 x 21
2 x2 2x 4
2. lim 3 3. lim
x 7 x 5 x 2 10 x 1
x
12 x 31
x2 2x 4
4 x 2 5 x 21
3 3
3 lim x x x
lim 3 x x x
2
x
12 x 31
x 7 x
5 x 10 x 1 x x
3 3 3 3
x x x x
4 5 21 4
x2 x
x x 2 x3
lim lim
31
x 5 10 1
7 2 3 x
x x x 12
0 x
2
7
12
0
10/5/2021 (c) Patrice Ndambomve
167
4. lim
x
x 1 x
2
lim
x2 1 x x 1 x
2
x
1 x2 1 x
x2 1 x2
lim
x
x 1 x
2
1
lim
x
x 1 x
2
1 1
0
10/5/2021 (c) Patrice Ndambomve 168
Infinite Limits
20
10
1 5
lim
x a x a n -8 -6 -4 -2 2
-5
-10
-15
-20
40
30
1
lim if n is even 20
x a
n
x a 10
-2 2 4 6
-10
-20
20
1
lim if n is odd 15
x a
n
x a 10
-8 -6 -4 -2 2
-5
10/5/2021 (c) Patrice Ndambomve 169
More Graphs -10
-15
amples
Find the limits
3x 2 2 x 1 3 2 1 2 3
1. lim = lim
x x
x 0
2 x 0
2
2x
2
2x 1
2. lim = lim
2x 1
x 3 2 x 6 x 3 2( x 3)
40
20
-8 -6 -4 -2 2
-20
1 – x2, x < 1
Set f(x) =
1/(x – 1), x> 1.
Example 4
For each real number c
Example 5
For each constant k
2 x 1, x 0
f x 2
x x, x 0
lim f x does not exist.
x 0
Proof
The left- and right-hand limits at 0 are as follows:
lim f x lim 2 x 1 1, lim f x lim x 2 x 0
x 0 x 0 x 0 x 0
Proof
The left- and right-hand limits at 1 are as follows:
Examples
lim (5x2 – 12x + 2) = 5(1)2 – 12(1) + 2 = –5,
x→1
lim (14x5 – 7x2 + 2x + 8) = 14(0)5 – 7(0)2 + 2(0) + 8 = 8
x→0
Examples
1 1 1 1 1 1
lim = 16, lim = , lim =
=
x→4
. x 2 x→2 x3 – 1 7 x→–3 x –3 3
Examples
3x 5 6 5 1
lim
x 2 x 2 1 4 1 5
x3 3x 2 27 27
lim 0
x 3 1 x 2 1 9
Examples
From Theorem 2.3.10 you can see
that x2 3x 7 5
lim lim lim
x 1 x 1 x 2 x2 4 x 0 x
x2 – x – 6 (x2 – 3x – x+1
(a) lim , (b) lim 4)2 , (c)
lim x→3 x–3 . x→4 x → –1 (2x2 + 7x + 5)2
x–4
1. f ( x) x 2 2. g ( x)
x3
Continuous
everywhere Continuous everywhere
lim( x 2) a 2
x a
except atx 3
6 2
4 -6 -4 -2 2 4
-2
2
-4
-6
-4 -2 2 4
-2 -8
3
4
3 2
2
1
-10 -5 5 10
-2 2 4
-1
-1
-2
-2
-3 -3
f g , fg , and f
g g (a) 0 are continuous
at x a
A rational function R( x) p( x) q( x) is
continuous at every point x in its domain.
10/5/2021 (c) Patrice Ndambomve 198
Continuity
Continuity at a Point
The basic idea is as follows: We are given a function f and a number c.
lim f x
We calculate (if we can) both and f (c). If these two numbers
x c
are equal, we say that f is continuous at c. Here is the definition formally
stated.
change the value of f at a billion points in any way you like. The
Continuity
The functions shown have essential discontinuities at c.
is continuous at all real numbers other than 2 and 3. You can see this by
noting that
F = 3 f + g/h + k
where
f ( x) x x2 + 1 .
and g(x) =
x–3
1
f ( x) , g ( x ) 5 x, k ( x) x , h( x) x 2 16.
x
and observe that each of these functions is being evaluated only where it is
continuous. In particular, g and h are continuous everywhere, f is being
evaluated only at nonzero numbers, and k is being evaluated only at positive
numbers. .
Example 5
Determine the discontinuities, if any, of the following
function:
x3 , x ≦ –1
x2 – 2, –1 < x < 1
6 – x, 1≦x<4
f(x) = 6 , 4<x<7
7–x
5x + 2, x ≧ 7.
2( 3 h) 2 18 2x
(c ) lim ( d ) lim
h 0 h x 3 x 3
x2 9 x3 – 8
lim x 3 x 8
3
x2 3
(c ) lim ( )
x x 3
4x 2
1
2
( d ) lim ( 3
)
x x
DERIVATIVES
GRADIENT OF A CURVE
DIFFERENTIATION FROM THE FIRST PRINCIPLE.
BASIC RULES FOR DIFFERENTIATION
The Gradient of a Straight Line
y 2 y1
m
x 2 x1
( 3, 7 ) difference in the y-
x
values
7-1=6
( 1, 1 ) 3-1=2
x
difference in the x-
values
10/5/2021 (c) Patrice Ndambomve 216
The gradient of a straight line is given by
y x2
12
(2, x
4
) 3
Tangent at (2, 4)
e.g.
y x2
m 6
m 4
m 2
m0
m2
m4
m6
y x3
dy
y
dx
1 0
x 1
x2 2x
x 3
3x 2
x4 4x 3
x 5
5x 4
y x3
e.g.1 Find the gradient of the curve at the point (2, 12).
Solution: y x3
dy
3x 2
dx
dy
At x = 2, the gradient m 3( 2) 2
dx
12
y x3
tangent at
gradient x=1
=3
10/5/2021 (c) Patrice Ndambomve 235
e.g. Multiplying y x 3 by 2 multiplies the gradient by 2
y 2x 3
tangent at
gradient y x x=3 1
=6
tangent at
gradient x=1
=3
10/5/2021 (c) Patrice Ndambomve 236
Multiplying x n by a constant, multiplies
the gradient by that constant
e.g. dy
y 2x 3 2 3x2
dx
6x 2
1 3
e.g. y x 5x2 7x 3
2
dy 1
3x2 5 2x 7
dx 2
3 2
x 10 x 7
2
dy
y ax n is anx n1
dx
• “power to the front and multiply”
• “subtract 1 from the power”
10/5/2021 (c) Patrice Ndambomve 240
Differentiation from the First Principle
Let us look at this optimization problems in business
and economics.
Recall that if C(x), the cost function, is the cost of
producing x units of a certain product, then the
marginal cost C’ at the point x0 is the rate of
change of C with respect to x at the point.
x) C ( xo ) C ( x) C ( xo )
More formally,C ' ( x ) Lim C ( x 0
Lim
x x x0
0
x 0 x x0
Formally, 0
x 0 x xxx x0 0
and
P( x0 x) P( xo ) P( x) P( xo )
P' ( x0 ) Lim Lim
x 0 x x x0 x x0
10/5/2021 (c) Patrice Ndambomve 243
These examples above and other examples
lead us to study these kind of limits of
functions.
Hence, for any given function f(x), if that limit
exists at a point x, we will call it f’(x).
f ( x x) f ( x)
Therefore f ' ( x ) Limx 0 x
d
dx
c 0
d n
dx
x nx n 1
'
f gf ' fg '
fg ' fg ' gf ' 2
10/5/2021
g g
(c) Patrice Ndambomve 245
CONSTANT FUNCTION
Let’s start with the simplest,—the
constant function f(x) = c.
So, d ( x) 1
dx
You can also verify
Equation 1 from the
definition of a derivative.
10/5/2021 (c) Patrice Ndambomve 247
POWER FUNCTIONS
Example: For n = 4, we find the derivative of
f(x) = x4 as follows:
f ( x h) f ( x ) ( x h) x
4 4
f '( x) lim lim
h 0 h h 0 h
x 4 4 x3 h 6 x 2 h 2 4 xh3 h 4 x 4
lim
h 0 h
4 x3 h 6 x 2 h 2 4 xh3 h 4
lim
h 0 h
lim 4 x 6 x h 4 xh h 4 x
3 2 2 3 3
10/5/2021
h 0 (c) Patrice Ndambomve 248
POWER RULE
If n is a positive integer,
then
d n n 1
( x ) nx
dx
f ( x) f (a) xn an
f '(a ) lim lim
xa xa x a x a
lim( x n 1 x n 2 a xa n 2 a n 1 )
xa
a n 1 a n 2 a aa n 2 a n 1
n 1
na
10/5/2021 (c) Patrice Ndambomve 251
POWER RULE Proof 2
f ( x h) f ( x ) ( x h) x n n
f '( x) lim lim
h 0 h h 0 h
n n 1 n(n 1) n 2 2 n 1 n
x nx h x h nxh h x n
2
f '( x) lim
h 0 h
n 1 n(n 1) n 2 2
nx h x h nxh n 1 h n
lim 2
h 0 h
n 1 n(n 1) n 2 n 1
lim nx x h nxh h nx n 1
n2
h 0
2
dr
NEW DERIVATIVES FROM OLD
When new functions are formed from old functions
by addition, subtraction, or multiplication by a
constant, their derivatives can be calculated in terms
of derivatives of
the old functions.
d d
cf ( x) c f ( x)
dx dx
d d 4
a. (3x ) 3 ( x )
4
dx dx
3(4 x ) 12 x
3 3
d d
b. ( x) (1) x
dx dx
d
(1) ( x) 1(1) 1
dx
10/5/2021 (c) Patrice Ndambomve 258
NEW DERIVATIVES FROM OLD
d d d
f ( x) g ( x) f ( x) g ( x)
dx dx dx
lim
f ( x h) g ( x h) f ( x ) g ( x )
h 0 h
f ( x h) f ( x ) g ( x h) g ( x )
lim
h 0
h h
f ( x h) f ( x ) g ( x h) g ( x )
lim lim (Law 1)
h 0 h h 0 h
f '( x) g '( x)
d d d
f ( x) g ( x) f ( x) g ( x)
dx dx dx
d 8
( x 12 x5 4 x 4 10 x3 6 x 5)
dx
x 12 x 4 x
d 8 d 5 d 4
dx dx dx
10 x 6 x 5
d 3 d d
dx dx dx
8 x 12 5 x 4 4 x 10 3 x 6 1 0
7 4 3 2
8 x 60 x 16 x 30 x 6
7 4 3 2
dy d 4 d 2 d
We have: ( x ) 6 ( x ) (4)
dx dx dx dx
4 x 12 x 0 4 x( x 3)
3 2
ds
v(t ) 6t 10t 3
2
dt
dv
a(t ) 12t 10
dt
The acceleration after 2s is:
a(2) = 14 cm/s2
d d d
f ( x) g ( x) f ( x) g ( x) g ( x) f ( x)
dx dx dx
Then,
F ( x h) F ( x )
F '( x) lim
h 0 h
f ( x h) g ( x h) f ( x ) g ( x )
lim
h 0 h
10/5/2021 (c) Patrice Ndambomve 276
THE PRODUCT RULE Proof
g ( x h) g ( x ) f ( x h) f ( x )
lim f ( x h) g ( x)
h 0
h h
g ( x h) g ( x ) f ( x h) f ( x )
lim f ( x h) lim lim g ( x) lim
h 0 h 0 h h 0 h 0 h
f ( x) g '( x) g ( x) f '( x)
10/5/2021 (c) Patrice Ndambomve 278
THE PRODUCT RULE Proof
Note that lim g ( x) g ( x) because g(x) is
h 0
a constant with respect to the variable h.
d 4 d
F '( x) (6 x ) (7 x ) (7 x ) (6 x 3 )
3 4
dx dx
(6 x3 )(28 x3 ) (7 x 4 )(18 x 2 )
168 x 126 x
6 6
294 x 6
10/5/2021 (c) Patrice Ndambomve 280
THE PRODUCT RULE
Notice that we could verify the answer
to Example 6 directly by first multiplying
the factors:
x ex
(a) y (b) y
sin x 1 x
1 x2 sin x
(c) y 2
(d) y
x cos x
(c) can be divided out to form a simple function as there is a single polynomial
term in the denominator.
1 x2 1 x2
y 2
y 2
x x x2
2 dy 3
y x 1 2 x
dx
For the others we use the quotient rule.
10/5/2021 (c) Patrice Ndambomve 284
The quotient rule gives us a way of differentiating functions which are
divided.
du dv
v u
u dy
y dx 2 dx
v dx v
where u and v are functions of x.
This rule can be derived from the product rule but it is complicated. If
you want to go straight to the examples, click on the box below.
Examples
u 1 1
y yu yuv
v v
The problem now is that this v is not the same as the v of the
product rule. That v is replaced by . v 1
1
dy
So, v
du dv becomes dy 1 du d ( v )
u v u
dx dx dx dx dx dx
1
Simplifying dy 1 du d ( v )
u
dx v dx dx
1
Part of the 2nd term,
d ( v,
) is the derivative of1
v
dx
but with respect to x not v.
10/5/2021 (c) Patrice Ndambomve 286
1
d ( v ) d (v 1 ) dv
We use the chain rule:
dx dv dx
1
So, d ( v ) 1 dv
2
dx v dx
1
dy 1 du d ( v ) dy 1 du u dv
Then, u 2
dx v dx dx dx v dx v dx
Make the denominators the same by multiplying the numerator and
denominator of the 1st term by v.
dy v du u dv
2 2 du dv
dx v dx v dx v u
dy
Write with a common denominator: dx 2 dx
dx v
10/5/2021 (c) Patrice Ndambomve 287
2
e.g. 1 Differentiate y
x to find . dy
x 1 dx
u
Solution: y u x2 and v x 1
v dv
du 1
2x
dx dx
du dv
v u
u dy
y dx 2 dx
v dx v
dy 2 x ( x 1) x 2
dx ( x 1) 2
We now need to simplify.
10/5/2021 (c) Patrice Ndambomve 288
dy 2 x ( x 1) x 2
dx ( x 1) 2
We could simplify the numerator by taking out the common factor x,
but it’s easier to multiply out the brackets. We don’t touch the
denominator.
dy 2x2 2x x2
Multiplying out numerator:
dx ( x 1) 2
dy x2 2x
Now collect like terms:
dx ( x 1) 2
dy x ( x 2)
and factorise:
dx ( x 1) 2
We leave the brackets in the denominator as the factorised form is
simpler.
10/5/2021 (c) Patrice Ndambomve 289
Quotients can always be turned into products.
e.g. ex
2 can be written as e x (1 x 2 ) 1
1 x
However, differentiation is usually more awkward if we do this.
To differentiate a quotient:
x3 cos x
1. y x
2. y
e x4
x2 2 x
3. y 4. y
2 x x 2
dy x 2 e x ( 3 x ) dy x 2 ( 3 x )
10/5/2021
dx e x
2
dx e x
(c) Patrice Ndambomve 293
cos x
2. y
x4 du dv
v u
u dy
Solution: y dx 2 dx
v dx v
u
y u cos x and v x 4
v dv
du 3
sin x 4x
dx dx
dy x 4 sin x 4 x 3 cos x
dx x
4 2
2 x 2 1x
y 2
y 2
x x x2
y 2 x 2 x 1
dy 3 2
4 x x
dx
4 1
3 2
x x
dy 1
cos x sin x 1
2 2
dx cos 2 x
Also,
1
is defined as sec x
cos x
dy
So, y tan x sec 2 x
dx
Use the quotient rule ( or, for (a) and (b), the chain rule ) to find the
derivatives with respect to x of
(a) y cosec x (b) y sec x (c) y cot x
Before you check the solutions, look in your formula books to see the
forms used for the answers. Try to get your answers into these forms.
Let
x x2
2
y
x 6
3
x 3
6 2 x 1 x 2
x 2
3 x 2
x 6
3 2
2x 4
x 12 x 6 3 x 3 x 6 x
3 4 3 2
x 6
3 2
x 4 2 x 3 6 x 2 12 x 6
x 6
3 2
10/5/2021 (c) Patrice Ndambomve 304
NOTE
For instance:
If n is a positive integer,
then
d n n 1
( x ) nx
dx
d d n
x (1) 1 ( x )
n
d n d 1 dx dx
(x ) n
dx dx x n 2
(x )
n 1
x 0 1 nx
n
2n
x
n 1
nx n 1 2 n
2 n nx
x
n 1
nx
10/5/2021 (c) Patrice Ndambomve 309
GENERAL POWER FUNCTIONS
a. If y = 1/x, then
dy d 1 2 1
(x ) x 2
dx dx x
b. d 6 d 3 4
3 6 (t ) 6( 3)t
dt t dt
18
4
10/5/2021
t
(c) Patrice Ndambomve 310
POWER RULE
d 1 2 1 1 2
This can be written as: x 2x
dx
10/5/2021 (c) Patrice Ndambomve 312
FRACTIONS
1
b. Let y
3 2
x
dy d 2 / 3
Then (x )
dx dx
2 (2 / 3) 1
3x
5/ 3
x 2
3
10/5/2021 (c) Patrice Ndambomve 315
PRODUCT RULE Example 11
f (t ) t (a bt )
f '(t ) t
d
dt
(a bt ) (a bt )
d
dt
t
1 1 2
t b (a bt ) 2 t
(a bt ) (a 3bt )
b t
2 t 2 t
f (t ) a t bt t at 12
bt 32
1 2
f '(t ) at
1
2 bt 3
2
12
x2
Parametric and Implicit
Differentiation, Rates of
Change.
If x, y is a point and this point depends ontime t ,
then both, x and y are a function of t.
let x t 2 and y 2t , at time t 3
x 3 9
2
y 2 3 6
the coordinates of the point at t 3 are 9, 6
An equation for x and y in terms of t is known as
a parametric equation, with t being the parameter
x t2 y 2t
dx dy
2t 2
dt dt
dy
dy dt 2 1
dx dx 2t t
10/5/2021
dt (c) Patrice Ndambomve 322
A curve is defined by the parametric equations
1 1
xt 2 ,
2
y t 2 t 0
2
t t
dy
Find an expression for in terms of t , simplify your answer
dx
1 dx 2
x t 2 2 t 2 t 2 2t 2t 3 2t 3
t dt t
1 2 dy 3 2
y t 2 t t
2 2
2t 2t 2t 3
t dt t
dy 2
2t 3 t 4 1
dy dt t
dx dx 2t 2 t 1
4
10/5/2021
dt t3 (c) Patrice Ndambomve 323
A curve is defined by the parametric equations
x sin , y 1 cos 0 2
dy
Find an expression for in terms of
dx
dx
x sin 1 cos
d
dy
y 1 cos sin
d
dy
dy d sin
dx dx 1 cos
d
10/5/2021 (c) Patrice Ndambomve 324
A curve is defined by the parametric equations
t 1 t
x , y t 0
1 t 1 t
dy
Find an expression for in terms of t , simplify your answer
dx
t dx 1 t t 1 1
x
1 t 1 t 1 t
2 2
dt
1 t dy 11 t 1 t 1 1 t 1 t 2
y
1 t 1 t 1 t 1 t
2 2 2
dt
dy 2
2 2 2
1 t
2
dy dt 1 t 2 1 t 1 t
2 2
1 (c)t Patrice 1 t 325
2 2
dx dx 1 1 1 t
dt 1 t 2
10/5/2021 Ndambomve
d 2 y d dy
dx 2
dx dx
d dy d dy dt
dx dx dt dx dx dt 1
note:
dx dx
dt
10/5/2021 (c) Patrice Ndambomve 326
d y d dy dt
2
dx 2
dt dx dx
when t 2 y 2 2 10
3
tangent at 5,10
at t 2,
dy 3 2 1 13
2
dx 2 2 4
13
mtangent
4
y b m x a
13
y 10 x 5
4
4 y 40 13 x 65
13x 4 y 25 0
10/5/2021 (c) Patrice Ndambomve 330
Stationary Points
A curve is defined by the parametric equations
x t y t 3 3t
Find the coordinate and nature of the stationary points on the curve.
xt y t 3 3t
dx dy
1 3t 2 3
dt dt
dy y ' 3t 2 3
3t 2 3
dx x ' 1
dy y ' 3t 2 3
3t 2 3
dx x ' 1
dy
0 3t 2 3 0
dx
t 2 1 0
10/5/2021 t 1 (c) Patrice Ndambomve 331
t 1 t 1
x 1 1 x 1 1
y 1 3 1 2 y 1 3 1 2
3 3
SP at 1, 2 SP at 1, 2
dy
3t 2 3
dx
d2y d
3t 3 6t 1 6t
2 dt
2
dx dt dx
d2y
2
at t 1 6 1 0 1, 2 min
dx
d2y
2
at t 1 6 -1 0 1, 2 max
dx
10/5/2021 (c) Patrice Ndambomve 332
Implicit differentiation
When the equation of a curve is given in the form y = f(x) then the variable y is said
to be given explicitly in terms of the variable x.
For example:
e x +1
y = 2 x3 +1, y = 2sin x , and y= x are explicit functions.
e 1
When neither x nor y is given explicitly in terms of the other then the curve is said to
be defined implicitly.
For example:
2 3 and 1 1 are implicit functions
y + x = 5 , x sin y = 1, 2
+ 2 = xy
x y
It is not always easy, or even possible, to rearrange an implicit function into an
explicit form.
d 2 d 3 d
( y ) + ( x ) = (5)
dx dx dx
where d is taken as an operator meaning ‘differentiate with respect to x’.
dx
d 2 d dy dy
( y ) = ( y 2 )× = 2y
dx dy dx dx
This would normally be done in a single step so:
d 2 d 3 d
( y ) + ( x ) = (5)
dx dx dx
dy
becomes 2 y + 3 x2 = 0
dx
We can now divide through by 2y and rearrange to find :
dy
dx
dy 3 x2
=
10/5/2021
dx 2y
(c) Patrice Ndambomve 335
Implicit differentiation
Differentiate x3 2 y 2 + 7 y with
5 xrespect
= 8 to x.
dydx dy
3x2 4y +=72(3t+52)(6)
=0
dxdt dx
Now rearrange to collect the terms in together: dy
dx
dy dy
7 4y = 5 3 x2
dx dx
dy
(7 4 y ) = 5 3 x 2
dx
dy 5 3 x 2
=
10/5/2021 dx 7 4 y
(c) Patrice Ndambomve 336
Implicit differentiation
In some cases, we might also need to use the product rule. For example:
Differentiate x 2 y = sinwith
x +respect
3 y to x.
Differentiating term by term with respect to x:
d 2 d d
x y = sin x + 3 y
dx dx dx
The first term is treated as a product to give:
d d dy
x2 y + y x 2 = cos x + 3
dx dx dx
d dv du
Using (uv ) = u + v
dx dx dx
2dy dy
+ 2Ndambomve
x (c) Patrice xy = cos x + 3
10/5/2021
dx dx 337
Implicit differentiation
Rearrange to collect the terms in together:dy
dx
dy dy
x2
3 = cos x 2 xy
dx dx
dy 2
( x 3) = cos x 2 xy
dx
dy cos x 2 xy
=
dx x2 3
Once we have differentiated a curve that has been defined implicitly, we can find t
equation of the tangent or the normal to the curve at a given point.
dy 1 4
=
dx 2 2
5 5
= =
4 4
The gradient of the tangent at (2, –1) is therefore . 5
4
4 y + 4 = 5( x 2)
10/5/2021
4 y 5 x +14 =0
(c) Patrice Ndambomve 340
Implicit differentiation
Find the equation of the normal to the curve 2x2 – (y + 3)2 = 1 at the point (5, 4).
dy
4 x 2( y + 3) = 0
dx
dy
2( y + 3) = 4 x
dx
dy
( y + 3) = 2x
dx
dy 2x
=
dx y + 3
10/5/2021 (c) Patrice Ndambomve 341
Implicit differentiation
We need the gradient at the point (5, 4):
dy 2(5)
=
dx 4 + 3
10
=
7
The gradient of the normal at (5, 4) is therefore . 77
10 10
10 y 40 = 7 x 35
10/5/2021
10 y 7 x (c)5Patrice
=0 Ndambomve 342
Find the equations of the lines tangent and normal to the curve
at .
x2 xy y 2 7 (1, 2)
We need the slope. Since we can’t solve for y, we use implicit differentiation to
solve for . dy
dx
x2 xy y 2 7 Note product rule. dy y 2 x
dy dy dx 2 y x
2x x y 2 y 0
dx dx
dy
2x x y 2 y
dy
0 2 2 1 2 2 4
m
dx dx 2 2 1 4 1 5
dy
2 y x y 2x
10/5/2021 (c) Patrice Ndambomve 343
dx
Find the equations of the lines tangent and normal to the curve
at .
x2 xy y 2 7 (1, 2)
4
m tangent: normal:
5
4
y 2 x 1
5
y 2 x 1
5 4
4 4 5 5
y2 x y2 x
5 5 4 4
4 14 5 3
y x y x
5 5 4 4
10/5/2021 (c) Patrice Ndambomve 344
Parametric differentiation
Suppose we want to find dy that has been defined parametrically.
for a curve
dx
For example: x = 2t + 5 y = 3t 2
We can differentiate both of these equations with respect to the parameter t to give:
dx dy
=2 and = 6t
dt dt
dy can be found using the chain rule:
dx
dy dy dt dy dx
= × =
dx dt dx dt dt
6t
=
2
10/5/2021 (c) Patrice Ndambomve 345
= 3t
Parametric differentiation
In general, then, to differentiate a pair of parametric equations we can use the chain
rule in the form:
dy dy dx
=
dx dt dt
dy
Find , in terms of t, for the curve defined by the parametric
dx
equations x = cos 2t and y = sin t.
dx
= 2sin2t
dt
dy
= cos t
10/5/2021
dt (c) Patrice Ndambomve 346
Parametric differentiation
dy dy dx
=
dx dt dt
cos t
=
2sin2t
This can be simplified further using the double angle formula for sin 2t:
dy cos t
=
dx 2(2sin t cos t )
1
= = 41cosec t
4 sint
t2
= 1
3t + 2
t 2 = 3t 2
t 2 + 3t + 2 = 0
(t +1)(t + 2) = 0
So the gradient of the curve is –1 when t = –1 and when t = –2.
y = ax
where a is a constant.
ln y = ln( a x )
ln y = x ln a
Now differentiating with respect to x gives:
1 dy
= ln a
y dx
dy
= y ln a
10/5/2021 dx (c) Patrice Ndambomve 350
Differentiating exponential functions
Since y = ax we can substitute ax for y. So in general:
x dy
If y = a then = a x ln a
dx
For example:
d x
(3 ) = 3 x ln3 1.0986(3 x )
dx
d x
(8 ) = 8 x ln8 2.0794(8 x )
dx
d 1 x
dx
( 6 ) = ( 61 ) x ln 61 1.7918 ( 61 )x
10/5/2021 (c) Patrice Ndambomve 351
Exponential growth
Exponential growth occurs when a quantity increases at a rate that is proportional
to its size.
In other words, when a quantity grows exponentially, the larger it becomes, the
quicker it grows.
population growth.
For example, a bacteria colony starts with 100 bacteria and doubles every minute.
N = 100 × 2t
N = b2t
We can write the number 2 in terms of e as eln 2, and so the formula becomes
10/5/2021 N = bet ln 2 or
(c) Patrice Ndambomve N = be 0.693t 353
Exponential growth
In general, exponential growth can be modelled by the function
f(t) = Aekt
where t is time,
A is the original quantity (the quantity when t = 0),
f(t) is the quantity after time t and
k is a positive constant (the growth rate)
0 t
10/5/2021 (c) Patrice Ndambomve 354
Exponential decay
Exponential decay occurs when a quantity decreases at a rate that is proportional
to its size.
In other words, when a quantity decays exponentially, the smaller it becomes, the
more slowly it decays.
the rate at which an object cools (when the external temperature is constant).
f(t) = Ae–kt
where t is time,
A is the original quantity (the quantity when t = 0),
f(t) is the quantity after time t, and
k is a positive constant (the decay rate).
A
y = Ae–kt
0 t
10/5/2021 (c) Patrice Ndambomve 356
Exponential decay
Forensic scientists can predict a recently murdered victim’s time of death from the
temperature of the body.
d = ae–kt
where d is the temperature difference (between the body and its surroundings), a
and k are constants and t is the time that has passed since the body started to cool.
For example,
A body is discovered at 8.30 pm. The body’s temperature is recorded as 30°C and
room temperature as 20°C. One hour later, the temperature of the body is 29°C.
Assuming that the room temperature remains constant throughout, estimate the
time of death.
d = 30 – 20 = 10
10 = ae–k(0) = ae0 = a
d = 29 – 20 = 9
Using d = ae–kt:
9 = ae–k(1) = ae–k
But a = 10 so,
9 = 10e–k
e–k = 0.9
ln (e–k ) = ln 0.9
–k = ln 0.9
k = 0.105
d = 10e–0.105t
If we assume that the murder victim had a normal body temperature of 36.9 °C
when she died and that the room temperature was 20°C, then at the time of death:
d = 36.9 – 20 = 16.9
16.9 = 10e–0.105t
Solving this equation for t will give the time since the victim died.
e–0.105t = 1.69
–0.105t = ln 1.69
t=
ln 1.69
0.105
t = –5.00 (to 3 s.f.)
dA dA dr
10/5/2021
= ×
(c) Patrice Ndambomve 361
dt dr dt
Rates of change
We can find
dA by differentiating the formula for the surface
dr
area of a sphere with respect to the radius.
dA
A = 4πr2 so = 8 r
dr
So, the rate of change of the surface area is connected to the rate of change of the
radius by
dA dr
= 8 r ×
dt dt
If the surface area of the balloon is increasing at a rate of 15 cm2 s–1, find the
rate at which the radius of the balloon is increasing at the moment when the
radius is 4 cm.
dA dr
Using = 8 r × we have:
dt dt
dr
15 = 32 ×
dt
dr 15
=
dt 32
= 0.149
So, the radius is increasing at a rate of 0.149 cm s–1 (to 3 s.f.) at the
moment when the radius of the balloon is 4 cm.
dV dV dr
= ×
dt dr dt
4 r3 dV
V= 3 = 4 r 2
dr
So
dV dr
= 4 r 2 ×
10/5/2021 dt (c) Patrice Ndambomve
dt 364
Connected rates of change
Here
dV
= –30 and r = 5:
dt
dr
30 = 100 ×
dt
dr 30 3
= =
dt 100 10
dA dA drwith r = 5:
We can now find using = 8 r ×
dt dt dt
dA 4 3
= 40 ×
dt 10
= –12
So, the surface area is decreasing at a rate of 12 cm2 s–1 at the moment when the
radius of the balloon is 5 cm.
Q x
O
a) Find the gradient of the curve at the point P where t = 1.
b) Find the equation of the normal at the point P.
c) The normal to the curve at the point P cuts the curve again at the point Q. Find
the coordinates of the point Q.
dy 2
when t = 1: = =1
dx 2
If the gradient of the normal is –1 and it passes through the point (2, 3) then its
equation is given by:
y 3 = ( x 2)
y+ x5=0
c) Substituting x = 2t2 and y = t2 + 2t into the equation for the normal gives:
t 2 + 2t + 2t 2 5 = 0
3t 2 + 2t 5 = 0
10/5/2021 (t 1)(3t + 5)(c)=Patrice
0 Ndambomve 368
Examination-style question 1
The normal therefore cuts the curve when t = 1 and when t = . 5
3
When t = : 5 x = 2( 35 )2
3
= 5 59
y = ( 35 )2 + 2( 35 )
= 59
The coordinates of the point Q are therefore . (5 59 , 59 )
= 15
t
c) When t = 2, m = 15e–0.083 × 2
So, the mass of the sample after 2 days is 12.71 g (to 2 d.p.).
0.5 = e–0.083t
ln 0.5 = –0.083t
ln5
t=
0.083
= 8.35 (to 2 d.p.)
The sample takes 8.35 days (to 2 d.p.) to halve its mass.
2
1 x
v= x
3 2
x3
v=
12
dv x 2
=
dx 4
The liquid enters the container at a rate of 5 litres per minute so
dv
=5
dt
10/5/2021 (c) Patrice Ndambomve 375
Examination-style question 3
Using the chain rule
dv dv dx
= ×
dt dx dt
So
x2
dx
5= ×
4 dt
dx 20
= 2
dt x
At the instant when x = 2 cm the rate at which the liquid is entering the container is
dx 20 5
= = cm/min
10/5/2021
dt 4(c)Patrice Ndambomve 376
10/5/2021 (c) Patrice Ndambomve 377
10/5/2021 (c) Patrice Ndambomve 378
10/5/2021 (c) Patrice Ndambomve 379
CHAPTER 6
INTEGRATION
INTEGRATION
Recall that these rules are applicable to differenciation
y dy What goes
here?
dx
xn
nx n1
ex ex
1
ln x
x
sin x cos x
cos x sin x
10/5/2021 (c) Patrice Ndambomve 381
We also need to know that multiplying constants just “tag along”
dy
e.g. y 3x 7
3(7 x 6 ) 21x 6
dx
and terms like the above can be differentiated independently when they
appear in sums and differences.
e.g. y 2e x 4 x 2
dy
2e x 8 x
dx
x
nx n1 dx x n C x n dx C
n1
C
x x
e dx e
x n 1
n 1
n
x C,
n1
ex ex C
1
ln x C
x
cos x sin x C
sin x cos x C
Which function is “missing” from the l.h.s. and why?
2
(a) e x dx
0
Solutions:
(a)
0
2
e dx e
x
x 2
0
e e
2 0
Be careful here . . .
Substituting x = 0 does not give 0.
2
(a) e x dx
0
Solutions:
(a)
0
2
e dx e
x
x 2
0 ye x
e e
2 0
e2 1
Example:
1
1.
1
x 3 dx ?
yx 3
1 1
3x 3
e.g.1
2
3 x 2 2 dx
31
2x
1 1
3x 2x
3
e.g.1 2
2 dx x
2
2
1 1
3x 2x
3
e.g.1 2
2 dx x
2
2
1 2
( 2 ) 3
2( 2)
Replace x with • the top limit
• the bottom limit
1 1
3x 2x
3
e.g.1 2
2 dx x
2
2
1 2 ( 2 ) 3
2( 2)
1 1
3x 2x
3
e.g.1 2
2 dx x
2
2
1 2 ( 2 ) 3
2( 2)
3 84
15
1
2
So, 3 x 2 dx 15
10/5/2021 2 (c) Patrice Ndambomve 393
Evaluating the Definite Integral
1
e.g. 2 Find
1
x 2 7 x 12 dx
1
x
1 3 2
7x
x 7 x 12 dx 12 x
2
Solution:
1 3 2 1
1
e.g. 2 Find
1
x 2 7 x 12 dx
1
x
1 3 2
7x
x 7 x 12 dx 12 x
2
Solution:
1 3 2 1
1 7 ( 1) 3 7( 1) 2
Substitute
for
12 x: 12( 1)
3limit2 minus bottom
top
limit
3 2
1 7 1 7
12 12
3 2
Simplify 3 2
2
2. Find
2
6 x 2 2 x 3 dx
397
Substitution for indefinite integrals
• For indefinite integrals, method of
substitution:
f ( g ( x)) g ' ( x) dx
Substitute u g ( x), du g ' ( x)dx
Integral becomes
f ( g ( x)) g ' ( x) dx f (u ) du
398
Examples
• Evaluate ∫ (2x + 3) exp(x2+3x) dx
• Evaluate the following
1
xln x 2 dx ln x
x dx 8x x 2 dx
2
x2
tan x dx
x 2 x 1 dx x 2 4 x dx
tan x sec
2 1 x
x e dx
2
x dx tan xsec x dx
399
Method 1 for Definite Integrals
• Do not modify the limits of integration.
• First evaluate the indefinite integral and then
use
a
b
f ( g ( x)) g ' ( x)dx f ( g ( x)) g ' ( x)dx
b
400
Method 2
• Substitute u=g(x) directly into definite integral
• Use formula u=g(x) to replace x-limits x=a,
x=b by corresponding u-limits, u=g(a), u=g(b),
respectively.
b g (b )
a
f ( g ( x)) g ' ( x) dx
g (a)
f (u )du
401
Examples
• Use the two methods to compute the
following integrals
/4 /8
0
cos( x)dx
0
cos5 2 x sin 2 x dx
1
2
x( x 2) dx (4 x 2)3 dx
2 2
0 1
1/ 2 dx /4
0 x2
dx 0
tan x sec 2 x dx
402
Integration Problem
• Suppose that at time t=0 there are 750
bacteria and that the bacteria y(t) population
grows at the rate of
y(t)=802.137 e1.528 t bacteria per hour
• How many bacteria will there be in 12 hours?
• Answer: Approximately
48,233,500,000
403
Review: Examples involving indefinite integrals
1
x 4 dx 3x 2 dx
2
( 4 x 3) 2 x
ln x 2 dx
xe
x2
x
dx
dx
( x 1) ln(x 1) x x 5 dx
404
Integration by parts
• Just the product rule in integral form
• u, v-form of rule
405
Integration by parts = product rule in reverse
Product Rule : (uv)' u ' v uv'
406
Integration by Parts Formulae
If u ( x) and v( x) are differentiable, then
udv uv vdu
407
Examples
x cos x dx
2 xe
x
dx
x ln x dx
408
Definite Integrals and I.B.P.
2
x
xe dx
1
/4
0
x sin x dx
409
Multiplying by 1
1
tan x dx
4
ln
1
x dx
410
Repeated Integration by Parts
1
0
x 2e x dx
cos x dx
x
e
411
More integration techniques: Partial Fractions
412
Review: Practicing integration
2 cot x
cot x csc xe dx
2 1
0 4 x 2
dx
x 2
ln x
2 x
e dx
1
tan x dx
413
Partial Fractions
• Consider a rational function f(x) = P(x)/Q(x)
• If degree(P) < degree(Q) can use algebra to
write f(x) as a sum of terms of the form
• A/(ax+b)n or (Bx+C)/(ax2+bx+c)n
• Where A, B, C, a, and b are constants, and
the quadratic polynomials ax2+bx+c cannot
be factored (no real roots)
414
Long Division before integration
x
x 7 dx
3x 3 7 x 2 17 x 3
x 2 2 x 5 dx
415
Distinct Linear Factors
1
x( x 2) dx
416
Repeated Linear Factors
dx
x 2 ( x 1)
417
Distinct Irreducible Quadratics
2 x3 x 2 2 x 2
( x 2 2)( x 2 1) dx
Main Step : Find constants A, B, C , D so that
2x 3 x 2 2 x 2 Ax B Cx D
2 2
( x 2)( x 1)
2 2
x 2 x 1
418
Repeated Irreducible Quadratics
x2 x 1
( x 2 1) 2 dx
Main Step : Find constants A, B, C , D so that
x 2 x 1 Ax B Cx D
2 2
( x 1)
2 2
x 1 ( x 1) 2
419
Improper integrals & numerical integration
• Improper integrals:
• Case 1: Unbounded limits of integration
• Case 2: Integrand blows up (becomes
infinite)
• Evaluate improper integrals by taking
limits of “proper” integrals
• Basics of numerical integration
420
Case 1: Unbounded integrals
Infinite upper limit :
1
- 2x
e dx 4
dx
0 1 x
Infinite lower limit :
0 1
( x 2)2 dx
Assuming that f is continuous and that the limits converge
z
a
f ( x)dx lim f ( x)dx
z a
a a
f ( x)dx lim
z z
f ( x)dx
421
Case 1, continued: integrals over
whole line
1
Compute dx
1 x 2
0
Say
f ( x)dx exists if both f ( x)dx and f ( x)dx
0
0
exist, in which case f ( x)dx f ( x)dx f ( x)dx
0
x
Consider 1 x 2 dx
422
Case 2: Integrand blows up
dx
1
Example : 0 3 x
If f is continuous on (a, b] and lim f ( x) does not exist
x a
b b
a
f ( x)dx lim
c a c
f ( x)dx
1 dx
Example : 0
1 x
423
More Examples
1
ln xdx
0
1 1
1 x 2 dx
2 2x
2 ( x 2 1)1/ 3 dx
1
Determine whether 2 dx is convergent
x 1
424
Comparison principle
• Can often show convergence or
divergence of a complicated integral by
comparing it to a simpler one
General idea : Suppose that 0 f ( x) g ( x) on [a, ). Then
0 f ( x)dx g ( x)dx
a a
425
Model examples
x2
e dx
0
1
1
x ln x
dx
426
Numerical Integration
• Some integrals are impossible to
integrate exactly
• Instead find approximate values using
various numerical integration
techniques
• Example:
3
e
x2
dx
0
427
Midpoint Rule
• Divide [a,b] into n subintervals of equal
length, x0 , x1 , …., xn
• Then
ba n
b
Approximate f ( x)dx by M n f (ck ),
a n k 1
x x
where ck k 1 k is the midpoint of the
2
k - th interval [ xk 1, xk ]
428
Visualization of midpoint rule
2
Use the midpoint rule to approximat e 1 x 2 dx
0
429
Trapezoidal Rule
• Partition [a,b] into n intervals of equal
length, with endpoints x0 , …,xn
b
Approximat e f ( x)dx by
a
b a f ( x0 ) f ( xn )
Tn f ( x ) f ( x )
n 2 2
1 n 1
430
Visualization of the trapezoid rule
3
Approximations of
0
sin( x 2 )dx using trapezoidal rule
431
Another Method
432
10/5/2021 (c) Patrice Ndambomve 433
Chapter 7 Functions of Several Variables
7.1 Functions of Several Variables
7.2 Limits and Continuity
7.3 Partial Derivatives
7.4 Tangent Planes and Linear Approximations
7.5 The Chain Rule
*7.6 Directional Derivatives and the Gradient Vector
7.7 Maximum and Minimum Values
7.8 Lagrange Multipliers
So far we have dealt with the calculus of
functions of a single variable. But, in the
real world, physical quantities often
depend
on two or more variables, so in this
chapter we turn our attention to functions
of several variables and extend the basic
ideas of differential calculus to such
functions.
7.1 Functions of Several Variables
Solution
(a) 3 2 1 6
f (3,2)
3 1 2
D x, y x y 1 0, x 1
(b)
f (3,2) 3 ln(2 2 3) 0
D x, y x y 2
Graphs Another way of visualizing the behavior of a
function of two variables is to consider its graph.
Definition If f is a function of two variables with domain D,
then the graph of f is the set of all points (x,y,z) in R3 such
that z=f(x,y) and (x,y) is in D.
( x, y, f ( x, y))
S
D ( x, y,0)
y
x
Functions of Three or More Variables
A function of three variables, f, is a rule that assigns to
each ordered triple (x,y,z) in a domain D R3 a unique real
number denoted by f(x,y,z).
lim ( x y x y 3x 2 y ) 1 2 1 2 3 1 2 2 11
2 3 3 2 2 3 3 2
( x , y ) (1,2)
7.3 Partial Derivatives
If f is a function of two variables , its partial derivatives
are the functions f x and f y defined by
f ( x h, y ) f ( x, y )
f x ( x, y) lim
h 0 h
f ( x, y h ) f ( x , y )
f y ( x, y ) lim
h 0 h
Notations for partial derivatives If z f ( x, y) , we write
f z
f x ( x, y ) f x f ( x, y) f1 D1 f Dx f
x x x
f z
f y ( x, y ) f y f ( x, y ) f 2 D2 f Dy f
y y y
Rule for finding partial derivatives of z f ( x, y)
1.To find f x regard y as a constant and differentiate f ( x, y) with respect to x
2.To find f y regard x as a constant and differentiate f ( x, y) with respect to y
f x ( x, y ) 3x 2 2 xy 3
f x (2,1) 3 22 2 3 13 16
f y ( x, y ) 3 x 2 y 2 4 y
f y (2,1) 3 22 12 4 1 8
Interpretations of partial derivatives
z
f d
x x0 f ( x, y 0 ) M0
x y y0 dx x x0
Tx Ty
f d x
x x0 f ( x0 , y)
y y y0 dy y y0
机动 目录 上页 下页 返回 结束
Higher derivatives
If z f ( x, y) then
f 2 f 2 z
( f x ) x f xx f11 2
x x x 2
x
f 2 f 2 z
( f x ) y f xy f12
y x yx yx
f 2 f 2 z
( f y ) x f yx f 21
x y xy xy
f 2 f 2 z
( f y ) y f yy f 22 2
y y y 2
y
Example f ( x, y) x3 x2 y3 2 y 2
f x ( x, y ) 3x 2 xy
2 3 f y ( x, y ) 3 x 2 y 2 4 y
f xx ( x, y) 3x 2 2 xy 3 6 x 2 y 3 f yx ( x, y) 3x 2 y 2 4 y 6 xy 2
x x
f xy ( x, y) 3x 2 2 xy 3 6 xy 2 f yy ( x, y ) 3x 2 y 2 4 y 6 x 2 y 4
y y
z z
dz f x ( x, y )dx f y ( x, y )dy dx dy
x y
14.5 The Chain Rule
The Chain Rule (Case 1) Suppose that z f ( x, y)
is a differentiable function of x and y , where x g (t )
and y h(t ) are both differentiable functions of t .
Then z is a differentiable function of t and
dz f dx f dy
dt x dt y dt
or dz z dx z dy
dt x dt y dt
dz
Example Let z = excosy, x = sint and y = t 2. Find .
dt
Solution We find that
dz z dx z dy
dt x dt y dt
e x cos y (cos t ) (e x sin y )(2t )
esin t (cos t cos t 2 2t sin t 2 ).
z z x z y
u x u y u
yx y 1 (6u ) 4( x y ln x)
6u (4u 2v)(3u 2 v 2 ) 4u 2 v 1 4(3u 2 v 2 ) 4 u 2 v ln(3u 2 v 2 ),
z z x z y
v x v y v
yx y 1 (2v) 2( x y ln x)
2v(4u 2v)(3u 2 v 2 ) 4u 2 v 1 2(3u 2 v 2 ) 4 u 2 v ln(3u 2 v 2 ).
Implicit Differentiation
We suppose that an equation of the form F ( x, y) 0
defines yimplicitly as a differentiable function of , x
that is,y f ( x), where F ( x, f ( x)) 0 for all x in the
domain of f. If F is differentiable. Then
F dx F dy
0
x dx y dx
F
dy
x
Fx
dx F Fy
y
We suppose that an equation of the form F ( x, y, z) 0
defines z implicitly as a differentiable function of x
and y , that is, z f ( x, y,) where F ( x, y, f ( x, y)) 0for all ( x, y)
in the domain of f. If F is differentiable. Then
F
z x Fx
F x F z
0 x F Fz
x x z x z
F y F z F
0
y
y z y z y Fy
y
F Fz
z
Example 1 Find y if x3 y3 6xy
Solution Let F ( x, y) x3 y3 6xy 0
then dy Fx x2 2 y
y .
dx Fy y 2x
2
z z
Example 2 Find and if x3 y3 z 3 6 xyz 1
x y
Solution Let
F ( x, y, z) x y z 6xyz 1
3 3 3
z Fx x 2 2 yz
then x F z 2 2 xy
z
.
z Fy y 2 xz
2
y Fz z 2
2 xy
7.7 Maximum and Minimum Values
Definition A function of two variables has a local
maximum at (a,b) if f ( x, y) f (a, b) when (x,y) is near
(a,b). [ This means that f ( x, y) f (a, b) for all points (x,y)
in some disk with center (a,b).] The number f(a,b)
is called a local maximum value. If f ( x, y) f (a, b)
when (x,y) is near (a,b), then f(a,b) is called a local
minimum value. If the inequalities hold for all points
(x,y) in the domain of f, then f has an absolute maxi-
mum (or absolute minimum) at (a,b).
Theorem If f has a local maximum or minimum
at (a,b) and the first-order partial derivatives of f
exist there, then f x (a, b) 0 and f y (a, b) 0 .
x 2 2 y 2 1 0,
7
x 0, x 3 ,
2 x 1, 1
we obtain y , y 0, and y ,
2 1, 3
1,
3 2 ,
2
as the solutions.
Thus the only possible extreme values of f occur at points
in the xy plane:
2 2 7 1 7 1
(0, ), (0, ), (1,0), (1,0), ( , ) and ( , ).
2 2 3 3 3 3
Since
2 2
f (0, ) 2, f (1,0) f (1,0) 1, f (0, ) 2,
2 2
7 1 7 1 25
f ( , ) f ( , ) ,
3 3 3 3 27