{"id":1347,"date":"2025-10-17T13:48:06","date_gmt":"2025-10-17T13:48:06","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=1347"},"modified":"2025-11-05T18:04:20","modified_gmt":"2025-11-05T18:04:20","slug":"line-integrals-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus3\/chapter\/line-integrals-learn-it-2\/","title":{"raw":"Line Integrals: Learn It 2","rendered":"Line Integrals: Learn It 2"},"content":{"raw":"<h2>Scalar Line Integrals<\/h2>\r\n<p class=\"whitespace-normal break-words\">A scalar line integral is defined similarly to a single-variable integral, except the integrand is a function of more than one variable and the domain of integration is a curve rather than an interval on the [latex]x[\/latex]-axis.<\/p>\r\n\r\n<section class=\"textbox recall\" aria-label=\"Recall\">\r\n<p class=\"whitespace-normal break-words\"><strong>Riemann Sums for Single-Variable Integrals<\/strong><\/p>\r\n<p class=\"whitespace-normal break-words\">For [latex]\\int_a^b g(x) dx[\/latex], we:<\/p>\r\n\r\n<ol class=\"[&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-decimal space-y-2.5 pl-7\">\r\n \t<li class=\"whitespace-normal break-words\">Partition [latex][a,b][\/latex] into subintervals of width [latex]\\Delta x[\/latex]<\/li>\r\n \t<li class=\"whitespace-normal break-words\">Choose sample points [latex]x_i^*[\/latex] in each subinterval<\/li>\r\n \t<li class=\"whitespace-normal break-words\">Form the sum [latex]\\sum g(x_i^*) \\Delta x[\/latex]<\/li>\r\n \t<li class=\"whitespace-normal break-words\">Take the limit as [latex]\\Delta x \\to 0[\/latex]<\/li>\r\n<\/ol>\r\n<p class=\"whitespace-pre-wrap break-words\">Scalar line integrals follow the same pattern, but over curves instead of interval<\/p>\r\n\r\n<\/section>\r\n<p class=\"whitespace-normal break-words\">For a scalar line integral, we start with a smooth curve [latex]C[\/latex] and a function [latex]f[\/latex] whose domain includes [latex]C[\/latex]. Here's the process:<\/p>\r\n\r\n<ol class=\"[&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-decimal space-y-2.5 pl-7\">\r\n \t<li class=\"whitespace-normal break-words\">Chop the curve into small pieces<\/li>\r\n \t<li class=\"whitespace-normal break-words\">For each piece, choose a point [latex]P[\/latex] in each piece and evaluate [latex]f(P)[\/latex]<\/li>\r\n \t<li class=\"whitespace-normal break-words\">Multiply [latex]f(P)[\/latex] by the arc length [latex]\\Delta s[\/latex] of that piece<\/li>\r\n \t<li class=\"whitespace-normal break-words\">Sum all products [latex]f(P)\\Delta s[\/latex]<\/li>\r\n \t<li class=\"whitespace-normal break-words\">Let the arc lengths shrink to zero by taking a limit<\/li>\r\n<\/ol>\r\n<p class=\"whitespace-normal break-words\">The result is the scalar line integral of the function over the curve.<\/p>\r\n\r\n<h3>Formal Definition<\/h3>\r\n<p class=\"whitespace-normal break-words\">Let [latex]C[\/latex] be a smooth curve in space given by the parameterization [latex]\\mathbf{r}(t) = \\langle x(t), y(t), z(t) \\rangle[\/latex], [latex]a \\leq t \\leq b[\/latex]. Let [latex]f(x,y,z)[\/latex] be a function whose domain includes curve [latex]C[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">Partition the parameter interval [latex][a,b][\/latex] into [latex]n[\/latex] subintervals [latex][t_{i-1}, t_i][\/latex] of equal width for [latex]1 \\leq i \\leq n[\/latex], where [latex]t_0 = a[\/latex] and [latex]t_n = b[\/latex] (Figure 1). Let [latex]t_i^*[\/latex] be a value in the [latex]i[\/latex]th interval [latex][t_{i-1}, t_i][\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">Denote the endpoints [latex]\\mathbf{r}(t_0), \\mathbf{r}(t_1), \\ldots, \\mathbf{r}(t_n)[\/latex] by [latex]P_0, \\ldots, P_n[\/latex]. These points divide curve [latex]C[\/latex] into [latex]n[\/latex] pieces [latex]C_1, C_2, \\ldots, C_n[\/latex] with lengths [latex]\\Delta s_1, \\Delta s_2, \\ldots, \\Delta s_n[\/latex]. Let [latex]{P}^{*}_{i}[\/latex] denote the endpoint of [latex]{\\textbf{r}}({t^{*}_{i}})[\/latex] for [latex]{1} \\leq {i} \\leq {n}[\/latex].<\/p>\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"526\"]<img src=\"https:\/\/openstax.org\/apps\/archive\/20220118.185250\/resources\/ef803993941028598bec179194a610712f5ff7d6\" alt=\"A diagram of a curve in quadrant one. Several points and segments are labeled. Starting at the left, the first points are P_0 and P_1. The segment between them is labeled delta S_1. The next points are P_i-1, P_i, and P_i+1. The segments connecting them are delta S_i and delta S_j+1. Point P_i starred and point P_i+1 starred are located on each segment, respectively. The last two points are P_n-1 and P_n, connected by segment S_n.\" width=\"526\" height=\"310\" \/> Figure 1. Curve [latex]C[\/latex] has been divided into [latex]n[\/latex] pieces, and a point inside each piece has been chosen.[\/caption]\r\n<p class=\"whitespace-normal break-words\">Now we evaluate function [latex]f[\/latex] at point [latex]{P}^{*}_{i}[\/latex] foreach [latex]i[\/latex]. Multiply [latex]{f}{({P}^{*}_{i})}[\/latex]\u00a0by the length [latex]\\Delta s_i[\/latex] of [latex]C_i[\/latex], which gives the area of a \"sheet\" with base [latex]C_i[\/latex] and height [latex]f(P_i^*)[\/latex]. This is analogous to using rectangles to approximate area in single-variable integrals.<\/p>\r\n<p class=\"whitespace-normal break-words\">Form the sum [latex]\\sum_{i=1}^n f(P_i^*) \\Delta s_i[\/latex]. As with Riemann sums, we define the integral by letting the width of the pieces shrink to zero. The result is the scalar line integral of [latex]f[\/latex] along [latex]C[\/latex].<\/p>\r\n\r\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">Unlike single-variable integrals where we partition into equal lengths, the arc lengths [latex]\\Delta s_1, \\Delta s_2, \\ldots, \\Delta s_n[\/latex] aren't necessarily equal. However, this difference doesn't affect the limit\u2014as arc lengths shrink to zero, their values become close enough that small differences become irrelevant.<\/section><section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>scalar line integral<\/h3>\r\n<p class=\"whitespace-normal break-words\">Let [latex]f[\/latex] be a function with a domain that includes the smooth curve [latex]C[\/latex] parameterized by [latex]\\mathbf{r}(t) = \\langle x(t), y(t), z(t) \\rangle[\/latex], [latex]a \\leq t \\leq b[\/latex]. The <strong>scalar line integral<\/strong> of [latex]f[\/latex] along [latex]C[\/latex] is:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\int_C f(x,y,z) ds = \\lim_{n \\to \\infty} \\sum_{i=1}^n f(P_i^*) \\Delta s_i[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">if this limit exists.<\/p>\r\n<p class=\"whitespace-normal break-words\">For a planar curve with parameterization [latex]x = x(t)[\/latex], [latex]y = y(t)[\/latex], [latex]a \\leq t \\leq b[\/latex]:<\/p>\r\n<p class=\"whitespace-pre-wrap break-words\" style=\"text-align: center;\">[latex]\\int_C f(x,y) ds = \\lim_{n \\to \\infty} \\sum_{i=1}^n f(P_i^*) \\Delta s_i[\/latex]<\/p>\r\n\r\n<\/section>\r\n<p class=\"whitespace-normal break-words\">If [latex]f[\/latex] is continuous on smooth curve [latex]C[\/latex], then [latex]\\int_C f \\, ds[\/latex] always exists. The continuity of [latex]f[\/latex] guarantees the existence of the limit, just as [latex]\\int_a^b g(x) dx[\/latex] exists when [latex]g[\/latex] is continuous over [latex][a,b][\/latex].<\/p>\r\n\r\n<h3 class=\"text-lg font-bold text-text-100 mt-1 -mb-1.5\">Geometric Interpretation<\/h3>\r\n<p class=\"whitespace-normal break-words\">Before learning how to compute line integrals, let's examine the geometry they capture.<\/p>\r\n<p class=\"whitespace-normal break-words\">Suppose [latex]f(x,y) \\geq 0[\/latex] for all points [latex](x, y)[\/latex]\u00a0on a smooth planar curve [latex]C[\/latex]. Imagine projecting curve [latex]C[\/latex] \"up\" to the surface defined by [latex]f(x,y)[\/latex], creating a new curve [latex]C'[\/latex] that lies on the graph of [latex]f(x,y)[\/latex] (Figure 2). Now drop a \"sheet\" from [latex]C'[\/latex] down to the [latex]xy[\/latex]-plane. The area of this sheet is [latex]\\int_C f(x,y) ds[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">If [latex]f(x,y) \\leq 0[\/latex] for some points in [latex]C[\/latex], then [latex]\\int_C f(x,y) ds[\/latex] equals the area above the [latex]xy[\/latex]-plane minus the area below the [latex]xy[\/latex]-plane. This is analogous to single-variable integrals [latex]\\int_a^b g(x) dx[\/latex].<\/p>\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"405\"]<img src=\"https:\/\/openstax.org\/apps\/archive\/20220118.185250\/resources\/d8f17ee89085c3bbc74b92268857dbfff02aa02d\" alt=\"A diagram in three dimensions. The original curve C in the (x,y) plane looks like a parabola opening to the left with vertex in quadrant 1. The surface defined by f(x,y) is shown always above the (x,y) plane. A curve on the surface directly above the original curve C is labeled as C\u2019. A blue sheet stretches down from C\u2019 to C.\" width=\"405\" height=\"386\" \/> Figure 2. The area of the blue sheet is [latex]{\\displaystyle\\int_{C}}{f}{({x},{y})}{ds}[\/latex].[\/caption]<section class=\"textbox proTip\" aria-label=\"Pro Tip\">From this geometry, we see that line integral [latex]\\int_C f(x,y) ds[\/latex] does not depend on the parameterization [latex]\\mathbf{r}(t)[\/latex] of [latex]C[\/latex]. As long as the curve is traversed exactly once, the area of the sheet formed by the function and curve is the same. This geometric argument extends to three-dimensional curves as well.<\/section><section class=\"textbox example\" aria-label=\"Example\">Find the value of integral [latex]{\\displaystyle\\int_{C}}{2}{ds}[\/latex], where [latex]C[\/latex] is the upper half of the unit circle.[reveal-answer q=\"374562045\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"374562045\"]The integrand is [latex]f(x, y)=2[\/latex].\u00a0Figure 3\u00a0shows the graph of [latex]f(x, y)=2[\/latex], curve [latex]C[\/latex], and the sheet formed by them. Notice that this sheet has the same area as a rectangle with width [latex]\\pi[\/latex] and length 2. Therefore, [latex]{\\displaystyle\\int_{C}}{2}{ds} = {2}{\\pi}[\/latex].[caption id=\"\" align=\"aligncenter\" width=\"424\"]<img src=\"https:\/\/openstax.org\/apps\/archive\/20220118.185250\/resources\/b8c8f5c10b679e69719de9b1a42580cf84b973b0\" alt=\"A graph in three dimensions. There is a flat plane just above the (x,y) plane. The upper half of the unit circle in quadrants 1 and 2 of the (x,y) plane is raised up to form a semicircle sheet into the z-plane.\" width=\"424\" height=\"277\" \/> Figure 3. The sheet that is formed by the upper half of the unit circle in a plane and the graph of [latex]{f}{({x},{y})} = {2}[\/latex].[\/caption]\r\n<p id=\"fs-id1167793911831\">To see that [latex]{\\displaystyle\\int_{C}}{2}{ds} = {2}{\\pi}[\/latex] using the definition of line integral, we let [latex]{\\textbf{r}}{(t)}[\/latex] be a parameterization of [latex]C[\/latex]. Then, [latex]{f}{({\\textbf{r}}{(t_{i})})} = {2}[\/latex] for any number [latex]{t_{i}}[\/latex] in the domain of\u00a0<strong data-effect=\"bold\">r<\/strong>. Therefore,<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n{\\displaystyle\\int_{C}}{f}{ds} &amp; = {\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}{{\\displaystyle\\sum}^{n}_{i = 1}}{f}{({\\textbf{r}}{({t}^{*}_{i})})}{\\Delta}{s_{i}} \\\\\r\n&amp; = {\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}{{\\displaystyle\\sum}^{n}_{i = 1}}{2}{\\Delta}{s_{i}} \\\\\r\n&amp; = {2}{\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}{{\\displaystyle\\sum}^{n}_{i = 1}}{\\Delta}{s_{i}} \\\\\r\n&amp; = {2}{\\text{(length of C)}} \\\\\r\n&amp; = {2}{\\pi}.\r\n\\end{aligned}[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section>\r\n<h3 class=\"text-lg font-bold text-text-100 mt-1 -mb-1.5\">Computing Scalar Line Integrals<\/h3>\r\n<p class=\"whitespace-normal break-words\">Scalar line integrals integrate with respect to arc length [latex]s[\/latex], which can make calculations difficult. We can simplify by translating [latex]\\int_C f \\, ds[\/latex] to an integral with variable [latex]t[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">Let [latex]\\mathbf{r}(t) = \\langle x(t), y(t), z(t) \\rangle[\/latex] for [latex]a \\leq t \\leq b[\/latex] be a parameterization of smooth curve [latex]C[\/latex]. Since [latex]C[\/latex] is smooth, [latex]\\mathbf{r}'(t) = \\langle x'(t), y'(t), z'(t) \\rangle[\/latex] is continuous for all [latex]t[\/latex] in [latex][a,b][\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">According to the arc length formula:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\text{length}(C_i) = \\Delta s_i = \\int_{t_{i-1}}^{t_i} ||\\mathbf{r}'(t)|| dt[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">If width [latex]\\Delta t_i = t_i - t_{i-1}[\/latex] is small, then [latex]||\\mathbf{r}'(t)||[\/latex] is nearly constant over interval [latex][t_{i-1}, t_i][\/latex]. Therefore:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\int_{t_{i-1}}^{t_i} ||\\mathbf{r}'(t)|| dt \\approx ||\\mathbf{r}'(t_i^*)|| \\Delta t_i[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">This gives us:<\/p>\r\n<p style=\"text-align: center;\">[latex]{\\displaystyle\\sum^{n}_{{i} = {1}}}{f}{({\\textbf{r}}{({t^{*}_{i}})})}{\\Delta}{{s}_{i}} = {\\displaystyle\\sum^{n}_{{i} = {1}}}{f}{({\\textbf{r}}{({t^{*}_{i}})})}{\\left \\| {\\textbf{r}}^{\\prime}{({t^{*}_{i}})} \\right \\|}{\\Delta}{{t}_{i}}[\/latex].<\/p>\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"419\"]<img src=\"https:\/\/openstax.org\/apps\/archive\/20220118.185250\/resources\/6ac27b2f44bbefe4d435b72eb0d064b555debbef\" alt=\"A segment of an increasing concave down curve labeled C. A small segment of the curved is boxed and labeled as delta t_i. In the zoomed-in insert, this boxed segment of the curve is almost linear.\" width=\"419\" height=\"201\" \/> Figure 4. If we zoom in on the curve enough by making [latex]{\\Delta}{{t}_{i}}[\/latex]\u00a0very small, then the corresponding piece of the curve is approximately linear.[\/caption]\r\n<p class=\"whitespace-normal break-words\">Taking the limit as [latex]n \\to \\infty[\/latex]:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]{\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}{\\displaystyle\\sum^{n}_{{i} = {1}}}{f}{({\\textbf{r}}{({t^{*}_{i}})})}{\\left \\| {\\textbf{r}}^{\\prime}{({t^{*}_{i}})} \\right \\|}{\\Delta}{{t}_{i}} = {\\displaystyle\\int^{b}_{a}}{f}{({\\textbf{r}}{(t)})}{\\left \\| {\\textbf{r}}^{\\prime}{(t)} \\right \\|}{dt}[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">This gives us our main computational theorem.<\/p>\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>evaluating a scalar line integral<\/h3>\r\n<p id=\"fs-id1167794058930\">Let [latex]f[\/latex] be a continuous function with a domain that includes the smooth curve [latex]C[\/latex] with parameterization [latex]{\\textbf{r}}{(t)}, {a} \\leq {t} \\leq {b}[\/latex]. Then:<\/p>\r\n<p style=\"text-align: center;\">[latex]{\\displaystyle\\int_C}{f}{d}{s} = {\\displaystyle\\int^{b}_{a}}{f}{({\\textbf{r}}{(t)})}{\\left \\| {\\textbf{r}}^{\\prime}{(t)} \\right \\|}{dt}[\/latex].<\/p>\r\n\r\n<\/section><section class=\"textbox proTip\" aria-label=\"Pro Tip\">In our derivation, we wrote [latex]\\int_{t_{i-1}}^{t_i} ||\\mathbf{r}'(t)|| dt \\approx ||\\mathbf{r}'(t_i^*)|| \\Delta t_i[\/latex]. This is an approximation, not an equation. The left-hand side approaches the right-hand side as [latex]n \\to \\infty[\/latex]. In other words, letting the widths of the pieces shrink to zero makes the right-hand sum arbitrarily close to the left-hand sum.<\/section>\r\n<p class=\"whitespace-normal break-words\">Since [latex]||\\mathbf{r}'(t)|| = \\sqrt{(x'(t))^2 + (y'(t))^2 + (z'(t))^2}[\/latex], we obtain a practical formula for computation.<\/p>\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>scalar line integral calculation<\/h3>\r\n<p class=\"whitespace-normal break-words\">Let [latex]f[\/latex] be continuous with domain including smooth curve [latex]C[\/latex] with parameterization [latex]\\mathbf{r}(t) = \\langle x(t), y(t), z(t) \\rangle[\/latex], [latex]a \\leq t \\leq b[\/latex]. Then:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]{\\displaystyle\\int_{C}}{f}{({x},{y},{z})}{ds} = {\\displaystyle\\int^{b}_{a}}{f}{({\\textbf{r}}{(t)}}){\\sqrt{{({x}^{\\prime}{(t)})}^{2} + {({y}^{\\prime}{(t)})}^{2} + {({z}^{\\prime}{(t)})}^{2}}}{dt}[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">For a planar curve:<\/p>\r\n<p class=\"whitespace-pre-wrap break-words\" style=\"text-align: center;\">[latex]{\\displaystyle\\int_{C}}{f}{({x},{y})}{ds} = {\\displaystyle\\int^{b}_{a}}{f}{({\\textbf{r}}{(t)}}){\\sqrt{{({x}^{\\prime}{(t)})}^{2} + {({y}^{\\prime}{(t)})}^{2}}}{dt}[\/latex]<\/p>\r\n\r\n<\/section>A key consequence of this theorem is the equation [latex]ds = ||\\mathbf{r}'(t)|| dt[\/latex]. In other words, the change in arc length can be viewed as a change in the [latex]t[\/latex] domain, scaled by the magnitude of vector [latex]\\mathbf{r}'(t)[\/latex].\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">Find the value of integral [latex]{\\displaystyle\\int_{C}}{({x^2} + {y^2} + {z})}{ds}[\/latex], where [latex]C[\/latex] is part of the helix parameterized by [latex]{\\textbf{r}}{(t)} = {\\left \\langle {\\cos {t}}, {\\sin {t}}, {t} \\right \\rangle}, {0} \\leq {t} \\leq {2}{\\pi}[\/latex].[reveal-answer q=\"384725475\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"384725475\"]\r\n<p id=\"fs-id1167793221724\">To compute a scalar line integral, we start by converting the variable of integration from arc length [latex]s[\/latex] to [latex]t[\/latex]. Then, we can use the scalar line integral calculation to compute the integral with respect to [latex]t[\/latex]. Note that [latex]{f}{({\\textbf{r}}{(t)})} = {{\\cos}^{2}{t}} + {{\\sin}^{2}{t}} + {t} = {1} + {t}[\/latex] and<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n{\\sqrt{{({x}^{\\prime}{(t)})}^{2} + {({y}^{\\prime}{(t)})}^{2} + {({z}^{\\prime}{(t)})}^{2}}} &amp; = {\\sqrt{{({-}{\\sin{(t)}})^{2}} + {\\cos}^{2}{(t)} + {1}}} \\\\\r\n&amp; = {\\sqrt{2}}.\r\n\\end{aligned}[\/latex]<\/p>\r\n<p id=\"fs-id1167793930422\">Therefore,<\/p>\r\n<p style=\"text-align: center;\">[latex]{\\displaystyle\\int_{C}}{({x^2} + {y^2} + {z})}{ds} = {\\displaystyle\\int^{{2}{\\pi}}_{0}}{({1} + {t})}{\\sqrt{2}}{dt}[\/latex].<\/p>\r\n<p id=\"fs-id1167794328944\">Notice that\u00a0The Scalar Line Integral Calculation Theorem Equation\u00a0translated the original difficult line integral into a manageable single-variable integral. Since<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n{\\displaystyle\\int^{{2}{\\pi}}_{0}}{({1} + {t})}{\\sqrt{2}}{dt} &amp; = {\\left [ {\\sqrt{2}}{t} + {\\frac{{\\sqrt{2}}{t}^{2}}{2}} \\right ]}^{{2}{\\pi}}_{0} \\\\\r\n&amp; = {2}{\\sqrt{2}}{\\pi} + {2}{\\sqrt{2}}{\\pi}^{2},\r\n\\end{aligned}[\/latex]<\/p>\r\n<p id=\"fs-id1167793633032\">we have<\/p>\r\n<p style=\"text-align: center;\">[latex]{\\displaystyle\\int_{C}}{({x^2} + {y^2} + {z})}{ds} = {2}{\\sqrt{2}}{\\pi} + {2}{\\sqrt{2}}{\\pi}^{2}[\/latex].<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Find the value of integral [latex]{\\displaystyle\\int_{C}}{({x^2} + {y^2} + {z})}{ds}[\/latex], where [latex]C[\/latex] is part of the helix parameterized by [latex]{\\textbf{r}}{(t)} = {\\left \\langle {\\cos}{(2t)}, {\\sin}{(2t), {2}{t}} \\right \\rangle}, {0} \\leq {t} \\leq {\\pi}[\/latex]. [latex]\\\\[\/latex]Notice that this function and curve are the same as in the previous example; the only difference is that the curve has been reparameterized so that time runs twice as fast.[reveal-answer q=\"371932814\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"371932814\"]\r\n<p id=\"fs-id1167793978351\">As with the previous example, we use the scalar line integral calculation to compute the integral with respect to [latex]t[\/latex]. Note that [latex]{f}{({\\textbf{r}}{(t)})} = {\\cos}^{2}{(2t)} + {\\sin}^{2}{(2t)} + {2t} = {2t} + {1}[\/latex] and<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n{\\sqrt{{({x}^{\\prime}{(t)})}^{2} + {({y}^{\\prime}{(t)})}^{2} + {({z}^{\\prime}{(t)})}^{2}}} &amp; = {\\sqrt{({-}{\\sin{t}} + {\\cos{t}} + {4})}} \\\\\r\n&amp; = {2}{\\sqrt{2}}\r\n\\end{aligned}[\/latex]<\/p>\r\n<p id=\"fs-id1167793244536\">so we have<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n{\\displaystyle\\int_{C}}{({x^2} + {y^2} + {z})}{ds} &amp; = {2}{\\sqrt{2}}{\\displaystyle\\int^{\\pi}_{0}}{({1} + {2t})}{dt} \\\\\r\n&amp; = {2}{\\sqrt{2}}{[{t} + {t}^{2}]}^{\\pi}_{0} \\\\\r\n&amp; = {2}{\\sqrt{2}}{({\\pi} + {\\pi}^{2})}.\r\n\\end{aligned}[\/latex].<\/p>\r\n<p id=\"fs-id1167793959042\">Notice that this agrees with the answer in the previous example. Changing the parameterization did not change the value of the line integral. Scalar line integrals are independent of parameterization, as long as the curve is traversed exactly once by the parameterization.<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section>\r\n<h3 class=\"text-lg font-bold text-text-100 mt-1 -mb-1.5\">Arc Length as a Line Integral<\/h3>\r\n<p class=\"whitespace-normal break-words\">Line integrals provide a way to calculate arc length. If [latex]f(x,y,z) = 1[\/latex], then:<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n{\\displaystyle\\int_{C}}{f}{({x}, {y}, {z})}{ds} &amp; = {\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}\\displaystyle{\\sum^{n}_{i = 1}}{f}{({t}^{*}_{i})}{\\Delta}{{s}_{i}} \\\\\r\n&amp; = \\displaystyle{\\lim_{{n}{\\rightarrow}{\\infty}}}{\\displaystyle\\sum^{n}_{i = 1}}{\\Delta}{{s}_{i}} \\\\\r\n&amp; = {\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}{\\text{length}}{(C)} \\\\\r\n&amp; = {\\text{length}}{(C)}.\r\n\\end{aligned}[\/latex]<\/p>\r\n<p id=\"fs-id1167793420990\">Therefore, [latex]{\\displaystyle\\int_{C}}{1}{ds}[\/latex] is the arc length of [latex]C[\/latex].<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">A wire has a shape that can be modeled with the parameterization [latex]{\\textbf{r}}{(t)} = {\\left \\langle {\\cos{t}}, {\\sin{t}}, {\\frac{2}{3}}{t}^{3\/2} \\right \\rangle}, {0} \\leq {t} \\leq {4}{\\pi}[\/latex]. Find the length of the wire.[reveal-answer q=\"092499841\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"092499841\"]\r\n<p id=\"fs-id1167793383514\">The length of the wire is given by [latex]{\\displaystyle\\int_{C}}{1}{ds}[\/latex], where [latex]C[\/latex] is the curve with parameterization\u00a0[latex]{\\textbf{r}}[\/latex]. Therefore,<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{aligned}\r\n{\\text{The length of the wire}} &amp; = {\\displaystyle\\int_{C}}{1}{ds} \\\\\r\n&amp; = {\\displaystyle\\int^{{4}{\\pi}}_{0}}{\\left \\| {\\textbf{r}}^{\\prime}{(t)} \\right \\|}{dt} \\\\\r\n&amp; = {\\displaystyle\\int^{{4}{\\pi}}_{0}}{\\sqrt{({-}{\\sin{t}})^{2} + {\\cos}^{2}{t} + {tdt}}} \\\\\r\n&amp; = {\\displaystyle\\int^{{4}{\\pi}}_{0}}{\\sqrt{{1} + {tdt}}} \\\\\r\n&amp; = {\\left [ {\\frac{{2}{({1} + {t})^{3\/2}}}{3}} \\right ]}^{{4}{\\pi}}_{0} \\\\\r\n&amp; = {\\frac{2}{3}}{\\left (({1} + {4{\\pi}})^{3\/2} - {1} \\right )}.\r\n\\end{aligned}[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section>","rendered":"<h2>Scalar Line Integrals<\/h2>\n<p class=\"whitespace-normal break-words\">A scalar line integral is defined similarly to a single-variable integral, except the integrand is a function of more than one variable and the domain of integration is a curve rather than an interval on the [latex]x[\/latex]-axis.<\/p>\n<section class=\"textbox recall\" aria-label=\"Recall\">\n<p class=\"whitespace-normal break-words\"><strong>Riemann Sums for Single-Variable Integrals<\/strong><\/p>\n<p class=\"whitespace-normal break-words\">For [latex]\\int_a^b g(x) dx[\/latex], we:<\/p>\n<ol class=\"[&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-decimal space-y-2.5 pl-7\">\n<li class=\"whitespace-normal break-words\">Partition [latex][a,b][\/latex] into subintervals of width [latex]\\Delta x[\/latex]<\/li>\n<li class=\"whitespace-normal break-words\">Choose sample points [latex]x_i^*[\/latex] in each subinterval<\/li>\n<li class=\"whitespace-normal break-words\">Form the sum [latex]\\sum g(x_i^*) \\Delta x[\/latex]<\/li>\n<li class=\"whitespace-normal break-words\">Take the limit as [latex]\\Delta x \\to 0[\/latex]<\/li>\n<\/ol>\n<p class=\"whitespace-pre-wrap break-words\">Scalar line integrals follow the same pattern, but over curves instead of interval<\/p>\n<\/section>\n<p class=\"whitespace-normal break-words\">For a scalar line integral, we start with a smooth curve [latex]C[\/latex] and a function [latex]f[\/latex] whose domain includes [latex]C[\/latex]. Here&#8217;s the process:<\/p>\n<ol class=\"[&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-decimal space-y-2.5 pl-7\">\n<li class=\"whitespace-normal break-words\">Chop the curve into small pieces<\/li>\n<li class=\"whitespace-normal break-words\">For each piece, choose a point [latex]P[\/latex] in each piece and evaluate [latex]f(P)[\/latex]<\/li>\n<li class=\"whitespace-normal break-words\">Multiply [latex]f(P)[\/latex] by the arc length [latex]\\Delta s[\/latex] of that piece<\/li>\n<li class=\"whitespace-normal break-words\">Sum all products [latex]f(P)\\Delta s[\/latex]<\/li>\n<li class=\"whitespace-normal break-words\">Let the arc lengths shrink to zero by taking a limit<\/li>\n<\/ol>\n<p class=\"whitespace-normal break-words\">The result is the scalar line integral of the function over the curve.<\/p>\n<h3>Formal Definition<\/h3>\n<p class=\"whitespace-normal break-words\">Let [latex]C[\/latex] be a smooth curve in space given by the parameterization [latex]\\mathbf{r}(t) = \\langle x(t), y(t), z(t) \\rangle[\/latex], [latex]a \\leq t \\leq b[\/latex]. Let [latex]f(x,y,z)[\/latex] be a function whose domain includes curve [latex]C[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">Partition the parameter interval [latex][a,b][\/latex] into [latex]n[\/latex] subintervals [latex][t_{i-1}, t_i][\/latex] of equal width for [latex]1 \\leq i \\leq n[\/latex], where [latex]t_0 = a[\/latex] and [latex]t_n = b[\/latex] (Figure 1). Let [latex]t_i^*[\/latex] be a value in the [latex]i[\/latex]th interval [latex][t_{i-1}, t_i][\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">Denote the endpoints [latex]\\mathbf{r}(t_0), \\mathbf{r}(t_1), \\ldots, \\mathbf{r}(t_n)[\/latex] by [latex]P_0, \\ldots, P_n[\/latex]. These points divide curve [latex]C[\/latex] into [latex]n[\/latex] pieces [latex]C_1, C_2, \\ldots, C_n[\/latex] with lengths [latex]\\Delta s_1, \\Delta s_2, \\ldots, \\Delta s_n[\/latex]. Let [latex]{P}^{*}_{i}[\/latex] denote the endpoint of [latex]{\\textbf{r}}({t^{*}_{i}})[\/latex] for [latex]{1} \\leq {i} \\leq {n}[\/latex].<\/p>\n<figure style=\"width: 526px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/openstax.org\/apps\/archive\/20220118.185250\/resources\/ef803993941028598bec179194a610712f5ff7d6\" alt=\"A diagram of a curve in quadrant one. Several points and segments are labeled. Starting at the left, the first points are P_0 and P_1. The segment between them is labeled delta S_1. The next points are P_i-1, P_i, and P_i+1. The segments connecting them are delta S_i and delta S_j+1. Point P_i starred and point P_i+1 starred are located on each segment, respectively. The last two points are P_n-1 and P_n, connected by segment S_n.\" width=\"526\" height=\"310\" \/><figcaption class=\"wp-caption-text\">Figure 1. Curve [latex]C[\/latex] has been divided into [latex]n[\/latex] pieces, and a point inside each piece has been chosen.<\/figcaption><\/figure>\n<p class=\"whitespace-normal break-words\">Now we evaluate function [latex]f[\/latex] at point [latex]{P}^{*}_{i}[\/latex] foreach [latex]i[\/latex]. Multiply [latex]{f}{({P}^{*}_{i})}[\/latex]\u00a0by the length [latex]\\Delta s_i[\/latex] of [latex]C_i[\/latex], which gives the area of a &#8220;sheet&#8221; with base [latex]C_i[\/latex] and height [latex]f(P_i^*)[\/latex]. This is analogous to using rectangles to approximate area in single-variable integrals.<\/p>\n<p class=\"whitespace-normal break-words\">Form the sum [latex]\\sum_{i=1}^n f(P_i^*) \\Delta s_i[\/latex]. As with Riemann sums, we define the integral by letting the width of the pieces shrink to zero. The result is the scalar line integral of [latex]f[\/latex] along [latex]C[\/latex].<\/p>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">Unlike single-variable integrals where we partition into equal lengths, the arc lengths [latex]\\Delta s_1, \\Delta s_2, \\ldots, \\Delta s_n[\/latex] aren&#8217;t necessarily equal. However, this difference doesn&#8217;t affect the limit\u2014as arc lengths shrink to zero, their values become close enough that small differences become irrelevant.<\/section>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>scalar line integral<\/h3>\n<p class=\"whitespace-normal break-words\">Let [latex]f[\/latex] be a function with a domain that includes the smooth curve [latex]C[\/latex] parameterized by [latex]\\mathbf{r}(t) = \\langle x(t), y(t), z(t) \\rangle[\/latex], [latex]a \\leq t \\leq b[\/latex]. The <strong>scalar line integral<\/strong> of [latex]f[\/latex] along [latex]C[\/latex] is:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\int_C f(x,y,z) ds = \\lim_{n \\to \\infty} \\sum_{i=1}^n f(P_i^*) \\Delta s_i[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">if this limit exists.<\/p>\n<p class=\"whitespace-normal break-words\">For a planar curve with parameterization [latex]x = x(t)[\/latex], [latex]y = y(t)[\/latex], [latex]a \\leq t \\leq b[\/latex]:<\/p>\n<p class=\"whitespace-pre-wrap break-words\" style=\"text-align: center;\">[latex]\\int_C f(x,y) ds = \\lim_{n \\to \\infty} \\sum_{i=1}^n f(P_i^*) \\Delta s_i[\/latex]<\/p>\n<\/section>\n<p class=\"whitespace-normal break-words\">If [latex]f[\/latex] is continuous on smooth curve [latex]C[\/latex], then [latex]\\int_C f \\, ds[\/latex] always exists. The continuity of [latex]f[\/latex] guarantees the existence of the limit, just as [latex]\\int_a^b g(x) dx[\/latex] exists when [latex]g[\/latex] is continuous over [latex][a,b][\/latex].<\/p>\n<h3 class=\"text-lg font-bold text-text-100 mt-1 -mb-1.5\">Geometric Interpretation<\/h3>\n<p class=\"whitespace-normal break-words\">Before learning how to compute line integrals, let&#8217;s examine the geometry they capture.<\/p>\n<p class=\"whitespace-normal break-words\">Suppose [latex]f(x,y) \\geq 0[\/latex] for all points [latex](x, y)[\/latex]\u00a0on a smooth planar curve [latex]C[\/latex]. Imagine projecting curve [latex]C[\/latex] &#8220;up&#8221; to the surface defined by [latex]f(x,y)[\/latex], creating a new curve [latex]C'[\/latex] that lies on the graph of [latex]f(x,y)[\/latex] (Figure 2). Now drop a &#8220;sheet&#8221; from [latex]C'[\/latex] down to the [latex]xy[\/latex]-plane. The area of this sheet is [latex]\\int_C f(x,y) ds[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">If [latex]f(x,y) \\leq 0[\/latex] for some points in [latex]C[\/latex], then [latex]\\int_C f(x,y) ds[\/latex] equals the area above the [latex]xy[\/latex]-plane minus the area below the [latex]xy[\/latex]-plane. This is analogous to single-variable integrals [latex]\\int_a^b g(x) dx[\/latex].<\/p>\n<figure style=\"width: 405px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/openstax.org\/apps\/archive\/20220118.185250\/resources\/d8f17ee89085c3bbc74b92268857dbfff02aa02d\" alt=\"A diagram in three dimensions. The original curve C in the (x,y) plane looks like a parabola opening to the left with vertex in quadrant 1. The surface defined by f(x,y) is shown always above the (x,y) plane. A curve on the surface directly above the original curve C is labeled as C\u2019. A blue sheet stretches down from C\u2019 to C.\" width=\"405\" height=\"386\" \/><figcaption class=\"wp-caption-text\">Figure 2. The area of the blue sheet is [latex]{\\displaystyle\\int_{C}}{f}{({x},{y})}{ds}[\/latex].<\/figcaption><\/figure>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">From this geometry, we see that line integral [latex]\\int_C f(x,y) ds[\/latex] does not depend on the parameterization [latex]\\mathbf{r}(t)[\/latex] of [latex]C[\/latex]. As long as the curve is traversed exactly once, the area of the sheet formed by the function and curve is the same. This geometric argument extends to three-dimensional curves as well.<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Find the value of integral [latex]{\\displaystyle\\int_{C}}{2}{ds}[\/latex], where [latex]C[\/latex] is the upper half of the unit circle.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q374562045\">Show Solution<\/button><\/p>\n<div id=\"q374562045\" class=\"hidden-answer\" style=\"display: none\">The integrand is [latex]f(x, y)=2[\/latex].\u00a0Figure 3\u00a0shows the graph of [latex]f(x, y)=2[\/latex], curve [latex]C[\/latex], and the sheet formed by them. Notice that this sheet has the same area as a rectangle with width [latex]\\pi[\/latex] and length 2. Therefore, [latex]{\\displaystyle\\int_{C}}{2}{ds} = {2}{\\pi}[\/latex].<\/p>\n<figure style=\"width: 424px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/openstax.org\/apps\/archive\/20220118.185250\/resources\/b8c8f5c10b679e69719de9b1a42580cf84b973b0\" alt=\"A graph in three dimensions. There is a flat plane just above the (x,y) plane. The upper half of the unit circle in quadrants 1 and 2 of the (x,y) plane is raised up to form a semicircle sheet into the z-plane.\" width=\"424\" height=\"277\" \/><figcaption class=\"wp-caption-text\">Figure 3. The sheet that is formed by the upper half of the unit circle in a plane and the graph of [latex]{f}{({x},{y})} = {2}[\/latex].<\/figcaption><\/figure>\n<p id=\"fs-id1167793911831\">To see that [latex]{\\displaystyle\\int_{C}}{2}{ds} = {2}{\\pi}[\/latex] using the definition of line integral, we let [latex]{\\textbf{r}}{(t)}[\/latex] be a parameterization of [latex]C[\/latex]. Then, [latex]{f}{({\\textbf{r}}{(t_{i})})} = {2}[\/latex] for any number [latex]{t_{i}}[\/latex] in the domain of\u00a0<strong data-effect=\"bold\">r<\/strong>. Therefore,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  {\\displaystyle\\int_{C}}{f}{ds} & = {\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}{{\\displaystyle\\sum}^{n}_{i = 1}}{f}{({\\textbf{r}}{({t}^{*}_{i})})}{\\Delta}{s_{i}} \\\\  & = {\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}{{\\displaystyle\\sum}^{n}_{i = 1}}{2}{\\Delta}{s_{i}} \\\\  & = {2}{\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}{{\\displaystyle\\sum}^{n}_{i = 1}}{\\Delta}{s_{i}} \\\\  & = {2}{\\text{(length of C)}} \\\\  & = {2}{\\pi}.  \\end{aligned}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/section>\n<h3 class=\"text-lg font-bold text-text-100 mt-1 -mb-1.5\">Computing Scalar Line Integrals<\/h3>\n<p class=\"whitespace-normal break-words\">Scalar line integrals integrate with respect to arc length [latex]s[\/latex], which can make calculations difficult. We can simplify by translating [latex]\\int_C f \\, ds[\/latex] to an integral with variable [latex]t[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">Let [latex]\\mathbf{r}(t) = \\langle x(t), y(t), z(t) \\rangle[\/latex] for [latex]a \\leq t \\leq b[\/latex] be a parameterization of smooth curve [latex]C[\/latex]. Since [latex]C[\/latex] is smooth, [latex]\\mathbf{r}'(t) = \\langle x'(t), y'(t), z'(t) \\rangle[\/latex] is continuous for all [latex]t[\/latex] in [latex][a,b][\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">According to the arc length formula:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\text{length}(C_i) = \\Delta s_i = \\int_{t_{i-1}}^{t_i} ||\\mathbf{r}'(t)|| dt[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">If width [latex]\\Delta t_i = t_i - t_{i-1}[\/latex] is small, then [latex]||\\mathbf{r}'(t)||[\/latex] is nearly constant over interval [latex][t_{i-1}, t_i][\/latex]. Therefore:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\int_{t_{i-1}}^{t_i} ||\\mathbf{r}'(t)|| dt \\approx ||\\mathbf{r}'(t_i^*)|| \\Delta t_i[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">This gives us:<\/p>\n<p style=\"text-align: center;\">[latex]{\\displaystyle\\sum^{n}_{{i} = {1}}}{f}{({\\textbf{r}}{({t^{*}_{i}})})}{\\Delta}{{s}_{i}} = {\\displaystyle\\sum^{n}_{{i} = {1}}}{f}{({\\textbf{r}}{({t^{*}_{i}})})}{\\left \\| {\\textbf{r}}^{\\prime}{({t^{*}_{i}})} \\right \\|}{\\Delta}{{t}_{i}}[\/latex].<\/p>\n<figure style=\"width: 419px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/openstax.org\/apps\/archive\/20220118.185250\/resources\/6ac27b2f44bbefe4d435b72eb0d064b555debbef\" alt=\"A segment of an increasing concave down curve labeled C. A small segment of the curved is boxed and labeled as delta t_i. In the zoomed-in insert, this boxed segment of the curve is almost linear.\" width=\"419\" height=\"201\" \/><figcaption class=\"wp-caption-text\">Figure 4. If we zoom in on the curve enough by making [latex]{\\Delta}{{t}_{i}}[\/latex]\u00a0very small, then the corresponding piece of the curve is approximately linear.<\/figcaption><\/figure>\n<p class=\"whitespace-normal break-words\">Taking the limit as [latex]n \\to \\infty[\/latex]:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]{\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}{\\displaystyle\\sum^{n}_{{i} = {1}}}{f}{({\\textbf{r}}{({t^{*}_{i}})})}{\\left \\| {\\textbf{r}}^{\\prime}{({t^{*}_{i}})} \\right \\|}{\\Delta}{{t}_{i}} = {\\displaystyle\\int^{b}_{a}}{f}{({\\textbf{r}}{(t)})}{\\left \\| {\\textbf{r}}^{\\prime}{(t)} \\right \\|}{dt}[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">This gives us our main computational theorem.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>evaluating a scalar line integral<\/h3>\n<p id=\"fs-id1167794058930\">Let [latex]f[\/latex] be a continuous function with a domain that includes the smooth curve [latex]C[\/latex] with parameterization [latex]{\\textbf{r}}{(t)}, {a} \\leq {t} \\leq {b}[\/latex]. Then:<\/p>\n<p style=\"text-align: center;\">[latex]{\\displaystyle\\int_C}{f}{d}{s} = {\\displaystyle\\int^{b}_{a}}{f}{({\\textbf{r}}{(t)})}{\\left \\| {\\textbf{r}}^{\\prime}{(t)} \\right \\|}{dt}[\/latex].<\/p>\n<\/section>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">In our derivation, we wrote [latex]\\int_{t_{i-1}}^{t_i} ||\\mathbf{r}'(t)|| dt \\approx ||\\mathbf{r}'(t_i^*)|| \\Delta t_i[\/latex]. This is an approximation, not an equation. The left-hand side approaches the right-hand side as [latex]n \\to \\infty[\/latex]. In other words, letting the widths of the pieces shrink to zero makes the right-hand sum arbitrarily close to the left-hand sum.<\/section>\n<p class=\"whitespace-normal break-words\">Since [latex]||\\mathbf{r}'(t)|| = \\sqrt{(x'(t))^2 + (y'(t))^2 + (z'(t))^2}[\/latex], we obtain a practical formula for computation.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>scalar line integral calculation<\/h3>\n<p class=\"whitespace-normal break-words\">Let [latex]f[\/latex] be continuous with domain including smooth curve [latex]C[\/latex] with parameterization [latex]\\mathbf{r}(t) = \\langle x(t), y(t), z(t) \\rangle[\/latex], [latex]a \\leq t \\leq b[\/latex]. Then:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]{\\displaystyle\\int_{C}}{f}{({x},{y},{z})}{ds} = {\\displaystyle\\int^{b}_{a}}{f}{({\\textbf{r}}{(t)}}){\\sqrt{{({x}^{\\prime}{(t)})}^{2} + {({y}^{\\prime}{(t)})}^{2} + {({z}^{\\prime}{(t)})}^{2}}}{dt}[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">For a planar curve:<\/p>\n<p class=\"whitespace-pre-wrap break-words\" style=\"text-align: center;\">[latex]{\\displaystyle\\int_{C}}{f}{({x},{y})}{ds} = {\\displaystyle\\int^{b}_{a}}{f}{({\\textbf{r}}{(t)}}){\\sqrt{{({x}^{\\prime}{(t)})}^{2} + {({y}^{\\prime}{(t)})}^{2}}}{dt}[\/latex]<\/p>\n<\/section>\n<p>A key consequence of this theorem is the equation [latex]ds = ||\\mathbf{r}'(t)|| dt[\/latex]. In other words, the change in arc length can be viewed as a change in the [latex]t[\/latex] domain, scaled by the magnitude of vector [latex]\\mathbf{r}'(t)[\/latex].<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">Find the value of integral [latex]{\\displaystyle\\int_{C}}{({x^2} + {y^2} + {z})}{ds}[\/latex], where [latex]C[\/latex] is part of the helix parameterized by [latex]{\\textbf{r}}{(t)} = {\\left \\langle {\\cos {t}}, {\\sin {t}}, {t} \\right \\rangle}, {0} \\leq {t} \\leq {2}{\\pi}[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q384725475\">Show Solution<\/button><\/p>\n<div id=\"q384725475\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1167793221724\">To compute a scalar line integral, we start by converting the variable of integration from arc length [latex]s[\/latex] to [latex]t[\/latex]. Then, we can use the scalar line integral calculation to compute the integral with respect to [latex]t[\/latex]. Note that [latex]{f}{({\\textbf{r}}{(t)})} = {{\\cos}^{2}{t}} + {{\\sin}^{2}{t}} + {t} = {1} + {t}[\/latex] and<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  {\\sqrt{{({x}^{\\prime}{(t)})}^{2} + {({y}^{\\prime}{(t)})}^{2} + {({z}^{\\prime}{(t)})}^{2}}} & = {\\sqrt{{({-}{\\sin{(t)}})^{2}} + {\\cos}^{2}{(t)} + {1}}} \\\\  & = {\\sqrt{2}}.  \\end{aligned}[\/latex]<\/p>\n<p id=\"fs-id1167793930422\">Therefore,<\/p>\n<p style=\"text-align: center;\">[latex]{\\displaystyle\\int_{C}}{({x^2} + {y^2} + {z})}{ds} = {\\displaystyle\\int^{{2}{\\pi}}_{0}}{({1} + {t})}{\\sqrt{2}}{dt}[\/latex].<\/p>\n<p id=\"fs-id1167794328944\">Notice that\u00a0The Scalar Line Integral Calculation Theorem Equation\u00a0translated the original difficult line integral into a manageable single-variable integral. Since<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  {\\displaystyle\\int^{{2}{\\pi}}_{0}}{({1} + {t})}{\\sqrt{2}}{dt} & = {\\left [ {\\sqrt{2}}{t} + {\\frac{{\\sqrt{2}}{t}^{2}}{2}} \\right ]}^{{2}{\\pi}}_{0} \\\\  & = {2}{\\sqrt{2}}{\\pi} + {2}{\\sqrt{2}}{\\pi}^{2},  \\end{aligned}[\/latex]<\/p>\n<p id=\"fs-id1167793633032\">we have<\/p>\n<p style=\"text-align: center;\">[latex]{\\displaystyle\\int_{C}}{({x^2} + {y^2} + {z})}{ds} = {2}{\\sqrt{2}}{\\pi} + {2}{\\sqrt{2}}{\\pi}^{2}[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Find the value of integral [latex]{\\displaystyle\\int_{C}}{({x^2} + {y^2} + {z})}{ds}[\/latex], where [latex]C[\/latex] is part of the helix parameterized by [latex]{\\textbf{r}}{(t)} = {\\left \\langle {\\cos}{(2t)}, {\\sin}{(2t), {2}{t}} \\right \\rangle}, {0} \\leq {t} \\leq {\\pi}[\/latex]. [latex]\\\\[\/latex]Notice that this function and curve are the same as in the previous example; the only difference is that the curve has been reparameterized so that time runs twice as fast.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q371932814\">Show Solution<\/button><\/p>\n<div id=\"q371932814\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1167793978351\">As with the previous example, we use the scalar line integral calculation to compute the integral with respect to [latex]t[\/latex]. Note that [latex]{f}{({\\textbf{r}}{(t)})} = {\\cos}^{2}{(2t)} + {\\sin}^{2}{(2t)} + {2t} = {2t} + {1}[\/latex] and<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  {\\sqrt{{({x}^{\\prime}{(t)})}^{2} + {({y}^{\\prime}{(t)})}^{2} + {({z}^{\\prime}{(t)})}^{2}}} & = {\\sqrt{({-}{\\sin{t}} + {\\cos{t}} + {4})}} \\\\  & = {2}{\\sqrt{2}}  \\end{aligned}[\/latex]<\/p>\n<p id=\"fs-id1167793244536\">so we have<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  {\\displaystyle\\int_{C}}{({x^2} + {y^2} + {z})}{ds} & = {2}{\\sqrt{2}}{\\displaystyle\\int^{\\pi}_{0}}{({1} + {2t})}{dt} \\\\  & = {2}{\\sqrt{2}}{[{t} + {t}^{2}]}^{\\pi}_{0} \\\\  & = {2}{\\sqrt{2}}{({\\pi} + {\\pi}^{2})}.  \\end{aligned}[\/latex].<\/p>\n<p id=\"fs-id1167793959042\">Notice that this agrees with the answer in the previous example. Changing the parameterization did not change the value of the line integral. Scalar line integrals are independent of parameterization, as long as the curve is traversed exactly once by the parameterization.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<h3 class=\"text-lg font-bold text-text-100 mt-1 -mb-1.5\">Arc Length as a Line Integral<\/h3>\n<p class=\"whitespace-normal break-words\">Line integrals provide a way to calculate arc length. If [latex]f(x,y,z) = 1[\/latex], then:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  {\\displaystyle\\int_{C}}{f}{({x}, {y}, {z})}{ds} & = {\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}\\displaystyle{\\sum^{n}_{i = 1}}{f}{({t}^{*}_{i})}{\\Delta}{{s}_{i}} \\\\  & = \\displaystyle{\\lim_{{n}{\\rightarrow}{\\infty}}}{\\displaystyle\\sum^{n}_{i = 1}}{\\Delta}{{s}_{i}} \\\\  & = {\\displaystyle\\lim_{{n}{\\rightarrow}{\\infty}}}{\\text{length}}{(C)} \\\\  & = {\\text{length}}{(C)}.  \\end{aligned}[\/latex]<\/p>\n<p id=\"fs-id1167793420990\">Therefore, [latex]{\\displaystyle\\int_{C}}{1}{ds}[\/latex] is the arc length of [latex]C[\/latex].<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">A wire has a shape that can be modeled with the parameterization [latex]{\\textbf{r}}{(t)} = {\\left \\langle {\\cos{t}}, {\\sin{t}}, {\\frac{2}{3}}{t}^{3\/2} \\right \\rangle}, {0} \\leq {t} \\leq {4}{\\pi}[\/latex]. Find the length of the wire.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q092499841\">Show Solution<\/button><\/p>\n<div id=\"q092499841\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1167793383514\">The length of the wire is given by [latex]{\\displaystyle\\int_{C}}{1}{ds}[\/latex], where [latex]C[\/latex] is the curve with parameterization\u00a0[latex]{\\textbf{r}}[\/latex]. Therefore,<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{aligned}  {\\text{The length of the wire}} & = {\\displaystyle\\int_{C}}{1}{ds} \\\\  & = {\\displaystyle\\int^{{4}{\\pi}}_{0}}{\\left \\| {\\textbf{r}}^{\\prime}{(t)} \\right \\|}{dt} \\\\  & = {\\displaystyle\\int^{{4}{\\pi}}_{0}}{\\sqrt{({-}{\\sin{t}})^{2} + {\\cos}^{2}{t} + {tdt}}} \\\\  & = {\\displaystyle\\int^{{4}{\\pi}}_{0}}{\\sqrt{{1} + {tdt}}} \\\\  & = {\\left [ {\\frac{{2}{({1} + {t})^{3\/2}}}{3}} \\right ]}^{{4}{\\pi}}_{0} \\\\  & = {\\frac{2}{3}}{\\left (({1} + {4{\\pi}})^{3\/2} - {1} \\right )}.  \\end{aligned}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/section>\n","protected":false},"author":15,"menu_order":11,"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-1347","chapter","type-chapter","status-publish","hentry"],"part":436,"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\/1347","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":4,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1347\/revisions"}],"predecessor-version":[{"id":2006,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1347\/revisions\/2006"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/parts\/436"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1347\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=1347"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=1347"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=1347"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=1347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}