JasonWhat is the Taylor series for ln(x+2) about x = 0?

In summary: In any case, the expansion around x = 0 is also called a Maclaurin series, and is a special case of the Taylor series. So yes, your sum is correct. In summary, the conversation discusses expanding ln(x + 2) using power series and the Maclaurin series formula. A correction is made to the original attempt and the correct form of the expansion is given. The domain of convergence is also mentioned. The conversation ends with the conclusion that the sum ln2 + \sum_{n=0}^{\inf} \frac{(-1)^n}{n+1}(x/2)^{n+1} is correct.
  • #1
zzmanzz
54
0

Homework Statement



Using power series, expand ln(x + 2) about a = 0 (Taylor series)

Homework Equations

The Attempt at a Solution



Is this appropriate?

[tex] ln(x+2) = ln((x+1)+1) [/tex]

[tex] x' = x+1 [/tex]

[tex] ln(x'+1) = \sum_{n=0}^{\inf} \frac{(-1)^n}{n+1}(x')^{n+1} [/tex]

or

[tex] ln(x+2) = ln(\frac{x}{2}+1) [/tex]

[tex] x' = \frac{1}{2}x [/tex]

[tex] ln(x'+1) = \sum_{n=0}^{\inf} \frac{(-1)^n}{n+1}(x')^{n+1} [/tex]
 
Last edited:
Physics news on Phys.org
  • #2
Well, you rather have
[tex]\ln(2+x)=\ln[2(1+x/2)].[/tex]
You can, however still use your trick with this correction made!
 
  • #3
So would your formula then be:

[tex] ln2 + ln(1+(x/2)) = ln2 + \sum_{n=0}^{\inf} \frac{(-1)^n}{n+1}(x/2)^{n+1} [/tex]

or

[tex] ln(2(x/2+1)) = 2*\sum_{n=0}^{\inf} \frac{(-1)^n}{n+1}(x/2)^{n+1} [/tex]
 
Last edited:
  • #4
This you should be able to answer yourself by giving the reasoning behind each of the two claims you made. Of course only one of them can be right!
 
  • #5
I believe that the first one is right because

[tex] ln(AB) = lnA + lnB [/tex]

[tex] A = 2, B = (1+x/2) [/tex]
 
  • #6
I think you want to do the expansion around x = -1, so that a = 0.

So, the first few terms are: [tex]ln(x+2) = 0 + (x-1)f'(-1)+...=(x-1)+...[/tex]
 
  • #7
It was asked to do the expansion around [itex]0[/itex], and of course the first equation is correct, i.e.,
[tex]\ln(x+2)=\ln 2 + \ln(1+(x/2)) = \ln 2 + \sum_{n=0}^{\infty} \frac{(-1)^n}{n+1}(x/2)^{n+1}.[/tex]
Finally you should think about the domain, where the series is convergent!
 
  • #8
zzmanzz said:

Homework Statement



Using power series, expand ln(x + 2) about a = 0 (Taylor series)

Homework Equations




The Attempt at a Solution



Is this appropriate?

[tex] ln(x+2) = ln((x+1)+1) [/tex]

[tex] x' = x+1 [/tex]

[tex] ln(x'+1) = \sum_{n=0}^{\inf} \frac{(-1)^n}{n+1}(x')^{n+1} [/tex]

or

[tex] ln(x+2) = ln(\frac{x}{2}+1) [/tex]

[tex] x' = \frac{1}{2}x [/tex]

[tex] ln(x'+1) = \sum_{n=0}^{\inf} \frac{(-1)^n}{n+1}(x')^{n+1} [/tex]

Why not just use the Maclaurin series formula
[tex] f(x) = f(0) + f'(0)\,x + f''(0)\, \frac{x^2}{2!} + \cdots \:\:?[/tex]
It is really very simple to use in this case.
 
  • #9
Yes, that's what I had in mind. For the x terms in your expansion. Can I do:
[tex] f(x) = f(0) + f'(0)(\frac{x}{2}) + f''(0)\frac{1}{2!}(\frac{x}{2})^2 + ... [/tex]
 
  • #10
zzmanzz said:
Yes, that's what I had in mind. For the x terms in your expansion. Can I do:
[tex] f(x) = f(0) + f'(0)(\frac{x}{2}) + f''(0)\frac{1}{2!}(\frac{x}{2})^2 + ... [/tex]

Your could write that, but you would be WRONG. The Correct form of the expansion is exactly as I wrote it. Your series above is for f(x/2), not for f(x).
 
Last edited:
  • #11
ok I think I get it now.

I use your mclaurin series to expand the formula..

Then based on the series outcome, we build the sum. So the following sum is still correct:

[tex] ln2 + \sum_{n=0}^{\inf} \frac{(-1)^n}{n+1}(x/2)^{n+1} [/tex]
 
  • #12
vanhees71 said:
It was asked to do the expansion around [itex]0[/itex]

Is that what it means when it says "expand ln(x + 2) about a = 0?" I'm not familiar with this type of terminology. What the heck is "a"?

Chet
 
  • #13
Chestermiller said:
Is that what it means when it says "expand ln(x + 2) about a = 0?" I'm not familiar with this type of terminology. What the heck is "a"?

Chet

My guess would be that it was a typo, and should have said "...about x = 0".
 

FAQ: JasonWhat is the Taylor series for ln(x+2) about x = 0?

What is the Taylor series of ln(x+2)?

The Taylor series of ln(x+2) is a mathematical representation of the natural logarithm function centered at x=2. It is derived by taking the derivatives of ln(x+2) at x=2 and plugging them into the general formula for a Taylor series.

How is the Taylor series of ln(x+2) used in calculus?

The Taylor series of ln(x+2) is used in calculus to approximate ln(x+2) for values of x near 2. It is especially useful for finding the value of ln(x+2) when x is a non-integer or negative number.

What is the interval of convergence for the Taylor series of ln(x+2)?

The interval of convergence for the Taylor series of ln(x+2) is (0,4]. This means that the series will only converge for values of x between 0 and 4, and may or may not converge at the endpoints.

How accurate is the Taylor series of ln(x+2) compared to the actual value of ln(x+2)?

The accuracy of the Taylor series of ln(x+2) depends on the number of terms used in the series. The more terms that are included, the closer the approximation will be to the actual value of ln(x+2). However, even with a large number of terms, there will always be some error due to the nature of approximations.

Can the Taylor series of ln(x+2) be used for values of x outside the interval of convergence?

No, the Taylor series of ln(x+2) is only valid for values of x within the interval of convergence. Attempting to use the series for values outside this interval will result in an inaccurate approximation.

Similar threads

Replies
3
Views
851
Replies
14
Views
1K
Replies
5
Views
382
Replies
12
Views
2K
Replies
10
Views
1K
Replies
1
Views
1K
Back
Top