Calculus
Volumes of Revolution
Exact volumes by the disk, washer, and cylindrical shell methods.
volume_revolution(x^2,x,0,2,axis='x') is the disk method. The region lies between y = x^2 and the x-axis, the radius is |x^2|, and the integral π ∫ from 0 to 2 of x^4 dx equals 32π/5.
volume_between(x,x^2,x,0,1,axis='x') is the washer method. On [0, 1] the outer radius is x and the inner radius is x^2, so the volume is 2π/15. volume_shell(x^2,x,0,1,axis='y') uses shells parallel to the y-axis: 2π ∫ from 0 to 1 of x^3 dx equals π/2. The steps name the region, the axis, and the integral before the boxed value.
Equation
volume_revolution(x^2,x,0,2,axis='x')
How the calculus steps are organized
Calculus in the equation workflow returns the symbolic result and the steps. A derivative applies the relevant rule. An integral looks for an antiderivative, and a definite integral evaluates it on the bounds. A limit simplifies before it substitutes the point when substitution would divide by zero.
Multivariable operations stay symbolic and, when the expression has two variables, DGS can also show the surface. A partial derivative treats the other variables as constants. A tangent plane uses both partials at the chosen point. The page states the command that produces each of those results.
Reading the input
volume_revolution(x^2,x,0,2,axis='x')— This is a command. The name selects the routine, and the items inside the parentheses are its arguments.
Other versions of this example
These stay on this page so each version keeps the same explanation. Choose Try example to run a version in its Studio workflow, or copy it into the editable field below.
Disk
Expected volume 32*pi/5.
volume_revolution(x^2,x,0,2,axis='x')
Washer
Expected volume 2*pi/15.
volume_between(x,x^2,x,0,1,axis='x')
Shell
Expected volume pi/2.
volume_shell(x^2,x,0,1,axis='y')
Try a change
- Edit one number in the field, then use Solve Equation. The studio opens on the homepage with the edited text and runs it.
- Use Open in DGS Studio when you want the expression loaded but not run yet.
Solve Equation opens the original input in the equation workspace and displays its symbolic results, conditions, and solution steps.