Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2594

Re: Series[log[x], {x, 0, 3}]

From Oliver Jennrich <oliver.jennrich@gmx.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Series[log[x], {x, 0, 3}]
Date 2011-05-22 10:56 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iraq4i$lp8$1@smc.vnet.net> (permalink)
References <ir8534$ba5$1@smc.vnet.net>

Show all headers | View raw


Hongyi Zhao <hszhao.cn@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

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Series[log[x], {x, 0, 3}] Hongyi Zhao <hszhao.cn@gmail.com> - 2011-05-21 10:44 +0000
  Re: Series[log[x], {x, 0, 3}] Erik Max Francis <max@alcyone.com> - 2011-05-22 10:56 +0000
  Re: Series[log[x], {x, 0, 3}] Oliver Jennrich <oliver.jennrich@gmx.net> - 2011-05-22 10:56 +0000
  Re: Series[log[x], {x, 0, 3}] Peter Pein <petsie@dordos.net> - 2011-05-22 10:58 +0000

csiph-web