Logarithmic Series Expansion Using Taylor's/McLaurin's

Click For Summary

Discussion Overview

The discussion revolves around the use of Taylor's and McLaurin's series expansions specifically for logarithmic functions. Participants explore how to expand logarithmic expressions, particularly focusing on cases where the argument is a constant, such as ln(2) or ln(12), rather than a variable like x.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses difficulty in expanding logarithmic functions when the argument is a constant, such as ln(2), and seeks guidance on how to derive the series expansion.
  • Another participant provides the general form of the Taylor series and suggests expanding ln(x) around a point, specifically at a=1, to derive the series for ln(2).
  • A different participant suggests substituting x=1 into the series expansion of ln(1+x) to evaluate ln(2).
  • There is a query about the proof or justification for the equivalence of the series expansion for ln(2) and the infinite series involving alternating terms.
  • One participant asks if a specific method could be considered a proof for the series representation of ln(2).
  • Another participant asserts that both methods demonstrate the equality of ln(2) and the series by the definition of the Taylor series.
  • A participant confirms that the Taylor series for ln(1+x) can be evaluated at x=1 to show the desired result.
  • There is a question regarding the correctness of a proposed formula for ln(x) and a subsequent challenge about the terms involved.
  • A participant points out that a post seems unrelated to the original discussion, suggesting the need for clarity in the thread.
  • Another participant reflects on the meaning of function equality in the context of proving ln(2) equals the series.

Areas of Agreement / Disagreement

Participants generally agree on the methods to derive the series expansion for ln(2) but there are varying opinions on the proofs and justifications for the equivalence of the series. Some methods are accepted while others are questioned, indicating that the discussion remains unresolved in certain aspects.

Contextual Notes

Some participants express uncertainty about specific terms in the series and the conditions under which certain expansions are valid, particularly for values of x less than 0.5. There is also a lack of consensus on the proof methods for the series representation of ln(2).

smoothman
Messages
38
Reaction score
0
Hi there guys. My first post here. I heard this forum was really helpful so I've signed up lol.I'm trying to get to grips with using Taylor's/McLaurin's formula for series expansions...My main problem lies with expansions of Logarithmic functions..

I want to work out how to expand Logs when numbers are used instead of "x".
for example i want to expand ln 2 instead of ln x
or ln 12 instead of ln (1 + x). i can expand the function when there is an x involved inside the ln function.. but if its just a number such as (ln 2) then for some reason my expansion doesn't seem to work...


for example i can work out ln (1 + x) using mclaurins:
f(x) = ln (1 + x)
f'(x) = 1/(1+x)
f''(x) = -1/(1+x)^2
f'''(x) = 2/[(1+x)^3

so now we plug that into mclaurins we have:
f(0) = ln 1 = 0
f'(0)x = \frac{1}{1+0}x = x
\frac{f''(0)}{2!}x^2 = \frac{-1}{2!(1+0)^2}x^2 = -\frac{x^2}{2}
\frac{f'''(0)}{3!}x^3 = \frac{2}{3!(1+0)^3}x^3 = \frac{x^3}{3}

so we deduce that
ln (1 + x) = x -\frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4}...so I am fine with expanding logs that have an x involved...

NOW HERES THE REAL PROBLEM
how would i prove something like: ln 2 (which has no x involved in the ln function)..

ln 2 = 1 - 1/2 + 1/3 - ... = \sum_{n=1}^\infty \frac{(-1)^{n+1}}{n}

so far i can work out ..
f(x) = ln 2
f'(x) = 1/2
f''(x) = 0...

so i plug it into mclaurins i get:

i can neglect f(0) since the sum is from 1 to infinity..
f'(0)x = \frac{1}{2}x = \frac{1}{2}x
\frac{f''(0)}{2!}x^2 = \frac{0}{2!}x^2 = 0
as you can see here I am immediately going wrong since the first term should just have been 1, then -1/2 ... as shown above on the BLUE text.

please guide me on here. and how do you acutally deduce that the terms of ln 2 is equivalent to
\sum_{n=1}^\infty \frac{(-1)^{n+1}}{n}

thnk you very much guys =)
 
Last edited:
Physics news on Phys.org
So the general form for a taylor series expanded at a point a is:
\sum^{\infty}_{n=0}\frac{f^{(n)}(a)}{n!}(x-a)^n.
Since log(0) does not exist, choose a=1 and then expand log to get:
\sum^{\infty}_{n=0}\frac{f^{(n)}(a)}{n!}(x-a)^n=log(1)+(x-1)-\frac{(x-1)^2}{2}+\frac{(x-1)^3}{3}-\cdots +\cdots
and then you plug in 2 for x (since you want log(2)) to get:
\sum^{\infty}_{n=1}\frac{(-1)^{n+1}}{n}
 
Last edited:
Okay, you got ln (1 + x) = x -\frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4}... and you want to evaluate ln(2). Therefore, equate the arguments of the logarithms, i.e., (1+x)=2 to get x=1, substitute that into the series.
 
thnx guys.. i totally understand both your methods :)

just a quick question about : \sum^{\infty}_{n=1}\frac{(-1)^{n+1}}{n}

is there a proof or a way to actually prove the expanded terms of ln 2 are the same as the above sum... or do you just visually deduce that?
 
oh and by the way. would bel's method be considered as a proof for ln2 = \sum^{\infty}_{n=1}\frac{(-1)^{n+1}}{n}
 
Both methods show that log(2) equals your series by definition of the Taylor Series, I suppose.
 
Yes there is a way to prove that the Series are identical.

The Taylor Series for ln(1+x) = \sum_{n=1}^{\infty} (-1)^{n+1} \frac{x^n}{n}, 0<x<1 as you have already pointed out. Now let x =1 on both sides. Its exactly what you want.
 
Is this correct?

\ln{x} = \sum_{n=1}^{\infty} \frac{(x-1)^n}{x^n \cdot n} \ , \ \forall \ x > 0 \ , \ x \in \mathbb{R}
 
Last edited:
?? Are you sure about that xn in the numerator?
 
  • #10
The denominator you mean? I don't know, I just used some integration by parts. It does work for many x-values, it's just that when x < 0.5 it doesn't work. I was hoping some of you could give me a clue.
 
Last edited:
  • #11
The difficulty, Jarle, is that you did not post the original post in this thread and your post does not seem to have anything to do with it.

If you have a separate question yourself, please post it as a new thread.
 
  • #12
Ok, sorry...
 
  • #13
you know ln (1 + x) = x -\frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4}...

Ask your self what it means for two functions to be the equal?

proving ln(2)=\sum_{n=1}^\infty \frac{(-1)^{n+1}}{n}

should follow
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K