Taylor Series for Any (x) = Function (x) for Any (x) ?

AI Thread Summary
A Taylor Series generated from a function's derivatives at a single point does not guarantee equality with the original function for all values of x. For polynomials, the Taylor expansion will equal the function if enough terms are included. In contrast, functions like sin(x) converge to their Taylor series, improving approximation with more terms but not achieving equality until the entire series is taken. Some functions, such as log(x) and f(x) = e^{-1/x}, demonstrate that Taylor expansions can fail to approximate the function well outside specific intervals. Therefore, only analytic functions have Taylor series that equal the function values in a neighborhood around the expansion point.
morrobay
Gold Member
Messages
1,116
Reaction score
1,741
When a Taylor Series is generated from a functions n derivatives at a single point,
then is that series for any value of x equal to the original function for any value x ?
For example graph the original function (x) from x= 0 to x = 10.
Now plug into the Taylor Expansion for x , values from 0 to 10 and graph.
Are the two plots approximate or equal ?
Numerical example not to be worked but just for question :
Suppose f(x) = 4x^3 + 8x^2 - 3x +2
 
Last edited:
Mathematics news on Phys.org
Hi morrobay! :smile:

In your example, you just have a polynomial, which means that the Taylor expansion will equal the function if the expansion is taken far enough (i.e. if you take 4 terms in the expansion).

In general, a polynomial will always equal the Taylor expansion if you take the expansion far enough.

A more interesting case are things like sin(x). The Taylor expansion of sine will never really equal the sine but it will converge to it. That is, the more terms in the expansion you take, the better the expansion will approximate the sine.
For example, if you take 6 terms, then you get quite a good approximation:

sin(x)\sim x-\frac{x^3}{3!}+\frac{x^6}{6!}

When you take the entire Taylor series (that is: when you take all the terms), then you get equality:

\sin(x)=\sum_{k=0}^{+\infty}{\frac{(-1)^nx^{2n+1}}{(2n+1)!}}

However, there are certain functions in which the Taylor expansions do not approximate the function well. Take the Taylor expansion of log(x) at 1. For points larger than 2, the Taylor expansions form very, very bad approximations of the function.
 
Even more interesting is the Taylor series for f(x)= e^{-1/x} if x is not 0, 0 if x= 0. That is infinitely differentiableat x= 0 and repeated derivatives are rational functions time e^{-1/x} if x is not 0, 0 if x is 0. That is, the Taylor series for this function exists and is identically 0 for all 0. Clearly, f(x) is not 0 except at x= 0 so this is a function whose Taylor series exist for all x but is not equal to the function value except at x= 0.

So, no, for general functions, the Taylor's series is not necessarily equal to the function value. The "analytic functions" are specifically defined to be those for which it is true: a function is analytic, at x= a, if and only if its Taylor's series at x= a is equal to the function value for all x in some neighborhood of a.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top