{"id":946,"date":"2025-06-20T17:24:26","date_gmt":"2025-06-20T17:24:26","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus2\/?post_type=chapter&#038;p=946"},"modified":"2025-09-12T14:10:13","modified_gmt":"2025-09-12T14:10:13","slug":"taylor-and-maclaurin-series-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus2\/chapter\/taylor-and-maclaurin-series-learn-it-2\/","title":{"raw":"Taylor and Maclaurin Series: Learn It 2","rendered":"Taylor and Maclaurin Series: Learn It 2"},"content":{"raw":"<h2 data-type=\"title\">Taylor Polynomials<\/h2>\r\n<p id=\"fs-id1167025239889\">The [latex]n[\/latex]th partial sum of the Taylor series for a function [latex]f[\/latex] at [latex]a[\/latex] is called the <strong>[latex]n[\/latex]th Taylor polynomial<\/strong>.<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">\r\n<p class=\"whitespace-normal break-words\">The first few Taylor polynomials are:<\/p>\r\n\r\n<ul>\r\n \t<li class=\"whitespace-normal break-words\">[latex]p_0(x) = f(a)[\/latex]<\/li>\r\n \t<li class=\"whitespace-normal break-words\">[latex]p_1(x) = f(a) + f'(a)(x-a)[\/latex]<\/li>\r\n \t<li class=\"whitespace-normal break-words\">[latex]p_2(x) = f(a) + f'(a)(x-a) + \\frac{f''(a)}{2!}(x-a)^2[\/latex]<\/li>\r\n \t<li class=\"whitespace-normal break-words\">[latex]p_3(x) = f(a) + f'(a)(x-a) + \\frac{f''(a)}{2!}(x-a)^2 + \\frac{f'''(a)}{3!}(x-a)^3[\/latex]<\/li>\r\n<\/ul>\r\n<\/section>These are the [latex]0[\/latex]th, [latex]1[\/latex]st, [latex]2[\/latex]nd, and [latex]3[\/latex]rd Taylor polynomials of [latex]f[\/latex] at [latex]a[\/latex], respectively. When [latex]a = 0[\/latex], these are called <strong>Maclaurin polynomials<\/strong>. We now provide a formal definition of Taylor and Maclaurin polynomials for a function [latex]f[\/latex].\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>Taylor polynomial<\/h3>\r\n<p id=\"fs-id1167024983571\">If [latex]f[\/latex] has [latex]n[\/latex] derivatives at [latex]x = a[\/latex], then the [latex]n[\/latex]th Taylor polynomial for [latex]f[\/latex] at [latex]a[\/latex] is:<\/p>\r\n\r\n<div id=\"fs-id1167025091916\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]{p}_{n}\\left(x\\right)=f\\left(a\\right)+{f}^{\\prime }\\left(a\\right)\\left(x-a\\right)+\\frac{f^{\\prime\\prime}\\left(a\\right)}{2\\text{!}}{\\left(x-a\\right)}^{2}+\\frac{f^{\\prime\\prime\\prime}\\left(a\\right)}{3\\text{!}}{\\left(x-a\\right)}^{3}+\\cdots +\\frac{{f}^{\\left(n\\right)}\\left(a\\right)}{n\\text{!}}{\\left(x-a\\right)}^{n}[\/latex].<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1167025134804\">The [latex]n[\/latex]th Taylor polynomial for [latex]f[\/latex] at [latex]0[\/latex] is known as the [latex]n[\/latex]th\u00a0Maclaurin polynomial for [latex]f[\/latex].<\/p>\r\n\r\n<\/section>Let's see how to use this definition by finding several Taylor polynomials for [latex]f(x) = \\ln x[\/latex] at [latex]x = 1[\/latex].\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">\r\n<div id=\"fs-id1167025228656\" data-type=\"problem\">\r\n<p id=\"fs-id1167024978555\">Find the Taylor polynomials [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex] for [latex]f\\left(x\\right)=\\text{ln}x[\/latex] at [latex]x=1[\/latex]. Use a graphing utility to compare the graph of [latex]f[\/latex] with the graphs of [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex].<\/p>\r\n\r\n<\/div>\r\n[reveal-answer q=\"44558899\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"44558899\"]\r\n<div id=\"fs-id1167025040285\" data-type=\"solution\">\r\n<p id=\"fs-id1167025154312\">To find these Taylor polynomials, we need to evaluate [latex]f[\/latex] and its first three derivatives at [latex]x=1[\/latex].<\/p>\r\n\r\n<div id=\"fs-id1167025154330\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cccccccc}\\hfill f\\left(x\\right)&amp; =\\hfill &amp; \\text{ln}x\\hfill &amp; &amp; &amp; \\hfill f\\left(1\\right)&amp; =\\hfill &amp; 0\\hfill \\\\ \\hfill {f}^{\\prime }\\left(x\\right)&amp; =\\hfill &amp; \\frac{1}{x}\\hfill &amp; &amp; &amp; \\hfill {f}^{\\prime }\\left(1\\right)&amp; =\\hfill &amp; 1\\hfill \\\\ \\hfill f^{\\prime\\prime}\\left(x\\right)&amp; =\\hfill &amp; -\\frac{1}{{x}^{2}}\\hfill &amp; &amp; &amp; \\hfill f^{\\prime\\prime}\\left(1\\right)&amp; =\\hfill &amp; -1\\hfill \\\\ \\hfill f^{\\prime\\prime\\prime}\\left(x\\right)&amp; =\\hfill &amp; \\frac{2}{{x}^{3}}\\hfill &amp; &amp; &amp; \\hfill f^{\\prime\\prime\\prime}\\left(1\\right)&amp; =\\hfill &amp; 2\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1167025040302\">Therefore,<\/p>\r\n\r\n<div id=\"fs-id1167025040305\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill {p}_{0}\\left(x\\right)&amp; =\\hfill &amp; f\\left(1\\right)=0,\\hfill \\\\ \\hfill {p}_{1}\\left(x\\right)&amp; =\\hfill &amp; f\\left(1\\right)+{f}^{\\prime }\\left(1\\right)\\left(x - 1\\right)=x - 1,\\hfill \\\\ \\hfill {p}_{2}\\left(x\\right)&amp; =\\hfill &amp; f\\left(1\\right)+{f}^{\\prime }\\left(1\\right)\\left(x - 1\\right)+\\frac{f^{\\prime\\prime}\\left(1\\right)}{2}{\\left(x - 1\\right)}^{2}=\\left(x - 1\\right)-\\frac{1}{2}{\\left(x - 1\\right)}^{2},\\hfill \\\\ \\hfill {p}_{3}\\left(x\\right)&amp; =\\hfill &amp; f\\left(1\\right)+{f}^{\\prime }\\left(1\\right)\\left(x - 1\\right)+\\frac{f^{\\prime\\prime}\\left(1\\right)}{2}{\\left(x - 1\\right)}^{2}+\\frac{f^{\\prime\\prime\\prime}\\left(1\\right)}{3\\text{!}}{\\left(x - 1\\right)}^{3}\\hfill \\\\ &amp; =\\hfill &amp; \\left(x - 1\\right)-\\frac{1}{2}{\\left(x - 1\\right)}^{2}+\\frac{1}{3}{\\left(x - 1\\right)}^{3}.\\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1167024971031\">The graphs of [latex]y=f\\left(x\\right)[\/latex] and the first three Taylor polynomials are shown in Figure 1.<\/p>\r\n\r\n<figure id=\"CNX_Calc_Figure_10_03_001\"><figcaption><\/figcaption>[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/4175\/2019\/04\/11234510\/CNX_Calc_Figure_10_03_001.jpg\" alt=\"This graph has four curves. The first is the function f(x)=ln(x). The second function is psub1(x)=x-1. The third is psub2(x)=(x-1)-1\/2(x-1)^2. The fourth is psub3(x)=(x-1)-1\/2(x-1)^2 +1\/3(x-1)^3. The curves are very close around x = 1.\" width=\"487\" height=\"364\" data-media-type=\"image\/jpeg\" \/> Figure 1. The function [latex]y=\\text{ln}x[\/latex] and the Taylor polynomials [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex] at [latex]x=1[\/latex] are plotted on this graph.[\/caption]<\/figure>\r\n<\/div>\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.<center><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/oQkN46wsyJs?controls=0&amp;start=331&amp;end=545&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/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.3TaylorAndMaclaurinSeries331to545_transcript.html\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip of \"6.3 Taylor and Maclaurin Series\" 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]311963[\/ohm_question]<\/section>We now show how to find Maclaurin polynomials for [latex]e^{x}[\/latex], [latex]\\sin{x}[\/latex], and [latex]\\cos{x}[\/latex]. As stated above, Maclaurin polynomials are Taylor polynomials centered at zero.\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">\r\n<div id=\"fs-id1167025111740\" data-type=\"problem\">\r\n<p id=\"fs-id1167025111745\">For each of the following functions, find formulas for the Maclaurin polynomials [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex]. Find a formula for the <em data-effect=\"italics\">n<\/em>th Maclaurin polynomial and write it using sigma notation. Use a graphing utilty to compare the graphs of [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex] with [latex]f[\/latex].<\/p>\r\n\r\n<ol id=\"fs-id1167025238039\" type=\"a\">\r\n \t<li>[latex]f\\left(x\\right)={e}^{x}[\/latex]<\/li>\r\n \t<li>[latex]f\\left(x\\right)=\\sin{x}[\/latex]<\/li>\r\n \t<li>[latex]f\\left(x\\right)=\\cos{x}[\/latex]<\/li>\r\n<\/ol>\r\n<\/div>\r\n[reveal-answer q=\"44558896\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"44558896\"]\r\n<ol id=\"fs-id1167025118800\" type=\"a\">\r\n \t<li>Since [latex]f\\left(x\\right)={e}^{x}[\/latex], we know that [latex]f\\left(x\\right)={f}^{\\prime }\\left(x\\right)=f^{\\prime\\prime}\\left(x\\right)=\\cdots ={f}^{\\left(n\\right)}\\left(x\\right)={e}^{x}[\/latex] for all positive integers <em data-effect=\"italics\">n<\/em>. Therefore,<span data-type=\"newline\">\r\n<\/span><\/li>\r\n<\/ol>\r\n<div id=\"fs-id1167025069158\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]f\\left(0\\right)={f}^{\\prime }\\left(0\\right)=f^{\\prime\\prime}\\left(0\\right)=\\cdots ={f}^{\\left(n\\right)}\\left(0\\right)=1[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nfor all positive integers <em data-effect=\"italics\">n<\/em>. Therefore, we have<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167024875791\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill {p}_{0}\\left(x\\right)&amp; =\\hfill &amp; f\\left(0\\right)=1,\\hfill \\\\ \\hfill {p}_{1}\\left(x\\right)&amp; =\\hfill &amp; f\\left(0\\right)+{f}^{\\prime }\\left(0\\right)x=1+x,\\hfill \\\\ \\hfill {p}_{2}\\left(x\\right)&amp; =\\hfill &amp; f\\left(0\\right)+{f}^{\\prime }\\left(0\\right)x+\\frac{f^{\\prime\\prime}\\left(0\\right)}{2\\text{!}}{x}^{2}=1+x+\\frac{1}{2}{x}^{2},\\hfill \\\\ \\hfill {p}_{3}\\left(x\\right)&amp; =\\hfill &amp; f\\left(0\\right)+{f}^{\\prime }\\left(0\\right)x+\\frac{f^{\\prime\\prime}\\left(0\\right)}{2}{x}^{2}+\\frac{f^{\\prime\\prime\\prime}\\left(0\\right)}{3\\text{!}}{x}^{3}\\hfill \\\\ &amp; =\\hfill &amp; 1+x+\\frac{1}{2}{x}^{2}+\\frac{1}{3\\text{!}}{x}^{3},\\hfill \\\\ \\hfill {p}_{n}\\left(x\\right)&amp; =\\hfill &amp; f\\left(0\\right)+{f}^{\\prime }\\left(0\\right)x+\\frac{f^{\\prime\\prime}\\left(0\\right)}{2}{x}^{2}+\\frac{f^{\\prime\\prime\\prime}\\left(0\\right)}{3\\text{!}}{x}^{3}+\\cdots +\\frac{{f}^{\\left(n\\right)}\\left(0\\right)}{n\\text{!}}{x}^{n}\\hfill \\\\ &amp; =\\hfill &amp; 1+x+\\frac{{x}^{2}}{2\\text{!}}+\\frac{{x}^{3}}{3\\text{!}}+\\cdots +\\frac{{x}^{n}}{n\\text{!}}\\hfill \\\\ &amp; =\\hfill &amp; {\\displaystyle\\sum _{k=0}^{n}}\\frac{{x}^{k}}{k\\text{!}}.\\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nThe function and the first three Maclaurin polynomials are shown in Figure 2.<span data-type=\"newline\">\r\n<\/span>\r\n<figure id=\"CNX_Calc_Figure_10_03_002\">[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/4175\/2019\/04\/11234513\/CNX_Calc_Figure_10_03_002.jpg\" alt=\"This graph has four curves. The first is the function f(x)=e^x. The second function is psub0(x)=1. The third is psub1(x) which is an increasing line passing through y=1. The fourth function is psub3(x) which is a curve passing through y=1. The curves are very close around y= 1.\" width=\"487\" height=\"321\" data-media-type=\"image\/jpeg\" \/> Figure 2. The graph shows the function [latex]y={e}^{x}[\/latex] and the Maclaurin polynomials [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex].[\/caption]<\/figure>\r\n<ul>\r\n \t<li>For [latex]f\\left(x\\right)=\\sin{x}[\/latex], the values of the function and its first four derivatives at [latex]x=0[\/latex] are given as follows:<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167024874943\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cccccccc}\\hfill f\\left(x\\right)&amp; =\\hfill &amp; \\sin{x}\\hfill &amp; &amp; &amp; \\hfill f\\left(0\\right)&amp; =\\hfill &amp; 0\\hfill \\\\ \\hfill {f}^{\\prime }\\left(x\\right)&amp; =\\hfill &amp; \\cos{x}\\hfill &amp; &amp; &amp; \\hfill {f}^{\\prime }\\left(0\\right)&amp; =\\hfill &amp; 1\\hfill \\\\ \\hfill f^{\\prime\\prime}\\left(x\\right)&amp; =\\hfill &amp; -\\sin{x}\\hfill &amp; &amp; &amp; \\hfill f^{\\prime\\prime}\\left(0\\right)&amp; =\\hfill &amp; 0\\hfill \\\\ \\hfill f^{\\prime\\prime\\prime}\\left(x\\right)&amp; =\\hfill &amp; -\\cos{x}\\hfill &amp; &amp; &amp; \\hfill f^{\\prime\\prime\\prime}\\left(0\\right)&amp; =\\hfill &amp; -1\\hfill \\\\ \\hfill {f}^{\\left(4\\right)}\\left(x\\right)&amp; =\\hfill &amp; \\sin{x}\\hfill &amp; &amp; &amp; \\hfill {f}^{\\left(4\\right)}\\left(0\\right)&amp; =\\hfill &amp; 0.\\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nSince the fourth derivative is [latex]\\sin{x}[\/latex], the pattern repeats. That is, [latex]{f}^{\\left(2m\\right)}\\left(0\\right)=0[\/latex] and [latex]{f}^{\\left(2m+1\\right)}\\left(0\\right)={\\left(-1\\right)}^{m}[\/latex] for [latex]m\\ge 0[\/latex]. Thus, we have<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167025229347\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{c}{p}_{0}\\left(x\\right)=0,\\hfill \\\\ {p}_{1}\\left(x\\right)=0+x=x,\\hfill \\\\ {p}_{2}\\left(x\\right)=0+x+0=x,\\hfill \\\\ {p}_{3}\\left(x\\right)=0+x+0-\\frac{1}{3\\text{!}}{x}^{3}=x-\\frac{{x}^{3}}{3\\text{!}},\\hfill \\\\ {p}_{4}\\left(x\\right)=0+x+0-\\frac{1}{3\\text{!}}{x}^{3}+0=x-\\frac{{x}^{3}}{3\\text{!}},\\hfill \\\\ {p}_{5}\\left(x\\right)=0+x+0-\\frac{1}{3\\text{!}}{x}^{3}+0+\\frac{1}{5\\text{!}}{x}^{5}=x-\\frac{{x}^{3}}{3\\text{!}}+\\frac{{x}^{5}}{5\\text{!}},\\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nand for [latex]m\\ge 0[\/latex], <span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167025241412\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {p}_{2m+1}\\left(x\\right)&amp; ={p}_{2m+2}\\left(x\\right)\\hfill \\\\ &amp; =x-\\frac{{x}^{3}}{3\\text{!}}+\\frac{{x}^{5}}{5\\text{!}}-\\cdots +{\\left(-1\\right)}^{m}\\frac{{x}^{2m+1}}{\\left(2m+1\\right)\\text{!}}\\hfill \\\\ &amp; ={\\displaystyle\\sum _{k=0}^{m}}{\\left(-1\\right)}^{k}\\frac{{x}^{2k+1}}{\\left(2k+1\\right)\\text{!}}.\\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nGraphs of the function and its Maclaurin polynomials are shown in Figure 3.<span data-type=\"newline\">\r\n<\/span>\r\n<figure id=\"CNX_Calc_Figure_10_03_003\">[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/4175\/2019\/04\/11234515\/CNX_Calc_Figure_10_03_003.jpg\" alt=\"This graph has four curves. The first is the function f(x)=sin(x). The second function is psub1(x). The third is psub3(x). The fourth function is psub5(x). The curves are very close around x=0.\" width=\"487\" height=\"350\" data-media-type=\"image\/jpeg\" \/> Figure 3. The graph shows the function [latex]y=\\sin{x}[\/latex] and the Maclaurin polynomials [latex]{p}_{1},{p}_{3}[\/latex] and [latex]{p}_{5}[\/latex].[\/caption]<\/figure>\r\n<\/li>\r\n \t<li>For [latex]f\\left(x\\right)=\\cos{x}[\/latex], the values of the function and its first four derivatives at [latex]x=0[\/latex] are given as follows:<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167025069824\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cccccccc}\\hfill f\\left(x\\right)&amp; =\\hfill &amp; \\cos{x}\\hfill &amp; &amp; &amp; \\hfill f\\left(0\\right)&amp; =\\hfill &amp; 1\\hfill \\\\ \\hfill {f}^{\\prime }\\left(x\\right)&amp; =\\hfill &amp; -\\sin{x}\\hfill &amp; &amp; &amp; \\hfill {f}^{\\prime }\\left(0\\right)&amp; =\\hfill &amp; 0\\hfill \\\\ \\hfill f^{\\prime\\prime}\\left(x\\right)&amp; =\\hfill &amp; -\\cos{x}\\hfill &amp; &amp; &amp; \\hfill f^{\\prime\\prime}\\left(0\\right)&amp; =\\hfill &amp; -1\\hfill \\\\ \\hfill f^{\\prime\\prime\\prime}\\left(x\\right)&amp; =\\hfill &amp; \\sin{x}\\hfill &amp; &amp; &amp; \\hfill f^{\\prime\\prime\\prime}\\left(0\\right)&amp; =\\hfill &amp; 0\\hfill \\\\ \\hfill {f}^{\\left(4\\right)}\\left(x\\right)&amp; =\\hfill &amp; \\cos{x}\\hfill &amp; &amp; &amp; \\hfill {f}^{\\left(4\\right)}\\left(0\\right)&amp; =\\hfill &amp; 1.\\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nSince the fourth derivative is [latex]\\sin{x}[\/latex], the pattern repeats. In other words, [latex]{f}^{\\left(2m\\right)}\\left(0\\right)={\\left(-1\\right)}^{m}[\/latex] and [latex]{f}^{\\left(2m+1\\right)}=0[\/latex] for [latex]m\\ge 0[\/latex]. Therefore,<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167025087805\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{c}{p}_{0}\\left(x\\right)=1,\\hfill \\\\ {p}_{1}\\left(x\\right)=1+0=1,\\hfill \\\\ {p}_{2}\\left(x\\right)=1+0-\\frac{1}{2\\text{!}}{x}^{2}=1-\\frac{{x}^{2}}{2\\text{!}},\\hfill \\\\ {p}_{3}\\left(x\\right)=1+0-\\frac{1}{2\\text{!}}{x}^{2}+0=1-\\frac{{x}^{2}}{2\\text{!}},\\hfill \\\\ {p}_{4}\\left(x\\right)=1+0-\\frac{1}{2\\text{!}}{x}^{2}+0+\\frac{1}{4\\text{!}}{x}^{4}=1-\\frac{{x}^{2}}{2\\text{!}}+\\frac{{x}^{4}}{4\\text{!}},\\hfill \\\\ {p}_{5}\\left(x\\right)=1+0-\\frac{1}{2\\text{!}}{x}^{2}+0+\\frac{1}{4\\text{!}}{x}^{4}+0=1-\\frac{{x}^{2}}{2\\text{!}}+\\frac{{x}^{4}}{4\\text{!}},\\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nand for [latex]n\\ge 0[\/latex], <span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-id1167025230186\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {p}_{2m}\\left(x\\right)&amp; ={p}_{2m+1}\\left(x\\right)\\hfill \\\\ &amp; =1-\\frac{{x}^{2}}{2\\text{!}}+\\frac{{x}^{4}}{4\\text{!}}-\\cdots +{\\left(-1\\right)}^{m}\\frac{{x}^{2m}}{\\left(2m\\right)\\text{!}}\\hfill \\\\ &amp; ={\\displaystyle\\sum _{k=0}^{m}}{\\left(-1\\right)}^{k}\\frac{{x}^{2k}}{\\left(2k\\right)\\text{!}}.\\hfill \\end{array}[\/latex]<\/div>\r\n<span data-type=\"newline\">\r\n<\/span>\r\nGraphs of the function and the Maclaurin polynomials appear in Figure 4.<span data-type=\"newline\">\r\n<\/span>\r\n<figure id=\"CNX_Calc_Figure_10_03_004\">[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/4175\/2019\/04\/11234518\/CNX_Calc_Figure_10_03_004.jpg\" alt=\"This graph has four curves. The first is the function f(x)=cos(x). The second function is psub0(x). The third is psub2(x). The fourth function is psub4(x). The curves are very close around y=1\" width=\"487\" height=\"312\" data-media-type=\"image\/jpeg\" \/> Figure 4. The function [latex]y=\\cos{x}[\/latex] and the Maclaurin polynomials [latex]{p}_{0},{p}_{2}[\/latex] and [latex]{p}_{4}[\/latex] are plotted on this graph.[\/caption]<\/figure>\r\n<\/li>\r\n<\/ul>\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.<center><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/oQkN46wsyJs?controls=0&amp;start=546&amp;end=1086&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/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.3TaylorAndMaclaurinSeries546to1086_transcript.html\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip of \"6.3 Taylor and Maclaurin Series\" here (opens in new window)<\/a>.\r\n\r\n<\/section>","rendered":"<h2 data-type=\"title\">Taylor Polynomials<\/h2>\n<p id=\"fs-id1167025239889\">The [latex]n[\/latex]th partial sum of the Taylor series for a function [latex]f[\/latex] at [latex]a[\/latex] is called the <strong>[latex]n[\/latex]th Taylor polynomial<\/strong>.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">\n<p class=\"whitespace-normal break-words\">The first few Taylor polynomials are:<\/p>\n<ul>\n<li class=\"whitespace-normal break-words\">[latex]p_0(x) = f(a)[\/latex]<\/li>\n<li class=\"whitespace-normal break-words\">[latex]p_1(x) = f(a) + f'(a)(x-a)[\/latex]<\/li>\n<li class=\"whitespace-normal break-words\">[latex]p_2(x) = f(a) + f'(a)(x-a) + \\frac{f''(a)}{2!}(x-a)^2[\/latex]<\/li>\n<li class=\"whitespace-normal break-words\">[latex]p_3(x) = f(a) + f'(a)(x-a) + \\frac{f''(a)}{2!}(x-a)^2 + \\frac{f'''(a)}{3!}(x-a)^3[\/latex]<\/li>\n<\/ul>\n<\/section>\n<p>These are the [latex]0[\/latex]th, [latex]1[\/latex]st, [latex]2[\/latex]nd, and [latex]3[\/latex]rd Taylor polynomials of [latex]f[\/latex] at [latex]a[\/latex], respectively. When [latex]a = 0[\/latex], these are called <strong>Maclaurin polynomials<\/strong>. We now provide a formal definition of Taylor and Maclaurin polynomials for a function [latex]f[\/latex].<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>Taylor polynomial<\/h3>\n<p id=\"fs-id1167024983571\">If [latex]f[\/latex] has [latex]n[\/latex] derivatives at [latex]x = a[\/latex], then the [latex]n[\/latex]th Taylor polynomial for [latex]f[\/latex] at [latex]a[\/latex] is:<\/p>\n<div id=\"fs-id1167025091916\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]{p}_{n}\\left(x\\right)=f\\left(a\\right)+{f}^{\\prime }\\left(a\\right)\\left(x-a\\right)+\\frac{f^{\\prime\\prime}\\left(a\\right)}{2\\text{!}}{\\left(x-a\\right)}^{2}+\\frac{f^{\\prime\\prime\\prime}\\left(a\\right)}{3\\text{!}}{\\left(x-a\\right)}^{3}+\\cdots +\\frac{{f}^{\\left(n\\right)}\\left(a\\right)}{n\\text{!}}{\\left(x-a\\right)}^{n}[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1167025134804\">The [latex]n[\/latex]th Taylor polynomial for [latex]f[\/latex] at [latex]0[\/latex] is known as the [latex]n[\/latex]th\u00a0Maclaurin polynomial for [latex]f[\/latex].<\/p>\n<\/section>\n<p>Let&#8217;s see how to use this definition by finding several Taylor polynomials for [latex]f(x) = \\ln x[\/latex] at [latex]x = 1[\/latex].<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">\n<div id=\"fs-id1167025228656\" data-type=\"problem\">\n<p id=\"fs-id1167024978555\">Find the Taylor polynomials [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex] for [latex]f\\left(x\\right)=\\text{ln}x[\/latex] at [latex]x=1[\/latex]. Use a graphing utility to compare the graph of [latex]f[\/latex] with the graphs of [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex].<\/p>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q44558899\">Show Solution<\/button><\/p>\n<div id=\"q44558899\" class=\"hidden-answer\" style=\"display: none\">\n<div id=\"fs-id1167025040285\" data-type=\"solution\">\n<p id=\"fs-id1167025154312\">To find these Taylor polynomials, we need to evaluate [latex]f[\/latex] and its first three derivatives at [latex]x=1[\/latex].<\/p>\n<div id=\"fs-id1167025154330\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cccccccc}\\hfill f\\left(x\\right)& =\\hfill & \\text{ln}x\\hfill & & & \\hfill f\\left(1\\right)& =\\hfill & 0\\hfill \\\\ \\hfill {f}^{\\prime }\\left(x\\right)& =\\hfill & \\frac{1}{x}\\hfill & & & \\hfill {f}^{\\prime }\\left(1\\right)& =\\hfill & 1\\hfill \\\\ \\hfill f^{\\prime\\prime}\\left(x\\right)& =\\hfill & -\\frac{1}{{x}^{2}}\\hfill & & & \\hfill f^{\\prime\\prime}\\left(1\\right)& =\\hfill & -1\\hfill \\\\ \\hfill f^{\\prime\\prime\\prime}\\left(x\\right)& =\\hfill & \\frac{2}{{x}^{3}}\\hfill & & & \\hfill f^{\\prime\\prime\\prime}\\left(1\\right)& =\\hfill & 2\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1167025040302\">Therefore,<\/p>\n<div id=\"fs-id1167025040305\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill {p}_{0}\\left(x\\right)& =\\hfill & f\\left(1\\right)=0,\\hfill \\\\ \\hfill {p}_{1}\\left(x\\right)& =\\hfill & f\\left(1\\right)+{f}^{\\prime }\\left(1\\right)\\left(x - 1\\right)=x - 1,\\hfill \\\\ \\hfill {p}_{2}\\left(x\\right)& =\\hfill & f\\left(1\\right)+{f}^{\\prime }\\left(1\\right)\\left(x - 1\\right)+\\frac{f^{\\prime\\prime}\\left(1\\right)}{2}{\\left(x - 1\\right)}^{2}=\\left(x - 1\\right)-\\frac{1}{2}{\\left(x - 1\\right)}^{2},\\hfill \\\\ \\hfill {p}_{3}\\left(x\\right)& =\\hfill & f\\left(1\\right)+{f}^{\\prime }\\left(1\\right)\\left(x - 1\\right)+\\frac{f^{\\prime\\prime}\\left(1\\right)}{2}{\\left(x - 1\\right)}^{2}+\\frac{f^{\\prime\\prime\\prime}\\left(1\\right)}{3\\text{!}}{\\left(x - 1\\right)}^{3}\\hfill \\\\ & =\\hfill & \\left(x - 1\\right)-\\frac{1}{2}{\\left(x - 1\\right)}^{2}+\\frac{1}{3}{\\left(x - 1\\right)}^{3}.\\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1167024971031\">The graphs of [latex]y=f\\left(x\\right)[\/latex] and the first three Taylor polynomials are shown in Figure 1.<\/p>\n<figure id=\"CNX_Calc_Figure_10_03_001\"><figcaption><\/figcaption><figure style=\"width: 487px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/4175\/2019\/04\/11234510\/CNX_Calc_Figure_10_03_001.jpg\" alt=\"This graph has four curves. The first is the function f(x)=ln(x). The second function is psub1(x)=x-1. The third is psub2(x)=(x-1)-1\/2(x-1)^2. The fourth is psub3(x)=(x-1)-1\/2(x-1)^2 +1\/3(x-1)^3. The curves are very close around x = 1.\" width=\"487\" height=\"364\" data-media-type=\"image\/jpeg\" \/><figcaption class=\"wp-caption-text\">Figure 1. The function [latex]y=\\text{ln}x[\/latex] and the Taylor polynomials [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex] at [latex]x=1[\/latex] are plotted on this graph.<\/figcaption><\/figure>\n<\/figure>\n<\/div>\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.<\/p>\n<div style=\"text-align: center;\"><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/oQkN46wsyJs?controls=0&amp;start=331&amp;end=545&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/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.3TaylorAndMaclaurinSeries331to545_transcript.html\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip of &#8220;6.3 Taylor and Maclaurin Series&#8221; here (opens in new window)<\/a>.<\/p>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm311963\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=311963&theme=lumen&iframe_resize_id=ohm311963&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<p>We now show how to find Maclaurin polynomials for [latex]e^{x}[\/latex], [latex]\\sin{x}[\/latex], and [latex]\\cos{x}[\/latex]. As stated above, Maclaurin polynomials are Taylor polynomials centered at zero.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">\n<div id=\"fs-id1167025111740\" data-type=\"problem\">\n<p id=\"fs-id1167025111745\">For each of the following functions, find formulas for the Maclaurin polynomials [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex]. Find a formula for the <em data-effect=\"italics\">n<\/em>th Maclaurin polynomial and write it using sigma notation. Use a graphing utilty to compare the graphs of [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex] with [latex]f[\/latex].<\/p>\n<ol id=\"fs-id1167025238039\" type=\"a\">\n<li>[latex]f\\left(x\\right)={e}^{x}[\/latex]<\/li>\n<li>[latex]f\\left(x\\right)=\\sin{x}[\/latex]<\/li>\n<li>[latex]f\\left(x\\right)=\\cos{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=\"q44558896\">Show Solution<\/button><\/p>\n<div id=\"q44558896\" class=\"hidden-answer\" style=\"display: none\">\n<ol id=\"fs-id1167025118800\" type=\"a\">\n<li>Since [latex]f\\left(x\\right)={e}^{x}[\/latex], we know that [latex]f\\left(x\\right)={f}^{\\prime }\\left(x\\right)=f^{\\prime\\prime}\\left(x\\right)=\\cdots ={f}^{\\left(n\\right)}\\left(x\\right)={e}^{x}[\/latex] for all positive integers <em data-effect=\"italics\">n<\/em>. Therefore,<span data-type=\"newline\"><br \/>\n<\/span><\/li>\n<\/ol>\n<div id=\"fs-id1167025069158\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]f\\left(0\\right)={f}^{\\prime }\\left(0\\right)=f^{\\prime\\prime}\\left(0\\right)=\\cdots ={f}^{\\left(n\\right)}\\left(0\\right)=1[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nfor all positive integers <em data-effect=\"italics\">n<\/em>. Therefore, we have<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167024875791\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{ccc}\\hfill {p}_{0}\\left(x\\right)& =\\hfill & f\\left(0\\right)=1,\\hfill \\\\ \\hfill {p}_{1}\\left(x\\right)& =\\hfill & f\\left(0\\right)+{f}^{\\prime }\\left(0\\right)x=1+x,\\hfill \\\\ \\hfill {p}_{2}\\left(x\\right)& =\\hfill & f\\left(0\\right)+{f}^{\\prime }\\left(0\\right)x+\\frac{f^{\\prime\\prime}\\left(0\\right)}{2\\text{!}}{x}^{2}=1+x+\\frac{1}{2}{x}^{2},\\hfill \\\\ \\hfill {p}_{3}\\left(x\\right)& =\\hfill & f\\left(0\\right)+{f}^{\\prime }\\left(0\\right)x+\\frac{f^{\\prime\\prime}\\left(0\\right)}{2}{x}^{2}+\\frac{f^{\\prime\\prime\\prime}\\left(0\\right)}{3\\text{!}}{x}^{3}\\hfill \\\\ & =\\hfill & 1+x+\\frac{1}{2}{x}^{2}+\\frac{1}{3\\text{!}}{x}^{3},\\hfill \\\\ \\hfill {p}_{n}\\left(x\\right)& =\\hfill & f\\left(0\\right)+{f}^{\\prime }\\left(0\\right)x+\\frac{f^{\\prime\\prime}\\left(0\\right)}{2}{x}^{2}+\\frac{f^{\\prime\\prime\\prime}\\left(0\\right)}{3\\text{!}}{x}^{3}+\\cdots +\\frac{{f}^{\\left(n\\right)}\\left(0\\right)}{n\\text{!}}{x}^{n}\\hfill \\\\ & =\\hfill & 1+x+\\frac{{x}^{2}}{2\\text{!}}+\\frac{{x}^{3}}{3\\text{!}}+\\cdots +\\frac{{x}^{n}}{n\\text{!}}\\hfill \\\\ & =\\hfill & {\\displaystyle\\sum _{k=0}^{n}}\\frac{{x}^{k}}{k\\text{!}}.\\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nThe function and the first three Maclaurin polynomials are shown in Figure 2.<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<figure id=\"CNX_Calc_Figure_10_03_002\">\n<figure style=\"width: 487px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/4175\/2019\/04\/11234513\/CNX_Calc_Figure_10_03_002.jpg\" alt=\"This graph has four curves. The first is the function f(x)=e^x. The second function is psub0(x)=1. The third is psub1(x) which is an increasing line passing through y=1. The fourth function is psub3(x) which is a curve passing through y=1. The curves are very close around y= 1.\" width=\"487\" height=\"321\" data-media-type=\"image\/jpeg\" \/><figcaption class=\"wp-caption-text\">Figure 2. The graph shows the function [latex]y={e}^{x}[\/latex] and the Maclaurin polynomials [latex]{p}_{0},{p}_{1},{p}_{2}[\/latex] and [latex]{p}_{3}[\/latex].<\/figcaption><\/figure>\n<\/figure>\n<ul>\n<li>For [latex]f\\left(x\\right)=\\sin{x}[\/latex], the values of the function and its first four derivatives at [latex]x=0[\/latex] are given as follows:<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167024874943\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cccccccc}\\hfill f\\left(x\\right)& =\\hfill & \\sin{x}\\hfill & & & \\hfill f\\left(0\\right)& =\\hfill & 0\\hfill \\\\ \\hfill {f}^{\\prime }\\left(x\\right)& =\\hfill & \\cos{x}\\hfill & & & \\hfill {f}^{\\prime }\\left(0\\right)& =\\hfill & 1\\hfill \\\\ \\hfill f^{\\prime\\prime}\\left(x\\right)& =\\hfill & -\\sin{x}\\hfill & & & \\hfill f^{\\prime\\prime}\\left(0\\right)& =\\hfill & 0\\hfill \\\\ \\hfill f^{\\prime\\prime\\prime}\\left(x\\right)& =\\hfill & -\\cos{x}\\hfill & & & \\hfill f^{\\prime\\prime\\prime}\\left(0\\right)& =\\hfill & -1\\hfill \\\\ \\hfill {f}^{\\left(4\\right)}\\left(x\\right)& =\\hfill & \\sin{x}\\hfill & & & \\hfill {f}^{\\left(4\\right)}\\left(0\\right)& =\\hfill & 0.\\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nSince the fourth derivative is [latex]\\sin{x}[\/latex], the pattern repeats. That is, [latex]{f}^{\\left(2m\\right)}\\left(0\\right)=0[\/latex] and [latex]{f}^{\\left(2m+1\\right)}\\left(0\\right)={\\left(-1\\right)}^{m}[\/latex] for [latex]m\\ge 0[\/latex]. Thus, we have<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167025229347\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{c}{p}_{0}\\left(x\\right)=0,\\hfill \\\\ {p}_{1}\\left(x\\right)=0+x=x,\\hfill \\\\ {p}_{2}\\left(x\\right)=0+x+0=x,\\hfill \\\\ {p}_{3}\\left(x\\right)=0+x+0-\\frac{1}{3\\text{!}}{x}^{3}=x-\\frac{{x}^{3}}{3\\text{!}},\\hfill \\\\ {p}_{4}\\left(x\\right)=0+x+0-\\frac{1}{3\\text{!}}{x}^{3}+0=x-\\frac{{x}^{3}}{3\\text{!}},\\hfill \\\\ {p}_{5}\\left(x\\right)=0+x+0-\\frac{1}{3\\text{!}}{x}^{3}+0+\\frac{1}{5\\text{!}}{x}^{5}=x-\\frac{{x}^{3}}{3\\text{!}}+\\frac{{x}^{5}}{5\\text{!}},\\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nand for [latex]m\\ge 0[\/latex], <span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167025241412\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {p}_{2m+1}\\left(x\\right)& ={p}_{2m+2}\\left(x\\right)\\hfill \\\\ & =x-\\frac{{x}^{3}}{3\\text{!}}+\\frac{{x}^{5}}{5\\text{!}}-\\cdots +{\\left(-1\\right)}^{m}\\frac{{x}^{2m+1}}{\\left(2m+1\\right)\\text{!}}\\hfill \\\\ & ={\\displaystyle\\sum _{k=0}^{m}}{\\left(-1\\right)}^{k}\\frac{{x}^{2k+1}}{\\left(2k+1\\right)\\text{!}}.\\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nGraphs of the function and its Maclaurin polynomials are shown in Figure 3.<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<figure id=\"CNX_Calc_Figure_10_03_003\">\n<figure style=\"width: 487px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/4175\/2019\/04\/11234515\/CNX_Calc_Figure_10_03_003.jpg\" alt=\"This graph has four curves. The first is the function f(x)=sin(x). The second function is psub1(x). The third is psub3(x). The fourth function is psub5(x). The curves are very close around x=0.\" width=\"487\" height=\"350\" data-media-type=\"image\/jpeg\" \/><figcaption class=\"wp-caption-text\">Figure 3. The graph shows the function [latex]y=\\sin{x}[\/latex] and the Maclaurin polynomials [latex]{p}_{1},{p}_{3}[\/latex] and [latex]{p}_{5}[\/latex].<\/figcaption><\/figure>\n<\/figure>\n<\/li>\n<li>For [latex]f\\left(x\\right)=\\cos{x}[\/latex], the values of the function and its first four derivatives at [latex]x=0[\/latex] are given as follows:<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167025069824\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cccccccc}\\hfill f\\left(x\\right)& =\\hfill & \\cos{x}\\hfill & & & \\hfill f\\left(0\\right)& =\\hfill & 1\\hfill \\\\ \\hfill {f}^{\\prime }\\left(x\\right)& =\\hfill & -\\sin{x}\\hfill & & & \\hfill {f}^{\\prime }\\left(0\\right)& =\\hfill & 0\\hfill \\\\ \\hfill f^{\\prime\\prime}\\left(x\\right)& =\\hfill & -\\cos{x}\\hfill & & & \\hfill f^{\\prime\\prime}\\left(0\\right)& =\\hfill & -1\\hfill \\\\ \\hfill f^{\\prime\\prime\\prime}\\left(x\\right)& =\\hfill & \\sin{x}\\hfill & & & \\hfill f^{\\prime\\prime\\prime}\\left(0\\right)& =\\hfill & 0\\hfill \\\\ \\hfill {f}^{\\left(4\\right)}\\left(x\\right)& =\\hfill & \\cos{x}\\hfill & & & \\hfill {f}^{\\left(4\\right)}\\left(0\\right)& =\\hfill & 1.\\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nSince the fourth derivative is [latex]\\sin{x}[\/latex], the pattern repeats. In other words, [latex]{f}^{\\left(2m\\right)}\\left(0\\right)={\\left(-1\\right)}^{m}[\/latex] and [latex]{f}^{\\left(2m+1\\right)}=0[\/latex] for [latex]m\\ge 0[\/latex]. Therefore,<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167025087805\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{c}{p}_{0}\\left(x\\right)=1,\\hfill \\\\ {p}_{1}\\left(x\\right)=1+0=1,\\hfill \\\\ {p}_{2}\\left(x\\right)=1+0-\\frac{1}{2\\text{!}}{x}^{2}=1-\\frac{{x}^{2}}{2\\text{!}},\\hfill \\\\ {p}_{3}\\left(x\\right)=1+0-\\frac{1}{2\\text{!}}{x}^{2}+0=1-\\frac{{x}^{2}}{2\\text{!}},\\hfill \\\\ {p}_{4}\\left(x\\right)=1+0-\\frac{1}{2\\text{!}}{x}^{2}+0+\\frac{1}{4\\text{!}}{x}^{4}=1-\\frac{{x}^{2}}{2\\text{!}}+\\frac{{x}^{4}}{4\\text{!}},\\hfill \\\\ {p}_{5}\\left(x\\right)=1+0-\\frac{1}{2\\text{!}}{x}^{2}+0+\\frac{1}{4\\text{!}}{x}^{4}+0=1-\\frac{{x}^{2}}{2\\text{!}}+\\frac{{x}^{4}}{4\\text{!}},\\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nand for [latex]n\\ge 0[\/latex], <span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-id1167025230186\" class=\"unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{array}{cc}\\hfill {p}_{2m}\\left(x\\right)& ={p}_{2m+1}\\left(x\\right)\\hfill \\\\ & =1-\\frac{{x}^{2}}{2\\text{!}}+\\frac{{x}^{4}}{4\\text{!}}-\\cdots +{\\left(-1\\right)}^{m}\\frac{{x}^{2m}}{\\left(2m\\right)\\text{!}}\\hfill \\\\ & ={\\displaystyle\\sum _{k=0}^{m}}{\\left(-1\\right)}^{k}\\frac{{x}^{2k}}{\\left(2k\\right)\\text{!}}.\\hfill \\end{array}[\/latex]<\/div>\n<p><span data-type=\"newline\"><br \/>\n<\/span><br \/>\nGraphs of the function and the Maclaurin polynomials appear in Figure 4.<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<figure id=\"CNX_Calc_Figure_10_03_004\">\n<figure style=\"width: 487px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/4175\/2019\/04\/11234518\/CNX_Calc_Figure_10_03_004.jpg\" alt=\"This graph has four curves. The first is the function f(x)=cos(x). The second function is psub0(x). The third is psub2(x). The fourth function is psub4(x). The curves are very close around y=1\" width=\"487\" height=\"312\" data-media-type=\"image\/jpeg\" \/><figcaption class=\"wp-caption-text\">Figure 4. The function [latex]y=\\cos{x}[\/latex] and the Maclaurin polynomials [latex]{p}_{0},{p}_{2}[\/latex] and [latex]{p}_{4}[\/latex] are plotted on this graph.<\/figcaption><\/figure>\n<\/figure>\n<\/li>\n<\/ul>\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.<\/p>\n<div style=\"text-align: center;\"><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/oQkN46wsyJs?controls=0&amp;start=546&amp;end=1086&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/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.3TaylorAndMaclaurinSeries546to1086_transcript.html\" target=\"_blank\" rel=\"noopener\">transcript for this segmented clip of &#8220;6.3 Taylor and Maclaurin Series&#8221; here (opens in new window)<\/a>.<\/p>\n<\/section>\n","protected":false},"author":15,"menu_order":18,"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\/946"}],"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":6,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/946\/revisions"}],"predecessor-version":[{"id":2329,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapters\/946\/revisions\/2329"}],"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\/946\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/media?parent=946"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/pressbooks\/v2\/chapter-type?post=946"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/contributor?post=946"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus2\/wp-json\/wp\/v2\/license?post=946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}