{"id":3922,"date":"2022-04-05T18:43:19","date_gmt":"2022-04-05T18:43:19","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=3922"},"modified":"2022-10-29T01:53:41","modified_gmt":"2022-10-29T01:53:41","slug":"differentiability","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/calculus3\/chapter\/differentiability\/","title":{"raw":"Differentiability","rendered":"Differentiability"},"content":{"raw":"<div class=\"textbox learning-objectives\">\r\n<h3>Learning Outcomes<\/h3>\r\n<div class=\"os-section-area\"><section id=\"fs-id1167793432260\" class=\"key-concepts\" data-depth=\"1\">\r\n<ul id=\"fs-id1167794160198\" data-bullet-style=\"bullet\">\r\n \t<li>Explain when a function of two variables is differentiable.<\/li>\r\n \t<li>Use the total differential to approximate the change in a function of two variables.<\/li>\r\n<\/ul>\r\n<\/section><\/div>\r\n<\/div>\r\nWhen working with a function [latex]y=f\\,(x)[\/latex] of one variable, the function is said to be differentiable at a point [latex]x=a[\/latex] if [latex]f'\\,(a)[\/latex] exists. Furthermore, if a function of one variable is differentiable at a point, the graph is \"smooth\" at that point (i.e., no corners exist) and a tangent line is well-defined at that point.\r\n\r\nThe idea\u00a0behind differentiability of a function of two variables is connected to the idea of smoothness at that point. In this case, a surface is considered to be smooth at point [latex]P[\/latex]\u00a0if a tangent plane to the surface exists at that point. If a function is differentiable at a point, then a tangent plane to the surface exists at that point. Recall the formula for a tangent plane at a point [latex](x_0,\\ y_0)[\/latex] is given by\r\n<div style=\"text-align: center;\">[latex]\\large{z=f\\,(x_0,\\ y_0)+f_x\\,(x_0,\\ y_0)(x-x_0)+f_y\\,(x_0,\\ y_0)(y-y_0)}[\/latex],<\/div>\r\n&nbsp;\r\n\r\nFor a tangent plane to exist at the point [latex](x_0,\\ y_0)[\/latex], the partial derivatives must therefore exist at that point. However, this is not a sufficient condition for smoothness, as was illustrated in Figure 3. In that case, the partial derivatives existed at the origin, but the function also had a corner on the graph at the origin.\r\n<div class=\"textbox shaded\">\r\n<h3 style=\"text-align: center;\" data-type=\"title\">Definition<\/h3>\r\n\r\n<hr \/>\r\n\r\nA function [latex]f\\,(x,\\ y)[\/latex] is\u00a0<strong>differentiable<\/strong> at a point [latex]P\\ (x_0,\\ y_0)[\/latex] if, for all points [latex](x,\\ y)[\/latex] in a [latex]\\delta[\/latex] disk around [latex]P[\/latex], we can write\r\n<div style=\"text-align: center;\">[latex]\\large{f\\,(x,\\ y,\\ z)=f\\,(x_0,\\ y_0)+f_x\\,(x_0,\\ y_0)(x-x_0)+f_y\\,(x_0,\\ y_0)(y-y_0)+E\\,(x,\\ y)}[\/latex],<\/div>\r\n&nbsp;\r\n\r\nwhere the error term [latex]E[\/latex] satisfies\r\n<div style=\"text-align: center;\">[latex]\\large{\\displaystyle\\lim_{(x,\\ y)\\to(x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}=0}.[\/latex]<\/div>\r\n&nbsp;\r\n\r\n<\/div>\r\nThe last term in the Differentiable Function at a Point Equation is referred to as the <span id=\"33f1aa9d-c145-4422-ae15-918fed2f7444_term180\" class=\"no-emphasis\" data-type=\"term\"><em data-effect=\"italics\">error term<\/em><\/span> and it represents how closely the tangent plane comes to the surface in a small neighborhood ([latex]\\delta[\/latex] disk) of point [latex]P[\/latex]. For the function [latex]f[\/latex] to be differentiable at [latex]P[\/latex], the function must be smooth\u2014that is, the graph of [latex]f[\/latex] must be close to the tangent plane for points near [latex]P[\/latex].\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Demonstrating Differentiability<\/h3>\r\nShow that the function [latex]f\\,(x,\\ y)=2x^{2}-4y[\/latex] is differentiable at point [latex](2,-3)[\/latex].\r\n\r\n[reveal-answer q=\"fs-id1467793733125\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"fs-id1467793733125\"]\r\n<p style=\"text-align: left;\">First, we calculate [latex]f\\,(x_0,\\ y_0)[\/latex], [latex]f_x\\,(x_0,\\ y_0)[\/latex], and [latex]f_y\\,(x_0,\\ y_0)[\/latex] using [latex]x_0=2[\/latex] and [latex]y_0=-3[\/latex], then we use\u00a0the equation for a Differentiable Function at a Point:<\/p>\r\n\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {f\\,(2,-3)} &amp; =\\hfill &amp; {2(2)^{2}-4(-3)=8+12=20}\\hfill \\\\ \\hfill {f_x\\,(2,-3)} &amp; =\\hfill &amp; {4(2)=8}\\hfill \\\\ \\hfill {f_y\\,(2,-3)} &amp; =\\hfill &amp; {-4.}\\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nTherefore [latex]m_1=8[\/latex] and [latex]m_2 =-4[\/latex], and\u00a0the equation for a Differentiable Function at a Point\u00a0becomes\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {f\\,(x,\\ y)} &amp; =\\hfill &amp; {f\\,(2,-3)+f_x\\,(2,-3)(x-2)+f_y\\,(2,-3)(y+3)+E\\,(x,\\ y)}\\hfill \\\\ \\hfill {2x^{2}-4y} &amp; =\\hfill &amp; {20+8(x-2)-4(y+3)+E\\,(x,\\ y)}\\hfill \\\\ \\hfill {2x^{2}-4y} &amp; =\\hfill &amp; {20+8x-16-4y-12+E\\,(x,\\ y)}\\hfill \\\\ \\hfill {2x^{2}-4y}&amp; =\\hfill &amp; {8x-4y-8+E\\,(x,\\ y)}\\hfill \\\\ \\hfill{E\\,(x,\\ y)}&amp; =\\hfill &amp; {2x^{2}-8x+8.}\\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nNext, we calculate [latex]\\displaystyle\\lim_{(x,\\ y)\\to (x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}[\/latex]:\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\displaystyle\\lim_{(x,\\ y)\\to (x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}} &amp; =\\hfill &amp; {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}\\frac{2x^{2}-8x+8}{\\sqrt{(x-2)^{2}+(y+3)^{2}}}}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}\\frac{2(x^{2}-4x+4)}{\\sqrt{(x-2)^{2}+(y+3)^{2}}}}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}\\frac{2(x-2)^{2}}{\\sqrt{(x-2)^{2}+(y+3)^{2}}}}\\hfill \\\\ \\hfill &amp; \\leq\\hfill &amp; {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}\\frac{2((x-2)^{2}+(y+3)^{2})}{\\sqrt{(x-2)^{2}+(y+3)^{2}}}} \\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}2\\sqrt{(x-2)^{2}+(y+3)^{2}}}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {0.}\\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nSince [latex]E\\,(x,\\ y)\\geq 0[\/latex] for any value of [latex]x[\/latex] or [latex]y[\/latex], the original limit must be equal to zero. Therefore, [latex]f\\,(x,\\ y)=2x^{2}-4y[\/latex] is differentiable at point [latex](2,-3)[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>TRY IT<\/h3>\r\nShow that the function [latex]f\\,(x,\\ y)=3x-4y^{2}[\/latex] is differentiable at point [latex](-1,\\ 2)[\/latex].\r\n\r\n[reveal-answer q=\"fs-id1467793633124\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"fs-id1467793633124\"]\r\n<div style=\"text-align: center;\">[latex]f\\,(-1,\\ 2)=-19[\/latex], [latex]f_x\\,(-1,\\ 2)=3[\/latex], [latex]f_y\\,(-1,\\ 2)=-16[\/latex], [latex]E\\,(x,\\ y)=-4(y-2)^{2}[\/latex].<\/div>\r\n&nbsp;\r\n<div>[latex]\\begin{array}{ccc}\\hfill {\\displaystyle\\lim_{(x,\\ y)\\to (x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}}&amp; =\\hfill &amp; {\\displaystyle\\lim_{(x,\\ y)\\to (-1,\\ 2)}\\frac{-4(y-2)^{2}}{\\sqrt{(x+1)^{2}+(y-2)^{2}}}}\\hfill \\\\ \\hfill &amp; \\leq\\hfill &amp; {\\displaystyle\\lim_{(x,\\ y)\\to (-1,\\ 2)}\\frac{-4((x+1)^{2}+(y-2)^{2})}{\\sqrt{(x+1)^{2}+(y-2)^{2}}}}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}-4\\sqrt{(x+1)^{2}+(y-2)^{2}}}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {0.}\\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n\r\n[caption]Watch the following video to see the worked solution to the above Try It[\/caption]\r\n\r\n<center><iframe src=\"\/\/plugin.3playmedia.com\/show?mf=8186158&amp;p3sdk_version=1.10.1&amp;p=20361&amp;pt=375&amp;video_id=sHwCY2cb57M&amp;video_target=tpm-plugin-vu4834g5-sHwCY2cb57M\" width=\"800px\" height=\"450px\" frameborder=\"0\" marginwidth=\"0px\" marginheight=\"0px\"><\/iframe><\/center>\r\n<p style=\"text-align: center;\">You can view the <a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Calculus+3\/Calc+3+transcripts\/CP4.21_transcript.html\">transcript for \u201cCP 4.21\u201d here (opens in new window).<\/a><\/p>\r\nThe function [latex]f\\,(x,\\ y)=\\begin{cases}\\frac{xy}{\\sqrt{x^{2}+y^{2}}}\\ (x,\\ y)\\neq (0,\\ 0)\\\\0\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (x,\\ y)=(0,\\ 0)\\end{cases}[\/latex] is not differentiable at the origin. We can see this by calculating the partial derivatives. This function appeared earlier in the section, where we showed that [latex]f_x\\,(0,\\ 0)=f_y\\,(0,\\ 0)=0[\/latex]. Substituting this information into our definition equation using [latex]x_0=0[\/latex] and [latex]y_0=0[\/latex], we get\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {f\\,(x,\\ y)} &amp; =\\hfill &amp; {f\\,(0,\\ 0)+f_x\\,(0,\\ 0)(x-0)+f_y\\,(0,\\ 0)(y-0)+E\\,(x,\\ y)}\\hfill \\\\ \\hfill {E\\,(x,\\ y)} &amp; =\\hfill &amp; {\\frac{xy}{\\sqrt{x^{2}+y^{2}}}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nCalculating [latex]\\displaystyle\\lim_{(x,\\ y)\\to (x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}[\/latex] gives\r\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\displaystyle\\lim_{(x,\\ y)\\to (x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}} &amp; =\\hfill &amp; {\\displaystyle\\lim_{(x,\\ y)\\to (0,\\ 0)}\\frac{\\frac{xy}{\\sqrt{x^{2}+y^{2}}}}{\\sqrt{x^{2}+y^{2}}}}\\hfill \\\\ \\hfill &amp; =\\hfill &amp; {\\displaystyle\\lim_{(x,\\ y)\\to (0,\\ 0)}\\frac{xy}{x^{2}+y^{2}}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nDepending on the path taken toward the origin, this limit takes different values. Therefore, the limit does not exist and the function [latex]f[\/latex] is not differentiable at the origin as shown in the following figure\r\n\r\n[caption id=\"attachment_1240\" align=\"aligncenter\" width=\"579\"]<img class=\"size-full wp-image-1240\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/22220707\/4-4-6.jpeg\" alt=\"A curved surface in xyz space that remains constant along the positive x axis and curves downward along the line y = \u2013x in the second quadrant.\" width=\"579\" height=\"518\" \/> Figure 1. This function [latex]f(x,y)[\/latex] is not differentiable at the origin.[\/caption]Differentiability and continuity for functions of two or more variables are connected, the same as for functions of one variable. In fact, with some adjustments of notation, the basic theorem is the same.\r\n<div class=\"textbox shaded\">\r\n<h3 style=\"text-align: center;\" data-type=\"title\">Differentiability implies continuity<\/h3>\r\n\r\n<hr \/>\r\n\r\nLet [latex]z=f\\,(x,\\ y)[\/latex] be a function of two variables with [latex](x_0,\\ y_0)[\/latex] in the domain of [latex]f[\/latex]. If [latex]f\\,(x,\\ y)[\/latex] is differentiable at [latex](x_0,\\ y_0)[\/latex], then [latex]f\\,(x,\\ y)[\/latex] is continuous at [latex](x_0,\\ y_0)[\/latex].\r\n\r\n<\/div>\r\nDifferentiability Implies Continuity shows that if a function is differentiable at a point, then it is continuous there. However, if a function is continuous at a point, then it is not necessarily differentiable at that point. For example,\r\n<div style=\"text-align: center;\">[latex]\\large{f\\,(x,\\ y)=\\begin{cases}\\frac{xy}{\\sqrt{x^{2}+y^{2}}}\\ (x,\\ y)\\neq (0,\\ 0)\\\\0\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (x,\\ y)=(0,\\ 0)\\end{cases}}[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1167793401421\">is continuous at the origin, but it is not differentiable at the origin. This observation is also similar to the situation in single-variable calculus.<\/p>\r\n<p id=\"fs-id1167793960607\">Continuity of First Partials Implies Differentiability further explores the connection between continuity and differentiability at a point. This theorem says that if the function and its partial derivatives are continuous at a point, the function is differentiable.<\/p>\r\n\r\n<div class=\"textbox shaded\">\r\n<h3 style=\"text-align: center;\" data-type=\"title\">Continuity of first partials implies differentiability<\/h3>\r\n\r\n<hr \/>\r\n\r\nLet [latex]z=f\\,(x,\\ y)[\/latex] be a function of two variables with [latex](x_0,\\ y_0)[\/latex] in the domain of [latex]f[\/latex]. If [latex]f\\,(x,\\ y)[\/latex], [latex]f_x\\,(x,\\ y)[\/latex], and [latex]f_y\\,(x,\\ y)[\/latex] all exist in a neighborhood of [latex](x_0,\\ y_0)[\/latex] and are continuous at [latex](x_0,\\ y_0)[\/latex], then [latex]f\\,(x,\\ y)[\/latex] is differentiable there.\r\n\r\n<\/div>\r\nRecall that earlier we showed that the function\r\n<div style=\"text-align: center;\">[latex]\\large{f\\,(x,\\ y)=\\begin{cases}\\frac{xy}{\\sqrt{x^{2}+y^{2}}}\\ (x,\\ y)\\neq (0,\\ 0)\\\\0\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (x,\\ y)=(0,\\ 0)\\end{cases}}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nwas not differentiable at the origin. Let's calculate the partial derivatives [latex]f_x[\/latex] and [latex]f_y[\/latex]:\r\n<div style=\"text-align: center;\">[latex]\\LARGE{\\frac{\\partial f}{\\partial x}=\\frac{y^{3}}{(x^{2}+y^{2})^{3\/2}}}[\/latex] and [latex]\\LARGE{\\frac{\\partial f}{\\partial y}=\\frac{x^{3}}{(x^{2}+y^{2})^{3\/2}}}.[\/latex]<\/div>\r\n&nbsp;\r\n<p id=\"fs-id1167793642058\">The contrapositive of the preceding theorem states that if a function is not differentiable, then at least one of the hypotheses must be false. Let\u2019s explore the condition that [latex]f_x(0,0)[\/latex] must be continuous. For this to be true, it must be true that [latex]\\displaystyle\\lim_{(x,y)\\to(0,0)}{f_x(0,0) = f_x(0,0)}[\/latex]:<\/p>\r\n<p style=\"text-align: center;\">[latex]\\large{\\displaystyle\\lim_{(x,y)\\to(0,0)}{f_x(x,y)}=\\displaystyle\\lim_{(x,y)\\to(0,0)}{\\frac{y^3}{(x^2+y^2)^{3\/2}}}}.[\/latex]<\/p>\r\n<p id=\"fs-id1167793503962\" style=\"text-align: left;\">Let\u00a0[latex]x= ky[\/latex]. Then<\/p>\r\n[latex]\\begin{alignat}{2} \\hspace{6cm}\\displaystyle\\lim_{(x,y)\\to(0,0)}{\\frac{y^3}{(x^2+y^2)^{3\/2}}}&amp;=\\displaystyle\\lim_{y\\to0}{\\frac{y^3}{((ky)^2+y^2)^{3\/2}}}\\\\\r\n\r\n&amp;=\\displaystyle\\lim_{y\\to0}{\\frac{y^3}{(k^2y^2+y^2)^{3\/2}}}&amp;\\quad\\\\\r\n\r\n&amp;=\\displaystyle\\lim_{y\\to0}{\\frac{y^3}{|y^3|(k^2+1)^{3\/2}}}\\\\\r\n\r\n&amp;=\\frac1{(k^2+1)^{3\/2}}\\displaystyle\\lim_{y\\to0}{\\frac{|y|}{y}}\\\\\r\n\r\n\\end{alignat}[\/latex]\r\n\r\n<span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">If <\/span>[latex]y&gt;0[\/latex]<span style=\"font-size: 1em;\">,\u00a0<\/span><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">then this expression equals\u00a0<\/span>[latex]1\/(k^2+1)^{3\/2}[\/latex]; if [latex]y&lt;0[\/latex]<span style=\"font-size: 1em;\">\u00a0<\/span><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">then it equals\u00a0<\/span>[latex]-\\left(1\/(k^2+1)^{3\/2}\\right)[\/latex]<span style=\"font-size: 1em;\">.\u00a0<\/span><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">In either case, the value depends on\u00a0<\/span>[latex]k[\/latex]<span style=\"font-size: 1em;\">,\u00a0<\/span><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">so the limit fails to exist.<\/span>\r\n<div>\r\n<h2 data-type=\"title\">Differentials<\/h2>\r\n<p id=\"fs-id1167793219275\">In\u00a0<a href=\"https:\/\/courses.lumenlearning.com\/calculus1\/chapter\/introduction-to-linear-approximations-and-differentials\/\" target=\"_blank\" rel=\"noopener\" data-book-uuid=\"8b89d172-2927-466f-8661-01abc7ccdba4\" data-page-slug=\"4-2-linear-approximations-and-differentials\">Linear Approximations and Differentials<\/a>\u00a0we first studied the concept of differentials. The differential of [latex]y[\/latex]<span style=\"font-size: 1em;\">,\u00a0<\/span>written [latex]dy[\/latex]<span style=\"font-size: 1em;\">,<\/span>\u00a0is defined as[latex]f'(x)dx[\/latex]<span style=\"font-size: 1em;\">.\u00a0<\/span>The differential is used to approximate[latex]\\Delta y = f(x+\\Delta x)-f(x)[\/latex]<span style=\"font-size: 1em;\">,<\/span>\u00a0where[latex]\\Delta x=dx[\/latex]<span style=\"font-size: 1em;\">.<\/span>\u00a0Extending this idea to the linear approximation of a function of two variables at the point[latex](x_0, y_0)[\/latex]\u00a0yields the formula for the total differential for a function of two variables.<\/p>\r\n\r\n<div class=\"textbox shaded\">\r\n<h3 style=\"text-align: center;\" data-type=\"title\">DEfinition<\/h3>\r\n\r\n<hr \/>\r\n\r\nLet [latex]z=f(x,y)[\/latex] be a function of two variables with [latex](x_0, y_0)[\/latex] in the domain of [latex]f[\/latex] and let [latex]\\Delta x[\/latex] and [latex]\\Delta y[\/latex] be chosen so that [latex](x_0+\\Delta x, y_0+\\Delta y)[\/latex] is also in the domain of [latex]f[\/latex]. If [latex]f[\/latex] is differentiable at the point [latex](x_0, y_0)[\/latex]<span class=\"os-math-in-para\"><span id=\"MathJax-Element-205-Frame\" class=\"MathJax\" style=\"box-sizing: border-box; overflow: initial; display: inline-table; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;\/mo&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mn&gt;0&lt;\/mn&gt;&lt;\/msub&gt;&lt;mo&gt;,&lt;\/mo&gt;&lt;msub&gt;&lt;mi&gt;y&lt;\/mi&gt;&lt;mn&gt;0&lt;\/mn&gt;&lt;\/msub&gt;&lt;\/mrow&gt;&lt;mo&gt;)&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mo&gt;,&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;\/mo&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mn&gt;0&lt;\/mn&gt;&lt;\/msub&gt;&lt;mo&gt;,&lt;\/mo&gt;&lt;msub&gt;&lt;mi&gt;y&lt;\/mi&gt;&lt;mn&gt;0&lt;\/mn&gt;&lt;\/msub&gt;&lt;\/mrow&gt;&lt;mo&gt;)&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mo&gt;,&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt;\"><span id=\"MathJax-Span-6162\" class=\"math\"><span id=\"MathJax-Span-6163\" class=\"mrow\"><span id=\"MathJax-Span-6164\" class=\"semantics\"><span id=\"MathJax-Span-6165\" class=\"mrow\"><span id=\"MathJax-Span-6166\" class=\"mrow\"><span id=\"MathJax-Span-6167\" class=\"mrow\"><span id=\"MathJax-Span-6177\" class=\"mo\">,\u00a0<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><span style=\"font-size: 1rem; text-align: initial;\">then the differentials [latex]dx[\/latex] and [latex]dy[\/latex] are defined as<\/span>\r\n<p style=\"text-align: center;\">[latex]\\large{dx= \\Delta x}[\/latex] and [latex]\\large{dy= \\Delta y}[\/latex]<\/p>\r\nThe differential [latex]dz[\/latex] also called the\u00a0<span id=\"33f1aa9d-c145-4422-ae15-918fed2f7444_term181\" data-type=\"term\">total differential<\/span>\u00a0of [latex]z=f(x,y)[\/latex] at [latex](x_0,y_0)[\/latex]<span style=\"font-size: 0.9em;\">,\u00a0<\/span><span style=\"font-size: 1rem; text-align: initial;\">is defined as<\/span>\r\n<p style=\"text-align: center;\">[latex]\\large{dz=f_x(x_0,y_0)dx+f_y(x_0,y_0)dy}[\/latex].<\/p>\r\n\r\n<\/div>\r\n<p id=\"fs-id1167793640598\">Notice that the symbol [latex]\\partial[\/latex] is not used to denote the total differential; rather, [latex]d[\/latex] appears in front of [latex]z[\/latex]. Now, let\u2019s define [latex]\\Delta z=f(x+\\Delta x, y+\\Delta y) - f(x,y)[\/latex].\u00a0We use [latex]dz[\/latex] to approximate [latex]\\Delta z[\/latex], so<\/p>\r\n<p style=\"text-align: center;\">[latex]\\Delta z\\approx dz=f_x(x_0,y_0)dx+f_y(x_0,y_0)dy[\/latex].<\/p>\r\nTherefore, the differential is used to approximate the change in the function [latex]z=f(x_0, y_0)[\/latex] at the point [latex](x_0, y_0)[\/latex] for given values of [latex]\\Delta x[\/latex] and [latex]\\Delta y[\/latex]. Since [latex]\\Delta z=f(x+ \\Delta x, y+ \\Delta y)-f(x, y)[\/latex], this can be used further to approximate [latex]f(x+ \\Delta x, y+ \\Delta y)[\/latex]:\r\n\r\n[latex]\\hspace{8cm}\\begin{alignat}{2} f(x+\\Delta{x},y+\\Delta{y})&amp;=f(x,y)+\\Delta{z}\\\\\r\n\r\n&amp;\\approx{f}(x,y)+f_x(x_0,y_0)\\Delta{x}+f_y(x_0,y_0)\\Delta{y}.\\\\\r\n\r\n\\end{alignat}[\/latex]\r\n\r\nSee the following figure.\r\n\r\n[caption id=\"attachment_1242\" align=\"aligncenter\" width=\"435\"]<img class=\"size-full wp-image-1242\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/22220929\/4-4-7.jpeg\" alt=\"A surface f in the xyz plane, with a tangent plane at the point (x, y, f(x, y)). On the (x, y) plane, there is a point marked (x + \u0394x, y + \u0394y). There is a dashed line to the corresponding point on the graph of f and the line then continues to the tangent plane; the distance to the graph of f is marked f(x + + \u0394x, y + \u0394y), and the distance to the tangent plane is marked as the linear approximation.\" width=\"435\" height=\"349\" \/> Figure 2. The linear approximation is calculated via the formula\u00a0[latex]\\small{f(x+\\Delta{x},y+\\Delta{y}) \\approx f(x,y)+f_{x}(x_{0},y_{0})\\Delta{x}+f_{y}(x_{0},y_{0})\\Delta{y}}[\/latex].[\/caption]One such application of this idea is to determine error propagation. For example, if we are manufacturing a gadget and are off by a certain amount in measuring a given quantity, the differential can be used to estimate the error in the total volume of the gadget.\r\n<div class=\"textbox exercises\">\r\n<h3>Example: Approximation by differentials<\/h3>\r\nFind the differential [latex]dz[\/latex] of the function [latex]f(x,y)=3x^{2}-2xy+y^{2}[\/latex] and use it to approximate [latex]\\Delta z[\/latex] at point [latex](2, -3)[\/latex]. Use [latex]\\Delta x=0.1[\/latex] and [latex]\\Delta y=-0.05[\/latex] What is the exact value of [latex]\\Delta z[\/latex]<span class=\"os-math-in-para\"><span id=\"MathJax-Element-234-Frame\" class=\"MathJax\" style=\"box-sizing: border-box; overflow: initial; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mtext&gt;&amp;#x394;&lt;\/mtext&gt;&lt;mi&gt;z&lt;\/mi&gt;&lt;mo&gt;?&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mtext&gt;\u0394&lt;\/mtext&gt;&lt;mi&gt;z&lt;\/mi&gt;&lt;mo&gt;?&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt;\"><span id=\"MathJax-Span-6723\" class=\"math\"><span id=\"MathJax-Span-6724\" class=\"mrow\"><span id=\"MathJax-Span-6725\" class=\"semantics\"><span id=\"MathJax-Span-6726\" class=\"mrow\"><span id=\"MathJax-Span-6727\" class=\"mrow\"><span id=\"MathJax-Span-6730\" class=\"mo\">?<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span>\r\n\r\n[reveal-answer q=\"875201369\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"875201369\"]\r\n\r\nFirst, we must calculate [latex]f(x_0, y_0)[\/latex], [latex]f_x(x_0, y_0)[\/latex], and [latex]f_y(x_0, y_0)[\/latex] using [latex]x_0=2[\/latex] and [latex]y_0=-3[\/latex]:\r\n\r\n[latex]\\begin{alignat}{2} \\hspace{6cm}f(x_0, y_0)&amp;=f(2,-3)=3(2)^2-2(2)(-3)+(-3)^2=12+12+9=33\\\\\r\n\r\nf_x(x,y)&amp;=6x-2y\\\\\r\n\r\nf_y(x,y)&amp;=-2x+2y\\\\\r\n\r\nf_x(x_0, y_0)&amp;=f_x(2,-3)=6(2)-2(-3)=12+6=18\\\\\r\n\r\nf_y(x_0, y_0)&amp;=f_y(2,-3)=-2(2)+2(-3)=-4-6=-10.\\\\\r\n\r\n\\end{alignat}[\/latex]\r\n\r\nThen, we substitute these quantities into\u00a0the Total Differential Equation:\r\n\r\n[latex]\\begin{alignat}{2} \\hspace{7.2cm}dz&amp;=f_x(x_0, y_0)dx+f_y(x_0,y_0)dy\\\\\r\n\r\ndz&amp;=18(0.1)-10(-0.05)=1.8+0.5=2.3.\\\\\r\n\r\n\\end{alignat}[\/latex]\r\n\r\nThis is the approximation to [latex]\\Delta{z}=f(x_0+\\Delta{x},y_0+\\Delta{y})-f(x_0,y_0)[\/latex]\u00a0The exact value of [latex]\\Delta z[\/latex] is given by\r\n\r\n[latex]\\begin{alignat}{2} \\hspace{7.2cm}\\Delta{z}&amp;=f(x_0+\\Delta{x},y_0+\\Delta{y})-f(x_0,y_0)\\\\\r\n\r\n&amp;=f(2+0.1,-3-0.05)-f(2,-3)\\\\\r\n\r\n&amp;=f(2.1,-3.05)-f(2,-3)\\\\\r\n\r\n&amp;=2.3425.\\\\\r\n\r\n\\end{alignat}[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try it<\/h3>\r\nFind the differential [latex]dz[\/latex] of the function [latex]f(x, y)=4y^{2}+x^{2}y-2xy[\/latex] and use it to approximate [latex]\\Delta z[\/latex] at point [latex](1, -1)[\/latex]. Use [latex] \\Delta x=0.03[\/latex] and [latex]\\Delta y=-0.02[\/latex]. What is the exact value of [latex]\\Delta z[\/latex]<span class=\"os-math-in-para\"><span id=\"MathJax-Element-249-Frame\" class=\"MathJax\" style=\"box-sizing: border-box; overflow: initial; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mtext&gt;&amp;#x394;&lt;\/mtext&gt;&lt;mi&gt;z&lt;\/mi&gt;&lt;mo&gt;?&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mtext&gt;\u0394&lt;\/mtext&gt;&lt;mi&gt;z&lt;\/mi&gt;&lt;mo&gt;?&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt;\"><span id=\"MathJax-Span-7297\" class=\"math\"><span id=\"MathJax-Span-7298\" class=\"mrow\"><span id=\"MathJax-Span-7299\" class=\"semantics\"><span id=\"MathJax-Span-7300\" class=\"mrow\"><span id=\"MathJax-Span-7301\" class=\"mrow\"><span id=\"MathJax-Span-7304\" class=\"mo\">?<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span>\r\n\r\n[reveal-answer q=\"723995431\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"723995431\"]\r\n<p style=\"padding-left: 300px; text-align: left;\">[latex]dz=0.18[\/latex]<\/p>\r\n<p style=\"padding-left: 300px; text-align: left;\">[latex]\\Delta z =f(1.03,-1.02)-f(1,-1)=0.180682[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n\r\n[caption]Watch the following video to see the worked solution to the above Try It[\/caption]\r\n\r\n<center><iframe src=\"\/\/plugin.3playmedia.com\/show?mf=8186159&amp;p3sdk_version=1.10.1&amp;p=20361&amp;pt=375&amp;video_id=iYp0IP1wN0w&amp;video_target=tpm-plugin-l2ka20sb-iYp0IP1wN0w\" width=\"800px\" height=\"450px\" frameborder=\"0\" marginwidth=\"0px\" marginheight=\"0px\"><\/iframe><\/center><center>You can view the <a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Calculus+3\/Calc+3+transcripts\/CP4.22_transcript.html\">transcript for \u201cCP 4.22\u201d here (opens in new window).<\/a><\/center>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\n[ohm_question]250904[\/ohm_question]\r\n\r\n<\/div>\r\n<h2 data-type=\"title\">Differentiability of a Function of Three Variables<\/h2>\r\n<p id=\"fs-id1167793219321\">All of the preceding results for differentiability of functions of two variables can be generalized to functions of three variables. First, the definition:<\/p>\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3 style=\"text-align: center;\" data-type=\"title\">DEfinition<\/h3>\r\n\r\n<hr \/>\r\n\r\nA function [latex]f(x, y, z)[\/latex] is differentiable at a point [latex]P(x_0, y_0, z_0)[\/latex] if for all points [latex](x, y, z)[\/latex] in a <span style=\"white-space: nowrap;\">[latex]\\delta[\/latex]\u00a0<\/span>disk around [latex]P[\/latex] we can write\r\n\r\n[latex]\\begin{alignat}{2}\\hspace{6cm}f(x, y, z)&amp;=f_x(x_0, y_0, z_0)(x-x_0)+f_y(x_0, y_0, z_0)(y-y_0)\\\\\r\n\r\n&amp; \\;\\; +f_z(x_0, y_0, z_0)(z-z_0)+E(x,y,z),\\\\\r\n\r\n\\end{alignat}[\/latex]\r\n<p id=\"fs-id1167794212833\">where the error term [latex]E[\/latex] satisfies<\/p>\r\n<p style=\"text-align: center;\">[latex]\\displaystyle\\lim_{(x,y,z)\\to(x_0,y_0,z_0)}=\\frac{E(x,y,x)}{\\sqrt{(x-x_0)^2+(y-y_0)^2+(z-z_0)^2}}=0.[\/latex]<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\nIf a function of three variables is differentiable at a point [latex](x_0, y_0, z_0)[\/latex]\u00a0then it is continuous there. Furthermore, continuity of first partial derivatives at that point guarantees differentiability.\r\n\r\n<\/div>","rendered":"<div class=\"textbox learning-objectives\">\n<h3>Learning Outcomes<\/h3>\n<div class=\"os-section-area\">\n<section id=\"fs-id1167793432260\" class=\"key-concepts\" data-depth=\"1\">\n<ul id=\"fs-id1167794160198\" data-bullet-style=\"bullet\">\n<li>Explain when a function of two variables is differentiable.<\/li>\n<li>Use the total differential to approximate the change in a function of two variables.<\/li>\n<\/ul>\n<\/section>\n<\/div>\n<\/div>\n<p>When working with a function [latex]y=f\\,(x)[\/latex] of one variable, the function is said to be differentiable at a point [latex]x=a[\/latex] if [latex]f'\\,(a)[\/latex] exists. Furthermore, if a function of one variable is differentiable at a point, the graph is &#8220;smooth&#8221; at that point (i.e., no corners exist) and a tangent line is well-defined at that point.<\/p>\n<p>The idea\u00a0behind differentiability of a function of two variables is connected to the idea of smoothness at that point. In this case, a surface is considered to be smooth at point [latex]P[\/latex]\u00a0if a tangent plane to the surface exists at that point. If a function is differentiable at a point, then a tangent plane to the surface exists at that point. Recall the formula for a tangent plane at a point [latex](x_0,\\ y_0)[\/latex] is given by<\/p>\n<div style=\"text-align: center;\">[latex]\\large{z=f\\,(x_0,\\ y_0)+f_x\\,(x_0,\\ y_0)(x-x_0)+f_y\\,(x_0,\\ y_0)(y-y_0)}[\/latex],<\/div>\n<p>&nbsp;<\/p>\n<p>For a tangent plane to exist at the point [latex](x_0,\\ y_0)[\/latex], the partial derivatives must therefore exist at that point. However, this is not a sufficient condition for smoothness, as was illustrated in Figure 3. In that case, the partial derivatives existed at the origin, but the function also had a corner on the graph at the origin.<\/p>\n<div class=\"textbox shaded\">\n<h3 style=\"text-align: center;\" data-type=\"title\">Definition<\/h3>\n<hr \/>\n<p>A function [latex]f\\,(x,\\ y)[\/latex] is\u00a0<strong>differentiable<\/strong> at a point [latex]P\\ (x_0,\\ y_0)[\/latex] if, for all points [latex](x,\\ y)[\/latex] in a [latex]\\delta[\/latex] disk around [latex]P[\/latex], we can write<\/p>\n<div style=\"text-align: center;\">[latex]\\large{f\\,(x,\\ y,\\ z)=f\\,(x_0,\\ y_0)+f_x\\,(x_0,\\ y_0)(x-x_0)+f_y\\,(x_0,\\ y_0)(y-y_0)+E\\,(x,\\ y)}[\/latex],<\/div>\n<p>&nbsp;<\/p>\n<p>where the error term [latex]E[\/latex] satisfies<\/p>\n<div style=\"text-align: center;\">[latex]\\large{\\displaystyle\\lim_{(x,\\ y)\\to(x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}=0}.[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<p>The last term in the Differentiable Function at a Point Equation is referred to as the <span id=\"33f1aa9d-c145-4422-ae15-918fed2f7444_term180\" class=\"no-emphasis\" data-type=\"term\"><em data-effect=\"italics\">error term<\/em><\/span> and it represents how closely the tangent plane comes to the surface in a small neighborhood ([latex]\\delta[\/latex] disk) of point [latex]P[\/latex]. For the function [latex]f[\/latex] to be differentiable at [latex]P[\/latex], the function must be smooth\u2014that is, the graph of [latex]f[\/latex] must be close to the tangent plane for points near [latex]P[\/latex].<\/p>\n<div class=\"textbox exercises\">\n<h3>Example: Demonstrating Differentiability<\/h3>\n<p>Show that the function [latex]f\\,(x,\\ y)=2x^{2}-4y[\/latex] is differentiable at point [latex](2,-3)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"qfs-id1467793733125\">Show Solution<\/span><\/p>\n<div id=\"qfs-id1467793733125\" class=\"hidden-answer\" style=\"display: none\">\n<p style=\"text-align: left;\">First, we calculate [latex]f\\,(x_0,\\ y_0)[\/latex], [latex]f_x\\,(x_0,\\ y_0)[\/latex], and [latex]f_y\\,(x_0,\\ y_0)[\/latex] using [latex]x_0=2[\/latex] and [latex]y_0=-3[\/latex], then we use\u00a0the equation for a Differentiable Function at a Point:<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {f\\,(2,-3)} & =\\hfill & {2(2)^{2}-4(-3)=8+12=20}\\hfill \\\\ \\hfill {f_x\\,(2,-3)} & =\\hfill & {4(2)=8}\\hfill \\\\ \\hfill {f_y\\,(2,-3)} & =\\hfill & {-4.}\\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Therefore [latex]m_1=8[\/latex] and [latex]m_2 =-4[\/latex], and\u00a0the equation for a Differentiable Function at a Point\u00a0becomes<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {f\\,(x,\\ y)} & =\\hfill & {f\\,(2,-3)+f_x\\,(2,-3)(x-2)+f_y\\,(2,-3)(y+3)+E\\,(x,\\ y)}\\hfill \\\\ \\hfill {2x^{2}-4y} & =\\hfill & {20+8(x-2)-4(y+3)+E\\,(x,\\ y)}\\hfill \\\\ \\hfill {2x^{2}-4y} & =\\hfill & {20+8x-16-4y-12+E\\,(x,\\ y)}\\hfill \\\\ \\hfill {2x^{2}-4y}& =\\hfill & {8x-4y-8+E\\,(x,\\ y)}\\hfill \\\\ \\hfill{E\\,(x,\\ y)}& =\\hfill & {2x^{2}-8x+8.}\\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Next, we calculate [latex]\\displaystyle\\lim_{(x,\\ y)\\to (x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\displaystyle\\lim_{(x,\\ y)\\to (x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}} & =\\hfill & {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}\\frac{2x^{2}-8x+8}{\\sqrt{(x-2)^{2}+(y+3)^{2}}}}\\hfill \\\\ \\hfill & =\\hfill & {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}\\frac{2(x^{2}-4x+4)}{\\sqrt{(x-2)^{2}+(y+3)^{2}}}}\\hfill \\\\ \\hfill & =\\hfill & {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}\\frac{2(x-2)^{2}}{\\sqrt{(x-2)^{2}+(y+3)^{2}}}}\\hfill \\\\ \\hfill & \\leq\\hfill & {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}\\frac{2((x-2)^{2}+(y+3)^{2})}{\\sqrt{(x-2)^{2}+(y+3)^{2}}}} \\hfill \\\\ \\hfill & =\\hfill & {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}2\\sqrt{(x-2)^{2}+(y+3)^{2}}}\\hfill \\\\ \\hfill & =\\hfill & {0.}\\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Since [latex]E\\,(x,\\ y)\\geq 0[\/latex] for any value of [latex]x[\/latex] or [latex]y[\/latex], the original limit must be equal to zero. Therefore, [latex]f\\,(x,\\ y)=2x^{2}-4y[\/latex] is differentiable at point [latex](2,-3)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>TRY IT<\/h3>\n<p>Show that the function [latex]f\\,(x,\\ y)=3x-4y^{2}[\/latex] is differentiable at point [latex](-1,\\ 2)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"qfs-id1467793633124\">Show Solution<\/span><\/p>\n<div id=\"qfs-id1467793633124\" class=\"hidden-answer\" style=\"display: none\">\n<div style=\"text-align: center;\">[latex]f\\,(-1,\\ 2)=-19[\/latex], [latex]f_x\\,(-1,\\ 2)=3[\/latex], [latex]f_y\\,(-1,\\ 2)=-16[\/latex], [latex]E\\,(x,\\ y)=-4(y-2)^{2}[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<div>[latex]\\begin{array}{ccc}\\hfill {\\displaystyle\\lim_{(x,\\ y)\\to (x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}}& =\\hfill & {\\displaystyle\\lim_{(x,\\ y)\\to (-1,\\ 2)}\\frac{-4(y-2)^{2}}{\\sqrt{(x+1)^{2}+(y-2)^{2}}}}\\hfill \\\\ \\hfill & \\leq\\hfill & {\\displaystyle\\lim_{(x,\\ y)\\to (-1,\\ 2)}\\frac{-4((x+1)^{2}+(y-2)^{2})}{\\sqrt{(x+1)^{2}+(y-2)^{2}}}}\\hfill \\\\ \\hfill & =\\hfill & {\\displaystyle\\lim_{(x,\\ y)\\to (2,-3)}-4\\sqrt{(x+1)^{2}+(y-2)^{2}}}\\hfill \\\\ \\hfill & =\\hfill & {0.}\\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>Watch the following video to see the worked solution to the above Try It<\/p>\n<div style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"\/\/plugin.3playmedia.com\/show?mf=8186158&amp;p3sdk_version=1.10.1&amp;p=20361&amp;pt=375&amp;video_id=sHwCY2cb57M&amp;video_target=tpm-plugin-vu4834g5-sHwCY2cb57M\" width=\"800px\" height=\"450px\" frameborder=\"0\" marginwidth=\"0px\" marginheight=\"0px\"><\/iframe><\/div>\n<p style=\"text-align: center;\">You can view the <a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Calculus+3\/Calc+3+transcripts\/CP4.21_transcript.html\">transcript for \u201cCP 4.21\u201d here (opens in new window).<\/a><\/p>\n<p>The function [latex]f\\,(x,\\ y)=\\begin{cases}\\frac{xy}{\\sqrt{x^{2}+y^{2}}}\\ (x,\\ y)\\neq (0,\\ 0)\\\\0\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (x,\\ y)=(0,\\ 0)\\end{cases}[\/latex] is not differentiable at the origin. We can see this by calculating the partial derivatives. This function appeared earlier in the section, where we showed that [latex]f_x\\,(0,\\ 0)=f_y\\,(0,\\ 0)=0[\/latex]. Substituting this information into our definition equation using [latex]x_0=0[\/latex] and [latex]y_0=0[\/latex], we get<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {f\\,(x,\\ y)} & =\\hfill & {f\\,(0,\\ 0)+f_x\\,(0,\\ 0)(x-0)+f_y\\,(0,\\ 0)(y-0)+E\\,(x,\\ y)}\\hfill \\\\ \\hfill {E\\,(x,\\ y)} & =\\hfill & {\\frac{xy}{\\sqrt{x^{2}+y^{2}}}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Calculating [latex]\\displaystyle\\lim_{(x,\\ y)\\to (x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}[\/latex] gives<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill {\\displaystyle\\lim_{(x,\\ y)\\to (x_0,\\ y_0)}\\frac{E\\,(x,\\ y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}} & =\\hfill & {\\displaystyle\\lim_{(x,\\ y)\\to (0,\\ 0)}\\frac{\\frac{xy}{\\sqrt{x^{2}+y^{2}}}}{\\sqrt{x^{2}+y^{2}}}}\\hfill \\\\ \\hfill & =\\hfill & {\\displaystyle\\lim_{(x,\\ y)\\to (0,\\ 0)}\\frac{xy}{x^{2}+y^{2}}.} \\hfill \\\\ \\hfill \\end{array}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Depending on the path taken toward the origin, this limit takes different values. Therefore, the limit does not exist and the function [latex]f[\/latex] is not differentiable at the origin as shown in the following figure<\/p>\n<div id=\"attachment_1240\" style=\"width: 589px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1240\" class=\"size-full wp-image-1240\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/22220707\/4-4-6.jpeg\" alt=\"A curved surface in xyz space that remains constant along the positive x axis and curves downward along the line y = \u2013x in the second quadrant.\" width=\"579\" height=\"518\" \/><\/p>\n<p id=\"caption-attachment-1240\" class=\"wp-caption-text\">Figure 1. This function [latex]f(x,y)[\/latex] is not differentiable at the origin.<\/p>\n<\/div>\n<p>Differentiability and continuity for functions of two or more variables are connected, the same as for functions of one variable. In fact, with some adjustments of notation, the basic theorem is the same.<\/p>\n<div class=\"textbox shaded\">\n<h3 style=\"text-align: center;\" data-type=\"title\">Differentiability implies continuity<\/h3>\n<hr \/>\n<p>Let [latex]z=f\\,(x,\\ y)[\/latex] be a function of two variables with [latex](x_0,\\ y_0)[\/latex] in the domain of [latex]f[\/latex]. If [latex]f\\,(x,\\ y)[\/latex] is differentiable at [latex](x_0,\\ y_0)[\/latex], then [latex]f\\,(x,\\ y)[\/latex] is continuous at [latex](x_0,\\ y_0)[\/latex].<\/p>\n<\/div>\n<p>Differentiability Implies Continuity shows that if a function is differentiable at a point, then it is continuous there. However, if a function is continuous at a point, then it is not necessarily differentiable at that point. For example,<\/p>\n<div style=\"text-align: center;\">[latex]\\large{f\\,(x,\\ y)=\\begin{cases}\\frac{xy}{\\sqrt{x^{2}+y^{2}}}\\ (x,\\ y)\\neq (0,\\ 0)\\\\0\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (x,\\ y)=(0,\\ 0)\\end{cases}}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1167793401421\">is continuous at the origin, but it is not differentiable at the origin. This observation is also similar to the situation in single-variable calculus.<\/p>\n<p id=\"fs-id1167793960607\">Continuity of First Partials Implies Differentiability further explores the connection between continuity and differentiability at a point. This theorem says that if the function and its partial derivatives are continuous at a point, the function is differentiable.<\/p>\n<div class=\"textbox shaded\">\n<h3 style=\"text-align: center;\" data-type=\"title\">Continuity of first partials implies differentiability<\/h3>\n<hr \/>\n<p>Let [latex]z=f\\,(x,\\ y)[\/latex] be a function of two variables with [latex](x_0,\\ y_0)[\/latex] in the domain of [latex]f[\/latex]. If [latex]f\\,(x,\\ y)[\/latex], [latex]f_x\\,(x,\\ y)[\/latex], and [latex]f_y\\,(x,\\ y)[\/latex] all exist in a neighborhood of [latex](x_0,\\ y_0)[\/latex] and are continuous at [latex](x_0,\\ y_0)[\/latex], then [latex]f\\,(x,\\ y)[\/latex] is differentiable there.<\/p>\n<\/div>\n<p>Recall that earlier we showed that the function<\/p>\n<div style=\"text-align: center;\">[latex]\\large{f\\,(x,\\ y)=\\begin{cases}\\frac{xy}{\\sqrt{x^{2}+y^{2}}}\\ (x,\\ y)\\neq (0,\\ 0)\\\\0\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ (x,\\ y)=(0,\\ 0)\\end{cases}}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>was not differentiable at the origin. Let&#8217;s calculate the partial derivatives [latex]f_x[\/latex] and [latex]f_y[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]\\LARGE{\\frac{\\partial f}{\\partial x}=\\frac{y^{3}}{(x^{2}+y^{2})^{3\/2}}}[\/latex] and [latex]\\LARGE{\\frac{\\partial f}{\\partial y}=\\frac{x^{3}}{(x^{2}+y^{2})^{3\/2}}}.[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1167793642058\">The contrapositive of the preceding theorem states that if a function is not differentiable, then at least one of the hypotheses must be false. Let\u2019s explore the condition that [latex]f_x(0,0)[\/latex] must be continuous. For this to be true, it must be true that [latex]\\displaystyle\\lim_{(x,y)\\to(0,0)}{f_x(0,0) = f_x(0,0)}[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]\\large{\\displaystyle\\lim_{(x,y)\\to(0,0)}{f_x(x,y)}=\\displaystyle\\lim_{(x,y)\\to(0,0)}{\\frac{y^3}{(x^2+y^2)^{3\/2}}}}.[\/latex]<\/p>\n<p id=\"fs-id1167793503962\" style=\"text-align: left;\">Let\u00a0[latex]x= ky[\/latex]. Then<\/p>\n<p>[latex]\\begin{alignat}{2} \\hspace{6cm}\\displaystyle\\lim_{(x,y)\\to(0,0)}{\\frac{y^3}{(x^2+y^2)^{3\/2}}}&=\\displaystyle\\lim_{y\\to0}{\\frac{y^3}{((ky)^2+y^2)^{3\/2}}}\\\\    &=\\displaystyle\\lim_{y\\to0}{\\frac{y^3}{(k^2y^2+y^2)^{3\/2}}}&\\quad\\\\    &=\\displaystyle\\lim_{y\\to0}{\\frac{y^3}{|y^3|(k^2+1)^{3\/2}}}\\\\    &=\\frac1{(k^2+1)^{3\/2}}\\displaystyle\\lim_{y\\to0}{\\frac{|y|}{y}}\\\\    \\end{alignat}[\/latex]<\/p>\n<p><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">If <\/span>[latex]y>0[\/latex]<span style=\"font-size: 1em;\">,\u00a0<\/span><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">then this expression equals\u00a0<\/span>[latex]1\/(k^2+1)^{3\/2}[\/latex]; if [latex]y<0[\/latex]<span style=\"font-size: 1em;\">\u00a0<\/span><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">then it equals\u00a0<\/span>[latex]-\\left(1\/(k^2+1)^{3\/2}\\right)[\/latex]<span style=\"font-size: 1em;\">.\u00a0<\/span><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">In either case, the value depends on\u00a0<\/span>[latex]k[\/latex]<span style=\"font-size: 1em;\">,\u00a0<\/span><span style=\"font-size: 1rem; orphans: 1; text-align: initial;\">so the limit fails to exist.<\/span><\/p>\n<div>\n<h2 data-type=\"title\">Differentials<\/h2>\n<p id=\"fs-id1167793219275\">In\u00a0<a href=\"https:\/\/courses.lumenlearning.com\/calculus1\/chapter\/introduction-to-linear-approximations-and-differentials\/\" target=\"_blank\" rel=\"noopener\" data-book-uuid=\"8b89d172-2927-466f-8661-01abc7ccdba4\" data-page-slug=\"4-2-linear-approximations-and-differentials\">Linear Approximations and Differentials<\/a>\u00a0we first studied the concept of differentials. The differential of [latex]y[\/latex]<span style=\"font-size: 1em;\">,\u00a0<\/span>written [latex]dy[\/latex]<span style=\"font-size: 1em;\">,<\/span>\u00a0is defined as[latex]f'(x)dx[\/latex]<span style=\"font-size: 1em;\">.\u00a0<\/span>The differential is used to approximate[latex]\\Delta y = f(x+\\Delta x)-f(x)[\/latex]<span style=\"font-size: 1em;\">,<\/span>\u00a0where[latex]\\Delta x=dx[\/latex]<span style=\"font-size: 1em;\">.<\/span>\u00a0Extending this idea to the linear approximation of a function of two variables at the point[latex](x_0, y_0)[\/latex]\u00a0yields the formula for the total differential for a function of two variables.<\/p>\n<div class=\"textbox shaded\">\n<h3 style=\"text-align: center;\" data-type=\"title\">DEfinition<\/h3>\n<hr \/>\n<p>Let [latex]z=f(x,y)[\/latex] be a function of two variables with [latex](x_0, y_0)[\/latex] in the domain of [latex]f[\/latex] and let [latex]\\Delta x[\/latex] and [latex]\\Delta y[\/latex] be chosen so that [latex](x_0+\\Delta x, y_0+\\Delta y)[\/latex] is also in the domain of [latex]f[\/latex]. If [latex]f[\/latex] is differentiable at the point [latex](x_0, y_0)[\/latex]<span class=\"os-math-in-para\"><span id=\"MathJax-Element-205-Frame\" class=\"MathJax\" style=\"box-sizing: border-box; overflow: initial; display: inline-table; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;\/mo&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mn&gt;0&lt;\/mn&gt;&lt;\/msub&gt;&lt;mo&gt;,&lt;\/mo&gt;&lt;msub&gt;&lt;mi&gt;y&lt;\/mi&gt;&lt;mn&gt;0&lt;\/mn&gt;&lt;\/msub&gt;&lt;\/mrow&gt;&lt;mo&gt;)&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mo&gt;,&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;\/mo&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mn&gt;0&lt;\/mn&gt;&lt;\/msub&gt;&lt;mo&gt;,&lt;\/mo&gt;&lt;msub&gt;&lt;mi&gt;y&lt;\/mi&gt;&lt;mn&gt;0&lt;\/mn&gt;&lt;\/msub&gt;&lt;\/mrow&gt;&lt;mo&gt;)&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mo&gt;,&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt;\"><span id=\"MathJax-Span-6162\" class=\"math\"><span id=\"MathJax-Span-6163\" class=\"mrow\"><span id=\"MathJax-Span-6164\" class=\"semantics\"><span id=\"MathJax-Span-6165\" class=\"mrow\"><span id=\"MathJax-Span-6166\" class=\"mrow\"><span id=\"MathJax-Span-6167\" class=\"mrow\"><span id=\"MathJax-Span-6177\" class=\"mo\">,\u00a0<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><span style=\"font-size: 1rem; text-align: initial;\">then the differentials [latex]dx[\/latex] and [latex]dy[\/latex] are defined as<\/span><\/p>\n<p style=\"text-align: center;\">[latex]\\large{dx= \\Delta x}[\/latex] and [latex]\\large{dy= \\Delta y}[\/latex]<\/p>\n<p>The differential [latex]dz[\/latex] also called the\u00a0<span id=\"33f1aa9d-c145-4422-ae15-918fed2f7444_term181\" data-type=\"term\">total differential<\/span>\u00a0of [latex]z=f(x,y)[\/latex] at [latex](x_0,y_0)[\/latex]<span style=\"font-size: 0.9em;\">,\u00a0<\/span><span style=\"font-size: 1rem; text-align: initial;\">is defined as<\/span><\/p>\n<p style=\"text-align: center;\">[latex]\\large{dz=f_x(x_0,y_0)dx+f_y(x_0,y_0)dy}[\/latex].<\/p>\n<\/div>\n<p id=\"fs-id1167793640598\">Notice that the symbol [latex]\\partial[\/latex] is not used to denote the total differential; rather, [latex]d[\/latex] appears in front of [latex]z[\/latex]. Now, let\u2019s define [latex]\\Delta z=f(x+\\Delta x, y+\\Delta y) - f(x,y)[\/latex].\u00a0We use [latex]dz[\/latex] to approximate [latex]\\Delta z[\/latex], so<\/p>\n<p style=\"text-align: center;\">[latex]\\Delta z\\approx dz=f_x(x_0,y_0)dx+f_y(x_0,y_0)dy[\/latex].<\/p>\n<p>Therefore, the differential is used to approximate the change in the function [latex]z=f(x_0, y_0)[\/latex] at the point [latex](x_0, y_0)[\/latex] for given values of [latex]\\Delta x[\/latex] and [latex]\\Delta y[\/latex]. Since [latex]\\Delta z=f(x+ \\Delta x, y+ \\Delta y)-f(x, y)[\/latex], this can be used further to approximate [latex]f(x+ \\Delta x, y+ \\Delta y)[\/latex]:<\/p>\n<p>[latex]\\hspace{8cm}\\begin{alignat}{2} f(x+\\Delta{x},y+\\Delta{y})&=f(x,y)+\\Delta{z}\\\\    &\\approx{f}(x,y)+f_x(x_0,y_0)\\Delta{x}+f_y(x_0,y_0)\\Delta{y}.\\\\    \\end{alignat}[\/latex]<\/p>\n<p>See the following figure.<\/p>\n<div id=\"attachment_1242\" style=\"width: 445px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1242\" class=\"size-full wp-image-1242\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/22220929\/4-4-7.jpeg\" alt=\"A surface f in the xyz plane, with a tangent plane at the point (x, y, f(x, y)). On the (x, y) plane, there is a point marked (x + \u0394x, y + \u0394y). There is a dashed line to the corresponding point on the graph of f and the line then continues to the tangent plane; the distance to the graph of f is marked f(x + + \u0394x, y + \u0394y), and the distance to the tangent plane is marked as the linear approximation.\" width=\"435\" height=\"349\" \/><\/p>\n<p id=\"caption-attachment-1242\" class=\"wp-caption-text\">Figure 2. The linear approximation is calculated via the formula\u00a0[latex]\\small{f(x+\\Delta{x},y+\\Delta{y}) \\approx f(x,y)+f_{x}(x_{0},y_{0})\\Delta{x}+f_{y}(x_{0},y_{0})\\Delta{y}}[\/latex].<\/p>\n<\/div>\n<p>One such application of this idea is to determine error propagation. For example, if we are manufacturing a gadget and are off by a certain amount in measuring a given quantity, the differential can be used to estimate the error in the total volume of the gadget.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example: Approximation by differentials<\/h3>\n<p>Find the differential [latex]dz[\/latex] of the function [latex]f(x,y)=3x^{2}-2xy+y^{2}[\/latex] and use it to approximate [latex]\\Delta z[\/latex] at point [latex](2, -3)[\/latex]. Use [latex]\\Delta x=0.1[\/latex] and [latex]\\Delta y=-0.05[\/latex] What is the exact value of [latex]\\Delta z[\/latex]<span class=\"os-math-in-para\"><span id=\"MathJax-Element-234-Frame\" class=\"MathJax\" style=\"box-sizing: border-box; overflow: initial; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mtext&gt;&amp;#x394;&lt;\/mtext&gt;&lt;mi&gt;z&lt;\/mi&gt;&lt;mo&gt;?&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mtext&gt;\u0394&lt;\/mtext&gt;&lt;mi&gt;z&lt;\/mi&gt;&lt;mo&gt;?&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt;\"><span id=\"MathJax-Span-6723\" class=\"math\"><span id=\"MathJax-Span-6724\" class=\"mrow\"><span id=\"MathJax-Span-6725\" class=\"semantics\"><span id=\"MathJax-Span-6726\" class=\"mrow\"><span id=\"MathJax-Span-6727\" class=\"mrow\"><span id=\"MathJax-Span-6730\" class=\"mo\">?<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q875201369\">Show Solution<\/span><\/p>\n<div id=\"q875201369\" class=\"hidden-answer\" style=\"display: none\">\n<p>First, we must calculate [latex]f(x_0, y_0)[\/latex], [latex]f_x(x_0, y_0)[\/latex], and [latex]f_y(x_0, y_0)[\/latex] using [latex]x_0=2[\/latex] and [latex]y_0=-3[\/latex]:<\/p>\n<p>[latex]\\begin{alignat}{2} \\hspace{6cm}f(x_0, y_0)&=f(2,-3)=3(2)^2-2(2)(-3)+(-3)^2=12+12+9=33\\\\    f_x(x,y)&=6x-2y\\\\    f_y(x,y)&=-2x+2y\\\\    f_x(x_0, y_0)&=f_x(2,-3)=6(2)-2(-3)=12+6=18\\\\    f_y(x_0, y_0)&=f_y(2,-3)=-2(2)+2(-3)=-4-6=-10.\\\\    \\end{alignat}[\/latex]<\/p>\n<p>Then, we substitute these quantities into\u00a0the Total Differential Equation:<\/p>\n<p>[latex]\\begin{alignat}{2} \\hspace{7.2cm}dz&=f_x(x_0, y_0)dx+f_y(x_0,y_0)dy\\\\    dz&=18(0.1)-10(-0.05)=1.8+0.5=2.3.\\\\    \\end{alignat}[\/latex]<\/p>\n<p>This is the approximation to [latex]\\Delta{z}=f(x_0+\\Delta{x},y_0+\\Delta{y})-f(x_0,y_0)[\/latex]\u00a0The exact value of [latex]\\Delta z[\/latex] is given by<\/p>\n<p>[latex]\\begin{alignat}{2} \\hspace{7.2cm}\\Delta{z}&=f(x_0+\\Delta{x},y_0+\\Delta{y})-f(x_0,y_0)\\\\    &=f(2+0.1,-3-0.05)-f(2,-3)\\\\    &=f(2.1,-3.05)-f(2,-3)\\\\    &=2.3425.\\\\    \\end{alignat}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try it<\/h3>\n<p>Find the differential [latex]dz[\/latex] of the function [latex]f(x, y)=4y^{2}+x^{2}y-2xy[\/latex] and use it to approximate [latex]\\Delta z[\/latex] at point [latex](1, -1)[\/latex]. Use [latex]\\Delta x=0.03[\/latex] and [latex]\\Delta y=-0.02[\/latex]. What is the exact value of [latex]\\Delta z[\/latex]<span class=\"os-math-in-para\"><span id=\"MathJax-Element-249-Frame\" class=\"MathJax\" style=\"box-sizing: border-box; overflow: initial; display: inline; font-style: normal; font-weight: normal; line-height: normal; font-size: 16px; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mtext&gt;&amp;#x394;&lt;\/mtext&gt;&lt;mi&gt;z&lt;\/mi&gt;&lt;mo&gt;?&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mtext&gt;\u0394&lt;\/mtext&gt;&lt;mi&gt;z&lt;\/mi&gt;&lt;mo&gt;?&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt;\"><span id=\"MathJax-Span-7297\" class=\"math\"><span id=\"MathJax-Span-7298\" class=\"mrow\"><span id=\"MathJax-Span-7299\" class=\"semantics\"><span id=\"MathJax-Span-7300\" class=\"mrow\"><span id=\"MathJax-Span-7301\" class=\"mrow\"><span id=\"MathJax-Span-7304\" class=\"mo\">?<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q723995431\">Show Solution<\/span><\/p>\n<div id=\"q723995431\" class=\"hidden-answer\" style=\"display: none\">\n<p style=\"padding-left: 300px; text-align: left;\">[latex]dz=0.18[\/latex]<\/p>\n<p style=\"padding-left: 300px; text-align: left;\">[latex]\\Delta z =f(1.03,-1.02)-f(1,-1)=0.180682[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>Watch the following video to see the worked solution to the above Try It<\/p>\n<div style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"\/\/plugin.3playmedia.com\/show?mf=8186159&amp;p3sdk_version=1.10.1&amp;p=20361&amp;pt=375&amp;video_id=iYp0IP1wN0w&amp;video_target=tpm-plugin-l2ka20sb-iYp0IP1wN0w\" width=\"800px\" height=\"450px\" frameborder=\"0\" marginwidth=\"0px\" marginheight=\"0px\"><\/iframe><\/div>\n<div style=\"text-align: center;\">You can view the <a href=\"https:\/\/course-building.s3.us-west-2.amazonaws.com\/Calculus+3\/Calc+3+transcripts\/CP4.22_transcript.html\">transcript for \u201cCP 4.22\u201d here (opens in new window).<\/a><\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm250904\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=250904&theme=oea&iframe_resize_id=ohm250904&show_question_numbers\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<h2 data-type=\"title\">Differentiability of a Function of Three Variables<\/h2>\n<p id=\"fs-id1167793219321\">All of the preceding results for differentiability of functions of two variables can be generalized to functions of three variables. First, the definition:<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3 style=\"text-align: center;\" data-type=\"title\">DEfinition<\/h3>\n<hr \/>\n<p>A function [latex]f(x, y, z)[\/latex] is differentiable at a point [latex]P(x_0, y_0, z_0)[\/latex] if for all points [latex](x, y, z)[\/latex] in a <span style=\"white-space: nowrap;\">[latex]\\delta[\/latex]\u00a0<\/span>disk around [latex]P[\/latex] we can write<\/p>\n<p>[latex]\\begin{alignat}{2}\\hspace{6cm}f(x, y, z)&=f_x(x_0, y_0, z_0)(x-x_0)+f_y(x_0, y_0, z_0)(y-y_0)\\\\    & \\;\\; +f_z(x_0, y_0, z_0)(z-z_0)+E(x,y,z),\\\\    \\end{alignat}[\/latex]<\/p>\n<p id=\"fs-id1167794212833\">where the error term [latex]E[\/latex] satisfies<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle\\lim_{(x,y,z)\\to(x_0,y_0,z_0)}=\\frac{E(x,y,x)}{\\sqrt{(x-x_0)^2+(y-y_0)^2+(z-z_0)^2}}=0.[\/latex]<\/p>\n<\/div>\n<div>\n<p>If a function of three variables is differentiable at a point [latex](x_0, y_0, z_0)[\/latex]\u00a0then it is continuous there. Furthermore, continuity of first partial derivatives at that point guarantees differentiability.<\/p>\n<\/div>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-3922\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Original<\/div><ul class=\"citation-list\"><li>CP 4.21. <strong>Authored by<\/strong>: Ryan Melton. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><li>CP 4.22. <strong>Authored by<\/strong>: Ryan Melton. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Calculus Volume 3. <strong>Authored by<\/strong>: Gilbert Strang, Edwin (Jed) Herman. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/openstax.org\/books\/calculus-volume-3\/pages\/1-introduction\">https:\/\/openstax.org\/books\/calculus-volume-3\/pages\/1-introduction<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/4.0\/\">CC BY-NC-SA: Attribution-NonCommercial-ShareAlike<\/a><\/em>. <strong>License Terms<\/strong>: Access for free at https:\/\/openstax.org\/books\/calculus-volume-3\/pages\/1-introduction<\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":349141,"menu_order":18,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Calculus Volume 3\",\"author\":\"Gilbert Strang, Edwin (Jed) Herman\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/calculus-volume-3\/pages\/1-introduction\",\"project\":\"\",\"license\":\"cc-by-nc-sa\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/calculus-volume-3\/pages\/1-introduction\"},{\"type\":\"original\",\"description\":\"CP 4.21\",\"author\":\"Ryan Melton\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"original\",\"description\":\"CP 4.22\",\"author\":\"Ryan Melton\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-3922","chapter","type-chapter","status-publish","hentry"],"part":22,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/3922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/users\/349141"}],"version-history":[{"count":13,"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/3922\/revisions"}],"predecessor-version":[{"id":6448,"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/3922\/revisions\/6448"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/parts\/22"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/3922\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=3922"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=3922"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=3922"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=3922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}