1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Visualizing 3d graph of two variables

  1. Oct 15, 2011 #1
    I have a question in my book that states:
    "T or F The natural domain of f(x,y,z) = sqrt(1-x^2-y^2) is a disk of radius 1 centered at the origin in the xy-plane."

    This is F as the graph is an infinite solid cylinder. But I can't visualize it. If I let f(x,y,z) be z, and square both sides, I get:

    x^2 + y^2 + z^2 = 1 which is the graph of a sphere centered at the origin, right?

    Not sure where the 'solid cylinder' comes in...
  2. jcsd
  3. Oct 15, 2011 #2
    I think it is true, since the shape is a sphere radius one centered at the origin (the infinite cylinder equation would be [itex]x^{2}+y^{2}=1[/itex]).

    Think of projecting the sphere onto the xy-plane. What would it's shadow look like?
  4. Oct 15, 2011 #3
    You have [itex]f(x,y,z)=\sqrt{1-x^2-y^2}[/itex]

    That's a function of three variables right? But the value of the function is only in terms of x and y. That means for any z, the value is the same for the same x and y. So the domain for real values of the function in terms of x, y, and z is not just the unit circle in the x-y plane but the unit circle for every z. Think of the function f(x,y,z) as a density function in 3D space. For example,


    Now suppose you colored the values of the function for every value of x, y, and z in it's domain, the smaller the value of f, the lighter the color. Say the colors go from white for small values to black when f(x,y,z)=1. Now consider that "natural" domain in the x, y, z plane, a cylinder right with all those values of f(x,y,z) colored according to their values. Wouldn't that figure look like a density plot with white on the perimeter where f(x,y,z)=0 and as you get closer to the z-axis, the colors get darker and darker until at the z-axis, they are black.

    Ok, now plot that in Mathematica.
  5. Oct 16, 2011 #4
    Ah perfect. I understand the circle at every value of z. I don't understand the 'density function' part though. PErhaps that one will come with time.

    Thank you, jackmell.
  6. Oct 20, 2011 #5
    Assignment problem. I have a new issue regarding visualizing graphs of multiple variables.

    How do you visualize the two of these:


    These completely baffle me. I can see z=ln(1+x), but when you multiply it by y, how does that change it? Does it extend infinitely in the +/- y direction? As for the second one... I can graph z=sin-1(x), but I'm not sure how the newly introduced y changes things...

    The answer is in the back of the book for both questions. Both are sketched in the xy-plane only. The first has an open boundary at y=-1, and is colored for all values in the positive direction from this line. The second graph is much like a star, with parabolas in each quadrant, dipping toward the origin (opening outwards), and the spikes of the star along each of the two axes (four directions of x-, x+, y-, y+)...

    I'd really like to get better at visualizing these myself. But not sure where to start.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook