Help understanding Taylor expansion etc.

In summary: The main benefit of using a Taylor series is that you can approximate a function very close to its exactitude for certain values of the x-coordinate. In summary, Taylor series expansions are extremely important in applied math. They make it easier to calculate certain functions for certain values of x.
  • #1
Levis2
43
0
Well - I am a 16 year old student, whos really interested in math. I do a lot of studying on my own, because I am a bit bored with the present math in school.

Right now I am reading about solving differential equations with power series. I can do this, and i do understand the recurrence relations and such, generalizing a term for the coefficients etc .. All this i do understand. I understand that some solutions to a differential equation are so complex, they can't be written using regular fuinction notation and elementary functions.

There's one thing i don't understand though - taylor series expansions. well atleast not to a satisfactory degree. I haven't found a good text on WHY it is beneficial to write a function as a taylor series. I have not found any information on why this series is centered around a singular point, and i don't understand why the series are any good, since - atleast in my understanding - they only have a useful meaning for x-values inside their span of convergence? The original function have meanings for all x's in let's say x>0. Let's say the function; 1/(1-x) This function is defined and gives functions values for 1-x different from zero = x different from 1. Expanding this into the summation of x^n n--> infinity, only gives (as far as I've understood) values for x between 1-(-1). I am a bit puzzled :) this seems like a degradation from it's original state.

Can you point me to some litterature that can give me the proper understanding of these series, or maybe explain it to me? I would be very greatful if you did. I really to get a good understanding of this
 
Physics news on Phys.org
  • #2
From the point-of-view of applied math, Taylor series are extremely important! You probably know what the sine function is, and you can probably calculate it for some values.
E.g. [tex]\sin(\pi/2)=1[/tex], [tex]\sin(\pi/4)=\sqrt{2}/2[/tex],...

However, if I give you a more difficult question, such as: calculate sin(1°)=[tex]\sin(\pi/180)[/tex]. Then you probably would have no clue in how you would calculate this thing. However, Taylor series makes it a lot easier for you: you just have to take the power seires expansion of sin. And if you take the first 20 terms of the power series, then you'll get a pretty good approximation of sin(1°)...

This is in fact how your calculator calculates sines, cosines, logarithms, etc.

So, when you obtain a power series as an answer to a ODE, then this is quite good. Since you can approximate the function as close as you want, and this is most likely everything you want to do!
 
  • #3
well for a simple function like 1/(1+x) the series might seem less informative, but what about ln(1+x)? It is very hard to find values of ln(1+x) by hand.

But if I write down the series for 1/(1+x), = 1-x+x^2-x^3+x^4-+...

and integrate both sides, I get ln(1+x) = x-x^2/2 + x^3/3 -+...

and this is easy to approximate at least for -1 < x ≤ 1. E.g.

ln(2) = ln(1+1) = 1 -1/2 + 1/3 -1/4 +-...Similarly 1/(1+x^2) = 1 -x^2 + x^4 -x^6 +-..., so integrating gives

arctan(x) = x - x^3/3 + x^5/5 -+...

so arctan(1) = pi/4 = 1 - 1/3 + 1/5 - 1/7 +-...

and as you already know, series are even more useful for expressing functions you have no other way to write down, which occur as solutions of ode's,...

the classical book on series is konrad knopp's work, something like: theory and application of infinite series.
 
  • #4
Another important application of Taylor series is defining functions for variables other than simply real numbers.

For example, we know how to multiply and add complex numbers or matrices but what would [itex]e^{a+ bi}[/itex] mean? What would [itex]e^{A}[/itex] mean for A a matrix?

Now, we know that
[tex]e^{x}= \sum_{n=0}^\infty \frac{x^n}{n!}[/tex]
So we can say that [itex]e^{a+ bi}= e^ae^{bi}[/itex]
and then say that
[tex]e^{bi}= \sum_{n=0}^\infty \frac{(bi)^n}{n!}[/tex]
We know that [itex]i^2= -1[/itex], [itex]x^3= -i[/itex], and [itex]i^4= 1[/itex] and we can extend that to any power of i. All odd powers of i involve "i" again, all even powers do not so we can separate those, letting n= 2i in the first sum, n= 2i+ 1 in the second:
[tex]e^{bi}= \sum_{i=0}^\infty \frac{(-1)^i}{(2i)!}b^{2i}+ i\sum_{i=0}^\infty \frac{(-1)^i}{(2i+1)!}b^{2i+1}[/tex]

And if we recognize that first sum as the Taylor series for cos(x) and the second as the Taylor series for sin(x) we can write, as a result of using Taylor's series,
[tex]e^{a+ bi}= e^a(cos(b)+ i sin(b))[/tex]

