What Does It Mean to Expand a Function About a Point?

  • Thread starter fa2209
  • Start date
  • Tags
    Taylor
In summary, the Taylor expansion is a local approximation to a function that gets better and stays good longer the higher the order, but is a poor approximation far from x.
  • #1
fa2209
23
0
I'm a 2nd year Physics undergrad and am ashamed to admit I don't fully understand the taylor expansion.

I have seen the Maclaurin expansion derived which I understand but the Taylor expansion is a little weird to me. I don't really understand what it means to expand a function "about a point". I also have seen people write the Taylor expansion in a few different ways which is also a little confusing.

Could someone explain:

1). What it means to expand a function "about a point".
2). How to find the taylor expansion of a function f(x) at a nearby point f(x+dx).
 
Physics news on Phys.org
  • #2
The MacLaurin series for f(x) is
[tex]\displaytype \sum_{n=0}^\infty \frac{f^{(n)}(0)}{n!}x^n[/tex]

The Taylor series "about x= a" is
[tex]\displaytype \sum_{n=0}^\infty \frac{f^{(n)}(a)}{a!}(x- a)^n[/itex]

In other words, the MacLauren series of any function is just the Taylor series "about x= a= 0".
 
  • #3
Note that if f is differentiable infinitely many times, then for any x, f(x) is equal to both of the series in HallsofIvy's posts. If you only keep terms with n≤N, what you're doing is to approximate f by a polynomial of degree n. The approximation is only guaranteed to be good near the point around which you expand (i.e. 0 if you use the first series in HallsofIvy's post, and a if you use the second). So if you're only going to keep a finite number of terms, you should choose a to be the point where you need the approximation to be good.

Edit: A few comments about the terminology:
fa2209 said:
2). How to find the taylor expansion of a function f(x) at a nearby point f(x+dx).
f is a function. x is a point in its domain. f(x) is a point in its range, called the value of f at x. The expansion is always around a point in the domain, not around a point in the range. If you e.g. write f(x+dx)=f(x)+f'(x)dx+(1/2)f''(x)dx2+..., you're expanding the function f around the point x in its domain.
 
Last edited:
  • #4
f(x+h)~exp(h D)f(x)

The taylor expansion is a local approximation. That means we chose a point of expansion x and fit a polynomial to f by requiring the the function and polynomials agree to as many orders of derivative as the degree of the polynomial allows. This (assuming some conditions are met) makes for a good approximation near x that gets better and stays good longer the higher the order, but a poor approximation far from x.
 
  • #5
Fredrik said:
Note that if f is differentiable infinitely many times, then for any x, f(x) is equal to both of the series in HallsofIvy's posts.
No, this is not true. A function that is equal to its Taylor's series (about a) for all x is a (real) "analytic" function. But being infinitely differentiable is not sufficient to be analytic. An example is
[tex]f(x)= e^{-1/x^2}[/tex]
if [itex]x\ne 0[/itex], f(0)= 0. That function is infinitely differentiable for all x, all of its dertivatives at x= 0 are 0 so its Taylor expansion is just 0. But the function is only equal to 0 at x= 0.

If you only keep terms with n≤N, what you're doing is to approximate f by a polynomial of degree n. The approximation is only guaranteed to be good near the point around which you expand (i.e. 0 if you use the first series in HallsofIvy's post, and a if you use the second). So if you're only going to keep a finite number of terms, you should choose a to be the point where you need the approximation to be good.

Edit: A few comments about the terminology:

f is a function. x is a point in its domain. f(x) is a point in its range, called the value of f at x. The expansion is always around a point in the domain, not around a point in the range. If you e.g. write f(x+dx)=f(x)+f'(x)dx+(1/2)f''(x)dx2+..., you're expanding the function f around the point x in its domain.
 
  • #6
I know this might be a little not-so-mathematical, but u know whenever I need to expand a function, taylor or whatever there is, I imagine that so many functions can have values there, like strings floating in the plane :-)
now in a point and a little bit farther(of a known function), our function has a value. and if we search carefully we can catch some of those floating functions and add them all up to get the value our one function gives us. so now we know adding so many other functions gives us the exact or good enough approximate result.so there would be the expansion.
its nothing scientific, its just a seeable example.hope it helps.
 
  • #7
Hey thanks for all the help guys. Frederick, I ment to say "a nearby point x+dx". Sorry for that.

So, anyway I know how to derive the Maclaurin expansion. How do I then generalise this to a Taylor expansion.

So if i have:

f(x) = f(0) + xf'(0) + ...

How does the Taylor expansion follow? Or is it just that when we derive Maclaurin by assuming any function can be written as an infinite power series of the form a0 +a1x+..., our assumption is not general and corresponds to an expansion about 0, whereas we know that if the x's were (x-a)'s, our series would be more general as it refers to a more generally defined polynomial which can be centered around any point a which we can choose?
 
Last edited:
  • #8
Define a new function g by g(x)=f(x+a) for all x. Now McLarurin's formula implies that for all x,

[tex]f(x)=f(x-a+a)=g(x-a)=g(0)+(x-a)g'(0)+\dots=f(a)+(x-a)f'(a)+\dots[/tex]
 
Last edited:

FAQ: What Does It Mean to Expand a Function About a Point?

What is a Taylor Expansion?

A Taylor Expansion is a mathematical concept used to approximate a function with a polynomial expression. It is named after the mathematician Brook Taylor.

Why is it important to understand Taylor Expansions?

Taylor Expansions are important because they allow us to approximate complex functions with simpler polynomial expressions. This can be useful in fields such as physics, engineering, and economics, where precise calculations are necessary.

How do you calculate a Taylor Expansion?

To calculate a Taylor Expansion, you need to know the function you want to approximate, the point around which you want to expand, and the number of terms you want to include in the approximation. The formula for a Taylor Expansion is a summation of terms involving the function's derivatives evaluated at the given point.

What is the difference between a Taylor Series and a Taylor Polynomial?

A Taylor Series is an infinite sum of terms, while a Taylor Polynomial is a finite sum of terms. A Taylor Polynomial is a truncated version of a Taylor Series, meaning it only includes a certain number of terms. The more terms included, the more accurate the approximation will be.

In what situations are Taylor Expansions most useful?

Taylor Expansions are most useful when working with functions that are difficult to integrate or differentiate but can be easily approximated with a simpler polynomial expression. They are also useful when trying to understand the behavior of a function near a specific point.

Similar threads

Back
Top