Calculus IIT Bombay
Calculus IIT Bombay
MA 109: Calculus I
Instructors:
Ravi Raghunathan
202-E, Department of Mathematics.
Manoj Keshari
204-D, Department of Mathematics
Website
For course materials and updates please check http://www.math.iitb.ac.in/~ravir/ma109index.
html
These materials and updates will also be posted on “moodle”, an online interface for the course.
This should be already functional.
Syllabus
• The convergence of sequences and series.
• The Mean Value Theorem, Taylor’s theorem, power series, maxima and minima.
• Partial derivatives, the gradient and directional derivatives, the chain rule, maxima and min-
ima in several variables, Lagrange multipliers.
Texts/References
[Apo80] T.M. Apostol, Calculus, Volumes 1 and 2, 2nd ed., Wiley (2007).
[TF98] G.B. Thomas and R.L. Finney, Calculus and Analytic Geometry, 12th ed., Pearson (2015).
Policy on Attendance
Students are expected to attend all lectures and tutorial sessions. However, we do understand that
many of you may face power cuts, unstable internet connections or other constraints. In that case,
please make sure that you watch the recordings of the zoom lectures and tutorials. Please try to
access the moodle site whenever your internet connections lets you do so.
Evaluation Plan
The evaluation plan has not been finalised since we are not sure of the quality of online access of
our students. We are likely to have weekly short quizes of about 15 minutes each. There maybe also
be one longer quiz of about one hour. The quizzes are likely to take place on the moodle learning
platform (https://moodle.iitb.ac.in/login/index.php) or on another platform called SAFE.
You will need to download the SAFE app onto your mobile phones.
The exact dates of the quizzes and exams will be announced in class and also sent to you via email.
There will also be announcements via moodle.
The final exam is likely to account for about 40%-50% of the total marks for the course.
All of these are tentative plans. We are likely to have a clearer plan after the first
week or two of classes.
Tutorial sheet 1: Sequences, limits, continuity, differentiability
Sequences
1. Using the (-N ) definition of a limit, prove the following:
10
(i) lim =0
n→∞ n
5
(ii) lim =0
n→∞ 3n + 1
n2/3 sin(n!)
(iii) lim =0
n→∞ n+1
n n+1
(iv) lim − =0
n→∞ n+1 n
5. Prove that the following sequences are convergent by showing that they are monotone and
bounded. Also find their limits:
3 1 2
(i) a1 = , an+1 = an + ∀n≥1
2 2 an
√ √
(ii) a1 = 2, an+1 = 2 + an ∀ n ≥ 1
an
(iii) a1 = 2, an+1 = 3 + ∀n≥1
2
1
6. If lim an = L, find the following: lim an+1 , lim |an |.
n→∞ n→∞ n→∞
|L|
|an | ≥ , ∀ n ≥ n0 .
2
1/2
8. If an ≥ 0 and lim an = 0, show that lim an = 0. State and prove a corresponding result
n→∞ n→∞
if an → L > 0.
9. For given sequences {an }n≥1 and {bn }n≥1 , prove or disprove the following:
10. Show that a sequence {an }n≥1 is convergent iff both the subsequences {a2n }n≥1 and {a2n+1 }n≥1
are convergent to the same limit.
11. Let f, g : (a, b) → R be functions and suppose that limx→c f (x) = 0 for c ∈ [a, b]. Prove or
disprove the following statements.
12. Let f : R → R be such that lim f (x) exists for some α ∈ R. Show that
x→α
lim [f (α + h) − f (α − h)] = 0.
h→0
2
0
15. Let f (x) = x2 sin(1/x) for x 6= 0 and f (0) = 0. Show that f is differentiable on R. Is f a
continuous function?
|f (x + h) − f (x)| ≤ C|h|α
for all x, x + h ∈ (a, b), where C is a constant and α > 1. Show that f is differentiable on
0
(a, b) and compute f (x) for x ∈ (a, b).
f (c + h) − f (c − h)
lim
h→0+ 2h
0
exists and equals f (c). Is the converse true ? [Hint: Consider f (x) = |x|.]
19. Using the theorem on derivative of inverse function, compute the derivative of
(i) cos−1 x, − 1 < x < 1. (ii) cosec−1 x, |x| > 1.
dy
20. Compute , given
dx
2x − 1 0
y=f and f (x) = sin(x2 ).
x+1
Supplement
1. A sequence {an }n≥1 is said to be Cauchy if for any > 0, there exists n0 ∈ N such that
|an − am | < , ∀ m, n ≥ n0 . In other words, if we choose n0 large enough, we can make sure
that the elements of a Cauchy sequence are close to each other as we want beyond n0 . One can
show that a sequence in R is convergent if and only if it is Cauchy. To show that a convergent
sequence in R is Cauchy is easy. To show that every Cauchy sequence in R converges is
harder, and moreover, involves making a precise definition of the set of real numbers. Sets in
which every Cauchy sequence converges are called complete. Thus the set of real numbers is
complete.
2. To prove that a sequence {an }n≥1 is convergent to a limit L, one needs to first guess what this
limit L might be and then verify the required property. However the concept of ‘Cauchyness’
of a sequence is an intrinsic property, that is, we can decide whether a sequence is Cauchy by
examining the sequence itself. There is no need to guess what the limit might be.
3
The sequence {an }n≥1 is a monotonically decreasing sequence of rational numbers which is
bounded below. However, it cannot converge to a rational (why?). This exhibits the need to
enlarge the concept of numbers beyond rational numbers. The sequence {an }n≥1 converges to
√
2√and its elements an ’s are used to find a rational approximation (in computing machines)
of 2.
4
Optional Exercises:
1. Show that the function f in Question 14 satisfies f (kx) = kf (x), for all k ∈ R.
6. Let f : (a, b) → R and c ∈ (a, b) be such that lim f (x) > α. Prove that there exists some
x→c
δ > 0 such that
f (c + h) > α for all 0 < |h| < δ.
7. Let f : (a, b) → R and c ∈ (a, b). Show that the following are equivalent:
(i) f is differentiable at c.
(ii) There exist δ > 0 and a function 1 : (−δ, δ) → R such that limh→0 1 (h) = 0 and
8. Suppose f is a function that satisfies the equation f (x + y) = f (x) + f (y) + x2 y + xy 2 for all
real numbers x and y. Suppose also that
f (x)
lim = 1.
x→0 x
Find f (0), f 0 (0), f 0 (x).
9. Suppose f is a function with the property that |f (x)| ≤ x2 for all x ∈ R. Show that f (0) = 0
and f 0 (0) = 0.
10. Show that any continuous function f : [0, 1] → [0, 1] has a fixed point.
5
Tutorial sheet 2: Rolle’s theorem, MVT, maxima/minima
1. Show that all the roots of the cubic x3 − 6x + 3 are real.
2. Let p and q be two real numbers with p > 0. Show that the cubic x3 + px + q has exactly one
real root.
3. Let f be continuous on [a, b] and differentiable on (a, b). If f (a) and f (b) are of different signs
0
and f (x) 6= 0 for all x ∈ (a, b), show that there is a unique x0 ∈ (a, b) such that f (x0 ) = 0.
4. Consider the cubic f (x) = x3 + px + q, where p and q are real numbers. If f (x) has three
distinct real roots, show that 4p3 + 27q 2 < 0 by proving the following:
(i) p < 0.
p
(ii) f has a local maximum/minimum at ± −p/3.
(iii) The maximum/minimum values are of opposite signs.
5. Use the MVT to prove that | sin a − sin b| ≤ |a − b|, for all a, b ∈ R.
6. Let f be continuous on [a, b] and differentiable on (a, b). If f (a) = a and f (b) = b, show that
0 0
there exist distinct c1 , c2 in (a, b) such that f (c1 ) + f (c2 ) = 2.
0 0
7. Let a > 0 and f be continuous on [−a, a]. Suppose that f (x) exists and f (x) ≤ 1 for all
x ∈ (−a, a). If f (a) = a and f (−a) = −a, show that f (0) = 0. Is it true that f (x) = x for
every x?
8. In each case, find a function f which satisfies all the given conditions, or else show that no
such function exists.
00 0 0
(i) f (x) > 0 for all x ∈ R, f (0) = 1, f (1) = 1
00 0 0
(ii) f (x) > 0 for all x ∈ R, f (0) = 1, f (1) = 2
00 0
(iii) f (x) ≥ 0 for all x ∈ R, f (0) = 1, f (x) ≤ 100 for all x > 0
00 0
(iv) f (x) > 0 for all x ∈ R, f (0) = 1, f (x) ≤ 1 for all x < 0
9. Let f (x) = 1+12|x|−3x2 . Find the global maximum and the global minimum of f on [−2, 5].
Verify it from the sketch of the curve y = f (x) on [−2, 5].
10. Sketch the following curves after locating intervals of increase/decrease, intervals of concavity
upward/downward, points of local maxima/minima, points of inflection and asymptotes. How
many times and approximately where does the curve cross the x-axis?
(i) y = 2x3 + 2x2 − 2x − 1
(ii) y = 1 + 12|x| − 3x2 , x ∈ [−2, 5]
11. Sketch a continuous curve y = f (x) having all the following properties:
0 0
f (−2) = 8, f (0) = 4, f (2) = 0; f (2) = f (−2) = 0;
0 0
f (x) > 0 for |x| > 2, f (x) < 0 for |x| < 2;
00 00
f (x) < 0 for x < 0 and f (x) > 0 for x > 0.
6
(ii) strictly increasing and concave.
(iii) strictly decreasing and convex.
(iv) strictly decreasing and concave.
13. Let f, g : R → R satisfy f (x) ≥ 0 and g(x) ≥ 0 for all x ∈ R. Define h(x) = f (x)g(x) for
x ∈ R. Which of the following statements are true? Why?
(i) If f and g have a local maximum at x = c, then so does h.
(ii) If f and g have a point of inflection at x = c, then so does h.
x2
14. Sketch the curve following the template of exercise 10: y =
x2 + 1
7
Tutorial sheet 3: Supplement on Taylor series
In this tutorial sheet, we will intersperse the exercises with the text, so you will have to read through
the sheet somewhat carefully.
Exercise 1. Write down the Taylor series for (i) cos x, (ii) arctan x about the point 0. Write down
a precise remainder term Rn (x) in each case.
Exercise 2. Our examples of Taylor’s series have usually been series about the point 0. Write
down the Taylor series of the polynomial x3 − 3x2 + 3x − 1 about the point 1.
Exercise 3. What is the Taylor series of the function 1729x1729 +1728x1728 +1000x1000 +729x729 +1
about the point 0?
Power series
xk
Exercise 4. Consider the series ∞
P
k=0 k! for a fixed x. Prove that it converges as follows. Choose
N > 2x. We see that for all n > N ,
xn+1 1 xn
< · .
(n + 1)! 2 n!
It should now be relatively easy to show that the given series is Cauchy, and hence (by the com-
pleteness of R), convergent.
Taylor series (or more generally “power series”) can be differentiated and integrated “term by
term”. That is if
X∞ ∞
X
f (x) = an xn , then f 0 (x) = nan xn−1 .
n=0 n=1
8
And similarly,
∞
Z bX ∞
X Z b
n
an x dx = an xn dx.
a n=0 n=0 a
We will not be proving these facts but you can use them below.
Exercise 5. Using Taylor series write down a series for the integral
Z x
e
dx.
x
R1√
Exercise 6. Use Taylor series to approximate 0 1 + x4 dx correct to two decimal places.
Optional Exercises
x P∞ n
Exercise 7. Show that the Taylor series of the function f (x) = 1−x−x 2 is n=1 fn x where fn is
the nth Fibonacci number, that is, f1 = 1, f2 = 1, and fn = fn−1 + fn−2 for n ≥ 3. By writing
f (x) as a sum of partial fractions and thereby obtaining the Taylor series in a different way, find
an explicit formula for the nth Fibonacci number.
Exercise 8. Write down the Taylor series for tan x about the point 0 (this is much harder than
the examples in Exercise 1).
Exercise 9. Can you construct a smooth (infinitely differentiable) function which takes the constant
value 0 outside the interval [−1, 2] and the constant value 1 on the interval [0, 1].
9
Tutorial sheet 4: Riemann integration
1. Let f (x) = 1 if x ∈ [0, 1] and f (x) = 2 if x ∈ (1, 2]. Show from the first principles that f is
Z 2
Riemann integrable on [0, 2] and find f (x)dx.
0
2. (a) Let f : [a, b] → R be Riemann integrable and f (x) ≥ 0 for all x ∈ [a, b]. Show that
Z b Z b
f (x)dx ≥ 0. Further, if f is continuous and f (x)dx = 0, show that f (x) = 0 for
a a
all x ∈ [a, b].
(b) Give an example of a Riemann integrable function on [a, b] such that f (x) ≥ 0 for all
Z b
x ∈ [a, b] and f (x)dx = 0, but f (x) 6= 0 for some x ∈ [a, b].
a
3. Evaluate lim Sn by showing that Sn is an approximate Riemann sum for a suitable function
n→∞
over a suitable interval:
n
1 X
(i) Sn = i3/2
n5/2 i=1
n
X n
(ii) Sn =
i2 + n2
i=1
n
X 1
(iii) Sn = √
i=1
in + n2
n
1X iπ
(iv) Sn = cos
n n
i=1
( n 2n 3/2 3n 2 )
1 X i X i X i
(v) Sn = + +
n n n n
i=1 i=n+1 i=2n+1
4. Compute
y
d2 y
Z
dt
(a) , if x = √
dx2 0 1 + t2
Z 2x Z x2
dF 2
(b) , if for x ∈ R (i) F (x) = cos(t )dt (ii) F (x) = cos(t)dt.
dx 1 0
5. Let p be a real number and let f be a continuous function on R that satisfies the equation
Z a+p
f (x + p) = f (x) for all x ∈ R. Show that the integral f (t)dt has the same value for
Z a+p a
1 x
Z
g(x) = f (t) sin λ(x − t)dt.
λ 0
Show that g 00 (x) + λ2 g(x) = f (x) for all x ∈ R and g(0) = 0 = g 0 (0).
7. Find the area of the region bounded by the given curves in each of the following cases.
10
√ √
(i) x+ y = 1, x = 0 and y = 0.
(ii) y = x4 − 2x2 and y = 2x2 .
(iii) x = 3y − y 2 and x + y = 3.
8. Let f (x) = x − x2 and g(x) = ax. Determine a so that the region above the graph of g and
below the graph of f has area 4.5.
9. Find the area of the region inside the circle r = 6a cos θ and outside the cardioid r = 2a(1 +
cos θ).
10. Find the arc length of the each of the curves described below.
12. The cross sections of a certain solid by planes perpendicular to the x-axis are circles with
diameters extending from the curve y = x2 to the curve y = 8 − x2 . The solid lies between
the points of intersection of these two curves. Find its volume.
14. A fixed line L in 3-space and a square of side r in a plane perpendicular to L are given. One
vertex of the square is on L. As this vertex moves a distance h along L, the square turns
through a full revolution with L as the axis. Find the volume of the solid generated by this
motion.
√
15. A round hole of radius 3 cms is bored through the center of a solid ball of radius 2 cms.
Find the volume cut out.
11
Tutorial sheet 5: Functions of two variables, limits, continuity, par-
tial derivatives
1. Find the natural domains of the following functions of two variables:
xy
(i) (ii) ln(x2 + y 2 )
x2 − y2
2. Describe the level curves and the contour lines for the following functions corresponding to
the values c = −3, −2, −1, 0, 1, 2, 3, 4:
(i) f (x, y) = x − y (ii) f (x, y) = x2 + y 2 (iii) f (x, y) = xy
3. Using definition, examine the following functions for continuity at (0, 0). The expressions
below give the value at (x, y) 6= (0, 0). At (0, 0), the value should be taken as zero:
x3 y x2 − y 2
(i) (ii) xy (iii) ||x| − |y|| − |x| − |y|.
x6 + y 2 x2 + y 2
4. Suppose f, g : R → R are continuous functions. Show that each of the following functions of
(x, y) ∈ R2 are continuous:
(i) f (x) ± g(y) (ii) f (x)g(y) (iii) max{f (x), g(y)} (iv) min{f (x), g(y)}.
5. Let
x2 y 2
f (x, y) = for (x, y) 6= (0, 0).
x2 y 2 + (x − y)2
Show that the iterated limits
h i
lim lim f (x, y) & lim lim f (x, y)
x→0 y→0 y→0 x→0
exist and both are equal to 0, but lim f (x, y) does not exist.
(x,y)→(0,0)
6. Examine the following functions for the existence of partial derivatives at (0, 0). The ex-
pressions below give the value at (x, y) 6= (0, 0). At (0, 0), the value should be taken as
zero.
x2 − y 2
(i) xy
x2 + y 2
sin2 (x + y)
(ii)
|x| + |y|
7. Let f (0, 0) = 0 and
1
f (x, y) = (x2 + y 2 ) sin for (x, y) 6= (0, 0).
x2 + y 2
Show that f is continuous at (0, 0), and the partial derivatives of f exist but are not bounded
in any disc (howsoever small) around (0, 0).
8. Let f (0, 0) = 0 and
x sin(1/x) + y sin(1/y), if x 6= 0, y 6= 0
f (x, y) = x sin 1/x, if x 6= 0, y = 0
y sin 1/y, 6 0, x = 0.
if y =
Show that none of the partial derivatives of f exist at (0, 0) although f is continuous at (0, 0).
12
9. Examine the following functions for the existence of directional derivatives and differentiability
at (0, 0). The expressions below give the value at (x, y) 6= (0, 0). At (0, 0), the value should
be taken as zero:
x2 − y 2 x3 1
(i) xy (ii) (iii) (x2 + y 2 ) sin
x2 + y 2 x2 + y2 x2 + y2
Show that f is continuous at (0, 0), Du f (0, 0) exists for every vector u, yet f is not differen-
tiable at (0, 0).
√
11. Show that the function f (x, y) = 3 xy is continuous and the partial derivatives fx and fy
exist at the origin but the directional derivatives in all other directions do not exist.
13
Tutorial Sheet 6: Tangent Planes, Maxima/minima, saddle points,
Lagrange multipliers
1. Find the points on the hyperboloid x2 − y 2 + 2z 2 = 1 where the normal line is parallel to the
line that joins the points (3, −1, 0) and (5, 3, 6).
2. Find the directions in which the directional derivative of f (x, y) = x2 + sin xy at the point
(1, 0) has the value 1.
3. Let F (x, y, z) = x2 + 2xy − y 2 + z 2 . Find the gradient of F at (1, −1, 3) and the equations of
the tangent plane and the normal line to the surface F (x, y, z) = 7 at (1, −1, 3).
4. Find Du F (2, 2, 1), where F (x, y, z) = 3x − 5y + 2z, and u is the unit vector in the direction
of the outward normal to the sphere x2 + y 2 + z 2 = 9 at (2, 2, 1).
∂2z
5. Given sin(x + y) + sin(y + z) = 1, find , provided cos(y + z) 6= 0.
∂x∂y
6. If f (0, 0) = 0 and
x2 − y 2
f (x, y) = xy for (x, y) 6= (0, 0),
x2 + y 2
show that both fxy and fyx exist at (0, 0), but they are not equal. Are fxy and fyx continuous
at (0, 0)?
7. Show that the following functions have local minima at the indicated points.
(i) f (x, y) = x4 + y 4 + 4x − 32y − 7, (x0 , y0 ) = (−1, 2)
8. Analyze the following functions for local maxima, local minima and saddle points:
2 +y 2 )/2
(i) f (x, y) = (x2 − y 2 )e−(x (ii) f (x, y) = x3 − 3xy 2
10. The temperature at a point (x, y, z) in 3-space is given by T (x, y, z) = 400xyz. Find the
highest temperature on the unit sphere x2 + y 2 + z 2 = 1.
x + y + z = 40 and x + y = z.
x + 2y + 3z = 6 and x + 3y + 4z = 9.
14