MTH240- Calculus II
Summer 2025
Section 3.1 – Integration by Parts
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Review (Useful Identities)
๐๐ ๐๐ = ๐๐ ๐
๐๐ ๐ = ๐ ๐๐
Exponential identities
๐๐ ๐๐ = ๐๐ ๐
๐2 − ๐2 = แบ๐ − ๐)แบ๐ + ๐)
Difference of two squares
๐3 ± ๐3 = ๐ ± ๐ ๐ 2 โ ๐๐ + ๐2
Sum and difference of two cubes
๐ ± ๐ 2 = ๐2 ± 2๐๐ + ๐2
Square of sum and difference
๐ ± ๐ 3 = ๐3 ± 3๐2 ๐ + 3๐๐2 ± ๐3
Cube of sum and difference
๐
๐ ๐
๐+๐ ๐ ๐
but
≠ +
= +
๐+๐ ๐ ๐
๐
๐ ๐
Splitting a fraction
ln๐๐ = ln๐ + ln๐
๐
ln = ln๐ − ln๐
๐
Natural Logarithmic Identities
2
Review on Integration & Integration by Parts
Section 3.1
3
Review of Integration
Antiderivative Formulas
U-substitution
4
Review of Integration
Antiderivative Formulas
U-substitution
x5 x3
๏ฒ 7x − x dx = 7 5 − 3 + C
4
2
7
๏ฒ
1
z
1z 2
๏ฆ 5 2 1 − 12 ๏ถ
๏ฆ 2 1 ๏ถ
−
+C
z ๏ง z − ๏ท dz =๏ฒ ๏ง z − z ๏ท dz =
7 4 1
4
4z ๏ธ
๏จ
๏ธ
๏จ
2
2
2 7 2 1 12
= z − z +C
7
2
2
2
1 ๏น 7
๏ฆx
๏ฉx
๏น ๏ฉ8
2๏ถ
๏ฒ1 ๏ง๏จ 2 + x ๏ท๏ธdx =๏ช๏ซ 6 + 2 lnx ๏บ๏ป = ๏ช๏ซ 6 + 2 ln 2 − 6 − 0๏บ๏ป = 6 + 2 ln 2
1
2
2
3
5
Review of Integration
Antiderivative Formulas
U-substitution
Substitution = Change of variable (e.g. from x to u)
๏ฒ f ( x)dx ๏ ๏ฒ g (h( x))h๏ข( x)dx ๏ ๏ฒ g (u )du
u
du
1. Choose your substitution function
2. Differentiate it
3. Rewrite the integral in terms of the new variable
4. In case of indefinite integral, write the answer in terms of the original variable
* The idea is to make the integral solvable by changing the variables
Example:
2
x
1
−
x
dx
๏ฒ
6
Review of Integration
Antiderivative Formulas
๏ฒ x 1 − x dx
2
du
−
2
U-substitution
3เต
๐๐ข
1
2
1เต
1
๐ข
⇒ เถฑ ๐ขแบ− ) = − เถฑ๐ข 2 ๐๐ข = −
+๐ถ
2
2
2 3เต
2
1 − ๐ฅ2
=−
3
3เต
2
+๐ถ
7
Review of Integration
Antiderivative Formulas
U-substitution
Examples
เถฑsin4๐ฅ ๐๐ฅ
เถฑsin๐ฅ cos๐ฅ๐๐ฅ
8
Review of Integration
Antiderivative Formulas
U-substitution
5
ln๐ฅ
เถฑ
๐๐ฅ
๐ฅ
1
๐๐ฅ
เถฒ 2๐ฅ
๐๐ฅ
๐ +1
9
Integration by Parts
• Substitution (in integrals) corresponds to the Chain Rule (in derivatives)
• The rule that corresponds to the Product Rule is Integration by Parts.
d
๏ f ( x) g ( x)๏ = f ๏ข( x) g ( x) + f ( x) g ๏ข( x)
dx
u = f ( x) ๏ du = f ๏ข( x)dx
f ( x) g ( x) = ๏ฒ g ( x) f ๏ข( x)dx + ๏ฒ f ( x) g ๏ข( x)dx
v = g ( x) ๏ dv = g ๏ข( x)dx
u
v
v
du
u
dv
๐ข๐ฃ = เถฑ๐ฃ๐๐ข + เถฑ๐ข๐๐ฃ
๏ฒ udv = uv − ๏ฒ vdu
10
Integration by Parts
Example:
x
xe
๏ฒ dx
11
Integration by Parts
Examples
• If two functions are present, choose u according to L I A T E !
Logarithmic, Inverse Trigonometric, Algebraic, Trigonometric, Exponential
e.g.
๏ฒ (2 t − 4) sin(3t )dt
12
Integration by Parts
Examples
ln x
๏ฒ1 x 2 dx
2
13
Integration by Parts
• Integration by parts (IBP) could be employed to integrate a single function.
e.g. เถฑlnแบ ๐ฅ 2 + 1) ๐๐ฅ
14
Integration by Parts
Example
2
x
๏ฒ sinxdx
15
Integration by Parts
• After each application of IBP, watch for a constant multiple of the original integral.
e.g.
x
e
๏ฒ cosxdx
16
Integration by Parts
• Substitution is sometimes required prior to using IBP.
e.g.
๏ฒ cos(lnx)dx
17
Integration by Parts
• Substitution is sometimes required prior to using IBP.
๏ฒ x e dx
5 x2
18
MTH240- Calculus II
Summer 2025
Section 3.2 – Trigonometric Integrals
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Trigonometric Integrals
U-substitution and trigonometric identities can be combined to solve integrals in
the following forms
Type1: เถฑsin๐ ๐ฅ cos๐ ๐ฅ๐๐ฅ
Type2: เถฑtan๐ ๐ฅ sec ๐ ๐ฅ๐๐ฅ
m and n are integers and
๐ ≥ 0, ๐ ≥ 0
Type3: เถฑsin๐๐ฅ cos๐๐ฅ๐๐ฅ
2
Trigonometric Integrals
Some useful trigonometric identities
sin2 ๐ฅ + cos 2 ๐ฅ = 1
sec 2 ๐ฅ = 1 + tan2 x
1
sin2 ๐ฅ = (1 − cos2๐ฅ)
2
Half-angle identities
1
cos 2 ๐ฅ = (1 + cos2๐ฅ)
2
1
sin๐ดcos๐ต = sin(๐ด − ๐ต) + sin(๐ด + ๐ต)
2
1
sin๐ดsin๐ต = cos ๐ด − ๐ต − cos(๐ด + ๐ต)
2
1
cos๐ดcos๐ต = cos(๐ด − ๐ต) + cos(๐ด + ๐ต)
2
sin2๐ฅ = 2sin๐ฅcos๐ฅ ,
Product-to-sum identities
cos2๐ฅ = 2cos2 ๐ฅ − 1
3
Trigonometric Integrals
Type 1
เถฑsin๐ ๐ฅ cos ๐ ๐ฅ๐๐ฅ
Type 2
m and n are integers and
Type 3
๐ ≥ 0, ๐ ≥ 0
4
Trigonometric Integrals
Type 1
เถฑsin๐ ๐ฅ cos ๐ ๐ฅ๐๐ฅ
Type 2
m and n are integers and
Type 3
๐ ≥ 0, ๐ ≥ 0
If either m or n is odd → save one of the odd factors and use sin2 ๐ฅ = 1 − cos 2 ๐ฅ
or cos 2 ๐ฅ = 1 − sin2 ๐ฅ, then use u-substitution.
Example: เถฑsin2 ๐ฅ cos 3 ๐ฅ๐๐ฅ
5
Trigonometric Integrals
Type 1
เถฑsin๐ ๐ฅ cos ๐ ๐ฅ๐๐ฅ
Type 2
Type 3
m and n are integers and
๐ ≥ 0, ๐ ≥ 0
1
sin2 ๐ฅ = (1 − cos2๐ฅ)
2
1
cos 2 ๐ฅ = (1 + cos2๐ฅ)
2
If both m and n are even → use half-angle identities
Example: เถฑsin2 ๐ฅ cos 2 ๐ฅ๐๐ฅ
*Note that m and n can be zero, i.e. เถฑsin๐ ๐ฅ ๐๐ฅ or เถฑcos ๐ ๐ฅ ๐๐ฅ
6
Trigonometric Integrals
Type 1
เถฑtan๐ ๐ฅ sec ๐ ๐ฅ๐๐ฅ
Type 2
Type 3
m and n are integers
If the power of sec๐ฅ is even >> save a factor of sec 2 ๐ฅ and use sec 2 ๐ฅ = 1 + tan2 x
then use u-substitution (๐ข = tan๐ฅ).
Example: เถฑtan3 ๐ฅ sec 4 ๐ฅ๐๐ฅ
*Note that m and n can be zero, i.e. เถฑtan๐ ๐ฅ ๐๐ฅ or เถฑ๐ ๐๐ ๐ ๐ฅ ๐๐ฅ
7
Trigonometric Integrals
Type 1
เถฑtan๐ ๐ฅ sec ๐ ๐ฅ๐๐ฅ
Type 2
Type 3
m and n are integers
If the power of tan๐ฅ is odd >> save a factor of sec๐ฅtan๐ฅ and use tan2 ๐ฅ = sec 2 ๐ฅ − 1
then express the remaining factors as sec๐ฅ .
Example: เถฑtan3 ๐ฅ sec 2 ๐ฅ๐๐ฅ
• Integrals like เถฑcot ๐ ๐ฅ csc ๐ ๐ฅ๐๐ฅ could also be solved in the same manner.
8
Trigonometric Integrals
Type 1
Type 2
Type 3
เถฑsin๐๐ฅsin๐๐ฅ๐๐ฅ
เถฑcos๐๐ฅcos๐๐ฅ๐๐ฅ
m and n are integers
เถฑsin๐๐ฅcos๐๐ฅ๐๐ฅ
Example: เถฑsin 3๐ฅ cos 2๐ฅ ๐๐ฅ
9
Trigonometric Integrals
Reminder
เถฑtan ๐ฅ ๐๐ฅ = ln|sec ๐ฅ| + ๐ถ
เถฑsec ๐ฅ ๐๐ฅ = ln|sec ๐ฅ + tan ๐ฅ| + ๐ถ
(tan ๐ฅ)′ = sec 2 ๐ฅ
(sec ๐ฅ)′ = sec ๐ฅ tan ๐ฅ
10
Trigonometric Integrals
Additional Examples
๐
2
5
เถฑ sin ๐ฅ๐๐ฅ
0
เถฑ
1
๐๐ฅ
sin๐ฅ − 1
เถฑtan3 ๐ฅ ๐๐ฅ
เถฑcos 2 ๐ฅ − sin2๐ฅ ๐๐ฅ
เถฑsin7 ๐ฅcos5 ๐ฅ ๐๐ฅ
เถฑ๐ฅsin3 ๐ฅ ๐๐ฅ
เถฑcsc 4 ๐ฅcot 6 ๐ฅ ๐๐ฅ
เถฑ๐ฅ sec ๐ฅ tan ๐ฅ ๐๐ฅ
11
MTH240- Calculus II
Summer 2025
Section 3.3 – Trigonometric Substitution
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Trigonometric Substitution
Some integrals containing radical functions could be solved by substituting
trigonometric functions.
Expression
Substitution
Identity
๐
๐
1 − sin2 ๐ = cos 2 ๐
๐
2
๐
2
1 + tan2 ๐ = sec 2 ๐
๐2 − ๐ฅ 2
๐ฅ = ๐sin๐,
−2 ≤ ๐ ≤ 2
๐2 + ๐ฅ 2
๐ฅ = ๐tan๐,
− <๐<
๐ฅ 2 − ๐2
๐
3๐
๐ฅ = ๐sec๐, 0 ≤ ๐ < 2 or ๐ ≤ ๐ < 2
sec 2 ๐ − 1 = tan2 ๐
* ๐ is a constant
2
Trigonometric Substitution
3
Example: เถฑ
0
๐ฅ
36 − ๐ฅ 2
๐๐ฅ
3
Trigonometric Substitution
3
Example: เถฑ
0
๐ฅ
36 − ๐ฅ 2
๐๐ฅ
4
Trigonometric Substitution
Steps
1- Choose the suitable substitution according to the table.
2- Write the integral in terms of ๐ (change the boundaries in case of having a
definite integral).
3- Integrate the function and write the final answer in terms of the initial variable
(i.e. x). The final answer does not have any trigonometric functions.
1
๐
๐
csc๐ =
=
sin๐ =
sin๐ ๐
๐
1
๐
๐
๐
sec๐
=
=
cos๐ =
๐
cos๐ ๐
๐
1
๐
๐
cot๐
=
=
tan๐ =
tan๐ ๐
๐
๐
5
Trigonometric Substitution
Example เถฑ
1
๐ฅ2
๐ฅ2 + 4
๐๐ฅ
6
Trigonometric Substitution
2
• Trigonometric substitution could also be used to integrate functions like ๐ฅ ± ๐
or
๐
2
2
๐ ±๐ฅ 2
(where n is an integer) for instance, e.g.,เถฒ
1
3
๐ฅ 2 + 3 เต2
๐
2 2
๐๐ฅ
7
Trigonometric Substitution
• Completing the square can sometimes be used to make the radical expression
1
เถฑ
๐๐ฅ .
ready for trig. Substitution, e.g.,
2
๐ฅ − 6๐ฅ + 13
8
Trigonometric Substitution
• Some integrals containing standard radical expressions could be solved without
using trig. substitution, e.g., เถฒ
8๐ฅ − 6
5
2๐ฅ 2 − 3๐ฅ + 5 เต2
๐๐ฅ
9
Trigonometric Substitution
Additional Examples:
เถฒ
1
3
3 + 4๐ฅ − 4๐ฅ 2 เต2
๐๐ฅ
๐ฅ2 − 1
เถฒ
๐๐ฅ
๐ฅ3
10
MTH240- Calculus II
Summer 2025
Section 3.4 – Partial Fractions
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Integrating using Partial Fractions
A rational function is in the form of
๐(๐ฅ แป
๐(๐ฅ แป
in which P(x) and Q(x) are polynomials.
๐ฅ3 + 1
Examples: เถฒ
๐๐ฅ
๐ฅ−1
เถฑ
๐ฅ
๐๐ฅ
๐ฅ 2 − 3๐ฅ + 2
* Some rational functions could be easily integrated using direct formula or usubstitution. Examples:
−1
1
+๐ถ
เถฑ 2 ๐๐ฅ =
๐ฅ
๐ฅ
1
เถฑ
๐๐ฅ = ln|๐ฅ + 5| + ๐ถ
๐ฅ+5
3๐ฅ 2 − 4๐ฅ
เถฒ 3
๐๐ฅ
๐ฅ − 2๐ฅ 2
๐๐ข
๐ข = ๐ฅ 3 − 2๐ฅ 2
⇒เถฑ
= ln|๐ข| + ๐ถ = ln|๐ฅ 3 − 2๐ฅ 2 | + ๐ถ
๐ข
๐๐ข = (3๐ฅ 2 − 4๐ฅแป๐๐ฅ
2
Integrating using Partial Fractions
๐(๐ฅ แป
To integrateเถฒ
๐๐ฅ
๐(๐ฅ แป
If deg(๐(๐ฅแปแป < deg(๐(๐ฅแปแป
⇒
If deg(๐(๐ฅแปแป ≥ deg(๐(๐ฅแปแป
⇒
๐ฅ4 + 1
Proper rational function, e.g.,
๐ฅ 5 + 4๐ฅ 3
๐ฅ6
Improper rational function, e.g.,
๐ฅ2 − 4
* An improper rational function should be converted to a proper one before integrating.
2๐ฅ 3 − 9๐ฅ 2 + 15
เถฒ
๐๐ฅ
2๐ฅ − 5
3
Integrating using Partial Fractions
Steps to do partial fraction decomposition
1
๐ฅ 3 + 4๐ฅ
1- Factor the denominator as much as you can.
1
๐ฅ(๐ฅ 2 + 4แป
* If you get quadratic functions, make sure that they are irreducible.
2- Write a partial fraction for each factor. The number of fractions is equal to the
number of factors in the denominator.
Bx+C
1
A
= +
๐ฅ(๐ฅ 2 + 4แป ๐ฅ ๐ฅ 2 + 4
3- Choose an expression for the numerators as follows:
Linear function (e.g. 4x) ⇒ A constant (e.g. A)
Quadratic function (e.g. 5๐ฅ 2 + 4) ⇒ Linear function (e.g. ๐ด๐ฅ + ๐ต )
4
Integrating using Partial Fractions
4- To find the constants, the method of method of strategic substitution should
be used. Multiply both sides of the equation by the initial denominator.
1
A Bx + C
=
+ 2
๏ 1 = A( x 2 + 4) + ( Bx + C ) x
2
x( x + 4) x x + 4
5- Instead of expanding the equation, plug in some numbers in the equation and
solve for the constants.
5
Integrating using Partial Fractions
To sum up:
6
Integrating using Partial Fractions
To sum up:
7
Integrating using Partial Fractions
Reminder:
เถฑ
๐
๐๐ฅ
๐๐ฅ + ๐
1
1
๐ฅ
−1
เถฑ 2
๐๐ฅ = tan
+๐ถ
๐ฅ + ๐2
๐
๐
8
Integrating using Partial Fractions
Additional Examples: Evaluate the following integrals
เถฑ
6
๐๐ฅ
๐ฅ2 − 1
เถฑ
๐๐ฅ
1 + ๐๐ฅ
๐ฅ2
เถฒ 2
๐๐ฅ
๐ฅ +๐ฅ+2
Write the partial fraction decomposition for the following fractions. DO NOT
evaluate the coefficients.
5๐ฅ − 4
๐ฅ3 + 1
๐ฅ 3 + 2๐ฅ + 1
๐ฅ2 − ๐ฅ − 2
๐ฅ5 + 1
๐ฅ 2 − ๐ฅแป(๐ฅ 4 + 2๐ฅ 2 + 1
4๐ฅ
๐ฅ3 + ๐ฅ2 + ๐ฅ + 1
9
MTH240- Calculus II
Summer 2025
Section 3.7 – Improper Integrals
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Review: L’Hospital’s Rule
L’Hospital’s Rule says that the limit of a quotient of functions is equal to the limit
๐(๐ฅ แป
๐ ′ (๐ฅ แป
of the quotient of their derivatives i.e. lim
, provided that:
= lim ′
๐ฅ→๐ ๐(๐ฅ แป
๐ฅ→๐ ๐ (๐ฅ แป
1- Both ๐(๐ฅ แป and ๐(๐ฅ แป are differentiable and ๐(๐ฅแป ≠ 0 on an interval I that
contains ๐.
2- We have an indeterminate form of type
∞
0
or .
∞
0
๐′ (๐ฅเตฏ
3- lim ′ แป exists or is +∞ or −∞.
๐ฅ→๐ ๐ (๐ฅ
1
๐ฟ๐ป
0
ln๐ฅ
๐ฅ = lim 1 = 1
indeterminate
=
lim
Example: lim
=
๐ฅ→1 1 ๐ฅ→1 ๐ฅ
0
๐ฅ→1 ๐ฅ − 1
2
Review: L’Hospital’s Rule
• Note that limits like
∞
0
or
are not indeterminate and do not require
0
∞
L’Hospital’s rule.
ln๐ฅ
๐ฅ→0 ๐ฅ
Example: lim+
• L’Hospital’s rule cannot directly be used on limits resulting in 0 × ∞ and ∞ × 0.
0
∞
They have to be converted to or first.
0
Example: lim ๐ฅ๐ −๐ฅ
∞
2
๐ฅ→∞
3
Improper Integrals
A definite integral of a function on ๐, ๐ gives the area under a curve between ๐
and ๐.
๐
เถฑ ๐(๐ฅแป๐๐ฅ = ๐
๐
This area may not always be finite.
4
Improper Integrals
• The possibility of having an infinite area would make a definite integral
improper.
• An improper integral is a definite integral that has either or both limits infinite
(i.e. +∞ or −∞ ) OR the function in the integral approaches infinity at one or
more points in the range of integration.
• Based on the definitions above, there are two types of improper integrals.
• An improper integral is convergent if it results in a finite number.
5
Improper Integrals
Type 2
Discontinues Integrands
Type 1
Infinite Intervals
If either or both limits are infinite.
๐ก
๐ก
+∞
If เถฑ ๐(๐ฅแป๐๐ฅ exists for every number ๐ก ≥ ๐
๐(๐ฅแป๐๐ฅ = lim เถฑ ๐(๐ฅแป๐๐ฅ
เถฑ
๐
๐ก→+∞ ๐
๐
๐
๐
๐
If เถฑ ๐(๐ฅแป๐๐ฅ exists for every number ๐ก ≤ ๐
เถฑ ๐(๐ฅแป๐๐ฅ = lim เถฑ ๐(๐ฅแป๐๐ฅ
−∞
๐ก→−∞ ๐ก
+∞
๐
เถฑ
−∞
๐ก
+∞
๐(๐ฅแป๐๐ฅ = เถฑ ๐(๐ฅแป๐๐ฅ + เถฑ
−∞
๐(๐ฅแป๐๐ฅ
๐ could be any real number
๐
6
Improper Integrals
Type 1
Infinite Intervals
+∞
เถฑ
๐
Type 2
Discontinues Integrands
๐ก
๐(๐ฅแป๐๐ฅ = lim เถฑ ๐(๐ฅแป๐๐ฅ
๐ก→+∞ ๐
The integral is convergent if the limit exists and divergent if the limit does not exist.
7
Improper Integrals
Type 1
Infinite Intervals
Type 2
Discontinues Integrands
∞
1
๐๐ฅ
Example: เถฑ
๐ฅ
1
8
Improper Integrals
Type 1
Infinite Intervals
∞
Example: เถฑ
1
Type 2
Discontinues Integrands
1
๐๐ฅ
๐ฅ2
9
Improper Integrals
Type 1
Infinite Intervals
∞
Example: เถฑ
1
Type 2
Discontinues Integrands
1
๐๐ฅ
๐ฅ2
10
Improper Integrals
Type 1
Infinite Intervals
Type 2
Discontinues Integrands
∞
๐๐ฅ
Example: เถฒ
๐๐ฅ
๐ 2๐ฅ + 3
0
11
Improper Integrals
Type 1
Infinite Intervals
Type 2
Discontinues Integrands
An Important example:
∞
1
เถฑ ๐ ๐๐ฅ is convergent if ๐ > 1 and divergent if ๐ ≤ 1
1 ๐ฅ
12
Improper Integrals
Type 2
Discontinues Integrands
Type 1
Infinite Intervals
Comparison Theorem
Suppose that ๐(๐ฅแป and ๐(๐ฅแป are continuous functions with ๐(๐ฅแป ≥ ๐(๐ฅแป ≥ 0
for ๐ฅ ≥ ๐
∞
∞
(a) If เถฑ ๐(๐ฅแป๐๐ฅ is convergent, then เถฑ ๐(๐ฅแป๐๐ฅ is convergent.
a
a
∞
∞
(b) If เถฑ ๐(๐ฅแป๐๐ฅ is divergent, then เถฑ ๐(๐ฅแป๐๐ฅ is divergent.
a
a
13
Improper Integrals
Type 1
Infinite Intervals
Type 2
Discontinues Integrands
∞
3 cos 2 ๐ฅ
๐๐ฅ converges or diverges?
Example: Determine if เถฒ
1 + ๐ฅ2
0
14
Improper Integrals
Type 2
Discontinues Integrands
Type 1
Infinite Intervals
If the integrant approaches infinity at either limit or at some point between the
b
limits; เถฑ ๐(๐ฅแป๐๐ฅ
๐
b
If ๐(๐ฅแป is discontinuous at ๐
๐
เถฑ ๐(๐ฅแป๐๐ฅ = lim+ เถฑ ๐(๐ฅแป๐๐ฅ
๐
๐ก→๐
b
If ๐(๐ฅแป is discontinuous at ๐
If ๐(๐ฅแป is discontinuous at ๐
where ๐ < ๐ < ๐
๐ก
๐ก
เถฑ ๐(๐ฅแป๐๐ฅ = lim− เถฑ ๐(๐ฅแป๐๐ฅ
๐
๐ก→๐
b
๐
๐
๐
เถฑ ๐(๐ฅแป๐๐ฅ = เถฑ ๐(๐ฅแป๐๐ฅ + เถฑ ๐(๐ฅแป๐๐ฅ
๐
๐
๐
15
Improper Integrals
Type 2
Discontinues Integrands
Type 1
Infinite Intervals
b
๐
เถฑ ๐(๐ฅแป๐๐ฅ = lim+ เถฑ ๐(๐ฅแป๐๐ฅ
๐
๐ก→๐
๐ก
The integral is convergent if the limit exist
and divergent if the limit does not exist.
16
Improper Integrals
Type 2
Discontinues Integrands
Type 1
Infinite Intervals
Reminder
1
Undefined
0
1
= lim+ = +∞
๐ฅ→0 ๐ฅ
1
lim
๐ฅ→0 ๐ฅ
1
= lim− = −∞
๐ฅ→0 ๐ฅ
ln0
Undefined
= lim+ ln๐ฅ = −∞
๐ฅ→0
lim ln๐ฅ
๐ฅ→0
= lim− ln๐ฅ Undefined
๐ฅ→0
17
Improper Integrals
Type 1
Infinite Intervals
Type 2
Discontinues Integrands
4
1
๐๐ฅ
2
๐ฅ
0
Example: เถฑ
18
Improper Integrals
Type 1
Infinite Intervals
Type 2
Discontinues Integrands
4
1
๐๐ฅ
1
−
๐ฅ
1
Example: เถฑ
19
Improper Integrals
Type 1
Infinite Intervals
Type 2
Discontinues Integrands
3
1
๐๐ฅ
Example: เถฑ 2
๐ฅ
−
6๐ฅ
+
5
0
20
Improper Integrals
Type 1
Infinite Intervals
Type 2
Discontinues Integrands
Cont’d:
21
Improper Integrals
Type 1
Infinite Intervals
Type 2
Discontinues Integrands
What can go wrong?
3
3
1
๐ฅ−5
1
1
1
1
| = − ln5
เถฑ 2
๐๐ฅ = − ln|๐ฅ − 1| + ln|๐ฅ − 5| = ln|
4
๐ฅ−1 0
4
4
4
0 ๐ฅ − 6๐ฅ + 5
3
0
But we know that this integral is divergent.
22
Improper Integrals
Additional Examples:
∞
1
เถฑ
3 ๐๐ฅ
๐ฅ
ln๐ฅ
๐
∞
เถฑ (๐ฆ 3 − 3๐ฆ 2 แป ๐๐ฆ
−∞
∞
3
๐๐ฅ
4
−2 ๐ฅ
เถฑ
๐ฅ2
เถฒ
๐๐ฅ
9 + ๐ฅ6
−∞
2
เถฑ ๐ฅ 2 ln๐ฅ ๐๐ฅ
0
23
MTH240- Calculus II
Summer 2025
Sections 4.1, 4.3, 4.5 - Differential Equations
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Differential Equations
Some familiar types of equations:
• Algebraic equations, e.g., 3๐ฅ + 5 = 0 , ๐ฅ 2 − 4๐ฅ + 4 = 0
• Exponential equations, e.g., 22๐ฅ−4 = 8
• Trigonometric equations, e.g., cos2๐ฅ = 1 + 4sin๐ฅ
Solving an equation ⇒
Finding the unknown which is a number or numbers
in the above equations
Differential Equations
A differential equation is a mathematical equation that relates a function with its
derivatives. The equation can contain the function, its derivatives, and the variable.
The unknown is a function and not a number in these equations.
Example: ๐ฆ ′ = 2๐ฅ ⇒
๐๐ฆ
= 2๐ฅ ⇒ ๐ฆ = ๐ฅ 2 + ๐ถ
๐๐ฅ
The order of the differential equation ⇒ The number of highest derivative in a
differential equation
Example:
๐ฆ ′ − 3๐ฅ๐ฆ = 0
๐ฆ ″ − 4๐ฆ = 0
⇒ Only first order DEs will be covered in this
course
Second-order
First-order
Differential Equations
Example: What is the order of the following differential equations?
Differential Equations
Verifying Solutions of Differential Equations
Example: Verify that the function ๐ฆ = ๐ −3๐ฅ + 2๐ฅ + 3 is a solution to the differential
equation ๐ฆ ′ + 3๐ฆ = 6๐ฅ + 11.
Differential Equations
General and Particular Solutions
Differential Equations
Example: Find the particular solution to the differential equation y′ = 2x passing through
the point (2, 7).
Differential Equations
Initial-Value Problems
• Usually, a given differential equation has an infinite number of solutions.
• To choose one solution, more information is needed. Some specific information
that can be useful is an initial value, which is an ordered pair that is used to find
a particular solution.
• A differential equation together with one or more initial values is called an
initial-value problem.
• The general rule is that the number of initial values needed for an initial-value
problem is equal to the order of the differential equation.
Differential Equations
Example:
Differential Equations
Two types of first-order differential equations will be studied:
1- Separable differential equations
2- Linear differential equations
Differential Equations
Separable DE
Linear DE
A separable equation is a first-order differential equation in which the expression
๐๐ฆ
for
can be factored as a function of x times a function of y.
๐๐ฅ
In other words, it can be written in the forms of
๐๐ฆ
๐๐ฆ ๐(๐ฅ )
or
= ๐(๐ฅ). ๐(๐ฆ)
=
๐๐ฅ
๐๐ฅ โ(๐ฆ)
To solve it โ(๐ฆ)๐๐ฆ = ๐(๐ฅ)๐๐ฅ ⇒ เถฑโ(๐ฆ)๐๐ฆ = เถฑ๐(๐ฅ)๐๐ฅ
The solution may be found implicitly or explicitly as a function of x.
Differential Equations
Separable DE
Example: Solve ๐ฆ ′ = 2๐ฅ
It is not a single curve but a family of curves.
Example: Solve
๐๐ฆ
= ๐ฅ 2๐ฆ2
๐๐ฅ
Linear DE
Differential Equations
Separable DE
Linear DE
* An initial condition is required to define the constant after integration.
Example: Solve ๐ฆ ′ cos๐ฆ = sin2 ๐ก cos๐ก , ๐ฆ(0) =
๐
6
Differential Equations
Additional Examples:
Solve the following differential equations
(๐ฆ 2 + ๐ฅ๐ฆ 2 )๐ฆ ′ = 1
๐๐ฆ ln๐ฅ
=
๐๐ฅ ๐ฅ๐ฆ
๐ฆ(1) = 2
๐ฆ ′ tan๐ฅ = ๐ + ๐ฆ
๐
๐ฆ
=๐
3
๐
0<๐ฅ<
2
Differential Equations
Separable DE
Linear DE
A first order linear differential equation is one that can be written in the form
๐๐ฆ
+ ๐(๐ฅ)๐ฆ = ๐(๐ฅ)
๐๐ฅ
Example ๐ฆ ′ + ๐ฅ๐ฆ = ๐ฅ 2
๐๐ฆ
Note that this differential equation is not separable as it is not possible to write ๐๐ฅ
as a function of x times a function of y.
๐๐ฆ
= ๐ ๐ฅ − ๐(๐ฅ)๐ฆ
๐๐ฅ
Differential Equations
Separable DE
Linear DE
Example: Put each of the following first-order linear differential equations into
standard form. Identify p(x) and q(x) for each equation.
Differential Equations
Separable DE
Linear DE
Differential Equations
Separable DE
Linear DE
How to solve a Linear DE?
๐
Note: You may use the formula ๐ = ๐(๐) โซ ๐๐
๐ ๐ ๐ ๐ ืฌโฌ+ ๐ช to get the solution in Step 4.
Differential Equations
Separable DE
Example: Solve
๐ฆ ′ − ๐ฆ = ๐ฅ๐ ๐ฅ
Linear DE
Differential Equations
Separable DE
Linear DE
Sometimes the DE needs to be manipulated to obtain the standard form.
Example: Solve the initial value problem ๐ฅ 2 ๐ฆ ′ − x๐ฆ = 1
๐ฅ>0
๐ฆ 1 =2
Differential Equations
Additional Examples
Solve the following differential equations
๐ฅ๐ฆ ′ + ๐ฆ = ๐ฅ
๐ฅ๐ฆ ′ = ๐ฆ + ๐ฅ 2 sin๐ฅ
๐ฆ(๐) = 0
๐๐
๐ก ln๐ก + ๐ = ๐ก๐ ๐ก
๐๐ก
21
MTH240- Calculus II
Summer 2025
Section 5.1 - Sequences
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Sequences
A sequence is an infinite set of numbers written in a defined order.
e.g. 1, 2, 3, 4, ...
๐
๐1 , ๐2 , ๐3 , ๐4 , ….
๐๐
First term
General term
It is also denoted by ๐1 , ๐2 , ๐3 , ๐4 , . . . or ๐๐ ∞
๐=1
Some examples
๐ ∞
๐ + 1 ๐=1
1 2 3 4
๐
, , , ,...,
,...
2 3 4 5
๐+1
−1 ๐ (๐ + 1แป
2๐
3 4 5
−1 ๐ (๐ + 1แป
−1, , − , , . . . ,
,...
4 8 16
2๐
∞
๐ − 4 ๐=4
0,1, 2, 3, . . . , ๐ − 4, . . .
2
Sequences
Example: Find an explicit formula for the general term of the sequence
1 3 5 7
− , ,− , ...
2 4 6 8
๐๐ = −1 ๐
2๐ − 1
2๐
Limit of Sequence: A sequence has the limit L if for every ๐ > 0 , there is an
integer N such that
|๐๐ − ๐ฟ| < ๐
n>๐
⇒
and we write lim ๐๐ = ๐ฟ
๐→∞
3
Sequences
Theorem: If lim ๐(๐ฅแป = ๐ฟ and ๐(๐แป = ๐๐ , where n is an integer, then lim ๐(๐แป = ๐ฟ
๐ฅ→∞
๐→∞
Convergence/Divergence Test for Sequences
A sequence is convergent if lim ๐(๐แป exists.
๐→∞
and is divergent if lim ๐(๐แป does not exist (e.g. lim ๐(๐แป = ∞)
๐→∞
๐→∞
4
Sequences
Example: Determine whether the following sequences are convergent or divergent.
1
๐
1
lim = 0
๐→∞ ๐
Convergent
1
๐3
1
=0
๐→∞ ๐3
Convergent
๐ −๐
lim ๐ −๐= lim
lim
๐→∞
1
=0
๐→∞ ๐ ๐
Convergent
Remark:
1
lim ๐ = 0 for r > 0
๐→∞ ๐
5
Sequences
Example: Determine whether the following sequences are convergent or divergent.
2๐ ๐ + 1
๐๐
๐
ln ๐
tan−1 (๐
6
Sequences
Squeeze Theorem for Sequences
If ๐๐ ≤ ๐๐ ≤ ๐๐ for ๐ ≥ ๐0 , and lim ๐๐ = lim ๐๐ = ๐ฟ , then lim ๐๐ = ๐ฟ .
๐→∞
๐→∞
๐→∞
Sequence ๐๐ is squeezed between
๐๐ and ๐๐ .
7
Sequences
Squeeze Theorem for Sequences
sin(๐2 แป
Example: Find the limit of the sequence ๐๐ =
๐2
8
Sequences
Alternating sequence
An alternating sequence is one whose terms are alternately positive and negative.
−1 ๐
−1 1 −1 1 −1
Example:
=
, ,
, ,
,...
3๐
3 6 9 12 15
Theorem: If lim |๐๐ | = 0, then lim ๐๐ = 0 .
๐→∞
๐→∞
9
Sequences
−1 ๐
Example: Find the limit of the sequence ๐๐ =
.
๐+1
10
Sequences
Reminder from Calculus I
11
Sequences
Theorem: If lim ๐๐ = ๐ฟ , and the function f is continuous at L, then
๐→∞
lim ๐(๐แป = ๐(๐ฟแป
๐→∞
Example: Find the limit of the sequence ๐๐ = ๐
Example: Find the limit of the sequence lim sin
๐→∞
๐2
3๐2 +4
.
๐
.
๐
12
Sequences
An important example: The sequence ๐ ๐ is convergent if −1 < ๐ ≤ 1, and is
divergent elsewhere.
0 −1 < ๐ < 1
This is because lim ๐ ๐ = แ
๐→∞
1
๐=1
Monotone sequence: A sequence is monotone/monotonic if it is either increasing or
decreasing.
An increasing sequence is one in which ๐๐ < ๐๐+1 for ๐ ≥ 1 , i.e., ๐1 < ๐2 < ๐3 <. . .
A decreasing sequence is one in which ๐๐ > ๐๐+1 for ๐ ≥ 1 , i.e., ๐1 > ๐2 > ๐3 >. . .
13
Sequences
Example: The sequence
Because
1
is decreasing.
๐+3
1 1 1
> > >. . .
4 5 6
1
Also
๐+3
′
=
−1
< 0 for ๐ ≥ 1
๐+3 2
Bounded Sequence:
A sequence ๐๐ is bounded above if there is a number M such that
๐๐ ≤ ๐
for all ๐ ≥ 1
And it is bounded below if there is if there is a number m such that
๐ ≤ ๐๐
for all ๐ ≥ 1
If it is bounded above and below, then is a bounded sequence.
14
Sequences
Example: The sequence ๐ is bounded below since 1 ≤ ๐
and the sequence
๐
๐
is
bounded
above
since
<1
๐2 + 1
๐2 + 1
Monotone Convergence
Theorem:
Every bounded, monotonic
sequence is convergent.
Example: The sequence
so it is convergent.
1
๐
๐
1
is bounded ( 1 < ๐ ๐ < ๐) and decreasing
1 ′
๐๐ =
1
1
๐
− 2 ๐
๐
15
Sequences
Additional Examples
List the first five terms of the sequence
๐๐
3๐
๐
=
,
๐
=
6
๐+1
1
๐
1 + 2๐
Find a formula for the general term of the sequence
4 8 16
−3,2, − , , − , . . .
3 9 27
Determine if the sequence converges or diverges. If it converges, find the limit.
๐๐ =
๐2
๐3 + 4๐
−1 ๐+1 ๐
๐๐ =
๐+ ๐
๐๐ = ๐ sin
1
๐
2−๐ cos (๐๐แป
16
MTH240- Calculus II
Spring 2025
Section 5.2 – Infinite Series
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Series
A series is the sum of the terms of a sequence.
5
1+2+3+4+5= เท๐
๐=1
In this course, we are particularly interested in infinite series:
∞
เท ๐๐
เท ๐๐
๐=1
∞
เท ๐๐ = ๐1 + ๐2 + ๐3 + ๐4 +. . . +๐๐ +. . .
๐=1
2
Series
Can the sum of infinitely many numbers be finite?
How can we find the sum (value) of a series?
Partial sum in series
∞
1 1 1 1
1
1
=
+
+
+
+.
.
.
+
Consider the series เท ๐
๐ +. . .
2
4
8
16
2
2
3
๐ 3 = เท
๐=1
1
1 1 1
= + +
2๐ 2 4 8
๐=1
5
1
1 1 1 1
1
๐ 5 = เท ๐ = + + +
+
2
2 4 8 16 32
๐
๐ ๐ = เท
1 1 1 1 1
1
=
+
+
+
+.
.
.
+
2๐
2๐ 2 4 8 16
๐=1
๐=1
3
Series
∞
Definition: Given a series เท ๐๐ = ๐1 + ๐2 + ๐3 + ๐4 +. . . , let ๐ ๐ denotes its
nth partial sum:
๐=1
๐
๐ ๐ = เท ๐๐ = ๐1 + ๐2 + ๐3 + ๐4 +. . . +๐๐
๐=1
If the sequence ๐ ๐ is convergent and lim ๐ ๐ = ๐ exists as a real number, then
๐→∞
the series เท ๐๐ is called convergent, and we write
∞
๐1 + ๐2 + ๐3 + ๐4 +. . . +๐๐ +. . . = ๐
or
เท ๐๐ = ๐
๐=1
The number is called the sum of the series. If the sequence ๐ ๐ is divergent, then
the series is called divergent.
* This definition can only be used if we have/can get the sum of the nth term.
4
Series
∞
Example: Suppose we know that the sum of the first n terms of the series เท ๐๐
๐=1
is:
3๐2
๐ ๐ = ๐1 + ๐2 + ๐3 + ๐4 +. . . +๐๐ = 2
5๐ + 1
Find the sum of the series.
5
Series
Geometric series
Geometric series is a special series in which each successive term is produced by
multiplying the previous term by a constant number.
* This constant number is called common ratio and is shown by r.
∞
๐ + ๐๐ + ๐๐ 2 + ๐๐ 3 +. . . +๐๐ ๐−1 +. . . = เท ๐๐ ๐−1
∞
๐≠0
๐=1
Example: เท 2๐ = 2 + 4 + 8 + 16 + 32+. . .
๐=1
Sum of geometric series
Assuming ๐ ≠ 1
๐ ๐ = ๐ + ๐๐ + ๐๐ 2 + ๐๐ 3 +. . . +๐๐ ๐−1
๐๐ ๐ =
Subtracting
๐๐ + ๐๐ 2 + ๐๐ 3 +. . . +๐๐ ๐−1 + ๐๐ ๐
๐ ๐ − ๐๐ ๐ = ๐ − ๐๐ ๐
6
Series
Geometric series (cont’d)
๐(1 − ๐ ๐ แป
๐ ๐ =
1−๐
To find the sum of the series
๐
๐
๐
๐๐ ๐
๐(1 − ๐ ๐ แป
=
−
lim๐ ๐
= lim
−
lim ๐ ๐ = lim
๐→∞ 1 − ๐
๐→∞
๐→∞
1 − ๐ 1 − ๐ 1 − ๐ ๐→∞
1−๐
When ๐ < 1 , lim๐ ๐ = 0 and the sum is
๐→∞
๐
1−๐
Convergence of Geometric Series
∞
The geometric series เท ๐๐ ๐−1 is convergent if |๐| < 1 , and its sum is
๐=1
The series is divergent if |๐| ≥ 1 .
๐
1−๐
first term of the series
7
Series
∞
Example: Is the series เท 22๐ 31−๐ convergent or divergent?
๐=1
Theorem: If the series เท ๐๐ and เท ๐๐ are convergent, then so are the series เท ๐๐๐
(where c is a constant), เท ๐๐ + ๐๐ , and เท ๐๐ − ๐๐ , and
เท ๐๐๐ = ๐ เท ๐๐
เท ๐๐ ± ๐๐ = เท ๐๐ ± เท ๐๐
8
Series
Theorem: If the series เท ๐๐ is convergent, then lim ๐๐ = 0 .
๐→∞
Test for Divergence: If lim ๐๐ does not exist or lim ๐๐ ≠ 0 , then the series
๐→∞
๐→∞
เท ๐๐ is divergent.
Important Remark: The test for divergence cannot be used to conclude that a series
is convergent. It simply means that if lim ๐๐ ≠ 0 or if the limit does not exist, the series
๐→∞
is divergent and if lim ๐๐ = 0 , this test is inconclusive and other methods must be used
๐→∞
to conclude that the series is convergent or divergent.
9
Series
∞
๐2 + 1
Example: Show that the seriesเท 2
is divergent.
2๐ + 3
๐=1
10
Series
Telescoping series: A telescoping series is a series in which most of the terms
cancel in each of the partial sums, leaving only some of the last terms.
11
Series
Example: Determine if the following series is convergent or divergent. If it
converges, find its sum.
12
Series
Additional Examples
Determine if the geometric series is convergent or divergent.
∞
∞
5
เท ๐
2
1
เท
4
๐=2
๐=0
๐
56−๐
10 − 2 + 0.4 − 0.08+. . .
Determine if the series is divergent, or state that the divergence test is inconclusive.
∞
∞
เท arctan (๐แป
เท
๐=1
๐=1
๐
๐2 + 1
Determine if the series is convergent or divergent. If it is convergent, find its sum.
∞
เท
๐=2
2
๐2 − 1
∞
เท ln
๐=1
๐
๐+1
13
MTH240- Calculus II
Summer 2025
Section 5.3 – The Integral Test for Series
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
The Integral Test
Consider the following series
There is no simple formula for sn. But the sum
can be compared with an integral.
2
The Integral Test
Now consider the following series
3
The Integral Test
∞
In the series เท ๐๐ where ๐๐ = ๐(๐แป and f is a continuous, positive, and
๐=1
decreasing function on 1, ∞ , the series is convergent if and only if the improper
∞
integralเถฑ ๐(๐ฅแป๐๐ฅ is convergent.
1
In other words:
∞
∞
(i) If เถฑ ๐(๐ฅแป๐๐ฅ is convergent, then เท ๐๐ is convergent.
1
∞
๐=1
∞
(ii) If เถฑ ๐(๐ฅแป๐๐ฅ is divergent, then เท ๐๐ is divergent.
1
๐=1
4
The Integral Test
∞
Example: Test เท
1
for convergence or divergence.
2
๐ +3
๐=1
Solution: The function ๐(๐ฅแป =
1
Since 2
๐ฅ +3
′
1
is continuous, positive, and decreasing
๐ฅ2 + 3
−2๐ฅ
= 2
<0.
2
๐ฅ +3
๐ก
1
1
๐๐ฅ
เถฑ 2
๐๐ฅ = lim เถฑ 2
๐ก→∞ 1 ๐ฅ + 3
๐ฅ
+
3
1
∞
5
The Integral Test
Remarks
In using Integral Test:
1. The series does not have to start at n=1. It can start from any positive integer.
However, this positive number would be the lower limit for the improper
integral.
∞
1
Example: เท
๐−1 2
∞
เถฑ
4
1
๐๐ฅ
๐ฅ−1 2
๐=4
2. The series does not have to be always decreasing. What matters is that f be
eventually decreasing. This means that f could be decreasing for x larger than N.
6
The Integral Test
Remarks (cont’d)
In using integral test:
3. The value (sum) of the series is not necessarily equal to the value of the
corresponding integral.
∞
∞
เท ๐๐ ≠ เถฑ ๐(๐ฅแป๐๐ฅ
๐=1
1
7
The Integral Test
∞
Example: For what values of p is the series เท
1
convergent?
๐
๐
๐=1
1
1
Solution: If p < 0, then the limit lim ๐ = ∞. If p = 0, then lim ๐ = 1
๐→∞ ๐
๐→∞ ๐
In either case, the limit is not zero and the series is divergent by divergence test.
If p > 0, then the function ๐(๐ฅแป =
1
is continuous, positive, and decreasing.
๐ฅ๐
We showed in chapter 7 that (see Lecture Slide 5).
∞
1
เถฑ ๐ ๐๐ฅ is convergent if ๐ > 1 and divergent if ๐ ≤ 1
1 ๐ฅ
So the series เท
∞
1
๐
๐=1 ๐
is convergent for ๐ > 1 by the integral test.
8
The Integral Test
P-series
∞
The series เท
1
is called p-series and is convergent for ๐ > 1 . The series
๐๐
๐=1
is divergent for ๐ ≤ 1 .
Example: Is the series convergent or divergent?
∞
เท
๐=1
1
3
๐ เต5
∞
1
เท 1.2
๐
๐=1
9
The Integral Test
Harmonic Series
∞
The series เท
1
1 1 1 1
= 1 + + + + +. . . is called harmonic series and is
๐
2 3 4 5
๐=1
divergent since it is a p-series with ๐ ≤ 1 .
10
The Integral Test
Additional Examples
Determine if the series is convergent or divergent.
∞
เท ๐2 ๐ −๐
3
๐=1
∞
∞
1 1
1
1
1+ +
+
+
+. . .
8 27 64 125
เท 3−ln n
๐=1
∞
1
เท
๐ ln๐ 2
เท
๐=2
๐=1
1
๐2 + 6๐ + 13
∞
cos 2 ๐
Explain why the Integral Test cannot be used on เท
1 + ๐2
๐=1
Find the values of p for which the series is convergent.
∞
เท
๐=1
ln๐
๐๐
11
MTH240- Calculus II
Summer 2025
Section 5.4 – The Comparison Tests for Series
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
The Comparison Tests
The Direct Comparison Test
Suppose that เท ๐๐ and เท ๐๐ are series with positive terms.
(i) If เท ๐๐ is convergent and ๐๐ ≤ ๐๐ for n > N, then เท ๐๐ is also convergent.
(ii) If เท ๐๐ is divergent and ๐๐ ≤ ๐๐ for n > N, then เท ๐๐ is also divergent.
where N is a positive integer.
2
The Comparison Tests
∞
1
Example: Determine if the series เท 2
converges or diverges.
๐ + 10
๐=1
3
The Comparison Tests
Solution:
๐2 + 10 > ๐2
∞
1
2
๐=1 ๐
เท
1
1
⇒ 2
<
๐ + 10 ๐2
∞
⇒ เท
1
2
๐=1 ๐ +10
Converges by the direct
comparison test
converges (p-series series with p=2 > 1)
4
The Comparison Tests
∞
Example: Determine if the series เท
ln๐
converges or diverges.
๐3
๐=1
5
The Comparison Tests
∞
Example: Determine if the series เท
1
๐−3
converges or diverges.
๐=4
6
The Comparison Tests
The Limit Comparison Test
๐๐
Suppose that เท ๐๐ and เท ๐๐ are series with positive terms. If lim
=๐
๐→∞ ๐๐
where c is a finite and positive number, then either both series converge or both diverge.
7
The Comparison Tests
Example: Determine if the series เท
∞
1
converges or diverges.
๐+3
๐=1
8
The Comparison Tests
∞
๐2 −2๐+1
Example: Determine if the series เท
3
๐=1 3๐ +๐−7
converges or diverges.
9
The Comparison Tests
Example: Determine if the series เท
∞
๐=1
1
2๐ +1
converges or diverges.
10
The Comparison Tests
∞
๐4 − 2๐2 + 3
Example: Determine if the series เท
converges or diverges.
2๐6 − ๐ + 5
๐=1
11
The Comparison Tests
12
The Comparison Tests
Example: Determine if the series following converges or diverges.
∞
เท
ln๐
๐2
๐=1
13
The Comparison Tests
Solution (cont’d):
14
The Comparison Tests
Additional Examples
Determine if the series converges or diverges.
∞
∞
เท
๐sin2 ๐
เท
1 + ๐3
1
๐ 3Τ2 + 1
๐=1
๐=1
∞
∞
sin(1Τ๐แป
เท
๐3
๐ + 4๐
เท
๐ + 6๐
๐=1
๐=1
∞
1
เท 1+
๐
๐=1
∞
2
3
๐ −๐
เท
๐
๐3 + 4๐ + 3
๐=1
15
MTH240- Calculus II
summer 2025
Section 5.5 – Alternating Series
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Alternating Series
Definition
An alternating series is a series whose terms are alternately positive and negative.
∞
Example:
1−
1 1 1 1 1
+ − + − +. . .
2 3 4 5 6
เท −1 ๐−1
1
๐
๐=1
Convergence Test for Alternating Series
∞
The alternating series เท −1 ๐−1 ๐๐ = ๐1 − ๐2 + ๐3 − ๐4 + ๐5 −. . . is convergent
๐=1
if
(i) ๐๐+1 ≤ ๐๐
(i.e. is non-increasing) for
๐≥๐
(ii) lim ๐๐ = 0
๐→∞
2
Alternating Series
Convergence Test for Alternating Series (cont’d)
3
Alternating Series
∞
Example: Test the series เท −1 ๐−1
1
for convergence or divergence.
๐
๐=1
4
Alternating Series
Solution (cont’d):
5
Alternating Series
∞
Example: Test the series เท −1 ๐+1
3n
for convergence or divergence.
3๐ + 2
๐=1
6
Alternating Series
∞
Example: Test the series เท −1 ๐ tan−1 (๐) for convergence or divergence.
๐=1
7
Alternating Series
Alternating Series Estimation Theorem
∞
If ๐ = เท −1 ๐−1 ๐๐ is the sum of an alternating series which is convergent, and
๐=1
๐ ๐ represents its partial sum then
|๐
๐ | = |๐ − ๐ ๐ | ≤ ๐๐+1
where ๐
๐ is the remainder.
8
Alternating Series
∞
−1 ๐
Example: How many terms of the seriesเท
do we need to add in order to
๐6
๐=1
find the sum correct to 4 decimal places?
9
Alternating Series
Solution (cont’d):
Thus, by Alternating Series Estimation theorem, we should have 0.0001 ≤ ๐๐+1
๐๐ =
1
๐6
๐3 = 0.00137 > 0.0001
๐4 = 0.00024 > 0.0001
๐5 = 0.000064 < 0.0001
๐+1= 5 ⇒๐ =4
That is, since the 5th term is less than the desired error (0.0001), we need to add
the first 4 terms to get the sum to the desired accuracy.
10
Alternating Series
Additional Examples: Test the series for convergence or divergence.
∞
เท −1 ๐
∞
๐
๐3 + 2
๐=1
๐=1
cos ๐๐
๐2
๐=1
∞
เท −1 ๐ ๐ sin
เท
1
๐
∞
เท −1 ๐ ( ๐ + 1 − ๐เตฏ
๐=1
11
MTH240- Calculus II
Summer 2025
Section 5.6 – Absolute Convergence and Ratio and
Root Tests
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Absolute Convergence
Definition
A series เท ๐๐ is called absolutely convergent if the series of absolute values เท |๐๐ |
is convergent.
∞
Example: The series เท −1 ๐
1
is absolutely convergent, because
2
๐
๐=1
∞
เท | −1 ๐
๐=1
∞
1
1
| = เท 2 is convergent (p-series with p = 2 > 1)
๐2
๐
๐=1
2
Absolute Convergence
∞
Example: Show that เท −1 ๐
1
is convergent but not absolutely convergent,
๐
๐=1
3
Absolute Convergence
Definition
If a series is convergent but not absolutely convergent, it is conditionally convergent.
∞
Example: So based on the above-mentioned definitionเท −1 ๐
convergent.
1
is conditionally
๐
๐=1
4
Absolute Convergence
Theorem: If a series เท ๐๐ is absolutely convergent, then it is convergent.
∞
Example: Determine if the series เท
cos (๐)
is convergent or divergent.
๐2
๐=1
5
Absolute Convergence
6
The Ratio Test
7
The Ratio Test
∞
2๐
Example: Use the Ratio Test to determine if the seriesเท
converges.
๐!
๐=1
๐๐+1
|
๐→∞ ๐๐
lim |
8
The Ratio Test
Example: Use the Ratio Test to determine when the p-series converges.
9
The Root Test
10
The Root Test
∞
4๐2 − 3
Example: Use the Root Test to determine if the seriesเท
7๐2 + 6
๐
converges.
๐=1
lim
๐→∞
๐
|๐๐ |
11
The Root Test
Remarks on the Ratio and Root Tests
• The Ratio and Root Tests come with an absolute value, so they can be used on
alternating series and would determine if these series are absolutely convergent
or divergent.
• If the Ratio test is inconclusive, then so is the Root test and vice versa.
12
Absolute Convergence and
Ratio and Root Tests
Additional examples: Determine if the series is absolutely convergent,
conditionally convergent or divergent.
∞
∞
∞
−1 ๐
−2 ๐
เท
๐๐
−3 ๐
เท
(2๐ + 1)!
เท
๐=0
๐=0
๐=1
∞
∞
∞
เท
๐=1
๐๐
๐!
5๐ + 1
๐!
เท
100๐
−2๐
เท
๐+1
๐=1
๐=2
5๐
13
This document is intended to summarize various tests used to determine convergence/divergence of series
in Calculus II (MTH 240). It CANNOT be used in anyway as an aid in closed-book tests/quizzes.
Series or Test
Form of Series
Condition for
Divergence
๏ฅ ar a ๏น 0
n
r ๏ผ1
r ๏ณ1
Does not apply
lim an ๏น 0
n ๏ฝ0
๏ฅ
Divergence Test
Comments
๏ฅ
๏ฅ
Geometric Series
Condition for
Convergence
๏ฅa
n ๏ฝ1
n
n ๏ฎ๏ฅ
a
1๏ญ r
n๏ฝ0
Useful for comparison tests
If convergent, ๏ฅ ar n ๏ฝ
Cannot be used to prove
convergence
๏ฅ
๏ฅ a where
n
n ๏ฝ1
Integral Test
๏ฒ1
an ๏ฝ f (n) and f is
continuous, positive, converges
and decreasing
๏ฅ
P-series
๏ฅ
1
๏ฅn
n ๏ฝ1
p
f ( x)dx
๏ฅ
๏ฒ f ( x)dx
1
diverges
The value of the integral is not
the value of the series.
p ๏พ1
p ๏ฃ1
Useful for comparison tests
lim sn ๏น ๏ฑ๏ฅ
lim sn ๏ฝ ๏ฑ๏ฅ
The sum of the series can be
found by lim sn .
๏ฅ
๏ฅ a ๏ญ b whose
n ๏ฝ1
Telescoping
Series
n
n
partial sums ( sn )
only have a fixed
number of terms
after cancellation
๏ฅ
Direct
Comparison Test
๏ฅ a where a ๏พ 0
n ๏ฝ1
n
n
and bn ๏พ 0
Alternating
Series Test
๏ฅ a where a ๏พ 0
n ๏ฝ1
n
n
and bn ๏พ 0
๏ฅ
๏ฅ (๏ญ1) b
n
n
n ๏ฝ1
an ๏ฃ bn and
๏ฅ
๏ฅb
n ๏ฝ1
๏ฅ
Limit
Comparison Test
n ๏ฎ๏ฅ
n ๏ฎ๏ฅ
n ๏ฎ๏ฅ
bn ๏ฃ an and
๏ฅ
n
converges
a
0 ๏ผ lim n ๏ผ ๏ฅ
n ๏ฎ๏ฅ b
n
๏ฅ
๏ฅ bn diverges
n ๏ฝ1
an
๏ผ๏ฅ
n ๏ฎ๏ฅ b
n
0 ๏ผ lim
๏ฅ
and ๏ฅ bn
and ๏ฅ bn
converges
diverges
bn is nonincreasing and
lim bn ๏ฝ 0
Does not
apply
n ๏ฝ1
n ๏ฝ1
n ๏ฎ๏ฅ
๏ฅ
Ratio Test
๏ฅa
n ๏ฝ1
๏ฅa
n ๏ฝ1
Absolute
Convergence
By Saeid Samiezadeh
n ๏ฝ1
n ๏ฝ1
n ๏ฝ1
The test determines absolute
convergence.
๏ฅ
๏ฅ
๏ฅ a is given; you supply ๏ฅ b
n ๏ฝ1
n
n ๏ฝ1
The test determines absolute
convergence.
If lim bn ๏น 0 , divergence test
n ๏ฎ๏ฅ
shall be used.
lim
an ๏ซ1
๏ผ1
n ๏ฎ๏ฅ a
n
lim
an ๏ซ1
๏พ1
n ๏ฎ๏ฅ a
n
Inconclusive if lim
n
lim n an ๏ผ 1
lim n an ๏พ 1
Inconclusive if lim n an ๏ฝ 1
Does not
apply
Applies to arbitrary series
n ๏ฎ๏ฅ
n ๏ฎ๏ฅ
an ๏ซ1
๏ฝ1
n ๏ฎ๏ฅ a
n
n ๏ฎ๏ฅ
๏ฅ
๏ฅ
๏ฅa
๏ฅ
๏ฅ an is given; you supply ๏ฅ bn
n
๏ฅ
Root Test
๏ฅ
n
๏ฅa
n ๏ฝ1
n
converges
n
MTH240- Calculus II
Summer 2025
Section 6.1 – Power Series
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Power Series
Definition: A power series is of the form
∞
เท ๐๐ ๐ฅ ๐ = ๐0 + ๐1 ๐ฅ + ๐2 ๐ฅ 2 + ๐3 ๐ฅ 3 +. . .
๐=0
where x is a variable and the ๐๐ ’s are constants called the coefficients of the series.
* The domain of the series is the set of all x for which the series converges.
Example: If ๐๐ = 1 for all n, the power series becomes
∞
เท ๐ฅ ๐ = 1 + ๐ฅ + ๐ฅ 2 + ๐ฅ 3 +. . . +๐ฅ ๐ +. . .
๐=0
* Comparing the series with a geometric series, it is convergent when |๐ฅ| < 1.
2
Power Series
Definition: A more general case is the series of the form
∞
เท ๐๐ ๐ฅ − ๐ ๐ = ๐0 + ๐1 (๐ฅ − ๐) + ๐2 ๐ฅ − ๐ 2 + ๐3 ๐ฅ − ๐ 3 +. . . +๐๐ ๐ฅ − ๐ ๐ +. . .
๐=0
which is called a power series in ๐ฅ − ๐ or a power series centered at ๐ or a
power series about ๐.
Definition: The set of values of x for which the series converges is its interval of
convergence. The radius of convergence of the power series, denoted by R, is the
distance from the center of the series to the boundary of the interval of convergence.
Remark: Different tests for series could be used to determine interval and radius of
convergence in a power series. The common tests are the Ratio and Root tests.
3
Power Series
Example: Find the interval and radius of convergence for เท
∞
๐ฅ๐
.
๐
๐=0
4
Power Series
Solution (cont’d):
5
Power Series
∞
๐ ๐ฅ+2 ๐
Example: Find the interval and radius of convergence for เท
3๐+1
๐=0
Solution: Using the Ratio test
6
Power Series
7
Power Series
∞
Theorem: For a given power series เท ๐๐ ๐ฅ − ๐ ๐ there are only three possibilities:
๐=0
(i) The series converges only when ๐ฅ = ๐.
(ii) The series converges for all ๐ฅ.
(iii) There is a positive number such that the series converges if |๐ฅ − ๐| < ๐
and diverges if ๐ฅ − ๐ > ๐
.
8
Power Series
∞
Example: Find the interval and radius of convergence for เท ๐! ๐ฅ ๐
๐=1
Solution: Using the Ratio test
The only way to satisfy r < 1 is to take ๐ฅ = 0, in which case the power series has a
value of 0. Thus, ๐
= 0 and ๐ผ = 0 .
9
Power Series
Additional Examples: Find the interval and radius of convergence for the series.
∞
∞
๐2 ๐ฅ 2๐
เท
๐!
เท −1 ๐
๐=1
๐=2
∞
∞
๐
เท ๐ ๐ฅ+1 ๐
4
๐ฅ๐
4๐ ln๐
เท ๐! 2๐ฅ − 1 ๐
๐=1
๐=1
∞
∞
1
เท sin๐ ( )๐ฅ ๐
๐
2๐ฅ − 1 ๐
เท
5๐ ๐
๐=1
๐=1
10
Representations of
Functions as Power Series
• It is possible to represent certain types of functions as sums of power series by
manipulating geometric series or by differentiating or integrating such series.
∞
Example: The series เท ๐ฅ ๐ = 1 + ๐ฅ + ๐ฅ 2 + ๐ฅ 3 +. . . +๐ฅ ๐ +. . . has a sum of
๐=0
1
1−๐ฅ
when |๐ฅ| < 1. Consequently,
∞
1
= เท ๐ฅ ๐ = 1 + ๐ฅ + ๐ฅ 2 + ๐ฅ 3 +. . . +๐ฅ ๐ +. . .
1−๐ฅ
๐=0
11
Representations of
Functions as Power Series
• There are many important applications for such representation, such as
integrating functions that do not have elementary antiderivatives, solving
differential equations, and approximating functions.
Manipulating a Function: We can manipulate a function to be able to write it as
a power series.
12
Representations of
Functions as Power Series
Example: Express
1
as the sum of a power series and find the interval of
2
1+๐ฅ
convergent.
13
Representations of
Functions as Power Series
14
Representations of
Functions as Power Series
Example: Find a power series representation for
convergence.
1
and find the interval of
๐ฅ+3
15
Representations of
Functions as Power Series
Differentiation and Integration of Power Series
∞
Theorem: If the power series เท ๐๐ ๐ฅ − ๐ ๐ has the radius of convergence R > 0,
then the function
๐=0
∞
๐(๐ฅ) = ๐0 + ๐1 (๐ฅ − ๐) + ๐2 ๐ฅ − ๐ 2 +. . . = เท ๐๐ ๐ฅ − ๐ ๐
๐=0
is differentiable (and therefore continuous) on the interval ๐ − ๐
, ๐ + ๐
and
∞
(i) ๐ ′ (๐ฅ) = ๐1 + 2๐2 (๐ฅ − ๐) + 3๐3 ๐ฅ − ๐ 2 +. . . = เท ๐๐๐ ๐ฅ − ๐ ๐−1
๐=1
∞
๐ฅ−๐ 2
๐ฅ−๐ 3
๐ฅ − ๐ ๐+1
(ii) เถฑ๐(๐ฅ ) ๐๐ฅ = ๐0 ๐ฅ + ๐1
+ ๐2
+. . . = ๐ถ + เท ๐๐
2
3
๐+1
๐=0
The radii of convergence of the power series in (i) and (ii) are both R.
17
Representations of
Functions as Power Series
16
Representations of
Functions as Power Series
Example: Find a power series representation for
convergence.
1
and find the radius of
2
๐ฅ−2
18
Representations of
Functions as Power Series
Example: Find a power series representation for ln(1 − ๐ฅ ) and find the radius of
convergence.
19
Representations of
Functions as Power Series
Example: Use power series representation to evaluate เถฑ
1
๐๐ฅ .
5
1+๐ฅ
20
Representations of
Functions as Power Series
Additional Examples: Find a power series representation for the function and
determine the radius of convergence.
๐ฅ5
7 − 9๐ฅ 3
1+๐ฅ
1−๐ฅ
tan−1 ๐ฅ
๐ฅ+2
2๐ฅ 2 − ๐ฅ − 1
๐ฅ+2
1−๐ฅ 3
21
MTH240- Calculus II
Summer 2025
Section 6.2 – Properties of Power Series
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Combining Power Series
Some combining techniques such as partial fraction decomposition, differentiation
and integration of power series were covered in the previous lesson.
2
Combining Power Series
Example:
3
Combining Power Series
Example:
4
Multiplication of Power Series
5
Multiplication of Power Series
6
Multiplication of Power Series
Example:
7
Multiplication of Power Series
8
Multiplication of Power Series
Solution:
9
MTH240- Calculus II
Summer 2025
Section 6.3 – Taylor and Maclaurin Series
Section 6.4 – Working with Taylor Series
Instructor: Saeid Samiezadeh
Email: saeid.samiezadeh@torontomu.ca
Office: VIC 748
1
Taylor & Maclaurin Series
• We have learned to write certain functions as a power series. For instance,
∞
1
= 1 + ๐ฅ + ๐ฅ 2 + ๐ฅ 3 + ๐ฅ 4 +. . . = เท ๐ฅ ๐
1−๐ฅ
|๐ฅ| < 1
๐=0
• We now try to answer the following questions:
1. Does every function have a power series representation?
2. When is a function equal to its power series representation?
3. What is the error in approximating a function with a power series?
2
Taylor & Maclaurin Series
For special case a = 0, the Taylor series becomes
๐ ′ (0)
๐ ″ (0) 2 ๐ โด (0) 3 ๐ 4 (0) 4
๐ ๐ (0) ๐
๐(๐ฅ) = เท
๐ฅ = ๐(0) +
๐ฅ+
๐ฅ +
๐ฅ +
๐ฅ +. . .
1!
2!
3!
4!
๐=0 ๐!
∞
This case series is called Maclaurin series.
Example: Find the Maclaurin series of the function ๐(๐ฅ) = ๐ ๐ฅ and its radius of
convergence.
3
Taylor & Maclaurin Series
Solution: If ๐(๐ฅ) = ๐ ๐ฅ , then ๐ ๐ (๐ฅ) = ๐ ๐ฅ , so ๐ ๐ 0 = ๐ 0 = 1 for all n. Thus,
∞
∞
๐ ๐ (0) ๐
๐ฅ๐
๐ฅ ๐ฅ2 ๐ฅ3
เท
๐ฅ =เท
= 1 + + + +. . .
๐!
๐!
1! 2! 3!
๐=0
๐=0
4
Taylor & Maclaurin Series
Solution (cont’d): To find the radius of convergence, we use the Ratio test as follows
|๐ฅ|
๐ฅ ๐+1 ๐!
๐๐+1
→ 0< 1
| = lim
lim |
| = lim |
๐
๐→∞ ๐ + 1
๐→∞ (๐ + 1)! ๐ฅ
๐→∞ ๐๐
so, by the Ratio Test, the series converges for all values of x.
Definition: The nth-degree Taylor polynomial of f at a is defined as
๐
๐ ๐ (๐)
๐๐ (๐ฅ) = เท
๐ฅ−๐ ๐
๐!
๐=0
5
Taylor & Maclaurin Series
Example: Write the first three Taylor polynomials of the function ๐(๐ฅ) = ๐ ๐ฅ at 0.
Solution:
Definition: The remainder is defined as ๐
๐ (๐ฅ) = ๐(๐ฅ) − ๐๐ (๐ฅ ) .
6
Taylor & Maclaurin Series
Taylor’s Inequality: If |๐ ๐+1 (๐ฅ เตฏ| ≤ ๐ for |๐ฅ − ๐| < ๐ , then the remainder ๐
๐ (๐ฅ )
of the Taylor series satisfies the inequality
|๐
๐ (๐ฅ )| ≤
๐
|๐ฅ − ๐|๐+1
(๐ + 1)!
for all x in the interval of convergence
7
Taylor & Maclaurin Series
Example: Find the Taylor series for ๐(๐ฅ) = ๐ ๐ฅ at a = 2.
8
Taylor & Maclaurin Series
Solution (cont’d):
9
Taylor & Maclaurin Series
Example (you need a calculator for this example!)
10
Taylor & Maclaurin Series
11
Taylor & Maclaurin Series
Example: Find the Maclaurin series for sin x.
12
Taylor & Maclaurin Series
Example: Find the Maclaurin series for sin x and prove that it represents sin x for
all x.
Solutions:
๐(๐ฅ) = sin๐ฅ
๐(0) = 0
๐ ′ (๐ฅ) = cos๐ฅ
๐ ′ (0) = 1
๐ ″ (๐ฅ) = −sin๐ฅ
๐ ″ (0) = 0
๐ โด (๐ฅ) = −cos๐ฅ
๐ โด (0) = −1
๐ 4 (๐ฅ) = sin๐ฅ
๐ 4 (0) = 0
Since the derivatives repeat in a cycle of four, we can write the Maclaurin series as
follow:
๐ฅ3 ๐ฅ5 ๐ฅ7
๐ ′ (0)
๐ ″ (0) 2 ๐ โด (0) 3
− +. . .
๐(0) +
๐ฅ+
๐ฅ +
๐ฅ +. . . = ๐ฅ − +
3! 5! 7!
1!
2!
3!
∞
๐ฅ 2๐+1
๐
=เท
−1 (
2๐+1)!
๐=0
for all x
13
Taylor & Maclaurin Series
Some important Maclaurin series
14
Taylor & Maclaurin Series
The traditional notation for the coefficients in the binomial series is
๐(๐ − 1)(๐ − 2)(๐ − 3). . . (๐ − ๐ + 1)
๐
=
๐
๐!
,
๐
=1
0
and these numbers are called the binomial coefficients.
Example:
5)(4)(3
5
= 10
=
3
3!
1เต
2
5
15
Taylor & Maclaurin Series
Convergence of Binomial Series
∞
The binomial series 1 + ๐ฅ ๐ = เท
๐=0
๐ ๐
๐ฅ converges when |๐ฅ| < 1 .
๐
16
Taylor & Maclaurin Series
Example: Find the Maclaurin series for the function ๐(๐ฅ) =
of convergence.
1
4−๐ฅ
and its radius
∞
Solution: Comparing the function with the binomial series 1 + ๐ฅ ๐ = เท ๐ ๐ฅ ๐
๐
๐=0
∞
1
1
1
๐ฅ − เต2 1
= เท − เต2
= 1 + (− )
=
2
4
๐
4−๐ฅ
๐ฅ 2
2 1−4
๐=0
1
1
๐ฅ ๐
−
4
17
Taylor & Maclaurin Series
Solution (cont’d):
∞
1
= 2เท
๐=0
1
+
=
3
5
−2 −2 −2
3!
− 1Τ2
๐
๐ฅ ๐
1
− 4 = 2 [1 +
1
3
1
−2
5
๐ฅ
−4
1
−2 −2 −2 ... −2−๐+1
๐ฅ 3
−
+. . . +
4
๐!
+
1
2
3
2
−
−
2!
๐ฅ 2
−4
๐ฅ ๐
−
+ โฏ]
4
1
1
1⋅3 2 1⋅3⋅5 3
1 ⋅ 3 ⋅ 5 ⋅. . .⋅ (2๐ − 1) ๐
1+ ๐ฅ+
๐ฅ
+
๐ฅ
+.
.
.
+
๐ฅ +. . .
2
8
2! ⋅ 82
3! ⋅ 83
๐! ⋅ 8๐
๐ฅ
The series converges when | − | < 1 , that is, |๐ฅ| < 4 . So, the radius of
4
convergence is R = 4.
18
Taylor & Maclaurin Series
Example: Find the sum of the series
1
1
1
1
−
+
−
+. . .
1 × 2 2 × 22 3 × 23 4 × 24
19
Taylor & Maclaurin Series
2
Example: Evaluate เถฑ๐ −๐ฅ ๐๐ฅ as an infinite series.
20
Taylor & Maclaurin Series
Additional Example:
Q1. Find the Maclaurin series for the given function.
๐ฅcos
1 2
๐ฅ
2
3
8+๐ฅ
sin−1 ๐ฅ
๐๐ฅ − ๐ฅ − 1
Q2. Find the limit lim
using Maclaurin series representation.
๐ฅ→0
๐ฅ2
Q3. Find the sum of the series เท
∞
3๐
.
๐ ๐!
5
๐=0
Q4. Approximate ๐(๐ฅ) = ๐ฅln๐ฅ by a Taylor polynomial ๐3 (๐ฅ ) with degree 3 at a = 1.
Use Taylor's Inequality to estimate the accuracy of the approximation ๐(๐ฅ) = ๐3 (๐ฅ )
when x lies in the interval 0.5 , 1.5 .
21
Taylor & Maclaurin Series
Some important Maclaurin series
14
Toronto Metropolitan University
MTH 240
Functions of several variables.
Limits andContinuity.
The content for this lecture is in sections 4.1 & 4.2.
TMU
MTH 240
Functions of several variables.
Definition: A function of two variables is a rule that assigns to
each ordered pair of real numbers (x, y ) in a set D a unique real
number denoted by f (x, y ). The set D is the domain of f and its
range is the set of values that f takes on, that is,
{f (x, y )|(x, y ) 2 D}.
Sometimes we write z = f (x, y ). The variables x and y are called
independent variables and z is the dependent variable.
If a function f is given by a formula and no domain is specified ,
then the domain of f is considered to be the set of all pairs (x, y )
for which the given expression is a well defined real number.
Example 1: Find the domain and range of the function
f (x, y ) = xy 2
Example p
2: Find the domain and range of the function
f (x, y) = x + y
Find and sketch the domain of the
Problem 1
function
f (x, y ) =
p
y+
p
25
x2
y2
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) 2 R3 such that z = f (x, y )
with (x, y ) 2 D.
Example 3: Graph g(x, y) =
p
9
x2
y2
Example 4: Sketch the graph of f (x, y ) =
2x
y +4
Level Curves
Example:
Limit
Definition: Let f be a function of two variables whose domain D
includes points arbitrarily closed to (a, b) then, we say that the
limit f (x, y ) as (x, y ) approaches (a, b) is L and we write
lim
(x,y )!(a,b)
f (x, y ) = L
if for every number โ >
p0 there is a corresponding > 0 such that
if (x, y ) 2 D and 0 < (x a)2 + (y b)2 < then
|f (x, y ) L| < โ.
For functions of a single variable, the limit exists if both
lateral limits exist and are equal
If the lateral limits are di↵erent then the limit does not exist.
In the two dimensional space, there exists an infinite number
of ways of approaching a point
Theorem: If f (x, y ) ! L1 , as (x, y ) ! (a, b) along path C1 , and
f (x, y ) ! L2 as (x, y ) ! (a, b) along path C2 and L1 6= L2 then
lim
(x,y )!(a,b)
does not exist.
f (x, y )
Example 5: Prove that the limit
2x y
does not exist.
(x,y)!(0,0) 3x + y
lim
Example 6: Does the limit
3yx 2
exist?
(x,y )!(0,0) x 4 + 2y 2
lim
So far we have seen how to prove that the limit does not exist for
some examples.
How to prove that the limit does exist?
If it does exist, how to find it?
Try direct substitution
Example 7: Find the limit
lim
(x,y )!(1, 1)
e xy cos(x + y)
Example 8: Find the limit
x4 y4
(x,y )!(0,0) x 2 + y 2
lim
Continuity
Definition: A function f of two variables is continuous at (a, b) if
lim
(x,y )!(a,b)
f (x, y ) = f (a, b)
we say that f is continuous on D if f is continuous at every point
(a, b) in D.
Sums, di↵erences, products, etc. of continuous functions are
continuous on their domains.
Example 10: f (x, y) = x2 ln y
Example 11: Is function
8 4
y4
< x
f (x, y ) =
x2 + y2
:
0
continuous?
if (x, y ) 6= (0, 0)
if (x, y ) = (0, 0)
Remark: These ideas can be naturally extended to the case of
more variables
Additional examples:
Find the limit if it exists or show that the limit does not exist.
5y 4 cos2 x
Problem 2:
lim
(x,y )!(0,0) x 4 + y 4
Problem 3:
Problem 4:
x 2 ye y
lim
(x,y )!(0,0) x 4 + 4y 2
lim
(x,y ,z)!(โก,0,1/3)
2
e y tan(xz)
Determine the set of points at which the function is continuous:
p
Problem 5:
F (x, y ) = 1 + x y
ex + ey
Problem 6:
H(x, y ) = xy 1
e
Problem 7:
(
xy
if (x, y ) 6= (0, 0)
2
x + xy + y 2
f (x, y ) =
0
if (x, y ) = (0, 0)
Toronto Metropolitan University
MTH 240
Sec 4.3:
Partial derivatives
TMU
MTH 240
Partial derivatives
If f is a function of two variables, its Partial Derivatives are the
functions fx and fy defined by
f (x + h, y )
h!0
h
fx (x, y ) = lim
f (x, y )
(x, y + h) f (x, y )
h!0
h
fy (x, y ) = lim
There are di↵erent notations fx (x, y ) = fx =
@f
@
=
f (x, y )
@x
@x
The notation f 0 is NEVER USED for partial derivatives
The previous definition has limited practical value.
To find partial derivatives with respect to one variable we regard
the other variables as constants.
Example 1: f (x, y ) = x 2 sin y .
Example 2: f (x, y , z) = 3yx 2 ln z + 2y 2 z 3
Partial derivatives of higher order
Second derivatives are derivatives of the first partial derivatives:
(fx )x = fxx =
@2f
@x 2
(fx )y = fxy =
@2f
@y @x
(fy )x = fyx =
@2f
@x@y
(fy )y = fyy =
@2f
@y 2
The property that mixed partial derivatives are equal is true for
most functions that one meet in practice:
Clairaut’s Theorem:If f is defined on a disk D that contains the
point (a, b). If the functions fxy and fyx are both continuous on D,
then fxy (a, b) = fyx (a, b).
Additional examples:
Find the first partial derivatives of the function:
Problem 1,
u(r .โ) = sin(r cos โ)
y /z
Problem 2,
u =x
Problem 3,
Find the indicated partial derivative:
f (x, y ) = arctan(y /x): fx (2, 3)
Problem 4,
Use implicit di↵erentiation to find
@z/@x and @z/@y : x 2 y 2 + z 2 2z = 4
Problem 5,
z = f (x/y ).
Problem 6,
y
v =e xe
Find @z/@x and @z/@y :
Find all the second partial derivatives
Toronto Metropolitan University
MTH 240
Sec 4.5: Chain rule
TMU
MTH 240
Chain Rule for functions of a single variable
[f (g (x))]0 = f 0 (g (x)) · g 0 (x) =
df dg
·
dg dx
For functions of several variables we have analogous results. We
will present first some particular cases and finally the general
formula.
Case 1
z = f (x, y ) is di↵erentiable function of x and y where
x = g (t), y = h(t) are both di↵erentiable functions of t, then
dz
@z dx
@z dy
=
·
+
·
dt
@x dt
@y dt
Example 1: Find
dz
if z = cos(x + 4y ), x = 5t 4 , y = 1/t
dt
Case 2
Suppose z = f (x, y ) is di↵erentiable function of x and y where
x = g (s, t) and y = h(s, t) are di↵erentiable functions of s and t.
Then,
@z
@z @x
@z @y
=
·
+
·
@s
@x @s
@y @s
@z
@z @x
@z @y
=
·
+
·
@t
@x @t
@y @t
@z
@z
Example 2 Problem 10, Section 14.2. Find
and
if
@s
@t
s
t
z = e x+2y with x = and y = .
t
s
Chain Rule (General Version)
Suppose that u is a di↵erentiable function of the variables
x1 , x2 , ...xn and each xj is a di↵erentiable function of the m
variables t1 , t2 , ...tm then u is a function of t1 , t2 , ...tm and
@u
@u @x1
@u @x2
@u @xn
=
·
+
·
+ ...
·
@ti
@x1 @ti
@x2 @ti
@xn @ti
for each i = 1, ...m
Example 3: Problem 5, Section 14.5. Find
w = xe y /z and x = t 2 , y = 1
dw
if
dt
t, z = 1 + 2t
Higher derivatives
Example 4: For the function z = e x+2y , with x =
find
@2z
@s 2
s
t
and y = ,
t
s
Implicit Function Theorem
Suppose z is defined implicitly as a function of x and y by the
expression F (x, y , z) = 0. Then we have
@z
=
@x
@F
@x
@F
@z
@z
=
@y
@F
@y
@F
@z
and
provided
@F
6= 0.
@z
Additional examples:
Problem 1. Use the chain rule to find @z/@s
and@z/@t
p
s = e r cos โ, r = st, โ = s 2 + t 2
Problem 2. Use a tree diagram to write out the chainrule for the
given case. Assume all functions are di↵erentiable.
u = f (x, y ), where x = x(r , s, t), y = y (r , s, t)
Problem 3. Use the chain rule to find the indicated partial
derivatives:
@u/@↵, @u/@
u = xe ty , x = ↵2 , y =
2
and @u/@ when ↵ =
1,
,t=
= 2,
2↵
=1
Additional examples(cont):
Problem 4. Use implicit differentiation to find @z/@x and
@z/@y :
e z = xyz
Problem 5.
y = e s sin t, show that
โ
@u
@x
โ2
+
โ
@u
@y
If u = f (x, y ) where x = e s cos t and
โ2
= e 2s
"โ
@u
@s
โ2
+
โ
@u
@t
โ2 #
Toronto Metropolitan University
MTH 240
Sec 4.7
: Maximum and minimum values
TMU
MTH 240
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). The number
f (a, b) is called a local maximum value.
If f (x, y ) ๏ฃฟ f (a, b) for all points in the domain of f , then f has an
absolute maximum at (a, b).
The definition for the minimum is analogous:
Definition: A function of two variables has a local minimum at
(a, b) if f (x, y ) f (a, b) when (x, y ) is near (a, b). The number
f (a, b) is called a local minimum value.
If f (x, y ) f (a, b) for all points in the domain of f , then f has an
absolute minimum at (a, b).
Theorem: If f (x, y ) has a local maximum or minimum at (a, b)
and the first-order partial derivatives of f exist there then:
fx (a, b) = 0 and fy (a, b) = 0
Example 1: f (x, y ) = x 2 + 2y 2 + 6x
4y + 3
Remark: A point (a, b) is called a critical point of f if both partial
derivatives are equal to 0, or if at least one of these partial
derivatives does not exist.
The second derivative test
Suppose the second partial derivatives of f (x, y ) are continuous on
a disk with center (a, b) and suppose that fx (a, b) = 0 and
fy (a, b) = 0 [(a, b) is a critical point].
Consider D = D(a, b) = fxx (a, b)fyy (a, b)
[fxy (a, b)]2
a) If D > 0 and fxx (a, b) > 0 then f (a, b) is a local minimum.
b) If D > 0 and fxx (a, b) < 0 then f (a, b) is a local maximum.
c) If D < 0 then f (a, b) is not a local maximum or minimum.
Example 1 (cont.)
fxx = 2
fyy = 4
fxy = 0
Some remarks:
i) Case (c): Saddle point.
ii) If D = 0 the test gives no information.
iii) D can be written as D =
fxx
fyx
fxy
fyy
2
Example 2: f (x, y) = e4y x
y2
Example 2 (cont.) Second derivative test:
Absolute Maximum and Minimum values
Theorem: If f is continuous on a closed bounded set D in R2 ,
then f attains an absolute maximum value f (x1 , y1 ) and an
absolute minimum value f (x2 , y2 ) at some points (x1 , y1 ) and
(x2 , y2 ) in D.
To find the extreme values of a continuous function f on a closed
bounded set D.
a) Find critical points of f in D.
b) Find the extremes of f on the boundary of D.
- The largest (smallest) of the values of f on steps a) and b) is the
absolute maximum (minimum) of f on D.
Additional Examples:
Problem 1. Find the local maximum and minimum values and
saddle point(s) of the function:
f (x, y ) = xy (1
x
y)
Find the absolute maximum and minimum values of f on the set D
Problem 2:
f (x, y ) = 4x + 6y x 2 y 2 ,
D = {(x, y )|0 ๏ฃฟ x ๏ฃฟ 4, 0 ๏ฃฟ y ๏ฃฟ 5}
Problem 3.
2
f (x, y ) = xy ,
D = (x, y )|x
0, y
0x 2 + y 2 ๏ฃฟ 3
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )