Professional Documents
Culture Documents
Taylor
Taylor
Importance of learning Math to comprehend physical phenomena. In this course, we will also see
some programming tools to solve Math problems.
Taylor series
Take the example of a pendulum:
Without calculator or a table of all values, it’s hard to compute cos(θ). Also knowing that (L=R(1-
cos(θ))) will oscillate between two max, it’s hard to visualize it intuitively from cos(θ). Instead, if we
plug (1- θ2/2) in cos(θ) place, we could visually understand the oscillatory nature of the pendulum
with small values of theta.
It’s a tool to approximate functions. In physical world, we often need to compute functions like cos(x)
or exp(x).etc. These functions are hard to compute directly, so a polynomial approximation is
beneficial.
Let’s say that we can approximate this function by a 2nd order polynomial:
P(x) = c1 + c2 x + c3 x2
We can start nudging coefficients values and see how much we get closer to cos(x).
P(0) = c + c 0 + c 02 = c ;
(x = 0) 1 2 3 1
cos(0) =1;
c1 =1.
dP d
= (1+ c2 x + c3 x2 )
dx dx
= c2 + 2c3 x
We see now that our polynomial is a good approximation of cos(x) around “0”. To generalize this
approximation, we add high order terms. In the following figure, we compute the approximation with
polynomial degree from 2 to 20: