Professional Documents
Culture Documents
Enginnering Calculus All Notes Combined
Enginnering Calculus All Notes Combined
Enginnering Calculus All Notes Combined
(Lecture-1)
Texts
1 Maurice D. Weir and Joel Hass, Thomas’ Calculus, 12th Edition, Pearson Education India,
2016.
2 K. A. Ross, Elementary Analysis: The Theory of Calculus, 2nd Edition, Springer, 2013.
References
1 S. R. Ghorpade and B. V. Limaye, An Introduction to Calculus and Real Analysis, Springer
India, 2006.
2 James Stewart, Calculus, 7th Edition, Brooks Cole Cengage Learning, 2012.
3 Bartle and Shebert, Introduction to Real Analysis, 4th Edition, Wiley, 2014.
4 Erwin Kreyszig, Advanced Engineering Mathematics, 10th edition, Wiley, 2010.
To develop the fundamental ideas of the differential and integral calculus to functions of one
variable.
To develop the problem-solving skills related to limit, continuity, differentiation, integration etc.
using some computational software packages
We learn
What Is Calculus?
Practical Applications of calculus,
Real Number System
Real Number R,
Intervals,
Neighbourhood of a point.
What Is Calculus?
Calculus is a branch of mathematics that involves the study of rates of change.
Gottfried Leibniz and Isaac Newton, 17th-century mathematicians, both invented
calculus independently. Newton invented it first, but Leibniz created the notations that
mathematicians use today.
There are two types of calculus: Differential calculus determines the rate of change of
a quantity, while integral calculus finds the quantity where the rate of change is known.
Practical Applications
Calculus has many practical applications in real life.
calculus is used to help define, explain, and calculate motion, electricity, heat, light.
calculus is used to check answers for different mathematical disciplines such as
statistics, analytical geometry, and algebra.
1.jpg
Lecture-1 ( Real Number System) Engineering Calculus 6 / 13
Real Number System
3.jpg
Lecture-1 ( Real Number System) Engineering Calculus 7 / 13
Real Line (R)
Definition
A real number line, allows us to visually display real numbers by associating them with unique
points on a line. To construct a real number line, draw a horizontal line with arrows on both ends to
indicate that it continues without bound.
2.jpg
Definition
A (real) interval is a set of real numbers that contains all real numbers lying between any two
numbers of the set.
Open Interval
If a and b are two real numbers such that a < b, then the set
{x ∈ R : a < x < b}
consisting of all real numbers between a and b (excluding a and b) is called an open interval and is
denoted by (a, b).
Closed Interval
The set
{x ∈ R : a ≤ x ≤ b}
consisting of a, b and all real numbers between a and b is called an closed interval and is denoted
by [a, b].
The set R
R = (−∞, ∞)
δ neighbourhood of a point
Let a ∈ R and δ > 0. Then the δ neighbourhood of a defined as
(a − δ, a + δ) = {x ∈ R : a − δ < x < a + δ}
=⇒ Nδ (a) = (a − δ, a + δ) = {x ∈ R : |x − a| < δ}
Limit Point
A real number b ∈ R is a limit point of a set S(⊆ R) if every neighbourhood of b contains at-least
one member of S other than b.
Note:
The set of all limit point of a set S denoted by S 0
A limit point of a set may or may not be member of the set.
Example:1
Let S = R. Then S 0 = R.
Example:2
Let S = {1, 2, 3, 4}. Then S has no limit point.
Example:3
1
: n ∈ N . Then S 0 = {0}.
Let S = n
Here limit point is not a member of the set.
Example:1
Let S = (a, b), a, b ∈ R. Then S 0 = [a, b].
Lecture-1 ( Real Number System) Engineering Calculus 12 / 13
Lecture-1 ( Real Number System) Engineering Calculus 13 / 13
Engineering Calculus-EMAT101L
(Lecture-2)
We learn
Neighbourhood of a point.
Bounded and Unbounded sets,
Supremum and Infimum,
Completeness property of R,
Archimedean Property of R.
δ neighbourhood of a point
Let a ∈ R and δ > 0. Then the δ neighbourhood of a defined as
(a − δ, a + δ) = {x ∈ R : a − δ < x < a + δ}
=⇒ Nδ (a) = (a − δ, a + δ) = {x ∈ R : |x − a| < δ}
Bounded above
A subset S of real numbers is said to be bounded above if ∃ a real number K such that every
member of S is less than or equal to K, i.e,
x≤K x ∈ S.
Note: If no such K exists, the set S is said to be unbounded above or not bounded above.
Bounded below
A subset S of real numbers is said to be bounded below if ∃ a real number k such that every
member of S is greater than or equal to K, i.e,
x≥K x ∈ S.
Note: If no such k exists, the set S is said to be unbounded below or not bounded below.
Bounded
A subset S of real numbers is said to be bounded if it is bounded above as well as bounded below.
Example:1
Let S = {2, 4, 6, 8, 10}.
Lower bounds of S = (−∞, 2] and inf S= 2.
Upper bounds of S = [10, ∞) and sup S= 10.
Note: Here sup S and inf S exist and belong to the set.
Example: 2
1
Let S = { n : n ∈ N}.
Lower bounds of S = (−∞, 0] and inf S= 0.
Upper bounds of S = [1, ∞) and sup S= 1.
Note: Here sup S exist and belong to the set. inf S exist but does not belongs to the set.
Example: 3
Let S = {x ∈ R : x > 0}.
Lower bounds of S = (−∞, 0] and inf S= 0.
But it has no upper bounds. So sup S does not exist.
Archimedean property
1
For any > 0, there ∃ a natural number n, such that n
< .
(Lecture-3)
Sequence
Definition
A mapping f : N → R is said to be a sequence in R or a real sequence.
Note:
• A sequence f is generally denoted by the symbol {f (n)}∞ n=1 . Simply we can write {f (n)}.
• Here f (n) is the nth element of the sequence.
• The symbols like {un }, {vn }, {xn } etc. shall also be used to denote a sequence.
Examples:
1 Let f : N → R be defined by f (n) = n. Then the sequence is {n} = {1, 2, 3, ...}
n n
2 Let f : N → R be defined by f (n) = n+1
. Then the sequence is { n+1 } = { 12 , 23 , 43 , ...}
nπ
3 Let f : N → R be defined by f (n) = sin 2 . Then the sequence is
{sin nπ
2
} = {1, 0, −1, , 0, 1, 0...}
Definition
A sequence {xn } is:
bounded above: if there exists M ∈ R such that, for all n ∈ N, xn ≤ M ;
bounded below: if there exists m ∈ R such that, for all n ∈ N, xn ≥ m;
bounded: if it is both bounded above and bounded below.
examples:
1 1
1 The sequence n
is bounded since 0 < n
≤ 1.
2 The sequence {n} is bounded below but is not bounded above.
3 The sequence {−n} is bounded above but is not bounded below.
Definition
A sequence {xn } is:
strictly increasing: if, for all n ∈ N, xn < xn+1 ;
increasing: if, for all n ∈ N, xn ≤ xn+1 ;
strictly decreasing if, for all n ∈ N, xn > xn+1 ;
decreasing if, for all n ∈ N, xn ≥ xn+1 ;
monotonic if it is increasing or decreasing or both;
Note:
Each increasing sequence {xn } is bounded below.
Each decreasing sequence {xn } is bounded above.
examples:
1 The sequence {n} is is strictly increasing, since n < n + 1;
2 The sequence {−n} is is strictly decreasing, since −n > −(n + 1);
Definition
We say that a sequence {xn } converges to a real number L, if for every > 0 (given), there exists
N ∈ N (depending on ) such that
for all n ≥ N =⇒ |xn − L| < i.e. xn ∈ (L − , L + )
The same thing expressed in symbol is
xn → L as n → ∞ or lim xn = L.
n→∞
Examples;1
1
1 Show that lim = 0.
n→∞ n
Example:2
n
Show that lim = 1.
n→∞ n+1
Theorem
A monotonic increasing sequence which is bounded above is convergent and converges to its
least upper bound.
A monotonic decreasing sequence which is bounded below is convergent and converges to
its greatest lower bound.
Example:
1
Show that the sequence {xn } is convergent where xn = 1 − n
, ∀n ∈ N.
Now
1 1 1
xn+1 − xn = − = > 0, ∀n
n n+1 n(n + 1)
Therefore, the sequence {xn } is monotonic increasing.
Again
1
xn = 1 − < 1
n
. i.e., the sequence {xn } is bounded above.
Hence, the sequence being monotonic increasing and bounded above, is convergent.
(Lecture-4,5,6)
Sequence
We learn
Sequence
Theorem
Let {xn }∞ ∞
1 and {yn }1 be two convergent sequences such that lim xn = L and lim yn = M .
n→∞ n→∞
Then
(i) lim {xn + yn } = L + M .
n→∞
(ii) lim {xn − yn } = L − M .
n→∞
(iii) lim {cxn } = cL, c ∈ R.
n→∞
(iv) lim {xn yn } = LM .
n→∞
n o
xn L
(v) lim y
= M if M 6= 0.
n→∞ n
Examples:
Find thelimit of the
followingsequences:
∞
5 ∞ 3n2 − 6n n−1
(i) 2
, (ii) 2
, (iii) lim n
.
n 1 5n + 4 1 n→∞
Solution: (i)
5 1 1 1 1
lim = lim 5 · · = 5 · lim · lim = 5 · 0 · 0 = 0.
n→∞ n2 n→∞ n n n→∞ n n→∞ n
and
lim (5 + 4/n2 ) = 5 + 4 lim 1/n2 = 5 + 4 · 0 = 5.
n→∞ n→∞
Therefore,
3n2 − 6n 3 − 6/n 3
lim = lim = .
n→∞ 5n2 + 4 n→∞ 5 + 4/n2 5
(iii)
n−1 1 − 1/n 1
lim = lim = 1 − lim = 1 − 0 = 1.
n→∞ n n→∞ 1 n→∞ n
Theorem:1
A convergent sequence has a unique limit.
Proof: Let, if possible, a sequence {xn } converges to two real numbers L and L0
Therefore, lim xn = L and lim xn = L0 .
n→∞ n→∞
Now, L − L0 = lim xn − lim xn = lim (xn − xn ) = 0
n→∞ n→∞ n→∞
=⇒ L = L0 .
Hence, a convergent sequence has a unique limit.
Theorem:2
Every convergent sequence is bounded.
Theorem
A monotonic increasing sequence which is bounded above is convergent and converges to its
least upper bound.
A monotonic decreasing sequence which is bounded below is convergent and converges to
its greatest lower bound.
Example:
1
Show that the sequence {xn } is convergent where xn = 1 − n
, ∀n ∈ N.
Now
1 1 1
xn+1 − xn = − = > 0, ∀n
n n+1 n(n + 1)
Therefore, the sequence {xn } is monotonic increasing.
Again
1
xn = 1 − < 1
n
. i.e., the sequence {xn } is bounded above.
Hence, the sequence being monotonic increasing and bounded above, is convergent.
Let N = max{N1 , N2 }. Then, L − < xn (from (1)) and zn < L + ( from (2)). Thus
L − < xn ≤ yn ≤ zn < L + .
Examples
Using Sandwich theorem, prove the following:
cos n
(i) lim n
= 0.
n→∞
1
(ii) lim n = 0.
n→∞ 2
1
(iii) lim (−1)n n = 0.
n→∞
(iv) If 0 < b < 1, then lim bn = 0.
n→∞
√
(v) lim n n = 1.
n→∞
n cos n o∞ −1 cos n 1
Solution: (i) Consider the sequence . Then ≤ ≤ . Hence by Sandwich
n n=1 n n n
cos n
theorem, lim = 0.
n→∞ n
1 1 1 1
(ii) As 0 < n < and → 0 as n → ∞, n also converges to 0 by Sandwich theorem.
2 n n 2
−1 1 1 1 1
(iii) As ≤ (−1)n ≤ for all n ≥ 1 and → 0 as n → ∞, (−1)n also converges to 0 by
n n n n n
Sandwich theorem.
n(n − 1) 2
n = (1 + an )n ≥ an .
2
q q
2 2
Thus 0 ≤ an ≤ (n−1)
(n ≥ 2). As (n−1)
→ 0 as n → ∞, by Sandwich theorem, an → 0,
1
i.e., n n → 1 as n → ∞.
Null Sequence
A sequence {xn } is said to be null sequence if it converges to 0, i.e. lim xn = 0
n→∞
Divergent Sequence
A sequence {xn } is said to be divergent sequence if lim xn = −∞ or lim xn = +∞
n→∞ n→∞
Example: {n2 } diverges to +∞ and {−n2 } diverges to −∞
Oscillatory sequence
A sequence which is neither convergent nor divergent is called oscillatory sequence.
A bounded sequence which does not convergent, and has at least two limit points, is said to
finitely oscillating sequence.
Example:{xn } = {(−1)n } = {−1, 1, −1, 1, ...}. It is bounded and has two limits −1 and 1.
So it is not convergent. But this sequence oscillate finitely between −1 and 1.
An unbounded sequence which is diverges neither to ∞ and to −∞ is said to oscillate
infinitely.
Example:{xn } = {(−1)n n}. It is unbounded sequence and it is not properly divergent. It is
an oscillatory sequence of infinite oscillation.
(Lecture-7 and 8)
Sequence
We learn
Sequence
Result:1
xn+1
Let {xn } be a sequence of positive real number such that lim = L.
n→∞ xn
(i) If 0 ≤ L < 1, then lim xn = 0.
n→∞
(ii) If L > 1, then lim xn = ∞.
n→∞
Examples
(i) Let {xn } = { 2nn }. xn+1 n + 1 2n 1 1 1
Now, lim = lim = lim 1 + =
n→∞ xn n→∞ n 2n+1 n→∞ n 2 2
1
. Since, 2
< 1, so {xn } = { 2nn } → 0.
(ii) Let {xn } = {ny n−1 }, where y ∈ (0, 1)
Now, xn+1 n + 1 yn 1
lim = lim = lim 1 + y=y
n→∞ xn n→∞ n y n−1 n→∞ n
. Since, 0 < y < 1, so {xn } = {ny n−1 } → 0.
Remark:1
xn+1
If lim = L = 1, we cannot make any conclusion. For example, consider the sequence
n→∞ xn
1
{n}, { n } and { 2+n
n
}.
Lecture-7 and 8 (Sequence) Engineering Calculus 2/9
Some result of positive real number sequence
Result:2
√
n
Let {xn } be a sequence of positive real number such that lim xn = L.
n→∞
(i) If 0 ≤ L < 1, then lim xn = 0.
n→∞
(ii) If L > 1, then lim xn = ∞..
n→∞
Examples:
(i) Let {xn } = { n1n }. √ 1
n
Now, lim xn = lim =0
n→∞ n→∞ n
. Since, L = 0, so {xn } = { n1n } → 0.
3n
(ii) Let {xn } = { 434n } √ 64
n
Now, lim xn =
n→∞ 81
3n
64
. Since, 81
< 1, so {xn } = { 434n } → 0.
Remark:2
√
n
If lim xn = L = 1, we cannot make any conclusion.
n→∞
Result:3
Let {xn } be a sequence of positive real number such that
xn+1
lim = L (finite or infinite). Then,
n→∞ xn
√
lim n xn = L.
n→∞
Example:
Prove that √
n
lim n+1=1
n→∞
Cauchy sequence
A sequence {xn } is called a Cauchy sequence if for any given > 0, there exists N ∈ N such
that
|xn − xm | < for all n, m ≥ N.
Example
1
Show that the sequence { n } is a Cauchy sequence.
|xn − xm | < , ∀ m, n ≥ N.
i.e. Every convergent sequence is a Cauchy sequence and every Cauchy sequence of real
number is convergent sequence.
Subsequence
Let {xn } be a sequence and {nk } be a strictly monotonic increasing sequence of natural number.
Then the sequence {xnk }∞ ∞
k=1 is called a subsequence of {xn }n=1 .
Example:
1
Let {xn }= { n }.
Then for {nk } = {2k}, k ∈ N,
n o∞
1 ∞
{xnk }∞
k=1 = n
1
= 2k k=1
1
is a subsequence of { n }.
k k=1
Theorem:
Let {xn } be a sequence.
if {xn } converges to L, then every subsequence of {xn } converges to L.
if {xn } has two subsequence that converges two different limits, then {xn } does not
converges.
Bolzano-Weierstrass Theorem
Every bounded sequence has a convergent subsequence.
Series
We learn
Series
Definition of Series,
Necessary and sufficient condition for convergence,
Necessary condition for convergence of an series.
Geometric Series.
Definition
A series is the sum of the terms of a sequence. Thus if {un } be a sequence of real numbers, then
the sum
u1 + u2 + . . . + un + . . .
of all the terms is called an infinite series and is denoted by
∞
X X
un or simply by un
n=1
i.e.
s1 = u1 , s2 = u1 + u2 ,
s3 = u1 + u2 + u3 , ... ...
P
is called the sequence of partial sums of the series un .
Example:1
∞
P 1
Show that n(n+1)
converges to 1.
n=1
∞
P 1
Solution: Let {sn } be the sequence of partial sums of the series n(n+1)
.
n=1
Then
1 1 1
sn =
+ + ... +
1.2 2.3 n(n + 1)
1 1 1 1 1 1
=⇒ sn = 1 − + − + ... + − =1− .
2 2 3 n n+1 n+1
1
Now, since lim sn = lim 1 − n+1 = 1, so the sequence {sn } converges to 1.
n→∞ n→∞
∞
P 1
Hence, the series n(n+1)
is convergent and converges to 1.
n=1
Lecture-9 and 10 (Series) Engineering Calculus 3/6
Lemma
∞
P ∞
P ∞
P
(a) If un converges to L and vn converges to M, then (un + vn ) converges to L + M.
n=1 n=1 n=1
∞
P ∞
P
(b) If un converges to L and if c ∈ R, then the series cun converges to cL.
n=1 n=1
∞
P
Proof: Suppose un = L. Then the sequence of partial sums {sn } also converges to L. Now
n=1
un = sn − sn−1 → L − L = 0 as n → ∞.
Hence for a convergent series, lim un = 0.
n→∞
In other words, a series cannot converge if its nth term does not tend to zero i.e
∞
P
if lim un 6= 0, then un diverges.
n→∞ n=1
∞
P
Note: Converse of the above theorem i.e. lim un = 0 does not prove that a series un is
n→∞ n=1
convergent.
∞
P 1 1
Example: n
diverges, however lim = 0.
n=1 n→∞ n
Geometric Series
Geometric series are series of the form
∞
X
a + ar + ar2 + ...arn−1 + ... = arn−1
n=1
Series
We learn
Series
Comparison test
Theorem
A series of positive terms converges if and only if the sequence of its partial sums is bounded
above.
Theorem
A positive term series
X 1
converges for p > 1
np
X 1
diverges for p ≤ 1
np
.
Examples
∞ ∞
P 1 1 1 P 1
1 The series (n+1)2
converges, because (n+1)2
≤ n2
and n2
converges.
n=1 n=1
∞ ∞
P 1√ 1 1√ P 1
2 The series n+ n
diverges, because 2n
≤ n+ n n
diverges.
n=1 n=1
Example
∞ 2n + 1
P
(1) Consider the series 2
.
n=1 (n + 1)
2n + 1
Here un = .
(n + 1)2
1
Let vn = .
2n + 1
n
un (n + 1)2 2n2 + n
Then lim = lim = lim 2 = 2 > 0.
n→∞ vn n→∞ 1 n→∞ n + 2n + 1
n
∞ ∞
P P 1
Now, vn = n
diverges.
n=1 n=1
∞
P ∞ 2n + 1
P
Thus by limit comparison test, the given series i.e un = 2
diverges.
n=1 n=1 (n + 1)
Lecture-11 and 12 (Series) Engineering Calculus 4/7
D’Alembert’s ratio test
P un+1
Let un be a series of positive real numbers such that lim = l.
n→∞ un
P
(i) If l < 1, then Pun is convergent.
(ii) If l > 1, then un is divergent.
Example
∞ nn
P
(1) Consider the series .
n=1 n!
nn
Here un = .
n!
un+1 n n
Then lim = lim n+1
n
= lim 1 + 1
n
= e > 1.
n→∞ un n→∞ n→∞
∞
P ∞ nn
P
Then by D’Alembert’s ratio test, the given series i.e un = diverges.
n=1 n=1 n!
Example
∞
P nn
(1) Consider the series .
n=1 31+2n
nn
Here un = .
31+2n
√ n ∞
Then lim n un = lim 1 +2 = 32
> 1.
n→∞ n→∞
3 n
∞
P ∞
P nn
Then by Cauchy’s root test, the given series i.e un = 1+2n
diverges.
n=1 n=1 3
(Lecture-13)
Series
We learn
Series
Alternating series
Leibniz’s test
Result
∞
P ∞
P
If un converges absolutely, then un converges.
n=1 n=1
Then
∞
P
(a) un converges absolutely if L < 1.
n=1
∞
P
(b) un diverges if L > 1.
n=1
(c) the test fails if L = 1.
which is less than 1. So L < 1. Thus the given series converges absolutely
Then
(a) the series converges absolutely if L < 1;
(b) the series diverges if L > 1;
(c) the test fails if L = 1.
Examples
∞ xn
P
(1) Find the value of x ∈ R for which the series converges or diverges.
s n=1 n
xn xn x
Here un = . Therefore, n = √ → |x|. Thus the series converges absolutely for
n n n n
|x| < 1 and diverges for |x| > 1.
∞ xn
P
(2) Find the value of x ∈ R for which the series n
converges.
n=1 n
x n
x
p
Here un = n . Then, n |an | = → 0. Thus the series converges absolutely for x ∈ R.
n n
Definition
An alternating series is an infinite series whose terms alternate in sign. i.e.
∞
X
(−1)n+1 un
n=1
is an alternating series.
Examples
∞ (−1)n+1
P
(3) The series converges conditionally.
n=1 n
∞ (−1)2n−1
P
(4) The series converges conditionally.
n=1 2n − 1
Function
A function f from a set A to a set B is a rule that assigns each element of A
to a unique element of B.
f :A→B
Domain of the function : set A
Range of the function : set {f (x) ∈ B : x ∈ A}
Question
What do we mean when we say that
lim f (x) = L
x→c
Informally, we might say that as x gets ’closer and closer’ to c, f (x) should get
’closer and closer’ to L.
Example:1
Let
|x|
f (x) = , x∈R
x
Evaluate, lim f (x), does it exist?
x→0
Example:2
Let (
x−1 x≤0
f (x) =
x+2 x>0
Evaluate, lim f (x), does it exist?
x→0
lim f (x) = 2
x→0+
lim f (x) = −1
x→0−
Since,
lim f (x) 6= lim+ f (x)
x→0− x→0
(
x2 x<1
f (x) = Evaluate, lim f (x), does it exist?
2 x≥1 x→1
(
x2 − x3 x<2
f (x) = Evaluate, lim f (x), does it exist?
5x − 14 x≥2 x→2
(
2x2 x≤6
f (x) = Evaluate, lim f (x), does it exist?
x−8 x>6 x→6
Theorem
Suppose lim f (x) = L and lim g(x) = M , then
x→c x→c
(a) lim (f (x) ± g(x)) = L ± M .
x→c
(b) lim (f (x).g(x)) = LM
x→c
f (x) L
(c) lim = M, when M 6= 0,
x→c g(x)
(d) lim [f (x)]n = Ln where n is a positive integer.
x→c
(d) Sandwich Therem
Suppose that h(x) satisfies f (x) ≤ h(x) ≤ g(x) in an interval containing c,
and L = M . Then lim h(x) = L.
x→c
lim f (x) = L
x→c
(
x2 − x3 x < 2
Example: f (x) = Evaluate, lim f (x).
5x − 14 x ≥ 2 x→2
Definition
lim f (x) = L
x→c
Means that
given any > 0 for L
we can find a δ > 0 for c such that
if x is between c − δ and c + δ, but x is not c,
f (x) will be between L − and L + .
Limits at infinity
1
Evaluate lim f (x) and lim f (x), where f (x) = x
x→∞ x→−∞
1
lim f (x) = lim =0
x→∞ x→∞ x
1
lim f (x) = lim =0
x→−∞ x→−∞ x
Horizontal Asymptote
A line y = b is a horizontal asymptote of the graph of a function y = f (x) if
either lim f (x) = b or lim f (x) = b.
x→∞ x→−∞
Infinite Limits
1
Evaluate lim+ f (x) and lim− f (x) where f (x) = x
x→0 x→0
1
=∞
lim+ f (x) = lim+
x→0 x→0 x
1
lim− f (x) = lim− = −∞
x→0 x→0 x
Vertical Asymptote
A line x = a is a vertical asymptote of the graph of a function y = f (x) if either
lim+ f (x) = ±∞ or lim− f (x) = ±∞.
x→a x→a
Definition
A real valued function f (x) is said to be continuous at x = c of its domain if
(i) f (c) is defined,
(ii) lim f (x) exists,
x→c
(iii) lim f (x) = f (c).
x→c
Definition (Another)
A real valued function f (x) is said to be continuous at x = c of its domain if
Example
(
sin x
x
x 6= 0
Show that f (x) = is continuous at 0.
1 x=0
Solution:
f (0) = 1
lim sinx x = 1
x→0
sin x
lim x
= f (0)
x→0
Example
(
3
2
x x≥2
Show that f (x) = is continuous at 2.
2x − 1 x<2
Solution:
3
f (2) = 2
.2 = 3
lim 2 x = lim 23 2
3
=3
x→2+ x→2+
lim 2x − 1 = lim 2.2 − 1 = 3
x→2− x→2−
lim f (x) = lim f (x) = f (2) = 3.
x→2+ x→2−
Example
Find k, so that the function f defined by
(
kx2 x≤2
f (x) =
x−3 x>2
continuous at x = 2.
Solution:
lim f (x) = lim kx2 = 4k
x→2− x→2−
lim f (x) = lim x − 3 = −1
x→2+ x→2+
f continuous at x = 2, if
lim f (x) = lim f (x) = f (2)
x→2− x→2+
=⇒ 4k = −1
1
=⇒ k = −
4
Discontinuous Function
• A function which is not continuous is called discontinuous function.
Removable discontinuity
• The right-hand limit and the left-hand limit both exist and equal to each other
• But
lim f (x) = lim f (x) 6= f (c)
x→c+ x→c−
4 − 2x x < 1
Example: lim f (x) where f(x)= 6x − 4 x > 1
x→1
3 x=1
Solution: lim f (x) = lim f (x) 6= f (1)
x→1+ x→1−
Jump discontinuity
The right-hand limit and the left-hand limit both exist but not equal:
Theorem
Suppose f and g are continuous at c of its domain. Then
1 f ± g is also continuous at c.
2 f g is continuous at c.
f
3 is continuous at c if g(c) 6= 0.
g
4 |f | is also continuous at c and lim |f (x)| = |f (c)|.
x→c
Theorem
1 Every polynomial function is continuous everywhere on (−∞, ∞).
2 Every rational function is continuous everywhere it is defined, i.e., at every point in its domain.
Its only discontinuities occur at the zeros of its denominator.
Example: Since both f (x) = x2 + 1 and g(x) = cos x are continuous on (−∞, ∞).
Therefore, (g ◦ f )(x) = cos(x2 + 1) are continuous on (−∞, ∞).
Lecture-17 and 18 (Continuous functions of one variable) Engineering Calculus 7 / 10
Properties of continuous functions
Continuity in an interval
A function f is said to be continuous in an interval if it is continuous at every point of the interval.
Theorem
Let f (x) be a continuous function on a closed interval [a, b] and let
Example
Show that f (x) = x2 − 2 has at least one root in (1, 2).
Remark
From the IVT, we can conclude that A continuous function assumes all values between its
maximum and minimum.
Differentiability
is denoted by either
df
f 0 (x) or
dx
. Let’s first look at its definition and a pictorial illustration of the derivative.
In the figure, ∆x represents a change in the value of x. We keep making the interval between x
and (x + ∆x) smaller and smaller until it is infinitesimal. Hence, we have the limit (∆x → 0). The
numerator f (x + ∆x) − f (x) represents the corresponding change in the value of the function f
over the interval ∆x. This makes the derivative of a function f at a point x, the rate of change of f
at that point.
Lecture- 19, 20 and 21 (Differentiability) Engineering Calculus 1 / 22
Differentiability
Let I = [a, b] be an interval and a function f : I → R and let c ∈ (a, b).
Derivative at a point
df
f 0 (c) =
dx x=c
f (x) − f (c)
= lim
x→c x−c
Definition
Let I = [a, b] be an interval and a function f : I → R.
(a) If c is an interior point of I (a < c < b), then f is said to be differentiable at c if
f (x) − f (c)
lim exists,
x→c x−c
i.e. when both the limits
f (x) − f (c) f (x) − f (c)
lim and lim
x→c+ x−c x→c− x−c
Example:1
Show that the function f (x) = x2 ∀ x ∈ R, is differentiable at x = 3.
Solution:
f (x) − f (3) x2 − 32
lim = lim = lim x + 3 = 6
x→3 x−3 x→3 x − 3 x→3
Therefore,
f (x) − f (3)
f 0 (3) = lim = 6.
x→3 x−3
Example:2
Discuss the derivability of the following function at x = 1
(
x 0≤x<1
f (x) =
1 x ≥ 1.
Example:3
Discuss the derivability of the following function at x = 2
(
x−1 x<2
f (x) =
2x − 3 x ≥ 2.
Example:4
Show that the function F (x) = |x + 1| + |x − 1| ∀ x∈R
is not differentiable at x = 1.
Example:5
Show that the function f (x) = |x| ∀ x∈R
is not differentiable at x = 0.
Example:6
Show that the function f (x) = x|x| ∀ x∈R
is differentiable at x = 0.
f (x) − f (c)
f (x) = (x − c) + f (c).
(x − c)
f (x)−f (c)
Now taking the limit x → c and noting that lim (x − c) = 0 and lim (x−c)
= f 0 (c),
x→c x→c
we get the result.
Theorem
f
Let f, g be differentiable at c. Then f ± g, f g, (g(c) 6= 0) are also differentiable at c and
g
(f ± g)0 (c) = f 0 (c) ± g 0 (c)
(f.g)0 (c) = f 0 (c)g(c) + f (c)g 0 (c)
f 0 (c)g(c)−f (c)g 0 (c)
( fg )0 (c) = g 2 (c)
, if (g(c) 6= 0)
. Now,
2 2
h0 (x) = (ex )0 = (ex ).(2x)
Rolle’s Theorem
If a function f (x) defined on [a, b] is
continuous on [a, b],
differentiable on (a, b), and
f (a) = f (b)
Then there exists at least one real number c ∈ (a, b) such that f 0 (c) = 0.
i.e. there is a point c ∈ (a, b) where the tangent to curve f (x) is horizontal
or we can say it is parallel to the X-axis.
Example:
Verify Rolle’s theorem for the function f (x) = x2 + 2, a = −2 and b = 2.
f 0 (c) = 0 =⇒ 2c = 0 =⇒ c = 0.
Geometric interpretation
Geometrically, the LMVT describes a relationship between the slope of the tangent line and the
slope of a secant line.
Example:
Show that | cos x − cos y| ≤ |x − y| for all x, y ∈ R.
Example:
• Show that | sin x − sin y| ≤ |x − y| for all x, y ∈ R.
f (x) A
lim = .
x→c g(x) B
L’Hospital’s Rule
L’Hospital’s Rule states that for functions f and g which are differentiable on an open interval I
except possibly at a point c contained in I, if lim f (x) = lim g(x) = 0 or ±∞ and g 0 (x) 6= 0 for
x→c x→c
f 0 (x)
all x in I with x 6= c, and limx→c g 0 (x)
exists, then
f (x) f 0 (x)
lim = lim 0 .
x→c g(x) x→c g (x)
Examples
1 − cos x ex − 1 ln x
Evaluate (i) lim , (ii) lim , (iii) lim .
x→0 x2 x→0 x x→1 x−1
Solution: (i)
1 − cos x 0
lim form
x→0 x2 0
sin x 0
= lim form
x→0 2x 0
cos x
= lim
x→0 2
1
= .
2
ex − 1 ex
0
(ii) lim form = lim = 1.
x→0 x 0 x→0 1
ln x 0 (1/x)
(iii) lim form = lim = 1.
x→1 x − 1 0 x→1 1
Examples
ln x ln sin x
Evaluate (i) lim , (ii) lim e−x x2 , (iii) lim .
x→∞ x x→∞ x→0 ln x
ln x ∞ (1/x)
Solution: (i) lim form = lim = 0.
x→∞ x ∞ x→∞ 1
(ii)
x2 ∞
lim e−x x2 x
= form lim
x→∞ x→∞ e ∞
2x ∞
= lim x form
x→∞ e ∞
2
= lim = 0.
x→∞ ex
Definition
A function f : I → R is said to be strictly increasing on I, if for x, y ∈ I with x < y we have
f (x) < f (y). Also, we say f is strictly decreasing if x < y in I implies f (x) > f (y).
Theorem
Let f : I → R be differentiable function on I. Then
(a) f is strictly increasing on I iff f 0 (x) > 0 for all x ∈ I.
(b) f is strictly decreasing on I iff f 0 (x) < 0 for all x ∈ I.
Stationary points
Stationary point is a value of x where f is defined, and where
f 0 (x) = 0
Example
For f (x) = x4 − 8x2 determine all intervals where f is strictly increasing or strictly decreasing.
Solution : The domain of f (x) is all real numbers, and its Stationary points occur at x = −2, 0,
and 2.
Testing all intervals to the left and right of these values for
Local extremum
A point x = c is called local maximum of f (x), if there exists δ > 0 such that
Similarly, one can define local minimum: x = b is a local minimum of f (x) if there exists δ > 0
such that
b − δ < x < b + δ =⇒ f (b) ≤ f (x).
Theorem
If f (x) has a local maximum or a local minimum value at an interior point c of its domain and f 0 is
defined at c, Then
f 0 (c) = 0
.
Example
Find all the local maxima and minima of the given function
3 4 45 2
f (x) = x + 8x3 + x + 250
4 2
Example
Find all the local maxima and minima of the given function
f (x) = x4 − 8x2
Lecture-22 and 23 (Power series and Taylor series) Engineering Calculus 1/8
Power series
Definition
power series centered at c : If x is a variable, then an infinite series of the form
∞
X
an (x − c)n = a0 + a1 (x − c) + a2 (x − c)2 + ...
n=0
is called a power series centered at c, where an ∈ R represents the coefficient of the nth term and
c ∈ R is a constant.
Remark
A power series
∞
X
an (x − c)n = a0 + a1 (x − c) + a2 (x − c)2 + ...
n=0
This is the geometric series. It converges for |x| < 1 and diverges for |x| ≥ 1.
Lecture-22 and 23 (Power series and Taylor series) Engineering Calculus 2/8
Power series
Theorem
∞
an (x − c)n exactly one of the following three cases is true:
P
For a power series
n=0
Case 1: The series converges only for x = c.
Case 2: The series converges for all x.
Case 3: There exists a positive real number R such that the series converges absolutely for
all real x satisfying |x − c| < R and diverges for all x satisfying |x − c| > R.
Lecture-22 and 23 (Power series and Taylor series) Engineering Calculus 3/8
Computation of Radius of Convergence and finding Interval of
Convergence
Lecture-22 and 23 (Power series and Taylor series) Engineering Calculus 4/8
Power series
Examples
Find the radius of convergence and interval of Convergence of
X xn X xn X
(i) , (ii) , (iii) 2−n xn .
n n!
1 an+1
(i) R
= lim | | = 1,. So R = 1 and the series converges absolutely for all real x
n→∞ an
satisfying |x| < R = 1 and diverges for all x satisfying |x| > R = 1.
1 an+1
(ii) R
= lim | | = 0. So R = ∞, and series converges everywhere.
n→∞ an
1
|an | = 2−1 = . Therefore, R = 2 and the series converges absolutely for all
1
p
n
(iii) R
= lim
n→∞ 2
real x satisfying |x| < R = 2 and diverges for all x satisfying |x| > R = 2.
Lecture-22 and 23 (Power series and Taylor series) Engineering Calculus 5/8
Taylor series
Taylor’s series
The Taylor series of a real-valued function f (x) that is infinitely differentiable at a real number c is
the power series
where f (n) (c) denotes the nth derivative of f evaluated at the point c.
Maclaurin’s series
If c = 0, the formula obtained in Taylor’s theorem is known as Maclaurin’s series
f 0 (0) f 00 (0) 2 f 000 (0) 3
f (x) = f (0) + x+ x + x + ...
1! 2! 3!
∞
X f (n) (0) n
=⇒ f (x) = x .
n=0
n!
Lecture-22 and 23 (Power series and Taylor series) Engineering Calculus 6/8
Examples
Examples
(i) Find Taylor series of f (x) = ex about c = 0.
We have f (n) (x) = ex . So f (n) (0) = e0 = 1.
∞ ∞
X f (n) (0) X xn
f (x) = ex = (x − 0)n = .
n=0
n! n=0
n!
Lecture-22 and 23 (Power series and Taylor series) Engineering Calculus 7/8
Lecture-22 and 23 (Power series and Taylor series) Engineering Calculus 8/8
Engineering Calculus-EMAT101L
Lecture 24 and 25
Riemann Integration
Example : To find the area of the region bounded by the graph of the
√
function f (x) = x between x = 0 and x = 1, one can cross the
interval in five steps (0, 1/5, 2/5, ..., 1), then fill a rectangle using the
√ p p √
right end height of each piece (thus 0, 1/5, 2/5, ..., 1) and sum
their areas to get an approximation of
q q q
1 1
− 0 + 25 2 1 5 5 4
5 5 5 − 5 + ··· + 5 5 − 5 ≈ 0.7497,
https://en.wikipedia.org/wiki/File:
Riemann_Integration_and_Darboux_Upper_Sums.gif
https://en.wikipedia.org/wiki/File:
Riemann_Integration_and_Darboux_Lower_Sums.gif
Riemann Integrals
a = x0 ≤ t1 ≤ x1 ≤ t2 ≤ x2 ≤ · · · ≤ xn−1 ≤ tn ≤ xn = b.
https://upload.wikimedia.org/wikipedia/commons/2/28/Riemann_
integral_regular.gif
1 Cauchy integral
2 Riemann-Stieltjes integral
3 Lebesgue integral
4 Lebesgue-Stieltjes integral
5 Daniell integral
6 Haar integral
7 Henstock-Kurzweil (HK) integral
8 Wiener integral
9 Feynman integral
Question
The two operations are inverses of each other apart from a constant
value which depends where one starts to compute area
F 0 (x) = f (x).
x3
Here, f (x) = x2 and we can use F (x) = as the anti-derivative.
3
5
53 23
Z
125 8 117
∴ x2 dx = F (5) − F (2) = − = − = = 39.
2 3 3 3 3 3
Properties of Definite Integrals
Z b Z b Z b
Linearity: (αf + βg)(x) dx = α f (x) dx + β g(x) dx.
a a a
Z b Z a
f (x) dx = − f (x) dx.
a b
Z b Z c Z b
f (x) dx = f (x) dx + f (x) dx.
a a c
An integrable function f on [a, b], is necessarily bounded on that
interval. Thus there are real numbers m and M so that
m ≤ f (x) ≤ M for all x ∈ [a, b]. Hence we have
Z b
m(b − a) ≤ f (x) dx ≤ M (b − a).
a
Thank You.
Engineering Calculus-EMAT101L
Lecture 26, 27 and 28
Improper Integrals
What is our today’s goal?
If the limit exists and is finite, we say that the improper integral converges.
If the limit goes to infinity or does not exist, then we say that the improper
integral diverges.
Examples of improper integral of first kind
Z ∞ Z b
1 1 1
1 dx = lim dx = lim 1 − = 1.
1 x2 b→∞ 1 x 2 b→∞ b
Z ∞ Z b
dx dx −1
b π
2
2
= lim 2
= lim tan x = .
0 1+x b→∞ 0 1 + x b→∞ 0 2
b
∞
x−p+1 b−p+1
Z Z b
1 1 1
3 dx = lim dx = lim = −
xp b→∞ 1 xp b→∞ 1 − p 1−p 1−p
1
1
1
= if p > 1.
p−1
∞ converges if p > 1,
Z
1
Thus dx
1 xp diverges if p ≤ 1.
Comparison test
Theorem
Suppose 0 ≤ f (x) ≤ g(x) for all x ≥ a, then
Z ∞ Z ∞
1 f (x)dx converges if g(x)dx converges.
a a
Z ∞ Z ∞
2 g(x)dx diverges if f (x)dx diverges.
a a
Proof.
Rx Rx
Define F (x) = a f (t)dt and G(x) = a g(t)dt. Then by properties of
Riemann integral, 0 ≤ F (x) ≤ G(x) and we are given that lim G(x) exists.
x→∞
So G(x) is bounded. F is monotonically increasing and bounded above.
Therefore, lim F (x) exists.
x→∞
Examples
Z ∞
dx
1 converges.
1 x2 (1 + ex )
Z ∞
1 1 dx
Hint: 2 x
< 2 and converges.
x (1 + e ) x 1 x2
∞
x3
Z
2 dx converges.
1 x+1
∞
x3 x2
Z
Hint: ≥ on [1, ∞) and x2 dx diverges.
x+1 2 1
Z ∞
dx
3 √ diverges.
1 1+ x
Z ∞
1 1 1
Hint: √ ≥ √ on [1, ∞) and √ dx diverges.
1+ x 2 x 1 x
Z ∞ √
x
4 dx converges.
1 1 + x5
√ Z ∞
x 1 dx
Hint: 5
≤ 3/2
and 3/2
converges.
Limit comparison test
Theorem
f (x)
Let f (x), g(x) are defined and positive for all x ≥ a and lim = L.
x→∞ g(x)
Z ∞ Z ∞
1 If L ∈ (0, ∞), then the improper integrals f (x)dx and g(x)dx
a a
are either both convergent or both divergent.
Z ∞ Z ∞
2 If L = 0, then f (x)dx converges if g(x)dx converges. i.e,
Z ∞ a Z ∞ a
Let f (x) be defined on (a, c] and f ∈ R[a + , c] for all > 0. Further,
suppose f (x) becomes unbouded only at the endpoint x = a. Then we
define Z c Z c
f (x)dx = lim f (x)dx.
a →0 a+
Rc
Then f (x)dx is said to converge if the limit exists and is finite.
a
Rc
Otherwise, we say improper integral a f (x)dx diverges.
Suppose a1 , a2 , ....an are finitely many points in [a, c] where of f (x) is
unbounded. Then
Z c Z a1 Z a2 Z a3 Z c
f (x)dx = f (x)dx + f (x)dx + f (x)dx + .... + f (x)dx
a a a1 a2 an
If all the improper integrals on the right hand side converge, then we say the
improper integral of f over [a, c] converges. Otherwise, we say it diverges.
Example
Z 1 Z 1 √
dx dx
1 √ = lim √ = lim 2(1 − ) = 2.
0 x →0 x →0
1
x−p+1 1 −p+1
Z Z 1
1 1 1
2 dx = lim dx = lim = − .
0 xp →0 xp →0 1 − p 1−p 1−p
1
= if p < 1.
1−p
1 converges if p < 1,
Z
1
Thus dx
0 xp diverges if p ≥ 1.
Theorem (Comparison Theorem)
Suppose 0 ≤ f (x) ≤ g(x) for all x ∈ (a, c] and are discontinuous at a.
Rc Rc
1 If g(x)dx converges, then
a a f (x)dx converges.
Rc Rc
2 If
a f (x)dx diverges, then a g(x)dx diverges.
Definition
R∞
Let f ∈ R[a, b] for all b > a. Then we say a f (x)dx converges absolutely
R∞
if a |f (x)|dx converges.
Theorem
R∞ R∞
If the integral a |f (x)|dx converges, then the integral a f (x)dx
converges.
Z ∞ Z ∞
sin x cos x
1 dx and dx converges for all p > 0.
1 xp 1 xp
Z 1 Z 1
sin x cos x
2 dx converges for all p < 2 and dx converges for all
0 xp 0 xp
p < 1.
Z 1 Z ∞
p−1 −x
Γ(p) = x e dx + xp−1 e−x dx
0 1
=I1 + I2
Therefore, Γ(p + 1) = p! ∀p ∈ N.
π
Γ(p) · Γ(1 − p) = .
sin (πp)
√
1 1
Γ = π. Hint: choose p = 2 in the above formula.
2
Beta functions
Z 1
For p, q > 0, beta function, β(p, q) = xp−1 (1 − x)q−1 dx.
0
If p > 1 and q > 1, then the integral is definite integral. When p < 1
and/or q < 1, this integral is improper of second kind at 0 and/or 1.
To prove the convergence, we divide as before
Z 1 Z 1/2 Z 1
p−1 q−1 p−1 q−1
x (1 − x) dx = x (1 − x) dx + xp−1 (1 − x)q−1 dx
0 0 1/2
= I1 + I2 .
Z π/2
β(p, q) = 2 sin2p−1 θ cos2q−1 θdθ
0
.
Hint: Substitute x = sin2 θ in β(p, q).
Γ(p)Γ(q)
β(p, q) = .
Γ(p + q)
Thank You.
Engineering Calculus-EMAT101L
Lecture 30
Differentiation under Integration
Leibniz’s rule for differentiation under the integral sign
General form:
R b(x) R b(x)
d
dx a(x) f (x, t)dt = f (x, b(x)).b0 (x) − f (x, a(x)).a0 (x) + ∂
a(x) ∂x f (x, t)dt.
Special cases
tx −1
R1
1 Let g(x) = 0 ln t dt. Then determine the value of g(3).
Ans:
1 Z 1 x
∂ tx − 1
Z
0 t ln t
g (x) = = dt
0 ∂x ln t 0 ln t
1
tx+1 1
= =
x + 1 x+1
0
=⇒ g(x) = ln |x + 1| =⇒ g(3) = ln 4 = 2 ln 2.
Examples II
R1
2 Compute the definite integral 0 (t ln t)50 dt.
Ans:
Z 1 Z 1
d x
t dt = tx ln tdt
dx 0 0
Z 1 Z 1
d50 x
=⇒ 50 t dt = tx (ln t)50 dt
dx 0 0
1
d50 tx+1 d50 1 50!
Now dx50 x+1 = dx50 x+1 = (x+1)51
.
0
Z 1
50!
∴ (t ln t)50 dt = .
0 5151
Examples III
df 1
=⇒ = dx. =⇒ − = x + c.
f2 f (x)
From f (2) = 12 , we have c = −4.
1 1 1 2
∴ f (x) = . =⇒ f ( ) = 1 = .
4−x 2 4− 2
7
Examples IV
23
Ans: 5 . (Excercise)
Thank You.
Functions of Several Variables: Limit and Continuity
(Lecture 31 and 32)
Functions of several variables?
functions which has several input variables and one or more output
variables
For example, the following are Real valued functions of two variables
x, y:
1 f (x, y) = x2 + y 2 is a real valued function defined over R2 .
xy
2 f (x, y) = x2 +y 2 is a real valued function defined over R2 \{(0, 0)}
Some applications for motivation
Let R2 denote the set of all points (x, y) : x, y ∈ R. The open ball of radius
r with center (x0 , y0 ) is denoted by
p
Br ((x0 , y0 )) = {(x, y) : (x − x0 )2 + (y − y0 )2 < r}.
Definition
1 A point (a, b) is said to be interior point of a subset S of R2 if there
exists r such that Br ((a, b)) ⊂ S.
2 A subset S is called open if each point of S is an interior point of S.
3 A subset S is said to be closed if its compliment is an open subset of
R2 .
Examples
lim f (x, y) = L
(x,y)→(a,b)
Note: If limit exists, then it is unique. That is, the limit is independent of
choice of path chosen (x, y) → (a, b).
Some examples of functions where limit do NOT exist
x2 −y 2
Example 1: Show that lim f (x, y) does not exist for f (x, y) = x2 +y 2
.
(x,y)→(0,0)
Answer: We’ll show that the limits along the x and y axes are different,
thus limit cannot exist.
x2 −0
Along x axis, y = 0. So f (x, y) = f (x, 0) = x2 +0
.
=⇒ lim f (x, 0) = 1.
x→0
0−y 2
Along y axis, x = 0. So f (x, y) = f (0, y) = 0+y 2
.
x2 −m2 x2
Along any arbitrary line y = mx. So f (x, y) = f (x, mx) = x2 +m2 x2
.
1 − m2
=⇒ lim f (x, mx) = .
x→0 1 + m2
For different values of m, we have different limits, so limit does NOT exist.
xy 2
Example 2: Does the limit of f (x, y) = x2 +y 4
as (x, y) → (0, 0) exist, and
if yes, then what is the value?
Answer:
lim f (x, 0) = 0 = lim f (0, y).
x→0 y→0
Is this enough to say limit exists and is equal to 0?
Then there are infinitely many straight lines passing through origin. We can
approach through those line, right!
Then,
x(mx)2 m2 x
lim f (x, mx) = lim = lim = 0.
x→0 x→0 x2 + (mx)4 x→0 1 + m4 x2
There exist still infinitely many curved paths to approach the point (0, 0).
continue...
Now consider,
For any arbitrary m along the parabola x = my 2 .
Observe that
my 4 m
lim f (my 2 , y) = lim 2 4 4
= 2 ,
y→0 y→0 m y + y m +1
y2
x2 ≤ x2 + y 2 , and 0 ≤ ≤ 1,
x2 + y 2
we have
y2 √ p
3|x| ≤ 3|x| = 3 x 2 ≤ 3 x2 + y 2 .
x2 + y 2
continue...
Now choose δ = 3 .
p
So we have now whenever x2 + y 2 < δ = 3 , the inequality
p
3 x2 + y 2 < holds.
Meaning,
y2 p
|f (x, y) − 0| = 3|x| ≤ 3 x2 + y 2 < .
x2 + y 2
This proves that
lim f (x, y) = 0.
(x,y)→(0,0)
Repeated/Iterated limit(s) of a function f (x, y) at (a, b)
and
lim lim f (x, y).
y→b x→a
x2
lim lim 2 = lim 1 = 1.
x→0 y→0 x + y 2 x→0
Example
xy xy
lim lim = lim 0 = 0, lim lim = lim 0 = 0.
y→0 x→0 x2 + y 2 y→0 x→0 y→0 x2 + y 2 x→0
xy mx2 m
lim 2 2
= lim 2 2 2
= ,
(x,y)→(0,0), x + y x→0 x + m x 1 + m2
y=mx
Definition
Let f be a real valued function defined in a ball around (a, b). Then f is
said to be continuous at (a, b) if
1 The function
√ xy
, x2 + y 2 6= 0
x2 +y 2
f (x, y) =
0, x = y = 0.
Definition
The partial derivative of f with respect to x at (a, b) is defined as
∂f 1
(a, b) = lim (f (a + h, b) − f (a, b)) .
∂x h→0 h
∂f 1
(a, b) = lim (f (a, b + k) − f (a, b)) .
∂y k→0 k
Examples I
Partial derivatives:
Both the limit do not exist. Hence partial derivatives do not exist.
Sufficient condition for continuity
Theorem
Suppose one of the partial derivatives exist at (a, b) and the other partial
derivative is bounded in a neighborhood of (a, b). Then f (x, y) is
continuous at (a, b).
Directional derivatives
Definition
Let p̂ = p1 î + p2 ĵ be any unit vector. Then the directional derivative of
f (x, y) at (a, b) in the direction of p̂ is
f (1 + √s , 2 + √s ) − f (1, 2)
2 2
Dp̂ f (1, 2) = lim
s
s→0
1 5s 5
= lim s2 + √ =√
s→0 s 2 2
Other approach: fx (x, y) = 2x + y, fy (x, y) = x.
1 1
Dp̂ f (x, y) = fx (x, y)p1 + fy (x, y)p2 = (2x + y) √ + (x) √
2 2
3 1
= √ x+y √
2 2
5
=⇒ Dp̂ f (1, 2) = √
2
Further conditions and examples
Let →
−
p = (p1 , p2 ) such that p21 + p22 = 1. Then the directional derivative
along p is
Definition
Let D be an open subset of R2 . Then a function f (x, y) : D → R is
differentiable at a point (a, b) of D if there exists 1 = 1 (h, k), 2 = 2 (h, k)
such that
(Q1): Show that the following function f (x, y) is not differentiable at (0, 0),
x sin 1 + y sin 1 , xy 6= 0
y x
f (x, y) =
0,
xy = 0.
f (h, k) − f (0, 0) = 1 h + 2 k,
h sin h1
f (h, h) = (1 + 2 )h =⇒ 2 = (1 + 2 ).
h
1
So, lim sin = 0, a contradiction, as limit does not exist.
h→0 h
p
(Q2): Show that the function f (x, y) = |xy| is not differentiable at the
origin.
Ans: Easy to check the continuity (take δ = ) as
p 1 p
|f (x, y) − f (0, 0)| = | |xy| − 0| ≤ (|x| + |y|) ≤ x2 + y 2 .
2
Now, 0−0
fx (0, 0) = lim = 0,
h→0 h
0−0
fy (0, 0) = lim = 0.
k→0 k
So if f is differentiable at (0, 0), then there exist, 1 , 2 such that
f (h, k) = 1 h + 2 k.
Taking h = k, we get
|h| = (1 + 2 )h.
Notations:
Theorem
∆f − df
f is differentiable at (a, b) ⇐⇒ lim = 0.
ρ→0 ρ
Examples I
x2 y 2
, (x, y) 6= (0, 0)
x2 +y 2
1 Consider the function f (x, y) = Prove that f
0,
x = y = 0.
is differentiable at (0, 0).
Ans: Partial derivatives exist at (0, 0) and fx (0, 0) = 0, fy (0, 0) = 0.
By taking h = ρ cos θ, k = ρ sin θ, we get
∆f − df h2 k 2 ρ4 cos2 θ sin2 θ
= 3 = = ρ cos2 θ sin2 θ.
ρ ρ ρ3
Therefore, ∆fρ−df ≤ ρ → 0 as ρ → 0. Therefore f is differentiable at
(0, 0).
Examples II
x2 y
, (x, y) 6= 0
x2 +y 2
2 Consider f (x, y) = Prove that f is not
0,
x = y = 0.
differentiable at (0, 0).
Ans: Partial derivatives exist at (0, 0) and fx (0, 0) = fy (0, 0) = 0. By
taking h = ρ cos θ, k = ρ sin θ, we get
∆f − df h2 k ρ3 cos2 θ sin θ
= 3 = = cos2 θ sin θ.
ρ ρ ρ3
The limit does not exist. Therefore, f is NOT differentiable at (0, 0).
A sufficient condition for differentiability
Theorem
Suppose fx (x, y) and fy (x, y) exist in an open neighborhood containing
(a, b) and both functions are continuous at (a, b). Then f is differentiable at
(a, b).
Further conditions and examples
Caution 1: There are functions which are differentiable but the partial
derivatives need not be continuous.
Example: Consider the function
x3 sin 12 + y 3 sin 12
xy 6= 0
x y
f (x, y) =
0
xy = 0.
Ans: Now
3x2 sin 12 − 2 cos 12
xy 6= 0
x x
fx (x, y) =
0
xy = 0
f (h, 0) − f (0, 0)
Also fx (0, 0) = lim = 0. So partial derivatives are not
h→0 h
continuous at (0, 0).
Continue...
1 1
f (h, k) = (h)3 sin 2
+ (k)3 sin
(h) (k)2
= 0 + 0 + 1 h + 2 k
(Exercise problem)
Chain rule: Partial derivatives of composite functions
∂z ∂F ∂u
∂x = ∂u ∂x + ∂F ∂v
∂v ∂x
and ∂z
∂y = ∂F ∂u
∂u ∂y + ∂F ∂v
∂v ∂y .
Example
2
Example: Let z = ln(u2 + v), u = ex+y , v = x2 + y.
2u 1
Then zu = u2 +v
, zv = u2 +v
,
2 2
ux = ex+y , vx = 2x, uy = 2yex+y and vy = 1. Then
2u x+y2 2x
zx = e + 2 ,
u2+v u +v
∂z ∂u ∂z ∂v 2uy x+y2 1
zy = + = 2 e + 2 .
∂u ∂y ∂v ∂y u +v u +v
Derivative of implicitly defined function
Theorem
Let y = y(x) be defined as F (x, y) = 0, where F , Fx , Fy are continuous at
dy
(x0 , y0 ) and Fy (x0 , y0 ) 6= 0. Then
dx = − FFxy at (x0 , y0 ).
0 = ∆F = Fx ∆x + Fy ∆y + 1 ∆x + 2 ∆y
Fx = −ex + y, Fy = ey + x.
dy ex − y
=⇒ = y .
dx e +x
Example showing difference between partial derivative and
total derivative
When you take a partial derivative, you operate assuming that you hold
one variable fixed while the other changes. On the other hand, while
computing a total derivative, you allow changes in one variable to affect
the other.
∂f
= cos x,
∂x
while
df dx dy dy
= cos x + cos y = cos x + cos y .
dx dx dx dx
Thank You.
Engineering Calculus-EMAT101L
Lecture 35,36, 37 and 38
Derivative of a Function of several variables
Higher order mixed partial derivatives
fy (h, 0) − fy (0, 0)
fxy (0, 0) = lim
h→0 h
h−0
= lim =1
h→0 h
Now
and
fx (0, k) − fx (0, 0)
fyx (0, 0) = lim = −1.
h→0 k
So we get
1 = fxy (0, 0) 6= fyx (0, 0) = −1.
A sufficient condition for fxy = fyx
Theorem
If f, fx , fy , fxy , fyx are continuous in a neighbourhood of (a, b). Then
fxy (a, b) = fyx (a, b).
Theorem
Suppose f (x, y) and its partial derivatives through order n + 1 are
continuous throughout an open rectangular region R centered at a point
(a, b). Then, throughout R,
1 2 2
f (a + h, b + k) = f (a, b) + (hfx + kfy ) + (h fxx + 2hkfxy + k fyy )
(a,b) 2! (a,b)
1 3
+ (h fxxx + 3h2 kfxxy + 3hk 2 fxyy + k 3 fyyy )
3! (a,b)
n n+1
1 ∂ ∂ 1 ∂ ∂
+ ... + h +k f + h +k f
n! ∂x ∂y (a,b) (n + 1)! ∂x ∂y (a+ch,b+ck)
where (a + ch, b + ck) is a point on the line segment joining (a, b) and
(a + h, b + k).
First-degree Taylor polynomial of a function of two
variables
For a function of two variables f (x, y) whose first partials exist at the point
(a, b), the 1st -degree Taylor polynomial of f for (x, y) near the point (a, b)
is:
L(x, y) is also called the linear approximation (or tangent plane) of f for
(x, y) near the point (a, b).
Example
For a function of two variables f (x, y) whose first and second partials exist
at the point (a, b), the 2nd -degree Taylor polynomial of f for (x, y) near
the point (a, b) is:
fxx (a, b)
f (x, y) ≈ Q(x, y) =L(x, y) + (x − a)2
2
fyy (a, b)
+ fxy (a, b)(x − a)(y − b) + (y − b)2 .
2
Example
fxx (0, 0)
Q(x, y) = L(x, y) + (x − 0)2 + fxy (0, 0)(x − 0)(y − 0)
2
fyy (0, 0)
+ (y − 0)2
2
y2
= 1 + 2x − .
2
Mean Value Theorem
Mean value theorem (MVT)
Theorem
Suppose f : R2 → R is differentiable. Let X0 = (x0 , y0 ) and
X = (x0 + h, y0 + k). Then there exists C which lies on the line joining X0
and X such that
Define φ : [0, 1] → R by
dx dy
φ0 (t) = fx + fy = fx h + fy k, (since x = x0 + th and y = y0 + tk.)
dt dt
Theorem
Suppose f : R2 → R is differentiable. Let X0 = (x0 , y0 ) and
X = (x0 + h, y0 + k). Furthermore, suppose fx and fy are continuous and
they have continuous partial derivatives. Then there exists C which lies on
the line joining X0 and X such that
1
f (X) = f (X0 ) + f 0 (X0 )(X − X0 ) + (X − X0 )f 00 (C)(X − X0 ),
2
f f
where f 00 = fxx fxy . That is, there exists c ∈ (0, 1) such that
yx yy
1
f (x0 +h, y0 +k) = f (x0 , y0 )+(hfx +kfy )(X0 )+ (h2 fxx +2hkfxy +k 2 fyy )(C),
2
whose second partial derivatives exist and are continuous. Then the
Suppose that (a, b) is a critical point of f (that is, fx (a, b) = fy (a, b) = 0).
Then the second partial derivative test asserts the following:
4 D(a, b) = 0 No conclusion
Example
∂f ∂f
= x 3y 2 + 2y(x + 1) + x .
= y(2x + y)(y + 1),
∂x ∂y
Thus, the second partial derivative test indicates that f (x, y) has saddle
points at (0, −1) and (1, −1) and has a local maximum at 83 , − 34 since
fxx = − 83 < 0. At the remaining critical point (0, 0) the second derivative
test is insufficient, and one must use higher order tests or other tools to
determine the behavior of the function at this point.
(In fact, observe that f takes both positive and negative values in small
neighborhoods around (0, 0) and so this point is a saddle point of f .)
Critical points of f (x, y) =
(x + y)(xy + xy 2 ) max-
ima (red) and saddle points
(blue).
https://en.wikipedia.org/wiki/Second_partial_derivative_test
Example 2
Therefore, the point (−2, −2) is the only critical point. Also
1 Find all critical points of f (x, y). These are the interior points where partial
derivatives can be defined.
2 Restrict the function to the each piece of the boundary. This will be one
variable function defined on closed interval I(say) and use the derivative test
of one variable calculus to find the critical points that lie in the open interval
and their nature.
3 Find the end points of these intervals I and evaluate f (x, y) at these points.
f (x, y) = 2 + 2x + 2y − x2 − y 2
x = 0, y = 0, y = 9 − x.
Continue...
Case 1: On the segment y = 0, f (x, y) = f (x, 0) = 2 + 2x − x2 defined on
I = [0, 9]. f (0, 0) = 2, f (9, 0) = −61 and the interior points where
f 0 (x, 0) = 2 − 2x = 0 is x = 1. So x = 1 is the only critical point and
f (1, 0) = 3.
h(y) = (1 − y 2 )y = y − y 3 .
= x + y + λ(x2 + y 2 − 1).
So gradient is given by
∂L ∂L ∂L
∇x,y,λ L(x, y, λ) = , ,
∂x ∂y ∂λ
= 1 + 2λx, 1 + 2λy, x2 + y 2 − 1
continue...
1 + 2λx = 0
∴ ∇x,y,λ L(x, y, λ) = 0 ⇔ 1 + 2λy = 0
2
x + y2 − 1 = 0
1
x=y=− , λ 6= 0.
2λ
1 1 1
+ − 1 = 0 =⇒ λ = ± √ .
4λ2 4λ2 2
continue...
Therefore, the stationary points of L are
√ √ √ √
2 2 √1 2 2 √1
2 , 2 , − 2
, − 2 , − 2 , 2
.
= x2 y + λ(x2 + y 2 − 3).
∂L ∂L ∂L
=⇒ ∇x,y,λ L(x, y, λ) = , ,
∂x ∂y ∂λ
= 2xy + 2λx, x2 + 2λy, x2 + y 2 − 3 .
2xy + 2λx = 0
x(y + λ) = 0 (i)
∴ ∇x,y,λ L(x, y, λ) = 0 ⇐⇒ x2 + 2λy = 0 ⇐⇒ x2 = −2λy (ii)
x2 + y 2 − 3 = 0
x2 + y 2 = 3 (iii)
continue...
√
(i) implies x = 0 λ = −y. If x = 0 then y = ± 3 by (iii) and consequently
λ = 0 from (ii). If λ = −y, substituting this into (ii) we get x2 = 2y 2 . Now
substituting this into (iii) and solving for y gives y = ±1. Thus there are six
critical points of L:
√ √ √ √ √ √
( 2, 1, −1); (− 2, 1, −1); ( 2, −1, 1); (− 2, −1, 1); (0, 3, 0); (0, − 3, 0).
Therefore, the objective function attains the global maximum (subject to the
√ √
constraints) at (± 2, 1) and the global minimum at (± 2, −1). The point
√ √
(0, 3) is a local minimum of f and (0, − 3) is a local maximum of f .
maximize f (x, y) = x2 y subject to the constraint g(x, y) = x2 + y 2 − 3 = 0.
https://en.wikipedia.org/wiki/File:Lagrange_simple.svg
Thank You.
Engineering Calculus-EMAT101L
Lecture 39 and 40
Applications of Integrals
Some Useful Formulae
xn+1
Z
xn dx = + C; n ̸= 1
n+1
Z
1
sin(ax + b) dx = − cos(ax + b) + C, a ̸= 0
a
Z
1
cos(ax + b) dx = sin(ax + b) + C, a ̸= 0
a
Z
sec2 x dx = tan x + C
Z
csc2 x dx = − cot x + C
Z
sec x · tan x dx = sec x + C
Z
csc x · cot x dx = − cot x + C
Z
dx
= ln |x| + C
x
eax+b
Z
eax+b dx = , a ̸= 0
a
ax
Z
ax dx = + C, a ̸= 0
ln a
Z
1
√ dx = sin−1 x + C
Z 1 − x2
1
dx = tan−1 x + C
1 + x2
Z
1
√ dx = sec−1 x + C
|x| x2 − 1
a2
Z p xp 2 p
x2 − a2 dx = x − a2 − ln |x + x2 − a2 | + C
2 2
a2
Z p xp 2 p
x2 + a2 dx = x + a2 + ln |x + x2 + a2 | + C
2 2
a2
Z p xp 2 x
a2 − x2 dx = a − x2 + sin−1 + C
2 2 a
Area Between Curves
3 3
x3
Z
2x + 3 − x2 dx = x2 + 3x −
∴
3
−1
−1
1
= (9 + 9 − 9) − (1 − 3 + )
3
5
=9+
3
32
= sq. units
3
Example II
x
Z 2Z 4 Z 4Z 2
3. dx dy = dy dx
0 2y 0 0
4. x
Z 2 Z 6−y Z 4Z 2
Z 6 Z 6−x
dx dy = dy dx + dy dx
0 2y 0 0 4 0
Thank You.
Engineering Calculus-EMAT101L
Lecture 41
Double and Iterated integrals
Iterated integrals
Similarly, Z
(x2 + 1)dy = x2 y + y + ψ(x).
Observations from the previous example
Example
Z x 1: 2 2 x
2 x y y2 1 3
(x y + x + y + 5)dy = + + xy + 5y = x4 + x2 + 5x.
0 2 2 0 2 2
Example 2:
Z 2 Z x Z 2
2 1 4 3 2
(x y + x + y + 5)dy dx = x + x + 5x dx
1 0 1 2 2
2
x5 x3 5x2
= + +
10 2 2 1
25 3 5 × 22
2 1 1 5
= + + − + +
10 2 2 10 2 2
= 17.2 − 3.1
= 14.1
Iterated integration
Definition
Iterated integration is the process of repeatedly integrating the results of
previous integrations.
Let a, b, c and d be numbers and let g1 (x), g2 (x), h1 (y) and h2 (y) be
functions of x and y, respectively. Then
Z d Z h2 (y) Z d Z !
h2 (y)
1 f (x, y) dx dy = f (x, y) dx dy.
c h1 (y) c h1 (y)
Z bZ !
g2 (x) Z b Z g2 (x)
2 f (x, y) dy dx = f (x, y) dy dx.
a g1 (x) a g1 (x)
What does iterated integrals represent geometrically?
2 Z 2x 2
x3 2 4
Z Z
2 2
1dydx = (2x − x )dx = (x − ) = .
0 x2 0 3 0 3
√ 4
4Z y 4
2 3 y2
√
Z Z
y = 4.
dxdy = ( y − )dy = y2 −
0 y
0 2 3 4
0 3
2
What have we achieved?
x
! x
!
Z 3 Z
3
Z 3 Z
3
x2 x2
e dy dx = e dy dx
0 0 0 0
Z 3
y= x
x2
3
= e · y dx
0 y=0
Z 3
1 2 1 9
xex dx =
= e −1 .
3 0 6
Z 4Z 2
x
Example 2: Solve √
dy dx.
0 x y5 + 1
Solution : Changing the order of integration, it becomes
Z 2 Z y2
x
dx dy
0 0 y5 +1
Definition
Let z = f (x, y) be a continuous function
defined over a closed region R in the x-y
plane. The signed volume V under f over
R is denoted by the double integral
x
V = f (x, y) dA
R
x
= f (x, y) dx dy
R
x
= f (x, y) dy dx.
R
Result for evaluating double integrals to find volume
x n
X
V = f (x, y) dA = lim f (xi , yi )∆Ai .
k∆Ak→0
R i=1
Method for finding signed volume under a surface
Fubini’s Theorem
Let R be a closed, bounded region in the x-y plane and let z = f (x, y) be a
continuous function on R.
1 If R is bounded by a ≤ x ≤ b and g1 (x) ≤ y ≤ g2 (x), where g1 and g2
are continuous functions on [a, b], then
x Z b Z g2 (x)
f (x, y) dA = f (x, y) dy dx.
R a g1 (x)
x Z β Z g2 (θ)
f (x, y) dA = f (r cos θ, r sin θ) r dr dθ.
R α g1 (θ)
Examples
x Z π
2
Z
ra
f (x, y) dA = dr dθ
0 0 +1 r2
R
Z π a
2 1
2
= ln |r + 1| dθ
0 2 0
π
1 2
= ln(a2 + 1) θ
2 0
π
= ln(a2 + 1).
4
Thank You.
Engineering Calculus-EMAT101L
Lecture 42
Change of Variable in a Double and Triple Integrals
What do we do in the single variable case?
Z 1 p
Example: Consider x x2 + 1 dx. While solving by the substitution
0
method, observe what we do.
Substitute x2 + 1 = t, then 2x dx = dt and when
x = 0 =⇒ t = 1; x = 1 =⇒ t = 2.
1
1 2√ 1 √
Z p Z
∴ 2
x x + 1 dx = t dt = (2 2 − 1).
0 2 1 3
So the change of variable formula for functions of single variable is
Z 1 Z g −1 (1)
f (x)dx = f (g(t))g 0 (t) dt
0 g −1 (0)
Jacobian
Let x = x(u, v) and y = y(u, v). Then the Jacobian (J(u, v)) of x and y
with respect to u and v is defined as
∂x ∂x
∂u ∂v
J(u, v) = .
∂y ∂y
∂u ∂v
Result
Let x = x(u, v) and y = y(u, v) define a one-to-one mapping of a region R0
in the uv-plane onto a region R in the xy-plane such that J(u, v) 6= 0 in R0 ,
then
x x
f (x, y) dA(x, y) = f (x(u, v), y(u, v)) |J(u, v)| dA(u, v).
R R0
Change of variables formula for triple integrals
Result
Let x = x(u, v) and y = y(u, v) define a one-to-one mapping of a region R0
in the uv-plane onto a region R in the xy-plane such that J(u, v) 6= 0 in R0 ,
then
y
f (x, y, z) dV (x, y, z)
S
y
= f (x(u, v, w), y(u, v, w), z(u, v, w)) |J(u, v, w)| dV (u, v, w).
S0
Example 1: Evaluate
x x−y
e x+y dA, where R = {(x, y) : x ≥ 0, y ≥ 0, x + y ≤ 1}.
R
x
x+y
x−y
Z 1Z 1
sin cos dA = sin u cos v |J(u, v)| du dv.
2 2 0 v
R
=⇒ |J(r, θ)| = r
x Z β Z g2 (θ)
f (x, y) dA = f (r cos θ, r sin θ) r dr dθ.
R α g1 (θ)
Thank You.
Volume Between Surfaces and Triple
Integration
Gopinath Sahoo
Volume Between Surfaces
x
V = (f (x, y) − g(x, y)) dA.
R
Example
Example: Find the volume of the space region bounded by the planes
2x + 3y − z = 8 and x + 3y + z = 10, where x, y > 0.
Z 10−x−3y
Now observe that (10 − x − 3y) − (2x + 3y − 8) = dz.
2x+3y−8
Thus we can write
Z 3 Z 6−2y
((10 − x − 3y) − (2x + 3y − 8)) dx dy
0 0
Z 3 Z 6−2y Z 10−x−3y
= dz dx dy.
0 0 2x+3y−8
Z bZ ! !
g2 (x) Z f2 (x,y) Z b Z g2 (x) Z f2 (x,y)
dz dy dx = dz dy dx.
a g1 (x) f1 (x,y) a g1 (x) f1 (x,y)
y n
X n
X
V = dV = lim ∆Vi = lim ∆xi ∆yi ∆zi .
k∆Dk→0 k∆Dk→0
D i=1 i=1
continue...
y Z bZ g2 (x) Z f2 (x,y)
dV = dz dy dx.
D a g1 (x) f1 (x,y)
For example, the following integral does NOT make any sense.
y Z y Z z Z 1
dV = f (x, y, z)dx dy dz.
D x 1 0
Examples
y
Example 1: Evaluate xyz dV , where D = [0, 1] × [1, 2] × [2, 3].
D
Ans: Notice that the order does not matter. So
y Z 3Z 2Z 1
xyz dV = xyz dx dy dz
D 2 1 0
3Z 2
x2 1
Z
= yz dy dz
2 1 2 0
Z 3Z 2
1
= yz dy dz
2 2 1
3
1 2 2
Z
1
= y z dz
2 2 2 1
3
3 2 3 15
Z
1
= 3z dz = z =
4 2 8 2 8
Example 2: A cube has sides of length 1 cm. Let one corner be at the
origin and the adjacent corners be on the positive x, y and z axes. If the
cube’s density is directly proportional to the distance from the xy-plane, find
its mass.
Ans: The density of the cube is f (x, y, z) = kz, for some constant k whose
unit is gm/cm4 . If D is the cube, then the mass is the triple integral given
by
y Z 1Z 1Z 1
f (x, y, z)dV = kz dx dy dz
D 0 0 0
Z 1Z 1
= kz dy dz
0 0
Z 1
= kz dz
0
z 2 1 k
= k = gms
2 0 2
Example 3: Find the volume of the space region in the 1-st octant bounded
by the plane x + 2y + 3z = 4.
Ans: There are a total of 6 different approaches, but the result is same
irrespective of any approach. We’ll do it in the approach when the
order of integration is dz · dy · dx
The region D is bounded below by the plane z = 0 (because we are restricted
1
to the first octant) and above by z = 3 (4 − x − 2y)
1
=⇒ 0 ≤ z ≤ (4 − x − 2y) .
3
To find the bounds on y and x, we collapse the region onto the x-y plane.
(You can consider it as the shadow or the top view region. Therefore, this
method is called shadow method.)
Here it will form a triangular region, bounded by the lines x = 0, y = 0 and
x + 2y = 4.Therefore we have
x
0≤y ≤2− , 0 ≤ x ≤ 4.
2
Thus the volume V of the region D is given by
y 2− x2 1
! !
Z 4 Z Z
3
(4−x−2y)
dV = dz dy dx
D 0 0 0
Z 4 Z 2− x2
1
= (4 − x − 2y) dy dx
3 0 0
x
4 2− 2
Z
1 2
= 4y − xy − y dx
3 0 0
4
x3
1 2
16
= 4x − −x = .
3 12 0 9
Example 4: Find the volume of the space region D bounded by the surfaces
x2 + y 2 = 1, z = 0 and z = −y.
Ans: Consider the triple integral in the order dz dy dx
The region D is bounded below by the plane
z = 0 and above by the plane z = −y.
The cylinder x2 + y 2 = 1 does not offer any
bounds in the z-direction, as that surface is
parallel to the z-axis. Thus 0 ≤ z ≤ −y.
Collapsing the region into the x-y plane, we
get part of the region bounded by the circle
with equation x2 + y 2 = 1.
p
∴ − 1 − x2 ≤ y ≤ 0 and − 1 ≤ x ≤ 1.
So the required volume is given by
Z 1 Z 0 Z −y Z 1 Z 0
√ dz dy dx = √ (−y)dy dx
−1 − 1−x2 0 −1 − 1−x2
Z 1 2 0
y
= −
√
dx
−1 2
− 1−x2
Z 1
1
= (1 − x2 )dx
2 −1
x3 1
1
= x−
2 3 −1
2
= unit3 .
3
Cylindrical coordinates
Conversion technique:
y
p
from rectangular to cylindrical: r = x2 + y 2 , tan θ = x and z = z;
from cylindrical to rectangular: x = r cos θ, y = r sin θ and z = z.
√
Example: Convert the rectangular point (3, 3, 2) to cylindrical coordinates,
and convert the cylindrical point (2, − π4 , 1) to rectangular.
√ √ √
Ans: r = 9 + 3 = 2 3, tan θ = 33 = √13 =⇒ θ = π
6. Therefore, the
√ √
point (3, 3, 2) in cylindrical coordinates is (2 3, π6 , 2).
√
In the second case, we have x = r cos θ = 2 × √12 = 2, y = r sin θ =
√
2 × − √12 = − 2. Therefore, the cylindrical coordinate point (2, − π4 , 1) in
√ √
rectangular coordinate is ( 2, − 2, 1).
Spherical coordinate
ρ ≥ 0, 0 ≤ θ ≤ 2π and 0 ≤ φ ≤ π.
Relationship between rectangular and spherical coordinates
p y p
ρ= x2 + y 2 + z 2 , tan θ = and cos φ = z/ x2 + y 2 + z 2 .
x
1
In the second case, x = ρ sin φ cos θ = 0, y = ρ sin φ sin θ = 2 and z =
√
3
ρ cos φ = 2 . Therefore, the spherical point (1, π2 , π4 ) in rectangular coordi-
√
nates is (0, 12 , 23 ).
Triple integration in cylindrical coordinates
y Z β Z g2 (θ) Z f2 (r,θ)
h(r, θ, z)dV = h(r, θ, z) r dz dr dθ.
D α g1 (θ) f1 (r,θ)
Triple integration in spherical coordinates
y Z α2 Z β2 Z f2 (θ,φ)
h(ρ, θ, φ)dV = h(ρ, θ, φ) ρ2 sin(φ) dρ dθ dφ.
D α1 β1 f1 (θ,φ)
Examples
y Z π Z 2π Z r
∴V = dV == (ρ2 sin(φ)) dρ dθ dφ
D 0 0 0
4
= πr3 .
3
Thank You.