For A an diagonal matrix, say
[tex]A= \begin{bmatrix}a_1 & 0 & 0 \\ 0 & a_2 & 0 \\ 0 & 0 & a_3\end{bmatrix}[/tex]
it is easy to show that
[tex]A^n= \begin{bmatrix}a_1^n & 0 & 0 \\ 0 & a_2^n & 0 \\ 0 & 0 & a_3^n\end{bmatrix}[/tex]

and then, using the Taylor series for [itex]e^x[/itex] above,
[tex]e^A= \begin{bmatrix}e^{a_1} & 0 & 0 \\ 0 & e^{a_2} & 0 \\ 0 & 0 & e^{a_3}\end{bmatrix}[/tex]

That's one reason why "diagonal matrices" and ways of diagonalizing matrices are so important in applications of Linear Algebra.
 
  • #5
HallsofIvy said:
Another important application of Taylor series is defining functions for variables other than simply real numbers.

For example, we know how to multiply and add complex numbers or matrices but what would [itex]e^{a+ bi}[/itex] mean? What would [itex]e^{A}[/itex] mean for A a matrix?

Now, we know that
[tex]e^{x}= \sum_{n=0}^\infty \frac{x^n}{n!}[/tex]
So we can say that [itex]e^{a+ bi}= e^ae^{bi}[/itex]
and then say that
[tex]e^{bi}= \sum_{n=0}^\infty \frac{(bi)^n}{n!}[/tex]
We know that [itex]i^2= -1[/itex], [itex]x^3= -i[/itex], and [itex]i^4= 1[/itex] and we can extend that to any power of i. All odd powers of i involve "i" again, all even powers do not so we can separate those, letting n= 2i in the first sum, n= 2i+ 1 in the second:
[tex]e^{bi}= \sum_{i=0}^\infty \frac{(-1)^i}{(2i)!}b^{2i}+ i\sum_{i=0}^\infty \frac{(-1)^i}{(2i+1)!}b^{2i+1}[/tex]

And if we recognize that first sum as the Taylor series for cos(x) and the second as the Taylor series for sin(x) we can write, as a result of using Taylor's series,
[tex]e^{a+ bi}= e^a(cos(b)+ i sin(b))[/tex]

For A an diagonal matrix, say
[tex]A= \begin{bmatrix}a_1 & 0 & 0 \\ 0 & a_2 & 0 \\ 0 & 0 & a_3\end{bmatrix}[/tex]
it is easy to show that
[tex]A^n= \begin{bmatrix}a_1^n & 0 & 0 \\ 0 & a_2^n & 0 \\ 0 & 0 & a_3^n\end{bmatrix}[/tex]

and then, using the Taylor series for [itex]e^x[/itex] above,
[tex]e^A= \begin{bmatrix}e^{a_1} & 0 & 0 \\ 0 & e^{a_2} & 0 \\ 0 & 0 & e^{a_3}\end{bmatrix}[/tex]

That's one reason why "diagonal matrices" and ways of diagonalizing matrices are so important in applications of Linear Algebra.

This was very informative ! Thank you ! :) I have never seen that proof for the eulers equation. Since i started this thread I've read a bit about the topic, and i understand it way better now. It is only the non-entire functions, Natural log, arctan etc. that only converges for a small interval of x. Most other functions converges for all x, and now i understand, that this must be the reason that you want to "center" your series expansion around a certain point. This must be due to the fact, that for the natural logarithm you must center your series expansion around a point of interest, since the series won't converge for all x. This must also be the reason for using the series and centering it around x0 if x0 is a singular point in a differential equation! It's all much more clear to me now :P

Thx a lot
 
  • #6
I didnt really understand the matrice/matrix stuff though, since i have never seen/read about linear algebra before :)
 

FAQ: Help understanding Taylor expansion etc.

What is a Taylor series expansion?

A Taylor series expansion is a mathematical representation of a function as an infinite sum of terms, each of which is a multiple of a different power of the independent variable.

How do you find the coefficients in a Taylor series expansion?

The coefficients in a Taylor series expansion can be found by taking the derivatives of the function at a given point and plugging them into the formula for the Taylor series.

Why is Taylor series expansion useful?

Taylor series expansion is useful because it allows us to approximate complicated functions with simpler ones, making it easier to perform calculations and analyze the behavior of the function.

What is the difference between a Taylor series and a Maclaurin series?

A Taylor series is a representation of a function around any given point, while a Maclaurin series is a representation around the point x=0. In other words, a Maclaurin series is a special case of a Taylor series.

Can a Taylor series accurately represent any function?

No, a Taylor series can only accurately represent functions that are infinitely differentiable (meaning that they have derivatives of all orders) within a certain interval. Outside of this interval, the Taylor series may not converge or may converge to a different function entirely.

Similar threads

Replies
2
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
5
Views
14K
Replies
15
Views
2K
Replies
2
Views
1K
Replies
3
Views
2K
Back
Top