{ "hash": "3b26136e4698c2a7035a4400b494be3b", "result": { "markdown": "# Surface Area\n\n\n\nThis section uses these add-on packages:\n\n``` {.julia .cell-code}\nusing CalculusWithJulia\nusing Plots\nusing SymPy\nusing QuadGK\n```\n\n\n\n\n---\n\n\n## Surfaces of revolution\n\n.) ](../integrals/figures/gehry-hendrix.jpg)\n\n\n\n> The surface area generated by rotating the graph of $f(x)$ between $a$ and $b$ about the $x$-axis is given by the integral\n>\n> $$\n> \\int_a^b 2\\pi f(x) \\cdot \\sqrt{1 + f'(x)^2} dx.\n> $$\n>\n> If the curve is parameterized by $(g(t), f(t))$ between $a$ and $b$ then the surface area is\n>\n> $$\n> \\int_a^b 2\\pi f(t) \\cdot \\sqrt{g'(t)^2 + f'(t)^2} dx.\n> $$\n>\n> These formulas do not add in the surface area of either of the ends.\n\n::: {.cell hold='true' execution_count=5}\n\n::: {.cell-output .cell-output-display execution_count=6}\n{}\n:::\n:::\n\n\nThe above figure shows a cone (the line $y=x$) presented as a surface of revolution about the $x$-axis.\n\n\nTo see why this formula is as it is, we look at the parameterized case, the first one being a special instance with $g(t) =t$.\n\n\nLet a partition of $[a,b]$ be given by $a = t_0 < t_1 < t_2 < \\cdots < t_n =b$. This breaks the curve into a collection of line segments. Consider the line segment connecting $(g(t_{i-1}), f(t_{i-1}))$ to $(g(t_i), f(t_i))$. Rotating this around the $x$ axis will generate something approximating a disc, but in reality will be the frustum of a cone. What will be the surface area?\n\n\nConsider a right-circular cone parameterized by an angle $\\theta$ and the largest radius $r$ (so that the height satisfies $r/h=\\tan(\\theta)$). If this cone were made of paper, cut up a side, and layed out flat, it would form a sector of a circle, whose area would be $R\\gamma$ where $R$ is the radius of the circle (also the side length of our cone), and $\\gamma$ an angle that we can figure out from $r$ and $\\theta$. To do this, we note that the arc length of the circle's edge is $R\\gamma$ and also the circumference of the bottom of the cone so $R\\gamma = 2\\pi r$. With all this, we can solve to get $A = \\pi r^2/\\sin(\\theta)$. But we have a frustum of a cone with radii $r_0$ and $r_1$, so the surface area is a difference: $A = \\pi (r_1^2 - r_0^2) /\\sin(\\theta)$.\n\n\nRelating this to our values in terms of $f$ and $g$, we have $r_1=f(t_i)$, $r_0 = f(t_{i-1})$, and $\\sin(\\theta) = \\Delta f / \\sqrt{(\\Delta g)^2 + (\\Delta f)^2}$, where $\\Delta f = f(t_i) - f(t_{i-1})$ and similarly for $\\Delta g$.\n\n\nPutting this altogether we get that the surface area generarated by rotating the line segment around the $x$ axis is\n\n\n\n$$\n\\text{sa}_i = \\pi (f(t_i)^2 - f(t_{i-1})^2) \\cdot \\sqrt{(\\Delta g)^2 + (\\Delta f)^2} / \\Delta f =\n\\pi (f(t_i) + f(t_{i-1})) \\cdot \\sqrt{(\\Delta g)^2 + (\\Delta f)^2}.\n$$\n\n\n(This is $2 \\pi$ times the average radius times the slant height.)\n\n\nAs was done in the derivation of the formula for arc length, these pieces are multiplied both top and bottom by $\\Delta t = t_{i} - t_{i-1}$. Carrying the bottom inside the square root and noting that by the mean value theorem $\\Delta g/\\Delta t = g(\\xi)$ and $\\Delta f/\\Delta t = f(\\psi)$ for some $\\xi$ and $\\psi$ in $[t_{i-1}, t_i]$, this becomes:\n\n\n\n$$\n\\text{sa}_i = \\pi (f(t_i) + f(t_{i-1})) \\cdot \\sqrt{(g'(\\xi))^2 + (f'(\\psi))^2} \\cdot (t_i - t_{i-1}).\n$$\n\n\nAdding these up, $\\text{sa}_1 + \\text{sa}_2 + \\cdots + \\text{sa}_n$, we get a Riemann sum approximation to the integral\n\n\n\n$$\n\\text{SA} = \\int_a^b 2\\pi f(t) \\sqrt{g'(t)^2 + f'(t)^2} dt.\n$$\n\n\nIf we assume integrability of the integrand, then as our partition size goes to zero, this approximate surface area converges to the value given by the limit. (As with arc length, this needs a technical adjustment to the Riemann integral theorem as here we are evaluating the integrand function at four points ($t_i$, $t_{i-1}$, $\\xi$ and $\\psi$) and not just at some $c_i$.\n\n::: {.cell cache='true' hold='true' execution_count=6}\n\n::: {.cell-output .cell-output-display execution_count=7}\n```{=html}\n
Surface of revolution of \\(f(x) = 2 - x^2\\) about the \\(y\\) axis. The lines segments are the images of rotating the secant line connecting \\((1/2, f(1/2))\\) and \\((3/4, f(3/4))\\). These trace out the frustum of a cone which approximates the corresponding surface area of the surface of revolution. In the limit, this approximation becomes exact and a formula for the surface area of surfaces of revolution can be used to compute the value.
\n