Understanding Taylor Expansion near a Point

In summary, the Taylor series for the function ##\ln(1+\delta)## is different depending on the value of ##\delta##.
  • #1
Blanchdog
57
22
Homework Statement
Taylor's theorem states that for any reasonable function ##f(x)##, the value of f at a point ##(x + \delta)## can be expressed as an infinite series involving f and its derivatives at the point x:
$$f(x+\delta) = f(x) + f'(x)\delta +\frac{1}{2!}f''(x)\delta^2+\frac{1}{3!}f'''(x)\delta^3$$ Find the Taylor series for ##ln(1+\delta)##
Relevant Equations
See above
I'm just trying to understand how this works, because what I've been looking at online seems to indicate that I evaluate at ##\delta =0## for some reason, but that would make the given equation for the Taylor series wrong since every derivative term is multiplied by some power of ##\delta##. Could someone walk me through at least the first derivative term?
 
  • Like
Likes Delta2
Physics news on Phys.org
  • #2
I think what is confusing you is the value of 1 in ln(1+δ). Trying setting f(x) = ln(x), and then evaluate the series for ln(x+δ). Then, after you have done the derivatives, plug in 1 for x. Does this help?
 
  • #3
The first derivative is the slope going away from x so multiplying it by ##\delta## makes sense. It approximates the function with a straight line. The next term is the curvature going away from x, so it corrects the linear estimate around x. It is a second-order polynomial approximation of the function. It continues like that.
 
  • #4
phyzguy said:
I think what is confusing you is the value of 1 in ln(1+δ). Trying setting f(x) = ln(x), and then evaluate the series for ln(x+δ). Then, after you have done the derivatives, plug in 1 for x. Does this help?
Not really to be honest, that's already done in the set up for the problem. Right now I've got for the expansion up to the second derivative
$$ln(1) + \frac{1}{1+\delta} \cdot \delta + \frac{1}{2!} \frac{-1}{(1+\delta)^2}\cdot \delta^2$$
Which simplifies slightly to $$\frac{\delta}{1+\delta} - \frac{\delta^2}{2(1+\delta)^2}$$

Problem is, that doesn't match what a later problem says the Taylor series to two derivatives is for ##ln(1+\delta)##, which is ##\delta -\frac{\delta^2}{2}##. Where am I going wrong?
 
  • #5
Blanchdog said:
Not really to be honest, that's already done in the set up for the problem. Right now I've got for the expansion up to the second derivative
$$ln(1) + \frac{1}{1+\delta} \cdot \delta + \frac{1}{2!} \frac{-1}{(1+\delta)^2}\cdot \delta^2$$
Which simplifies slightly to $$\frac{\delta}{1+\delta} - \frac{\delta^2}{2(1+\delta)^2}$$

Problem is, that doesn't match what a later problem says the Taylor series to two derivatives is for ##ln(1+\delta)##, which is ##\delta -\frac{\delta^2}{2}##. Where am I going wrong?
Have you tried to simplify the above expression? It looks. similar to your objective expression.
 
  • #6
WWGD said:
Have you tried to simplify the above expression? It looks. similar to your objective expression.
? I don't understand this.?

Anyhow
Blanchdog said:
Where am I going wrong?

You must evaluate the ##n^{th} ## derivative at ##\delta=0## and then multiply that value by the ##\delta^n##.
 
  • #7
WWGD said:
Have you tried to simplify the above expression? It looks. similar to your objective expression.
It looks similar, but simplifying only gives me ##\frac{\delta(2+\delta)}{2(\delta+1)^2}##, not the desired expression.
 
  • #8
hutchphd said:
You must evaluate the ##n^{th} ## derivative at ##\delta=0## and then multiply that value by the ##\delta^n##.
I mean that looks like it will give the right answer, but I have no idea why I would evaluate the derivative at ##\delta = 0## only to then treat ##\delta## as not being zero later. Can you help me understand what's going on there?
 
  • Like
Likes Delta2
  • #9
Blanchdog said:
Not really to be honest, that's already done in the set up for the problem. Right now I've got for the expansion up to the second derivative
$$ln(1) + \frac{1}{1+\delta} \cdot \delta + \frac{1}{2!} \frac{-1}{(1+\delta)^2}\cdot \delta^2$$
Which simplifies slightly to $$\frac{\delta}{1+\delta} - \frac{\delta^2}{2(1+\delta)^2}$$

Problem is, that doesn't match what a later problem says the Taylor series to two derivatives is for ##ln(1+\delta)##, which is ##\delta -\frac{\delta^2}{2}##. Where am I going wrong?
You're incorrectly substituting into the expression for the Taylor Expansion.

You are to find an approximation for ##\ln (1+\delta)##. Basically, you are finding an approximation for ##\ln (x)## for values of ##x## near ##x=1##.

Think of this as using the following:
##f(x+\delta) = f(x) + f'(x)\delta +\frac{1}{2!}f''(x)\delta^2+\frac{1}{3!}f'''(x)\delta^3##

