Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Integrate[1/x, x] ??

  • To: mathgroup at
  • Subject: [mg29923] Re: [mg29919] Integrate[1/x, x] ??
  • From: Andrzej Kozlowski <andrzej at>
  • Date: Thu, 19 Jul 2001 03:56:51 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

As for the constant: yes, but Mathematica's Integrate leaves it out as you
can find in the documention. On the other hand:

DSolve[Derivative[1][y][x] == 1/x, y, x]

{{y -> Function[{x}, C[1] + Log[x]]}}

gives you the constant if you desperately need it.

As for the rest of your question, the answer depends on how much mathematics
you know. If you only know about real numbers and believe that, say, Log[-5]
does not exist than yes. But Mathematica knows about complex numbers so it


I Pi + Log[5]

In short, Mathematica's answer is more general than yours, but to explain it
fully would take several lectures on complex functions.

Andrzej Kozlowski
Toyama International University

on 01.7.18 3:08 PM, Tim 9-23 at bendoftimeb at wrote:

> Isn't the answer:
> ln(abs(x))+C
> and not log(x).
> My email address is anti-spammed.  Remove the 2 B's after hitting email reply
> if you want to email me.
> Tim 9-23

  • Prev by Date: mathlink loopback question
  • Next by Date: Re: is there a way to swap the axes in a Plot?
  • Previous by thread: Re: Integrate[1/x, x] ??
  • Next by thread: Re: Integrate[1/x, x] ??