Lecture_6_Typed_Notes
Lecture_6_Typed_Notes
by Hovsep Mazakian
January 23 2025
2
Note: f (n) denotes the n’th derivative of f, so for example f (1) = f ′ , f (2) = f ′′ , f (3) = f ′′′
etc and by definition
f (0) (x) = f (x)
This series is called the ”Taylor Series of f (x) centered at 0” (we also say
the Taylor Series of f (x) about 0 and the Taylor Series of f (x) at 0). Also
it has another special name: It is also called the Maclaurin Series of f (x).
Similarly, if
∞
X
f (x) = an (x − c)n
n=0
These facts imply that the power series representation of a function f (x)
centered at any number c is unique (and given by the Taylor series of f (x)
about c).
Next class, we will see how to find the interval of convergence (and to
prove that a function can be represented by a power series).
However, today we will simply find the Taylor series of several functions,
without finding the interval of convergence.
Question: Assume that the following functions can be represented as power
series. Find the Taylor series around the given point.
1. Find the Taylor Series for f (x) = ex centered at 0.
Solution:
In fact, this question is asking for the Maclaurin Series for ex . Mclaurin
Series have the form:
∞
X f (n) (0)
f (x) = xn
n=0
n!
2
3. Find the Taylor Series for f (x) = e−x centered at 0.
Solution:
We can try to find the Maclaurin Series directly, by computing the
first few derivatives, and trying to see what the pattern is to get a
general formula for f (n) (0). However, this is not simple in this case,
2 2 2
since f ′ (x) = −2xe−x , and then f ”(x) = −2e−x − 2x(−2x)e−x , etc,
so the general pattern may not be so clear/easy to find.
However, observe that if we plug in −x2 into x in the Mclaurin Series
for ex , we get
∞ ∞
−x2
X 1 2 n
X 1
e = (−x ) = (−1)n x2n
n=0
n! n=0
n!
Z
2
4. Write the indefinite integral e−x dx as a Maclaurin Series.
Solution:
2
We will just integrate the Maclaurin Series for e−x which we just found
in the previous part:
∞ ∞ Z ∞
(−1)n 2n (−1)n
Z Z X
−x2 1 n 2n
X X
e dx = (−1) x dx = x dx = C+ x2n+1
n=0
n! n=0
n! n=0
n!(2n + 1)
2
Note: The curve y = e−x is the famous bell curve (normal/Gaussian
distribution), and is used heavily in probability and statistics. There
5
This is the Maclaurin Series for sin(x) (that is the Taylor Series for
sin(x) centered at 0).
6. Find the Mclaurin Series for f (x) = cos(x) (that is the Taylor Series
centered at c = 0.)
Solution:
7. Find the Maclaurin Series for f (x) = x cos(x2 ) (Taylor Series centered
at c = 0.)
Solution: We can use the Maclaurin series for cos(x) that we just
found, and replace x by x2 , and also multiply the entire series by x: