{"id":1083,"date":"2025-10-15T14:04:20","date_gmt":"2025-10-15T14:04:20","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=1083"},"modified":"2025-10-27T12:57:37","modified_gmt":"2025-10-27T12:57:37","slug":"introduction-to-partial-derivatives-learn-it-3","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus3\/chapter\/introduction-to-partial-derivatives-learn-it-3\/","title":{"raw":"Introduction to Partial Derivatives: Learn It 3","rendered":"Introduction to Partial Derivatives: Learn It 3"},"content":{"raw":"<h2>Higher-Order Partial Derivatives<\/h2>\r\n<p class=\"whitespace-normal break-words\">Consider the function<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]f(x,y)=2x^{3}-4xy^{2}+5y^{3}-6xy+5x-4y+12[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">Its partial derivatives are<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\dfrac{\\partial f}{\\partial x}=6x^{2}-4y^{2}-6y+5[\/latex] and [latex]\\dfrac{\\partial f}{\\partial y}=-8xy+15y^{2}-6x-4[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">Each of these partial derivatives is itself a function of two variables, so we can calculate partial derivatives of these functions. Just as with single-variable derivatives, we call these second-order derivatives, third-order derivatives, and so on. In general, they are <strong>higher-order partial derivatives<\/strong>.<\/p>\r\n<p class=\"whitespace-normal break-words\">There are four second-order partial derivatives for any function (provided they all exist):<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\large{\\frac{\\partial^{2}f}{\\partial x^{2}}=\\frac{\\partial}{\\partial x}\\left[\\frac{\\partial f}{\\partial x}\\right],\\ \\frac{\\partial^{2}f}{\\partial x\\partial y}=\\frac{\\partial}{\\partial x}\\left[\\frac{\\partial f}{\\partial y}\\right],\\ \\frac{\\partial^{2}f}{\\partial y\\partial x}=\\frac{\\partial}{\\partial y}\\left[\\frac{\\partial f}{\\partial x}\\right],\\ \\frac{\\partial^{2}f}{\\partial y^{2}}=\\frac{\\partial}{\\partial y}\\left[\\frac{\\partial f}{\\partial y}\\right]}.[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">An alternative notation for these is [latex]f_{xx}[\/latex], [latex]f_{yx}[\/latex], [latex]f_{xy}[\/latex], and [latex]f_{yy}[\/latex], respectively. Higher-order partial derivatives calculated with respect to different variables, such as [latex]f_{xy}[\/latex] and [latex]f_{yx}[\/latex], are called <strong>mixed partial derivatives<\/strong>.<\/p>\r\n\r\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">\r\n<p class=\"whitespace-normal break-words\">In [latex]\\frac{\\partial^{2}f}{\\partial y\\partial x}[\/latex], read the variables from right to left: differentiate first with respect to [latex]x[\/latex], then with respect to [latex]y[\/latex].<\/p>\r\n<p class=\"whitespace-pre-wrap break-words\">In subscript notation [latex]f_{xy}[\/latex], read left to right: differentiate first with respect to [latex]x[\/latex], then with respect to [latex]y[\/latex].<\/p>\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Calculate all four second partial derivates for the function\r\n<div style=\"text-align: center;\">[latex]\\large{f\\,(x,\\ y)=xe^{-3y}+\\sin{(2x-5y)}}[\/latex].<\/div>\r\n[reveal-answer q=\"fs-id1367983930124\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"fs-id1367983930124\"]\r\n<p style=\"text-align: left;\">To calculate [latex]\\partial^{2}f\/\\partial x^{2}[\/latex] and [latex]\\partial^{2}f\/\\partial y\\partial x[\/latex], we first calculate [latex]\\partial f\/\\partial x[\/latex]:<\/p>\r\n\r\n<div style=\"text-align: center;\">[latex]\\large{\\frac{\\partial f}{\\partial x}=e^{-3y}+2\\cos{(2x-5y)}}.[\/latex]<\/div>\r\n&nbsp;\r\n\r\nTo calculate [latex]\\partial^{2}f\/\\partial x^{2}[\/latex], differentiate [latex]\\partial f\/\\partial x[\/latex] with respect to [latex]x[\/latex]:\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\frac{{\\partial}^{2} f}{\\partial {x^{2}}}} &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial x}\\left[\\frac{\\partial f}{\\partial x}\\right]} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial x}\\left[e^{-3y}+2\\cos{(2x-5y)}\\right]} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {-4\\sin{(2x-5y)}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nTo calculate [latex]\\partial^{2}f\/\\partial y\\partial x[\/latex], differentiate [latex]\\partial f\/\\partial x[\/latex] with respect to [latex]y[\/latex]:\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\frac{\\partial^{2}f}{\\partial y\\partial x}} &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial y}\\left[\\frac{\\partial f}{\\partial x}\\right]} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial y}\\left[e^{-3y}+2\\cos{(2x-5y)}\\right]} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {-3e^{-3y}+10\\sin{(2x-5y)}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nTo calculate [latex]\\partial^{2}f\/\\partial x\\partial y[\/latex] and [latex]\\partial^{2}f\/\\partial y^{2}[\/latex], first calculate [latex]\\partial f\/\\partial y[\/latex]:\r\n<div style=\"text-align: center;\">[latex]\\large{\\frac{\\partial f}{\\partial y}=-3xe^{-3y}-5\\cos{(2x-5y)}.}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nTo calculate [latex]\\partial^{2}f\/\\partial x\\partial y[\/latex], differentiate [latex]\\partial f\/\\partial y[\/latex] with respect to [latex]x[\/latex]:\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\frac{\\partial^{2}f}{\\partial x\\partial y}} &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial x}\\left[\\frac{\\partial f}{\\partial y}\\right]} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial x}\\left[-3xe^{-3y}-5\\cos{(2x-5y)}\\right]} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {-3e^{-3y}+10\\sin{(2x-5y)}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nTo calculate [latex]\\partial^{2}f\/\\partial^{2} y[\/latex], differentiate [latex]\\partial f\/\\partial y[\/latex] with respect to [latex]y[\/latex]:\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\frac{\\partial^{2}f}{\\partial y}} &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial y}\\left[\\frac{\\partial f}{\\partial y}\\right]} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial y}\\left[-3xe^{-3y}-5\\cos{(2x-5y)}\\right]} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {9xe^{-3y}-25\\sin{(2x-5y)}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n[\/hidden-answer]\r\n\r\n<\/section>Notice something interesting in the previous example: [latex]\\dfrac{\\partial^{2}f}{\\partial x\\partial y}=\\dfrac{\\partial^{2}f}{\\partial y\\partial x}[\/latex]. Both mixed partial derivatives equal [latex]-3e^{-3y}+10\\sin(2x-5y)[\/latex]. Is this always true? Under certain conditions, yes. In fact, this is guaranteed by the following theorem.\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>equality of mixed partial derivatives (Clairaut's Theorem)<\/h3>\r\nSuppose [latex]f\\,(x,\\ y)[\/latex] is defined on an open disk [latex]D[\/latex] that contains the point [latex](a,\\ b)[\/latex]. If the functions [latex]f_{xy}[\/latex] and [latex]f_{yx}[\/latex] are continuous on [latex]D[\/latex], then [latex]f_{xy}=f_{yx}[\/latex].\r\n\r\n<\/section>\r\n<p class=\"whitespace-normal break-words\">Clairaut's theorem guarantees that as long as mixed second-order derivatives are continuous, the order in which we differentiate doesn't matter. We can differentiate with respect to [latex]x[\/latex] first then [latex]y[\/latex], or [latex]y[\/latex] first then [latex]x[\/latex]\u2014we'll get the same result. This theorem can be extended to higher-order derivatives as well.<\/p>\r\n<p class=\"whitespace-normal break-words\">Beyond the mixed partial derivatives, we also have [latex]f_{xx}[\/latex] (the partial derivative of [latex]f_x[\/latex] with respect to [latex]x[\/latex]) and [latex]f_{yy}[\/latex] (the partial derivative of [latex]f_y[\/latex] with respect to [latex]y[\/latex]). These aren't mixed\u2014they differentiate with respect to the same variable twice.<\/p>","rendered":"<h2>Higher-Order Partial Derivatives<\/h2>\n<p class=\"whitespace-normal break-words\">Consider the function<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]f(x,y)=2x^{3}-4xy^{2}+5y^{3}-6xy+5x-4y+12[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">Its partial derivatives are<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\dfrac{\\partial f}{\\partial x}=6x^{2}-4y^{2}-6y+5[\/latex] and [latex]\\dfrac{\\partial f}{\\partial y}=-8xy+15y^{2}-6x-4[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">Each of these partial derivatives is itself a function of two variables, so we can calculate partial derivatives of these functions. Just as with single-variable derivatives, we call these second-order derivatives, third-order derivatives, and so on. In general, they are <strong>higher-order partial derivatives<\/strong>.<\/p>\n<p class=\"whitespace-normal break-words\">There are four second-order partial derivatives for any function (provided they all exist):<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\large{\\frac{\\partial^{2}f}{\\partial x^{2}}=\\frac{\\partial}{\\partial x}\\left[\\frac{\\partial f}{\\partial x}\\right],\\ \\frac{\\partial^{2}f}{\\partial x\\partial y}=\\frac{\\partial}{\\partial x}\\left[\\frac{\\partial f}{\\partial y}\\right],\\ \\frac{\\partial^{2}f}{\\partial y\\partial x}=\\frac{\\partial}{\\partial y}\\left[\\frac{\\partial f}{\\partial x}\\right],\\ \\frac{\\partial^{2}f}{\\partial y^{2}}=\\frac{\\partial}{\\partial y}\\left[\\frac{\\partial f}{\\partial y}\\right]}.[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">An alternative notation for these is [latex]f_{xx}[\/latex], [latex]f_{yx}[\/latex], [latex]f_{xy}[\/latex], and [latex]f_{yy}[\/latex], respectively. Higher-order partial derivatives calculated with respect to different variables, such as [latex]f_{xy}[\/latex] and [latex]f_{yx}[\/latex], are called <strong>mixed partial derivatives<\/strong>.<\/p>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">\n<p class=\"whitespace-normal break-words\">In [latex]\\frac{\\partial^{2}f}{\\partial y\\partial x}[\/latex], read the variables from right to left: differentiate first with respect to [latex]x[\/latex], then with respect to [latex]y[\/latex].<\/p>\n<p class=\"whitespace-pre-wrap break-words\">In subscript notation [latex]f_{xy}[\/latex], read left to right: differentiate first with respect to [latex]x[\/latex], then with respect to [latex]y[\/latex].<\/p>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Calculate all four second partial derivates for the function<\/p>\n<div style=\"text-align: center;\">[latex]\\large{f\\,(x,\\ y)=xe^{-3y}+\\sin{(2x-5y)}}[\/latex].<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1367983930124\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1367983930124\" class=\"hidden-answer\" style=\"display: none\">\n<p style=\"text-align: left;\">To calculate [latex]\\partial^{2}f\/\\partial x^{2}[\/latex] and [latex]\\partial^{2}f\/\\partial y\\partial x[\/latex], we first calculate [latex]\\partial f\/\\partial x[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]\\large{\\frac{\\partial f}{\\partial x}=e^{-3y}+2\\cos{(2x-5y)}}.[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>To calculate [latex]\\partial^{2}f\/\\partial x^{2}[\/latex], differentiate [latex]\\partial f\/\\partial x[\/latex] with respect to [latex]x[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\frac{{\\partial}^{2} f}{\\partial {x^{2}}}} & =\\hfill & {\\frac{\\partial}{\\partial x}\\left[\\frac{\\partial f}{\\partial x}\\right]} \\hfill \\\\ \\hfill & =\\hfill & {\\frac{\\partial}{\\partial x}\\left[e^{-3y}+2\\cos{(2x-5y)}\\right]} \\hfill \\\\ \\hfill & =\\hfill & {-4\\sin{(2x-5y)}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>To calculate [latex]\\partial^{2}f\/\\partial y\\partial x[\/latex], differentiate [latex]\\partial f\/\\partial x[\/latex] with respect to [latex]y[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\frac{\\partial^{2}f}{\\partial y\\partial x}} & =\\hfill & {\\frac{\\partial}{\\partial y}\\left[\\frac{\\partial f}{\\partial x}\\right]} \\hfill \\\\ \\hfill & =\\hfill & {\\frac{\\partial}{\\partial y}\\left[e^{-3y}+2\\cos{(2x-5y)}\\right]} \\hfill \\\\ \\hfill & =\\hfill & {-3e^{-3y}+10\\sin{(2x-5y)}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>To calculate [latex]\\partial^{2}f\/\\partial x\\partial y[\/latex] and [latex]\\partial^{2}f\/\\partial y^{2}[\/latex], first calculate [latex]\\partial f\/\\partial y[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]\\large{\\frac{\\partial f}{\\partial y}=-3xe^{-3y}-5\\cos{(2x-5y)}.}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>To calculate [latex]\\partial^{2}f\/\\partial x\\partial y[\/latex], differentiate [latex]\\partial f\/\\partial y[\/latex] with respect to [latex]x[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\frac{\\partial^{2}f}{\\partial x\\partial y}} & =\\hfill & {\\frac{\\partial}{\\partial x}\\left[\\frac{\\partial f}{\\partial y}\\right]} \\hfill \\\\ \\hfill & =\\hfill & {\\frac{\\partial}{\\partial x}\\left[-3xe^{-3y}-5\\cos{(2x-5y)}\\right]} \\hfill \\\\ \\hfill & =\\hfill & {-3e^{-3y}+10\\sin{(2x-5y)}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>To calculate [latex]\\partial^{2}f\/\\partial^{2} y[\/latex], differentiate [latex]\\partial f\/\\partial y[\/latex] with respect to [latex]y[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\frac{\\partial^{2}f}{\\partial y}} & =\\hfill & {\\frac{\\partial}{\\partial y}\\left[\\frac{\\partial f}{\\partial y}\\right]} \\hfill \\\\ \\hfill & =\\hfill & {\\frac{\\partial}{\\partial y}\\left[-3xe^{-3y}-5\\cos{(2x-5y)}\\right]} \\hfill \\\\ \\hfill & =\\hfill & {9xe^{-3y}-25\\sin{(2x-5y)}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/section>\n<p>Notice something interesting in the previous example: [latex]\\dfrac{\\partial^{2}f}{\\partial x\\partial y}=\\dfrac{\\partial^{2}f}{\\partial y\\partial x}[\/latex]. Both mixed partial derivatives equal [latex]-3e^{-3y}+10\\sin(2x-5y)[\/latex]. Is this always true? Under certain conditions, yes. In fact, this is guaranteed by the following theorem.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>equality of mixed partial derivatives (Clairaut&#8217;s Theorem)<\/h3>\n<p>Suppose [latex]f\\,(x,\\ y)[\/latex] is defined on an open disk [latex]D[\/latex] that contains the point [latex](a,\\ b)[\/latex]. If the functions [latex]f_{xy}[\/latex] and [latex]f_{yx}[\/latex] are continuous on [latex]D[\/latex], then [latex]f_{xy}=f_{yx}[\/latex].<\/p>\n<\/section>\n<p class=\"whitespace-normal break-words\">Clairaut&#8217;s theorem guarantees that as long as mixed second-order derivatives are continuous, the order in which we differentiate doesn&#8217;t matter. We can differentiate with respect to [latex]x[\/latex] first then [latex]y[\/latex], or [latex]y[\/latex] first then [latex]x[\/latex]\u2014we&#8217;ll get the same result. This theorem can be extended to higher-order derivatives as well.<\/p>\n<p class=\"whitespace-normal break-words\">Beyond the mixed partial derivatives, we also have [latex]f_{xx}[\/latex] (the partial derivative of [latex]f_x[\/latex] with respect to [latex]x[\/latex]) and [latex]f_{yy}[\/latex] (the partial derivative of [latex]f_y[\/latex] with respect to [latex]y[\/latex]). These aren&#8217;t mixed\u2014they differentiate with respect to the same variable twice.<\/p>\n","protected":false},"author":15,"menu_order":19,"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-1083","chapter","type-chapter","status-publish","hentry"],"part":426,"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\/1083","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":8,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1083\/revisions"}],"predecessor-version":[{"id":1771,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1083\/revisions\/1771"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/parts\/426"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1083\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=1083"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=1083"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=1083"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=1083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}