Calculus
Calculus
Lecture Notebook
Joseph Connolly
1
MTHA4008A Calculus 2
Contents
1 Complex Numbers 6
1.1 Notation of Complex Numbers . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Algebra of Complex Numbers . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2.1 Addition and Subtraction . . . . . . . . . . . . . . . . . . . . . . 6
1.2.2 Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2.3 Division . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2.4 Formal Laws of Addition and Multiplication of Complex Numbers 6
1.3 The Argand Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3.1 Properties of Modulus . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3.2 Calculating Argument of a Complex Number . . . . . . . . . . . . 7
1.4 Complex Exponential . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.5 Manipulation of Complex Numbers in Exponential Form . . . . . . . . . 7
1.5.1 Operations using Exponential Form . . . . . . . . . . . . . . . . . 7
1.5.2 Trigonometric (or Circular) and Hyperbolic Functions . . . . . . . 7
1.5.3 De Moivre’s Theorem . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.6 Roots of Complex Numbers . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6.1 Roots of Unity . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6.2 Roots of a General Complex Number . . . . . . . . . . . . . . . . 8
2 Vectors 9
2.1 Introduction to Vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1.1 Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2 Vector Representation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3 Vector Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3.1 Vector Addition . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3.2 Scalar Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Vector Lines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.4.1 Example: Line Passing Through Two Points . . . . . . . . . . . . 10
2.5 Vector Planes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.5.1 Equation of a Plane . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.5.2 Parametric Form of a Plane . . . . . . . . . . . . . . . . . . . . . 11
2.6 Properties of Vectors, Lines, and Planes . . . . . . . . . . . . . . . . . . 11
2.6.1 Distance from a Point to a Line . . . . . . . . . . . . . . . . . . . 11
2.6.2 Distance from a Point to a Plane . . . . . . . . . . . . . . . . . . 11
2.7 Dot Product and Cross Product . . . . . . . . . . . . . . . . . . . . . . . 12
2.7.1 Dot Product (Scalar Product) . . . . . . . . . . . . . . . . . . . . 12
2.7.2 Properties of the Dot Product . . . . . . . . . . . . . . . . . . . . 12
2.7.3 Example of Dot Product Calculation . . . . . . . . . . . . . . . . 12
2.7.4 Cross Product (Vector Product) . . . . . . . . . . . . . . . . . . . 12
2.7.5 Volume of a Parallelepiped . . . . . . . . . . . . . . . . . . . . . . 13
2.7.6 Calculation of Volume . . . . . . . . . . . . . . . . . . . . . . . . 13
2.7.7 Properties of the Cross Product . . . . . . . . . . . . . . . . . . . 13
MTHA4008A Calculus 3
3 Differentiation 14
3.1 Formal Definition of the Derivative . . . . . . . . . . . . . . . . . . . . . 14
3.2 Calculating the Derivatives of Functions . . . . . . . . . . . . . . . . . . 14
3.2.1 First Principles (Using the Definition) . . . . . . . . . . . . . . . 14
3.2.2 Standard Derivatives of Elementary Functions . . . . . . . . . . . 14
3.2.3 Properties and Rules for Differentiation . . . . . . . . . . . . . . . 14
3.2.4 Linearity and the Product Rule . . . . . . . . . . . . . . . . . . . 14
3.2.5 The Chain Rule (Function-of-a-Function Rule) . . . . . . . . . . . 14
3.2.6 The Quotient Rule . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.2.7 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3 The Derivative as the Gradient of a Curve . . . . . . . . . . . . . . . . . 15
3.3.1 Gradients and Tangent Lines . . . . . . . . . . . . . . . . . . . . 15
3.3.2 Stationary Points, Maxima, and Minima . . . . . . . . . . . . . . 15
3.3.3 Classification of Stationary Points . . . . . . . . . . . . . . . . . . 15
3.4 Implicit Differentiation and Associated Techniques . . . . . . . . . . . . . 15
3.4.1 Implicit Differentiation . . . . . . . . . . . . . . . . . . . . . . . . 15
3.4.2 Parametric Relations . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.4.3 Differentiation of Inverse Functions . . . . . . . . . . . . . . . . . 16
3.5 Further Techniques for Differentiation . . . . . . . . . . . . . . . . . . . . 16
3.5.1 Logarithms and Powers . . . . . . . . . . . . . . . . . . . . . . . . 16
3.5.2 Leibniz’ Rule for Higher Derivatives of Products . . . . . . . . . . 16
3.6 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4 Power series 18
4.1 Introduction and definitions . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1.1 Series and convergence . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1.2 Power Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.1.3 Radius of Convergence for Power Series . . . . . . . . . . . . . . . 19
4.2 Properties of Power Series . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.2.1 Uniqueness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.2.2 Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.2.3 Addition and Subtraction . . . . . . . . . . . . . . . . . . . . . . 20
4.2.4 Multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.2.5 Division . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4.2.6 Differentiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.2.7 Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.3 Maclaurin series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.3.2 Key Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.3.3 Common Maclaurin Series . . . . . . . . . . . . . . . . . . . . . . 23
4.4 Taylor Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.4.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.4.2 Terms in the Series . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.4.3 Taylor Polynomial of Order n . . . . . . . . . . . . . . . . . . . . 24
4.4.4 Remainder Term . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.4.5 Convergence of Taylor Series . . . . . . . . . . . . . . . . . . . . . 25
4.4.6 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.5 L’Hôpital’s Rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
MTHA4008A Calculus 4
4.5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.5.2 Statement of L’Hôpital’s Rule . . . . . . . . . . . . . . . . . . . . 26
4.5.3 Conditions for L’Hôpital’s Rule . . . . . . . . . . . . . . . . . . . 26
5 Integration 27
5.1 The Definite Integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.1.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.1.2 Geometric Interpretation . . . . . . . . . . . . . . . . . . . . . . . 27
5.1.3 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.1.4 Improper Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.1.5 Evaluation of Improper Integrals . . . . . . . . . . . . . . . . . . 28
5.1.6 Numerical Approximation . . . . . . . . . . . . . . . . . . . . . . 29
5.2 The fundamental theorems of calculus . . . . . . . . . . . . . . . . . . . 31
5.2.1 The First Fundamental Theorem of Calculus . . . . . . . . . . . . 31
5.2.2 The Second Fundamental Theorem of Calculus . . . . . . . . . . . 31
5.2.3 Applications and Remarks . . . . . . . . . . . . . . . . . . . . . . 31
5.3 The Indefinite Integral . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.3.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.3.2 Key Properties of Indefinite Integrals . . . . . . . . . . . . . . . . 32
5.3.3 Interpretation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.3.4 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.3.5 Table of Standard Integrals . . . . . . . . . . . . . . . . . . . . . 33
5.4 General Methods of Integration . . . . . . . . . . . . . . . . . . . . . . . 33
5.4.1 Integration by Parts . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.4.2 Partial Fractions . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.4.3 Trigonometric Integrals . . . . . . . . . . . . . . . . . . . . . . . . 34
5.4.4 Trigonometric Substitution . . . . . . . . . . . . . . . . . . . . . . 34
5.4.5 Improper Integrals . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.5 Reduction Formulae in Integration . . . . . . . . . . . . . . . . . . . . . 35
5.5.1 General Form . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.5.2 Key Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.5.3 Steps to Derive a Reduction Formula . . . . . . . . . . . . . . . . 35
5.6 Integrals Involving Trigonometric Functions . . . . . . . . . . . . . . . . 36
5.6.1 Integrals of sin(mx) sin(nx), etc. . . . . . . . . . . . . . . . . . . . 36
5.6.2 Integrals of sinN θ cosM θ . . . . . . . . . . . . . . . . . . . . . . . 36
5.7 Rational Functions of x . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.7.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.7.2 Key Indefinite Integrals from Previous Sections . . . . . . . . . . 36
5.7.3 Partial Fractions . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.7.4 Polynomial Division . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.8 Tan Substitution for Integrands of Form f (cos θ, sin θ) . . . . . . . . . . . 37
5.8.1 Further Applications of Integration . . . . . . . . . . . . . . . . . 37
5.8.2 Surface Area of Solid of Revolution . . . . . . . . . . . . . . . . . 37
1 Complex Numbers
1.1 Notation of Complex Numbers
Complex numbers are typically represented in the form z = a + bi, where:
z1 + z2 = (a + c) + (b + d)i
z1 − z2 = (a − c) + (b − d)i
1.2.2 Multiplication
To multiply z1 = a + bi and z2 = c + di:
1.2.3 Division
To divide z1 = a + bi by z2 = c + di:
z1 (a + bi)(c − di) ac + bd bc − ad
= 2 2
= 2 + 2 i
z2 c +d c + d2 c + d2
z1 · z2 = r1 r2 ei(θ1 +θ2 )
z1 r1
= ei(θ1 −θ2 )
z2 r2
eiz + e−iz
cos z =
2
eiz − e−iz
sin z =
2i
e − e−z
z
sinh z =
2
ez + e−z
cosh z =
2
2 Vectors
2.1 Introduction to Vectors
A vector is a mathematical object that has both magnitude and direction. Vectors are
used to represent quantities such as velocity, force, and displacement.
2.1.1 Notation
Vectors are represented as bold letters, such as a, b, or v, or by arrows above letters, like
⃗a or ⃗v .
where vx , vy , and vz are the components along the x, y, and z axes, respectively.
a · b = ax b x + ay b y + az b z
ax bx
where a = ay and b = by .
az bz
Alternatively, the dot product can be expressed in terms of the magnitudes of the
vectors and the cosine of the angle θ between them:
a · b = |a||b| cos θ
• Distributive Property: a · (b + c) = a · b + a · c
V = |a · (b × c)|
This represents the absolute value of the dot product of one vector with the cross
product of the other two.
• Distributive Property: a × (b + c) = a × b + a × c
3 Differentiation
3.1 Formal Definition of the Derivative
The derivative of a function f (x) at a point x = a is defined as:
f (a + h) − f (a)
f ′ (a) = lim
h→0 h
where h represents a small increment in x. This definition is based on the concept of the
limit.
• d
dx
(xn ) = nxn−1 .
• d
dx
(sin x) = cos x.
• d
dx
(cos x) = − sin x.
• d
dx
(ex ) = ex .
3.2.7 Examples
Consider finding the derivative of f (x) = x3 + 3x2 + 2x. By applying the power rule, we
get:
f ′ (x) = 3x2 + 6x + 2
y − f (a) = f ′ (a)(x − a)
Now suppose that we want to differentiate f , but only know how to differentiate its
inverse F . We write
y = f (x) =⇒ x = F (y). (2)
Then we differentiate both sides of the second equation with respect to x, using
implicit differentiation:
dF dy
1= . (3)
dy dx
Hence,
dy 1 1
= dF = ′ . (4)
dx dy
F (y)
dy
This gives us an expression for f ′ (x) = dx , however, it is in terms of y rather than x.
We should use the expression y = f (x) to convert it back. This yields:
dy 1
f ′ (x) = = ′ . (5)
dx F (f (x))
y = xx ⇒ ln y = x ln x
3.6 Summary
Elementary Functions
You should know all the standard results below, which may be freely quoted in your work
(unless you are asked to derive one from first principles).
f (x) f ′ (x)
xn nxn−1
kx
e kekx
1
log kx x
sin(kx) k cos(kx)
cos(kx) −k sin(kx)
sinh(kx) cosh(kx)
cosh(kx) sinh(kx)
Rules of Differentiation
You should know the following rules and be able to apply them:
• Linearity
• Product Rule
• Chain Rule
• Leibniz’ Rule
Techniques of Differentiation
You should understand and be able to use the following techniques:
1. Finding and characterising stationary points, and using this information to sketch
curves.
4 Power series
4.1 Introduction and definitions
4.1.1 Series and convergence
Given a sequence of numbers, c0 , c1 , c2 , . . ., we define the infinite series
∞
X
S= cn = c0 + c1 + c2 + . . . , (5.1)
n=0
We say that the series converges if the partial sums SN converge as N tends to
infinity. The series is then equal to the limit of the partial sums:
S = lim SN . (5.3)
N →∞
1. If R = 0, then the series converges for x = 0, but not for any other x.
2. If R ∈ R+ , then the series converges for all x ∈ C such that |x| < R, and does not
converge for |x| > R.
If the limit limr→∞ |ar+1 /ar | exists, then the radius of convergence is given by
1
R= (5.7)
limr→∞ ar+1
ar
Note that the theorem does not say anything about whether the power series converges
when |x| = R, and nothing about the numerical value of the infinite sum when it does
converge.
MTHA4008A Calculus 20
are equal for all x within their radius of convergence, then cn = dn for all n.
4.2.2 Scaling
If f (x) = ∞ n
P
n=0 cn (x − a) , then for any constant α,
∞
X
αf (x) = αcn (x − a)n .
n=0
Thus, multiplying a power series by a constant scales each term by that constant.
∞
X
f (x) ± g(x) = (cn ± dn )(x − a)n .
n=0
4.2.4 Multiplication
If f (x) = ∞
P n
P∞ n
n=0 cn (x−a) and g(x) = n=0 dn (x−a) , then the product h(x) = f (x)·g(x)
is:
∞ n
!
X X
h(x) = ck dn−k (x − a)n .
n=0 k=0
Each term in h(x) is a sum of products of terms from f (x) and g(x) whose indices add
up to n.
4.2.5 Division
For division, if f (x) = ∞
P n
P∞ n
n=0 cn (x − a) and g(x) = n=0 dn (x − a) with d0 ̸= 0, we can
express the quotient h(x) = fg(x)
(x)
as a power series:
∞
X
h(x) = en (x − a)n .
n=0
The coefficients en can be determined recursively, but this process is more complex and
often requires the use of the convolution of series.
MTHA4008A Calculus 21
4.2.6 Differentiation
If f (x) = ∞ n ′
P
n=0 cn (x − a) , then the derivative f (x) is:
∞
X
′
f (x) = ncn (x − a)n−1 .
n=1
Differentiation of a power series is done term by term and reduces the power of each term
by 1 while multiplying by its index.
4.2.7 Integration
If f (x) = ∞ n
P
n=0 cn (x − a) , then an antiderivative of f (x) is:
Z ∞
X cn
f (x) dx = (x − a)n+1 + C,
n=0
n + 1
• n! is the factorial of n.
• Radius of Convergence:
– The radius of convergence, R, is the distance from the center of the series
(x = 0) to the nearest point where the series diverges.
– The series converges absolutely for |x| < R and diverges for |x| > R.
• Remainder Term:
– The remainder term, Rn (x), represents the difference between the actual func-
tion value and the n-th partial sum of the series.
– Taylor’s theorem provides bounds for the remainder term, which can be used
to estimate the error in approximations.
MTHA4008A Calculus 23
∞
x
X xn x2 x3
e = =1+x+ + + ···
n=0
n! 2! 3!
∞
X (−1)n 2n+1 x3 x5
sin(x) = x =x− + − ···
n=0
(2n + 1)! 3! 5!
∞
X (−1)n x2 x4
cos(x) = x2n = 1 − + − ···
n=0
(2n)! 2! 4!
∞
1 X
= xn = 1 + x + x2 + x3 + · · · (for |x| < 1)
1−x n=0
∞
X (−1)n+1 n x2 x3
ln(1 + x) = x =x− + − ··· (for |x| < 1)
n=1
n 2 3
MTHA4008A Calculus 24
4.4.1 Definition
Let f (x) be a function that is infinitely differentiable at x = a. The Taylor series of
f (x) about x = a is given by:
∞
X f (n) (a)
f (x) = (x − a)n
n=0
n!
where:
• f (n) (a) is the n-th derivative of f (x) evaluated at x = a.
• n! is the factorial of n.
• (x − a)n represents the n-th power of (x − a).
One common form for the remainder, known as the Lagrange form of the remainder,
is:
f (n+1) (c)
Rn (x) = (x − a)n+1
(n + 1)!
lim Rn (x) = 0
n→∞
This means that as we take more terms in the series, the approximation becomes more
accurate.
4.4.6 Examples
• Taylor Series for ex about x = a:
∞
x
X ea
e = (x − a)n
n=0
n!
• limx→c f (x) = 0 and limx→c g(x) = 0 (or both limits approach ∞),
then:
f (x) f ′ (x)
lim = lim ′
x→c g(x) x→c g (x)
5 Integration
5.1 The Definite Integral
5.1.1 Definition
The definite integral of a function f (x) from a to b is defined as:
Z b
f (x) dx = F (b) − F (a)
a
5.1.3 Properties
• Linearity: Z b Z b Z b
[c · f (x) + g(x)] dx = c f (x) dx + g(x) dx
a a a
where c is a constant.
• Consecutive Limits:
Z b Z c Z c
f (x) dx + f (x) dx = f (x) dx
a b a
• Antisymmety in Limits:
Z b Z a
f (x) dx = − f (x) dx
a b
• The integrand has an infinite discontinuity at some point in the interval, such as:
Z b
f (x) dx where f (x) is undefined at c ∈ [a, b]
a
Riemann integral
Let f : [a, b] → R be a bounded function. A partition P of the interval [a, b] is a finite
sequence of points:
P = {x0 , x1 , . . . , xn }
where a = x0 < x1 < . . . < xn = b.
Trapezoidal Rule
The Trapezoidal Rule approximates the area under the curve by dividing it into trape-
zoids: Z b
b−a
f (x) dx ≈ (f (a) + f (b))
a 2
For multiple intervals, the formula becomes:
n−1
!
Z b
h X
f (x) dx ≈ f (x0 ) + 2 f (xi ) + f (xn )
a 2 i=1
b−a
where h = n
and xi = a + ih.
MTHA4008A Calculus 30
Simpson’s Rule
The Simpson’s Rule provides a more accurate approximation by using parabolic seg-
ments: Z b
b−a a+b
f (x) dx ≈ f (a) + 4f + f (b)
a 6 2
For multiple intervals (even n), the formula is:
n−1 n−2
!
Z b
h X X
f (x) dx ≈ f (x0 ) + 4 f (xi ) + 2 f (xi ) + f (xn )
a 3 i=1, odd i=2, even
b−a
where h = n
.
MTHA4008A Calculus 31
Then F is continuous on [a, b], differentiable on (a, b), and its derivative is given by:
Interpretation: The first theorem states that the derivative of the integral of a
function is the original function. In other words, integration and differentiation are
inverse operations.
5.3.1 Definition
Let F (x) be a function such that:
F ′ (x) = f (x),
for all x in the domain of f . The indefinite integral of f (x) is written as:
Z
f (x) dx = F (x) + C,
2. Power Rule:
xn+1
Z
xn dx = + C, for n ̸= −1.
n+1
3. Constant Rule:
Z
c dx = cx + C, where c is a constant.
5.3.3 Interpretation
The indefinite integral represents all possible antiderivatives of a function. The
constant of integration C accounts for the fact that differentiation of a constant is
zero.
5.3.4 Applications
• Finding the general solution of differential equations.
R a dx ln a
+ C (a > 0, a ̸= 1)
R sin x dx − cos x + C
R cos2 x dx sin x + C
R sec2 x dx tan x + C
R csc x dx − cot x + C
R sec x tan x dx sec x + C
csc
R x1cot x dx − csc x + C
2 dx arcsin x + C
√
R 1−x−1
2 dx arccos x + C
√
R 1−x1
1+x2
dx arctan x + C
Example: Z
2x cos(x2 ) dx
Example: Z
xex dx
P (x) A B
= + + ···
Q(x) (x − a) (x − b)
Example: Z
1
dx
x2 −1
1 1 A B
Decompose: x2 −1
= (x−1)(x+1)
= x−1
+ x+1
. Solve for A and B:
1 1/2 1/2
= −
x2 − 1 x−1 x+1
Integrate: Z
1 1 1
dx = ln |x − 1| − ln |x + 1| + C
x2 −1 2 2
Reduction Example:
1 − cos(2x)
Z Z
2 x sin(2x)
sin (x) dx = dx = − +C
2 2 4
Z
dx x
√ = arcsin +C
4 − x2 2
MTHA4008A Calculus 35
Example:
Z ∞ Z b b
1 −2 1 1 1
dx = lim x dx = lim − = − + =1
1 x2 b→∞ 1 b→∞ x 1 b 1
• If both powers are even: Apply half-angle identities like sin2 θ = 21 (1−cos(2θ)).
P (x)
R(x) = ,
Q(x)
• x1 dx = ln |x| + C,
R
n+1
• xn dx = xn+1 + C (n ̸= −1),
R
• x2 +a
R 1 1 x
2 dx = a arctan a + C.
Homogeneous Equations
A homogeneous ODE has the form:
dy y
=F .
dx x
Substitution: Let v = xy , hence y = vx and dy
dx
dv
= v + x dx . Steps:
y
1. Substitute v = x
into the equation.
Exact Equations
An ODE is exact if it can be written as:
M (x, y) dx + N (x, y) dy = 0,
∂Φ ∂Φ
= M, = N.
∂x ∂y
Linear Equations
A linear ODE has the standard form:
dy
+ P (x)y = Q(x).
dx
Solution:
• Plot small line segments at sample points (x, y), with slopes given by f (x, y).
• Observe how the segments form a trajectory, showing the solution curves.
• If f (x, y) and ∂f
∂y
are continuous in a region around a point (x0 , y0 ), then there
exists a unique solution passing through (x0 , y0 ).