{"id":1044,"date":"2025-10-15T13:37:06","date_gmt":"2025-10-15T13:37:06","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=1044"},"modified":"2025-10-23T13:24:13","modified_gmt":"2025-10-23T13:24:13","slug":"functions-of-several-variables-learn-it-3","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus3\/chapter\/functions-of-several-variables-learn-it-3\/","title":{"raw":"Functions of Several Variables: Learn It 3","rendered":"Functions of Several Variables: Learn It 3"},"content":{"raw":"<h2>Level Curves<\/h2>\r\n<p class=\"whitespace-normal break-words\">If hikers walk along rugged trails, they might use a topographical map that shows how steeply the trails change. A topographical map contains curved lines called contour lines, where each contour line corresponds to points on the map that have equal elevation (Figure 1). A <strong>level curve<\/strong> of a function of two variables [latex]f(x,y)[\/latex] works exactly the same way as a contour line on a topographical map.<\/p>\r\n\r\n\r\n[caption id=\"attachment_955\" align=\"aligncenter\" width=\"975\"]<img class=\"size-full wp-image-955\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27164628\/4-1-6.jpeg\" alt=\"This figure consists of two figures marked a and b. Figure a shows a topographic map of Devil\u2019s Tower, which has its lines very close together to indicate the very steep terrain. Figure b shows a picture of Devil\u2019s Tower, which has very steep sides.\" width=\"975\" height=\"534\" \/> Figure 1.\u00a0(a) A topographical map of Devil\u2019s Tower, Wyoming. Lines that are close together indicate very steep terrain. (b) A perspective photo of Devil\u2019s Tower shows just how steep its sides are. Notice the top of the tower has the same shape as the center of the topographical map.[\/caption]\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>level curve<\/h3>\r\nGiven a function [latex]f(x,y)[\/latex] and a number [latex]c[\/latex] in the range of [latex]f[\/latex], a <strong>level curve<\/strong> of a function of two variables for the value [latex]c[\/latex] is defined to be the set of points satisfying the equation [latex]f(x,y)=c[\/latex].\r\n\r\n<\/section>\r\n<p class=\"whitespace-normal break-words\">Consider the function [latex]g(x,y)=\\sqrt{9-x^{2}-y^{2}}[\/latex] with range [latex][0,3][\/latex]. To find a level curve, we choose a value in this interval\u2014say, [latex]c=2[\/latex]\u2014and set the function equal to this value:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\sqrt{9-x^{2}-y^{2}}=2[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">Square both sides:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]9-x^{2}-y^{2}=4[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">Simplify by multiplying both sides by [latex]-1[\/latex] and adding [latex]9[\/latex]:<\/p>\r\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]x^{2}+y^{2}=5[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">This equation describes a circle centered at the origin with radius [latex]\\sqrt{5}[\/latex]. Using different values of [latex]c[\/latex] between [latex]0[\/latex] and [latex]3[\/latex] yields other circles also centered at the origin. If [latex]c=3[\/latex], the circle has radius [latex]0[\/latex], so it consists solely of the origin. Figure 2 shows the level curves for [latex]c=0,1,2[\/latex], and [latex]3[\/latex].<\/p>\r\n\r\n[caption id=\"attachment_956\" align=\"aligncenter\" width=\"342\"]<img class=\"size-full wp-image-956\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27164820\/4-1-7.jpeg\" alt=\"Three concentric circles with center at the origin. The largest circle marked c = 0 has a radius of 3. The medium circle marked c = 1 has a radius slightly less than 3. The smallest circle marked c = 2 has a radius slightly more than 2.\" width=\"342\" height=\"347\" \/> Figure 2. Level curves of the function\u00a0[latex]\\small{g(x,y)=\\sqrt{9-x^{2}-y^{2}}}[\/latex], using [latex]\\small{c=0,1,2}[\/latex], and [latex]\\small{3}[\/latex] ([latex]\\small{c=3}[\/latex] corresponds to the origin).[\/caption]<section class=\"textbox proTip\" aria-label=\"Pro Tip\">When contour lines are close together, the function is changing rapidly. When contour lines are far apart, the function is changing slowly. This is why steep mountain slopes show tightly packed contour lines on topographical maps.<\/section>A graph of the various level curves of a function is called a <strong>contour map<\/strong>.\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>contour map<\/h3>\r\nA graph of the various level curves of a function is called a <strong>contour map<\/strong>.\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Given the function [latex]f\\,(x,\\ y)=\\sqrt{8+8x-4y-4x^{2}-y^{2}}[\/latex], find the level curve corresponding to [latex]c=0[\/latex]. Then create a contour map for this function. What are the domain and range of [latex]f[\/latex]?[reveal-answer q=\"fs-id1167793033114\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"fs-id1167793033114\"]\r\nTo find the level curve for [latex]c=0[\/latex], we set [latex]f\\,(x,\\ y)=0[\/latex] and solve. This gives\r\n<div style=\"text-align: center;\">[latex]0=\\sqrt{8+8x-4y-4x^{2}-y^{2}}[\/latex].<\/div>\r\n&nbsp;\r\n\r\nWe then square both sides and multiply both sides of the equation by [latex]-1[\/latex]:\r\n<div style=\"text-align: center;\">[latex]4x^{2}+y^{2}-8x+4y-8=0[\/latex].<\/div>\r\n&nbsp;\r\n\r\nNow, we rearrange the terms, putting the [latex]x[\/latex] terms together and the [latex]y[\/latex] terms together, and add [latex]8[\/latex] to each side:\r\n<div style=\"text-align: center;\">[latex]4x^{2}-8x+y^{2}+4y=8[\/latex].<\/div>\r\n&nbsp;\r\n\r\nNext, we group the pairs of terms containing the same variable in parentheses, and factor [latex]4[\/latex] from the first pair:\r\n<div style=\"text-align: center;\">[latex]4(x^{2}-2x)+(y^{2}+4y)=8[\/latex].<\/div>\r\n&nbsp;\r\n\r\nThen we complete the square in each pair of parentheses and add the correct value to the right-hand side:\r\n<div style=\"text-align: center;\">[latex]4(x^{2}-2x+1)+(y^{2}+4y+4)=8+4(1)+4[\/latex].<\/div>\r\n&nbsp;\r\n\r\nNext, we factor the left-hand side and simplify the right-hand side:\r\n<div style=\"text-align: center;\">[latex]4(x-1)^{2}+(y+2)^{2}=16[\/latex].<\/div>\r\n&nbsp;\r\n\r\nLast, we divide both sides by [latex]16[\/latex]:\r\n<div style=\"text-align: center;\">[latex]\\large{\\frac{(x-1)^{2}}{4}+\\frac{(y+2)^{2}}{16}=1}[\/latex].<\/div>\r\n&nbsp;\r\n\r\nThis equation describes an ellipse centered at [latex](1,\\ -2)[\/latex].\u00a0The graph of this ellipse appears in the following graph.\r\n<div>[caption id=\"attachment_957\" align=\"aligncenter\" width=\"417\"]<img class=\"size-full wp-image-957\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27165134\/4-1-8.jpeg\" alt=\"An ellipse with center (1, \u20132), major axis vertical and of length 8, and minor axis horizontal of length 4.\" width=\"417\" height=\"422\" \/> Figure 3.\u00a0Level curve of the function\u00a0[latex]\\small{f(x,y)=\\sqrt{8+8x-4y-4x^{2}-y^{2}}}[\/latex] corresponding to [latex]\\small{c=0}[\/latex][\/caption]<\/div>\r\n&nbsp;\r\n\r\nWe can repeat the same derivation for values of [latex]c[\/latex] less than [latex]4[\/latex].\u00a0Then, the equation of an ellipse centered at (1,\u22122) becomes\r\n<div style=\"text-align: center;\">[latex]\\large{\\frac{4(x-1)^{2}}{16-c^{2}}+\\frac{(y+2)^{2}}{16-c^{2}}=1}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nfor an arbitrary value of [latex]c[\/latex].\u00a0Figure 4\u00a0shows a contour map for [latex]f\\,(x,\\ y)[\/latex] using the values [latex]c=0,\\ 1,\\ 2[\/latex], and [latex]3[\/latex]. When [latex]c=4[\/latex], the level curve is the point [latex](-1,\\ 2)[\/latex].\r\n<div>[caption id=\"attachment_959\" align=\"aligncenter\" width=\"417\"]<img class=\"size-full wp-image-959\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27165511\/4-1-9.jpeg\" alt=\"An series of four concentric ellipses with center (1, \u20132). The largest one is marked c = 0 and has major axis vertical and of length 8 and minor axis horizontal of length 4. The next smallest one is marked c = 1 and is only slightly smaller. The next two are marked c = 2 and c = 3 and are increasingly smaller. Finally, there is a point marked c = 4 at the center (1, \u20132).\" width=\"417\" height=\"422\" \/> Figure 4.\u00a0Contour map for the function\u00a0[latex]f(x,y)=\\sqrt{8+8x-4y-4x^{2}-y^{2}}[\/latex], using the values [latex]c=0,1,2,3[\/latex], and [latex]4[\/latex].[\/caption]<\/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\">Vertical Traces<\/h3>\r\n<p class=\"whitespace-normal break-words\">Level curves are always graphed in the [latex]xy[\/latex]-plane, but <strong>vertical traces<\/strong> are graphed in the [latex]xz[\/latex]- or [latex]yz[\/latex]-planes. Vertical traces help you understand how a surface behaves when you \"slice\" through it parallel to a coordinate plane.<\/p>\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>vertical traces<\/h3>\r\nConsider a function [latex]z=f(x,y)[\/latex] with domain [latex]D\\subseteq\\mathbb{R}^{2}[\/latex]. A <strong>vertical trace<\/strong> of the function can be either the set of points that solves the equation [latex]f(a,y)=z[\/latex] for a given constant [latex]x=a[\/latex] or [latex]f(x,b)=z[\/latex] for a given constant [latex]y=b[\/latex].\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Find vertical traces for the function [latex]f\\,(x,\\ y)=\\sin{x}\\cos{y}[\/latex] corresponding to [latex]x=-\\frac{\\pi}{4}, 0[\/latex], and [latex]\\frac{\\pi}{4}[\/latex], and [latex]y=-\\frac{\\pi}{4}, 0[\/latex], and [latex]\\frac{\\pi}{4}[\/latex].[reveal-answer q=\"fs-id1267793033114\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"fs-id1267793033114\"]\r\nFirst set [latex]x=-\\frac{\\pi}{4}[\/latex] in the equation [latex]z=\\sin{x}\\cos{y}[\/latex]:\r\n<div style=\"text-align: center;\">[latex]z=\\sin{\\big(-\\frac{\\pi}{4}\\big)}\\cos{y}=-\\frac{\\sqrt{2}\\cos{y}}{2}\\approx{-0.7071\\cos{y}}[\/latex].<\/div>\r\n&nbsp;\r\n\r\nThis describes a cosine graph in the plane [latex]x=-\\frac{\\pi}{4}[\/latex]. The other values of [latex]z[\/latex] appear in the following table.\r\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 19.5499%; text-align: center;\">[latex]c[\/latex]<\/td>\r\n<td style=\"width: 80.4501%; text-align: center;\"><strong>Vertical Trace for <\/strong>[latex]x=c[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 19.5499%; text-align: center;\">[latex]-\\frac{\\pi}{4}[\/latex]<\/td>\r\n<td style=\"width: 80.4501%; text-align: center;\">[latex]z=-\\frac{\\sqrt{2}\\cos{y}}{2}[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 19.5499%; text-align: center;\">[latex]0[\/latex]<\/td>\r\n<td style=\"width: 80.4501%; text-align: center;\">[latex]z=0[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 19.5499%; text-align: center;\">[latex]\\frac{\\pi}{4}[\/latex]<\/td>\r\n<td style=\"width: 80.4501%; text-align: center;\">[latex]z=\\frac{\\sqrt{2}\\cos{y}}{2}[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nIn a similar fashion, we can substitute the [latex]y[\/latex]-values in the equation [latex]f\\,(x,\\ y)[\/latex] to obtain the traces in the [latex]yz[\/latex]-plane, as listed in the following table.\r\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"1\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 19.7264%; text-align: center;\">[latex]d[\/latex]<\/td>\r\n<td style=\"width: 80.2736%; text-align: center;\"><strong>Vertical Trace for <\/strong>[latex]y=d[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 19.7264%; text-align: center;\">[latex]-\\frac{\\pi}{4}[\/latex]<\/td>\r\n<td style=\"width: 80.2736%; text-align: center;\">[latex]z=\\frac{\\sqrt{2}\\sin{x}}{2}[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 19.7264%; text-align: center;\">[latex]0[\/latex]<\/td>\r\n<td style=\"width: 80.2736%; text-align: center;\">[latex]z=\\sin{x}[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 19.7264%; text-align: center;\">[latex]\\frac{\\pi}{4}[\/latex]<\/td>\r\n<td style=\"width: 80.2736%; text-align: center;\">[latex]z=\\frac{\\sqrt{2}\\sin{x}}{2}[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe three traces in the [latex]xz[\/latex]-plane\u00a0are cosine functions; the three traces in the [latex]yz[\/latex]-plane\u00a0are sine functions. These curves appear in the intersections of the surface with the planes [latex]x=-\\frac{\\pi}{4},\\ x=0,\\ x=\\frac{\\pi}{4}[\/latex] and [latex]y=-\\frac{\\pi}{4},\\ y=0,\\ y=\\frac{\\pi}{4}[\/latex] as shown in the following figure.\r\n\r\n[caption id=\"attachment_961\" align=\"aligncenter\" width=\"899\"]<img class=\"size-full wp-image-961\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27165937\/4-1-10.jpeg\" alt=\"This figure consists of two figures marked a and b. In figure a, a function is given in three dimensions and it is intersected by three parallel x-z planes at y = \u00b1\u03c0\/4 and 0. In figure b, a function is given in three dimensions and it is intersected by three parallel y-z planes at x = \u00b1\u03c0\/4 and 0.\" width=\"899\" height=\"424\" \/> Figure 6.\u00a0Vertical traces of the function [latex]f(x,y)[\/latex]\u00a0are cosine curves in the [latex]xz[\/latex]-planes(a), and sine curves in the\u00a0[latex]yz[\/latex]-planes (b).[\/caption][\/hidden-answer]<\/section>\r\n<p class=\"whitespace-normal break-words\">Functions of two variables can produce some striking-looking surfaces. Figure 7 shows two examples that combine different types of functions.<\/p>\r\n\r\n\r\n[caption id=\"attachment_963\" align=\"aligncenter\" width=\"973\"]<img class=\"size-full wp-image-963\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27170438\/4-1-11.jpeg\" alt=\"This figure consists of two figures marked a and b. In figure a, the function f(x, y) = x2 sin y is given; it has some sinusoidal properties by increases as the square along the maximums of the sine function. In figure b, the function f(x, y) = sin(ex) cos(ln y) is given in three dimensions; it decreases gently from the corner nearest (\u20132, 20) but then seems to bunch up into a series of folds that are parallel to the x and y axes.\" width=\"973\" height=\"437\" \/> Figure 7.\u00a0Examples of surfaces representing functions of two variables: (a) a combination of a power function and a sine function and (b) a combination of trigonometric, exponential, and logarithmic functions.[\/caption]","rendered":"<h2>Level Curves<\/h2>\n<p class=\"whitespace-normal break-words\">If hikers walk along rugged trails, they might use a topographical map that shows how steeply the trails change. A topographical map contains curved lines called contour lines, where each contour line corresponds to points on the map that have equal elevation (Figure 1). A <strong>level curve<\/strong> of a function of two variables [latex]f(x,y)[\/latex] works exactly the same way as a contour line on a topographical map.<\/p>\n<figure id=\"attachment_955\" aria-describedby=\"caption-attachment-955\" style=\"width: 975px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-955\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27164628\/4-1-6.jpeg\" alt=\"This figure consists of two figures marked a and b. Figure a shows a topographic map of Devil\u2019s Tower, which has its lines very close together to indicate the very steep terrain. Figure b shows a picture of Devil\u2019s Tower, which has very steep sides.\" width=\"975\" height=\"534\" \/><figcaption id=\"caption-attachment-955\" class=\"wp-caption-text\">Figure 1.\u00a0(a) A topographical map of Devil\u2019s Tower, Wyoming. Lines that are close together indicate very steep terrain. (b) A perspective photo of Devil\u2019s Tower shows just how steep its sides are. Notice the top of the tower has the same shape as the center of the topographical map.<\/figcaption><\/figure>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>level curve<\/h3>\n<p>Given a function [latex]f(x,y)[\/latex] and a number [latex]c[\/latex] in the range of [latex]f[\/latex], a <strong>level curve<\/strong> of a function of two variables for the value [latex]c[\/latex] is defined to be the set of points satisfying the equation [latex]f(x,y)=c[\/latex].<\/p>\n<\/section>\n<p class=\"whitespace-normal break-words\">Consider the function [latex]g(x,y)=\\sqrt{9-x^{2}-y^{2}}[\/latex] with range [latex][0,3][\/latex]. To find a level curve, we choose a value in this interval\u2014say, [latex]c=2[\/latex]\u2014and set the function equal to this value:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]\\sqrt{9-x^{2}-y^{2}}=2[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">Square both sides:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]9-x^{2}-y^{2}=4[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">Simplify by multiplying both sides by [latex]-1[\/latex] and adding [latex]9[\/latex]:<\/p>\n<p class=\"whitespace-normal break-words\" style=\"text-align: center;\">[latex]x^{2}+y^{2}=5[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">This equation describes a circle centered at the origin with radius [latex]\\sqrt{5}[\/latex]. Using different values of [latex]c[\/latex] between [latex]0[\/latex] and [latex]3[\/latex] yields other circles also centered at the origin. If [latex]c=3[\/latex], the circle has radius [latex]0[\/latex], so it consists solely of the origin. Figure 2 shows the level curves for [latex]c=0,1,2[\/latex], and [latex]3[\/latex].<\/p>\n<figure id=\"attachment_956\" aria-describedby=\"caption-attachment-956\" style=\"width: 342px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-956\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27164820\/4-1-7.jpeg\" alt=\"Three concentric circles with center at the origin. The largest circle marked c = 0 has a radius of 3. The medium circle marked c = 1 has a radius slightly less than 3. The smallest circle marked c = 2 has a radius slightly more than 2.\" width=\"342\" height=\"347\" \/><figcaption id=\"caption-attachment-956\" class=\"wp-caption-text\">Figure 2. Level curves of the function\u00a0[latex]\\small{g(x,y)=\\sqrt{9-x^{2}-y^{2}}}[\/latex], using [latex]\\small{c=0,1,2}[\/latex], and [latex]\\small{3}[\/latex] ([latex]\\small{c=3}[\/latex] corresponds to the origin).<\/figcaption><\/figure>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">When contour lines are close together, the function is changing rapidly. When contour lines are far apart, the function is changing slowly. This is why steep mountain slopes show tightly packed contour lines on topographical maps.<\/section>\n<p>A graph of the various level curves of a function is called a <strong>contour map<\/strong>.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>contour map<\/h3>\n<p>A graph of the various level curves of a function is called a <strong>contour map<\/strong>.<\/p>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Given the function [latex]f\\,(x,\\ y)=\\sqrt{8+8x-4y-4x^{2}-y^{2}}[\/latex], find the level curve corresponding to [latex]c=0[\/latex]. Then create a contour map for this function. What are the domain and range of [latex]f[\/latex]?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1167793033114\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1167793033114\" class=\"hidden-answer\" style=\"display: none\">\nTo find the level curve for [latex]c=0[\/latex], we set [latex]f\\,(x,\\ y)=0[\/latex] and solve. This gives<\/p>\n<div style=\"text-align: center;\">[latex]0=\\sqrt{8+8x-4y-4x^{2}-y^{2}}[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p>We then square both sides and multiply both sides of the equation by [latex]-1[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]4x^{2}+y^{2}-8x+4y-8=0[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p>Now, we rearrange the terms, putting the [latex]x[\/latex] terms together and the [latex]y[\/latex] terms together, and add [latex]8[\/latex] to each side:<\/p>\n<div style=\"text-align: center;\">[latex]4x^{2}-8x+y^{2}+4y=8[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p>Next, we group the pairs of terms containing the same variable in parentheses, and factor [latex]4[\/latex] from the first pair:<\/p>\n<div style=\"text-align: center;\">[latex]4(x^{2}-2x)+(y^{2}+4y)=8[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p>Then we complete the square in each pair of parentheses and add the correct value to the right-hand side:<\/p>\n<div style=\"text-align: center;\">[latex]4(x^{2}-2x+1)+(y^{2}+4y+4)=8+4(1)+4[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p>Next, we factor the left-hand side and simplify the right-hand side:<\/p>\n<div style=\"text-align: center;\">[latex]4(x-1)^{2}+(y+2)^{2}=16[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p>Last, we divide both sides by [latex]16[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]\\large{\\frac{(x-1)^{2}}{4}+\\frac{(y+2)^{2}}{16}=1}[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p>This equation describes an ellipse centered at [latex](1,\\ -2)[\/latex].\u00a0The graph of this ellipse appears in the following graph.<\/p>\n<div>\n<figure id=\"attachment_957\" aria-describedby=\"caption-attachment-957\" style=\"width: 417px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-957\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27165134\/4-1-8.jpeg\" alt=\"An ellipse with center (1, \u20132), major axis vertical and of length 8, and minor axis horizontal of length 4.\" width=\"417\" height=\"422\" \/><figcaption id=\"caption-attachment-957\" class=\"wp-caption-text\">Figure 3.\u00a0Level curve of the function\u00a0[latex]\\small{f(x,y)=\\sqrt{8+8x-4y-4x^{2}-y^{2}}}[\/latex] corresponding to [latex]\\small{c=0}[\/latex]<\/figcaption><\/figure>\n<\/div>\n<p>&nbsp;<\/p>\n<p>We can repeat the same derivation for values of [latex]c[\/latex] less than [latex]4[\/latex].\u00a0Then, the equation of an ellipse centered at (1,\u22122) becomes<\/p>\n<div style=\"text-align: center;\">[latex]\\large{\\frac{4(x-1)^{2}}{16-c^{2}}+\\frac{(y+2)^{2}}{16-c^{2}}=1}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>for an arbitrary value of [latex]c[\/latex].\u00a0Figure 4\u00a0shows a contour map for [latex]f\\,(x,\\ y)[\/latex] using the values [latex]c=0,\\ 1,\\ 2[\/latex], and [latex]3[\/latex]. When [latex]c=4[\/latex], the level curve is the point [latex](-1,\\ 2)[\/latex].<\/p>\n<div>\n<figure id=\"attachment_959\" aria-describedby=\"caption-attachment-959\" style=\"width: 417px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-959\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27165511\/4-1-9.jpeg\" alt=\"An series of four concentric ellipses with center (1, \u20132). The largest one is marked c = 0 and has major axis vertical and of length 8 and minor axis horizontal of length 4. The next smallest one is marked c = 1 and is only slightly smaller. The next two are marked c = 2 and c = 3 and are increasingly smaller. Finally, there is a point marked c = 4 at the center (1, \u20132).\" width=\"417\" height=\"422\" \/><figcaption id=\"caption-attachment-959\" class=\"wp-caption-text\">Figure 4.\u00a0Contour map for the function\u00a0[latex]f(x,y)=\\sqrt{8+8x-4y-4x^{2}-y^{2}}[\/latex], using the values [latex]c=0,1,2,3[\/latex], and [latex]4[\/latex].<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<h3 class=\"text-xl font-bold text-text-100 mt-1 -mb-0.5\">Vertical Traces<\/h3>\n<p class=\"whitespace-normal break-words\">Level curves are always graphed in the [latex]xy[\/latex]-plane, but <strong>vertical traces<\/strong> are graphed in the [latex]xz[\/latex]&#8211; or [latex]yz[\/latex]-planes. Vertical traces help you understand how a surface behaves when you &#8220;slice&#8221; through it parallel to a coordinate plane.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>vertical traces<\/h3>\n<p>Consider a function [latex]z=f(x,y)[\/latex] with domain [latex]D\\subseteq\\mathbb{R}^{2}[\/latex]. A <strong>vertical trace<\/strong> of the function can be either the set of points that solves the equation [latex]f(a,y)=z[\/latex] for a given constant [latex]x=a[\/latex] or [latex]f(x,b)=z[\/latex] for a given constant [latex]y=b[\/latex].<\/p>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Find vertical traces for the function [latex]f\\,(x,\\ y)=\\sin{x}\\cos{y}[\/latex] corresponding to [latex]x=-\\frac{\\pi}{4}, 0[\/latex], and [latex]\\frac{\\pi}{4}[\/latex], and [latex]y=-\\frac{\\pi}{4}, 0[\/latex], and [latex]\\frac{\\pi}{4}[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1267793033114\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1267793033114\" class=\"hidden-answer\" style=\"display: none\">\nFirst set [latex]x=-\\frac{\\pi}{4}[\/latex] in the equation [latex]z=\\sin{x}\\cos{y}[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]z=\\sin{\\big(-\\frac{\\pi}{4}\\big)}\\cos{y}=-\\frac{\\sqrt{2}\\cos{y}}{2}\\approx{-0.7071\\cos{y}}[\/latex].<\/div>\n<p>&nbsp;<\/p>\n<p>This describes a cosine graph in the plane [latex]x=-\\frac{\\pi}{4}[\/latex]. The other values of [latex]z[\/latex] appear in the following table.<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 19.5499%; text-align: center;\">[latex]c[\/latex]<\/td>\n<td style=\"width: 80.4501%; text-align: center;\"><strong>Vertical Trace for <\/strong>[latex]x=c[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 19.5499%; text-align: center;\">[latex]-\\frac{\\pi}{4}[\/latex]<\/td>\n<td style=\"width: 80.4501%; text-align: center;\">[latex]z=-\\frac{\\sqrt{2}\\cos{y}}{2}[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 19.5499%; text-align: center;\">[latex]0[\/latex]<\/td>\n<td style=\"width: 80.4501%; text-align: center;\">[latex]z=0[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 19.5499%; text-align: center;\">[latex]\\frac{\\pi}{4}[\/latex]<\/td>\n<td style=\"width: 80.4501%; text-align: center;\">[latex]z=\\frac{\\sqrt{2}\\cos{y}}{2}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>In a similar fashion, we can substitute the [latex]y[\/latex]-values in the equation [latex]f\\,(x,\\ y)[\/latex] to obtain the traces in the [latex]yz[\/latex]-plane, as listed in the following table.<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 19.7264%; text-align: center;\">[latex]d[\/latex]<\/td>\n<td style=\"width: 80.2736%; text-align: center;\"><strong>Vertical Trace for <\/strong>[latex]y=d[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 19.7264%; text-align: center;\">[latex]-\\frac{\\pi}{4}[\/latex]<\/td>\n<td style=\"width: 80.2736%; text-align: center;\">[latex]z=\\frac{\\sqrt{2}\\sin{x}}{2}[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 19.7264%; text-align: center;\">[latex]0[\/latex]<\/td>\n<td style=\"width: 80.2736%; text-align: center;\">[latex]z=\\sin{x}[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 19.7264%; text-align: center;\">[latex]\\frac{\\pi}{4}[\/latex]<\/td>\n<td style=\"width: 80.2736%; text-align: center;\">[latex]z=\\frac{\\sqrt{2}\\sin{x}}{2}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The three traces in the [latex]xz[\/latex]-plane\u00a0are cosine functions; the three traces in the [latex]yz[\/latex]-plane\u00a0are sine functions. These curves appear in the intersections of the surface with the planes [latex]x=-\\frac{\\pi}{4},\\ x=0,\\ x=\\frac{\\pi}{4}[\/latex] and [latex]y=-\\frac{\\pi}{4},\\ y=0,\\ y=\\frac{\\pi}{4}[\/latex] as shown in the following figure.<\/p>\n<figure id=\"attachment_961\" aria-describedby=\"caption-attachment-961\" style=\"width: 899px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-961\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27165937\/4-1-10.jpeg\" alt=\"This figure consists of two figures marked a and b. In figure a, a function is given in three dimensions and it is intersected by three parallel x-z planes at y = \u00b1\u03c0\/4 and 0. In figure b, a function is given in three dimensions and it is intersected by three parallel y-z planes at x = \u00b1\u03c0\/4 and 0.\" width=\"899\" height=\"424\" \/><figcaption id=\"caption-attachment-961\" class=\"wp-caption-text\">Figure 6.\u00a0Vertical traces of the function [latex]f(x,y)[\/latex]\u00a0are cosine curves in the [latex]xz[\/latex]-planes(a), and sine curves in the\u00a0[latex]yz[\/latex]-planes (b).<\/figcaption><\/figure>\n<\/div>\n<\/div>\n<\/section>\n<p class=\"whitespace-normal break-words\">Functions of two variables can produce some striking-looking surfaces. Figure 7 shows two examples that combine different types of functions.<\/p>\n<figure id=\"attachment_963\" aria-describedby=\"caption-attachment-963\" style=\"width: 973px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-963\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27170438\/4-1-11.jpeg\" alt=\"This figure consists of two figures marked a and b. In figure a, the function f(x, y) = x2 sin y is given; it has some sinusoidal properties by increases as the square along the maximums of the sine function. In figure b, the function f(x, y) = sin(ex) cos(ln y) is given in three dimensions; it decreases gently from the corner nearest (\u20132, 20) but then seems to bunch up into a series of folds that are parallel to the x and y axes.\" width=\"973\" height=\"437\" \/><figcaption id=\"caption-attachment-963\" class=\"wp-caption-text\">Figure 7.\u00a0Examples of surfaces representing functions of two variables: (a) a combination of a power function and a sine function and (b) a combination of trigonometric, exponential, and logarithmic functions.<\/figcaption><\/figure>\n","protected":false},"author":15,"menu_order":7,"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-1044","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\/1044","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":4,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1044\/revisions"}],"predecessor-version":[{"id":1735,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1044\/revisions\/1735"}],"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\/1044\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=1044"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=1044"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=1044"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=1044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}