{"id":1043,"date":"2025-10-15T13:37:03","date_gmt":"2025-10-15T13:37:03","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus3\/?post_type=chapter&#038;p=1043"},"modified":"2025-10-23T13:18:26","modified_gmt":"2025-10-23T13:18:26","slug":"functions-of-several-variables-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus3\/chapter\/functions-of-several-variables-learn-it-2\/","title":{"raw":"Functions of Several Variables: Learn It 2","rendered":"Functions of Several Variables: Learn It 2"},"content":{"raw":"<h2>Graphing Functions of Two Variables<\/h2>\r\n<p class=\"whitespace-normal break-words\">When you graph a function [latex]z=f(x,y)[\/latex], you're working with two independent variables ([latex]x[\/latex] and [latex]y[\/latex]) and one dependent variable ([latex]z[\/latex]). For single-variable functions [latex]y=f(x)[\/latex], we use the Cartesian plane where every point has an ordered pair [latex](x,\\ y)[\/latex] associated with it. With two-variable functions, each ordered pair [latex](x,\\ y)[\/latex] in the domain maps to a real number [latex]z[\/latex], creating ordered triples [latex](x,\\ y,\\ z)[\/latex].<\/p>\r\n<p class=\"whitespace-normal break-words\">The graph of a function [latex]z=f(x,y)[\/latex] is called a <strong>surface<\/strong>.<\/p>\r\n<p class=\"whitespace-normal break-words\">To visualize this, imagine the [latex]xy[\/latex]-coordinate system lying flat. Every point in the domain of [latex]f[\/latex] has a unique [latex]z[\/latex]-value associated with it. If [latex]z[\/latex] is positive, the graphed point sits above the [latex]xy[\/latex]-plane. If [latex]z[\/latex] is negative, it sits below. The collection of all these graphed points forms a two-dimensional surface in three-dimensional space.<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">Create a graph of each of the following functions:\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>[latex]g\\,(x,\\ y)=\\sqrt{9-x^{2}-y^{2}}[\/latex]<\/li>\r\n \t<li>[latex]f\\,(x,\\ y)=x^{2}+y^{2}[\/latex]<\/li>\r\n<\/ol>\r\n[reveal-answer q=\"fs-id1267793933114\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"fs-id1267793933114\"]\r\n<ol style=\"list-style-type: lower-alpha;\">\r\n \t<li>In the previous example, we determined that the domain of [latex]g\\,(x,\\ y)=\\sqrt{9-x^{2}-y^{2}}[\/latex] is [latex]\\{(x,\\ y)\\in\\mathbb{R}^{2}\\,|\\,x^{2}+y^{2}\\,\\leq\\,9\\}[\/latex] and the range is [latex]{z\\in\\mathbb{R}^{2}\\,|\\,0\\,\\leq\\,z\\,\\leq\\,3}[\/latex].\r\n\r\nWhen [latex]x^{2}+y^{2}=9[\/latex] we have [latex]g\\,(x,\\ y)=0[\/latex]. Therefore, any point on the circle of radius [latex]3[\/latex] centered at the origin in the [latex]xy[\/latex]-plane maps to [latex]z=0[\/latex] in [latex]\\mathbb{R}^3[\/latex].\r\n\r\nIf [latex]x^{2}+y^{2}=8[\/latex], then [latex]g\\,(x,\\ y)=1[\/latex], so any point on the circle of radius [latex]2\\sqrt{2}[\/latex] centered at the origin in the [latex]xy[\/latex]-plane maps to [latex]z=1[\/latex] in [latex]\\mathbb{R}^{3}[\/latex].\r\n\r\nAs [latex]x^{2}+y^{2}[\/latex] gets closer to zero, the value of [latex]z[\/latex] approaches [latex]3[\/latex]. When [latex]x^{2}+y^{2}=0[\/latex], then [latex]g\\,(x,\\ y)=3[\/latex]. This is the origin in the [latex]xy[\/latex]-plane.\r\n\r\nIf [latex]x^{2}+y^{2}[\/latex] is equal to any other value between [latex]0[\/latex] and [latex]9[\/latex], then [latex]g\\,(x,\\ y)[\/latex] equals some other constant between [latex]0[\/latex] and [latex]3[\/latex]. The surface described by this function is a hemisphere centered at the origin with radius\u00a0[latex]3[\/latex] as shown in the following graph.\r\n<div>\r\n\r\n[caption id=\"attachment_949\" align=\"aligncenter\" width=\"597\"]<img class=\"size-full wp-image-949\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27164347\/4-1-3.jpeg\" alt=\"A hemisphere with center at the origin. The equation z = g(x, y) = the square root of the quantity (9 \u2013 x2 \u2013 y2) is given.\" width=\"597\" height=\"612\" \/> Figure 4. <span class=\"os-caption\">Graph of the hemisphere represented by the given function of two variables.<\/span>[\/caption]\r\n\r\n<\/div><\/li>\r\n \t<li>This function also contains the expression [latex]x^{2}+y^{2}[\/latex]. Setting this expression equal to various values starting at zero, we obtain circles of increasing radius.\r\n\r\nThe minimum value of [latex]f\\,(x,\\ y)=x^{2}+y^{2}[\/latex] is zero (attained when [latex]x=y=0[\/latex]). When [latex]x=0[\/latex], the function becomes [latex]z=y^{2}[\/latex], and when [latex]y=0[\/latex], then the function becomes [latex]z=x^{2}[\/latex].\r\n\r\nThese are cross-sections of the graph, and are parabolas. Recall that the name of the graph of [latex]f\\,(x,\\ y)=x^{2}+y^{2}[\/latex] is a <em>paraboloid<\/em>. The graph of [latex]f[\/latex] appears in the following graph.\r\n<div>\r\n\r\n[caption id=\"attachment_951\" align=\"aligncenter\" width=\"585\"]<img class=\"size-full wp-image-951\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27164441\/4-1-4.jpeg\" alt=\"A paraboloid with vertex at the origin. The equation z = f(x, y) = x2 + y2 is given.\" width=\"585\" height=\"574\" \/> Figure 5.\u00a0A paraboloid is the graph of the given function of two variables.[\/caption]\r\n\r\n<\/div><\/li>\r\n<\/ol>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox proTip\" aria-label=\"Pro Tip\">To understand the shape of a surface, examine what happens when you hold one variable constant. For instance, setting [latex]x=0[\/latex] or [latex]y=0[\/latex] gives you cross-sections that are often familiar curves like parabolas or circles.\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">A profit function for a hardware manufacturer is given by\r\n<p style=\"text-align: center;\">[latex]f\\,(x,\\ y)=16-(x-3)^{2}-(y-2)^{2}[\/latex],<\/p>\r\nwhere [latex]x[\/latex] is the number of nuts sold per month (measured in thousands) and [latex]y[\/latex] represents the number of bolts sold per month (measured in thousands). Profit is measured in thousands of dollars. Sketch a graph of this function.\r\n\r\n[reveal-answer q=\"fs-id1167794933114\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"fs-id1167794933114\"]\r\nThis function is a polynomial function in two variables. The domain of [latex]f[\/latex] consists of [latex](x,\\ y)[\/latex] coordinate pairs that yield a nonnegative profit:\r\n<div style=\"text-align: center;\">[latex]16-(x-3)^{2}-(y-2)^{2}\\,\\geq\\,0[\/latex]<\/div>\r\n<div style=\"text-align: center;\">[latex](x-3)^{2}-(y-2)^{2}\\,\\leq\\,16.[\/latex]<\/div>\r\n<p style=\"text-align: left;\">This is a disk of radius\u00a0[latex]4[\/latex] centered at [latex](3,\\ 2)[\/latex]. A further restriction is that both [latex]x[\/latex] and [latex]y[\/latex] must be nonnegative. When [latex]x=3[\/latex] and [latex]y=2[\/latex], [latex]f\\,(x,\\ y)=16[\/latex]. Note that it is possible for either value to be a noninteger; for example, it is possible to sell\u00a0[latex]2.5[\/latex] thousand nut in a month. The domain, therefore, contains thousands of points, so we can consider all points within the disk. For any [latex]z&lt;16[\/latex], we can solve the equation [latex]f\\,(x,\\ y)=z[\/latex]:<\/p>\r\n\r\n<div style=\"text-align: center;\">[latex]16-(x-3)^{2}-(y-2)^{2}=z[\/latex]<\/div>\r\n<div style=\"text-align: center;\">[latex](x-3)^{2}-(y-2)^{2}=16-z[\/latex]<\/div>\r\n<p style=\"text-align: left;\">Since [latex]z&lt;16[\/latex], we know that [latex]16-z&gt;0[\/latex], so the previous equation describes a circle with radius [latex]\\sqrt{16-z}[\/latex] centered at the point [latex](3,\\ 2)[\/latex]. Therefore, the range of [latex]f\\,(x,\\ y)[\/latex] is [latex]\\{z\\in\\mathbb{R}\\,|z\\,\\leq\\,16\\}[\/latex]. The graph of [latex]f\\,(x,\\ y)[\/latex] is also a paraboloid, and this paraboloid points downward as shown.<\/p>\r\n\r\n\r\n[caption id=\"attachment_953\" align=\"aligncenter\" width=\"496\"]<img class=\"size-full wp-image-953\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27164529\/4-1-5.jpeg\" alt=\"A paraboloid center seemingly on the positive z axis. The equation z = f(x, y) = 16 \u2013 (x \u2013 3)2 \u2013 (y \u2013 2)2 is given.\" width=\"496\" height=\"517\" \/> Figure 6.\u00a0The graph of the given function of two variables is also a paraboloid.[\/caption]\r\n<p style=\"text-align: left;\">[\/hidden-answer]<\/p>\r\n\r\n<\/section>","rendered":"<h2>Graphing Functions of Two Variables<\/h2>\n<p class=\"whitespace-normal break-words\">When you graph a function [latex]z=f(x,y)[\/latex], you&#8217;re working with two independent variables ([latex]x[\/latex] and [latex]y[\/latex]) and one dependent variable ([latex]z[\/latex]). For single-variable functions [latex]y=f(x)[\/latex], we use the Cartesian plane where every point has an ordered pair [latex](x,\\ y)[\/latex] associated with it. With two-variable functions, each ordered pair [latex](x,\\ y)[\/latex] in the domain maps to a real number [latex]z[\/latex], creating ordered triples [latex](x,\\ y,\\ z)[\/latex].<\/p>\n<p class=\"whitespace-normal break-words\">The graph of a function [latex]z=f(x,y)[\/latex] is called a <strong>surface<\/strong>.<\/p>\n<p class=\"whitespace-normal break-words\">To visualize this, imagine the [latex]xy[\/latex]-coordinate system lying flat. Every point in the domain of [latex]f[\/latex] has a unique [latex]z[\/latex]-value associated with it. If [latex]z[\/latex] is positive, the graphed point sits above the [latex]xy[\/latex]-plane. If [latex]z[\/latex] is negative, it sits below. The collection of all these graphed points forms a two-dimensional surface in three-dimensional space.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">Create a graph of each of the following functions:<\/p>\n<ol style=\"list-style-type: lower-alpha;\">\n<li>[latex]g\\,(x,\\ y)=\\sqrt{9-x^{2}-y^{2}}[\/latex]<\/li>\n<li>[latex]f\\,(x,\\ y)=x^{2}+y^{2}[\/latex]<\/li>\n<\/ol>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1267793933114\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1267793933114\" class=\"hidden-answer\" style=\"display: none\">\n<ol style=\"list-style-type: lower-alpha;\">\n<li>In the previous example, we determined that the domain of [latex]g\\,(x,\\ y)=\\sqrt{9-x^{2}-y^{2}}[\/latex] is [latex]\\{(x,\\ y)\\in\\mathbb{R}^{2}\\,|\\,x^{2}+y^{2}\\,\\leq\\,9\\}[\/latex] and the range is [latex]{z\\in\\mathbb{R}^{2}\\,|\\,0\\,\\leq\\,z\\,\\leq\\,3}[\/latex].\n<p>When [latex]x^{2}+y^{2}=9[\/latex] we have [latex]g\\,(x,\\ y)=0[\/latex]. Therefore, any point on the circle of radius [latex]3[\/latex] centered at the origin in the [latex]xy[\/latex]-plane maps to [latex]z=0[\/latex] in [latex]\\mathbb{R}^3[\/latex].<\/p>\n<p>If [latex]x^{2}+y^{2}=8[\/latex], then [latex]g\\,(x,\\ y)=1[\/latex], so any point on the circle of radius [latex]2\\sqrt{2}[\/latex] centered at the origin in the [latex]xy[\/latex]-plane maps to [latex]z=1[\/latex] in [latex]\\mathbb{R}^{3}[\/latex].<\/p>\n<p>As [latex]x^{2}+y^{2}[\/latex] gets closer to zero, the value of [latex]z[\/latex] approaches [latex]3[\/latex]. When [latex]x^{2}+y^{2}=0[\/latex], then [latex]g\\,(x,\\ y)=3[\/latex]. This is the origin in the [latex]xy[\/latex]-plane.<\/p>\n<p>If [latex]x^{2}+y^{2}[\/latex] is equal to any other value between [latex]0[\/latex] and [latex]9[\/latex], then [latex]g\\,(x,\\ y)[\/latex] equals some other constant between [latex]0[\/latex] and [latex]3[\/latex]. The surface described by this function is a hemisphere centered at the origin with radius\u00a0[latex]3[\/latex] as shown in the following graph.<\/p>\n<div>\n<figure id=\"attachment_949\" aria-describedby=\"caption-attachment-949\" style=\"width: 597px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-949\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27164347\/4-1-3.jpeg\" alt=\"A hemisphere with center at the origin. The equation z = g(x, y) = the square root of the quantity (9 \u2013 x2 \u2013 y2) is given.\" width=\"597\" height=\"612\" \/><figcaption id=\"caption-attachment-949\" class=\"wp-caption-text\">Figure 4. <span class=\"os-caption\">Graph of the hemisphere represented by the given function of two variables.<\/span><\/figcaption><\/figure>\n<\/div>\n<\/li>\n<li>This function also contains the expression [latex]x^{2}+y^{2}[\/latex]. Setting this expression equal to various values starting at zero, we obtain circles of increasing radius.\n<p>The minimum value of [latex]f\\,(x,\\ y)=x^{2}+y^{2}[\/latex] is zero (attained when [latex]x=y=0[\/latex]). When [latex]x=0[\/latex], the function becomes [latex]z=y^{2}[\/latex], and when [latex]y=0[\/latex], then the function becomes [latex]z=x^{2}[\/latex].<\/p>\n<p>These are cross-sections of the graph, and are parabolas. Recall that the name of the graph of [latex]f\\,(x,\\ y)=x^{2}+y^{2}[\/latex] is a <em>paraboloid<\/em>. The graph of [latex]f[\/latex] appears in the following graph.<\/p>\n<div>\n<figure id=\"attachment_951\" aria-describedby=\"caption-attachment-951\" style=\"width: 585px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-951\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27164441\/4-1-4.jpeg\" alt=\"A paraboloid with vertex at the origin. The equation z = f(x, y) = x2 + y2 is given.\" width=\"585\" height=\"574\" \/><figcaption id=\"caption-attachment-951\" class=\"wp-caption-text\">Figure 5.\u00a0A paraboloid is the graph of the given function of two variables.<\/figcaption><\/figure>\n<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox proTip\" aria-label=\"Pro Tip\">To understand the shape of a surface, examine what happens when you hold one variable constant. For instance, setting [latex]x=0[\/latex] or [latex]y=0[\/latex] gives you cross-sections that are often familiar curves like parabolas or circles.<\/p>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">A profit function for a hardware manufacturer is given by<\/p>\n<p style=\"text-align: center;\">[latex]f\\,(x,\\ y)=16-(x-3)^{2}-(y-2)^{2}[\/latex],<\/p>\n<p>where [latex]x[\/latex] is the number of nuts sold per month (measured in thousands) and [latex]y[\/latex] represents the number of bolts sold per month (measured in thousands). Profit is measured in thousands of dollars. Sketch a graph of this function.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1167794933114\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1167794933114\" class=\"hidden-answer\" style=\"display: none\">\nThis function is a polynomial function in two variables. The domain of [latex]f[\/latex] consists of [latex](x,\\ y)[\/latex] coordinate pairs that yield a nonnegative profit:<\/p>\n<div style=\"text-align: center;\">[latex]16-(x-3)^{2}-(y-2)^{2}\\,\\geq\\,0[\/latex]<\/div>\n<div style=\"text-align: center;\">[latex](x-3)^{2}-(y-2)^{2}\\,\\leq\\,16.[\/latex]<\/div>\n<p style=\"text-align: left;\">This is a disk of radius\u00a0[latex]4[\/latex] centered at [latex](3,\\ 2)[\/latex]. A further restriction is that both [latex]x[\/latex] and [latex]y[\/latex] must be nonnegative. When [latex]x=3[\/latex] and [latex]y=2[\/latex], [latex]f\\,(x,\\ y)=16[\/latex]. Note that it is possible for either value to be a noninteger; for example, it is possible to sell\u00a0[latex]2.5[\/latex] thousand nut in a month. The domain, therefore, contains thousands of points, so we can consider all points within the disk. For any [latex]z<16[\/latex], we can solve the equation [latex]f\\,(x,\\ y)=z[\/latex]:<\/p>\n<div style=\"text-align: center;\">[latex]16-(x-3)^{2}-(y-2)^{2}=z[\/latex]<\/div>\n<div style=\"text-align: center;\">[latex](x-3)^{2}-(y-2)^{2}=16-z[\/latex]<\/div>\n<p style=\"text-align: left;\">Since [latex]z<16[\/latex], we know that [latex]16-z>0[\/latex], so the previous equation describes a circle with radius [latex]\\sqrt{16-z}[\/latex] centered at the point [latex](3,\\ 2)[\/latex]. Therefore, the range of [latex]f\\,(x,\\ y)[\/latex] is [latex]\\{z\\in\\mathbb{R}\\,|z\\,\\leq\\,16\\}[\/latex]. The graph of [latex]f\\,(x,\\ y)[\/latex] is also a paraboloid, and this paraboloid points downward as shown.<\/p>\n<figure id=\"attachment_953\" aria-describedby=\"caption-attachment-953\" style=\"width: 496px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-953\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5667\/2021\/09\/27164529\/4-1-5.jpeg\" alt=\"A paraboloid center seemingly on the positive z axis. The equation z = f(x, y) = 16 \u2013 (x \u2013 3)2 \u2013 (y \u2013 2)2 is given.\" width=\"496\" height=\"517\" \/><figcaption id=\"caption-attachment-953\" class=\"wp-caption-text\">Figure 6.\u00a0The graph of the given function of two variables is also a paraboloid.<\/figcaption><\/figure>\n<p style=\"text-align: left;\"><\/div>\n<\/div>\n<\/section>\n","protected":false},"author":15,"menu_order":6,"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-1043","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\/1043","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\/1043\/revisions"}],"predecessor-version":[{"id":1734,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapters\/1043\/revisions\/1734"}],"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\/1043\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/media?parent=1043"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/pressbooks\/v2\/chapter-type?post=1043"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/contributor?post=1043"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus3\/wp-json\/wp\/v2\/license?post=1043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}