{"id":1452,"date":"2025-10-17T15:29:38","date_gmt":"2025-10-17T15:29:38","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=1452"},"modified":"2025-11-06T18:51:27","modified_gmt":"2025-11-06T18:51:27","slug":"surface-integrals-learn-it-3","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus3\/chapter\/surface-integrals-learn-it-3\/","title":{"raw":"Surface Integrals: Learn It 3","rendered":"Surface Integrals: Learn It 3"},"content":{"raw":"<h2>Surface Integral of a Scalar-Valued Function<\/h2>\r\n<p class=\"whitespace-normal break-words\">Now that we can parameterize surfaces and calculate their surface areas, we can define surface integrals. Let's start with the surface integral of a scalar-valued function.<\/p>\r\n<p class=\"whitespace-normal break-words\">A surface integral of a scalar-valued function is similar to a scalar line integral, but in one higher dimension. For a line integral, the domain of integration is a parameterized curve (one-dimensional). For a surface integral, the domain of integration is a parameterized surface (two-dimensional).<\/p>\r\n<p class=\"whitespace-normal break-words\">The definition follows the same logic as line integrals. For scalar line integrals, we chop the domain curve into tiny pieces, choose a point in each piece, evaluate the function at that point, and take a limit of the corresponding Riemann sum. For scalar surface integrals, we chop the domain surface into tiny pieces and proceed in the same fashion.<\/p>\r\n\r\n<h3 class=\"text-lg font-bold text-text-100 mt-1 -mb-1.5\">Defining the Surface Integral<\/h3>\r\n<p class=\"whitespace-normal break-words\">Let [latex]S[\/latex] be a piecewise smooth surface with parameterization [latex]\\mathbf{r}(u,v) = \\langle x(u,v), y(u,v), z(u,v) \\rangle[\/latex] with parameter domain [latex]D[\/latex]. Let [latex]f(x,y,z)[\/latex] be a function with a domain that contains [latex]S[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">For simplicity, assume the parameter domain [latex]D[\/latex] is a rectangle (we can extend this to any parameter domain). Divide rectangle [latex]D[\/latex] into subrectangles [latex]D_{ij}[\/latex] with horizontal width [latex]\\Delta u[\/latex] and vertical length [latex]\\Delta v[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">Suppose [latex]i[\/latex] ranges from [latex]1[\/latex] to [latex]m[\/latex] and [latex]j[\/latex] ranges from [latex]1[\/latex] to [latex]n[\/latex], so [latex]D[\/latex] is subdivided into [latex]mn[\/latex] rectangles. This division of [latex]D[\/latex] into subrectangles gives a corresponding division of [latex]S[\/latex] into pieces [latex]S_{ij}[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">Choose point [latex]P_{ij}[\/latex] in each piece [latex]S_{ij}[\/latex], evaluate [latex]f[\/latex] at [latex]P_{ij}[\/latex], and multiply by the area of [latex]S_{ij}[\/latex] to form the Riemann sum:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\displaystyle\\sum_{i=1}^m\\displaystyle\\sum_{j=1}^n f(P_{ij}) \\Delta S_{ij}[\/latex]<\/p>\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>surface integral of a scalar-valued function<\/h3>\r\n<p id=\"fs-id1167794160163\">The\u00a0<strong><span id=\"505d9884-54a9-4157-83ff-87887335091b_term276\" data-type=\"term\">surface integral of a scalar-valued function<\/span><\/strong> of [latex]f[\/latex] over a piecewise smooth surface [latex]S[\/latex] is:<\/p>\r\n<p style=\"text-align: center;\">[latex]\\large{\\displaystyle\\iint_Sf(x,y,z)dS=\\displaystyle\\lim_{m,n\\to\\infty}\\displaystyle\\sum_{i=1}^m\\displaystyle\\sum_{j=1}^nf(P_{ij})\\Delta{S_{ij}}}[\/latex].<\/p>\r\n\r\n<\/section><section class=\"textbox proTip\" aria-label=\"Pro Tip\">\r\n<p class=\"whitespace-normal break-words\">Notice the similarities between this definition and the definition of a scalar line integral. In the line integral, we chop a curve into pieces, evaluate a function at a point in each piece, and let the length of the pieces shrink to zero. In the surface integral, we chop a surface into pieces, evaluate a function at a point in each piece, and let the area of the pieces shrink to zero.<\/p>\r\n\r\n<\/section>This definition extends to parameter domains that are not rectangles by using the same logic. The basic idea is to chop the parameter domain into small pieces, choose a sample point in each piece, and so on. The exact shape of each piece becomes irrelevant as the areas shrink to zero.\r\n<h3>Computing Surface Integrals<\/h3>\r\nScalar surface integrals are difficult to compute from the definition, just as scalar line integrals are. To make surface integrals easier to compute, we approximate surface areas [latex]\\Delta S_{ij}[\/latex] with small pieces of a tangent plane, as we did when calculating surface area.\r\n\r\nRecall the definition of vectors [latex]{\\bf{t}}_u[\/latex] and [latex]{\\bf{t}}_v[\/latex]:\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\mathbf{t}_u = \\left\\langle \\dfrac{\\partial x}{\\partial u}, \\dfrac{\\partial y}{\\partial u}, \\dfrac{\\partial z}{\\partial u} \\right\\rangle[\/latex] and [latex]\\mathbf{t}_v = \\left\\langle \\dfrac{\\partial x}{\\partial v}, \\dfrac{\\partial y}{\\partial v}, \\dfrac{\\partial z}{\\partial v} \\right\\rangle[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">From our work with surface area, we know that:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\Delta{S}_{ij}\\approx||{\\bf{t}}_u(P_{ij})\\times{\\bf{t}}_v(P_{ij})||\\Delta{u}\\Delta{v}[\/latex]<\/p>\r\nUsing this approximation in our Riemann sum gives:\r\n<p style=\"text-align: center;\">[latex]\\displaystyle\\iint_Sf(x,y,z)dS\\approx\\displaystyle\\lim_{m,n\\to\\infty}\\displaystyle\\sum_{i=1}^m\\displaystyle\\sum_{j=1}^nf(P_{ij})||{\\bf{t}}_u(P_{ij})\\times{\\bf{t}}_v(P_{ij})||\\Delta{u}\\Delta{v}[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">This approximation becomes arbitrarily close to [latex]\\displaystyle\\lim_{m,n\\to\\infty}\\displaystyle\\sum_{i=1}^m\\displaystyle\\sum_{j=1}^nf(P_{ij})\\Delta{S}_{ij}[\/latex] as we increase the number of pieces [latex]S_{ij}[\/latex] by letting [latex]m[\/latex] and [latex]n[\/latex] go to infinity.<\/p>\r\n<p class=\"whitespace-normal break-words\">We can now state the formula for calculating scalar surface integrals:<\/p>\r\n<p style=\"text-align: center;\">[latex]\\displaystyle\\iint_Sf(x,y,z)dS=\\displaystyle\\iint_Df({\\bf{r}}(u,v)||{\\bf{t}}_u\\times{\\bf{t}}_v||dA[\/latex].<\/p>\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>calculating scalar surface integrals<\/h3>\r\n<p class=\"whitespace-normal break-words\">Let [latex]S[\/latex] be a smooth surface with parameterization [latex]\\mathbf{r}(u,v) = \\langle x(u,v), y(u,v), z(u,v) \\rangle[\/latex] over parameter domain [latex]D[\/latex]. Then:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\displaystyle\\iint_Sf(x,y,z)dS=\\displaystyle\\iint_Df(\\mathbf{r}(u,v)) ||\\mathbf{t}_u \\times \\mathbf{t}_v|| \\, dA[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">where [latex]\\mathbf{t}_u[\/latex] and [latex]\\mathbf{t}_v[\/latex] are the tangent vectors with respect to [latex]u[\/latex] and [latex]v[\/latex].<\/p>\r\n\r\n<\/section><section class=\"textbox connectIt\" aria-label=\"Connect It\">\r\n<p class=\"whitespace-normal break-words\"><strong>Line Integrals vs. Surface Integrals<\/strong><\/p>\r\n<p class=\"whitespace-normal break-words\">The surface integral formula transforms a surface integral into a double integral. This is analogous to the line integral formula:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\displaystyle\\iint_C f(x,y,z) \\, ds = \\displaystyle\\int_a^bf(\\mathbf{r}(t)) ||\\mathbf{r}'(t)|| , dt[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">In the surface integral case, vector [latex]\\mathbf{t}_u \\times \\mathbf{t}_v[\/latex] is perpendicular to the surface. In the line integral case, vector [latex]\\mathbf{r}'[\/latex] is tangent to the curve.<\/p>\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Calculate surface integral [latex]\\displaystyle\\iint_S5dS[\/latex], where [latex]S[\/latex] is the surface with parameterization [latex]{\\bf{r}}(u,v)=\\langle{v},u^2,v\\rangle[\/latex] for [latex]0\\leq{u}\\leq2[\/latex] and\u00a0[latex]0\\leq{v}\\leq{u}[\/latex].[reveal-answer q=\"768642501\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"768642501\"]\r\n<p id=\"fs-id1167793427783\">Notice that this parameter domain [latex]D[\/latex] is a triangle, and therefore the parameter domain is not rectangular. This is not an issue though, because the surface integral equation\u00a0does not place any restrictions on the shape of the parameter domain.<\/p>\r\n<p id=\"fs-id1167793427797\">To use the surface integral equation\u00a0to calculate the surface integral, we first find vector [latex]{\\bf{t}}_u[\/latex] and [latex]{\\bf{t}}_v[\/latex]. Note that [latex]{\\bf{t}}_u=\\langle1,2u,0\\rangle[\/latex] and [latex]{\\bf{t}}_v=\\langle0,0,1\\rangle[\/latex]. Therefore,<\/p>\r\n<p style=\"text-align: center;\">[latex]{\\bf{t}}_u\\times{\\bf{t}}_v=\\begin{vmatrix}{\\bf{i}}&amp;{\\bf{j}}&amp;{\\bf{k}} \\\\ 1&amp;2u&amp;0 \\\\ 0&amp;0&amp;1\\end{vmatrix}=\\langle2u,-1,0\\rangle[\/latex]<\/p>\r\n<p id=\"fs-id1167793719990\">and<\/p>\r\n<p style=\"text-align: center;\">[latex]||{\\bf{t}}_u\\times{\\bf{t}}_v||=\\sqrt{1+4u^2}[\/latex].<\/p>\r\n<p id=\"fs-id1167793616545\">By\u00a0the surface integral equation,<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n\\displaystyle\\iint_S5dS&amp;=5\\displaystyle\\iint_D\\sqrt{1+4u^2}dA \\\\\r\n&amp;=5\\displaystyle\\int_0^2\\int_0^u\\sqrt{1+4u^2}dvdu=5\\displaystyle\\int_0^2u\\sqrt{1+4u^2}du \\\\\r\n&amp;=5\\left[\\frac{(1+4u^2)^{3\/2}}3\\right]_0^2=\\frac{5(17^{3\/2}-1)}{12}\\approx28.79\r\n\\end{aligned}[\/latex].<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">\r\n<p id=\"fs-id1167794214144\">Calculate surface integral [latex]\\displaystyle\\iint_S(x+y^2)dS[\/latex], where [latex]S[\/latex] is cylinder [latex]x^2+y^2=4[\/latex], [latex]0\\leq{z}\\leq3[\/latex] (Figure 1).<\/p>\r\n\r\n[caption id=\"attachment_1484\" align=\"aligncenter\" width=\"264\"]<img class=\"size-full wp-image-1484\" src=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155509\/2de01bbf14da890ca1a4c3a6c3b1a93dca62f7da.webp\" alt=\"A graph in three dimensions of a cylinder. The base of the cylinder is on the (x,z) plane, with center on the y axis. It stretches along the y axis.\" width=\"264\" height=\"361\" \/> Figure 1. Integrating function [latex]f(x,y,z)=x+y^2[\/latex] over a cylinder.[\/caption][reveal-answer q=\"247755319\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"247755319\"]\r\n<p id=\"fs-id1167793372880\">To calculate the surface integral, we first need a parameterization of the cylinder. Following our previous examples, a parameterization is:<\/p>\r\n<p style=\"text-align: center;\">[latex]{\\bf{r}}(u,v)=\\langle2\\cos{u},2\\sin{u},v\\rangle, \\ 0\\leq{u}\\leq2\\pi, \\ 0\\leq{v}\\leq3[\/latex].<\/p>\r\n<p id=\"fs-id1167793315639\">The tangent vectors are [latex]{\\bf{t}}_u=\\langle\\sin{u},\\cos{u},0\\rangle[\/latex] and [latex]{\\bf{t}}_v=\\langle0,0,1\\rangle[\/latex]. Then,<\/p>\r\n<p style=\"text-align: center;\">[latex]{\\bf{t}}_u\\times{\\bf{t}}_v=\\begin{vmatrix}{\\bf{i}}&amp;{\\bf{j}}&amp;{\\bf{k}} \\\\ -\\sin{u}&amp;\\cos{u}&amp;0 \\\\ 0&amp;0&amp;1\\end{vmatrix}=\\langle\\cos{u},\\sin{u},0\\rangle[\/latex]<\/p>\r\n<p id=\"fs-id1167793775880\">and [latex]||{\\bf{t}}_u\\times{\\bf{t}}_v||=\\sqrt{\\cos^2u+\\sin^2u}=1[\/latex]. By the surface integral equation,<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n\\displaystyle\\iint_Sf(x,y,z)dS&amp;=\\displaystyle\\iint_Df({\\bf{r}}(u,v))||{\\bf{t}}_u\\times{\\bf{t}}_v|| \\ dA \\\\\r\n&amp;=\\displaystyle\\int_0^3\\displaystyle\\int_0^{2\\pi}(2\\cos{u}+4\\sin^2u)dydv \\\\\r\n&amp;=\\displaystyle\\int_0^3[2\\sin{u}+2u-\\sin(2u)]_0^{2\\pi}dv=\\displaystyle\\int_0^34\\pi{d}v=12\\pi\r\n\\end{aligned}[\/latex].<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Calculate surface integral [latex]\\displaystyle\\iint_Sf(x,y,z)dS[\/latex], where [latex]f(x, y, z)=z^{2}[\/latex] and [latex]S[\/latex] is the surface that consists of the piece of sphere [latex]x^{2}+y^{2}+z^{2}=4[\/latex] that lies on or above plane [latex]z=1[\/latex] and the disk that is enclosed by intersection plane [latex]z=1[\/latex] and the given sphere (Figure 2).[caption id=\"attachment_1486\" align=\"aligncenter\" width=\"407\"]<img class=\"size-full wp-image-1486\" src=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155556\/8060a589ddea4ad92316c95589f1b486dffea464.webp\" alt=\"A diagram in three dimensions of the upper half of a sphere. The center is at the origin, and the radius is 2. The top part above the plane z=1 is cut off and shaded; the rest is simply an outline of the hemisphere. The top section has center at (0,0,1) and radius of radical three.\" width=\"407\" height=\"378\" \/> Figure 2. Calculating a surface integral over surface [latex]S[\/latex].[\/caption][reveal-answer q=\"223579284\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"223579284\"]\r\n<div id=\"fs-id1167793597303\" class=\" ui-solution-visible\" data-type=\"solution\" aria-label=\"hide solution\" aria-expanded=\"true\"><section class=\"ui-body\" role=\"alert\">\r\n<h2 data-type=\"solution-title\"><span style=\"font-size: 16px; font-weight: 400;\">Notice that [latex]S[\/latex] is not smooth but is piecewise smooth; [latex]S[\/latex] can be written as the union of its base [latex]S_1[\/latex] and its spherical top [latex]S_2[\/latex], and both [latex]S_1[\/latex] and [latex]S_2[\/latex] are smooth. Therefore, to calculate [latex]\\displaystyle\\iint_Sz^2dS[\/latex], we write this integral as [latex]\\displaystyle\\iint_Sz^2d{S_1}+\\displaystyle\\iint_{S_2}z^2dS[\/latex] and we calculate integrals [latex]\\displaystyle\\iint_{S_1}z^2dS[\/latex] and [latex]\\displaystyle\\iint_{S_2}z^2dS[\/latex].<\/span><\/h2>\r\n<div class=\"os-solution-container\">\r\n<p id=\"fs-id1167794127162\">First, we calculate [latex]\\displaystyle\\iint_{S_1}z^2dS[\/latex]. To calculate this integral we need a parameterization of [latex]S_1[\/latex]. This surface is a disk in plane [latex]z=1[\/latex] centered at [latex](0, 0, 1)[\/latex]. To parameterize this disk, we need to know its radius. Since the disk is formed where plane [latex]z=1[\/latex] intersects sphere [latex]x^{2}+y^{2}+z^{2}=4[\/latex], we can substitute [latex]z=1[\/latex] into equation [latex]x^{2}+y^{2}+z^{2}=4[\/latex]:<\/p>\r\n<p style=\"text-align: center;\">[latex]x^2+y^2+1=4\\Rightarrow{x}^2+y^2=3[\/latex].<\/p>\r\n<p id=\"fs-id1167794012001\">Therefore, the radius of the disk is [latex]\\sqrt3[\/latex] and a parameterization of [latex]S_1[\/latex] is [latex]{\\bf{r}}(u,v)=\\langle{u}\\cos{v},u\\sin{v},1\\rangle[\/latex], [latex]0\\leq{u}\\leq\\sqrt3[\/latex],[latex]0\\leq{v}\\leq2\\pi[\/latex]. The tangent vectors are [latex]{\\bf{t}}_u=\\langle\\cos{v},\\sin{v},0\\rangle[\/latex] and [latex]{\\bf{t}}_v=\\langle-u\\sin{v},u\\cos{v},0\\rangle[\/latex], and thus<\/p>\r\n<p style=\"text-align: center;\">[latex]{\\bf{t}}_u\\times{\\bf{t}}_v=\\begin{vmatrix}{\\bf{i}}&amp;{\\bf{j}}&amp;{\\bf{k}} \\\\ \\cos{v}&amp;\\sin{v}&amp;0 \\\\-u\\sin{v}&amp;u\\cos{v}&amp;0\\end{vmatrix}=\\langle0,0,u\\cos^2v+u\\sin^2v\\rangle=\\langle0,0,u\\rangle[\/latex].<\/p>\r\n<p id=\"fs-id1167794222297\">The magnitude of this vector is [latex]u[\/latex]. Therefore,<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n\\displaystyle\\iint_{S_1}z^2dS&amp;=\\displaystyle\\int_0^{\\sqrt3}\\displaystyle\\int_0^{2\\pi}f({\\bf{r}}(u,v))||{\\bf{t}}_u\\times{\\bf{t}}_v|| \\ dvdu \\\\\r\n&amp;=\\displaystyle\\int_0^{\\sqrt3}\\displaystyle\\int_0^{2\\pi}u \\ dvdu \\\\\r\n&amp;=2\\pi\\displaystyle\\int_0^{\\sqrt3} \\ udu \\\\\r\n&amp;=3\\pi\r\n\\end{aligned}[\/latex].<\/p>\r\n<p id=\"fs-id1167794121495\">Now we calculate [latex]\\displaystyle\\iint_{S_2} \\ dS[\/latex]. To calculate this integral, we need a parameterization of [latex]S_2[\/latex]. The parameterization of full sphere [latex]x^{2}+y^{2}+z^{2}=4[\/latex] is<\/p>\r\n<p style=\"text-align: center;\">[latex]{\\bf{r}}(\\phi,\\theta)=\\langle2\\cos\\theta\\sin\\phi,2\\sin\\theta\\sin\\phi,2\\cos\\phi\\rangle, \\ 0\\leq\\theta\\leq2\\pi, \\ 0\\leq\\phi\\leq\\pi[\/latex].<\/p>\r\n<p id=\"fs-id1167791542808\">Since we are only taking the piece of the sphere on or above plane [latex]z=1[\/latex], we have to restrict the domain of [latex]\\phi[\/latex]. To see how far this angle sweeps, notice that the angle can be located in a right triangle, as shown in\u00a0Figure 3\u00a0(the [latex]\\sqrt3[\/latex] comes from the fact that the base of [latex]S[\/latex] is a disk with radius [latex]\\sqrt3[\/latex]). Therefore, the tangent of [latex]\\phi[\/latex] is [latex]\\sqrt3[\/latex], which implies that [latex]\\phi[\/latex] is [latex]\\pi\/6[\/latex]. We now have a parameterization of [latex]S_2[\/latex]:<\/p>\r\n<p style=\"text-align: center;\">[latex]{\\bf{r}}(\\phi,\\theta)=\\langle2\\cos\\theta\\sin\\phi,2\\sin\\theta\\sin\\phi,2\\cos\\phi\\rangle, \\ 0\\leq\\theta\\leq2\\pi, \\ 0\\leq\\phi\\leq\\pi\/3[\/latex].<\/p>\r\n\r\n[caption id=\"attachment_1487\" align=\"aligncenter\" width=\"422\"]<img class=\"size-full wp-image-1487\" src=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155622\/476497f01653538dbc08bef585c08834b0c1278f.webp\" alt=\"A diagram of a plane within the three-dimensional coordinate system. Two points are marked on the z axis: (0,0,2) and (0,0,1). The distance from the origin to (0,0,1) is marked as 1, the horizontal distance between the point (0,0,1) and a point of the sphere is labeled radical three, and the angle between the origin and the point on the sphere is theta. There is a line drawn from the origin to the point on the sphere, and this forms a triangle.\" width=\"422\" height=\"285\" \/> Figure 3. The maximum value of [latex]\\phi[\/latex] has a tangent value of [latex]{\\sqrt3}[\/latex][\/caption]\r\n<p id=\"fs-id1167793473646\">The tangent vectors are<\/p>\r\n[latex]{\\bf{t}}_\\phi=\\langle2\\cos\\theta\\cos\\phi,2\\sin\\theta\\cos\\phi,-2\\sin\\phi\\rangle\\text{ and }{\\bf{t}}_\\theta=\\langle-2\\sin\\theta\\sin\\phi,u\\cos\\theta\\sin\\phi,0\\rangle[\/latex],\r\n<p id=\"fs-id1167793545076\">and thus<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n{\\bf{t}}_\\phi\\times{\\bf{t}}_\\theta&amp;=\\begin{vmatrix}\r\n{\\bf{i}}&amp;{\\bf{j}}&amp;{\\bf{k}} \\\\\r\n2\\cos\\theta\\cos\\phi&amp;2\\sin\\theta\\cos\\phi&amp;-2\\sin\\phi \\\\\r\n-2\\sin\\theta\\sin\\phi&amp;2\\cos\\theta\\sin\\phi&amp;0\r\n\\end{vmatrix} \\\\\r\n&amp;=\\langle4\\cos\\theta\\sin^2\\phi,4\\sin\\theta\\sin^2\\phi,4\\cos^2\\theta\\sin\\phi+4\\sin^2\\theta\\cos\\phi\\sin\\phi\\rangle \\\\\r\n&amp;=\\langle4\\cos\\theta\\sin^2\\phi,4\\sin\\theta\\sin^2\\phi,4\\cos\\phi\\sin\\phi\\rangle\r\n\\end{aligned}[\/latex].<\/p>\r\n<p id=\"fs-id1167793446128\">The magnitude of this vector is<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n||{\\bf{t}}_\\phi\\times{\\bf{t}}_\\theta||&amp;=\\sqrt{16\\cos^2\\theta\\sin^4\\phi+16\\sin^2\\theta\\sin^4\\phi+16\\cos^2\\phi\\sin^2\\phi} \\\\\r\n&amp;=4\\sqrt{\\sin^4\\phi+\\cos^2\\phi\\sin^2\\phi}\r\n\\end{aligned}[\/latex].<\/p>\r\n<p id=\"fs-id1167794200113\">Therefore,<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n\\displaystyle\\iint_{S_2}z^2dS&amp;=\\displaystyle\\int_0^{\\pi\/3}\\displaystyle\\int_0^{2\\pi}f({\\bf{r}}(\\phi,\\theta))||{\\bf{t}}_\\phi\\times{\\bf{t}}_\\theta|| \\ d\\theta{d}\\phi \\\\\r\n&amp;=\\displaystyle\\int_0^{\\pi\/3}\\displaystyle\\int_0^{2\\pi}16\\cos^2\\phi\\sqrt{\\sin^4\\phi+\\cos^2\\phi\\sin^2\\phi}d\\theta{d}\\phi \\\\\r\n&amp;=32\\pi\\displaystyle\\int_0^{\\pi\/3}\\cos^2\\phi\\sqrt{\\sin^4\\phi+\\cos^2\\phi\\sin^2\\phi}d\\phi \\\\\r\n&amp;=32\\pi\\displaystyle\\int_0^{\\pi\/3}\\cos^2\\phi\\sin\\phi\\sqrt{\\sin^2\\phi+\\cos^2\\phi}d\\phi \\\\\r\n&amp;=32\\pi\\displaystyle\\int_0^{\\pi\/3}\\cos^2\\phi\\sin\\phi{d}\\phi \\\\\r\n&amp;=32\\pi\\left[-\\frac{\\cos^3\\phi}3\\right]_0^{\\pi\/6}=32\\pi\\left[\\frac13-\\frac{\\sqrt3}8\\right]=\\frac{28\\pi}3\r\n\\end{aligned}[\/latex].<\/p>\r\nSince\r\n<p style=\"text-align: center;\">[latex]\\displaystyle\\iint_Sz^2 \\ dS=\\displaystyle\\iint_{S_1}z^2 \\ dS+\\displaystyle\\iint_{S_2}z^2 \\ dS=3\\pi\\frac{28\\pi}3=\\frac{37\\pi}3[\/latex].<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-id1167793952158\" data-type=\"commentary\">\r\n<p id=\"44\" data-type=\"commentary-title\"><strong><span class=\"os-title-label\">Analysis<\/span><\/strong><\/p>\r\n<p id=\"fs-id1167793398448\">In this example we broke a surface integral over a piecewise surface into the addition of surface integrals over smooth subsurfaces. There were only two smooth subsurfaces in this example, but this technique extends to finitely many smooth subsurfaces.<\/p>\r\n\r\n<\/div>\r\n[\/hidden-answer]\r\n\r\n<\/section>\r\n<p class=\"whitespace-normal break-words\">Scalar surface integrals have several real-world applications. Recall that scalar line integrals can be used to compute the mass of a wire given its density function. In a similar fashion, we can use scalar surface integrals to compute the mass of a sheet given its density function. If a thin sheet of metal has the shape of surface [latex]S[\/latex] and the density of the sheet at point [latex](x, y, z)[\/latex]\u00a0is [latex]\\rho(x,y,z)[\/latex], then mass [latex]m[\/latex] of the sheet is:<\/p>\r\n<p style=\"text-align: center;\">[latex]m=\\displaystyle\\iint_S\\rho(x,y,z)dS[\/latex].<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">A flat sheet of metal has the shape of surface [latex]z=1+x+2y[\/latex] that lies above rectangle [latex]0\\leq{x}\\leq4[\/latex] and [latex]0\\leq{y}\\leq2[\/latex]. If the density of the sheet is given by [latex]\\rho(x,y,z)=x^2yz[\/latex], what is the mass of the sheet?[reveal-answer q=\"689236251\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"689236251\"]\r\n<p id=\"fs-id1167794024142\">Let [latex]S[\/latex] be the surface that describes the sheet. Then, the mass of the sheet is given by [latex]m=\\displaystyle\\iint_Sx^2yzdS[\/latex]. To compute this surface integral, we first need a parameterization of [latex]S[\/latex]. Since [latex]S[\/latex] is given by the function [latex]f(x,y)=1+x+2y[\/latex], a parameterization of [latex]S[\/latex] is [latex]{\\bf{r}}(x,y)=\\langle{x},y,1+x+2y\\rangle[\/latex], [latex]0\\leq{x}\\leq4[\/latex], [latex]0\\leq{y}\\leq2[\/latex].<\/p>\r\n<p id=\"fs-id1167793521276\">The tangent vectors are [latex]{\\bf{t}}_x=\\langle1,0,1\\rangle[\/latex] and [latex]{\\bf{t}}_y=\\langle1,0,2\\rangle[\/latex]. Therefore, [latex]{\\bf{t}}_x\\times{\\bf{t}}_y=\\langle-1,-2,1\\rangle[\/latex] and [latex]||{\\bf{t}}_x\\times{\\bf{t}}_y||=\\sqrt6[\/latex]. By the scalar line integral equation,<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\nm&amp;=\\displaystyle\\iint_Sx^2yzdS \\\\\r\n&amp;=\\sqrt6\\int_0^4\\displaystyle\\int_0^2x^2y(1+x+2y)dydx \\\\\r\n&amp;=\\sqrt6\\displaystyle\\int_0^4\\frac{22x^2}3+2x^3 \\ dx \\\\\r\n&amp;=\\frac{2,560\\sqrt6}9 \\\\\r\n&amp;\\approx696.74\r\n\\end{aligned}[\/latex].<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section>","rendered":"<h2>Surface Integral of a Scalar-Valued Function<\/h2>\n<p class=\"whitespace-normal break-words\">Now that we can parameterize surfaces and calculate their surface areas, we can define surface integrals. Let&#8217;s start with the surface integral of a scalar-valued function.<\/p>\n<p class=\"whitespace-normal break-words\">A surface integral of a scalar-valued function is similar to a scalar line integral, but in one higher dimension. For a line integral, the domain of integration is a parameterized curve (one-dimensional). For a surface integral, the domain of integration is a parameterized surface (two-dimensional).<\/p>\n<p class=\"whitespace-normal break-words\">The definition follows the same logic as line integrals. For scalar line integrals, we chop the domain curve into tiny pieces, choose a point in each piece, evaluate the function at that point, and take a limit of the corresponding Riemann sum. For scalar surface integrals, we chop the domain surface into tiny pieces and proceed in the same fashion.<\/p>\n<h3 class=\"text-lg font-bold text-text-100 mt-1 -mb-1.5\">Defining the Surface Integral<\/h3>\n<p class=\"whitespace-normal break-words\">Let [latex]S[\/latex] be a piecewise smooth surface with parameterization [latex]\\mathbf{r}(u,v) = \\langle x(u,v), y(u,v), z(u,v) \\rangle[\/latex] with parameter domain [latex]D[\/latex]. Let [latex]f(x,y,z)[\/latex] be a function with a domain that contains [latex]S[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">For simplicity, assume the parameter domain [latex]D[\/latex] is a rectangle (we can extend this to any parameter domain). Divide rectangle [latex]D[\/latex] into subrectangles [latex]D_{ij}[\/latex] with horizontal width [latex]\\Delta u[\/latex] and vertical length [latex]\\Delta v[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">Suppose [latex]i[\/latex] ranges from [latex]1[\/latex] to [latex]m[\/latex] and [latex]j[\/latex] ranges from [latex]1[\/latex] to [latex]n[\/latex], so [latex]D[\/latex] is subdivided into [latex]mn[\/latex] rectangles. This division of [latex]D[\/latex] into subrectangles gives a corresponding division of [latex]S[\/latex] into pieces [latex]S_{ij}[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">Choose point [latex]P_{ij}[\/latex] in each piece [latex]S_{ij}[\/latex], evaluate [latex]f[\/latex] at [latex]P_{ij}[\/latex], and multiply by the area of [latex]S_{ij}[\/latex] to form the Riemann sum:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\displaystyle\\sum_{i=1}^m\\displaystyle\\sum_{j=1}^n f(P_{ij}) \\Delta S_{ij}[\/latex]<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>surface integral of a scalar-valued function<\/h3>\n<p id=\"fs-id1167794160163\">The\u00a0<strong><span id=\"505d9884-54a9-4157-83ff-87887335091b_term276\" data-type=\"term\">surface integral of a scalar-valued function<\/span><\/strong> of [latex]f[\/latex] over a piecewise smooth surface [latex]S[\/latex] is:<\/p>\n<p style=\"text-align: center;\">[latex]\\large{\\displaystyle\\iint_Sf(x,y,z)dS=\\displaystyle\\lim_{m,n\\to\\infty}\\displaystyle\\sum_{i=1}^m\\displaystyle\\sum_{j=1}^nf(P_{ij})\\Delta{S_{ij}}}[\/latex].<\/p>\n<\/section>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">\n<p class=\"whitespace-normal break-words\">Notice the similarities between this definition and the definition of a scalar line integral. In the line integral, we chop a curve into pieces, evaluate a function at a point in each piece, and let the length of the pieces shrink to zero. In the surface integral, we chop a surface into pieces, evaluate a function at a point in each piece, and let the area of the pieces shrink to zero.<\/p>\n<\/section>\n<p>This definition extends to parameter domains that are not rectangles by using the same logic. The basic idea is to chop the parameter domain into small pieces, choose a sample point in each piece, and so on. The exact shape of each piece becomes irrelevant as the areas shrink to zero.<\/p>\n<h3>Computing Surface Integrals<\/h3>\n<p>Scalar surface integrals are difficult to compute from the definition, just as scalar line integrals are. To make surface integrals easier to compute, we approximate surface areas [latex]\\Delta S_{ij}[\/latex] with small pieces of a tangent plane, as we did when calculating surface area.<\/p>\n<p>Recall the definition of vectors [latex]{\\bf{t}}_u[\/latex] and [latex]{\\bf{t}}_v[\/latex]:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\mathbf{t}_u = \\left\\langle \\dfrac{\\partial x}{\\partial u}, \\dfrac{\\partial y}{\\partial u}, \\dfrac{\\partial z}{\\partial u} \\right\\rangle[\/latex] and [latex]\\mathbf{t}_v = \\left\\langle \\dfrac{\\partial x}{\\partial v}, \\dfrac{\\partial y}{\\partial v}, \\dfrac{\\partial z}{\\partial v} \\right\\rangle[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">From our work with surface area, we know that:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\Delta{S}_{ij}\\approx||{\\bf{t}}_u(P_{ij})\\times{\\bf{t}}_v(P_{ij})||\\Delta{u}\\Delta{v}[\/latex]<\/p>\n<p>Using this approximation in our Riemann sum gives:<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle\\iint_Sf(x,y,z)dS\\approx\\displaystyle\\lim_{m,n\\to\\infty}\\displaystyle\\sum_{i=1}^m\\displaystyle\\sum_{j=1}^nf(P_{ij})||{\\bf{t}}_u(P_{ij})\\times{\\bf{t}}_v(P_{ij})||\\Delta{u}\\Delta{v}[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">This approximation becomes arbitrarily close to [latex]\\displaystyle\\lim_{m,n\\to\\infty}\\displaystyle\\sum_{i=1}^m\\displaystyle\\sum_{j=1}^nf(P_{ij})\\Delta{S}_{ij}[\/latex] as we increase the number of pieces [latex]S_{ij}[\/latex] by letting [latex]m[\/latex] and [latex]n[\/latex] go to infinity.<\/p>\n<p class=\"whitespace-normal break-words\">We can now state the formula for calculating scalar surface integrals:<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle\\iint_Sf(x,y,z)dS=\\displaystyle\\iint_Df({\\bf{r}}(u,v)||{\\bf{t}}_u\\times{\\bf{t}}_v||dA[\/latex].<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>calculating scalar surface integrals<\/h3>\n<p class=\"whitespace-normal break-words\">Let [latex]S[\/latex] be a smooth surface with parameterization [latex]\\mathbf{r}(u,v) = \\langle x(u,v), y(u,v), z(u,v) \\rangle[\/latex] over parameter domain [latex]D[\/latex]. Then:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\displaystyle\\iint_Sf(x,y,z)dS=\\displaystyle\\iint_Df(\\mathbf{r}(u,v)) ||\\mathbf{t}_u \\times \\mathbf{t}_v|| \\, dA[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">where [latex]\\mathbf{t}_u[\/latex] and [latex]\\mathbf{t}_v[\/latex] are the tangent vectors with respect to [latex]u[\/latex] and [latex]v[\/latex].<\/p>\n<\/section>\n<section class=\"textbox connectIt\" aria-label=\"Connect It\">\n<p class=\"whitespace-normal break-words\"><strong>Line Integrals vs. Surface Integrals<\/strong><\/p>\n<p class=\"whitespace-normal break-words\">The surface integral formula transforms a surface integral into a double integral. This is analogous to the line integral formula:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\displaystyle\\iint_C f(x,y,z) \\, ds = \\displaystyle\\int_a^bf(\\mathbf{r}(t)) ||\\mathbf{r}'(t)|| , dt[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">In the surface integral case, vector [latex]\\mathbf{t}_u \\times \\mathbf{t}_v[\/latex] is perpendicular to the surface. In the line integral case, vector [latex]\\mathbf{r}'[\/latex] is tangent to the curve.<\/p>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Calculate surface integral [latex]\\displaystyle\\iint_S5dS[\/latex], where [latex]S[\/latex] is the surface with parameterization [latex]{\\bf{r}}(u,v)=\\langle{v},u^2,v\\rangle[\/latex] for [latex]0\\leq{u}\\leq2[\/latex] and\u00a0[latex]0\\leq{v}\\leq{u}[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q768642501\">Show Solution<\/button><\/p>\n<div id=\"q768642501\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1167793427783\">Notice that this parameter domain [latex]D[\/latex] is a triangle, and therefore the parameter domain is not rectangular. This is not an issue though, because the surface integral equation\u00a0does not place any restrictions on the shape of the parameter domain.<\/p>\n<p id=\"fs-id1167793427797\">To use the surface integral equation\u00a0to calculate the surface integral, we first find vector [latex]{\\bf{t}}_u[\/latex] and [latex]{\\bf{t}}_v[\/latex]. Note that [latex]{\\bf{t}}_u=\\langle1,2u,0\\rangle[\/latex] and [latex]{\\bf{t}}_v=\\langle0,0,1\\rangle[\/latex]. Therefore,<\/p>\n<p style=\"text-align: center;\">[latex]{\\bf{t}}_u\\times{\\bf{t}}_v=\\begin{vmatrix}{\\bf{i}}&{\\bf{j}}&{\\bf{k}} \\\\ 1&2u&0 \\\\ 0&0&1\\end{vmatrix}=\\langle2u,-1,0\\rangle[\/latex]<\/p>\n<p id=\"fs-id1167793719990\">and<\/p>\n<p style=\"text-align: center;\">[latex]||{\\bf{t}}_u\\times{\\bf{t}}_v||=\\sqrt{1+4u^2}[\/latex].<\/p>\n<p id=\"fs-id1167793616545\">By\u00a0the surface integral equation,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  \\displaystyle\\iint_S5dS&=5\\displaystyle\\iint_D\\sqrt{1+4u^2}dA \\\\  &=5\\displaystyle\\int_0^2\\int_0^u\\sqrt{1+4u^2}dvdu=5\\displaystyle\\int_0^2u\\sqrt{1+4u^2}du \\\\  &=5\\left[\\frac{(1+4u^2)^{3\/2}}3\\right]_0^2=\\frac{5(17^{3\/2}-1)}{12}\\approx28.79  \\end{aligned}[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">\n<p id=\"fs-id1167794214144\">Calculate surface integral [latex]\\displaystyle\\iint_S(x+y^2)dS[\/latex], where [latex]S[\/latex] is cylinder [latex]x^2+y^2=4[\/latex], [latex]0\\leq{z}\\leq3[\/latex] (Figure 1).<\/p>\n<figure id=\"attachment_1484\" aria-describedby=\"caption-attachment-1484\" style=\"width: 264px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1484\" src=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155509\/2de01bbf14da890ca1a4c3a6c3b1a93dca62f7da.webp\" alt=\"A graph in three dimensions of a cylinder. The base of the cylinder is on the (x,z) plane, with center on the y axis. It stretches along the y axis.\" width=\"264\" height=\"361\" srcset=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155509\/2de01bbf14da890ca1a4c3a6c3b1a93dca62f7da.webp 264w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155509\/2de01bbf14da890ca1a4c3a6c3b1a93dca62f7da-219x300.webp 219w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155509\/2de01bbf14da890ca1a4c3a6c3b1a93dca62f7da-65x89.webp 65w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155509\/2de01bbf14da890ca1a4c3a6c3b1a93dca62f7da-225x308.webp 225w\" sizes=\"auto, (max-width: 264px) 100vw, 264px\" \/><figcaption id=\"caption-attachment-1484\" class=\"wp-caption-text\">Figure 1. Integrating function [latex]f(x,y,z)=x+y^2[\/latex] over a cylinder.<\/figcaption><\/figure>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q247755319\">Show Solution<\/button><\/p>\n<div id=\"q247755319\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1167793372880\">To calculate the surface integral, we first need a parameterization of the cylinder. Following our previous examples, a parameterization is:<\/p>\n<p style=\"text-align: center;\">[latex]{\\bf{r}}(u,v)=\\langle2\\cos{u},2\\sin{u},v\\rangle, \\ 0\\leq{u}\\leq2\\pi, \\ 0\\leq{v}\\leq3[\/latex].<\/p>\n<p id=\"fs-id1167793315639\">The tangent vectors are [latex]{\\bf{t}}_u=\\langle\\sin{u},\\cos{u},0\\rangle[\/latex] and [latex]{\\bf{t}}_v=\\langle0,0,1\\rangle[\/latex]. Then,<\/p>\n<p style=\"text-align: center;\">[latex]{\\bf{t}}_u\\times{\\bf{t}}_v=\\begin{vmatrix}{\\bf{i}}&{\\bf{j}}&{\\bf{k}} \\\\ -\\sin{u}&\\cos{u}&0 \\\\ 0&0&1\\end{vmatrix}=\\langle\\cos{u},\\sin{u},0\\rangle[\/latex]<\/p>\n<p id=\"fs-id1167793775880\">and [latex]||{\\bf{t}}_u\\times{\\bf{t}}_v||=\\sqrt{\\cos^2u+\\sin^2u}=1[\/latex]. By the surface integral equation,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  \\displaystyle\\iint_Sf(x,y,z)dS&=\\displaystyle\\iint_Df({\\bf{r}}(u,v))||{\\bf{t}}_u\\times{\\bf{t}}_v|| \\ dA \\\\  &=\\displaystyle\\int_0^3\\displaystyle\\int_0^{2\\pi}(2\\cos{u}+4\\sin^2u)dydv \\\\  &=\\displaystyle\\int_0^3[2\\sin{u}+2u-\\sin(2u)]_0^{2\\pi}dv=\\displaystyle\\int_0^34\\pi{d}v=12\\pi  \\end{aligned}[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Calculate surface integral [latex]\\displaystyle\\iint_Sf(x,y,z)dS[\/latex], where [latex]f(x, y, z)=z^{2}[\/latex] and [latex]S[\/latex] is the surface that consists of the piece of sphere [latex]x^{2}+y^{2}+z^{2}=4[\/latex] that lies on or above plane [latex]z=1[\/latex] and the disk that is enclosed by intersection plane [latex]z=1[\/latex] and the given sphere (Figure 2).<\/p>\n<figure id=\"attachment_1486\" aria-describedby=\"caption-attachment-1486\" style=\"width: 407px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1486\" src=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155556\/8060a589ddea4ad92316c95589f1b486dffea464.webp\" alt=\"A diagram in three dimensions of the upper half of a sphere. The center is at the origin, and the radius is 2. The top part above the plane z=1 is cut off and shaded; the rest is simply an outline of the hemisphere. The top section has center at (0,0,1) and radius of radical three.\" width=\"407\" height=\"378\" srcset=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155556\/8060a589ddea4ad92316c95589f1b486dffea464.webp 407w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155556\/8060a589ddea4ad92316c95589f1b486dffea464-300x279.webp 300w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155556\/8060a589ddea4ad92316c95589f1b486dffea464-65x60.webp 65w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155556\/8060a589ddea4ad92316c95589f1b486dffea464-225x209.webp 225w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155556\/8060a589ddea4ad92316c95589f1b486dffea464-350x325.webp 350w\" sizes=\"auto, (max-width: 407px) 100vw, 407px\" \/><figcaption id=\"caption-attachment-1486\" class=\"wp-caption-text\">Figure 2. Calculating a surface integral over surface [latex]S[\/latex].<\/figcaption><\/figure>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q223579284\">Show Solution<\/button><\/p>\n<div id=\"q223579284\" class=\"hidden-answer\" style=\"display: none\">\n<div id=\"fs-id1167793597303\" class=\"ui-solution-visible\" data-type=\"solution\" aria-label=\"hide solution\" aria-expanded=\"true\">\n<section class=\"ui-body\" role=\"alert\">\n<h2 data-type=\"solution-title\"><span style=\"font-size: 16px; font-weight: 400;\">Notice that [latex]S[\/latex] is not smooth but is piecewise smooth; [latex]S[\/latex] can be written as the union of its base [latex]S_1[\/latex] and its spherical top [latex]S_2[\/latex], and both [latex]S_1[\/latex] and [latex]S_2[\/latex] are smooth. Therefore, to calculate [latex]\\displaystyle\\iint_Sz^2dS[\/latex], we write this integral as [latex]\\displaystyle\\iint_Sz^2d{S_1}+\\displaystyle\\iint_{S_2}z^2dS[\/latex] and we calculate integrals [latex]\\displaystyle\\iint_{S_1}z^2dS[\/latex] and [latex]\\displaystyle\\iint_{S_2}z^2dS[\/latex].<\/span><\/h2>\n<div class=\"os-solution-container\">\n<p id=\"fs-id1167794127162\">First, we calculate [latex]\\displaystyle\\iint_{S_1}z^2dS[\/latex]. To calculate this integral we need a parameterization of [latex]S_1[\/latex]. This surface is a disk in plane [latex]z=1[\/latex] centered at [latex](0, 0, 1)[\/latex]. To parameterize this disk, we need to know its radius. Since the disk is formed where plane [latex]z=1[\/latex] intersects sphere [latex]x^{2}+y^{2}+z^{2}=4[\/latex], we can substitute [latex]z=1[\/latex] into equation [latex]x^{2}+y^{2}+z^{2}=4[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]x^2+y^2+1=4\\Rightarrow{x}^2+y^2=3[\/latex].<\/p>\n<p id=\"fs-id1167794012001\">Therefore, the radius of the disk is [latex]\\sqrt3[\/latex] and a parameterization of [latex]S_1[\/latex] is [latex]{\\bf{r}}(u,v)=\\langle{u}\\cos{v},u\\sin{v},1\\rangle[\/latex], [latex]0\\leq{u}\\leq\\sqrt3[\/latex],[latex]0\\leq{v}\\leq2\\pi[\/latex]. The tangent vectors are [latex]{\\bf{t}}_u=\\langle\\cos{v},\\sin{v},0\\rangle[\/latex] and [latex]{\\bf{t}}_v=\\langle-u\\sin{v},u\\cos{v},0\\rangle[\/latex], and thus<\/p>\n<p style=\"text-align: center;\">[latex]{\\bf{t}}_u\\times{\\bf{t}}_v=\\begin{vmatrix}{\\bf{i}}&{\\bf{j}}&{\\bf{k}} \\\\ \\cos{v}&\\sin{v}&0 \\\\-u\\sin{v}&u\\cos{v}&0\\end{vmatrix}=\\langle0,0,u\\cos^2v+u\\sin^2v\\rangle=\\langle0,0,u\\rangle[\/latex].<\/p>\n<p id=\"fs-id1167794222297\">The magnitude of this vector is [latex]u[\/latex]. Therefore,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  \\displaystyle\\iint_{S_1}z^2dS&=\\displaystyle\\int_0^{\\sqrt3}\\displaystyle\\int_0^{2\\pi}f({\\bf{r}}(u,v))||{\\bf{t}}_u\\times{\\bf{t}}_v|| \\ dvdu \\\\  &=\\displaystyle\\int_0^{\\sqrt3}\\displaystyle\\int_0^{2\\pi}u \\ dvdu \\\\  &=2\\pi\\displaystyle\\int_0^{\\sqrt3} \\ udu \\\\  &=3\\pi  \\end{aligned}[\/latex].<\/p>\n<p id=\"fs-id1167794121495\">Now we calculate [latex]\\displaystyle\\iint_{S_2} \\ dS[\/latex]. To calculate this integral, we need a parameterization of [latex]S_2[\/latex]. The parameterization of full sphere [latex]x^{2}+y^{2}+z^{2}=4[\/latex] is<\/p>\n<p style=\"text-align: center;\">[latex]{\\bf{r}}(\\phi,\\theta)=\\langle2\\cos\\theta\\sin\\phi,2\\sin\\theta\\sin\\phi,2\\cos\\phi\\rangle, \\ 0\\leq\\theta\\leq2\\pi, \\ 0\\leq\\phi\\leq\\pi[\/latex].<\/p>\n<p id=\"fs-id1167791542808\">Since we are only taking the piece of the sphere on or above plane [latex]z=1[\/latex], we have to restrict the domain of [latex]\\phi[\/latex]. To see how far this angle sweeps, notice that the angle can be located in a right triangle, as shown in\u00a0Figure 3\u00a0(the [latex]\\sqrt3[\/latex] comes from the fact that the base of [latex]S[\/latex] is a disk with radius [latex]\\sqrt3[\/latex]). Therefore, the tangent of [latex]\\phi[\/latex] is [latex]\\sqrt3[\/latex], which implies that [latex]\\phi[\/latex] is [latex]\\pi\/6[\/latex]. We now have a parameterization of [latex]S_2[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]{\\bf{r}}(\\phi,\\theta)=\\langle2\\cos\\theta\\sin\\phi,2\\sin\\theta\\sin\\phi,2\\cos\\phi\\rangle, \\ 0\\leq\\theta\\leq2\\pi, \\ 0\\leq\\phi\\leq\\pi\/3[\/latex].<\/p>\n<figure id=\"attachment_1487\" aria-describedby=\"caption-attachment-1487\" style=\"width: 422px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1487\" src=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155622\/476497f01653538dbc08bef585c08834b0c1278f.webp\" alt=\"A diagram of a plane within the three-dimensional coordinate system. Two points are marked on the z axis: (0,0,2) and (0,0,1). The distance from the origin to (0,0,1) is marked as 1, the horizontal distance between the point (0,0,1) and a point of the sphere is labeled radical three, and the angle between the origin and the point on the sphere is theta. There is a line drawn from the origin to the point on the sphere, and this forms a triangle.\" width=\"422\" height=\"285\" srcset=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155622\/476497f01653538dbc08bef585c08834b0c1278f.webp 422w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155622\/476497f01653538dbc08bef585c08834b0c1278f-300x203.webp 300w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155622\/476497f01653538dbc08bef585c08834b0c1278f-65x44.webp 65w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155622\/476497f01653538dbc08bef585c08834b0c1278f-225x152.webp 225w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/68\/2025\/10\/17155622\/476497f01653538dbc08bef585c08834b0c1278f-350x236.webp 350w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><figcaption id=\"caption-attachment-1487\" class=\"wp-caption-text\">Figure 3. The maximum value of [latex]\\phi[\/latex] has a tangent value of [latex]{\\sqrt3}[\/latex]<\/figcaption><\/figure>\n<p id=\"fs-id1167793473646\">The tangent vectors are<\/p>\n<p>[latex]{\\bf{t}}_\\phi=\\langle2\\cos\\theta\\cos\\phi,2\\sin\\theta\\cos\\phi,-2\\sin\\phi\\rangle\\text{ and }{\\bf{t}}_\\theta=\\langle-2\\sin\\theta\\sin\\phi,u\\cos\\theta\\sin\\phi,0\\rangle[\/latex],<\/p>\n<p id=\"fs-id1167793545076\">and thus<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  {\\bf{t}}_\\phi\\times{\\bf{t}}_\\theta&=\\begin{vmatrix}  {\\bf{i}}&{\\bf{j}}&{\\bf{k}} \\\\  2\\cos\\theta\\cos\\phi&2\\sin\\theta\\cos\\phi&-2\\sin\\phi \\\\  -2\\sin\\theta\\sin\\phi&2\\cos\\theta\\sin\\phi&0  \\end{vmatrix} \\\\  &=\\langle4\\cos\\theta\\sin^2\\phi,4\\sin\\theta\\sin^2\\phi,4\\cos^2\\theta\\sin\\phi+4\\sin^2\\theta\\cos\\phi\\sin\\phi\\rangle \\\\  &=\\langle4\\cos\\theta\\sin^2\\phi,4\\sin\\theta\\sin^2\\phi,4\\cos\\phi\\sin\\phi\\rangle  \\end{aligned}[\/latex].<\/p>\n<p id=\"fs-id1167793446128\">The magnitude of this vector is<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  ||{\\bf{t}}_\\phi\\times{\\bf{t}}_\\theta||&=\\sqrt{16\\cos^2\\theta\\sin^4\\phi+16\\sin^2\\theta\\sin^4\\phi+16\\cos^2\\phi\\sin^2\\phi} \\\\  &=4\\sqrt{\\sin^4\\phi+\\cos^2\\phi\\sin^2\\phi}  \\end{aligned}[\/latex].<\/p>\n<p id=\"fs-id1167794200113\">Therefore,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  \\displaystyle\\iint_{S_2}z^2dS&=\\displaystyle\\int_0^{\\pi\/3}\\displaystyle\\int_0^{2\\pi}f({\\bf{r}}(\\phi,\\theta))||{\\bf{t}}_\\phi\\times{\\bf{t}}_\\theta|| \\ d\\theta{d}\\phi \\\\  &=\\displaystyle\\int_0^{\\pi\/3}\\displaystyle\\int_0^{2\\pi}16\\cos^2\\phi\\sqrt{\\sin^4\\phi+\\cos^2\\phi\\sin^2\\phi}d\\theta{d}\\phi \\\\  &=32\\pi\\displaystyle\\int_0^{\\pi\/3}\\cos^2\\phi\\sqrt{\\sin^4\\phi+\\cos^2\\phi\\sin^2\\phi}d\\phi \\\\  &=32\\pi\\displaystyle\\int_0^{\\pi\/3}\\cos^2\\phi\\sin\\phi\\sqrt{\\sin^2\\phi+\\cos^2\\phi}d\\phi \\\\  &=32\\pi\\displaystyle\\int_0^{\\pi\/3}\\cos^2\\phi\\sin\\phi{d}\\phi \\\\  &=32\\pi\\left[-\\frac{\\cos^3\\phi}3\\right]_0^{\\pi\/6}=32\\pi\\left[\\frac13-\\frac{\\sqrt3}8\\right]=\\frac{28\\pi}3  \\end{aligned}[\/latex].<\/p>\n<p>Since<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle\\iint_Sz^2 \\ dS=\\displaystyle\\iint_{S_1}z^2 \\ dS+\\displaystyle\\iint_{S_2}z^2 \\ dS=3\\pi\\frac{28\\pi}3=\\frac{37\\pi}3[\/latex].<\/p>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-id1167793952158\" data-type=\"commentary\">\n<p id=\"44\" data-type=\"commentary-title\"><strong><span class=\"os-title-label\">Analysis<\/span><\/strong><\/p>\n<p id=\"fs-id1167793398448\">In this example we broke a surface integral over a piecewise surface into the addition of surface integrals over smooth subsurfaces. There were only two smooth subsurfaces in this example, but this technique extends to finitely many smooth subsurfaces.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<p class=\"whitespace-normal break-words\">Scalar surface integrals have several real-world applications. Recall that scalar line integrals can be used to compute the mass of a wire given its density function. In a similar fashion, we can use scalar surface integrals to compute the mass of a sheet given its density function. If a thin sheet of metal has the shape of surface [latex]S[\/latex] and the density of the sheet at point [latex](x, y, z)[\/latex]\u00a0is [latex]\\rho(x,y,z)[\/latex], then mass [latex]m[\/latex] of the sheet is:<\/p>\n<p style=\"text-align: center;\">[latex]m=\\displaystyle\\iint_S\\rho(x,y,z)dS[\/latex].<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">A flat sheet of metal has the shape of surface [latex]z=1+x+2y[\/latex] that lies above rectangle [latex]0\\leq{x}\\leq4[\/latex] and [latex]0\\leq{y}\\leq2[\/latex]. If the density of the sheet is given by [latex]\\rho(x,y,z)=x^2yz[\/latex], what is the mass of the sheet?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q689236251\">Show Solution<\/button><\/p>\n<div id=\"q689236251\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1167794024142\">Let [latex]S[\/latex] be the surface that describes the sheet. Then, the mass of the sheet is given by [latex]m=\\displaystyle\\iint_Sx^2yzdS[\/latex]. To compute this surface integral, we first need a parameterization of [latex]S[\/latex]. Since [latex]S[\/latex] is given by the function [latex]f(x,y)=1+x+2y[\/latex], a parameterization of [latex]S[\/latex] is [latex]{\\bf{r}}(x,y)=\\langle{x},y,1+x+2y\\rangle[\/latex], [latex]0\\leq{x}\\leq4[\/latex], [latex]0\\leq{y}\\leq2[\/latex].<\/p>\n<p id=\"fs-id1167793521276\">The tangent vectors are [latex]{\\bf{t}}_x=\\langle1,0,1\\rangle[\/latex] and [latex]{\\bf{t}}_y=\\langle1,0,2\\rangle[\/latex]. Therefore, [latex]{\\bf{t}}_x\\times{\\bf{t}}_y=\\langle-1,-2,1\\rangle[\/latex] and [latex]||{\\bf{t}}_x\\times{\\bf{t}}_y||=\\sqrt6[\/latex]. By the scalar line integral equation,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  m&=\\displaystyle\\iint_Sx^2yzdS \\\\  &=\\sqrt6\\int_0^4\\displaystyle\\int_0^2x^2y(1+x+2y)dydx \\\\  &=\\sqrt6\\displaystyle\\int_0^4\\frac{22x^2}3+2x^3 \\ dx \\\\  &=\\frac{2,560\\sqrt6}9 \\\\  &\\approx696.74  \\end{aligned}[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n","protected":false},"author":15,"menu_order":12,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-1452","chapter","type-chapter","status-publish","hentry"],"part":438,"module-header":"- Select Header -","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/users\/15"}],"version-history":[{"count":11,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1452\/revisions"}],"predecessor-version":[{"id":2096,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1452\/revisions\/2096"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/parts\/438"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1452\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=1452"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=1452"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=1452"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=1452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}