x = 2 cos u, y = 2 sin u, and z = v.
The idea is that the circular portion sweeps out as u varies over [0, 2π], and the vertical part as v varies. The following routine plots the paraboloid and the cylinder. Watching the pictures generate helps you see how the region S lies between the two surfaces whose plots follow: inside the cylinder r = 2 and outside the paraboloid z = . (The final plot shows only half the region, so that hidden-line removal does not erase the inner surface.) Execute the routine to watch the final plot take shape.
Needs["Graphics`ParametricPlot3D`"]
CylindricalPlot3D[r^2, {r, 0, 2}, {theta, 0, Pi}];
ParametricPlot3D[{2 Cos[u], 2 Sin[u], v},
{u, 0, Pi},{v, 0, 4}]
Show[%, %%, AxesLabel -> {x, y, z}]
Example 2. Plot the region U bounded by the graphs of z = 0, z = y, and
= 1.
Solution. The following code produces a Mathematica plot of half the region. As before, it is instructive to watch the final plot evolve. Execute the code to do so:
Needs["Graphics`ParametricPlot3D`"]
CylindricalPlot3D[r Sin[theta], {r, 0, 2}, {theta, 0, Pi}] ;
ParametricPlot3D[{Cos[u], Sin[u], v}, {u, 0, Pi},
{v, 0, 2}];
Show[%, %%, AxesLabel -> {x, y, z}]
The sequence of figures shows clearly that the region U is symmetric with respect to the xy-plane: the portion of U above that plane is congruent to the portion below it.