{"id":1084,"date":"2025-10-15T14:04:22","date_gmt":"2025-10-15T14:04:22","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=1084"},"modified":"2025-10-27T13:08:36","modified_gmt":"2025-10-27T13:08:36","slug":"introduction-to-partial-derivatives-learn-it-4","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus3\/chapter\/introduction-to-partial-derivatives-learn-it-4\/","title":{"raw":"Introduction to Partial Derivatives: Learn It 4","rendered":"Introduction to Partial Derivatives: Learn It 4"},"content":{"raw":"<h2>Partial Differential Equations<\/h2>\r\n<p class=\"whitespace-normal break-words\">In earlier coursework, we studied differential equations where the unknown function had one independent variable. A <strong>partial differential equation<\/strong> (PDE) is an equation involving an unknown function of more than one independent variable and one or more of its partial derivatives.<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">\r\n<p class=\"whitespace-normal break-words\">Examples of partial differential equations include:<\/p>\r\n\r\n<ul>\r\n \t<li class=\"whitespace-normal break-words\">[latex]u_t=c^{2}(u_{xx}+u_{yy})[\/latex] (heat equation in two dimensions)<\/li>\r\n \t<li class=\"whitespace-normal break-words\">[latex]u_{tt}=c^{2}(u_{xx}+u_{yy})[\/latex] (wave equation in two dimensions)<\/li>\r\n \t<li class=\"whitespace-normal break-words\">[latex]u_{xx}+u_{yy}=0[\/latex] (Laplace's equation in two dimensions)<\/li>\r\n<\/ul>\r\n<\/section>\r\n<p class=\"whitespace-normal break-words\">In the first two equations, the unknown function [latex]u[\/latex] has three independent variables\u2014[latex]t[\/latex], [latex]x[\/latex], and [latex]y[\/latex]\u2014and [latex]c[\/latex] is an arbitrary constant. The independent variables [latex]x[\/latex] and [latex]y[\/latex] represent spatial variables (position in space), and [latex]t[\/latex] represents time. In Laplace's equation, the unknown function [latex]u[\/latex] has two independent variables [latex]x[\/latex] and [latex]y[\/latex].<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">Verify that\r\n<p style=\"text-align: center;\">[latex]\\large{u\\,(x,\\ y,\\ t)=5\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}}[\/latex]<\/p>\r\nis a solution to the wave equation\r\n<p style=\"text-align: center;\">[latex]\\large{u_{tt}=4\\,(u_{xx}+u_{yy})}.[\/latex]<\/p>\r\n[reveal-answer q=\"fs-id1577773930324\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"fs-id1577773930324\"]\r\n<div style=\"text-align: left;\">First, we calculate [latex]u_{tt},\\ u_{xx}[\/latex], and [latex]u_{yy}[\/latex]:<\/div>\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {u_{tt}} &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial t}\\left[\\frac{\\partial u}{\\partial t}\\right]} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial t}[5\\sin{(3\\pi x)}\\sin{(4\\pi y)}(-10\\pi\\sin{(10\\pi t)})]}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial t}[-50\\pi\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\sin{(10\\pi t)}]}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {-500\\pi^{2}\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}}\\hfill \\\\ \\hfill {u_{xx}} &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial x}\\left[\\frac{\\partial u}{\\partial x}\\right]} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial x}[15\\pi\\cos{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}]}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {-45\\pi^{2}\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}}\\hfill \\\\ \\hfill {u_{yy}} &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial y}\\left[\\frac{\\partial u}{\\partial y}\\right]}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial y}[5\\sin{(3\\pi x)}(4\\pi\\cos{(4\\pi y)})\\cos{(10\\pi t)}]}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\frac{\\partial}{\\partial y}[20\\pi\\sin{(3\\pi x)}\\cos{(4\\pi y)}\\cos{(10\\pi t)}]}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {-80\\pi^{2}\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}.}\\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n<div>Next, we substitute each of these into the right-hand side of our wave equation and simplify:<\/div>\r\n<div>\r\n<p style=\"text-align: center;\">[latex] \\begin{align} 4(u_{xx}+u_{yy}) &amp;= 4(-45\\pi^2\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)} + -80\\pi^2\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}\\\\ &amp;=4(-125\\pi^2\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)} &amp;\\quad\\\\ &amp;=-500\\pi^2\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)} \\\\ &amp;=u_{tt} \\end{align}[\/latex]<\/p>\r\nThis verifies the solution.\r\n\r\n<\/div>\r\n[\/hidden-answer]\r\n\r\n<\/section>\r\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Visualizing Solutions<\/h3>\r\n<p class=\"whitespace-normal break-words\">Since the solution to the two-dimensional heat equation is a function of three variables, creating a visual representation is challenging. We can graph the solution for fixed values of [latex]t[\/latex], which gives us snapshots of the heat distribution at specific times. These snapshots show how heat spreads over a two-dimensional surface as time progresses.<\/p>\r\n<p class=\"whitespace-normal break-words\">The graph of the solution at time [latex]t=0[\/latex] appears in Figure 1. As time progresses, the extreme temperatures level out, approaching zero as [latex]t[\/latex] approaches infinity.<\/p>\r\n\r\n\r\n[caption id=\"attachment_985\" align=\"aligncenter\" width=\"456\"]<img class=\"size-full wp-image-985\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/28230317\/4-3-3.jpeg\" alt=\"A complicated curve in xyz space with many sinusoidally alternating local maxima and minima.\" width=\"456\" height=\"379\" \/> Figure 1.[\/caption]\r\n<p class=\"whitespace-normal break-words\">If we consider the heat equation in one dimension, then graphing the solution over time becomes more manageable. The heat equation in one dimension is:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]u_{t}=c^{2}u_{xx}[\/latex],<\/p>\r\n<p class=\"whitespace-normal break-words\">where [latex]c^{2}[\/latex] represents the thermal diffusivity of the material. A solution of this differential equation can be written as:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]u_{m}(x,t)=e^{-\\pi^{2}m^{2}c^{2}t}\\sin(m\\pi x)[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">where [latex]m[\/latex] is any positive integer.<\/p>\r\n<p class=\"whitespace-normal break-words\">Figure 2 shows a graph of this solution using [latex]m=1[\/latex], where the initial temperature distribution over a wire of length [latex]1[\/latex] is given by [latex]u(x,0)=\\sin(\\pi x)[\/latex]. Notice that as time progresses, the wire cools off. From left to right, the highest temperature (which occurs in the middle of the wire) decreases and changes color from red to blue.<\/p>\r\n\r\n\r\n[caption id=\"attachment_986\" align=\"aligncenter\" width=\"707\"]<img class=\"size-full wp-image-986\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/28230533\/4-3-4.jpeg\" alt=\"A curve in xtu space with a local maximum at (0.5, 0, 12). From this maximum, the values decrease with increasing t and for any value of x.\" width=\"707\" height=\"648\" \/> Figure 2.\u00a0Graph of a solution of the heat equation in one dimension over time.[\/caption]","rendered":"<h2>Partial Differential Equations<\/h2>\n<p class=\"whitespace-normal break-words\">In earlier coursework, we studied differential equations where the unknown function had one independent variable. A <strong>partial differential equation<\/strong> (PDE) is an equation involving an unknown function of more than one independent variable and one or more of its partial derivatives.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">\n<p class=\"whitespace-normal break-words\">Examples of partial differential equations include:<\/p>\n<ul>\n<li class=\"whitespace-normal break-words\">[latex]u_t=c^{2}(u_{xx}+u_{yy})[\/latex] (heat equation in two dimensions)<\/li>\n<li class=\"whitespace-normal break-words\">[latex]u_{tt}=c^{2}(u_{xx}+u_{yy})[\/latex] (wave equation in two dimensions)<\/li>\n<li class=\"whitespace-normal break-words\">[latex]u_{xx}+u_{yy}=0[\/latex] (Laplace&#8217;s equation in two dimensions)<\/li>\n<\/ul>\n<\/section>\n<p class=\"whitespace-normal break-words\">In the first two equations, the unknown function [latex]u[\/latex] has three independent variables\u2014[latex]t[\/latex], [latex]x[\/latex], and [latex]y[\/latex]\u2014and [latex]c[\/latex] is an arbitrary constant. The independent variables [latex]x[\/latex] and [latex]y[\/latex] represent spatial variables (position in space), and [latex]t[\/latex] represents time. In Laplace&#8217;s equation, the unknown function [latex]u[\/latex] has two independent variables [latex]x[\/latex] and [latex]y[\/latex].<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">Verify that<\/p>\n<p style=\"text-align: center;\">[latex]\\large{u\\,(x,\\ y,\\ t)=5\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}}[\/latex]<\/p>\n<p>is a solution to the wave equation<\/p>\n<p style=\"text-align: center;\">[latex]\\large{u_{tt}=4\\,(u_{xx}+u_{yy})}.[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1577773930324\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1577773930324\" class=\"hidden-answer\" style=\"display: none\">\n<div style=\"text-align: left;\">First, we calculate [latex]u_{tt},\\ u_{xx}[\/latex], and [latex]u_{yy}[\/latex]:<\/div>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {u_{tt}} & =\\hfill & {\\frac{\\partial}{\\partial t}\\left[\\frac{\\partial u}{\\partial t}\\right]} \\hfill \\\\ \\hfill & =\\hfill & {\\frac{\\partial}{\\partial t}[5\\sin{(3\\pi x)}\\sin{(4\\pi y)}(-10\\pi\\sin{(10\\pi t)})]}\\hfill \\\\ \\hfill & =\\hfill & {\\frac{\\partial}{\\partial t}[-50\\pi\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\sin{(10\\pi t)}]}\\hfill \\\\ \\hfill & =\\hfill & {-500\\pi^{2}\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}}\\hfill \\\\ \\hfill {u_{xx}} & =\\hfill & {\\frac{\\partial}{\\partial x}\\left[\\frac{\\partial u}{\\partial x}\\right]} \\hfill \\\\ \\hfill & =\\hfill & {\\frac{\\partial}{\\partial x}[15\\pi\\cos{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}]}\\hfill \\\\ \\hfill & =\\hfill & {-45\\pi^{2}\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}}\\hfill \\\\ \\hfill {u_{yy}} & =\\hfill & {\\frac{\\partial}{\\partial y}\\left[\\frac{\\partial u}{\\partial y}\\right]}\\hfill \\\\ \\hfill & =\\hfill & {\\frac{\\partial}{\\partial y}[5\\sin{(3\\pi x)}(4\\pi\\cos{(4\\pi y)})\\cos{(10\\pi t)}]}\\hfill \\\\ \\hfill & =\\hfill & {\\frac{\\partial}{\\partial y}[20\\pi\\sin{(3\\pi x)}\\cos{(4\\pi y)}\\cos{(10\\pi t)}]}\\hfill \\\\ \\hfill & =\\hfill & {-80\\pi^{2}\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}.}\\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<div>Next, we substitute each of these into the right-hand side of our wave equation and simplify:<\/div>\n<div>\n<p style=\"text-align: center;\">[latex]\\begin{align} 4(u_{xx}+u_{yy}) &= 4(-45\\pi^2\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)} + -80\\pi^2\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)}\\\\ &=4(-125\\pi^2\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)} &\\quad\\\\ &=-500\\pi^2\\sin{(3\\pi x)}\\sin{(4\\pi y)}\\cos{(10\\pi t)} \\\\ &=u_{tt} \\end{align}[\/latex]<\/p>\n<p>This verifies the solution.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Visualizing Solutions<\/h3>\n<p class=\"whitespace-normal break-words\">Since the solution to the two-dimensional heat equation is a function of three variables, creating a visual representation is challenging. We can graph the solution for fixed values of [latex]t[\/latex], which gives us snapshots of the heat distribution at specific times. These snapshots show how heat spreads over a two-dimensional surface as time progresses.<\/p>\n<p class=\"whitespace-normal break-words\">The graph of the solution at time [latex]t=0[\/latex] appears in Figure 1. As time progresses, the extreme temperatures level out, approaching zero as [latex]t[\/latex] approaches infinity.<\/p>\n<figure id=\"attachment_985\" aria-describedby=\"caption-attachment-985\" style=\"width: 456px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-985\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/28230317\/4-3-3.jpeg\" alt=\"A complicated curve in xyz space with many sinusoidally alternating local maxima and minima.\" width=\"456\" height=\"379\" \/><figcaption id=\"caption-attachment-985\" class=\"wp-caption-text\">Figure 1.<\/figcaption><\/figure>\n<p class=\"whitespace-normal break-words\">If we consider the heat equation in one dimension, then graphing the solution over time becomes more manageable. The heat equation in one dimension is:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]u_{t}=c^{2}u_{xx}[\/latex],<\/p>\n<p class=\"whitespace-normal break-words\">where [latex]c^{2}[\/latex] represents the thermal diffusivity of the material. A solution of this differential equation can be written as:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]u_{m}(x,t)=e^{-\\pi^{2}m^{2}c^{2}t}\\sin(m\\pi x)[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">where [latex]m[\/latex] is any positive integer.<\/p>\n<p class=\"whitespace-normal break-words\">Figure 2 shows a graph of this solution using [latex]m=1[\/latex], where the initial temperature distribution over a wire of length [latex]1[\/latex] is given by [latex]u(x,0)=\\sin(\\pi x)[\/latex]. Notice that as time progresses, the wire cools off. From left to right, the highest temperature (which occurs in the middle of the wire) decreases and changes color from red to blue.<\/p>\n<figure id=\"attachment_986\" aria-describedby=\"caption-attachment-986\" style=\"width: 707px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-986\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/28230533\/4-3-4.jpeg\" alt=\"A curve in xtu space with a local maximum at (0.5, 0, 12). From this maximum, the values decrease with increasing t and for any value of x.\" width=\"707\" height=\"648\" \/><figcaption id=\"caption-attachment-986\" class=\"wp-caption-text\">Figure 2.\u00a0Graph of a solution of the heat equation in one dimension over time.<\/figcaption><\/figure>\n","protected":false},"author":15,"menu_order":20,"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-1084","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\/1084","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":10,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1084\/revisions"}],"predecessor-version":[{"id":1099,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1084\/revisions\/1099"}],"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\/1084\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=1084"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=1084"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=1084"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=1084"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}