# Shell integration

Part of a series of articles about :
Calculus :
$\int _{a}^{b}f'(t)\,dt=f(b)-f(a)$ :
Fundamental theorem
Limits
Continuity
Rolle's theorem
Mean value theorem
Inverse function theorem :
Differential
Definitions
Derivative (generalizations)
Differential
infinitesimal
of a function
total
Concepts
Differentiation notation
Second derivative
Implicit differentiation
Logarithmic differentiation
Related rates
Taylor's theorem
Rules and identities
Sum
Product
Chain
Power
Quotient
L'Hôpital's rule
Inverse
General Leibniz
Faà di Bruno's formula
Reynolds :
Integral
Lists of integrals
Integral transform
Leibniz integral rule
Definitions
Antiderivative
Integral (improper)
Riemann integral
Lebesgue integration
Contour integration
Integral of inverse functions
Integration by
Parts
Discs
Cylindrical shells
Substitution (trigonometric, tangent half-angle, Euler)
Euler's formula
Partial fractions (Heaviside's method)
Changing order
Reduction formulae
Differentiating under the integral sign
Risch algorithm :
Series
Geometric (arithmetico-geometric)
Harmonic
Alternating
Power
Binomial
Taylor
Convergence tests
Summand limit (term test)
Ratio
Root
Integral
Direct comparison
Limit comparison
Alternating series
Cauchy condensation
Dirichlet
Abel :
Vector
Gradient
Divergence
Curl
Laplacian
Directional derivative
Identities
Theorems
Gradient
Green's
Stokes'
Divergence
generalized Stokes
Helmholtz decomposition :
Multivariable
Formalisms
Matrix
Tensor
Exterior
Geometric
Definitions
Partial derivative
Multiple integral
Line integral
Surface integral
Volume integral
Jacobian
Hessian :
Advanced
Calculus on Euclidean space
Generalized functions
Limit of distributions :
Specialized
Fractional
Malliavin
Stochastic
Variations :
Miscellanea
Precalculus
History
Glossary
List of topics
Integration Bee
Mathematical analysis
Nonstandard analysis :
vte :
Shell integration (the shell method in integral calculus) is a method for calculating the volume of a solid of revolution, when integrating along an axis perpendicular to the axis of revolution. This is in contrast to disc integration which integrates along the axis parallel to the axis of revolution.

## Definition

The shell method goes as follows: Consider a volume in three dimensions obtained by rotating a cross-section in the xy-plane around the y-axis. Suppose the cross-section is defined by the graph of the positive function f(x) on the interval [a, b]. Then the formula for the volume will be:
    $2\pi \int _{a}^{b}xf(x)\,dx$
If the function is of the y coordinate and the axis of rotation is the x-axis then the formula becomes:
    $2\pi \int _{a}^{b}yf(y)\,dy$
If the function is rotating around the line x = h then the formula becomes:
    ${\begin{cases}\displaystyle 2\pi \int _{a}^{b}(x-h)f(x)\,dx,&{\text{if}}\ h\leq a<b\\\displaystyle 2\pi \int _{a}^{b}(h-x)f(x)\,dx,&{\text{if}}\ a<b\leq h,\end{cases}}$
and for rotations around y = k it becomes
    ${\begin{cases}\displaystyle 2\pi \int _{a}^{b}(y-k)f(y)\,dy,&{\text{if}}\ k\leq a<b\\\displaystyle 2\pi \int _{a}^{b}(k-y)f(y)\,dy,&{\text{if}}\ a<b\leq k.\end{cases}}$
The formula is derived by computing the double integral in polar coordinates.

### Derivation of the formula

* A way to obtain the formula
* The method's formula can be derived as follows:
* Consider the function $f(x)$ which describes our cross-section of the solid, now the integral of the function can be described as a Riemann integral:
* $\int \limits _{a}^{b}f(x)dx=\lim _{n\to \infty }\sum _{i=1}^{n}f(a+i\Delta x)\Delta x$
* Where $\Delta x={\frac {b-a}{n}}$ is a small difference in $x$
* The Riemann sum can be thought up as a sum of a number n of rectangles with ever shrinking bases, we might focus on one of them:
* $f(a+k\Delta x)\Delta x$
* Now, when we rotate the function around the axis of revolution, it is equivalent to rotating all of these rectangles around said axis, these rectangles end up becoming a hollow cylinder, composed by the difference of two normal cylinders. For our chosen rectangle, its made by obtaining a cylinder of radius $a+(k+1)\Delta x$ with height $f(a+k\Delta x)$ , and substracting it another smaller cylinder of radius $a+k\Delta x$, with the same height of $f(a+k\Delta x)$ , this difference of cylinder volumes is:
* $\pi (a+(k+1)\Delta x)^{2}f(a+k\Delta x)-\pi (a+k\Delta x)^{2}f(a+k\Delta x)$
* $=\pi f(a+k\Delta x)((a+(k+1)\Delta x)^{2}-(a+k\Delta x)^{2})$
* By difference of squares , the last factor can be reduced as:
* $\pi f(a+k\Delta x)(2a+2k\Delta x+\Delta x)\Delta x$
* The third factor can be factored out by two, ending up as:
* $2\pi f(a+k\Delta x)(a+k\Delta x+{\frac {\Delta x}{2}})\Delta x$
* This same thing happens with all terms, so our total sum becomes:
* $\lim _{n\to \infty }2\pi \sum _{i=1}^{n}f(a+i\Delta x)(a+i\Delta x+{\frac {\Delta x}{2}})\Delta x$
* In the limit of $n\rightarrow \infty$, we can clearly identify that:
* $f(a+i\Delta x)$ as $\Delta x$ tends to 0 ends up becoming $f(x)$
* $(a+i\Delta x+{\frac {\Delta x}{2}})$ becomes $x$ itself, going from a to b (ignoring the last term which vanishes)
* $\Delta x$ becomes the infinitesimal $dx$
* Thus, at the limit of infinity, the sum becomes the integral:
* $2\pi \int \limits _{a}^{b}xf(x)dx$
* QED $\square$.

## Example

Consider the volume, depicted below, whose cross section on the interval [1, 2] is defined by:
    $y=8(x-1)^{2}(x-2)^{2}$
With the shell method we simply use the following formula:
    $V=16\pi \int _{1}^{2}x((x-1)^{2}(x-2)^{2})\,dx$
By expanding the polynomial, the integration is easily done giving ⁠8/10⁠$\pi$ cubic units.

### Comparison With Disc Integration

Much more work is needed to find the volume if we use disc integration. First, we would need to solve $y=8(x-1)^{2}(x-2)^{2}$ for x. Next, because the volume is hollow in the middle, we would need two functions: one that defined an outer solid and one that defined the inner hollow. After integrating each of these two functions, we would subtract them to yield the desired volume.