{"id":620,"date":"2025-07-14T17:48:52","date_gmt":"2025-07-14T17:48:52","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/precalculus\/?post_type=chapter&#038;p=620"},"modified":"2026-01-08T16:50:43","modified_gmt":"2026-01-08T16:50:43","slug":"composition-of-functions-learn-it-3","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/precalculus\/chapter\/composition-of-functions-learn-it-3\/","title":{"raw":"Composition of Functions: Learn It 3","rendered":"Composition of Functions: Learn It 3"},"content":{"raw":"<h2>Evaluating Composite Functions<\/h2>\r\nOnce we compose a new function from two existing functions, we need to be able to evaluate it for any input in its domain. We will do this with specific numerical inputs for functions expressed as tables, graphs, and formulas and with variables as inputs to functions expressed as formulas. In each case, we evaluate the inner function using the starting input and then use the inner function\u2019s output as the input for the outer function.\r\n<h3>Using Tables<\/h3>\r\nWhen working with functions given as tables, we read input and output values from the table entries and always work from the inside to the outside. We evaluate the inside function first and then use the output of the inside function as the input to the outside function.\r\n\r\n<section class=\"textbox example\">Using the table below, evaluate [latex](f \\circ g)(3)[\/latex] and [latex](g \\circ f)(3)[\/latex].\r\n<table style=\"width: 30%; height: 132px;\" summary=\"Five rows and three columns. The first column is labeled,\"><colgroup> <col \/> <col \/> <col \/><\/colgroup>\r\n<thead>\r\n<tr style=\"height: 44px;\">\r\n<th style=\"height: 44px;\">[latex]x[\/latex]<\/th>\r\n<th style=\"height: 44px;\">[latex]f\\left(x\\right)[\/latex]<\/th>\r\n<th style=\"height: 44px;\">[latex]g\\left(x\\right)[\/latex]<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr style=\"height: 22px;\">\r\n<td style=\"height: 22px;\">[latex]1[\/latex]<\/td>\r\n<td style=\"height: 22px;\">[latex]6[\/latex]<\/td>\r\n<td style=\"height: 22px;\">[latex]3[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 22px;\">\r\n<td style=\"height: 22px;\">[latex]2[\/latex]<\/td>\r\n<td style=\"height: 22px;\">[latex]8[\/latex]<\/td>\r\n<td style=\"height: 22px;\">[latex]5[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 22px;\">\r\n<td style=\"height: 22px;\">[latex]3[\/latex]<\/td>\r\n<td style=\"height: 22px;\">[latex]3[\/latex]<\/td>\r\n<td style=\"height: 22px;\">[latex]2[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 22px;\">\r\n<td style=\"height: 22px;\">[latex]4[\/latex]<\/td>\r\n<td style=\"height: 22px;\">[latex]1[\/latex]<\/td>\r\n<td style=\"height: 22px;\">[latex]7[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[reveal-answer q=\"195147\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"195147\"]\r\n<ul>\r\n \t<li>First, find [latex]g(3)[\/latex]: From the table, when [latex]x=3[\/latex], [latex]g(3) = 2[\/latex].<\/li>\r\n \t<li>Next, find [latex]f(g(3)) = f(2)[\/latex]: From the table, when [latex]x=2[\/latex], [latex]f(2) = 8[\/latex].<\/li>\r\n<\/ul>\r\nTherefore, [latex](f \\circ g)(3) = f(g(3)) = f(2) = 8[\/latex].\r\n\r\nTo evaluate [latex]g\\left(f\\left(3\\right)\\right)[\/latex], we first evaluate the inside expression [latex]f\\left(3\\right)[\/latex] using the first table: [latex]f\\left(3\\right)=3[\/latex]. Then, using the table for [latex]g[\/latex], we can evaluate\r\n<p style=\"text-align: center;\">[latex]g\\left(f\\left(3\\right)\\right)=g\\left(3\\right)=2[\/latex]<\/p>\r\nThe table below shows the composite functions [latex]f\\circ g[\/latex] and [latex]g\\circ f[\/latex] as tables.\r\n<table style=\"width: 30%;\" summary=\"Two rows and five columns. When x=3, g(3)=2, f(g(3))=8, f(3)=3, and g(f(3))=2.\"><colgroup> <col \/> <col \/> <col \/> <col \/> <col \/><\/colgroup>\r\n<tbody>\r\n<tr>\r\n<td>[latex]x[\/latex]<\/td>\r\n<td>[latex]g\\left(x\\right)[\/latex]<\/td>\r\n<td>[latex]f\\left(g\\left(x\\right)\\right)[\/latex]<\/td>\r\n<td>[latex]f\\left(x\\right)[\/latex]<\/td>\r\n<td>[latex]g\\left(f\\left(x\\right)\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>[latex]3[\/latex]<\/td>\r\n<td>[latex]2[\/latex]<\/td>\r\n<td>[latex]8[\/latex]<\/td>\r\n<td>[latex]3[\/latex]<\/td>\r\n<td>[latex]2[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\">[ohm_question hide_question_numbers=1]317902[\/ohm_question]<\/section>\r\n<h3>Using Graphs<\/h3>\r\nWhen we are given individual functions as graphs, the procedure for evaluating composite functions is similar to the <span style=\"font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\">process we use for evaluating tables. We read the input and output values, but this time, from the [latex]x-[\/latex] and [latex]y-[\/latex]axes of the graphs.<\/span>\r\n\r\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given a composite function and graphs of its individual functions, evaluate it using the information provided by the graphs.\r\n<\/strong>\r\n<ol>\r\n \t<li>Locate the given input to the inner function on the [latex]x\\text{-}[\/latex] axis of its graph.<\/li>\r\n \t<li>Read off the output of the inner function from the [latex]y\\text{-}[\/latex] axis of its graph.<\/li>\r\n \t<li>Locate the inner function output on the [latex]x\\text{-}[\/latex] axis of the graph of the outer function.<\/li>\r\n \t<li>Read the output of the outer function from the [latex]y\\text{-}[\/latex] axis of its graph. This is the output of the composite function.<\/li>\r\n<\/ol>\r\n<\/section><section class=\"textbox example\">Using the graphs below, evaluate [latex](f \\circ g)(3)[\/latex], [latex](g \\circ f)(3)[\/latex], and [latex]f(g(1))[\/latex].<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/18195618\/CNX_Precalc_Figure_01_04_002ab2.jpg\" alt=\"Explanation of the composite function.\" width=\"975\" height=\"543\" \/>[reveal-answer q=\"215575\"][latex](f \\circ g)(3)[\/latex][\/reveal-answer]\r\n[hidden-answer a=\"215575\"]Find [latex]g(3) [\/latex] using graph (a):\r\n<ul>\r\n \t<li>Locate [latex]x = 3[\/latex] on the [latex]g(x)[\/latex] graph.<\/li>\r\n \t<li>[latex]g(3)[\/latex] is the [latex]y[\/latex]-value at [latex]x=3[\/latex], which is [latex]2[\/latex].<\/li>\r\n<\/ul>\r\nFind [latex]f(g(3)) = f(2)[\/latex] using graph (b):\r\n<ul>\r\n \t<li>Locate [latex]x = 2[\/latex] on the [latex]f(x)[\/latex] graph.<\/li>\r\n \t<li>[latex]f(2)[\/latex] is the [latex]y[\/latex]-value at [latex]x=2[\/latex], which is [latex]5[\/latex].<\/li>\r\n<\/ul>\r\nTherefore, [latex](f \\circ g)(3) = 5[\/latex].[\/hidden-answer]\r\n\r\n[reveal-answer q=\"915645\"][latex](g \\circ f)(3)[\/latex][\/reveal-answer]\r\n[hidden-answer a=\"915645\"][latex]\\begin{align*} \\text{First, find } f(3) \\text{ using graph (b):} \\\\ f(3) &amp;= 6 \\quad \\text{(Locate } x = 3 \\text{ on the } f(x) \\text{ graph, } f(3) \\text{ is the } y \\text{-value at } x = 3) \\\\[2mm] \\text{Next, find } g(f(3)) = g(6) \\text{ using graph (a):} \\\\ g(6) &amp;= 7 \\quad \\text{(Locate } x = 6 \\text{ on the } g(x) \\text{ graph, } g(6) \\text{ is the } y \\text{-value at } x = 6) \\\\[2mm] \\text{Therefore, } (g \\circ f)(3) &amp;= 7 \\end{align*}[\/latex][\/hidden-answer]\r\n\r\n[reveal-answer q=\"998961\"][latex]f(g(1))[\/latex][\/reveal-answer]\r\n[hidden-answer a=\"998961\"]\r\n<p style=\"text-align: center;\">[latex]f(g(1)) = f(3) = 6[\/latex]<\/p>\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/18195623\/CNX_Precalc_Figure_01_04_0052.jpg\" alt=\"Two graphs of a positive and negative parabola.\" width=\"975\" height=\"520\" \/>[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\">[ohm_question hide_question_numbers=1]317903[\/ohm_question]<\/section>","rendered":"<h2>Evaluating Composite Functions<\/h2>\n<p>Once we compose a new function from two existing functions, we need to be able to evaluate it for any input in its domain. We will do this with specific numerical inputs for functions expressed as tables, graphs, and formulas and with variables as inputs to functions expressed as formulas. In each case, we evaluate the inner function using the starting input and then use the inner function\u2019s output as the input for the outer function.<\/p>\n<h3>Using Tables<\/h3>\n<p>When working with functions given as tables, we read input and output values from the table entries and always work from the inside to the outside. We evaluate the inside function first and then use the output of the inside function as the input to the outside function.<\/p>\n<section class=\"textbox example\">Using the table below, evaluate [latex](f \\circ g)(3)[\/latex] and [latex](g \\circ f)(3)[\/latex].<\/p>\n<table style=\"width: 30%; height: 132px;\" summary=\"Five rows and three columns. The first column is labeled,\">\n<colgroup>\n<col \/>\n<col \/>\n<col \/><\/colgroup>\n<thead>\n<tr style=\"height: 44px;\">\n<th style=\"height: 44px;\">[latex]x[\/latex]<\/th>\n<th style=\"height: 44px;\">[latex]f\\left(x\\right)[\/latex]<\/th>\n<th style=\"height: 44px;\">[latex]g\\left(x\\right)[\/latex]<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 22px;\">\n<td style=\"height: 22px;\">[latex]1[\/latex]<\/td>\n<td style=\"height: 22px;\">[latex]6[\/latex]<\/td>\n<td style=\"height: 22px;\">[latex]3[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 22px;\">\n<td style=\"height: 22px;\">[latex]2[\/latex]<\/td>\n<td style=\"height: 22px;\">[latex]8[\/latex]<\/td>\n<td style=\"height: 22px;\">[latex]5[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 22px;\">\n<td style=\"height: 22px;\">[latex]3[\/latex]<\/td>\n<td style=\"height: 22px;\">[latex]3[\/latex]<\/td>\n<td style=\"height: 22px;\">[latex]2[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 22px;\">\n<td style=\"height: 22px;\">[latex]4[\/latex]<\/td>\n<td style=\"height: 22px;\">[latex]1[\/latex]<\/td>\n<td style=\"height: 22px;\">[latex]7[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q195147\">Show Solution<\/button><\/p>\n<div id=\"q195147\" class=\"hidden-answer\" style=\"display: none\">\n<ul>\n<li>First, find [latex]g(3)[\/latex]: From the table, when [latex]x=3[\/latex], [latex]g(3) = 2[\/latex].<\/li>\n<li>Next, find [latex]f(g(3)) = f(2)[\/latex]: From the table, when [latex]x=2[\/latex], [latex]f(2) = 8[\/latex].<\/li>\n<\/ul>\n<p>Therefore, [latex](f \\circ g)(3) = f(g(3)) = f(2) = 8[\/latex].<\/p>\n<p>To evaluate [latex]g\\left(f\\left(3\\right)\\right)[\/latex], we first evaluate the inside expression [latex]f\\left(3\\right)[\/latex] using the first table: [latex]f\\left(3\\right)=3[\/latex]. Then, using the table for [latex]g[\/latex], we can evaluate<\/p>\n<p style=\"text-align: center;\">[latex]g\\left(f\\left(3\\right)\\right)=g\\left(3\\right)=2[\/latex]<\/p>\n<p>The table below shows the composite functions [latex]f\\circ g[\/latex] and [latex]g\\circ f[\/latex] as tables.<\/p>\n<table style=\"width: 30%;\" summary=\"Two rows and five columns. When x=3, g(3)=2, f(g(3))=8, f(3)=3, and g(f(3))=2.\">\n<colgroup>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr>\n<td>[latex]x[\/latex]<\/td>\n<td>[latex]g\\left(x\\right)[\/latex]<\/td>\n<td>[latex]f\\left(g\\left(x\\right)\\right)[\/latex]<\/td>\n<td>[latex]f\\left(x\\right)[\/latex]<\/td>\n<td>[latex]g\\left(f\\left(x\\right)\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td>[latex]3[\/latex]<\/td>\n<td>[latex]2[\/latex]<\/td>\n<td>[latex]8[\/latex]<\/td>\n<td>[latex]3[\/latex]<\/td>\n<td>[latex]2[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm317902\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=317902&theme=lumen&iframe_resize_id=ohm317902&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<h3>Using Graphs<\/h3>\n<p>When we are given individual functions as graphs, the procedure for evaluating composite functions is similar to the <span style=\"font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\">process we use for evaluating tables. We read the input and output values, but this time, from the [latex]x-[\/latex] and [latex]y-[\/latex]axes of the graphs.<\/span><\/p>\n<section class=\"textbox questionHelp\" aria-label=\"Question Help\"><strong>How To: Given a composite function and graphs of its individual functions, evaluate it using the information provided by the graphs.<br \/>\n<\/strong><\/p>\n<ol>\n<li>Locate the given input to the inner function on the [latex]x\\text{-}[\/latex] axis of its graph.<\/li>\n<li>Read off the output of the inner function from the [latex]y\\text{-}[\/latex] axis of its graph.<\/li>\n<li>Locate the inner function output on the [latex]x\\text{-}[\/latex] axis of the graph of the outer function.<\/li>\n<li>Read the output of the outer function from the [latex]y\\text{-}[\/latex] axis of its graph. This is the output of the composite function.<\/li>\n<\/ol>\n<\/section>\n<section class=\"textbox example\">Using the graphs below, evaluate [latex](f \\circ g)(3)[\/latex], [latex](g \\circ f)(3)[\/latex], and [latex]f(g(1))[\/latex].<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/18195618\/CNX_Precalc_Figure_01_04_002ab2.jpg\" alt=\"Explanation of the composite function.\" width=\"975\" height=\"543\" \/><\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q215575\">[latex](f \\circ g)(3)[\/latex]<\/button><\/p>\n<div id=\"q215575\" class=\"hidden-answer\" style=\"display: none\">Find [latex]g(3)[\/latex] using graph (a):<\/p>\n<ul>\n<li>Locate [latex]x = 3[\/latex] on the [latex]g(x)[\/latex] graph.<\/li>\n<li>[latex]g(3)[\/latex] is the [latex]y[\/latex]-value at [latex]x=3[\/latex], which is [latex]2[\/latex].<\/li>\n<\/ul>\n<p>Find [latex]f(g(3)) = f(2)[\/latex] using graph (b):<\/p>\n<ul>\n<li>Locate [latex]x = 2[\/latex] on the [latex]f(x)[\/latex] graph.<\/li>\n<li>[latex]f(2)[\/latex] is the [latex]y[\/latex]-value at [latex]x=2[\/latex], which is [latex]5[\/latex].<\/li>\n<\/ul>\n<p>Therefore, [latex](f \\circ g)(3) = 5[\/latex].<\/p><\/div>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q915645\">[latex](g \\circ f)(3)[\/latex]<\/button><\/p>\n<div id=\"q915645\" class=\"hidden-answer\" style=\"display: none\">[latex]\\begin{align*} \\text{First, find } f(3) \\text{ using graph (b):} \\\\ f(3) &= 6 \\quad \\text{(Locate } x = 3 \\text{ on the } f(x) \\text{ graph, } f(3) \\text{ is the } y \\text{-value at } x = 3) \\\\[2mm] \\text{Next, find } g(f(3)) = g(6) \\text{ using graph (a):} \\\\ g(6) &= 7 \\quad \\text{(Locate } x = 6 \\text{ on the } g(x) \\text{ graph, } g(6) \\text{ is the } y \\text{-value at } x = 6) \\\\[2mm] \\text{Therefore, } (g \\circ f)(3) &= 7 \\end{align*}[\/latex]<\/div>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q998961\">[latex]f(g(1))[\/latex]<\/button><\/p>\n<div id=\"q998961\" class=\"hidden-answer\" style=\"display: none\">\n<p style=\"text-align: center;\">[latex]f(g(1)) = f(3) = 6[\/latex]<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/18195623\/CNX_Precalc_Figure_01_04_0052.jpg\" alt=\"Two graphs of a positive and negative parabola.\" width=\"975\" height=\"520\" \/><\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm317903\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=317903&theme=lumen&iframe_resize_id=ohm317903&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n","protected":false},"author":13,"menu_order":8,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":498,"module-header":"learn_it","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\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/620"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/users\/13"}],"version-history":[{"count":5,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/620\/revisions"}],"predecessor-version":[{"id":5235,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/620\/revisions\/5235"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/parts\/498"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/620\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/media?parent=620"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapter-type?post=620"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/contributor?post=620"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/license?post=620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}