Quick Review on Calculus
Definition of a derivative
If y = f(x), the derivative of y or f(x) with respect to x is defined as
dy
π(π₯ + β) − π(π₯)
π(π₯ + βπ₯) − π(π₯)
= lim
= lim
βx→0
dx h→0
β
βπ₯
where h = βx. The derivative represents the slope of the curve (i.e. y against x) at
the point (x, y). It is also denoted by y′, df/dx, or f′(x). The process of taking a
derivative is called differentiation.
General rules of differentiation
Let u, v, w, and y be functions of x; and a, b, c, and n are constants. We have
the following.
d
dx
(π ) = 0
d
dw
du
dv
(π’π’π’) = π’π’
+ π£π£
+ π€π€
dx
dx
dx
dx
d
(ππ) = π
dx
d π’
π£(ππ/ππ) − π’(ππ/ππ)
οΏ½ οΏ½=
dx π£
π£2
d
du dv dw
(π’ ± π£ ± π€ ± β― ) =
± ±
±β―
dx
dx dx dx
du
1
=
dx ππ/ππ
d
dv
du
(π’π’) = π’ + π£
dx
dx
dx
dy ππ/ππ
=
dx ππ/ππ
d
(ππ₯ π ) = πππ₯ π−1
dx
d
du
(ππ) = π
dx
dx
d π
ππ
(π’ ) = ππ’π−1
dx
ππ
dy dy du
=
dx du dx
(πΆβπππ ππππ)
Derivatives of trigonometric functions
d
du
sin π’ = cos π’
dx
dx
d
du
cot π’ = −csc 2 π’
dx
dx
d
du
tan π’ = sec 2 π’
dx
dx
d
du
csc π’ = −csc π’ cot π’
dx
dx
d
du
cos π’ = −sin π’
dx
dx
d
du
sec π’ = sec π’ tan π’
dx
dx
1
Derivatives of exponential and logarithmic functions
d
1 du
ln π’ =
dx
π’ dx
d π’
du
π = ππ’ ln π
dx
dx
d π’
du
π = ππ’
dx
dx
d
log π π du
log π π’ =
dx
π’ dx
Higher derivatives
2
d ππ
Second derivative = πππ₯π¦2 = dx
οΏ½ οΏ½ = π ′′ (π₯) = π¦′′
ππ
ππ π¦
d
ππ−1 π¦
nth derivative = ππ₯ π = dx οΏ½ππ₯ π−1 οΏ½ = π (π) (π₯) = π¦ (π)
Increasing and decreasing functions
dy
For strictly increasing function: dx > 0
dy
For strictly decreasing function: dx < 0
Stationary points of a curve
If y = f(x), then the maximum and minimum points in y are regarded as stationary
dy
points, where dx = 0.
π2 π¦
For maximum point: ππ₯ 2 < 0.
π2 π¦
For minimum point: ππ₯ 2 > 0.
2
Definition of an indefinite integral
dy
If dx = π(π₯), then π¦ is the function whose derivative is π(π₯) and is called the
anti-derivative of π(π₯) or the indefinite integral of π(π₯), denoted by ∫ π(π₯) ππ.
That is to say, y = ∫ π(π₯) ππ. Since the derivative of a constant is zero, all indefinite
integrals differ by an arbitrary constant.
General formulae of integrals
Let u, v, and w be functions of x; and a, b, c, and n are constants. We have the
following.
οΏ½ π ππ = ππ
οΏ½ ππ(π₯) ππ = π οΏ½ π(π₯) ππ
οΏ½(π’ ± π£ ± π€ ± β― ) ππ = οΏ½ π’ ππ ± οΏ½ π£ ππ ± οΏ½ π€ ππ ± β―
π’π+1
∫ π’π ππ = π+1
(n ≠ −1)
οΏ½ π π’ ππ = π π’
(Integration by parts)
ππ
∫ π’ = ln π’ if u > 0 or ln(−π’) if u < 0
∫ π’ ππ = π’π’ − ∫ π£ ππ
Integrals of trigonometric functions
οΏ½ sin π’ ππ = − cos π’
οΏ½ tan π’ ππ = ln sec π’ = − ln cos π’
οΏ½ cos π’ ππ = sin π’
οΏ½ cot π’ ππ = ln sin π’
οΏ½ sec 2 π’ ππ = tan π’
οΏ½ csc 2 π’ ππ = −cot π’
π’ π
οΏ½ sec π’ ππ = ln(sec π’ + tan π’) = ln tan οΏ½ + οΏ½
2 4
οΏ½ csc π’ ππ = ln(csc π’ − cot π’) = ln tan
3
π’
2
Definition of a definite integral
Let f(x) be defined in an interval a ≤ x ≤ b. Divide the interval into n equal parts
of length βx = (b − a)/n. Then the definite integral of f(x) between x = a and
x = b is defined as
π
οΏ½ π(π₯) ππ = lim {π(π) βπ₯ + π(π + βπ₯) βπ₯ + π(π + 2βπ₯) βπ₯ + β― + π(π + (π − 1)βπ₯) βπ₯}
π→∞
π
The limit will certainly exist if f(x) is piecewise continuous.
d
If f(x) = dx π(π₯), then by the fundamental theorem of the integral calculus the above
definite integral becomes
π
π
π
π
π(π₯)ππ = οΏ½ π{π(π₯)} = π(π₯) οΏ½ = π(π) − π(π)
π
π ππ
π
οΏ½ π(π₯) ππ = οΏ½
π
π
Simple rules of definite integrals
Let f, g, and h be functions of x; and a, b, and c are constants. We have the
following.
π
π
οΏ½ π(π₯) ππ = 0
π
π
οΏ½ π(π₯) ππ = − οΏ½ π(π₯)ππ
π
π
π
π
π
π
π
π
οΏ½ π π(π₯) ππ = π οΏ½ π(π₯)ππ
π
π
οΏ½ π(π₯) ππ = οΏ½ π(π₯)ππ + οΏ½ π(π₯)ππ
π
π
π
π
π
π
οΏ½ {π(π₯) ± π(π₯) ± β(π₯) ± β― } ππ = οΏ½ π(π₯)ππ ± οΏ½ π(π₯)ππ οΏ½ β(π₯)ππ ± β―
π
π
4
π
π