{"id":1123,"date":"2025-10-15T14:31:04","date_gmt":"2025-10-15T14:31:04","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=1123"},"modified":"2025-10-27T21:05:39","modified_gmt":"2025-10-27T21:05:39","slug":"tangent-planes-and-linear-approximations-learn-it-3","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus3\/chapter\/tangent-planes-and-linear-approximations-learn-it-3\/","title":{"raw":"Tangent Planes and Linear Approximations: Learn It 3","rendered":"Tangent Planes and Linear Approximations: Learn It 3"},"content":{"raw":"<h2>Differentiability<\/h2>\r\n<p class=\"whitespace-normal break-words\">For a function [latex]y=f(x)[\/latex] of one variable, we say the function is differentiable at [latex]x=a[\/latex] if [latex]f'(a)[\/latex] exists. When a function is differentiable at a point, the graph is \"smooth\" there\u2014no corners\u2014and a tangent line is well-defined.<\/p>\r\n<p class=\"whitespace-normal break-words\">For functions of two variables, differentiability is also connected to smoothness. In this case, a surface is considered to be smooth at point [latex]P[\/latex] if 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.\u00a0 Recall that the tangent plane at [latex](x_0, y_0)[\/latex] is:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]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]<\/p>\r\n<p class=\"whitespace-normal break-words\">For this tangent plane to exist, the partial derivatives must exist at [latex](x_0, y_0)[\/latex]. However, this isn't enough to guarantee smoothness, as was illustrated in Figure 3. The partial derivatives existed at the origin, but the function had a corner there.<\/p>\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>differentiable function at a point<\/h3>\r\nA function [latex]f(x, y)[\/latex] is <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]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]\\displaystyle\\lim_{(x, y)\\to(x_0, y_0)}\\dfrac{E(x, y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}=0.[\/latex]<\/div>\r\n<\/section>The error term [latex]E(x, y)[\/latex] represents how closely the tangent plane approximates the surface in a small neighborhood around point [latex]P[\/latex]. For [latex]f[\/latex] to be differentiable at [latex]P[\/latex], the function must be smooth\u2014the graph of [latex]f[\/latex] must stay close to the tangent plane for points near [latex]P[\/latex].\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">\r\n<p class=\"whitespace-normal break-words\">The function [latex]f(x, y)=\\begin{cases}\\dfrac{xy}{\\sqrt{x^{2}+y^{2}}} &amp; (x, y) \\neq (0, 0) \\\\ 0 &amp; (x, y)=(0, 0)\\end{cases}[\/latex] is not differentiable at the origin.<\/p>\r\n<p class=\"whitespace-normal break-words\">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>\r\n<p class=\"whitespace-normal break-words\" 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 \\end{array}[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">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>\r\n<p class=\"whitespace-normal break-words\" 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 \\end{array}[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">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>\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]<\/section><section class=\"textbox example\" aria-label=\"Example\">Show that the function [latex]f(x, y)=2x^{2}-4y[\/latex] is differentiable at point [latex](2,-3)[\/latex].[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 the 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 the equation for a Differentiable Function at a Point becomes\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<\/section>\r\n<h3 class=\"text-lg font-bold text-text-100 mt-1 -mb-1.5\">The Connection Between Differentiability and Continuity<\/h3>\r\nDifferentiability and continuity for functions of two or more variables are connected, just as they are for functions of one variable.\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>differentiability implies continuity<\/h3>\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<\/section>\r\n<p class=\"whitespace-normal break-words\">This theorem shows that if a function is differentiable at a point, then it must be continuous there. However, the reverse isn't true\u2014a function can be continuous at a point without being differentiable there. For example,<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\large{f(x, y)=\\begin{cases}\\frac{xy}{\\sqrt{x^{2}+y^{2}}} &amp; (x, y)\\neq (0, 0) \\\\ 0 &amp; (x, y)=(0, 0)\\end{cases}}[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">is continuous at the origin, but not differentiable there. This is similar to what happens in single-variable calculus.<\/p>\r\n<p class=\"whitespace-normal break-words\">The next theorem gives us a practical way to check for differentiability. It says that if the function and its partial derivatives are all continuous at a point, then the function is differentiable there.<\/p>\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>continuity of first partials implies differentiability<\/h3>\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<\/section>\r\n<p class=\"whitespace-normal break-words\">Let's revisit the function we showed wasn't differentiable at the origin:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]f(x, y)=\\begin{cases}\\frac{xy}{\\sqrt{x^{2}+y^{2}}} &amp; (x, y)\\neq (0, 0) \\\\ 0 &amp; (x, y)=(0, 0)\\end{cases}[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">The partial derivatives are:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\dfrac{\\partial f}{\\partial x}=\\dfrac{y^{3}}{(x^{2}+y^{2})^{3\/2}}[\/latex] and [latex]\\dfrac{\\partial f}{\\partial y}=\\dfrac{x^{3}}{(x^{2}+y^{2})^{3\/2}}[\/latex]<\/p>\r\n<p class=\"whitespace-normal break-words\">The contrapositive of the previous theorem states that if a function is not differentiable, then at least one of the hypotheses must fail. Let's check whether [latex]f_x[\/latex] is continuous at [latex](0,0)[\/latex]. For continuity, we need [latex]\\displaystyle\\lim_{(x,y)\\to(0,0)}{f_x(x,y) = f_x(0,0)}[\/latex]:<\/p>\r\n<p style=\"text-align: center;\">[latex]\\displaystyle\\lim_{(x,y)\\to(0,0)}{f_x(x,y)}=\\displaystyle\\lim_{(x,y)\\to(0,0)}{\\dfrac{y^3}{(x^2+y^2)^{3\/2}}}.[\/latex]<\/p>\r\n<p id=\"fs-id1167793503962\" style=\"text-align: left;\">Let [latex]x= ky[\/latex]. Then:<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill\\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}}}\\\\&amp;=\\displaystyle\\lim_{y\\to0}{\\frac{y^3}{(k^2y^2+y^2)^{3\/2}}}&amp;\\quad\\\\&amp;=\\displaystyle\\lim_{y\\to0}{\\frac{y^3}{|y^3|(k^2+1)^{3\/2}}}\\\\&amp;=\\frac1{(k^2+1)^{3\/2}}\\displaystyle\\lim_{y\\to0}{\\frac{|y|}{y}}\\\\\\end{array}[\/latex]<\/p>\r\nIf [latex]y&gt;0[\/latex], this expression equals [latex]1\/(k^2+1)^{3\/2}[\/latex]; if [latex]y&lt;0[\/latex], it equals [latex]-\\left(1\/(k^2+1)^{3\/2}\\right)[\/latex]. In either case, the value depends on [latex]k[\/latex], so the limit fails to exist. This confirms that [latex]f_x[\/latex] is not continuous at the origin, which is why the function isn't differentiable there.","rendered":"<h2>Differentiability<\/h2>\n<p class=\"whitespace-normal break-words\">For a function [latex]y=f(x)[\/latex] of one variable, we say the function is differentiable at [latex]x=a[\/latex] if [latex]f'(a)[\/latex] exists. When a function is differentiable at a point, the graph is &#8220;smooth&#8221; there\u2014no corners\u2014and a tangent line is well-defined.<\/p>\n<p class=\"whitespace-normal break-words\">For functions of two variables, differentiability is also connected to smoothness. In this case, a surface is considered to be smooth at point [latex]P[\/latex] if 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.\u00a0 Recall that the tangent plane at [latex](x_0, y_0)[\/latex] is:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]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]<\/p>\n<p class=\"whitespace-normal break-words\">For this tangent plane to exist, the partial derivatives must exist at [latex](x_0, y_0)[\/latex]. However, this isn&#8217;t enough to guarantee smoothness, as was illustrated in Figure 3. The partial derivatives existed at the origin, but the function had a corner there.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>differentiable function at a point<\/h3>\n<p>A function [latex]f(x, y)[\/latex] is <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]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]\\displaystyle\\lim_{(x, y)\\to(x_0, y_0)}\\dfrac{E(x, y)}{\\sqrt{(x-x_0)^{2}+(y-y_0)^{2}}}=0.[\/latex]<\/div>\n<\/section>\n<p>The error term [latex]E(x, y)[\/latex] represents how closely the tangent plane approximates the surface in a small neighborhood around point [latex]P[\/latex]. For [latex]f[\/latex] to be differentiable at [latex]P[\/latex], the function must be smooth\u2014the graph of [latex]f[\/latex] must stay close to the tangent plane for points near [latex]P[\/latex].<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">\n<p class=\"whitespace-normal break-words\">The function [latex]f(x, y)=\\begin{cases}\\dfrac{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.<\/p>\n<p class=\"whitespace-normal break-words\">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<p class=\"whitespace-normal break-words\" 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 \\end{array}[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">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<p class=\"whitespace-normal break-words\" 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 \\end{array}[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">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<figure id=\"attachment_1240\" aria-describedby=\"caption-attachment-1240\" style=\"width: 579px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" 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\" \/><figcaption id=\"caption-attachment-1240\" class=\"wp-caption-text\">Figure 1. This function [latex]f(x,y)[\/latex] is not differentiable at the origin.<\/figcaption><\/figure>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">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\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1467793733125\">Show Solution<\/button><\/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 the 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 the equation for a Differentiable Function at a Point becomes<\/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<\/section>\n<h3 class=\"text-lg font-bold text-text-100 mt-1 -mb-1.5\">The Connection Between Differentiability and Continuity<\/h3>\n<p>Differentiability and continuity for functions of two or more variables are connected, just as they are for functions of one variable.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>differentiability implies continuity<\/h3>\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<\/section>\n<p class=\"whitespace-normal break-words\">This theorem shows that if a function is differentiable at a point, then it must be continuous there. However, the reverse isn&#8217;t true\u2014a function can be continuous at a point without being differentiable there. For example,<\/p>\n<p class=\"whitespace-normal break-words\" 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]<\/p>\n<p class=\"whitespace-normal break-words\">is continuous at the origin, but not differentiable there. This is similar to what happens in single-variable calculus.<\/p>\n<p class=\"whitespace-normal break-words\">The next theorem gives us a practical way to check for differentiability. It says that if the function and its partial derivatives are all continuous at a point, then the function is differentiable there.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>continuity of first partials implies differentiability<\/h3>\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<\/section>\n<p class=\"whitespace-normal break-words\">Let&#8217;s revisit the function we showed wasn&#8217;t differentiable at the origin:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[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]<\/p>\n<p class=\"whitespace-normal break-words\">The partial derivatives are:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\dfrac{\\partial f}{\\partial x}=\\dfrac{y^{3}}{(x^{2}+y^{2})^{3\/2}}[\/latex] and [latex]\\dfrac{\\partial f}{\\partial y}=\\dfrac{x^{3}}{(x^{2}+y^{2})^{3\/2}}[\/latex]<\/p>\n<p class=\"whitespace-normal break-words\">The contrapositive of the previous theorem states that if a function is not differentiable, then at least one of the hypotheses must fail. Let&#8217;s check whether [latex]f_x[\/latex] is continuous at [latex](0,0)[\/latex]. For continuity, we need [latex]\\displaystyle\\lim_{(x,y)\\to(0,0)}{f_x(x,y) = f_x(0,0)}[\/latex]:<\/p>\n<p style=\"text-align: center;\">[latex]\\displaystyle\\lim_{(x,y)\\to(0,0)}{f_x(x,y)}=\\displaystyle\\lim_{(x,y)\\to(0,0)}{\\dfrac{y^3}{(x^2+y^2)^{3\/2}}}.[\/latex]<\/p>\n<p id=\"fs-id1167793503962\" style=\"text-align: left;\">Let [latex]x= ky[\/latex]. Then:<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{ccc}\\hfill\\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{array}[\/latex]<\/p>\n<p>If [latex]y>0[\/latex], this expression equals [latex]1\/(k^2+1)^{3\/2}[\/latex]; if [latex]y<0[\/latex], it equals [latex]-\\left(1\/(k^2+1)^{3\/2}\\right)[\/latex]. In either case, the value depends on [latex]k[\/latex], so the limit fails to exist. This confirms that [latex]f_x[\/latex] is not continuous at the origin, which is why the function isn&#8217;t differentiable there.\n<\/p>\n","protected":false},"author":15,"menu_order":12,"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-1123","chapter","type-chapter","status-publish","hentry"],"part":428,"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\/1123","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":11,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1123\/revisions"}],"predecessor-version":[{"id":1802,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1123\/revisions\/1802"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/parts\/428"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1123\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=1123"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=1123"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=1123"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=1123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}