1
$\begingroup$

I want to plot the equation $x^2+y^2=z$ inside a volume. However I don't want to plot the center of the graph on the origin. "inspired" by the equation of a circle I tried: $(x-2)^2+(y-2)^2$ with hope of plotting the lowest point of the graph on the point $(2,2,0)$. I then tried $x+y=z$ and $(x-2)+(y-2)=z$ but this only affected it by $4$ on the $x$ axis, because it simplifies to $x+y-4=z$. (though I don't understand why this affects the $x$ axis and not the $y$ or the $z$ axi?)

How can I translate either Of those equations?

1 Answers 1

1

So there are a couple of things going on here. Firstly, you are correct in one sense. $x^2 + y^2 + z^2= 4$ is the equation for a sphere centered around the origin in 3-space. $(x-2)^2 + (y-2)^2 + z^2 = 4$ is that same sphere, but with the center at $(2,2,0)$. So there, you are correct.

But in your second, $x + y - 4 = z$ or rather $x + y - z = 4$, these are planes in 3-space. The four offsets all three, x, y, and z coordinates (not just x). For example, one can see where the plane intercepts the three axes. In the case without the 4, all intercepts are at 0. But now, the x intercept is 4, the y intercept is 4, and the z intercept is -4. You might think - that's really weird! But a plane is rigid, and moving the x part affects the y part too.

Does that all make sense?

  • 0
    @mixedmaths, Thanks for your answer, are you saying that 3d plots can only be translated in a a diagonal line, where the intercepts are all the same value? When I plot (x-2)+(y-2) it does only affect the x axis, see [here on wolframalpha](http://www.wolframalpha.com/input/?i=plot+%28x−2%29%2B%28y−2%29) not affecting all three axis. Am I just looking at it wrong or something?2011-09-05
  • 0
    And I now tried a [different graphing application](http://calculator.runiter.com/graphing-calculator/download-free-graphing-calculator.htm) and the same equation as in wolfram alpha I get different results?2011-09-05
  • 0
    @Jonathan: All graphing software that gives correct results will give the same results. When I plotted it on W|A, I noted that all axes were affected. I advise you to pay closer attention to the labelling of the axes, perhaps shift one variable at a time to see the difference.2011-09-05
  • 0
    @mixedmaths, sorry wrong link http://www.wolframalpha.com/input/?i=plot+%28x%29%2B%28y%29+vs+%28x-2%29%2B%28y-2%292011-09-05
  • 0
    @Jonathan: I don't know why you think there is no difference. In the unchanged one, note that the plane intercepts the y axis at 0. In the second, it is not. The y shifts too.2011-09-05
  • 0
    @Jonathan (for reference, we see that both intercepts are 4 in the second graph, which we expected).2011-09-05