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


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

Re: ParametricPlot3D vs Reduce

From Andrzej Kozlowski <akozlowski@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: ParametricPlot3D vs Reduce
Date 2012-01-07 10:28 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <je96o3$j72$1@smc.vnet.net> (permalink)
References <09D35683-89B2-4778-8552-0B7F44CF5A82@gmail.com>

Show all headers | View raw


On 6 Jan 2012, at 23:09, Andrzej Kozlowski wrote:

> I just came across something somewhat baffling, though it could be the 
result of an imperfect understanding of how 3D graphic functions work. 
Consider the following three rational functions of two variables, which 
we will think of as parameters of a point on a surface in 3D.
>
> rats = {(-b - 2*d - b^3*d^2)/(b*d), (2*b + d + b^4*d +
>      2*b^3*d^2)/(b^2*d), (-1 - 2*b^3*d - b^2*d^2)/(b^2*d)};
>
> Now, note that:
>
> Reduce[Thread[-1 <= rats <= 1], {b, d}]
>
> False
>
> in other words, there are no values of the parameters b and d for 
which the point lies in the unit cube. However:
>
> ParametricPlot3D[rats, {b, -10, 10}, {d, -10, 10},
> PlotRange -> {{-1, 1}, {-1, 1}, {-1, 1}},
> AxesLabel -> {"a", "b", "c"}]
>
> There appear to be several polygons inside the unit cube that should 
not be there?
>
> Andrzej Kozlowski
>
>

On the other hand this works fine:

ParametricPlot3D[rats, {b, -10, 10}, {d, -10, 10},
 RegionFunction ->
  Function[{x, y, z, u,
    v}, -1 <= x <= 1 && -1 <= y <= 1 && -1 <= z <= 1],
 AxesLabel -> {"a", "b", "c"}]

The surface becomes visible in a somewhat larger cube:

ParametricPlot3D[rats, {b, -10, 10}, {d, -10, 10},
 RegionFunction ->
  Function[{x, y, z, u,
    v}, -3 <= x <= 3 && -3 <= y <= 3 && -3 <= z <= 3],
 AxesLabel -> {"a", "b", "c"}]

So the polygons in the earlier picture (with PlotRange restricted to the 
unit cube) must be due to some artifact of the way ParametricPlot3D 
displays a surface. Possibly a bug?

Andrzej Kozlowski

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


Thread

Re: ParametricPlot3D vs Reduce Andrzej Kozlowski <akozlowski@gmail.com> - 2012-01-07 10:28 +0000
  Re: ParametricPlot3D vs Reduce Szabolcs Horvát <szhorvat@gmail.com> - 2012-01-08 09:34 +0000

csiph-web