Message Boards Message Boards

0
|
6145 Views
|
7 Replies
|
3 Total Likes
View groups...
Share
Share this post:

[?] Solve the following inequality with W|A?

Consider the following W|A input:

(x^3+2x^2+3x)^(1/3)-x-1<=0 

Solution Wolfram -> x>=0 ?!?!?!?!? why?

Solution is : -inf <= x <= +inf

x = -2 is ok!!! -2 <=0

POSTED BY: Fausto Decina
7 Replies

You might want to look up Surd (https://reference.wolfram.com/language/ref/Surd.html).

Especially, you might want to look at the "Possible Issues" section where it says:

"On the negative real axis, Surd[x,n] is different from the principal root returned by Power

and look a the following examples. If you look at Surd instead of Power then

1 + Surd[-6,3] == 1 - Surd[6,3]

is actually True. Rather than

1 + (-6)^(1/3) == 1 - 6^(1/3)

which is False. Note that

Reduce[Surd[x^3 + 2 x^2 + 3 x, 3] - x - 1 <= 0, x]

gives the solution that you expect if I am not mistaken.

Cheers,

Marco

POSTED BY: Marco Thiel

To indicate the issue noted by @RohitNamjoshi, here is the difference in results between using the exponent 1/3 vs using the real-valued CubeRoot function.

Reduce[(x^3 + 2 x^2 + 3 x)^(1/3) - x - 1 <= 0, x]

(* Out[366]= x >= 0 *)

Reduce[CubeRoot[(x^3 + 2 x^2 + 3 x)] - x - 1 <= 0, x]

(* Out[367]= x \[Element] Reals *)
POSTED BY: Daniel Lichtblau

Sorry Daniel,

your answer only showed up after I submitted my attempt at a reply.

Cheers, Marco

POSTED BY: Marco Thiel

No, with x=-2 -> -0,817<=0

POSTED BY: Fausto Decina
Posted 4 years ago

Looks like you are assuming that 1 + (-6)^(1/3) is the same as 1 - 6^(1/3). It is not.

POSTED BY: Rohit Namjoshi
Posted 4 years ago

Just to illustrate:

In[1]:= t = (x^3 + 2 x^2 + 3 x)^(1/3) - x - 1
Out[1]= -1 - x + (3 x + 2 x^2 + x^3)^(1/3)

In[2]:= N[t /. x -> -2]
Out[2]= 1.90856 + 1.57367 I
POSTED BY: Hans Milton
Posted 4 years ago

Hello Faustino,

I don't see that x = -2 is OK. For x = -2 the term from which you have to take root 1/3 is negative. The number you get after taking the root will be complex.

POSTED BY: Michael Helmle
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract