Numerical Analysis in Engineering: Taylor Series
Numerical Analysis in Engineering: Taylor Series
Numerical Analysis in Engineering: Taylor Series
Numerical Analysis in
Engineering: Taylor
Series
M2: Numerical Analysis in
Engineering: Taylor Series
𝑓 𝑥 = 𝑎 + 𝑏𝑥 + 𝑐𝑥 2 + 𝑑𝑥 3 + 𝑒𝑥 4 …
can be evaluated arithmetically, easy to differentiate and integrate
𝑓 ′′ 𝑥 = 2! 𝑐2 + 3! 𝑐3 𝑥 + 4 ∙ 3𝑐4 𝑥 2 … 𝑓 ′′ 0 = 2! 𝑐2
𝑓 ′ 0 = 𝑐1
It is formulated and
𝑓 ′′ 0 = 2! 𝑐2 named for the Scottish
mathematician Colin
𝑓 ′′′ 𝑥 = 3! 𝑐3 Maclaurin (1698-1746)
Sadly, not all non-linear functions can be
approximated by the Maclaurin Series
These are…
𝑓 𝑥 = ln(𝑥) 𝑓 𝑥 = cot(𝑥) 𝑓 𝑥 = 𝑥3
Reasons…
The f(x) and all of its derivatives does not exist at x = 0.
Well, let’s move on and have some problems
instead…
Maclaurin Series Problem 1:
Problem Statement: Obtain the Maclaurin’s Series for sin x.
Solution:
1. Target polynomial approximation (Maclaurin Series Expansion)
Maclaurin Series Problem 1:
Problem Statement: Obtain the Maclaurin’s Series for sin x.
Solution:
2. Solve the successive derivatives of the given functions
Maclaurin Series Problem 1:
Problem Statement: Obtain the Maclaurin’s Series for sin x.
Solution:
3. Substituting and Writing the equivalent Maclaurin Expansion
Maclaurin Series Problem 2:
Problem Statement: Estimate the value of sin 54 degrees using the
Maclaurin Series up to 4 terms. Solve for the
percentage error.
Solution:
1. Formulating the Maclaurin Series for sin x up to 4 terms.
We can also perform substitution in power series. Kindly explore it on a separate theorem!!!
with the knowledge of Maclaurin Series Expansion,
let’s solve this definite integral…
1
sin 𝑥
න
0 𝑥
Maclaurin Series Problem 5:
Problem Statement: Approximate the value of the definite integral below
using the first three terms. Solve also the relative error.
1
sin 𝑥
න
Solution: 0 𝑥
1. Solving for the approximate value
Maclaurin Series Problem 5:
Problem Statement: Approximate the value of the definite integral below
using the first three terms. Solve also the relative error.
1
sin 𝑥
න
Solution: 0 𝑥
2. Solving for the relative error
so much for the Maclaurin Series… Let’s have the
Taylor Series Expansion.
References:
1. C. F. Gerald and P. O. Wheatley (2004). Applied Numerical Analysis (7th Ed.) Pearson
Education, Inc.
2. S. C. Chapra and R. P. Canale (2010). Numerical Methods for Engineers (6th Ed.)
McGraw-Hill, New York.