{"id":910,"date":"2015-11-12T18:37:58","date_gmt":"2015-11-12T18:37:58","guid":{"rendered":"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/?post_type=chapter&#038;p=910"},"modified":"2015-11-12T18:37:58","modified_gmt":"2015-11-12T18:37:58","slug":"evaluate-composite-functions","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/chapter\/evaluate-composite-functions\/","title":{"raw":"Evaluate composite functions","rendered":"Evaluate composite functions"},"content":{"raw":"<p id=\"fs-id1165135168147\">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\n<section id=\"fs-id1165137760886\" data-depth=\"2\"><h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Evaluating Composite Functions Using Tables<\/span><\/h2>\n<p id=\"fs-id1165137725253\">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\n<div id=\"Example_01_04_05\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137416770\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137465672\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 5: Using a Table to Evaluate a Composite Function<\/h3>\n<p id=\"fs-id1165135177664\">Using the table below,\u00a0evaluate [latex]f\\left(g\\left(3\\right)\\right)[\/latex] and [latex]g\\left(f\\left(3\\right)\\right)[\/latex].<\/p>\n\n<table id=\"Table_01_04_01\" summary=\"Five rows and three columns. The first column is labeled,\"><colgroup><col data-width=\"55\" data-align=\"center\"\/><col data-width=\"55\" data-align=\"center\"\/><col data-width=\"55\" data-align=\"center\"\/><\/colgroup><thead><tr><th data-align=\"center\">[latex]x[\/latex]<\/th>\n<th data-align=\"center\">[latex]f\\left(x\\right)[\/latex]<\/th>\n<th data-align=\"center\">[latex]g\\left(x\\right)[\/latex]<\/th>\n<\/tr><\/thead><tbody><tr><td data-align=\"center\">1<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">3<\/td>\n<\/tr><tr><td data-align=\"center\">2<\/td>\n<td data-align=\"center\">8<\/td>\n<td data-align=\"center\">5<\/td>\n<\/tr><tr><td data-align=\"center\">3<\/td>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">2<\/td>\n<\/tr><tr><td data-align=\"center\">4<\/td>\n<td data-align=\"center\">1<\/td>\n<td data-align=\"center\">7<\/td>\n<\/tr><\/tbody><\/table><\/div>\n<div id=\"fs-id1165135582219\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165135582221\">To evaluate [latex]f\\left(g\\left(3\\right)\\right)[\/latex], we start from the inside with the input value 3. We then evaluate the inside expression [latex]g\\left(3\\right)[\/latex] using the table that defines the function [latex]g:[\/latex] [latex]g\\left(3\\right)=2[\/latex]. We can then use that result as the input to the function [latex]f[\/latex], so [latex]g\\left(3\\right)[\/latex] is replaced by 2 and we get [latex]f\\left(2\\right)[\/latex]. Then, using the table that defines the function [latex]f[\/latex], we find that [latex]f\\left(2\\right)=8[\/latex].<\/p>\n\n<div id=\"fs-id1165137415997\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(3\\right)=2\\hfill \\\\ f\\left(g\\left(3\\right)\\right)=f\\left(2\\right)=8\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165134259282\">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\\text{,\\hspace{0.17em}}[\/latex] we can evaluate<\/p>\n\n<div id=\"fs-id1165137841687\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]g\\left(f\\left(3\\right)\\right)=g\\left(3\\right)=2[\/latex]<\/div>\n<p id=\"fs-id1165134231482\">The table below shows the composite functions [latex]f\\circ g[\/latex] and [latex]g\\circ f[\/latex] as tables.<\/p>\n\n<table id=\"Table_01_04_02\" 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 data-width=\"60\" data-align=\"center\"\/><col data-width=\"60\" data-align=\"center\"\/><col data-width=\"60\" data-align=\"center\"\/><col data-width=\"60\" data-align=\"center\"\/><col data-width=\"60\" data-align=\"center\"\/><\/colgroup><tbody><tr><td data-align=\"center\">[latex]x[\/latex]<\/td>\n<td data-align=\"center\">[latex]g\\left(x\\right)[\/latex]<\/td>\n<td data-align=\"center\">[latex]f\\left(g\\left(x\\right)\\right)[\/latex]<\/td>\n<td data-align=\"center\">[latex]f\\left(x\\right)[\/latex]<\/td>\n<td data-align=\"center\">[latex]g\\left(f\\left(x\\right)\\right)[\/latex]<\/td>\n<\/tr><tr><td data-align=\"center\">3<\/td>\n<td data-align=\"center\">2<\/td>\n<td data-align=\"center\">8<\/td>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">2<\/td>\n<\/tr><\/tbody><\/table><\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3 id=\"fs-id1165134297603\">Try It 3<\/h3>\nUsing the table below, evaluate [latex]f\\left(g\\left(1\\right)\\right)[\/latex] and [latex]g\\left(f\\left(4\\right)\\right)[\/latex].\n<table summary=\"Five rows and three columns. The first column is labeled,\"><colgroup><col data-width=\"55\" data-align=\"center\"\/><col data-width=\"55\" data-align=\"center\"\/><col data-width=\"55\" data-align=\"center\"\/><\/colgroup><thead><tr><th data-align=\"center\">[latex]x[\/latex]<\/th>\n<th data-align=\"center\">[latex]f\\left(x\\right)[\/latex]<\/th>\n<th data-align=\"center\">[latex]g\\left(x\\right)[\/latex]<\/th>\n<\/tr><\/thead><tbody><tr><td data-align=\"center\">1<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">3<\/td>\n<\/tr><tr><td data-align=\"center\">2<\/td>\n<td data-align=\"center\">8<\/td>\n<td data-align=\"center\">5<\/td>\n<\/tr><tr><td data-align=\"center\">3<\/td>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">2<\/td>\n<\/tr><tr><td data-align=\"center\">4<\/td>\n<td data-align=\"center\">1<\/td>\n<td data-align=\"center\">7<\/td>\n<\/tr><\/tbody><\/table><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-3\/\" target=\"_blank\">Solution<\/a>\n\n<\/div>\n<\/section><section id=\"fs-id1165137756068\" data-depth=\"2\"><h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Evaluating Composite Functions Using Graphs<\/span><\/h2>\n<p id=\"fs-id1165137428192\">When we are given individual functions as graphs, the procedure for evaluating composite functions is similar to the process we use for evaluating tables. We read the input and output values, but this time, from the [latex]x\\text{-}[\/latex] and [latex]y\\text{-}[\/latex] axes of the graphs.<\/p>\n\n<div id=\"fs-id1165137634364\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137660530\">How To: Given a composite function and graphs of its individual functions, evaluate it using the information provided by the graphs.<strong>\n<\/strong><\/h3>\n<ol id=\"fs-id1165133248553\" data-number-style=\"arabic\"><li>Locate the given input to the inner function on the [latex]x\\text{-}[\/latex] axis of its graph.<\/li>\n\t<li>Read off the output of the inner function from the [latex]y\\text{-}[\/latex] axis of its graph.<\/li>\n\t<li>Locate the inner function output on the [latex]x\\text{-}[\/latex] axis of the graph of the outer function.<\/li>\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>\n<\/ol><\/div>\n<div id=\"fs-id1165137758196\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 6: Using a Graph to Evaluate a Composite Function<\/h3>\nUsing the graphs in Figure 3, evaluate [latex]f\\left(g\\left(1\\right)\\right)[\/latex].\n\n[caption id=\"\" align=\"aligncenter\" width=\"975\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25200745\/CNX_Precalc_Figure_01_04_002ab2.jpg\" alt=\"Explanation of the composite function.\" width=\"975\" height=\"543\" data-media-type=\"image\/jpg\"\/><b>Figure 3<\/b>[\/caption]\n\n<\/div>\n<div id=\"fs-id1165135545946\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n[caption id=\"\" align=\"aligncenter\" width=\"975\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25200747\/CNX_Precalc_Figure_01_04_0042.jpg\" alt=\"Two graphs of a positive parabola (g(x)) and a negative parabola (f(x)). The following points are plotted: g(1)=3 and f(3)=6.\" width=\"975\" height=\"543\" data-media-type=\"image\/jpg\"\/><b>Figure 4<\/b>[\/caption]\n<p id=\"fs-id1165135545948\">To evaluate [latex]f\\left(g\\left(1\\right)\\right)[\/latex], we start with the inside evaluation.<span id=\"fs-id1165137644158\" data-type=\"media\" data-alt=\"Two graphs of a positive parabola (g(x)) and a negative parabola (f(x)). The following points are plotted: g(1)=3 and f(3)=6.\">\n<\/span><\/p>\n<p id=\"fs-id1165137566106\">We evaluate [latex]g\\left(1\\right)[\/latex] using the graph of [latex]g\\left(x\\right)[\/latex], finding the input of 1 on the [latex]x\\text{-}[\/latex] axis and finding the output value of the graph at that input. Here, [latex]g\\left(1\\right)=3[\/latex]. We use this value as the input to the function [latex]f[\/latex].<\/p>\n\n<div id=\"fs-id1165135432881\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]f\\left(g\\left(1\\right)\\right)=f\\left(3\\right)[\/latex]<\/div>\n<p id=\"fs-id1165137831420\">We can then evaluate the composite function by looking to the graph of [latex]f\\left(x\\right)[\/latex], finding the input of 3 on the [latex]x\\text{-}[\/latex] axis and reading the output value of the graph at this input. Here, [latex]f\\left(3\\right)=6[\/latex], so [latex]f\\left(g\\left(1\\right)\\right)=6[\/latex].<\/p>\n\n<\/div>\n<div id=\"fs-id1165135646128\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\nFigure 5\u00a0shows how we can mark the graphs with arrows to trace the path from the input value to the output value.\n\n[caption id=\"\" align=\"aligncenter\" width=\"975\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25200748\/CNX_Precalc_Figure_01_04_0052.jpg\" alt=\"Two graphs of a positive and negative parabola.\" width=\"975\" height=\"520\" data-media-type=\"image\/jpg\"\/><b>Figure 5<\/b>[\/caption]\n\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 4<\/h3>\n<p id=\"fs-id1165137423742\">Using Figure 6, evaluate [latex]g\\left(f\\left(2\\right)\\right)[\/latex].<\/p>\n\n\n[caption id=\"\" align=\"aligncenter\" width=\"975\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25200747\/CNX_Precalc_Figure_01_04_0042.jpg\" alt=\"Two graphs of a positive parabola (g(x)) and a negative parabola (f(x)). The following points are plotted: g(1)=3 and f(3)=6.\" width=\"975\" height=\"543\" data-media-type=\"image\/jpg\"\/><b>Figure 6<\/b>[\/caption]\n\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-3\/\" target=\"_blank\">Solution<\/a>\n\n<\/div>\n<\/section><section id=\"fs-id1165137452389\" data-depth=\"2\"><h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Evaluating Composite Functions Using Formulas<\/span><\/h2>\n<p id=\"fs-id1165137432176\">When evaluating a composite function where we have either created or been given formulas, the rule of working from the inside out remains the same. The input value to the outer function will be the output of the inner function, which may be a numerical value, a variable name, or a more complicated expression.<\/p>\n<p id=\"fs-id1165137567159\">While we can compose the functions for each individual input value, it is sometimes helpful to find a single formula that will calculate the result of a composition [latex]f\\left(g\\left(x\\right)\\right)[\/latex]. To do this, we will extend our idea of function evaluation. Recall that, when we evaluate a function like [latex]f\\left(t\\right)={t}^{2}-t[\/latex], we substitute the value inside the parentheses into the formula wherever we see the input variable.<\/p>\n\n<div id=\"fs-id1165137584280\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137676972\">How To: Given a formula for a composite function, evaluate the function.<strong>\n<\/strong><\/h3>\n<ol id=\"fs-id1165137564125\" data-number-style=\"arabic\"><li>Evaluate the inside function using the input value or variable provided.<\/li>\n\t<li>Use the resulting output as the input to the outside function.<\/li>\n<\/ol><\/div>\n<div id=\"Example_01_04_07\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165134070851\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165134070853\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 7: Evaluating a Composition of Functions Expressed as Formulas with a Numerical Input<\/h3>\n<p id=\"fs-id1165137447886\">Given [latex]f\\left(t\\right)={t}^{2}-{t}[\/latex] and [latex]h\\left(x\\right)=3x+2[\/latex], evaluate [latex]f\\left(h\\left(1\\right)\\right)[\/latex].<\/p>\n\n<\/div>\n<div id=\"fs-id1165135543322\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165135528526\">Because the inside expression is [latex]h\\left(1\\right)[\/latex], we start by evaluating [latex]h\\left(x\\right)[\/latex] at 1.<\/p>\n\n<div id=\"fs-id1165137443116\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}h\\left(1\\right)=3\\left(1\\right)+2\\\\ h\\left(1\\right)=5\\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137445352\">Then [latex]f\\left(h\\left(1\\right)\\right)=f\\left(5\\right)[\/latex], so we evaluate [latex]f\\left(t\\right)[\/latex] at an input of 5.<\/p>\n\n<div id=\"fs-id1165137706989\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}f\\left(h\\left(1\\right)\\right)=f\\left(5\\right)\\\\ f\\left(h\\left(1\\right)\\right)={5}^{2}-5\\\\ f\\left(h\\left(1\\right)\\right)=20\\end{cases}[\/latex]<\/div>\n<\/div>\n<div id=\"fs-id1165137530479\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\n<p id=\"fs-id1165137714335\">It makes no difference what the input variables [latex]t[\/latex] and [latex]x[\/latex] were called in this problem because we evaluated for specific numerical values.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 5<\/h3>\n<p id=\"fs-id1165134544990\">Given [latex]f\\left(t\\right)={t}^{2}-t[\/latex] and [latex]h\\left(x\\right)=3x+2[\/latex], evaluate<\/p>\n<p style=\"padding-left: 60px;\">A) [latex]h\\left(f\\left(2\\right)\\right)[\/latex]<\/p>\n<p style=\"padding-left: 60px;\">B) [latex]h\\left(f\\left(-2\\right)\\right)[\/latex]<\/p>\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-3\/\" target=\"_blank\">Solution<\/a>\n\n<\/div>\n<\/section>","rendered":"<p id=\"fs-id1165135168147\">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<section id=\"fs-id1165137760886\" data-depth=\"2\">\n<h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Evaluating Composite Functions Using Tables<\/span><\/h2>\n<p id=\"fs-id1165137725253\">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<div id=\"Example_01_04_05\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137416770\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137465672\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 5: Using a Table to Evaluate a Composite Function<\/h3>\n<p id=\"fs-id1165135177664\">Using the table below,\u00a0evaluate [latex]f\\left(g\\left(3\\right)\\right)[\/latex] and [latex]g\\left(f\\left(3\\right)\\right)[\/latex].<\/p>\n<table id=\"Table_01_04_01\" summary=\"Five rows and three columns. The first column is labeled,\">\n<colgroup>\n<col data-width=\"55\" data-align=\"center\" \/>\n<col data-width=\"55\" data-align=\"center\" \/>\n<col data-width=\"55\" data-align=\"center\" \/><\/colgroup>\n<thead>\n<tr>\n<th data-align=\"center\">[latex]x[\/latex]<\/th>\n<th data-align=\"center\">[latex]f\\left(x\\right)[\/latex]<\/th>\n<th data-align=\"center\">[latex]g\\left(x\\right)[\/latex]<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td data-align=\"center\">1<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">3<\/td>\n<\/tr>\n<tr>\n<td data-align=\"center\">2<\/td>\n<td data-align=\"center\">8<\/td>\n<td data-align=\"center\">5<\/td>\n<\/tr>\n<tr>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">2<\/td>\n<\/tr>\n<tr>\n<td data-align=\"center\">4<\/td>\n<td data-align=\"center\">1<\/td>\n<td data-align=\"center\">7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div id=\"fs-id1165135582219\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165135582221\">To evaluate [latex]f\\left(g\\left(3\\right)\\right)[\/latex], we start from the inside with the input value 3. We then evaluate the inside expression [latex]g\\left(3\\right)[\/latex] using the table that defines the function [latex]g:[\/latex] [latex]g\\left(3\\right)=2[\/latex]. We can then use that result as the input to the function [latex]f[\/latex], so [latex]g\\left(3\\right)[\/latex] is replaced by 2 and we get [latex]f\\left(2\\right)[\/latex]. Then, using the table that defines the function [latex]f[\/latex], we find that [latex]f\\left(2\\right)=8[\/latex].<\/p>\n<div id=\"fs-id1165137415997\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}g\\left(3\\right)=2\\hfill \\\\ f\\left(g\\left(3\\right)\\right)=f\\left(2\\right)=8\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165134259282\">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\\text{,\\hspace{0.17em}}[\/latex] we can evaluate<\/p>\n<div id=\"fs-id1165137841687\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]g\\left(f\\left(3\\right)\\right)=g\\left(3\\right)=2[\/latex]<\/div>\n<p id=\"fs-id1165134231482\">The table below shows the composite functions [latex]f\\circ g[\/latex] and [latex]g\\circ f[\/latex] as tables.<\/p>\n<table id=\"Table_01_04_02\" 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 data-width=\"60\" data-align=\"center\" \/>\n<col data-width=\"60\" data-align=\"center\" \/>\n<col data-width=\"60\" data-align=\"center\" \/>\n<col data-width=\"60\" data-align=\"center\" \/>\n<col data-width=\"60\" data-align=\"center\" \/><\/colgroup>\n<tbody>\n<tr>\n<td data-align=\"center\">[latex]x[\/latex]<\/td>\n<td data-align=\"center\">[latex]g\\left(x\\right)[\/latex]<\/td>\n<td data-align=\"center\">[latex]f\\left(g\\left(x\\right)\\right)[\/latex]<\/td>\n<td data-align=\"center\">[latex]f\\left(x\\right)[\/latex]<\/td>\n<td data-align=\"center\">[latex]g\\left(f\\left(x\\right)\\right)[\/latex]<\/td>\n<\/tr>\n<tr>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">2<\/td>\n<td data-align=\"center\">8<\/td>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3 id=\"fs-id1165134297603\">Try It 3<\/h3>\n<p>Using the table below, evaluate [latex]f\\left(g\\left(1\\right)\\right)[\/latex] and [latex]g\\left(f\\left(4\\right)\\right)[\/latex].<\/p>\n<table summary=\"Five rows and three columns. The first column is labeled,\">\n<colgroup>\n<col data-width=\"55\" data-align=\"center\" \/>\n<col data-width=\"55\" data-align=\"center\" \/>\n<col data-width=\"55\" data-align=\"center\" \/><\/colgroup>\n<thead>\n<tr>\n<th data-align=\"center\">[latex]x[\/latex]<\/th>\n<th data-align=\"center\">[latex]f\\left(x\\right)[\/latex]<\/th>\n<th data-align=\"center\">[latex]g\\left(x\\right)[\/latex]<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td data-align=\"center\">1<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">3<\/td>\n<\/tr>\n<tr>\n<td data-align=\"center\">2<\/td>\n<td data-align=\"center\">8<\/td>\n<td data-align=\"center\">5<\/td>\n<\/tr>\n<tr>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">2<\/td>\n<\/tr>\n<tr>\n<td data-align=\"center\">4<\/td>\n<td data-align=\"center\">1<\/td>\n<td data-align=\"center\">7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-3\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<\/section>\n<section id=\"fs-id1165137756068\" data-depth=\"2\">\n<h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Evaluating Composite Functions Using Graphs<\/span><\/h2>\n<p id=\"fs-id1165137428192\">When we are given individual functions as graphs, the procedure for evaluating composite functions is similar to the process we use for evaluating tables. We read the input and output values, but this time, from the [latex]x\\text{-}[\/latex] and [latex]y\\text{-}[\/latex] axes of the graphs.<\/p>\n<div id=\"fs-id1165137634364\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137660530\">How To: Given a composite function and graphs of its individual functions, evaluate it using the information provided by the graphs.<strong><br \/>\n<\/strong><\/h3>\n<ol id=\"fs-id1165133248553\" data-number-style=\"arabic\">\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<\/div>\n<div id=\"fs-id1165137758196\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 6: Using a Graph to Evaluate a Composite Function<\/h3>\n<p>Using the graphs in Figure 3, evaluate [latex]f\\left(g\\left(1\\right)\\right)[\/latex].<\/p>\n<div style=\"width: 985px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25200745\/CNX_Precalc_Figure_01_04_002ab2.jpg\" alt=\"Explanation of the composite function.\" width=\"975\" height=\"543\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 3<\/b><\/p>\n<\/div>\n<\/div>\n<div id=\"fs-id1165135545946\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<div style=\"width: 985px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25200747\/CNX_Precalc_Figure_01_04_0042.jpg\" alt=\"Two graphs of a positive parabola (g(x)) and a negative parabola (f(x)). The following points are plotted: g(1)=3 and f(3)=6.\" width=\"975\" height=\"543\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 4<\/b><\/p>\n<\/div>\n<p id=\"fs-id1165135545948\">To evaluate [latex]f\\left(g\\left(1\\right)\\right)[\/latex], we start with the inside evaluation.<span id=\"fs-id1165137644158\" data-type=\"media\" data-alt=\"Two graphs of a positive parabola (g(x)) and a negative parabola (f(x)). The following points are plotted: g(1)=3 and f(3)=6.\"><br \/>\n<\/span><\/p>\n<p id=\"fs-id1165137566106\">We evaluate [latex]g\\left(1\\right)[\/latex] using the graph of [latex]g\\left(x\\right)[\/latex], finding the input of 1 on the [latex]x\\text{-}[\/latex] axis and finding the output value of the graph at that input. Here, [latex]g\\left(1\\right)=3[\/latex]. We use this value as the input to the function [latex]f[\/latex].<\/p>\n<div id=\"fs-id1165135432881\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]f\\left(g\\left(1\\right)\\right)=f\\left(3\\right)[\/latex]<\/div>\n<p id=\"fs-id1165137831420\">We can then evaluate the composite function by looking to the graph of [latex]f\\left(x\\right)[\/latex], finding the input of 3 on the [latex]x\\text{-}[\/latex] axis and reading the output value of the graph at this input. Here, [latex]f\\left(3\\right)=6[\/latex], so [latex]f\\left(g\\left(1\\right)\\right)=6[\/latex].<\/p>\n<\/div>\n<div id=\"fs-id1165135646128\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\n<p>Figure 5\u00a0shows how we can mark the graphs with arrows to trace the path from the input value to the output value.<\/p>\n<div style=\"width: 985px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25200748\/CNX_Precalc_Figure_01_04_0052.jpg\" alt=\"Two graphs of a positive and negative parabola.\" width=\"975\" height=\"520\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 5<\/b><\/p>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 4<\/h3>\n<p id=\"fs-id1165137423742\">Using Figure 6, evaluate [latex]g\\left(f\\left(2\\right)\\right)[\/latex].<\/p>\n<div style=\"width: 985px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25200747\/CNX_Precalc_Figure_01_04_0042.jpg\" alt=\"Two graphs of a positive parabola (g(x)) and a negative parabola (f(x)). The following points are plotted: g(1)=3 and f(3)=6.\" width=\"975\" height=\"543\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 6<\/b><\/p>\n<\/div>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-3\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<\/section>\n<section id=\"fs-id1165137452389\" data-depth=\"2\">\n<h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Evaluating Composite Functions Using Formulas<\/span><\/h2>\n<p id=\"fs-id1165137432176\">When evaluating a composite function where we have either created or been given formulas, the rule of working from the inside out remains the same. The input value to the outer function will be the output of the inner function, which may be a numerical value, a variable name, or a more complicated expression.<\/p>\n<p id=\"fs-id1165137567159\">While we can compose the functions for each individual input value, it is sometimes helpful to find a single formula that will calculate the result of a composition [latex]f\\left(g\\left(x\\right)\\right)[\/latex]. To do this, we will extend our idea of function evaluation. Recall that, when we evaluate a function like [latex]f\\left(t\\right)={t}^{2}-t[\/latex], we substitute the value inside the parentheses into the formula wherever we see the input variable.<\/p>\n<div id=\"fs-id1165137584280\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137676972\">How To: Given a formula for a composite function, evaluate the function.<strong><br \/>\n<\/strong><\/h3>\n<ol id=\"fs-id1165137564125\" data-number-style=\"arabic\">\n<li>Evaluate the inside function using the input value or variable provided.<\/li>\n<li>Use the resulting output as the input to the outside function.<\/li>\n<\/ol>\n<\/div>\n<div id=\"Example_01_04_07\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165134070851\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165134070853\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 7: Evaluating a Composition of Functions Expressed as Formulas with a Numerical Input<\/h3>\n<p id=\"fs-id1165137447886\">Given [latex]f\\left(t\\right)={t}^{2}-{t}[\/latex] and [latex]h\\left(x\\right)=3x+2[\/latex], evaluate [latex]f\\left(h\\left(1\\right)\\right)[\/latex].<\/p>\n<\/div>\n<div id=\"fs-id1165135543322\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165135528526\">Because the inside expression is [latex]h\\left(1\\right)[\/latex], we start by evaluating [latex]h\\left(x\\right)[\/latex] at 1.<\/p>\n<div id=\"fs-id1165137443116\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}h\\left(1\\right)=3\\left(1\\right)+2\\\\ h\\left(1\\right)=5\\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137445352\">Then [latex]f\\left(h\\left(1\\right)\\right)=f\\left(5\\right)[\/latex], so we evaluate [latex]f\\left(t\\right)[\/latex] at an input of 5.<\/p>\n<div id=\"fs-id1165137706989\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}f\\left(h\\left(1\\right)\\right)=f\\left(5\\right)\\\\ f\\left(h\\left(1\\right)\\right)={5}^{2}-5\\\\ f\\left(h\\left(1\\right)\\right)=20\\end{cases}[\/latex]<\/div>\n<\/div>\n<div id=\"fs-id1165137530479\" class=\"commentary\" data-type=\"commentary\">\n<h3 data-type=\"title\">Analysis of the Solution<\/h3>\n<p id=\"fs-id1165137714335\">It makes no difference what the input variables [latex]t[\/latex] and [latex]x[\/latex] were called in this problem because we evaluated for specific numerical values.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 5<\/h3>\n<p id=\"fs-id1165134544990\">Given [latex]f\\left(t\\right)={t}^{2}-t[\/latex] and [latex]h\\left(x\\right)=3x+2[\/latex], evaluate<\/p>\n<p style=\"padding-left: 60px;\">A) [latex]h\\left(f\\left(2\\right)\\right)[\/latex]<\/p>\n<p style=\"padding-left: 60px;\">B) [latex]h\\left(f\\left(-2\\right)\\right)[\/latex]<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions-3\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<\/section>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-910\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Precalculus. <strong>Authored by<\/strong>: Jay Abramson, et al.. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\">http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.<\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":276,"menu_order":4,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Precalculus\",\"author\":\"Jay Abramson, et al.\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-910","chapter","type-chapter","status-publish","hentry"],"part":901,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/users\/276"}],"version-history":[{"count":1,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/910\/revisions"}],"predecessor-version":[{"id":2493,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/910\/revisions\/2493"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/parts\/901"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/910\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/media?parent=910"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=910"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/contributor?post=910"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/license?post=910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}