Documente Academic
Documente Profesional
Documente Cultură
Functions
JuSaK
CalculusI
Course Plan
Introduction
Functions
Differentiation
Integration
Applications
Discretization
Conclusion
Introduction
Functions
JuSaK
CalculusI
Course Plan
Introduction
Functions
Differentiation
Integration
Applications
Discretization
Conclusion
Introduction
Functions
JuSaK
CalculusI
Outline
Introduction
Functions
Functions
A function can be visualized as a machine that takes in an
input and returns an output.
The collection of all possible inputs is called the domain,
and the collection of all possible outputs is called the
range.
This course deals with functions whose domains and
ranges are R or subsets of R (this is the notation for the
real numbers).
Functions
A function can be visualized as a machine that takes in an
input and returns an output.
The collection of all possible inputs is called the domain,
and the collection of all possible outputs is called the
range.
This course deals with functions whose domains and
ranges are R or subsets of R (this is the notation for the
real numbers).
Functions
A function can be visualized as a machine that takes in an
input and returns an output.
The collection of all possible inputs is called the domain,
and the collection of all possible outputs is called the
range.
This course deals with functions whose domains and
ranges are R or subsets of R (this is the notation for the
real numbers).
Functions
Example
1
Functions
Example
1
Functions
Example
1
Functions
Example
1
Functions
Example
1
Functions
Example
1
Operations of Functions
Definition (Composition)
The composition of two functions, f and g, is defined to be the
function that takes as its input x and returns as its output g(x)
fed into f .
f g(x) = f (g(x)).
Example
1
1 x2 can be thought of as the composition of two
functions, f and g. If g = 1 x2 , f would be the function that
takes an input g(x) and returns its square root.
2
Operations of Functions
Definition (Composition)
The composition of two functions, f and g, is defined to be the
function that takes as its input x and returns as its output g(x)
fed into f .
f g(x) = f (g(x)).
Example
1
1 x2 can be thought of as the composition of two
functions, f and g. If g = 1 x2 , f would be the function that
takes an input g(x) and returns its square root.
2
Operations of Functions
Definition (Composition)
The composition of two functions, f and g, is defined to be the
function that takes as its input x and returns as its output g(x)
fed into f .
f g(x) = f (g(x)).
Example
1
1 x2 can be thought of as the composition of two
functions, f and g. If g = 1 x2 , f would be the function that
takes an input g(x) and returns its square root.
2
Operations of Functions
Definition (Composition)
The composition of two functions, f and g, is defined to be the
function that takes as its input x and returns as its output g(x)
fed into f .
f g(x) = f (g(x)).
Example
1
1 x2 can be thought of as the composition of two
functions, f and g. If g = 1 x2 , f would be the function that
takes an input g(x) and returns its square root.
2
Operations of Functions
smi98485_ch06a.qxd
Definition
(Inverse)
5/17/01
1:26 PM
Page 487
The inverse is the that undoes f . If you plug f (x) into f 1 , you
will get x. Notice that this function works both ways. If you plug
f 1 (x) into f (x), you will get back x again.
f 1 (f (x)) = x
f (f 1 (x)) = x.
6.2
f (x)
x
Domain { f }
Range { f }
g(x)
Figure 6.3
1
g(x)
= ff 1
(x)
g(x) =
(x).
1
f (x) .
INVERSE F
Inverse Functions
5/17/01
mi98485_ch06a.qxd
1:26 PM
Page 490
That
verse
Example
of y
Figure 6.10
3
1
1/3
of th
y
=
x.
Reflection
through
Lets consider f (x) = x . Its inverse is f (x) = x .
graph
3 1/3
1Other Transcendental
1/3 3
ing t
490 f 1 (f
Chapter
6
Exponentials,
Logarithms
and
Functions
(x)) = (x ) = x
,
f (f (x)) = (x ) = x.
follo
x
yx
a
(b, a)
y x3
we have that
1
(a, b)
x
1
1
x
b
Figure 6.10
Reflection through y = x.
b = f(
I
1
(
f 1 (b) = fExa
f
That is, (b, a) is a point on the graph of y =
Draw
verse function. In particular, we can immediate
of y = f 1 (x), Figure
simply 6.11
by inspection. Further,
Solu
y = x the
of the point (a,
(seesy
.
y =b)
x 3 through
x 1/3line
and y = the
Inverse Functions
From
example
2.1, the inverse
Figure 6.11
Notice that
the graphs of f andSolution
f 1 are always
going
to be
the symmetry of their graphs shown in Figure 6
y = x 3 and y = x 1/3 .
symmetric about the line y = x. That is the line where the input
and the output are the same.
y
yx
Exampley 2.7
f (x)
y f(x)
1 and
Draw a graph of f (x) = x 5 + 8x 3 + x +
yf
1
1(x)
Figure 6.12
Graph of f and f 1 .
x
1
Solution
In example 2.5,
we showed thatW
y f 1(x)
to-on
one-to-one, but we were unable to find a formu
and
it
1
we can draw a graph
with ease. One
way
1 of f
tal),
1
on the graph of y = f (x) by hand, but we st
cal). dW
ting feature of your graphing utility. To write
Figure 6.13
y = f (x), we introduce
the parameter t and ob
Graph of f and f 1 .
x =t
Theo
and
y
Suppo
are parametric equations for y = f (x). Notice
f ( f t
Classes of Functions
Definition (Polynomials)
A polynomial P(x) is a function of the form
P(x) = c0 + c1 x + c2 x2 + + cn xn .
The top power n is called the degree of the polynomial. We can
also write a polynomial using a summation notation,
P(x) =
n
X
ck xk .
k=0
Example
1
Classes of Functions
Definition (Polynomials)
A polynomial P(x) is a function of the form
P(x) = c0 + c1 x + c2 x2 + + cn xn .
The top power n is called the degree of the polynomial. We can
also write a polynomial using a summation notation,
P(x) =
n
X
ck xk .
k=0
Example
1
Classes of Functions
Definition (Polynomials)
A polynomial P(x) is a function of the form
P(x) = c0 + c1 x + c2 x2 + + cn xn .
The top power n is called the degree of the polynomial. We can
also write a polynomial using a summation notation,
P(x) =
n
X
ck xk .
k=0
Example
1
Classes of Functions
Definition (Polynomials)
A polynomial P(x) is a function of the form
P(x) = c0 + c1 x + c2 x2 + + cn xn .
The top power n is called the degree of the polynomial. We can
also write a polynomial using a summation notation,
P(x) =
n
X
ck xk .
k=0
Example
1
Classes of Functions
Definition (Polynomials)
A polynomial P(x) is a function of the form
P(x) = c0 + c1 x + c2 x2 + + cn xn .
The top power n is called the degree of the polynomial. We can
also write a polynomial using a summation notation,
P(x) =
n
X
ck xk .
k=0
Example
1
Classes of Functions
Definition (Rational Functions)
Rational functions are functions of the form
P(x)
where both
Q(x)
Classes of Functions
Definition (Rational Functions)
Rational functions are functions of the form
P(x)
where both
Q(x)
Classes of Functions
Definition (Rational Functions)
Rational functions are functions of the form
P(x)
where both
Q(x)
Classes of Functions
Definition (Rational Functions)
Rational functions are functions of the form
P(x)
where both
Q(x)
Classes of Functions
Definition (Rational Functions)
Rational functions are functions of the form
P(x)
where both
Q(x)
Classes of Functions
Definition (Power Functions)
Power functions are functions of the form cxn where c and n are
constant real numbers.
Example
1
What is x0 ?
What is x 2 ?
What is x 7 ?
22
Classes of Functions
Definition (Power Functions)
Power functions are functions of the form cxn where c and n are
constant real numbers.
Example
1
What is x0 ?
What is x 2 ?
What is x 7 ?
22
Classes of Functions
Definition (Power Functions)
Power functions are functions of the form cxn where c and n are
constant real numbers.
Example
1
What is x0 ?
What is x 2 ?
What is x 7 ?
22
Classes of Functions
Definition (Power Functions)
Power functions are functions of the form cxn where c and n are
constant real numbers.
Example
1
What is x0 ?
What is x 2 ?
What is x 7 ?
22
Classes of Functions
Definition (Power Functions)
Power functions are functions of the form cxn where c and n are
constant real numbers.
Example
1
What is x0 ?
What is x 2 ?
What is x 7 ?
22
Classes of Functions
Definition (Power Functions)
Power functions are functions of the form cxn where c and n are
constant real numbers.
Example
1
What is x0 ?
What is x 2 ?
What is x 7 ?
22
Classes of Functions
Definition
A function f is periodic of period T if
f (x + T) = f (x)
for all x such that x and x + T are in the domain of f . The
smallest number T > 0 is called the fundamental period.
Remark
Unless otherwise noted, we always measure angles in radians.
Degrees
Radians
0
0
30
45
60
90
135
3
4
6= 180, = 3.1415 . . .
180
270
3
2
360
2
Classes of Functions
Theorem
f () = sin and f () = cos are periodic, of period 2.
Exercise (Trigonometric Functions)
1
Classes of Functions
The functions cos and sin returns the x and y coordinates,
respectively, of a point on the unit circle with angle to the
x-axis:
Trigonometric Functions
Proof
Since a complete circle is 2 radians, adding 2 to any angle takes you all the way
around the circle and back to the same point (x, y). This says that
y
sin( + 2) = sin
xand sin x
0
0
w
cos x
1
cos( + 2) = cos ,
x
3
1
r
w
q
q
w
r
.
for
all
values
of
6
2
2
2
2
1
4
2
2
1 already familiar with the graphs of f (x) = sin x and g(x) = cos x
You 3are likely
3
2
2
Figure 0.48a
y = sin x
shown in Figures 0.48a and 0.48b, respectively.
1
0
y = sin x.
2
3
1
2
y
3 y 2
2
Notice that you could slide the graph o
3
2
2
x
sin x
cos x
1
exact
copy of the graph of y = cos x. Sp
4 1
2
2
3
5
1
0
0
1
6
2
2
3
1
x sin x
x
6
0
1
2
2
2p
p
p
2p
q
q
w
r
3
2
2
1
0
2
2
2
4
21
Figure 0.48a
y = sin x.
3
2
1
2
Figure
0.48b
y = cos
x
y = cos x.
Trigonometric Functions
Definition
The tangent function is defined by tan =
sin
.
cos
cos
.
sin
1
.
cos
1
.
sin
give graphs of these functions in Figures 0.49a, 0.49b, 0.49c and 0.49d. Notice in each
TrigonometricWe
Functions
graph the locations of the vertical asymptotes. For the co functions cot x and csc x, the
division by sin x causes vertical asymptotes at 0, , 2, and so on (where sin x = 0). For
tan x and sec x, the division by cos x produces vertical asymptotes at /2, 3/2, 5/2 and
y
y
_ch00b.qxd
44
5/17/01
AM
2p
w 10:46
p q
Page 44q
x
2p w
2p
p
Figure 0.49a
Chapter 0 Preliminaries
q
2p w
2p
y y== cot
cot
x. x
y
1
q 1
Figure 0.49b
y y== tantan
x. x
y
p
q
p
q
0.49c
yFigure
sec
y=
= sec
x. x
x
w
2p
2p w
p
1
1
x
q
2p
0.49d
yFigure
csc
y=
= csc
x. x
so on (where cos x = 0). Once you have the vertical asymptotes in place, the graphs are rel-
1
to
sin1 hard =
2 cal
your
radians
arcsin
y
q
1
q
Figure 6.35
[1, 1] 7 1 2 , 2
y = sin
x.
1
1
verse cosine function by
Figure 6.37
y = cos x.
1
[1, 1] 71[0, ]
y = cos
Onc
cosc
if and only
y=
of if
y
y
Note that here, we have
1
Figure 6
We
For y =
<y<
.
2
(7.4)
he graph of y = tan1 x is then as seen in Figure 6.39, found by reflecting the graph in
gure 6.38 through the line y = x .
arctan
y
q
6
4
2
q
Figure 6.39
(, ) 71 2 , 2
y = tan
x.
5
Inverse Trigonometric
Functions
10
Figure 6.40
y = sec x on [0, ].
arcsec
y
p
y = sec1 x
10
5
1 1
x
5
Figure 6.41
(,
) 7
[0, ]
1
y = sec
x.
10
You must lo
ax = eln(a ) = ex ln a .
Using these same properties we can rewrite any logarithm
in terms of natural logarithms, as follows. For any positive
base b (b 6= 1), we have
logb x =
ln x
.
ln b
Eulers Formula
The relation between trigonometric and exponential
functions is given by the Eulers formula
eix = cos x + i sin x.
In many engineering
areas, the symbol i = 1 is often
replaced by j = 1.
Imaginary numbers are part of complex numbers, C.
Real numbers are also part of complex numbers.
Exercise
1
2
Exercise
Exercise
1
1
x2
3x + 2
The Exponential
What is the exponential function ex ?
We know e0 = 1, but what is e ? or ei ?
Definition (The Exponential ex )
The exponential function is defined using the following series
(i.e. long polynomial)
ex = 1 + x +
=
x2 x3 x4
+
+
+
2!
3!
4!
k
X
x
k=0
k!
1
2!
1
3!
+ .
The Exponential
The exponential function has the following properties
ex+y = ex ey
exy = (ex )y
d x
e
Rdx
= ex
ex dx = ex + C
Example
x2 x3 x4
+
+
+
1+x+
2!
3!
4!
2x 3x2 4x3
= 0+1+
+
+
2!
3!
4!
x2 x3 x4
= 1+x+
+
+
+ = ex
2!
3!
4!
d x
e =
dx
d
dx
Eulers Formula
sin x
Eulers Formula
sin x
Eulers Formula
sin x
Eulers Formula
The series definition of cos function is
X
x2 x4 x6
x2k
cos x = 1
+
+ =
(1)k
2!
4!
6!
(2k)!
k=1
cos x = x
X
x2k+1
x3 x5 x7
+
+ =
(1)k
3!
5!
7!
(2k + 1)!
k=1
Compute 1
Verify that
Show that
d
dx
ex
2
2!
4
4!
6
6!
+ .
sin x = cos x.
satisfies the property ex+y = ex ey .
Eulers Formula
The series definition of cos function is
X
x2 x4 x6
x2k
cos x = 1
+
+ =
(1)k
2!
4!
6!
(2k)!
k=1
cos x = x
X
x2k+1
x3 x5 x7
+
+ =
(1)k
3!
5!
7!
(2k + 1)!
k=1
Compute 1
Verify that
Show that
d
dx
ex
2
2!
4
4!
6
6!
+ .
sin x = cos x.
satisfies the property ex+y = ex ey .
Eulers Formula
The series definition of cos function is
X
x2 x4 x6
x2k
cos x = 1
+
+ =
(1)k
2!
4!
6!
(2k)!
k=1
cos x = x
X
x2k+1
x3 x5 x7
+
+ =
(1)k
3!
5!
7!
(2k + 1)!
k=1
Compute 1
Verify that
Show that
d
dx
ex
2
2!
4
4!
6
6!
+ .
sin x = cos x.
satisfies the property ex+y = ex ey .
Eulers Formula
The series definition of cos function is
X
x2 x4 x6
x2k
cos x = 1
+
+ =
(1)k
2!
4!
6!
(2k)!
k=1
cos x = x
X
x2k+1
x3 x5 x7
+
+ =
(1)k
3!
5!
7!
(2k + 1)!
k=1
Compute 1
Verify that
Show that
d
dx
ex
2
2!
4
4!
6
6!
+ .
sin x = cos x.
satisfies the property ex+y = ex ey .
Eulers Formula
The series definition of cos function is
X
x2 x4 x6
x2k
cos x = 1
+
+ =
(1)k
2!
4!
6!
(2k)!
k=1
cos x = x
X
x2k+1
x3 x5 x7
+
+ =
(1)k
3!
5!
7!
(2k + 1)!
k=1
Compute 1
Verify that
Show that
d
dx
ex
2
2!
4
4!
6
6!
+ .
sin x = cos x.
satisfies the property ex+y = ex ey .
Eulers Formula
The series definition of cos function is
X
x2 x4 x6
x2k
cos x = 1
+
+ =
(1)k
2!
4!
6!
(2k)!
k=1
cos x = x
X
x2k+1
x3 x5 x7
+
+ =
(1)k
3!
5!
7!
(2k + 1)!
k=1
Compute 1
Verify that
Show that
d
dx
ex
2
2!
4
4!
6
6!
+ .
sin x = cos x.
satisfies the property ex+y = ex ey .
Eulers Formula
The series definition of cos function is
X
x2 x4 x6
x2k
cos x = 1
+
+ =
(1)k
2!
4!
6!
(2k)!
k=1
cos x = x
X
x2k+1
x3 x5 x7
+
+ =
(1)k
3!
5!
7!
(2k + 1)!
k=1
Compute 1
Verify that
Show that
d
dx
ex
2
2!
4
4!
6
6!
+ .
sin x = cos x.
satisfies the property ex+y = ex ey .
Eulers Formula
The series definition of cos function is
X
x2 x4 x6
x2k
cos x = 1
+
+ =
(1)k
2!
4!
6!
(2k)!
k=1
cos x = x
X
x2k+1
x3 x5 x7
+
+ =
(1)k
3!
5!
7!
(2k + 1)!
k=1
Compute 1
Verify that
Show that
d
dx
ex
2
2!
4
4!
6
6!
+ .
sin x = cos x.
satisfies the property ex+y = ex ey .
Series definition of ex
f0 (x) = 1
f1 (x) = 1 + x
f2 (x) = 1 + x +
f3 (x) = 1 + x +
..
.
x2
2
x2
2
x3
6
Taylor Series
The long polynomial definition of ex is called a Taylor
series about x = 0.
We have found the Taylor series for ex , cos x, and sin x.
Q: Is every function has a Taylor series?
A: Most reasonable functions have a Taylor series, i.e.
every reasonable function f can be written as
f (x) =
ck xk = c0 + c1 x + c2 x2 + .
k=0
Taylor Series
The long polynomial definition of ex is called a Taylor
series about x = 0.
We have found the Taylor series for ex , cos x, and sin x.
Q: Is every function has a Taylor series?
A: Most reasonable functions have a Taylor series, i.e.
every reasonable function f can be written as
f (x) =
ck xk = c0 + c1 x + c2 x2 + .
k=0
Taylor Series
The long polynomial definition of ex is called a Taylor
series about x = 0.
We have found the Taylor series for ex , cos x, and sin x.
Q: Is every function has a Taylor series?
A: Most reasonable functions have a Taylor series, i.e.
every reasonable function f can be written as
f (x) =
ck xk = c0 + c1 x + c2 x2 + .
k=0
Taylor Series
The long polynomial definition of ex is called a Taylor
series about x = 0.
We have found the Taylor series for ex , cos x, and sin x.
Q: Is every function has a Taylor series?
A: Most reasonable functions have a Taylor series, i.e.
every reasonable function f can be written as
f (x) =
ck xk = c0 + c1 x + c2 x2 + .
k=0
Taylor Series
The long polynomial definition of ex is called a Taylor
series about x = 0.
We have found the Taylor series for ex , cos x, and sin x.
Q: Is every function has a Taylor series?
A: Most reasonable functions have a Taylor series, i.e.
every reasonable function f can be written as
f (x) =
ck xk = c0 + c1 x + c2 x2 + .
k=0
Taylor Series
Definition (Taylor Series)
Taylor series at x = 0 (also known as Maclaurin series) is
f (x) = f (0) +
X f (k) (0)
f 0 (x)
f 00 (0) 2 f 000 (0) 3
x+
x +
x + =
xk ,
1!
2!
3!
k!
k=0
Taylor Series
Definition (Taylor Series)
Taylor series at x = 0 (also known as Maclaurin series) is
f (x) = f (0) +
X f (k) (0)
f 0 (x)
f 00 (0) 2 f 000 (0) 3
x+
x +
x + =
xk ,
1!
2!
3!
k!
k=0
Taylor Series
Definition (Taylor Series)
Taylor series at x = 0 (also known as Maclaurin series) is
f (x) = f (0) +
X f (k) (0)
f 0 (x)
f 00 (0) 2 f 000 (0) 3
x+
x +
x + =
xk ,
1!
2!
3!
k!
k=0
Taylor Series
Example
1
X
(1)k
k=0
1
1
1
x2k
= 1 2 x2 + 4
x4 6
x6 +
2k
2
2
2 (k!)
2
2 (2!)
2 (3!)2
Taylor Series
Example
1
X
(1)k
k=0
1
1
1
x2k
= 1 2 x2 + 4
x4 6
x6 +
2k
2
2
2 (k!)
2
2 (2!)
2 (3!)2
Taylor Series
Example
1
X
(1)k
k=0
1
1
1
x2k
= 1 2 x2 + 4
x4 6
x6 +
2k
2
2
2 (k!)
2
2 (2!)
2 (3!)2
Taylor Series
Example
1
X
(1)k
k=0
1
1
1
x2k
= 1 2 x2 + 4
x4 6
x6 +
2k
2
2
2 (k!)
2
2 (2!)
2 (3!)2
Taylor Series
Example
1
X
(1)k
k=0
1
1
1
x2k
= 1 2 x2 + 4
x4 6
x6 +
2k
2
2
2 (k!)
2
2 (2!)
2 (3!)2
Taylor Series
It turns out that the Bessel function describes many physical
phenomena, including the shape of a hanging chain as it is
rotated, and the shape of the waves formed after a stone is
thrown into a pool of water.
J0 =
X
k=0
(1)k
1
1
1
x2k
= 1 2 x2 + 4
x4 6
x6 +
2k
2
2
2 (k!)
2
2 (2!)
2 (3!)2
Taylor Series
Taylor series is useful because it turns a potentially
complicated function into something simple: a polynomial.
Granted, this polynomial is infinitely long in general, but in
practice it is only necessary to compute the first few terms
to get a good, local approximation of the function.
The more terms one includes, the better the polynomial
approximates the function.
Particle with position p(t).
At t = 0, the position is 5:
p0 (t) = 5.
At t = 0, the velocity is 3:
p1 (t) = 5 + 3t.
At t = 0, the acceleration is 4:
p2 (t) = 5 + 3t 2t2 .
Taylor Series
Exercise
1
2
x sin(x ) by substitution.
3
ex by substitution.
1 + cos(2x)
2
and substitution to find the series for cos2 x. Try to give the
series in summation notation (other than the first term).
Taylor Series
Exercise
1
2
x sin(x ) by substitution.
3
ex by substitution.
1 + cos(2x)
2
and substitution to find the series for cos2 x. Try to give the
series in summation notation (other than the first term).
Taylor Series
Exercise
1
2
x sin(x ) by substitution.
3
ex by substitution.
1 + cos(2x)
2
and substitution to find the series for cos2 x. Try to give the
series in summation notation (other than the first term).
Taylor Series
Exercise
1
2
x sin(x ) by substitution.
3
ex by substitution.
1 + cos(2x)
2
and substitution to find the series for cos2 x. Try to give the
series in summation notation (other than the first term).
Taylor Series
Exercise
1
2
x sin(x ) by substitution.
3
ex by substitution.
1 + cos(2x)
2
and substitution to find the series for cos2 x. Try to give the
series in summation notation (other than the first term).
Hyperbolic Functions
Definition
The hyperbolic sine function is defined by
sinh x =
ex ex
2
ex + ex
2
sinh x
ex ex
= x
cosh x
e + ex
Hyperbolic Functions
Definition
The hyperbolic sine function is defined by
sinh x =
ex ex
2
ex + ex
2
sinh x
ex ex
= x
cosh x
e + ex
Hyperbolic Functions
Definition
The hyperbolic sine function is defined by
sinh x =
ex ex
2
ex + ex
2
sinh x
ex ex
= x
cosh x
e + ex
Hyperbolic Functions
Definition
The hyperbolic sine function is defined by
sinh x =
ex ex
2
ex + ex
2
sinh x
ex ex
= x
cosh x
e + ex
Hyperbolic Functions
Exercise
Verify the following:
(a) cosh2 u sinh2 u = 1.
(b)
d
dx
sinh x = cosh x.
Hyperbolic Functions
Exercise
Verify the following:
(a) cosh2 u sinh2 u = 1.
(b)
d
dx
sinh x = cosh x.
Hyperbolic Functions
Exercise
Verify the following:
(a) cosh2 u sinh2 u = 1.
(b)
d
dx
sinh x = cosh x.
Hyperbolic Functions
The hyperbolic cosine and hyperbolic sine give the x and y
coordinates, respectively, for points on the hyperbola
x2 y2 = 1.
[Compare this to the sine and cosine functions which give the x
and y coordinates for points on the unit circle x2 + y2 = 1.]
Hyperbolic Functions
Example
1
cosh x = 1 +
X x2k
x2 x4
+
+ =
,
2!
4!
(2k)!
k=0
sinh x = x +
x3
3!
x5
5!
+ =
X
k=0
x2k+1
.
(2k + 1)!
Hyperbolic Functions
Example (cont.)
S: Using the Taylor series for ex and substitution
ex + ex
2
1
x2
x2
=
1+x+
+ + 1 x +
2
2!
2!
1
x2
x4
=
2 + 2 + 2 +
2
2!
4!
x2 x4
=1+
+
+
2!
4!
X
x2k
=
(2k)!
cosh x =
k=0
Hyperbolic Functions
Example (cont.)
S: Using the Taylor series for ex and substitution
ex ex
2
1
x2
x2
=
1+x+
+ 1 x +
2
2!
2!
1
x3
x5
=
2x + 2 + 2 +
2
3!
5!
x3 x5
=x+
+
+
3!
5!
X
x2k+1
=
(2k + 1)!
sinh x =
k=0
Hyperbolic Functions
Example
2
By differentiating the Taylor series for sinh & cosh, show that
d
sinh x = cosh x,
dx
d
cosh x = sinh x.
dx
Hyperbolic Functions
Example (cont.)
S: Differentiating hyperbolic sine gives
k=0
k=0
X
x2k
d
d X x2k+1
(2k + 1)
sinh x =
=
dx
dx
(2k + 1)!
(2k + 1)!
X
x2k
=
= cosh x
(2k)!
k=0
X
d
d X x2k
x2k1
cosh x =
=
(2k)
dx
dx
(2k)!
(2k)!
=
k=0
X x2k1
k=1
(2k 1)!
k=0
k=0
x2k+1
= sinh x
(2k + 1)!
Hyperbolic Functions
Example (cont.)
S: Differentiating hyperbolic sine gives
k=0
k=0
X
x2k
d
d X x2k+1
(2k + 1)
sinh x =
=
dx
dx
(2k + 1)!
(2k + 1)!
X
x2k
=
= cosh x
(2k)!
k=0
X
d
d X x2k
x2k1
cosh x =
=
(2k)
dx
dx
(2k)!
(2k)!
=
k=0
X x2k1
k=1
(2k 1)!
k=0
k=0
x2k+1
= sinh x
(2k + 1)!
Hyperbolic Functions
Example (cont.)
S: Differentiating hyperbolic sine gives
k=0
k=0
X
x2k
d
d X x2k+1
(2k + 1)
sinh x =
=
dx
dx
(2k + 1)!
(2k + 1)!
X
x2k
=
= cosh x
(2k)!
k=0
X
d
d X x2k
x2k1
cosh x =
=
(2k)
dx
dx
(2k)!
(2k)!
=
k=0
X x2k1
k=1
(2k 1)!
k=0
k=0
x2k+1
= sinh x
(2k + 1)!
Find the first two non-zero terms of the Taylor series for
2
f (x) = 1 2xesin x .
S: Beginning with the innermost function, in this case sin x2 ,
we find that
sin x2 = x2
1
1 2 3
(x ) + HOT = x2 x6 + HOT.
3!
6
Find the first two non-zero terms of the Taylor series for
2
f (x) = 1 2xesin x .
S: Beginning with the innermost function, in this case sin x2 ,
we find that
sin x2 = x2
1 2 3
1
(x ) + HOT = x2 x6 + HOT.
3!
6
Find the first two non-zero terms of the Taylor series for
2
f (x) = 1 2xesin x .
S: Beginning with the innermost function, in this case sin x2 ,
we find that
sin x2 = x2
1 2 3
1
(x ) + HOT = x2 x6 + HOT.
3!
6
Find the first two non-zero terms of the Taylor series for
2
f (x) = 1 2xesin x .
S: Beginning with the innermost function, in this case sin x2 ,
we find that
sin x2 = x2
1 2 3
1
(x ) + HOT = x2 x6 + HOT.
3!
6
1 4
1 1 6
= ... = 1 + x + x +
x + HOT
2
6 6
1
= 1 + x2 + x4 + HOT
2
2
1 4
1 1 6
= ... = 1 + x + x +
x + HOT
2
6 6
1
= 1 + x2 + x4 + HOT
2
2
1 4
1 1 6
= ... = 1 + x + x +
x + HOT
2
6 6
1
= 1 + x2 + x4 + HOT
2
2
1 cos(2x)
2
to find that
1
1 cos(2x)
(2x)2 (2x)4
=
+
sin x =
1 1
2
2
2!
4!
1 (2x)2 (2x)4 (2x)6
=
+
+
2
2!
4!
6!
(2x)2k
1X
(1)k1
=
2
(2k)!
2
k=1
1 cos(2x)
2
to find that
1
1 cos(2x)
(2x)2 (2x)4
=
+
sin x =
1 1
2
2
2!
4!
1 (2x)2 (2x)4 (2x)6
=
+
+
2
2!
4!
6!
(2x)2k
1X
(1)k1
=
2
(2k)!
2
k=1
Convergence
There are two main issues of Taylor series expansion:
1
2
ck xk = c0 + c1 x + c2 x2 +
k=0
1
1x
Convergence
There are two main issues of Taylor series expansion:
1
2
ck xk = c0 + c1 x + c2 x2 +
k=0
1
1x
Convergence
There are two main issues of Taylor series expansion:
1
2
ck xk = c0 + c1 x + c2 x2 +
k=0
1
1x
Convergence
There are two main issues of Taylor series expansion:
1
2
ck xk = c0 + c1 x + c2 x2 +
k=0
1
1x
Convergence
There are two main issues of Taylor series expansion:
1
2
ck xk = c0 + c1 x + c2 x2 +
k=0
1
1x
Convergence
There are two main issues of Taylor series expansion:
1
2
ck xk = c0 + c1 x + c2 x2 +
k=0
1
1x
Convergence
There are two main issues of Taylor series expansion:
1
2
ck xk = c0 + c1 x + c2 x2 +
k=0
1
1x
Convergence
There are two main issues of Taylor series expansion:
1
2
ck xk = c0 + c1 x + c2 x2 +
k=0
1
1x
Convergence
Every Taylor series has a convergence domain, called
interval of convergence, where the series is well-behaved,
and outside that domain the series will not converge.
For many functions, the domain is the whole real number
line (e.g. the series for ex , sin x, cos x, sinh x, and cosh x all
converge everywhere).
Convergence
Every Taylor series has a convergence domain, called
interval of convergence, where the series is well-behaved,
and outside that domain the series will not converge.
For many functions, the domain is the whole real number
line (e.g. the series for ex , sin x, cos x, sinh x, and cosh x all
converge everywhere).
Convergence
Example
A beam of light of intensity L hits a
pane of glass. Half of the light is
reflected, and a third of the light is
transmitted; the rest is absorbed.
When a beam of light of intensity L
hits two parallel panes with an air gap
between them, how much light is
transmitted through both panes? (The
following figure shows how the light
gets reflected and rereflected. The
first transmitted and reflected beams
of light are labeled with their
respective intensities. The question
asks for the total of the beams of light
emerging on the right side of the right
pane of glass).
Convergence
Example (cont.)
Note that each beam is 14 the previous
beam. Thus the total light emerging on the
right side of the right pane of glass is
L
L
L
+
+
+
9
36
144
L
1
1
=
1+ +
+
9
4
16
!
1
L
=
9 1 14
=
L4
4L
=
,
93
27
Taylor Series
Example
Use the Taylor series of
Hint: recall that
S: Note that
1
1x
1
1
=
= 1 x + x2 x3 + x4
1+x
1 (x)
dx
=
1+x
(1 x + x2 x3 + x4 ) dx
ln(1 + x) + C = x
X
x2
x3
xk
+
=
(1)k1
2
3
k
k=1
ln(1 + x) = x
X
x2
x3
xk
+
=
(1)k1
2
3
k
k=1
Taylor Series
Example
Use the Taylor series of
Hint: recall that
S: Note that
1
1x
1
1
=
= 1 x + x2 x3 + x4
1+x
1 (x)
dx
=
1+x
(1 x + x2 x3 + x4 ) dx
ln(1 + x) + C = x
X
x2
x3
xk
+
=
(1)k1
2
3
k
k=1
ln(1 + x) = x
X
x2
x3
xk
+
=
(1)k1
2
3
k
k=1
Taylor Series
Example
Use the Taylor series of
Hint: recall that
S: Note that
1
1x
1
1
=
= 1 x + x2 x3 + x4
1+x
1 (x)
dx
=
1+x
(1 x + x2 x3 + x4 ) dx
ln(1 + x) + C = x
X
x2
x3
xk
+
=
(1)k1
2
3
k
k=1
ln(1 + x) = x
X
x2
x3
xk
+
=
(1)k1
2
3
k
k=1
Taylor Series
Example
Use the Taylor series of
Hint: recall that
S: Note that
1
1x
1
1
=
= 1 x + x2 x3 + x4
1+x
1 (x)
dx
=
1+x
(1 x + x2 x3 + x4 ) dx
ln(1 + x) + C = x
X
x2
x3
xk
+
=
(1)k1
2
3
k
k=1
ln(1 + x) = x
X
x2
x3
xk
+
=
(1)k1
2
3
k
k=1
Taylor Series
Example
Use the Taylor series of
Hint: recall that
S: Note that
1
1x
1
1
=
= 1 x + x2 x3 + x4
1+x
1 (x)
dx
=
1+x
(1 x + x2 x3 + x4 ) dx
ln(1 + x) + C = x
X
x2
x3
xk
+
=
(1)k1
2
3
k
k=1
ln(1 + x) = x
X
x2
x3
xk
+
=
(1)k1
2
3
k
k=1
Taylor Series
Example
Use the fact that
Z
arctan x =
dx
1 + x2
x5
x7
x3
+
+ + C.
3
5
7
arctan x = x
X
x3
x5
x2k+1
+
=
(1)k
,
3
5
2k + 1
k=0
! arctan x is defined for all x, but its Taylor series only converges for |x| < 1.
Taylor Series
Example
Use the fact that
Z
arctan x =
dx
1 + x2
x5
x7
x3
+
+ + C.
3
5
7
arctan x = x
X
x3
x5
x2k+1
+
=
(1)k
,
3
5
2k + 1
k=0
! arctan x is defined for all x, but its Taylor series only converges for |x| < 1.
Taylor Series
Example
Use the fact that
Z
arctan x =
dx
1 + x2
x5
x7
x3
+
+ + C.
3
5
7
arctan x = x
X
x3
x5
x2k+1
+
=
(1)k
,
3
5
2k + 1
k=0
! arctan x is defined for all x, but its Taylor series only converges for |x| < 1.
Taylor Series
Example
Use the fact that
Z
arctan x =
dx
1 + x2
x5
x7
x3
+
+ + C.
3
5
7
arctan x = x
X
x3
x5
x2k+1
+
=
(1)k
,
3
5
2k + 1
k=0
! arctan x is defined for all x, but its Taylor series only converges for |x| < 1.
Taylor Series
Example
Use the fact that
Z
arctan x =
dx
1 + x2
x5
x7
x3
+
+ + C.
3
5
7
arctan x = x
X
x3
x5
x2k+1
+
=
(1)k
,
3
5
2k + 1
k=0
! arctan x is defined for all x, but its Taylor series only converges for |x| < 1.
Taylor Series
Exercise
Another important function is the binomial series (1 + x) , where is
some constant. Show that
( 1) 2 ( 1)( 2) 3
(1 + x) = 1 + x +
x +
x +
2!
3!
X
k
=
x
k
k=0
where
( 1)( 2) ( k + 1)
.
=
k
k!
Taylor Series
Exercise
Another important function is the binomial series (1 + x) , where is
some constant. Show that
( 1) 2 ( 1)( 2) 3
(1 + x) = 1 + x +
x +
x +
2!
3!
X
k
=
x
k
k=0
where
( 1)( 2) ( k + 1)
.
=
k
k!
Taylor Series
Exercise
Another important function is the binomial series (1 + x) , where is
some constant. Show that
( 1) 2 ( 1)( 2) 3
(1 + x) = 1 + x +
x +
x +
2!
3!
X
k
=
x
k
k=0
where
( 1)( 2) ( k + 1)
.
=
k
k!
e =
cos x =
sin x =
cosh x =
sinh x =
k
X
x
k=0
X
k=0
X
k=0
X
k=0
X
k=0
X
1
=
xk
1x
k!
k=0
(1)k
(1)k
x2k
(2k)!
x2k+1
(2k + 1)!
x2k
(2k)!
x2k+1
(2k + 1)!
ln(1 + x) =
(1)k+1
k=1
arctan x =
(1 + x) =
(1)k
k=0
X
k=0
xk
k
x2k+1
2k + 1
k
x
k
e =
cos x =
sin x =
cosh x =
sinh x =
k
X
x
k=0
X
k=0
X
k=0
X
k=0
X
k=0
X
1
=
xk
1x
k!
k=0
(1)k
(1)k
x2k
(2k)!
x2k+1
(2k + 1)!
x2k
(2k)!
x2k+1
(2k + 1)!
ln(1 + x) =
(1)k+1
k=1
arctan x =
(1 + x) =
(1)k
k=0
X
k=0
xk
k
x2k+1
2k + 1
k
x
k
e =
cos x =
sin x =
cosh x =
sinh x =
k
X
x
k=0
X
k=0
X
k=0
X
k=0
X
k=0
X
1
=
xk
1x
k!
k=0
(1)k
(1)k
x2k
(2k)!
x2k+1
(2k + 1)!
x2k
(2k)!
x2k+1
(2k + 1)!
ln(1 + x) =
(1)k+1
k=1
arctan x =
(1 + x) =
(1)k
k=0
X
k=0
xk
k
x2k+1
2k + 1
k
x
k