for the case where ##x=1##, i.e.
##f(1+\delta) = f(1) + f'(1)\delta +\frac{1}{2!}f''(1)\delta^2+\frac{1}{3!}f'''(1)\delta^3##

Now apply the to the case where the function ##f## is replaced with the function ##\ln##..
 
  • Like
Likes Delta2, PeroK, Blanchdog and 1 other person
  • #10
You are using what you know about the function at x to extrapolate (continue) it to ##x+\delta##. This gives a power series that is arbitrarily correct over some range of values.
 
  • #11
SammyS said:
You're incorrectly substituting into the expression for the Taylor Expansion.

You are to find an approximation for ##\ln (1+\delta)##. Basically, you are finding an approximation for ##\ln (x)## for values of ##x## near ##x=1##.

Think of this as using the following:
##f(x+\delta) = f(x) + f'(x)\delta +\frac{1}{2!}f''(x)\delta^2+\frac{1}{3!}f'''(x)\delta^3##

for the case where ##x=1##, i.e.
##f(1+\delta) = f(1) + f'(1)\delta +\frac{1}{2!}f''(1)\delta^2+\frac{1}{3!}f'''(1)\delta^3##

Now apply the to the case where the function ##f## is replaced with the function ##\ln##..
This helped a lot, and I was able to get the answer to the question. I am curious however about whether ##\delta## was was the independent variable in this case, and why this formulation of the Taylor series seems different than the one on the wikipedia page.
 
  • #12
Blanchdog said:
This helped a lot, and I was able to get the answer to the question. I am curious however about whether ##\delta## was was the independent variable in this case, and why this formulation of the Taylor series seems different than the one on the wikipedia page.
The expansion you have in the first post is probably confusing you. Usually, the expansion is written like
$$f(x) = f(a) + f'(a)(x-a) + \frac{f''(a)}{2!}(x-a)^2 + \cdots.$$ Essentially, if we know the value of ##f## and its derivatives at the point ##x=a##, we can calculate the value of ##f## at other points.

Now let ##\delta = x-a##. Then ##x = a+\delta## and you get
$$f(x) = f(a+\delta) = f(a) + f'(a)\delta + \frac{f''(a)}{2!}\delta^2+\cdots.$$ The coefficients don't depend on ##\delta## at all. You're not evaluating the function when ##\delta=0##. You're evaluating the function at ##x=a##. ##\delta## is just how far away ##x## is from ##a##.
 
  • Like
Likes hutchphd, WWGD, Delta2 and 1 other person
  • #13
vela said:
The expansion you have in the first post is probably confusing you. Usually, the expansion is written like
$$f(x) = f(a) + f'(a)(x-a) + \frac{f''(a)}{2!}(x-a)^2 + \cdots.$$ Essentially, if we know the value of ##f## and its derivatives at the point ##x=a##, we can calculate the value of ##f## at other points.

Now let ##\delta = x-a##. Then ##x = a+\delta## and you get
$$f(x) = f(a+\delta) = f(a) + f'(a)\delta + \frac{f''(a)}{2!}\delta^2+\cdots.$$ The coefficients don't depend on ##\delta## at all. You're not evaluating the function when ##\delta=0##. You're evaluating the function at ##x=a##. ##\delta## is just how far away ##x## is from ##a##.
@Blanchdog : Like Vela wrote, If we were using ##\delta=0## it would just be computing ##ln(1)## which is 0. We want to approximate the value near 1; not _at_ 1.
 

1. What is a Taylor Expansion?

A Taylor Expansion is a mathematical method used to approximate a function by representing it as an infinite sum of terms. It is named after the mathematician Brook Taylor who first described it in the 18th century.

2. How is a Taylor Expansion calculated?

A Taylor Expansion is calculated using the derivatives of a function at a specific point. The more derivatives that are used, the more accurate the approximation will be. The formula for a Taylor Expansion is f(x) = f(a) + f'(a)(x-a) + f''(a)(x-a)^2/2! + f'''(a)(x-a)^3/3! + ...

3. Why is a Taylor Expansion useful?

A Taylor Expansion is useful because it allows us to approximate complex functions with simpler ones. It is also used in calculus to solve problems involving limits, derivatives, and integrals.

4. What is the difference between a Taylor Expansion and a Maclaurin Series?

A Taylor Expansion is a generalization of a Maclaurin Series. A Maclaurin Series is a special case of a Taylor Expansion where the point of expansion is at x=0. In other words, a Maclaurin Series is a Taylor Expansion centered at the origin.

5. How do you know if a Taylor Expansion is a good approximation?

The accuracy of a Taylor Expansion depends on the number of terms used and the distance from the point of expansion. The more terms used, the better the approximation will be. Additionally, the closer the point of expansion is to the point of interest, the more accurate the approximation will be.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Special and General Relativity
Replies
9
Views
1K
Replies
7
Views
785
  • Calculus and Beyond Homework Help
Replies
6
Views
12K
  • Calculus and Beyond Homework Help
Replies
1
Views
3K
  • Advanced Physics Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
14
Views
3K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Back
Top