Re: Series[log[x], {x, 0, 3}]
- To: mathgroup at smc.vnet.net
- Subject: [mg119116] Re: Series[log[x], {x, 0, 3}]
- From: Oliver Jennrich <oliver.jennrich at gmx.net>
- Date: Sun, 22 May 2011 06:55:08 -0400 (EDT)
- References: <ir8534$ba5$1@smc.vnet.net>
Hongyi Zhao <hszhao.cn at gmail.com> writes:
> Hi all,
>
> I do the following computation within Mathematica:
>
> Series[log[x], {x, 0, 3}]
>
> Then I get:
>
> log[0]+(log^\[Prime])[0] x+1/2 (log^\[Prime]\[Prime])[0] x^2+1/6 (log^(3))
> [0] x^3+O[x]^4
As you should.
>
> Any hints on this result? The log[0] is illegal in my mind.
Why? Mathematica doesn't know what 'log' is, so it treats it (correctly)
as a general function.
If you want to calculate the series of the logarithm, use
Series[Log[x],{x,0.3}]
(Note: Log, not log)
--
Space - The final frontier