Group Abstract Group Abstract

Message Boards Message Boards

0
|
7.1K Views
|
5 Replies
|
4 Total Likes
View groups...
Share
Share this post:

integral ( (x^3-1)^(1/2)/x )

Posted 11 years ago

How does Mathematica get the following answer for the integral in the title enter image description here

The answer I get is different and I do not understand how can Mathematica have sgrt(1-x^3) in the answer when the original function is sqrt(x^3-1).

Thank you

POSTED BY: aida galeb
5 Replies
Posted 11 years ago

This makes sense. Thank you.

POSTED BY: aida galeb
Posted 11 years ago

It is because Mathematica was not told to restrict solutions to when x >= 1 and therefore gives a general solution that works with complex values for the function (which in this case happens when x < 1). Therefore the solution might not end up being as simple as expected.

When you do have a function for which you have a restricted range (and especially if outside of that range you might get complex numbers), you can tell Mathematica that in a number of ways (dare I say no pun intended?):

Simplify[Integrate[((x^3 - 1)^(1/2))/x, {x,1,a}],a>1]

which results in

Integral

You might sometimes need FullSimplify rather than just Simplify.

POSTED BY: Jim Baldwin
Posted 11 years ago

If one uses complex numbers it works since i arctan(-iz)=arctanh(z). But my question is why would Mathematica give an answer in complex functions when this is a very simple integral to begin with.

POSTED BY: aida galeb
Posted 11 years ago
POSTED BY: aida galeb
POSTED BY: Nasser M. Abbasi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard