Intro To Calculus
Intro To Calculus
by
Purbita Jana
ii
Contents
Introduction 1
A × B = {(1, 1), (1, 2), (1, 5), (4, 1), (4, 2), (4, 5)}.
Example 1.0.3. A = {1, 2, 3}, R = {(1, 1), (1, 2), (2, 2), (3, 1), (3, 3)}
2 Differential and Integral Calculus
R = {(1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (3, 1), (3, 3)}.
Example 1.0.7. A = {1, 2, 3}, R = {(1, 1), (1, 2), (2, 2), (3, 1), (3, 3)}
Exercise 1. Check whether following fuctions are injective, surjective and bi-
jective.
1. f (x) = 2x
2. f (x) =| x |
3. f (x) = x + 1.
Two functions f and g are equal if f and g have same domain D and
f (x) = g(x) for all x ∈ D.
Note: A function f : X → R is called a real valued function.
1. f (x) = c
1
2. f (x) = x
p
3. f (x) = |x|
4. f (x) =| x |
|x| ,
x ̸= 0
x
5. f (x) =
0,
otherwise.
4 Differential and Integral Calculus
√
2. f (x) = e4x , g(x) = x;
5. f (x) = x2 , g(x) = ex ;
f f (x)
4. g
(x) = g(x)
, g ̸= 0.
5 Differential and Integral Calculus
1. f (x) = 1 − x
2. f (x) = x2
|x| ,
x ̸= 0
x
3. f (x) =
0,
otherwise.
Let f : R → R where
1
1. f (x) = 1+x2
2. f (x) = ex .
6 Differential and Integral Calculus
Definition 1.0.18. Two sets A and B are equipotent if and only if there exist
a bijection f : A → B.
means that given ϵ > 0 there exist m ∈ N such that | xn − l |< ϵ for all n ≥ m.
Proof. To show this, for given ϵ > 0 we need to find δ > 0 such that whenever
x ∈ (2−δ, 2+δ)\{2} then | f (x)−4 |< ϵ. Now | f (x)−4 |=| x+2−4 |=| x−2 |.
Hence δ = ϵ will work good to serve our purpose as x ∈ (2 − δ, 2 + δ) \ {2}
implies | f (x) − 4 |≤ ϵ.
Note that
sin(x)
lim =1
x→0 x
and we will use this in the sequel.
f (c + h) − f (x)
lim
h→0 h
df
exist. Derivative of f is denoted by f ′ (c) or dx
(c) and
df f (c + h) − f (x)
(c) = lim .
dx h→0 h
d
1. dx
(f g)
d
2. dx
(c), c∈R
8 Differential and Integral Calculus
d
3. dx
(kf ), k∈R
d f
4. ( ),
dx g
for g ̸= 0
d
5. dx
(f + g).
df f (x + h) − f (x)
= lim
dx h→0 h
and
dg g(x + h) − g(x)
= lim
dx h→0 h
1.
d (f g)(x + h) − (f g)(x)
(f g) = lim
dx h→0 h
f (x + h)g(x + h) − f (x)g(x)
= lim
h→0 h
f (x + h)g(x + h) − f (x)g(x + h) + f (x)g(x + h) − f (x)g(x)
= lim
h→0 h
(f (x + h) − f (x))g(x + h) + f (x)(g(x + h) − g(x))
= lim
h→0 h
(f (x + h) − f (x))g(x + h) f (x)(g(x + h) − g(x))
= lim + lim
h→0 h h→0 h
f (x + h) − f (x) g(x + h) − g(x)
= lim g(x + h) + lim f (x)
h→0 h h→0 h
f (x + h) − f (x) g(x + h) − g(x)
= g(x) lim + f (x) lim
h→0 h h→0 h
df dg
= g(x) + f (x) .
dx dx
1. f (x) = sin(x)
9 Differential and Integral Calculus
2. f (x) = cos(x)
3. f (x) = tanx
4. f (x) = x
5. f (x) = xm , m ∈ N
6. f (x) = ax , a > 0
7. f (x) = lnx
8. f (x) = emx , m ∈ N.
Exercise 9. Find the intervals in which the function f (x) is (i) increasing,
(ii) decreasing.
Exercise 11. Find the points where the following functions has maxima and
minima.
1. f (x) = x3 − 3x + 1;
1
2. f (x) = x + x+1
;
Exercise 12. For a manufacturer of dry cells, the daily cost (C) of production
for x cells is given by
If the price of a cell be Rs.3 determine minimum number of cells those must
be produced and sold daily to ensure no loss.
1. If each unit is sold for Rs.25, determine the minimum number of units
that should be produced and sold to ensure no loss.
2. If the selling price is reduced by Rs.2.50 per unit, what would be the
break-even point?
3. If it is known that 500 units can be sold daily, what price per unit should
be changed to guarantee no loss?
sin2 (x−y)
Example 1.0.9. Consider the function f : R2 → R, where f (x, y) = |x|+|y|
when (x, y) ̸= (0, 0) and f (0, 0) = 0. We will show that this function is con-
|x−y|2
tinuous at (0,0). Note that |f (x, y) − f (0, 0)| ≤ |x|+|y|
≤ |x| + |y| (or |x − y| )
Therefore, whenever a sequence (xn , yn ) → (0, 0), i.e, xn → 0 and yn → 0, we
have f (xn , yn ) → f (0, 0). Hence f is continuous at (0, 0). In fact, this function
is continuous on the entire R2 .
∂f f (x + h, y, z) − f (x, y, z)
|X = lim
∂x h→0 h
∂f f (x, y + k, z) − f (x, y, z)
|X = lim
∂x k→0 k
and
∂f f (x, y, z + l) − f (x, y, z)
|X = lim
∂x l→0 l
provided the limit exists.
∂u ∂u
Exercise 15. Find ∂x
and ∂y
for u(x, y) = x3 + 2y 2 − 3x2 y 5 − 7.
Exercise 16. Find f (1, 2), f (x, 1), f (1, y), f (x + h, y), f (x, y + k) for f (x, y) =
x2 − 2xy − 3y.
∂f ∂f
Exercise 17. Find from definition ∂x
and ∂y
where f (x, y) = x3 − 3xy 2 + 5y.
14 Differential and Integral Calculus
∂ 2f
∂ ∂f
fxx = =
∂x2 ∂x ∂x
∂ 2f
∂ ∂f
fxy = =
∂x∂y ∂x ∂y
2
∂ f ∂ ∂f
fyx = =
∂y∂x ∂y ∂x
2
∂ f ∂ ∂f
fyy = = .
∂y 2 ∂y ∂y
Exercise 18. Find fxy (0, 0) and fyx (0, 0), where
xy(x2 2 −y2 2 ) , (x, y) ̸= (0, 0)
x +y
f (x, y) =
0
(x, y) = (0, 0).
Exercise 19. Find fxy (1, 2) and fyx (1, 2), where f (x, y) = x2 − 2xy − 3y.
In the above definition α · H is the scalar product. Note that the derivative
df
| =
dx X
(α1 , α2 , α3 ).
Homogeneous function:
Exercise 20. Show that f (x, y) = ax2 +2hxy +by 2 is a homogeneous function.
2 +y 2 +z 2
x√
Exercise 21. Check whether f (x, y, z) = x+y+z
is a homogeneous function.
∂u ∂u
+y x = nu.
∂x ∂y
∂u y y y
n−1
= nx ϕ + x · − 2 ϕ′
n
∂x x x x
16 Differential and Integral Calculus
∂u 1 y
n
=x · ϕ′
∂y x x
∂u ∂u y y y
x +y = nxn ϕ − yxn−1 ϕ′ + yxn−1 ϕ′ = nu.
∂x ∂y x x x
1. f (x, y) = x4 + x2 y 2 − 2y 4
2. u = x5 + y 5 + 3x2 y 3
5 5
3. v = ln xx3 +y
−y 3
.
hn (1−θ)n−p n
Note that Rn = p(n−1)!
f (a + θh) is known as the remainder term. If
hn
p = n then Rn = n!
f n (a + θh) and it is know as Lagranges form.
17 Differential and Integral Calculus
Convex and Concave Function: First we will talk about convex set
and then we will define the notions of convex and concave function. Here we
will define those notions for R and R2 but the higher dimensional cases can be
denied likewise.
λ · (x1 , x2 ) + (1 − λ) · (y1 , y2 ) ∈ X
for all 0 ≤ λ ≤ 1.
18 Differential and Integral Calculus
Exercise 27. Check whether the functions listed earlier are convex or concave.
Integral Calculus
Indefinite Integral: A function F (x) is an indefinite integral (or antideriva-
tive) of the function f (x) if F ′ (x) = f (x) for all x in the domain of the function.
´
We usually write F (x) = f (x)dx and f (x) is known as the integrand.
Some rules:
´ xn+1
1. xn dx = n+1
+ c, n ̸= 1.
´ amx
2. amx dx = mloge a
+ c.
´ emx
3. emx dx = m
+ c.
´ 1
4. ax+b
dx = a1 loge | ax + b | +c.
´ ´
5. c · f (x)dx = c f (x)dx.
´ ´ ´
6. (α · f (x) ± β · g(x) ± · · · )dx = α f (x)dx ± β g(x)dx ± · · · .
´ (x−1)(x−5)
4. (x−2)(x−4)
dx
´
5. 23x dx
´
6. e5x dx.
By substitution Here we will list down some of the special form and indicate
what to substitute to calculate.
´
Rule I: If it is of the form {f (x)}n f ′ (x)dx then one need to put f (x) = y
or some integral power of y.
´ x4
Exercise 30. Calculate √
3
2x5 +3
dx.
´
Rule II: If it is of the form (ax + b)n dx then one need to put ax + b = y
or some suitable power of y.
´√
3
Exercise 31. Calculate 3 − 2xdx.
´ ax+b
Rule III: If it is of the form px+q
dx then one need to put px + q = y.
´ 2x+3
Exercise 32. Calculate 3x+2
dx.
´ ´ √
Rule IV: If it is of the form √ax+b dx and (ax + b) px + qdx then one
px+q
need to put px + q = y 2 .
´
Exercise 33. Calculate √2x−3 dx.
4x−1
´ dx
Rule V: If it is of the form xm (ax+bn )
then one need to put ax + b = xz.
´ dx
Exercise 34. Calculate x2 (x+2)3
.
´ dx√
Rule VI: If it is of the form √
ax+b± ax+c
then rationalize the denominator.
´ dx√
Exercise 35. Calculate √
x+1+ x+2
dx.
21 Differential and Integral Calculus
Exercise 38. Suppose a firm begins at time t = 0 with a capital stock K(0) =
5, 00, 000 and in addition to replace any depreciated capital, is planning to
invest in new capital at the rate I(t) = 600t2 over the next 10 years. What
would be the capital stock at the end of the ten years if the plan is carried out?
1
Exercise 39. The demand function for a product is q = 15 − 3p 2 . Compute
the consumer surplus at prices p = 4 and p = 1.