MathGroup Archive 2004

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

Search the Archive

Re: Problem with graphics

  • To: mathgroup at
  • Subject: [mg45936] Re: [mg45897] Problem with graphics
  • From: Andrzej Kozlowski <akoz at>
  • Date: Fri, 30 Jan 2004 04:16:06 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

On 29 Jan 2004, at 11:34, Lautaro Vergara wrote:

> Dear people,
> I have found the following problem. I have ploted
> f[x_, y_] := Sqrt[(x^2 + y^2)^3]
> with Plot3D in order to see how it looks. Then I ploted f[x, 0] (which
> is x^3) between -1 and 1 and I got a symmetric plot. It seems that
> Mathematica plot the function Sqrt[x^6] or (x^2)^(3/2) and evaluate
> first the symmetric term (x^6 or x^2)...
> Does anyone knows what it happens and how can it be fixed?
> Thanks in advance!
> Lautaro Vergara

The problem is that f[x,0]  is not, as you think, x^3 but

f[x, 0]


This means that



and not -1. This is not Mathematica's falut but the usual convention in 
mathematics. I suppose what you want is:

f[x_, y_] := PowerExpand[Sqrt[(x^2 + y^2)^3]]

which will produce the graph you are asking for. However, I suggest you 
carefully check tha tis really what you need for this contradicts the 
usual conventions and looks rather dubious to me.

Andrzej Kozlowski
Chiba, Japan

  • Prev by Date: Re: unpartition
  • Next by Date: Simplifying a second order eq. system tests=PRIORITY_NO_NAME version=2.55
  • Previous by thread: Re: Problem with graphics
  • Next by thread: Re: Problem with graphics