{"id":935,"date":"2025-06-20T17:23:34","date_gmt":"2025-06-20T17:23:34","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus2\/?post_type=chapter&#038;p=935"},"modified":"2025-09-11T16:55:20","modified_gmt":"2025-09-11T16:55:20","slug":"operations-with-power-series-learn-it-3","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus2\/chapter\/operations-with-power-series-learn-it-3\/","title":{"raw":"Operations with Power Series: Learn It 3","rendered":"Operations with Power Series: Learn It 3"},"content":{"raw":"<h2>Differentiating and Integrating Power Series<\/h2>\r\n<p class=\"whitespace-normal break-words\">Once you have a power series that converges on some interval, two natural questions arise about the function it represents:<\/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-1.5 pl-7\">\r\n \t<li class=\"whitespace-normal break-words\">Is the function differentiable? If so, how do we find its derivative?<\/li>\r\n \t<li class=\"whitespace-normal break-words\">How do we find the indefinite integral of this function?<\/li>\r\n<\/ol>\r\n<p class=\"whitespace-normal break-words\">The answer turns out to be remarkably straightforward: you can differentiate and integrate power series term-by-term, just like polynomials.<\/p>\r\n<p id=\"fs-id1167023761836\">Recall the general expression of the power rules for derivatives and integrals of polynomials.<\/p>\r\n\r\n<section class=\"textbox recall\" aria-label=\"Recall\">\r\n<p class=\"whitespace-normal break-words\"><strong>Power Rules for Polynomials<\/strong><\/p>\r\n\r\n<ul class=\"[&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-disc space-y-1.5 pl-7\">\r\n \t<li class=\"whitespace-normal break-words\">Derivative: [latex]\\frac{d}{dx}(x^n) = nx^{n-1}[\/latex]<\/li>\r\n \t<li class=\"whitespace-normal break-words\">Integral: [latex]\\int x^n dx = \\frac{1}{n+1}x^{n+1} + C[\/latex] (for [latex]n \\neq -1[\/latex])<\/li>\r\n<\/ul>\r\n<\/section>\r\n<p class=\"whitespace-pre-wrap break-words\">These familiar rules extend naturally to power series. If you have: [latex]f(x) = \\sum_{n=0}^{\\infty} c_n x^n = c_0 + c_1 x + c_2 x^2 + c_3 x^3 + \\cdots[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">Then you can find:<\/p>\r\n<p class=\"whitespace-normal break-words\"><strong>Derivative<\/strong>: [latex]f'(x) = c_1 + 2c_2 x + 3c_3 x^2 + 4c_4 x^3 + \\cdots[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\"><strong>Integral<\/strong>: [latex]\\int f(x) dx = C + c_0 x + c_1 \\frac{x^2}{2} + c_2 \\frac{x^3}{3} + c_3 \\frac{x^4}{4} + \\cdots[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">Evaluating the derivative and indefinite integral in this way is called <strong>term-by-term differentiation<\/strong> and <strong>term-by-term integration<\/strong> of a power series, respectively.<\/p>\r\n<p class=\"whitespace-normal break-words\">The ability to differentiate and integrate power series term-by-term gives you a powerful tool for finding power series representations of new functions. You can start with a known power series and use calculus operations to build series for related functions.<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">For example, given the power series for [latex]f(x) = \\frac{1}{1-x}[\/latex], you can differentiate term-by-term to find the power series for [latex]f'(x) = \\frac{1}{(1-x)^2}[\/latex]. Similarly, using the power series for [latex]g(x) = \\frac{1}{1+x}[\/latex], you can integrate term-by-term to find the power series for [latex]G(x) = \\ln(1+x)[\/latex], an antiderivative of [latex]g[\/latex].<\/section>\r\n<p class=\"whitespace-normal break-words\">We'll show how to do this in the next examples. First, let's state the main result regarding differentiation and integration of power series.<\/p>\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>theorem: term-by-term differentiation and integration for power series<\/h3>\r\n<p class=\"whitespace-normal break-words\">Suppose [latex]\\sum_{n=0}^{\\infty} c_n (x-a)^n[\/latex] converges on [latex](a-R, a+R)[\/latex] and defines function [latex]f(x)[\/latex].<\/p>\r\n&nbsp;\r\n<p class=\"whitespace-normal break-words\">Then [latex]f[\/latex] is <strong>differentiable<\/strong> on [latex](a-R, a+R)[\/latex] and:<\/p>\r\n&nbsp;\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]f'(x) = \\sum_{n=1}^{\\infty} nc_n (x-a)^{n-1} = c_1 + 2c_2(x-a) + 3c_3(x-a)^2 + \\cdots[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">For <strong>integration<\/strong>:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\int f(x) dx = C + \\sum_{n=0}^{\\infty} c_n \\frac{(x-a)^{n+1}}{n+1} = C + c_0(x-a) + c_1\\frac{(x-a)^2}{2} + c_2\\frac{(x-a)^3}{3} + \\cdots[\/latex]<\/p>\r\n<p class=\"whitespace-pre-wrap break-words\">Both resulting series converge on the same interval [latex](a-R, a+R)[\/latex].<\/p>\r\n\r\n<\/section><em>The proof of this result is beyond the scope of this course.<\/em>\r\n\r\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">While the derivative and integral series have the same radius of convergence as the original series, their behavior at the endpoints might differ. Always check endpoint convergence separately when needed.<\/section>\r\n<p class=\"whitespace-normal break-words\">Note that while term-by-term differentiation and integration preserve the radius of convergence, the behavior at the endpoints can change. The differentiated and integrated series might converge or diverge at the endpoints even when the original series behaves differently there. We'll see examples of this endpoint behavior in the upcoming problems.<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">Use the power series representation\r\n<div id=\"fs-id1167023766633\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill f\\left(x\\right)&amp; =\\frac{1}{1-x}\\hfill \\\\ &amp; ={\\displaystyle\\sum _{n=0}^{\\infty}}{x}^{n}\\hfill \\\\ &amp; =1+x+{x}^{2}+{x}^{3}+\\cdots \\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nfor [latex]|x|&lt;1[\/latex] to find a power series representation for<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167023770529\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]g\\left(x\\right)=\\frac{1}{{\\left(1-x\\right)}^{2}}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\non the interval [latex]\\left(-1,1\\right)[\/latex]. Determine whether the resulting series converges at the endpoints.\r\n\r\nUse the result of part a. to evaluate the sum of the series [latex]\\displaystyle\\sum _{n=0}^{\\infty }\\frac{n+1}{{4}^{n}}[\/latex].\r\n\r\n&nbsp;\r\n\r\n[reveal-answer q=\"44558859\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"44558859\"]\r\n<div id=\"fs-id1167023770631\" data-type=\"solution\">\r\n<ol id=\"fs-id1167023770634\" type=\"a\">\r\n \t<li>Since [latex]g\\left(x\\right)=\\frac{1}{{\\left(1-x\\right)}^{2}}[\/latex] is the derivative of [latex]f\\left(x\\right)=\\frac{1}{1-x}[\/latex], we can find a power series representation for <em data-effect=\"italics\">g<\/em> by differentiating the power series for <em data-effect=\"italics\">f<\/em> term-by-term. The result is<span data-type=\"newline\">\r\n<\/span><\/li>\r\n<\/ol>\r\n<\/div>\r\n<div id=\"fs-id1167023778480\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill g\\left(x\\right)&amp; =\\frac{1}{{\\left(1-x\\right)}^{2}}\\hfill \\\\ &amp; =\\frac{d}{dx}\\left(\\frac{1}{1-x}\\right)\\hfill \\\\ &amp; ={\\displaystyle\\sum _{n=0}^{\\infty}} \\frac{d}{dx}\\left({x}^{n}\\right)\\hfill \\\\ &amp; =\\frac{d}{dx}\\left(1+x+{x}^{2}+{x}^{3}+\\cdots \\right)\\hfill \\\\ &amp; =0+1+2x+3{x}^{2}+4{x}^{3}+\\cdots \\hfill \\\\ &amp; ={\\displaystyle\\sum _{n=0}^{\\infty}}\\left(n+1\\right){x}^{n}\\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nfor [latex]|x|&lt;1[\/latex]. Term-by-Term Differentiation and Integration for Power Series does not guarantee anything about the behavior of this series at the endpoints. Testing the endpoints by using the divergence test, we find that the series diverges at both endpoints [latex]x=\\pm 1[\/latex]. Note that this is the same result found in the previous example.\r\n<ol type=\"a\">\r\n \t<li style=\"list-style-type: none;\">\r\n<ol type=\"a\">\r\n \t<li style=\"list-style-type: none;\">\r\n<ul>\r\n \t<li>From part a. we know that<span data-type=\"newline\">\r\n<\/span><\/li>\r\n<\/ul>\r\n<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n&nbsp;\r\n<div id=\"fs-id1167023784746\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\displaystyle\\sum _{n=0}^{\\infty }\\left(n+1\\right){x}^{n}=\\frac{1}{{\\left(1-x\\right)}^{2}}[\/latex].<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nTherefore,<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167023784817\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {\\displaystyle\\sum _{n=0}^{\\infty}} \\frac{n+1}{{4}^{n}}&amp; ={\\displaystyle\\sum _{n=0}^{\\infty}} \\left(n+1\\right){\\left(\\frac{1}{4}\\right)}^{n}\\hfill \\\\ &amp; =\\frac{1}{{\\left(1-\\frac{1}{4}\\right)}^{2}}\\hfill \\\\ &amp; =\\frac{1}{{\\left(\\frac{3}{4}\\right)}^{2}}\\hfill \\\\ &amp; =\\frac{16}{9}.\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox watchIt\" aria-label=\"Watch It\">Watch the following video to see the worked solution to the above example.\r\n<iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/eW-UMc7THf0?controls=0&amp;start=0&amp;end=256&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><center><\/center>\r\n<p class=\"p1\">For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.<\/p>\r\nYou can view the <a href=\"https:\/\/oerfiles.s3.us-west-2.amazonaws.com\/Calculus+II\/Transcripts\/6.2.4_0to256_transcript.html\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip of \"6.2.4\" here (opens in new window)<\/a>.\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">\r\n<div id=\"fs-id1167023911158\" data-type=\"problem\">\r\n<p id=\"fs-id1167023779742\">For each of the following functions <em data-effect=\"italics\">f<\/em>, find a power series representation for <em data-effect=\"italics\">f<\/em> by integrating the power series for [latex]{f}^{\\prime }[\/latex] and find its interval of convergence.<\/p>\r\n\r\n<ol id=\"fs-id1167023779763\" type=\"a\">\r\n \t<li>[latex]f\\left(x\\right)=\\text{ln}\\left(1+x\\right)[\/latex]<\/li>\r\n \t<li>[latex]f\\left(x\\right)={\\tan}^{-1}x[\/latex]<\/li>\r\n<\/ol>\r\n<\/div>\r\n[reveal-answer q=\"44558829\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"44558829\"]\r\n<ol id=\"fs-id1167023779830\" type=\"a\">\r\n \t<li>For [latex]f\\left(x\\right)=\\text{ln}\\left(1+x\\right)[\/latex], the derivative is [latex]{f}^{\\prime }\\left(x\\right)=\\frac{1}{1+x}[\/latex]. We know that<\/li>\r\n<\/ol>\r\n<div id=\"fs-id1167023807109\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill \\frac{1}{1+x}&amp; =\\frac{1}{1-\\left(\\text{-}x\\right)}\\hfill \\\\ &amp; ={\\displaystyle\\sum _{n=0}^{\\infty}}{\\left(\\text{-}x\\right)}^{n}\\hfill \\\\ &amp; =1-x+{x}^{2}-{x}^{3}+\\cdots \\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nfor [latex]|x|&lt;1[\/latex]. To find a power series for [latex]f\\left(x\\right)=\\text{ln}\\left(1+x\\right)[\/latex], we integrate the series term-by-term.<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167023809849\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {\\displaystyle\\int {f}^{\\prime }\\left(x\\right)dx}&amp; ={\\displaystyle\\int \\left(1-x+{x}^{2}-{x}^{3}+\\cdots \\right)dx}\\hfill \\\\ &amp; =C+x-\\frac{{x}^{2}}{2}+\\frac{{x}^{3}}{3}-\\frac{{x}^{4}}{4}+\\cdots \\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nSince [latex]f\\left(x\\right)=\\text{ln}\\left(1+x\\right)[\/latex] is an antiderivative of [latex]\\frac{1}{1+x}[\/latex], it remains to solve for the constant <em data-effect=\"italics\">C<\/em>. Since [latex]\\text{ln}\\left(1+0\\right)=0[\/latex], we have [latex]C=0[\/latex]. Therefore, a power series representation for [latex]f\\left(x\\right)=\\text{ln}\\left(1+x\\right)[\/latex] is<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167023775238\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill \\text{ln}\\left(1+x\\right)&amp; =x-\\frac{{x}^{2}}{2}+\\frac{{x}^{3}}{3}-\\frac{{x}^{4}}{4}+\\cdots \\hfill \\\\ &amp; ={\\displaystyle\\sum _{n=1}^{\\infty}}{\\left(-1\\right)}^{n+1}\\frac{{x}^{n}}{n}\\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nfor [latex]|x|&lt;1[\/latex]. Term-by-Term Differentiation and Integration for Power Series does not guarantee anything about the behavior of this power series at the endpoints. However, checking the endpoints, we find that at [latex]x=1[\/latex] the series is the alternating harmonic series, which converges. Also, at [latex]x=-1[\/latex], the series is the harmonic series, which diverges. It is important to note that, even though this series converges at [latex]x=1[\/latex], Term-by-Term Differentiation and Integration for Power Series does not guarantee that the series actually converges to [latex]\\text{ln}\\left(2\\right)[\/latex]. In fact, the series does converge to [latex]\\text{ln}\\left(2\\right)[\/latex], but showing this fact requires more advanced techniques. (Abel\u2019s theorem, covered in more advanced texts, deals with this more technical point.) The interval of convergence is [latex]\\left(-1,1\\right][\/latex].\r\n<ul>\r\n \t<li>The derivative of [latex]f\\left(x\\right)={\\tan}^{-1}x[\/latex] is [latex]{f}^{\\prime }\\left(x\\right)=\\frac{1}{1+{x}^{2}}[\/latex]. We know that<span data-type=\"newline\">\r\n<\/span><\/li>\r\n<\/ul>\r\n&nbsp;\r\n<div id=\"fs-id1167023787852\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill \\frac{1}{1+{x}^{2}}&amp; =\\frac{1}{1-\\left(\\text{-}{x}^{2}\\right)}\\hfill \\\\ &amp; ={\\displaystyle\\sum _{n=0}^{\\infty}}{\\left(-{x}^{2}\\right)}^{n}\\hfill \\\\ &amp; =1-{x}^{2}+{x}^{4}-{x}^{6}+\\cdots \\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nfor [latex]|x|&lt;1[\/latex]. To find a power series for [latex]f\\left(x\\right)={\\tan}^{-1}x[\/latex], we integrate this series term-by-term.<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167023811464\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {\\displaystyle\\int {f}^{\\prime }\\left(x\\right)dx}&amp; ={\\displaystyle\\int \\left(1-{x}^{2}+{x}^{4}-{x}^{6}+\\cdots \\right)dx}\\hfill \\\\ &amp; =C+x-\\frac{{x}^{3}}{3}+\\frac{{x}^{5}}{5}-\\frac{{x}^{7}}{7}+\\cdots \\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nSince [latex]{\\tan}^{-1}\\left(0\\right)=0[\/latex], we have [latex]C=0[\/latex]. Therefore, a power series representation for [latex]f\\left(x\\right)={\\tan}^{-1}x[\/latex] is<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167023802567\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {\\tan}^{-1}x&amp; =x-\\frac{{x}^{3}}{3}+\\frac{{x}^{5}}{5}-\\frac{{x}^{7}}{7}+\\cdots \\hfill \\\\ &amp; ={\\displaystyle\\sum _{n=0}^{\\infty}}{\\left(-1\\right)}^{n}\\frac{{x}^{2n+1}}{2n+1}\\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nfor [latex]|x|&lt;1[\/latex]. Again, Term-by-Term Differentiation and Integration for Power Series does not guarantee anything about the convergence of this series at the endpoints. However, checking the endpoints and using the alternating series test, we find that the series converges at [latex]x=1[\/latex] and [latex]x=-1[\/latex]. As discussed in part a., using Abel\u2019s theorem, it can be shown that the series actually converges to [latex]{\\tan}^{-1}\\left(1\\right)[\/latex] and [latex]{\\tan}^{-1}\\left(-1\\right)[\/latex] at [latex]x=1[\/latex] and [latex]x=-1[\/latex], respectively. Thus, the interval of convergence is [latex]\\left[-1,1\\right][\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox watchIt\" aria-label=\"Watch It\">Watch the following video to see the worked solution to the above example.\r\n<iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/eW-UMc7THf0?controls=0&amp;start=257&amp;end=598&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe>\r\n<p class=\"p1\">For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.<\/p>\r\nYou can view the <a href=\"https:\/\/oerfiles.s3.us-west-2.amazonaws.com\/Calculus+II\/Transcripts\/6.2.4_257to598_transcript.html\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip \"6.2.4\" here (opens in new window)<\/a>.\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]311405[\/ohm_question]<\/section>","rendered":"<h2>Differentiating and Integrating Power Series<\/h2>\n<p class=\"whitespace-normal break-words\">Once you have a power series that converges on some interval, two natural questions arise about the function it represents:<\/p>\n<ol class=\"[&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-decimal space-y-1.5 pl-7\">\n<li class=\"whitespace-normal break-words\">Is the function differentiable? If so, how do we find its derivative?<\/li>\n<li class=\"whitespace-normal break-words\">How do we find the indefinite integral of this function?<\/li>\n<\/ol>\n<p class=\"whitespace-normal break-words\">The answer turns out to be remarkably straightforward: you can differentiate and integrate power series term-by-term, just like polynomials.<\/p>\n<p id=\"fs-id1167023761836\">Recall the general expression of the power rules for derivatives and integrals of polynomials.<\/p>\n<section class=\"textbox recall\" aria-label=\"Recall\">\n<p class=\"whitespace-normal break-words\"><strong>Power Rules for Polynomials<\/strong><\/p>\n<ul class=\"[&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-disc space-y-1.5 pl-7\">\n<li class=\"whitespace-normal break-words\">Derivative: [latex]\\frac{d}{dx}(x^n) = nx^{n-1}[\/latex]<\/li>\n<li class=\"whitespace-normal break-words\">Integral: [latex]\\int x^n dx = \\frac{1}{n+1}x^{n+1} + C[\/latex] (for [latex]n \\neq -1[\/latex])<\/li>\n<\/ul>\n<\/section>\n<p class=\"whitespace-pre-wrap break-words\">These familiar rules extend naturally to power series. If you have: [latex]f(x) = \\sum_{n=0}^{\\infty} c_n x^n = c_0 + c_1 x + c_2 x^2 + c_3 x^3 + \\cdots[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">Then you can find:<\/p>\n<p class=\"whitespace-normal break-words\"><strong>Derivative<\/strong>: [latex]f'(x) = c_1 + 2c_2 x + 3c_3 x^2 + 4c_4 x^3 + \\cdots[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\"><strong>Integral<\/strong>: [latex]\\int f(x) dx = C + c_0 x + c_1 \\frac{x^2}{2} + c_2 \\frac{x^3}{3} + c_3 \\frac{x^4}{4} + \\cdots[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">Evaluating the derivative and indefinite integral in this way is called <strong>term-by-term differentiation<\/strong> and <strong>term-by-term integration<\/strong> of a power series, respectively.<\/p>\n<p class=\"whitespace-normal break-words\">The ability to differentiate and integrate power series term-by-term gives you a powerful tool for finding power series representations of new functions. You can start with a known power series and use calculus operations to build series for related functions.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">For example, given the power series for [latex]f(x) = \\frac{1}{1-x}[\/latex], you can differentiate term-by-term to find the power series for [latex]f'(x) = \\frac{1}{(1-x)^2}[\/latex]. Similarly, using the power series for [latex]g(x) = \\frac{1}{1+x}[\/latex], you can integrate term-by-term to find the power series for [latex]G(x) = \\ln(1+x)[\/latex], an antiderivative of [latex]g[\/latex].<\/section>\n<p class=\"whitespace-normal break-words\">We&#8217;ll show how to do this in the next examples. First, let&#8217;s state the main result regarding differentiation and integration of power series.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>theorem: term-by-term differentiation and integration for power series<\/h3>\n<p class=\"whitespace-normal break-words\">Suppose [latex]\\sum_{n=0}^{\\infty} c_n (x-a)^n[\/latex] converges on [latex](a-R, a+R)[\/latex] and defines function [latex]f(x)[\/latex].<\/p>\n<p>&nbsp;<\/p>\n<p class=\"whitespace-normal break-words\">Then [latex]f[\/latex] is <strong>differentiable<\/strong> on [latex](a-R, a+R)[\/latex] and:<\/p>\n<p>&nbsp;<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]f'(x) = \\sum_{n=1}^{\\infty} nc_n (x-a)^{n-1} = c_1 + 2c_2(x-a) + 3c_3(x-a)^2 + \\cdots[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">For <strong>integration<\/strong>:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\int f(x) dx = C + \\sum_{n=0}^{\\infty} c_n \\frac{(x-a)^{n+1}}{n+1} = C + c_0(x-a) + c_1\\frac{(x-a)^2}{2} + c_2\\frac{(x-a)^3}{3} + \\cdots[\/latex]<\/p>\n<p class=\"whitespace-pre-wrap break-words\">Both resulting series converge on the same interval [latex](a-R, a+R)[\/latex].<\/p>\n<\/section>\n<p><em>The proof of this result is beyond the scope of this course.<\/em><\/p>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">While the derivative and integral series have the same radius of convergence as the original series, their behavior at the endpoints might differ. Always check endpoint convergence separately when needed.<\/section>\n<p class=\"whitespace-normal break-words\">Note that while term-by-term differentiation and integration preserve the radius of convergence, the behavior at the endpoints can change. The differentiated and integrated series might converge or diverge at the endpoints even when the original series behaves differently there. We&#8217;ll see examples of this endpoint behavior in the upcoming problems.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">Use the power series representation<\/p>\n<div id=\"fs-id1167023766633\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill f\\left(x\\right)& =\\frac{1}{1-x}\\hfill \\\\ & ={\\displaystyle\\sum _{n=0}^{\\infty}}{x}^{n}\\hfill \\\\ & =1+x+{x}^{2}+{x}^{3}+\\cdots \\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nfor [latex]|x|<1[\/latex] to find a power series representation for<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167023770529\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]g\\left(x\\right)=\\frac{1}{{\\left(1-x\\right)}^{2}}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\non the interval [latex]\\left(-1,1\\right)[\/latex]. Determine whether the resulting series converges at the endpoints.<\/p>\n<p>Use the result of part a. to evaluate the sum of the series [latex]\\displaystyle\\sum _{n=0}^{\\infty }\\frac{n+1}{{4}^{n}}[\/latex].<\/p>\n<p>&nbsp;<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q44558859\">Show Solution<\/button><\/p>\n<div id=\"q44558859\" class=\"hidden-answer\" style=\"display: none\">\n<div id=\"fs-id1167023770631\" data-type=\"solution\">\n<ol id=\"fs-id1167023770634\" type=\"a\">\n<li>Since [latex]g\\left(x\\right)=\\frac{1}{{\\left(1-x\\right)}^{2}}[\/latex] is the derivative of [latex]f\\left(x\\right)=\\frac{1}{1-x}[\/latex], we can find a power series representation for <em data-effect=\"italics\">g<\/em> by differentiating the power series for <em data-effect=\"italics\">f<\/em> term-by-term. The result is<span data-type=\"newline\"><br \/>\n<\/span><\/li>\n<\/ol>\n<\/div>\n<div id=\"fs-id1167023778480\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill g\\left(x\\right)& =\\frac{1}{{\\left(1-x\\right)}^{2}}\\hfill \\\\ & =\\frac{d}{dx}\\left(\\frac{1}{1-x}\\right)\\hfill \\\\ & ={\\displaystyle\\sum _{n=0}^{\\infty}} \\frac{d}{dx}\\left({x}^{n}\\right)\\hfill \\\\ & =\\frac{d}{dx}\\left(1+x+{x}^{2}+{x}^{3}+\\cdots \\right)\\hfill \\\\ & =0+1+2x+3{x}^{2}+4{x}^{3}+\\cdots \\hfill \\\\ & ={\\displaystyle\\sum _{n=0}^{\\infty}}\\left(n+1\\right){x}^{n}\\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nfor [latex]|x|<1[\/latex]. Term-by-Term Differentiation and Integration for Power Series does not guarantee anything about the behavior of this series at the endpoints. Testing the endpoints by using the divergence test, we find that the series diverges at both endpoints [latex]x=\\pm 1[\/latex]. Note that this is the same result found in the previous example.\n\n\n<ol type=\"a\">\n<li style=\"list-style-type: none;\">\n<ol type=\"a\">\n<li style=\"list-style-type: none;\">\n<ul>\n<li>From part a. we know that<span data-type=\"newline\"><br \/>\n<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<div id=\"fs-id1167023784746\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\displaystyle\\sum _{n=0}^{\\infty }\\left(n+1\\right){x}^{n}=\\frac{1}{{\\left(1-x\\right)}^{2}}[\/latex].<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nTherefore,<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167023784817\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {\\displaystyle\\sum _{n=0}^{\\infty}} \\frac{n+1}{{4}^{n}}& ={\\displaystyle\\sum _{n=0}^{\\infty}} \\left(n+1\\right){\\left(\\frac{1}{4}\\right)}^{n}\\hfill \\\\ & =\\frac{1}{{\\left(1-\\frac{1}{4}\\right)}^{2}}\\hfill \\\\ & =\\frac{1}{{\\left(\\frac{3}{4}\\right)}^{2}}\\hfill \\\\ & =\\frac{16}{9}.\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox watchIt\" aria-label=\"Watch It\">Watch the following video to see the worked solution to the above example.<br \/>\n<iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/eW-UMc7THf0?controls=0&amp;start=0&amp;end=256&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div style=\"text-align: center;\"><\/div>\n<p class=\"p1\">For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.<\/p>\n<p>You can view the <a href=\"https:\/\/oerfiles.s3.us-west-2.amazonaws.com\/Calculus+II\/Transcripts\/6.2.4_0to256_transcript.html\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip of &#8220;6.2.4&#8221; here (opens in new window)<\/a>.<\/p>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">\n<div id=\"fs-id1167023911158\" data-type=\"problem\">\n<p id=\"fs-id1167023779742\">For each of the following functions <em data-effect=\"italics\">f<\/em>, find a power series representation for <em data-effect=\"italics\">f<\/em> by integrating the power series for [latex]{f}^{\\prime }[\/latex] and find its interval of convergence.<\/p>\n<ol id=\"fs-id1167023779763\" type=\"a\">\n<li>[latex]f\\left(x\\right)=\\text{ln}\\left(1+x\\right)[\/latex]<\/li>\n<li>[latex]f\\left(x\\right)={\\tan}^{-1}x[\/latex]<\/li>\n<\/ol>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q44558829\">Show Solution<\/button><\/p>\n<div id=\"q44558829\" class=\"hidden-answer\" style=\"display: none\">\n<ol id=\"fs-id1167023779830\" type=\"a\">\n<li>For [latex]f\\left(x\\right)=\\text{ln}\\left(1+x\\right)[\/latex], the derivative is [latex]{f}^{\\prime }\\left(x\\right)=\\frac{1}{1+x}[\/latex]. We know that<\/li>\n<\/ol>\n<div id=\"fs-id1167023807109\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill \\frac{1}{1+x}& =\\frac{1}{1-\\left(\\text{-}x\\right)}\\hfill \\\\ & ={\\displaystyle\\sum _{n=0}^{\\infty}}{\\left(\\text{-}x\\right)}^{n}\\hfill \\\\ & =1-x+{x}^{2}-{x}^{3}+\\cdots \\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nfor [latex]|x|<1[\/latex]. To find a power series for [latex]f\\left(x\\right)=\\text{ln}\\left(1+x\\right)[\/latex], we integrate the series term-by-term.<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167023809849\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {\\displaystyle\\int {f}^{\\prime }\\left(x\\right)dx}& ={\\displaystyle\\int \\left(1-x+{x}^{2}-{x}^{3}+\\cdots \\right)dx}\\hfill \\\\ & =C+x-\\frac{{x}^{2}}{2}+\\frac{{x}^{3}}{3}-\\frac{{x}^{4}}{4}+\\cdots \\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nSince [latex]f\\left(x\\right)=\\text{ln}\\left(1+x\\right)[\/latex] is an antiderivative of [latex]\\frac{1}{1+x}[\/latex], it remains to solve for the constant <em data-effect=\"italics\">C<\/em>. Since [latex]\\text{ln}\\left(1+0\\right)=0[\/latex], we have [latex]C=0[\/latex]. Therefore, a power series representation for [latex]f\\left(x\\right)=\\text{ln}\\left(1+x\\right)[\/latex] is<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167023775238\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill \\text{ln}\\left(1+x\\right)& =x-\\frac{{x}^{2}}{2}+\\frac{{x}^{3}}{3}-\\frac{{x}^{4}}{4}+\\cdots \\hfill \\\\ & ={\\displaystyle\\sum _{n=1}^{\\infty}}{\\left(-1\\right)}^{n+1}\\frac{{x}^{n}}{n}\\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nfor [latex]|x|<1[\/latex]. Term-by-Term Differentiation and Integration for Power Series does not guarantee anything about the behavior of this power series at the endpoints. However, checking the endpoints, we find that at [latex]x=1[\/latex] the series is the alternating harmonic series, which converges. Also, at [latex]x=-1[\/latex], the series is the harmonic series, which diverges. It is important to note that, even though this series converges at [latex]x=1[\/latex], Term-by-Term Differentiation and Integration for Power Series does not guarantee that the series actually converges to [latex]\\text{ln}\\left(2\\right)[\/latex]. In fact, the series does converge to [latex]\\text{ln}\\left(2\\right)[\/latex], but showing this fact requires more advanced techniques. (Abel\u2019s theorem, covered in more advanced texts, deals with this more technical point.) The interval of convergence is [latex]\\left(-1,1\\right][\/latex].\n\n\n<ul>\n<li>The derivative of [latex]f\\left(x\\right)={\\tan}^{-1}x[\/latex] is [latex]{f}^{\\prime }\\left(x\\right)=\\frac{1}{1+{x}^{2}}[\/latex]. We know that<span data-type=\"newline\"><br \/>\n<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<div id=\"fs-id1167023787852\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill \\frac{1}{1+{x}^{2}}& =\\frac{1}{1-\\left(\\text{-}{x}^{2}\\right)}\\hfill \\\\ & ={\\displaystyle\\sum _{n=0}^{\\infty}}{\\left(-{x}^{2}\\right)}^{n}\\hfill \\\\ & =1-{x}^{2}+{x}^{4}-{x}^{6}+\\cdots \\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nfor [latex]|x|<1[\/latex]. To find a power series for [latex]f\\left(x\\right)={\\tan}^{-1}x[\/latex], we integrate this series term-by-term.<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167023811464\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {\\displaystyle\\int {f}^{\\prime }\\left(x\\right)dx}& ={\\displaystyle\\int \\left(1-{x}^{2}+{x}^{4}-{x}^{6}+\\cdots \\right)dx}\\hfill \\\\ & =C+x-\\frac{{x}^{3}}{3}+\\frac{{x}^{5}}{5}-\\frac{{x}^{7}}{7}+\\cdots \\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nSince [latex]{\\tan}^{-1}\\left(0\\right)=0[\/latex], we have [latex]C=0[\/latex]. Therefore, a power series representation for [latex]f\\left(x\\right)={\\tan}^{-1}x[\/latex] is<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167023802567\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {\\tan}^{-1}x& =x-\\frac{{x}^{3}}{3}+\\frac{{x}^{5}}{5}-\\frac{{x}^{7}}{7}+\\cdots \\hfill \\\\ & ={\\displaystyle\\sum _{n=0}^{\\infty}}{\\left(-1\\right)}^{n}\\frac{{x}^{2n+1}}{2n+1}\\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nfor [latex]|x|<1[\/latex]. Again, Term-by-Term Differentiation and Integration for Power Series does not guarantee anything about the convergence of this series at the endpoints. However, checking the endpoints and using the alternating series test, we find that the series converges at [latex]x=1[\/latex] and [latex]x=-1[\/latex]. As discussed in part a., using Abel\u2019s theorem, it can be shown that the series actually converges to [latex]{\\tan}^{-1}\\left(1\\right)[\/latex] and [latex]{\\tan}^{-1}\\left(-1\\right)[\/latex] at [latex]x=1[\/latex] and [latex]x=-1[\/latex], respectively. Thus, the interval of convergence is [latex]\\left[-1,1\\right][\/latex].\n\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox watchIt\" aria-label=\"Watch It\">Watch the following video to see the worked solution to the above example.<br \/>\n<iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/eW-UMc7THf0?controls=0&amp;start=257&amp;end=598&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p class=\"p1\">For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.<\/p>\n<p>You can view the <a href=\"https:\/\/oerfiles.s3.us-west-2.amazonaws.com\/Calculus+II\/Transcripts\/6.2.4_257to598_transcript.html\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip &#8220;6.2.4&#8221; here (opens in new window)<\/a>.<\/p>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm311405\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=311405&theme=lumen&iframe_resize_id=ohm311405&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n","protected":false},"author":15,"menu_order":13,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":673,"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\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/935"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/users\/15"}],"version-history":[{"count":8,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/935\/revisions"}],"predecessor-version":[{"id":2328,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/935\/revisions\/2328"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/parts\/673"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/935\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/media?parent=935"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapter-type?post=935"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/contributor?post=935"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/license?post=935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}