{"id":13679,"date":"2018-08-23T21:37:09","date_gmt":"2018-08-23T21:37:09","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/precalcone\/?post_type=chapter&#038;p=13679"},"modified":"2021-10-14T22:10:42","modified_gmt":"2021-10-14T22:10:42","slug":"rates-of-change-and-behavior-of-graphs","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/chapter\/rates-of-change-and-behavior-of-graphs\/","title":{"raw":"Walkthrough of Unit 3: Rates of Change and Behavior of Graphs and Composition of Functions","rendered":"Walkthrough of Unit 3: Rates of Change and Behavior of Graphs and Composition of Functions"},"content":{"raw":"<div class=\"bcc-box bcc-highlight\">\r\n<h3>Learning Outcomes<\/h3>\r\n<ul>\r\n \t<li>Find the average rate of change of a function.<\/li>\r\n \t<li>Use a graph to determine where a function is increasing, decreasing, or constant.<\/li>\r\n \t<li>Use a graph to locate local and absolute maxima and local minima.<\/li>\r\n \t<li>Combine functions using algebraic operations.<\/li>\r\n \t<li>Create a new function by composition of functions.<\/li>\r\n \t<li>Evaluate composite functions.<\/li>\r\n \t<li>Find the domain of a composite function.<\/li>\r\n \t<li>Decompose a composite function into its component functions.<\/li>\r\n<\/ul>\r\n<\/div>\r\n<h1>Rates of Change<\/h1>\r\n<p id=\"fs-id1165135194500\">Gasoline costs have experienced some wild fluctuations over the last several decades. The table below[footnote]http:\/\/www.eia.gov\/totalenergy\/data\/annual\/showtext.cfm?t=ptb0524. Accessed 3\/5\/2014.[\/footnote]\u00a0lists the average cost, in dollars, of a gallon of gasoline for the years 2005\u20132012. The cost of gasoline can be considered as a function of year.<\/p>\r\n\r\n<table summary=\"Two rows and nine columns. The first row is labeled, \"><colgroup> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/><\/colgroup>\r\n<tbody>\r\n<tr>\r\n<td><strong>[latex]y[\/latex]<\/strong><\/td>\r\n<td>2005<\/td>\r\n<td>2006<\/td>\r\n<td>2007<\/td>\r\n<td>2008<\/td>\r\n<td>2009<\/td>\r\n<td>2010<\/td>\r\n<td>2011<\/td>\r\n<td>2012<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>[latex]C\\left(y\\right)[\/latex]<\/strong><\/td>\r\n<td>2.31<\/td>\r\n<td>2.62<\/td>\r\n<td>2.84<\/td>\r\n<td>3.30<\/td>\r\n<td>2.41<\/td>\r\n<td>2.84<\/td>\r\n<td>3.58<\/td>\r\n<td>3.68<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p id=\"fs-id1165133097252\">If we were interested only in how the gasoline prices changed between 2005 and 2012, we could compute that the cost per gallon had increased from $2.31 to $3.68, an increase of $1.37. While this is interesting, it might be more useful to look at how much the price changed <em>per year<\/em>. In this section, we will investigate changes such as these.<\/p>\r\n\r\n<h2>Finding the Average Rate of Change of a Function<\/h2>\r\n<p id=\"fs-id1165137834011\">The price change per year is a <strong>rate of change<\/strong> because it describes how an output quantity changes relative to the change in the input quantity. We can see that the price of gasoline in\u00a0the table above\u00a0did not change by the same amount each year, so the rate of change was not constant. If we use only the beginning and ending data, we would be finding the <strong>average rate of change<\/strong> over the specified period of time. To find the average rate of change, we divide the change in the output value by the change in the input value.<\/p>\r\n\r\n<div id=\"fs-id1165135452482\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{align}\\text{Average rate of change}&amp;=\\frac{\\text{Change in output}}{\\text{Change in input}} \\\\[1mm] &amp;=\\frac{\\Delta y}{\\Delta x} \\\\[1mm] &amp;= \\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}} \\\\[1mm] &amp;= \\frac{f\\left({x}_{2}\\right)-f\\left({x}_{1}\\right)}{{x}_{2}-{x}_{1}}\\end{align}[\/latex]<\/div>\r\n<p id=\"fs-id1165135471272\">The Greek letter [latex]\\Delta [\/latex] (delta) signifies the change in a quantity; we read the ratio as \"delta-<em>y<\/em> over delta-<em>x<\/em>\" or \"the change in [latex]y[\/latex] divided by the change in [latex]x[\/latex].\" Occasionally we write [latex]\\Delta f[\/latex] instead of [latex]\\Delta y[\/latex], which still represents the change in the function\u2019s output value resulting from a change to its input value. It does not mean we are changing the function into some other function.<\/p>\r\n<p id=\"fs-id1165137539940\">In our example, the gasoline price increased by $1.37 from 2005 to 2012. Over 7 years, the average rate of change was<\/p>\r\n\r\n<div id=\"fs-id1165137526960\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{\\Delta y}{\\Delta x}=\\frac{{1.37}}{\\text{7 years}}\\approx 0.196\\text{ dollars per year}[\/latex]<\/div>\r\n<p id=\"fs-id1165137418924\">On average, the price of gas increased by about 19.6\u00a2 each year.<\/p>\r\n<p id=\"fs-id1165135397217\">Other examples of rates of change include:<\/p>\r\n\r\n<ul id=\"fs-id1165137424067\">\r\n \t<li>A population of rats increasing by 40 rats per week<\/li>\r\n \t<li>A car traveling 68 miles per hour (distance traveled changes by 68 miles each hour as time passes)<\/li>\r\n \t<li>A car driving 27 miles per gallon (distance traveled changes by 27 miles for each gallon)<\/li>\r\n \t<li>The current through an electrical circuit increasing by 0.125 amperes for every volt of increased voltage<\/li>\r\n \t<li>The amount of money in a college account decreasing by $4,000 per quarter<\/li>\r\n<\/ul>\r\n<div class=\"textbox\">\r\n<h3 class=\"title\">A General Note: Rate of Change<\/h3>\r\n<p id=\"fs-id1165137780744\">A rate of change describes how an output quantity changes relative to the change in the input quantity. The units on a rate of change are \"output units per input units.\"<\/p>\r\n<p id=\"fs-id1165137544638\">The average rate of change between two input values is the total change of the function values (output values) divided by the change in the input values.<\/p>\r\n\r\n<div id=\"fs-id1165134060431\" class=\"equation\" style=\"text-align: center;\">[latex]\\frac{\\Delta y}{\\Delta x}=\\frac{f\\left({x}_{2}\\right)-f\\left({x}_{1}\\right)}{{x}_{2}-{x}_{1}}[\/latex]<\/div>\r\n<\/div>\r\n<div id=\"fs-id1165135530407\" class=\"note precalculus howto textbox\">\r\n<h3 id=\"fs-id1165137762240\">How To: Given the value of a function at different points, calculate the average rate of change of a function for the interval between two values [latex]{x}_{1}[\/latex] and [latex]{x}_{2}[\/latex].<\/h3>\r\n<ol id=\"fs-id1165137442714\">\r\n \t<li>Calculate the difference [latex]{y}_{2}-{y}_{1}=\\Delta y[\/latex].<\/li>\r\n \t<li>Calculate the difference [latex]{x}_{2}-{x}_{1}=\\Delta x[\/latex].<\/li>\r\n \t<li>Find the ratio [latex]\\frac{\\Delta y}{\\Delta x}[\/latex].<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div id=\"Example_01_03_01\" class=\"example\">\r\n<div id=\"fs-id1165135485962\" class=\"exercise\">\r\n<div id=\"fs-id1165137464225\" class=\"problem textbox shaded\">\r\n<h3>Example 1: Computing an Average Rate of Change<\/h3>\r\n<p id=\"fs-id1165137603118\">Using the data in the table below, find the average rate of change of the price of gasoline between 2007 and 2009.<\/p>\r\n\r\n<table summary=\"Two rows and nine columns. The first row is labeled, \"><colgroup> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/><\/colgroup>\r\n<tbody>\r\n<tr>\r\n<td><strong>[latex]y[\/latex]<\/strong><\/td>\r\n<td>2005<\/td>\r\n<td>2006<\/td>\r\n<td>2007<\/td>\r\n<td>2008<\/td>\r\n<td>2009<\/td>\r\n<td>2010<\/td>\r\n<td>2011<\/td>\r\n<td>2012<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>[latex]C\\left(y\\right)[\/latex]<\/strong><\/td>\r\n<td>2.31<\/td>\r\n<td>2.62<\/td>\r\n<td>2.84<\/td>\r\n<td>3.30<\/td>\r\n<td>2.41<\/td>\r\n<td>2.84<\/td>\r\n<td>3.58<\/td>\r\n<td>3.68<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[reveal-answer q=\"562005\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"562005\"]\r\n<p id=\"fs-id1165135209401\">In 2007, the price of gasoline was $2.84. In 2009, the cost was $2.41. The average rate of change is<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{align}\\frac{\\Delta y}{\\Delta x}&amp;=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}} \\\\[1mm] &amp;=\\frac{2.41-2.84}{2009 - 2007} \\\\[1mm] &amp;=\\frac{-0.43}{2\\text{ years}} \\\\[1mm] &amp;={-0.22}\\text{ per year}\\end{align}[\/latex]<\/p>\r\n\r\n<h4>Analysis of the Solution<\/h4>\r\n<p id=\"fs-id1165137784092\">Note that a decrease is expressed by a negative change or \"negative increase.\" A rate of change is negative when the output decreases as the input increases or when the output increases as the input decreases.<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nThe following video provides another example of how to find the average rate of change between two points from a table of values.\r\n\r\nhttps:\/\/www.youtube.com\/watch?v=iJ_0nPUUlOg&amp;feature=youtu.be\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\n<p id=\"fs-id1165135160759\">Using the data in the table below,\u00a0find the average rate of change between 2005 and 2010.<\/p>\r\n\r\n<table summary=\"Two rows and nine columns. The first row is labeled, \">\r\n<tbody>\r\n<tr>\r\n<td><strong>[latex]y[\/latex]<\/strong><\/td>\r\n<td>2005<\/td>\r\n<td>2006<\/td>\r\n<td>2007<\/td>\r\n<td>2008<\/td>\r\n<td>2009<\/td>\r\n<td>2010<\/td>\r\n<td>2011<\/td>\r\n<td>2012<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong>[latex]C\\left(y\\right)[\/latex]<\/strong><\/td>\r\n<td>2.31<\/td>\r\n<td>2.62<\/td>\r\n<td>2.84<\/td>\r\n<td>3.30<\/td>\r\n<td>2.41<\/td>\r\n<td>2.84<\/td>\r\n<td>3.58<\/td>\r\n<td>3.68<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[reveal-answer q=\"175600\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"175600\"]\r\n\r\n[latex]\\dfrac{$2.84-$2.31}{5\\text{ years}}=\\dfrac{$0.53}{5\\text{ years}}=$0.106[\/latex] per year.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div id=\"Example_01_03_02\" class=\"example\">\r\n<div id=\"fs-id1165137851963\" class=\"exercise\">\r\n<div id=\"fs-id1165137437853\" class=\"problem textbox shaded\">\r\n<h3>Example 2: Computing Average Rate of Change from a Graph<\/h3>\r\nGiven the function [latex]g\\left(t\\right)[\/latex] shown in Figure 1, find the average rate of change on the interval [latex]\\left[-1,2\\right][\/latex].\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010553\/CNX_Precalc_Figure_01_03_0012.jpg\" alt=\"Graph of a parabola.\" width=\"487\" height=\"295\" \/> <b>Figure 1<\/b>[\/caption]\r\n\r\n[reveal-answer q=\"806109\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"806109\"]\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010553\/CNX_Precalc_Figure_01_03_0022.jpg\" alt=\"Graph of a parabola with a line from points (-1, 4) and (2, 1) to show the changes for g(t) and t.\" width=\"487\" height=\"296\" \/> <b>Figure 2<\/b>[\/caption]\r\n\r\nAt [latex]t=-1[\/latex], the graph\u00a0shows [latex]g\\left(-1\\right)=4[\/latex]. At [latex]t=2[\/latex], the graph shows [latex]g\\left(2\\right)=1[\/latex].<span id=\"fs-id1165137387448\">\r\n<\/span>\r\n<p id=\"fs-id1165137591169\">The horizontal change [latex]\\Delta t=3[\/latex] is shown by the red arrow, and the vertical change [latex]\\Delta g\\left(t\\right)=-3[\/latex] is shown by the turquoise arrow. The output changes by \u20133 while the input changes by 3, giving an average rate of change of<\/p>\r\n<p style=\"text-align: center;\">[latex]\\frac{1 - 4}{2-\\left(-1\\right)}=\\frac{-3}{3}=-1[\/latex]<\/p>\r\n\r\n<h4>Analysis of the Solution<\/h4>\r\n<p id=\"fs-id1165135538482\">Note that the order we choose is very important. If, for example, we use [latex]\\frac{{y}_{2}-{y}_{1}}{{x}_{1}-{x}_{2}}[\/latex], we will not get the correct answer. Decide which point will be 1 and which point will be 2, and keep the coordinates fixed as [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex] and [latex]\\left({x}_{2},{y}_{2}\\right)[\/latex].<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"Example_01_03_03\" class=\"example\">\r\n<div id=\"fs-id1165135536188\" class=\"exercise\">\r\n<div id=\"fs-id1165137835656\" class=\"problem textbox shaded\">\r\n<h3>Example 3: Computing Average Rate of Change from a Table<\/h3>\r\n<p id=\"fs-id1165135515898\">After picking up a friend who lives 10 miles away, Anna records her distance from home over time. The values are shown in the table below.\u00a0Find her average speed over the first 6 hours.<\/p>\r\n\r\n<table id=\"Table_01_03_02\" summary=\"Two rows and nine columns. The first row is labeled, \"><colgroup> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/> <col \/><\/colgroup>\r\n<tbody>\r\n<tr>\r\n<td><strong><em>t<\/em> (hours)<\/strong><\/td>\r\n<td>0<\/td>\r\n<td>1<\/td>\r\n<td>2<\/td>\r\n<td>3<\/td>\r\n<td>4<\/td>\r\n<td>5<\/td>\r\n<td>6<\/td>\r\n<td>7<\/td>\r\n<\/tr>\r\n<tr>\r\n<td><strong><em>D<\/em>(<em>t<\/em>) (miles)<\/strong><\/td>\r\n<td>10<\/td>\r\n<td>55<\/td>\r\n<td>90<\/td>\r\n<td>153<\/td>\r\n<td>214<\/td>\r\n<td>240<\/td>\r\n<td>292<\/td>\r\n<td>300<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[reveal-answer q=\"566859\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"566859\"]\r\n<p id=\"fs-id1165137891478\">Here, the average speed is the average rate of change. She traveled 282 miles in 6 hours, for an average speed of<\/p>\r\n<p style=\"text-align: center;\">[latex]\\frac{292 - 10}{6 - 0} =\\frac{282}{6} =47[\/latex]<\/p>\r\n<p id=\"fs-id1165135400200\">The average speed is 47 miles per hour.<\/p>\r\n\r\n<h4>Analysis of the Solution<\/h4>\r\n<p id=\"fs-id1165137731074\">Because the speed is not constant, the average speed depends on the interval chosen. For the interval [2,3], the average speed is 63 miles per hour.<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"Example_01_03_04\" class=\"example\">\r\n<div id=\"fs-id1165135353057\" class=\"exercise\">\r\n<div id=\"fs-id1165135383644\" class=\"problem textbox shaded\">\r\n<h3>Example 4: Computing Average Rate of Change for a Function Expressed as a Formula<\/h3>\r\n<p id=\"fs-id1165131958324\">Compute the average rate of change of [latex]f\\left(x\\right)={x}^{2}-\\frac{1}{x}[\/latex] on the interval [latex]\\text{[2,}\\text{4].}[\/latex]<\/p>\r\n[reveal-answer q=\"222718\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"222718\"]\r\n<p id=\"fs-id1165137595441\">We can start by computing the function values at each <strong>endpoint<\/strong> of the interval.<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{align}f\\left(2\\right)&amp;={2}^{2}-\\frac{1}{2} &amp;&amp;&amp; f\\left(4\\right)&amp;={4}^{2}-\\frac{1}{4} \\\\ &amp;=4-\\frac{1}{2} &amp;&amp;&amp;&amp; =16-\\frac{1}{4} \\\\ &amp;=\\frac{7}{2} &amp;&amp;&amp;&amp; =\\frac{63}{4} \\end{align}[\/latex]<\/p>\r\n<p id=\"fs-id1165137427523\">Now we compute the average rate of change.<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{align}\\text{Average rate of change}&amp;=\\frac{f\\left(4\\right)-f\\left(2\\right)}{4 - 2} \\\\[1mm] &amp;=\\frac{\\frac{63}{4}-\\frac{7}{2}}{4 - 2} \\\\[1mm] &amp;=\\frac{\\frac{49}{4}}{2} \\\\[1mm] &amp;=\\frac{49}{8} \\end{align}[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\nThe following video provides another example of finding the average rate of change of a function given a formula and an interval.\r\n\r\nhttps:\/\/www.youtube.com\/watch?v=g93QEKJXeu4&amp;feature=youtu.be\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\n<p id=\"fs-id1165137832324\">Find the average rate of change of [latex]f\\left(x\\right)=x - 2\\sqrt{x}[\/latex] on the interval [latex]\\left[1,9\\right][\/latex].<\/p>\r\n[reveal-answer q=\"191250\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"191250\"]\r\n\r\n[latex]\\frac{1}{2}[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\n[ohm_question hide_question_numbers=1]165703[\/ohm_question]\r\n\r\n<\/div>\r\n<div id=\"Example_01_03_05\" class=\"example\">\r\n<div id=\"fs-id1165137772170\" class=\"exercise\">\r\n<div id=\"fs-id1165137772173\" class=\"problem textbox shaded\">\r\n<h3>Example 5: Finding the Average Rate of Change of a Force<\/h3>\r\n<p id=\"fs-id1165135443718\">The <strong>electrostatic force<\/strong> [latex]F[\/latex], measured in newtons, between two charged particles can be related to the distance between the particles [latex]d[\/latex], in centimeters, by the formula [latex]F\\left(d\\right)=\\frac{2}{{d}^{2}}[\/latex]. Find the average rate of change of force if the distance between the particles is increased from 2 cm to 6 cm.<\/p>\r\n[reveal-answer q=\"271117\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"271117\"]\r\n<p id=\"fs-id1165137770364\">We are computing the average rate of change of [latex]F\\left(d\\right)=\\frac{2}{{d}^{2}}[\/latex] on the interval [latex]\\left[2,6\\right][\/latex].<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{align}\\text{Average rate of change }&amp;=\\frac{F\\left(6\\right)-F\\left(2\\right)}{6 - 2} \\\\[1mm] &amp;=\\frac{\\frac{2}{{6}^{2}}-\\frac{2}{{2}^{2}}}{6 - 2} &amp;&amp; \\text{Simplify}. \\\\[1mm] &amp;=\\frac{\\frac{2}{36}-\\frac{2}{4}}{4} \\\\[1mm] &amp;=\\frac{-\\frac{16}{36}}{4} &amp;&amp;\\text{Combine numerator terms}. \\\\[1mm] &amp;=-\\frac{1}{9}&amp;&amp;\\text{Simplify}\\end{align}[\/latex]<\/p>\r\n<p id=\"fs-id1165135543242\">The average rate of change is [latex]-\\frac{1}{9}[\/latex] newton per centimeter.<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"Example_01_03_06\" class=\"example\">\r\n<div id=\"fs-id1165135174952\" class=\"exercise\">\r\n<div id=\"fs-id1165135174954\" class=\"problem textbox shaded\">\r\n<h3>Example 6: Finding an Average Rate of Change as an Expression<\/h3>\r\n<p id=\"fs-id1165135155397\">Find the average rate of change of [latex]g\\left(t\\right)={t}^{2}+3t+1[\/latex] on the interval [latex]\\left[0,a\\right][\/latex]. The answer will be an expression involving [latex]a[\/latex].<\/p>\r\n[reveal-answer q=\"138559\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"138559\"]\r\n<p id=\"fs-id1165137418913\">We use the average rate of change formula.<\/p>\r\n<p style=\"text-align: center;\">\u200b[latex]\\begin{align}\\text{Average rate of change}&amp;=\\frac{g\\left(a\\right)-g\\left(0\\right)}{a - 0}&amp;&amp;\\text{Evaluate} \\\\[1mm] &amp;\u200b=\\frac{\\left({a}^{2}+3a+1\\right)-\\left({0}^{2}+3\\left(0\\right)+1\\right)}{a - 0}&amp;&amp;\\text{Simplify}\u200b \\\\[1mm] &amp;=\\frac{{a}^{2}+3a+1 - 1}{a}&amp;&amp;\\text{Simplify and factor}\u200b \\\\[1mm] &amp;=\\frac{a\\left(a+3\\right)}{a}&amp;&amp;\\text{Divide by the common factor }a\u200b \\\\[1mm] &amp;=a+3 \\end{align}[\/latex]<\/p>\r\n<p id=\"fs-id1165133316469\">This result tells us the average rate of change in terms of [latex]a[\/latex] between [latex]t=0[\/latex] and any other point [latex]t=a[\/latex]. For example, on the interval [latex]\\left[0,5\\right][\/latex], the average rate of change would be [latex]5+3=8[\/latex].<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\n<p id=\"fs-id1165134149846\">Find the average rate of change of [latex]f\\left(x\\right)={x}^{2}+2x - 8[\/latex] on the interval [latex]\\left[5,a\\right][\/latex].<\/p>\r\n[reveal-answer q=\"944512\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"944512\"]\r\n\r\n[latex]a+7[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<p id=\"fs-id1165137784644\">As part of exploring how functions change, we can identify intervals over which the function is changing in specific ways. We say that a function is increasing on an interval if the function values increase as the input values increase within that interval. Similarly, a function is decreasing on an interval if the function values decrease as the input values increase over that interval. The average rate of change of an increasing function is positive, and the average rate of change of a decreasing function is negative. Figure 3\u00a0shows examples of increasing and decreasing intervals on a function.<\/p>\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010554\/CNX_Precalc_Figure_01_03_0042.jpg\" alt=\"Graph of a polynomial that shows the increasing and decreasing intervals and local maximum and minimum.\" width=\"487\" height=\"518\" \/>\r\n<p style=\"text-align: center;\"><strong>Figure 3.<\/strong> The function [latex]f\\left(x\\right)={x}^{3}-12x[\/latex] is increasing on [latex]\\left(-\\infty \\text{,}-\\text{2}\\right){{\\cup }^{\\text{ }}}^{\\text{ }}\\left(2,\\infty \\right)[\/latex] and is decreasing on [latex]\\left(-2\\text{,}2\\right)[\/latex].<\/p>\r\nThis video further explains how to find where a function is increasing or decreasing.\r\n\r\nhttps:\/\/www.youtube.com\/watch?v=78b4HOMVcKM\r\n<p id=\"fs-id1165134272749\">While some functions are increasing (or decreasing) over their entire domain, many others are not. A value of the input where a function changes from increasing to decreasing (as we go from left to right, that is, as the input variable increases) is called a <strong>local maximum<\/strong>. If a function has more than one, we say it has local maxima. Similarly, a value of the input where a function changes from decreasing to increasing as the input variable increases is called a <strong>local minimum<\/strong>. The plural form is \"local minima.\" Together, local maxima and minima are called <strong>local extrema<\/strong>, or local extreme values, of the function. (The singular form is \"extremum.\") Often, the term <em>local<\/em> is replaced by the term <em>relative<\/em>. In this text, we will use the term <em>local<\/em>.<\/p>\r\n<p id=\"fs-id1165134547216\">Clearly, a function is neither increasing nor decreasing on an interval where it is constant. A function is also neither increasing nor decreasing at extrema. Note that we have to speak of <em>local<\/em> extrema, because any given local extremum as defined here is not necessarily the highest maximum or lowest minimum in the function\u2019s entire domain.<\/p>\r\nFor the function in Figure 4, the local maximum is 16, and it occurs at [latex]x=-2[\/latex]. The local minimum is [latex]-16[\/latex] and it occurs at [latex]x=2[\/latex].\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"731\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010554\/CNX_Precalc_Figure_01_03_0142.jpg\" alt=\"Graph of a polynomial that shows the increasing and decreasing intervals and local maximum and minimum. The local maximum is 16 and occurs at x = negative 2. This is the point negative 2, 16. The local minimum is negative 16 and occurs at x = 2. This is the point 2, negative 16.\" width=\"731\" height=\"467\" \/> <strong>Figure 4<\/strong>[\/caption]\r\n<p id=\"fs-id1165133316450\">To locate the local maxima and minima from a graph, we need to observe the graph to determine where the graph attains its highest and lowest points, respectively, within an open interval. Like the summit of a roller coaster, the graph of a function is higher at a local maximum than at nearby points on both sides. The graph will also be lower at a local minimum than at neighboring points. Figure 5\u00a0illustrates these ideas for a local maximum.<\/p>\r\n\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010554\/CNX_Precalc_Figure_01_03_0052.jpg\" alt=\"Graph of a polynomial that shows the increasing and decreasing intervals and local maximum.\" width=\"487\" height=\"295\" \/> <strong>Figure 5.<\/strong> Definition of a local maximum.[\/caption]\r\n<p id=\"eip-673\">These observations lead us to a formal definition of local extrema.<\/p>\r\n\r\n<div id=\"fs-id1165134169419\" class=\"note textbox\">\r\n<h3 class=\"title\">A General Note: Local Minima and Local Maxima<\/h3>\r\n<p id=\"fs-id1165134169426\">A function [latex]f[\/latex] is an <strong>increasing function<\/strong> on an open interval if [latex]f\\left(b\\right)&gt;f\\left(a\\right)[\/latex] for any two input values [latex]a[\/latex] and [latex]b[\/latex] in the given interval where [latex]b&gt;a[\/latex].<\/p>\r\n<p id=\"fs-id1165137668624\">A function [latex]f[\/latex] is a <strong>decreasing function<\/strong> on an open interval if [latex]f\\left(b\\right)&lt;f\\left(a\\right)[\/latex] for any two input values [latex]a[\/latex] and [latex]b[\/latex] in the given interval where [latex]b&gt;a[\/latex].<\/p>\r\n<p id=\"fs-id1165135389881\">A function [latex]f[\/latex] has a local maximum at [latex]x=b[\/latex] if there exists an interval [latex]\\left(a,c\\right)[\/latex] with [latex]a&lt;b&lt;c[\/latex] such that, for any [latex]x[\/latex] in the interval [latex]\\left(a,c\\right)[\/latex], [latex]f\\left(x\\right)\\le f\\left(b\\right)[\/latex]. Likewise, [latex]f[\/latex] has a local minimum at [latex]x=b[\/latex] if there exists an interval [latex]\\left(a,c\\right)[\/latex] with [latex]a&lt;b&lt;c[\/latex] such that, for any [latex]x[\/latex] in the interval [latex]\\left(a,c\\right)[\/latex], [latex]f\\left(x\\right)\\ge f\\left(b\\right)[\/latex].<\/p>\r\n\r\n<\/div>\r\n<div id=\"Example_01_03_07\" class=\"example\">\r\n<div id=\"fs-id1165134266716\" class=\"exercise\">\r\n<div id=\"fs-id1165134266718\" class=\"problem textbox shaded\">\r\n<h3>Example 7: Finding Increasing and Decreasing Intervals on a Graph<\/h3>\r\nGiven the function [latex]p\\left(t\\right)[\/latex] in the graph below, identify the intervals on which the function appears to be increasing.\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010554\/CNX_Precalc_Figure_01_03_0062.jpg\" alt=\"Graph of a polynomial. As x gets large in the negative direction, the outputs of the function get large in the positive direction. As inputs approach 1, then the function value approaches a minimum of negative one. As x approaches 3, the values increase again and between 3 and 4 decrease one last time. As x gets large in the positive direction, the function values increase without bound.\" width=\"487\" height=\"295\" \/> <strong>Figure 6<\/strong>[\/caption]\r\n\r\n[reveal-answer q=\"331055\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"331055\"]\r\n<p id=\"fs-id1165133067197\">We see that the function is not constant on any interval. The function is increasing where it slants upward as we move to the right and decreasing where it slants downward as we move to the right. The function appears to be increasing from [latex]t=1[\/latex] to [latex]t=3[\/latex] and from [latex]t=4[\/latex] on.<\/p>\r\n<p id=\"fs-id1165135369127\">In <strong>interval notation<\/strong>, we would say the function appears to be increasing on the interval (1,3) and the interval [latex]\\left(4,\\infty \\right)[\/latex].<\/p>\r\n\r\n<h4>Analysis of the Solution<\/h4>\r\n<p id=\"fs-id1165134104021\">Notice in this example that we used open intervals (intervals that do not include the endpoints), because the function is neither increasing nor decreasing at [latex]t=1[\/latex] , [latex]t=3[\/latex] , and [latex]t=4[\/latex] . These points are the local extrema (two minima and a maximum).<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"Example_01_03_08\" class=\"example\">\r\n<div id=\"fs-id1165135261521\" class=\"exercise\">\r\n<div id=\"fs-id1165135261523\" class=\"problem textbox shaded\">\r\n<h3>Example 8: Finding Local Extrema from a Graph<\/h3>\r\n<p id=\"fs-id1165135261528\">Graph the function [latex]f\\left(x\\right)=\\frac{2}{x}+\\frac{x}{3}[\/latex]. Then use the graph to estimate the local extrema of the function and to determine the intervals on which the function is increasing.<\/p>\r\n[reveal-answer q=\"453777\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"453777\"]\r\n\r\nUsing technology, we find that the graph of the function looks like that in Figure 7. It appears there is a low point, or local minimum, between [latex]x=2[\/latex] and [latex]x=3[\/latex], and a mirror-image high point, or local maximum, somewhere between [latex]x=-3[\/latex] and [latex]x=-2[\/latex].\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010554\/CNX_Precalc_Figure_01_03_0072.jpg\" alt=\"Graph of a reciprocal function.\" width=\"487\" height=\"368\" \/> <b>Figure 7<\/b>[\/caption]\r\n<h4>Analysis of the Solution<\/h4>\r\nMost graphing calculators and graphing utilities can estimate the location of maxima and minima. Figure 7\u00a0provides screen images from two different technologies, showing the estimate for the local maximum and minimum.\r\n\r\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\/1227\/2015\/04\/03010555\/CNX_Precalc_Figure_01_03_008ab2.jpg\" alt=\"Graph of the reciprocal function on a graphing calculator.\" width=\"975\" height=\"376\" \/> <b>Figure 8<\/b>[\/caption]\r\n<p id=\"fs-id1165134075625\">Based on these estimates, the function is increasing on the interval [latex]\\left(-\\infty ,-{2.449}\\right)[\/latex]\r\nand [latex]\\left(2.449\\text{,}\\infty \\right)[\/latex]. Notice that, while we expect the extrema to be symmetric, the two different technologies agree only up to four decimals due to the differing approximation algorithms used by each. (The exact location of the extrema is at [latex]\\pm \\sqrt{6}[\/latex], but determining this requires calculus.)<\/p>\r\n[\/hidden-answer]<b><\/b>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\n<p id=\"fs-id1165135640967\">Graph the function [latex]f\\left(x\\right)={x}^{3}-6{x}^{2}-15x+20[\/latex] to estimate the local extrema of the function. Use these to determine the intervals on which the function is increasing and decreasing.<\/p>\r\n[reveal-answer q=\"48622\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"48622\"]\r\n\r\nThe local maximum is 28 at\u00a0<em>x\u00a0<\/em>= -1\u00a0and the local minimum is -80 at\u00a0<em>x<\/em> = 5. The function is increasing on [latex]\\left(-\\infty ,-1\\right)\\cup \\left(5,\\infty \\right)[\/latex] and decreasing on [latex]\\left(-1,5\\right)[\/latex].\r\n\r\n<span id=\"fs-id1165134043615\">\r\n<img class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010555\/CNX_Precalc_Figure_01_03_0102.jpg\" alt=\"Graph of a polynomial with a local maximum at (-1, 28) and local minimum at (5, -80).\" width=\"487\" height=\"328\" \/><\/span>\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\n[ohm_question hide_question_numbers=1]165724[\/ohm_question]\r\n\r\n<\/div>\r\n<div id=\"Example_01_03_09\" class=\"example\">\r\n<div id=\"fs-id1165135367558\" class=\"exercise\">\r\n<div id=\"fs-id1165137896103\" class=\"problem textbox shaded\">\r\n<h3>Example 9: Finding Local Maxima and Minima from a Graph<\/h3>\r\nFor the function [latex]f[\/latex] whose graph is shown in Figure 9, find all local maxima and minima.\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010555\/CNX_Precalc_Figure_01_03_0112.jpg\" alt=\"Graph of a polynomial. The line curves down to x = negative 2 and up to x = 1.\" width=\"487\" height=\"368\" \/> <b>Figure 9<\/b>[\/caption]\r\n\r\n[reveal-answer q=\"209462\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"209462\"]\r\n<p id=\"fs-id1165135527085\">Observe the graph of [latex]f[\/latex]. The graph attains a local maximum at [latex]x=1[\/latex] because it is the highest point in an open interval around [latex]x=1[\/latex]. The local maximum is the [latex]y[\/latex] -coordinate at [latex]x=1[\/latex], which is [latex]2[\/latex].<\/p>\r\n<p id=\"fs-id1165134485672\">The graph attains a local minimum at [latex]\\text{ }x=-1\\text{ }[\/latex] because it is the lowest point in an open interval around [latex]x=-1[\/latex]. The local minimum is the <em>y<\/em>-coordinate at [latex]x=-1[\/latex], which is [latex]-2[\/latex].<\/p>\r\n[\/hidden-answer]<b><\/b>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<section id=\"fs-id1165134544960\">\r\n<h1 style=\"text-align: center;\"><span style=\"text-decoration: underline;\">Analyzing the Toolkit Functions for Increasing or Decreasing Intervals<\/span><\/h1>\r\nWe will now return to our toolkit functions and discuss their graphical behavior in the table\u00a0below.\r\n<table>\r\n<thead>\r\n<tr>\r\n<th>Function<\/th>\r\n<th>Increasing\/Decreasing<\/th>\r\n<th>Example<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>Constant Function\r\n\r\n[latex]f\\left(x\\right)={c}[\/latex]<\/td>\r\n<td>Neither increasing nor decreasing<\/td>\r\n<td>\u00a0<a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012927\/Screen-Shot-2015-08-20-at-8.52.37-AM.png\"><img class=\"alignnone wp-image-12510 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012927\/Screen-Shot-2015-08-20-at-8.52.37-AM.png\" alt=\"\" width=\"143\" height=\"146\" \/><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Identity Function\r\n\r\n[latex]f\\left(x\\right)={x}[\/latex]<\/td>\r\n<td>\u00a0Increasing<\/td>\r\n<td><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.52.47-AM.png\"><img class=\"alignnone wp-image-12511 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.52.47-AM.png\" alt=\"\" width=\"143\" height=\"147\" \/><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Quadratic Function\r\n\r\n[latex]f\\left(x\\right)={x}^{2}[\/latex]<\/td>\r\n<td>Increasing on\u00a0[latex]\\left(0,\\infty\\right)[\/latex]\r\n\r\nDecreasing on\u00a0[latex]\\left(-\\infty,0\\right)[\/latex]\r\n\r\nMinimum at [latex]x=0[\/latex]<\/td>\r\n<td><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.52.54-AM.png\"><img class=\"alignnone size-full wp-image-12512\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.52.54-AM.png\" alt=\"\" width=\"138\" height=\"143\" \/><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Cubic Function\r\n\r\n[latex]f\\left(x\\right)={x}^{3}[\/latex]<\/td>\r\n<td>Increasing<\/td>\r\n<td><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.02-AM.png\"><img class=\"alignnone wp-image-12513 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.02-AM.png\" alt=\"\" width=\"137\" height=\"145\" \/><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>\u00a0Reciprocal\r\n\r\n[latex]f\\left(x\\right)=\\frac{1}{x}[\/latex]<\/td>\r\n<td>Decreasing [latex]\\left(-\\infty,0\\right)\\cup\\left(0,\\infty\\right)[\/latex]<\/td>\r\n<td><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.09-AM.png\"><img class=\"alignnone wp-image-12514 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.09-AM.png\" alt=\"\" width=\"138\" height=\"146\" \/><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Reciprocal Squared\r\n\r\n[latex]f\\left(x\\right)=\\frac{1}{{x}^{2}}[\/latex]<\/td>\r\n<td>Increasing on\u00a0[latex]\\left(-\\infty,0\\right)[\/latex]\r\n\r\nDecreasing on\u00a0[latex]\\left(0,\\infty\\right)[\/latex]<\/td>\r\n<td><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.16-AM.png\"><img class=\"alignnone size-full wp-image-12515\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.16-AM.png\" alt=\"\" width=\"134\" height=\"145\" \/><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Cube Root\r\n\r\n[latex]f\\left(x\\right)=\\sqrt[3]{x}[\/latex]\r\n\r\n&nbsp;<\/td>\r\n<td>Increasing<\/td>\r\n<td>\u00a0<a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.26-AM.png\"><img class=\"alignnone size-full wp-image-12516\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.26-AM.png\" alt=\"Screen Shot 2015-08-20 at 8.53.26 AM\" width=\"140\" height=\"147\" \/><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Square Root\r\n\r\n[latex]f\\left(x\\right)=\\sqrt{x}[\/latex]<\/td>\r\n<td>Increasing on [latex]\\left(0,\\infty\\right)[\/latex]<\/td>\r\n<td>\u00a0<a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.33-AM.png\"><img class=\"alignnone size-full wp-image-12517\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.33-AM.png\" alt=\"\" width=\"138\" height=\"142\" \/><\/a><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Absolute Value\r\n\r\n[latex]f\\left(x\\right)=|x|[\/latex]<\/td>\r\n<td>Increasing on [latex]\\left(0,\\infty\\right)[\/latex]\r\n\r\nDecreasing on\u00a0[latex]\\left(-\\infty,0\\right)[\/latex]<\/td>\r\n<td>\u00a0<a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.40-AM.png\"><img class=\"alignnone wp-image-12518 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.40-AM.png\" alt=\"\" width=\"135\" height=\"143\" \/><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div id=\"fs-id1165135708033\" class=\"note precalculus media\"><section id=\"fs-id1165135541564\" class=\"key-equations\">\r\n<h1>Composition of Functions<\/h1>\r\n<p id=\"fs-id1165134094620\">Suppose we want to calculate how much it costs to heat a house on a particular day of the year. The cost to heat a house will depend on the average daily temperature, and in turn, the average daily temperature depends on the particular day of the year. Notice how we have just defined two relationships: The cost depends on the temperature, and the temperature depends on the day.<\/p>\r\n\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010513\/CNX_Precalc_Figure_01_04_0062.jpg\" alt=\"Explanation of C(T(5)), which is the cost for the temperature and T(5) is the temperature on day 5.\" width=\"487\" height=\"140\" \/> <b>Figure 1<\/b>[\/caption]\r\n<p id=\"fs-id1165134038788\">Using descriptive variables, we can notate these two functions. The function [latex]C\\left(T\\right)[\/latex] gives the cost [latex]C[\/latex] of heating a house for a given average daily temperature in [latex]T[\/latex] degrees Celsius. The function [latex]T\\left(d\\right)[\/latex] gives the average daily temperature on day [latex]d[\/latex] of the year. For any given day, [latex]\\text{Cost}=C\\left(T\\left(d\\right)\\right)[\/latex] means that the cost depends on the temperature, which in turns depends on the day of the year. Thus, we can evaluate the cost function at the temperature [latex]T\\left(d\\right)[\/latex]. For example, we could evaluate [latex]T\\left(5\\right)[\/latex] to determine the average daily temperature on the 5th day of the year. Then, we could evaluate the <strong>cost function<\/strong> at that temperature. We would write [latex]C\\left(T\\left(5\\right)\\right)[\/latex].<span id=\"fs-id1165137424478\">\r\n<\/span><\/p>\r\n<p id=\"fs-id1165137460512\">By combining these two relationships into one function, we have performed function composition, which is the focus of this section.<\/p>\r\n\r\n<h2>Combining Functions Using Algebraic Operations<\/h2>\r\n<p id=\"fs-id1165137446477\">Function composition is only one way to combine existing functions. Another way is to carry out the usual algebraic operations on functions, such as addition, subtraction, multiplication and division. We do this by performing the operations with the function outputs, defining the result as the output of our new function.<\/p>\r\n<p id=\"fs-id1165135533159\">Suppose we need to add two columns of numbers that represent a husband and wife\u2019s separate annual incomes over a period of years, with the result being their total household income. We want to do this for every year, adding only that year\u2019s incomes and then collecting all the data in a new column. If [latex]w\\left(y\\right)[\/latex] is the wife\u2019s income and [latex]h\\left(y\\right)[\/latex] is the husband\u2019s income in year [latex]y[\/latex], and we want [latex]T[\/latex] to represent the total income, then we can define a new function.<\/p>\r\n\r\n<div id=\"fs-id1165137641862\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]T\\left(y\\right)=h\\left(y\\right)+w\\left(y\\right)[\/latex]<\/div>\r\n<p id=\"fs-id1165135347766\">If this holds true for every year, then we can focus on the relation between the functions without reference to a year and write<\/p>\r\n\r\n<div id=\"fs-id1165137665765\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]T=h+w[\/latex]<\/div>\r\n<p id=\"fs-id1165132957142\">Just as for this sum of two functions, we can define difference, product, and ratio functions for any pair of functions that have the same kinds of inputs (not necessarily numbers) and also the same kinds of outputs (which do have to be numbers so that the usual operations of algebra can apply to them, and which also must have the same units or no units when we add and subtract). In this way, we can think of adding, subtracting, multiplying, and dividing functions.<\/p>\r\n<p id=\"fs-id1165137424116\">For two functions [latex]f\\left(x\\right)[\/latex] and [latex]g\\left(x\\right)[\/latex] with real number outputs, we define new functions [latex]f+g,f-g,fg[\/latex], and [latex]\\frac{f}{g}[\/latex] by the relations<\/p>\r\n\r\n<div id=\"fs-id1165137543139\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{gathered}\\left(f+g\\right)\\left(x\\right)=f\\left(x\\right)+g\\left(x\\right) \\\\[2mm] \\left(f-g\\right)\\left(x\\right)=f\\left(x\\right)-g\\left(x\\right) \\\\[2mm] \\left(fg\\right)\\left(x\\right)=f\\left(x\\right) \\cdot g\\left(x\\right) \\\\[2mm] \\left(\\frac{f}{g}\\right)\\left(x\\right)=\\frac{f\\left(x\\right)}{g\\left(x\\right)} \\\\[5mm]\\text{ } \\end{gathered}[\/latex]<\/div>\r\n<div id=\"Example_01_04_01\" class=\"example\">\r\n<div id=\"fs-id1165137585443\" class=\"exercise\">\r\n<div id=\"fs-id1165137573272\" class=\"problem textbox shaded\">\r\n<h3>Example 1: Performing Algebraic Operations on Functions<\/h3>\r\n<p id=\"fs-id1165135304963\">Find and simplify the functions [latex]\\left(g-f\\right)\\left(x\\right)[\/latex] and [latex]\\left(\\frac{g}{f}\\right)\\left(x\\right)[\/latex], given [latex]f\\left(x\\right)=x - 1[\/latex] and [latex]g\\left(x\\right)={x}^{2}-1[\/latex]. Are they the same function?<\/p>\r\n[reveal-answer q=\"516326\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"516326\"]\r\n<p id=\"fs-id1165137466263\">Begin by writing the general form, and then substitute the given functions.<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{align}\\left(g-f\\right)\\left(x\\right)&amp;=g\\left(x\\right)-f\\left(x\\right) \\\\[1.5mm] &amp;={x}^{2}-1-\\left(x - 1\\right)\\\\[1.5mm] &amp;={x}^{2}-x \\\\[1.5mm] &amp;=x\\left(x - 1\\right) \\end{align}[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 [latex]\\begin{align} \\left(\\frac{g}{f}\\right)\\left(x\\right)&amp;=\\frac{g\\left(x\\right)}{f\\left(x\\right)} \\\\[1.5mm] &amp;=\\frac{{x}^{2}-1}{x - 1}\\\\[1.5mm] &amp;=\\frac{\\left(x+1\\right)\\left(x - 1\\right)}{x - 1}\\text{ where }x\\ne 1 \\\\[1.5mm] &amp;=x+1 \\end{align}[\/latex]<\/p>\r\n<p id=\"fs-id1165137553743\">No, the functions are not the same.<\/p>\r\n<p id=\"fs-id1165135351612\">Note: For [latex]\\left(\\frac{g}{f}\\right)\\left(x\\right)[\/latex], the condition [latex]x\\ne 1[\/latex] is necessary because when [latex]x=1[\/latex], the denominator is equal to 0, which makes the function undefined.<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3 id=\"fs-id1165135333576\">Try It<\/h3>\r\nFind and simplify the functions [latex]\\left(fg\\right)\\left(x\\right)[\/latex] and [latex]\\left(f-g\\right)\\left(x\\right)[\/latex].\r\n<div id=\"fs-id1165137434994\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]f\\left(x\\right)=x - 1\\text{ and }g\\left(x\\right)={x}^{2}-1[\/latex]<\/div>\r\n<p id=\"fs-id1165137434911\">Are they the same function?<\/p>\r\n[reveal-answer q=\"34616\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"34616\"]\r\n\r\n[latex]\\left(fg\\right)\\left(x\\right)=f\\left(x\\right)\\cdot g\\left(x\\right)=\\left(x - 1\\right)\\left({x}^{2}-1\\right)={x}^{3}-{x}^{2}-x+1\\\\[4mm] \\left(f-g\\right)\\left(x\\right)=f\\left(x\\right)-g\\left(x\\right)=\\left(x - 1\\right)-\\left({x}^{2}-1\\right)=x-{x}^{2}[\/latex]\r\n\r\nNo, the functions are not the same.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2 id=\"fs-id1165137619426\" class=\"solution\">Create a Function by Composition of Functions<\/h2>\r\nPerforming algebraic operations on functions combines them into a new function, but we can also create functions by composing functions. When we wanted to compute a heating cost from a day of the year, we created a new function that takes a day as input and yields a cost as output. The process of combining functions so that the output of one function becomes the input of another is known as a composition of functions. The resulting function is known as a composite function. We represent this combination by the following notation:\r\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)=f\\left(g\\left(x\\right)\\right)[\/latex]<\/p>\r\nWe read the left-hand side as [latex]\"f[\/latex] composed with [latex]g[\/latex] at [latex]x,\"[\/latex] and the right-hand side as [latex]\"f[\/latex] of [latex]g[\/latex] of [latex]x.\"[\/latex] The two sides of the equation have the same mathematical meaning and are equal. The open circle symbol [latex]\\circ [\/latex] is called the composition operator. We use this operator mainly when we wish to emphasize the relationship between the functions themselves without referring to any particular input value. Composition is a binary operation that takes two functions and forms a new function, much as addition or multiplication takes two numbers and gives a new number. However, it is important not to confuse function composition with multiplication because, as we learned above, in most cases [latex]f\\left(g\\left(x\\right)\\right)\\ne f\\left(x\\right)g\\left(x\\right)[\/latex].\r\n\r\nIt is also important to understand the order of operations in evaluating a composite function. We follow the usual convention with parentheses by starting with the innermost parentheses first, and then working to the outside. In the equation above, the function [latex]g[\/latex] takes the input [latex]x[\/latex] first and yields an output [latex]g\\left(x\\right)[\/latex]. Then the function [latex]f[\/latex] takes [latex]g\\left(x\\right)[\/latex] as an input and yields an output [latex]f\\left(g\\left(x\\right)\\right)[\/latex].\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010513\/CNX_Precalc_Figure_01_04_0012.jpg\" alt=\"Explanation of the composite function. g(x), the output of g is the input of f. X is the input of g.\" width=\"487\" height=\"171\" \/> <b>Figure 2<\/b>[\/caption]\r\n\r\n<div class=\"note precalculus try\">\r\n\r\nIn general, [latex]f\\circ g[\/latex] and [latex]g\\circ f[\/latex] are different functions. In other words, in many cases [latex]f\\left(g\\left(x\\right)\\right)\\ne g\\left(f\\left(x\\right)\\right)[\/latex] for all [latex]x[\/latex]. We will also see that sometimes two functions can be composed only in one specific order.\r\n\r\nFor example, if [latex]f\\left(x\\right)={x}^{2}[\/latex] and [latex]g\\left(x\\right)=x+2[\/latex], then\r\n<p style=\"text-align: center;\">[latex]\\begin{align}f\\left(g\\left(x\\right)\\right)&amp;=f\\left(x+2\\right) \\\\ &amp;={\\left(x+2\\right)}^{2} \\\\ &amp;={x}^{2}+4x+4 \\end{align}[\/latex]<\/p>\r\n<p style=\"text-align: left;\">but<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{align} g\\left(f\\left(x\\right)\\right)&amp;=g\\left({x}^{2}\\right)\\\\ &amp;={x}^{2}+2 \\end{align}[\/latex]<\/p>\r\nThese expressions are not equal for all values of [latex]x[\/latex], so the two functions are not equal.\r\n\r\nNote that the range of the inside function (the first function to be evaluated) needs to be within the domain of the outside function. Less formally, the composition has to make sense in terms of inputs and outputs.\r\n<div class=\"textbox\">\r\n<h3>A General Note: Composition of Functions<\/h3>\r\nWhen the output of one function is used as the input of another, we call the entire operation a composition of functions. For any input [latex]x[\/latex] and functions [latex]f[\/latex] and [latex]g[\/latex], this action defines a composite function, which we write as [latex]f\\circ g[\/latex] such that\r\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)=f\\left(g\\left(x\\right)\\right)[\/latex]<\/p>\r\nThe domain of the composite function [latex]f\\circ g[\/latex] is all [latex]x[\/latex] such that [latex]x[\/latex] is in the domain of [latex]g[\/latex] and [latex]g\\left(x\\right)[\/latex] is in the domain of [latex]f[\/latex].\r\n\r\nIt is important to realize that the product of functions [latex]fg[\/latex] is not the same as the function composition [latex]f\\left(g\\left(x\\right)\\right)[\/latex], because, in general, [latex]f\\left(x\\right)g\\left(x\\right)\\ne f\\left(g\\left(x\\right)\\right)[\/latex].\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Example 2: Determining whether Composition of Functions is Commutative<\/h3>\r\nUsing the functions below, find [latex]f\\left(g\\left(x\\right)\\right)[\/latex] and [latex]g\\left(f\\left(x\\right)\\right)[\/latex]. Determine whether the composition of the functions is commutative.\r\n<p style=\"text-align: center;\">[latex]f\\left(x\\right)=2x+1[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 [latex]g\\left(x\\right)=3-x[\/latex]<\/p>\r\n[reveal-answer q=\"513486\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"513486\"]\r\n\r\nLet\u2019s begin by substituting [latex]g\\left(x\\right)[\/latex] into [latex]f\\left(x\\right)[\/latex].\r\n<p style=\"text-align: center;\">[latex]\\begin{align}f\\left(g\\left(x\\right)\\right)&amp;=2\\left(3-x\\right)+1 \\\\ &amp;=6 - 2x+1 \\\\ &amp;=7 - 2x \\end{align}[\/latex]<\/p>\r\n<p style=\"text-align: left;\">Now we can substitute [latex]f\\left(x\\right)[\/latex] into [latex]g\\left(x\\right)[\/latex].<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{align}g\\left(f\\left(x\\right)\\right)&amp;=3-\\left(2x+1\\right) \\\\ &amp;=3 - 2x - 1 \\\\ &amp;=-2x+2 \\end{align}[\/latex]<\/p>\r\nWe find that [latex]g\\left(f\\left(x\\right)\\right)\\ne f\\left(g\\left(x\\right)\\right)[\/latex], so the operation of function composition is not commutative.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Example 3: Interpreting Composite Functions<\/h3>\r\nThe function [latex]c\\left(s\\right)[\/latex] gives the number of calories burned completing [latex]s[\/latex] sit-ups, and [latex]s\\left(t\\right)[\/latex] gives the number of sit-ups a person can complete in [latex]t[\/latex] minutes. Interpret [latex]c\\left(s\\left(3\\right)\\right)[\/latex].\r\n\r\n[reveal-answer q=\"813025\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"813025\"]\r\n\r\nThe inside expression in the composition is [latex]s\\left(3\\right)[\/latex]. Because the input to the s-function is time, [latex]t=3[\/latex] represents 3 minutes, and [latex]s\\left(3\\right)[\/latex] is the number of sit-ups completed in 3 minutes.\r\n\r\nUsing [latex]s\\left(3\\right)[\/latex] as the input to the function [latex]c\\left(s\\right)[\/latex] gives us the number of calories burned during the number of sit-ups that can be completed in 3 minutes, or simply the number of calories burned in 3 minutes (by doing sit-ups).\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox shaded\">\r\n<h3>Example 4: Investigating the Order of Function Composition<\/h3>\r\nSuppose [latex]f\\left(x\\right)[\/latex] gives miles that can be driven in [latex]x[\/latex] hours and [latex]g\\left(y\\right)[\/latex] gives the gallons of gas used in driving [latex]y[\/latex] miles. Which of these expressions is meaningful: [latex]f\\left(g\\left(y\\right)\\right)[\/latex] or [latex]g\\left(f\\left(x\\right)\\right)?[\/latex]\r\n\r\n[reveal-answer q=\"115223\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"115223\"]\r\n\r\nThe function [latex]y=f\\left(x\\right)[\/latex] is a function whose output is the number of miles driven corresponding to the number of hours driven.\r\n<p style=\"text-align: center;\">[latex]\\text{number of miles }=f\\left(\\text{number of hours}\\right)[\/latex]<\/p>\r\nThe function [latex]g\\left(y\\right)[\/latex] is a function whose output is the number of gallons used corresponding to the number of miles driven. This means:\r\n<p style=\"text-align: center;\">[latex]\\text{number of gallons }=g\\left(\\text{number of miles}\\right)[\/latex]<\/p>\r\nThe expression [latex]g\\left(y\\right)[\/latex] takes miles as the input and a number of gallons as the output. The function [latex]f\\left(x\\right)[\/latex] requires a number of hours as the input. Trying to input a number of gallons does not make sense. The expression [latex]f\\left(g\\left(y\\right)\\right)[\/latex] is meaningless.\r\n\r\nThe expression [latex]f\\left(x\\right)[\/latex] takes hours as input and a number of miles driven as the output. The function [latex]g\\left(y\\right)[\/latex] requires a number of miles as the input. Using [latex]f\\left(x\\right)[\/latex] (miles driven) as an input value for [latex]g\\left(y\\right)[\/latex], where gallons of gas depends on miles driven, does make sense. The expression [latex]g\\left(f\\left(x\\right)\\right)[\/latex] makes sense, and will yield the number of gallons of gas used, [latex]g[\/latex], driving a certain number of miles, [latex]f\\left(x\\right)[\/latex], in [latex]x[\/latex] hours.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox\">\r\n<h3>Q &amp; A<\/h3>\r\n<strong>Are there any situations where [latex]f\\left(g\\left(y\\right)\\right)[\/latex] and [latex]g\\left(f\\left(x\\right)\\right)[\/latex] would both be meaningful or useful expressions?<\/strong>\r\n\r\n<em>Yes. For many pure mathematical functions, both compositions make sense, even though they usually produce different new functions. In real-world problems, functions whose inputs and outputs have the same units also may give compositions that are meaningful in either order.<\/em>\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\nThe gravitational force on a planet a distance r from the sun is given by the function [latex]G\\left(r\\right)[\/latex]. The acceleration of a planet subjected to any force [latex]F[\/latex] is given by the function [latex]a\\left(F\\right)[\/latex]. Form a meaningful composition of these two functions, and explain what it means.\r\n\r\n[reveal-answer q=\"502863\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"502863\"]\r\n\r\nA gravitational force is still a force, so [latex]a\\left(G\\left(r\\right)\\right)[\/latex] makes sense as the acceleration of a planet at a distance r from the Sun (due to gravity), but [latex]G\\left(a\\left(F\\right)\\right)[\/latex] does not make sense.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2>Evaluating Composite Functions<\/h2>\r\n<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>\r\n\r\n<section id=\"fs-id1165137760886\">\r\n<h2 style=\"text-align: center;\"><span style=\"text-decoration: underline;\">Evaluating Composite Functions Using Tables<\/span><\/h2>\r\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>\r\n\r\n<div id=\"Example_01_04_05\" class=\"example\">\r\n<div id=\"fs-id1165137416770\" class=\"exercise\">\r\n<div id=\"fs-id1165137465672\" class=\"problem textbox shaded\">\r\n<h3>Example 5: Using a Table to Evaluate a Composite Function<\/h3>\r\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>\r\n\r\n<table id=\"Table_01_04_01\" summary=\"Five rows and three columns. The first column is labeled, \"><colgroup> <col \/> <col \/> <col \/><\/colgroup>\r\n<thead>\r\n<tr>\r\n<th>[latex]x[\/latex]<\/th>\r\n<th>[latex]f\\left(x\\right)[\/latex]<\/th>\r\n<th>[latex]g\\left(x\\right)[\/latex]<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>1<\/td>\r\n<td>6<\/td>\r\n<td>3<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>8<\/td>\r\n<td>5<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>3<\/td>\r\n<td>3<\/td>\r\n<td>2<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4<\/td>\r\n<td>1<\/td>\r\n<td>7<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[reveal-answer q=\"542531\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"542531\"]\r\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>\r\n<p style=\"text-align: center;\">[latex]g\\left(3\\right)=2[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]f\\left(g\\left(3\\right)\\right)=f\\left(2\\right)=8[\/latex]<\/p>\r\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[\/latex] we can evaluate<\/p>\r\n<p style=\"text-align: center;\">[latex]g\\left(f\\left(3\\right)\\right)=g\\left(3\\right)=2[\/latex]<\/p>\r\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>\r\n\r\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 \/> <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>3<\/td>\r\n<td>2<\/td>\r\n<td>8<\/td>\r\n<td>3<\/td>\r\n<td>2<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3 id=\"fs-id1165134297603\">Try It<\/h3>\r\nUsing the table below, evaluate [latex]f\\left(g\\left(1\\right)\\right)[\/latex] and [latex]g\\left(f\\left(4\\right)\\right)[\/latex].\r\n<table id=\"Table_01_04_01\" summary=\"Five rows and three columns. The first column is labeled, \"><colgroup> <col \/> <col \/> <col \/><\/colgroup>\r\n<thead>\r\n<tr>\r\n<th>[latex]x[\/latex]<\/th>\r\n<th>[latex]f\\left(x\\right)[\/latex]<\/th>\r\n<th>[latex]g\\left(x\\right)[\/latex]<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>1<\/td>\r\n<td>6<\/td>\r\n<td>3<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>2<\/td>\r\n<td>8<\/td>\r\n<td>5<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>3<\/td>\r\n<td>3<\/td>\r\n<td>2<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>4<\/td>\r\n<td>1<\/td>\r\n<td>7<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[reveal-answer q=\"407008\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"407008\"]\r\n\r\n[latex]f\\left(g\\left(1\\right)\\right)=f\\left(3\\right)=3[\/latex] and [latex]g\\left(f\\left(4\\right)\\right)=g\\left(1\\right)=3[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/section><section id=\"fs-id1165137756068\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try it 4<\/h3>\r\n[ohm_question hide_question_numbers=1]165741[\/ohm_question]\r\n\r\n<\/div>\r\n<h2 style=\"text-align: center;\"><span style=\"text-decoration: underline;\">Evaluating Composite Functions Using Graphs<\/span><\/h2>\r\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>\r\n\r\n<div id=\"fs-id1165137634364\" class=\"note precalculus howto textbox\">\r\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>\r\n<\/strong><\/h3>\r\n<ol id=\"fs-id1165133248553\">\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<\/div>\r\n<div id=\"fs-id1165137758196\" class=\"problem textbox shaded\">\r\n<h3>Example 6: Using a Graph to Evaluate a Composite Function<\/h3>\r\nUsing the graphs in Figure 3, evaluate [latex]f\\left(g\\left(1\\right)\\right)[\/latex].\r\n\r\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\/1227\/2015\/04\/03010513\/CNX_Precalc_Figure_01_04_002ab2.jpg\" alt=\"Explanation of the composite function.\" width=\"975\" height=\"543\" \/> <b>Figure 3<\/b>[\/caption]\r\n\r\n[reveal-answer q=\"516132\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"516132\"]\r\n\r\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\/1227\/2015\/04\/03010514\/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\" \/> <b>Figure 4<\/b>[\/caption]\r\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\">\r\n<\/span><\/p>\r\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>\r\n<p style=\"text-align: center;\">[latex]f\\left(g\\left(1\\right)\\right)=f\\left(3\\right)[\/latex]<\/p>\r\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>\r\n\r\n<h4>Analysis of the Solution<\/h4>\r\nFigure 5\u00a0shows how we can mark the graphs with arrows to trace the path from the input value to the output value.\r\n\r\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\/1227\/2015\/04\/03010514\/CNX_Precalc_Figure_01_04_0052.jpg\" alt=\"Two graphs of a positive and negative parabola.\" width=\"975\" height=\"520\" \/> <b>Figure 5<\/b>[\/caption]\r\n\r\n[\/hidden-answer]<b><\/b><b><\/b>\r\n\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\n<p id=\"fs-id1165137423742\">Using Figure 6, evaluate [latex]g\\left(f\\left(2\\right)\\right)[\/latex].<\/p>\r\n\r\n\r\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\/1227\/2015\/04\/03010514\/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\" \/> <b>Figure 6<\/b>[\/caption]\r\n\r\n[reveal-answer q=\"68844\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"68844\"]\r\n\r\n[latex]g\\left(f\\left(2\\right)\\right)=g\\left(5\\right)=3[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/section><section id=\"fs-id1165137452389\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\n[ohm_question hide_question_numbers=1]32890[\/ohm_question]\r\n\r\n<\/div>\r\n<h2 style=\"text-align: center;\"><span style=\"text-decoration: underline;\">Evaluating Composite Functions Using Formulas<\/span><\/h2>\r\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>\r\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>\r\n\r\n<div id=\"fs-id1165137584280\" class=\"note precalculus howto textbox\">\r\n<h3 id=\"fs-id1165137676972\">How To: Given a formula for a composite function, evaluate the function.<strong>\r\n<\/strong><\/h3>\r\n<ol id=\"fs-id1165137564125\">\r\n \t<li>Evaluate the inside function using the input value or variable provided.<\/li>\r\n \t<li>Use the resulting output as the input to the outside function.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div id=\"Example_01_04_07\" class=\"example\">\r\n<div id=\"fs-id1165134070851\" class=\"exercise\">\r\n<div id=\"fs-id1165134070853\" class=\"problem textbox shaded\">\r\n<h3>Example 7: Evaluating a Composition of Functions Expressed as Formulas with a Numerical Input<\/h3>\r\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>\r\n[reveal-answer q=\"905220\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"905220\"]\r\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>\r\n<p style=\"text-align: center;\">[latex]\\begin{align}h\\left(1\\right)&amp;=3\\left(1\\right)+2\\\\ &amp;=5\\end{align}[\/latex]<\/p>\r\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>\r\n<p style=\"text-align: center;\">[latex]\\begin{align}f\\left(h\\left(1\\right)\\right)&amp;=f\\left(5\\right)\\\\ &amp;={5}^{2}-5\\\\ &amp;=20\\end{align}[\/latex]<\/p>\r\n\r\n<h4>Analysis of the Solution<\/h4>\r\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>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\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>\r\n<p style=\"padding-left: 60px;\">A) [latex]h\\left(f\\left(2\\right)\\right)[\/latex]<\/p>\r\n<p style=\"padding-left: 60px;\">B) [latex]h\\left(f\\left(-2\\right)\\right)[\/latex]<\/p>\r\n[reveal-answer q=\"348291\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"348291\"]\r\n\r\nA. 8; B. 20\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\n[ohm_question hide_question_numbers=1]69935[\/ohm_question]\r\n\r\n<\/div>\r\n<h2>Finding the Domain of a Composite Function<\/h2>\r\n<p id=\"fs-id1165135519324\">As we discussed previously, the <strong>domain of a composite function<\/strong> such as [latex]f\\circ g[\/latex] is dependent on the domain of [latex]g[\/latex] and the domain of [latex]f[\/latex]. It is important to know when we can apply a composite function and when we cannot, that is, to know the domain of a function such as [latex]f\\circ g[\/latex]. Let us assume we know the domains of the functions [latex]f[\/latex] and [latex]g[\/latex] separately. If we write the composite function for an input [latex]x[\/latex] as [latex]f\\left(g\\left(x\\right)\\right)[\/latex], we can see right away that [latex]x[\/latex] must be a member of the domain of [latex]g[\/latex] in order for the expression to be meaningful, because otherwise we cannot complete the inner function evaluation. However, we also see that [latex]g\\left(x\\right)[\/latex] must be a member of the domain of [latex]f[\/latex], otherwise the second function evaluation in [latex]f\\left(g\\left(x\\right)\\right)[\/latex] cannot be completed, and the expression is still undefined. Thus the domain of [latex]f\\circ g[\/latex] consists of only those inputs in the domain of [latex]g[\/latex] that produce outputs from [latex]g[\/latex] belonging to the domain of [latex]f[\/latex]. Note that the domain of [latex]f[\/latex] composed with [latex]g[\/latex] is the set of all [latex]x[\/latex] such that [latex]x[\/latex] is in the domain of [latex]g[\/latex] and [latex]g\\left(x\\right)[\/latex] is in the domain of [latex]f[\/latex].<\/p>\r\n\r\n<div id=\"fs-id1165135547254\" class=\"note textbox\">\r\n<h3 class=\"title\">A General Note: Domain of a Composite Function<\/h3>\r\n<p id=\"fs-id1165135426375\">The domain of a composite function [latex]f\\left(g\\left(x\\right)\\right)[\/latex] is the set of those inputs [latex]x[\/latex] in the domain of [latex]g[\/latex] for which [latex]g\\left(x\\right)[\/latex] is in the domain of [latex]f[\/latex].<\/p>\r\n\r\n<\/div>\r\n<div id=\"fs-id1165137663970\" class=\"note precalculus howto textbox\">\r\n<h3 id=\"fs-id1165135203267\">How To: Given a function composition [latex]f\\left(g\\left(x\\right)\\right)[\/latex], determine its domain.<\/h3>\r\n<ol id=\"fs-id1165137714200\">\r\n \t<li>Find the domain of [latex]g[\/latex].<\/li>\r\n \t<li>Find the domain of [latex]f[\/latex].<\/li>\r\n \t<li>Find those inputs, [latex]x[\/latex],\u00a0in the domain of [latex]g[\/latex]\u00a0for which [latex]g(x)[\/latex]\u00a0is in the domain of [latex]f[\/latex]. That is, exclude those inputs, [latex]x[\/latex], from the domain of [latex]g[\/latex]\u00a0for which [latex]g(x)[\/latex]\u00a0is not in the domain of [latex]f[\/latex]. The resulting set is the domain of [latex]f\\circ g[\/latex].<\/li>\r\n<\/ol>\r\n<\/div>\r\n<div id=\"Example_01_04_08\" class=\"example\">\r\n<div id=\"fs-id1165137646695\" class=\"exercise\">\r\n<div id=\"fs-id1165137646697\" class=\"problem textbox shaded\">\r\n<h3>Example 8: Finding the Domain of a Composite Function<\/h3>\r\n<p id=\"fs-id1165135640630\">Find the domain of<\/p>\r\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)\\text{ where}f\\left(x\\right)=\\frac{5}{x - 1}\\text{ and }g\\left(x\\right)=\\frac{4}{3x - 2}[\/latex]<\/p>\r\n[reveal-answer q=\"262512\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"262512\"]\r\n<p id=\"fs-id1165137627922\">The domain of [latex]g\\left(x\\right)[\/latex] consists of all real numbers except [latex]x=\\frac{2}{3}[\/latex], since that input value would cause us to divide by 0. Likewise, the domain of [latex]f[\/latex] consists of all real numbers except 1. So we need to exclude from the domain of [latex]g\\left(x\\right)[\/latex] that value of [latex]x[\/latex] for which [latex]g\\left(x\\right)=1[\/latex].<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{align}\\frac{4}{3x - 2}&amp;=1 \\\\ 4&amp;=3x - 2 &amp;&amp;\\text{Multiply by } 3x-2 \\\\ 6&amp;=3x &amp;&amp;\\text{Add }2 \\\\ x&amp;=2 &amp;&amp; \\text{Divide by }3 \\end{align}[\/latex]<\/p>\r\n<p id=\"fs-id1165137891240\">So the domain of [latex]f\\circ g[\/latex] is the set of all real numbers except [latex]\\frac{2}{3}[\/latex] and [latex]2[\/latex]. This means that<\/p>\r\n<p style=\"text-align: center;\">[latex]x\\ne \\frac{2}{3}\\text{or}x\\ne 2[\/latex]<\/p>\r\n<p id=\"fs-id1165135152098\">We can write this in interval notation as<\/p>\r\n<p style=\"text-align: center;\">[latex]\\left(-\\infty ,\\frac{2}{3}\\right)\\cup \\left(\\frac{2}{3},2\\right)\\cup \\left(2,\\infty \\right)[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"Example_01_04_09\" class=\"example\">\r\n<div id=\"fs-id1165135353057\" class=\"exercise\">\r\n<div id=\"fs-id1165137444218\" class=\"problem textbox shaded\">\r\n<h3>Example 9: Finding the Domain of a Composite Function Involving Radicals<\/h3>\r\n<p id=\"fs-id1165135547426\">Find the domain of<\/p>\r\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)\\text{ where}f\\left(x\\right)=\\sqrt{x+2}\\text{ and }g\\left(x\\right)=\\sqrt{3-x}[\/latex]<\/p>\r\n[reveal-answer q=\"959136\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"959136\"]\r\n<p id=\"fs-id1165137812353\">Because we cannot take the square root of a negative number, the domain of [latex]g[\/latex] is [latex]\\left(-\\infty ,3\\right][\/latex]. Now we check the domain of the composite function<\/p>\r\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)=\\sqrt{3-x+2}\\text{ or }\\left(f\\circ g\\right)\\left(x\\right)=\\sqrt{5-x}[\/latex]<\/p>\r\n<p id=\"fs-id1165137871761\">The domain of this function is [latex]\\left(-\\infty ,5\\right][\/latex]. To find the domain of [latex]f\\circ g[\/latex], we ask ourselves if there are any further restrictions offered by the domain of the composite function. The answer is no, since [latex]\\left(-\\infty ,3\\right][\/latex] is a proper subset of the domain of [latex]f\\circ g[\/latex]. This means the domain of [latex]f\\circ g[\/latex] is the same as the domain of [latex]g[\/latex], namely, [latex]\\left(-\\infty ,3\\right][\/latex].<\/p>\r\n\r\n<h4>Analysis of the Solution<\/h4>\r\n<p id=\"fs-id1165135241313\">This example shows that knowledge of the range of functions (specifically the inner function) can also be helpful in finding the domain of a composite function. It also shows that the domain of [latex]f\\circ g[\/latex] can contain values that are not in the domain of [latex]f[\/latex], though they must be in the domain of [latex]g[\/latex].<\/p>\r\n[\/hidden-answer]\r\n\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div id=\"fs-id1165135435597\" class=\"note precalculus try\">\r\n<div id=\"ti_01_04_07\" class=\"exercise\">\r\n<div id=\"fs-id1165137937116\" class=\"problem\">\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\n<p id=\"fs-id1165137937117\">Find the domain of<\/p>\r\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)\\text{ where}f\\left(x\\right)=\\frac{1}{x - 2}\\text{ and }g\\left(x\\right)=\\sqrt{x+4}[\/latex]<\/p>\r\n[reveal-answer q=\"645634\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"645634\"]\r\n\r\n[latex]\\left[-4,0\\right)\\cup \\left(0,\\infty \\right)[\/latex]\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\n[ohm_question hide_question_numbers=1]165745[\/ohm_question]\r\n\r\n<\/div>\r\n<h2>Decomposing a Composite Function into its Component Functions<\/h2>\r\n<p id=\"fs-id1165135185936\">In some cases it is necessary to decompose a complicated function. In other words we can write it as a composition of two simpler functions. There are multiple ways to <span class=\"no-emphasis\">decompose a composite function<\/span>, but often one is the most obvious.<\/p>\r\n\r\n<div id=\"Example_01_04_10\" class=\"example\">\r\n<div id=\"fs-id1165134319721\" class=\"exercise\">\r\n<div id=\"fs-id1165134319723\" class=\"problem textbox shaded\">\r\n<h3>Example 10: Decomposing a Function<\/h3>\r\n<p id=\"fs-id1165137771903\">Write [latex]f\\left(x\\right)=\\sqrt{5-{x}^{2}}[\/latex] as the composition of two functions.<\/p>\r\n[reveal-answer q=\"841209\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"841209\"]\r\n<p id=\"fs-id1165135194522\">We are looking for two functions, [latex]g[\/latex] and [latex]h[\/latex], so [latex]f\\left(x\\right)=g\\left(h\\left(x\\right)\\right)[\/latex]. To do this, we look for a function inside a function in the formula for [latex]f\\left(x\\right)[\/latex]. As one possibility, we might notice that the expression [latex]5-{x}^{2}[\/latex] is the inside of the square root. We could then decompose the function as<\/p>\r\n<p style=\"text-align: center;\">[latex]h\\left(x\\right)=5-{x}^{2}\\text{ and }g\\left(x\\right)=\\sqrt{x}[\/latex]<\/p>\r\n<p id=\"fs-id1165135250635\">We can check our answer by recomposing the functions.<\/p>\r\n<p style=\"text-align: center;\">[latex]g\\left(h\\left(x\\right)\\right)=g\\left(5-{x}^{2}\\right)=\\sqrt{5-{x}^{2}}[\/latex]<\/p>\r\nAnother solution would be\r\n<p style=\"text-align: center;\">[latex]h\\left(x\\right)={x}^{2}\\text{ and }g\\left(x\\right)=\\sqrt{5-x}[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<\/div>\r\n<\/div>\r\n<div class=\"bcc-box bcc-success\">\r\n<h3>Try It<\/h3>\r\nWrite [latex]f\\left(x\\right)=\\frac{4}{3-\\sqrt{4+{x}^{2}}}[\/latex] as the composition of two functions.\r\n\r\n[reveal-answer q=\"637567\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"637567\"]\r\n\r\nPossible answer:\r\n<p id=\"fs-id1165135333608\" style=\"padding-left: 30px;\">[latex]g\\left(x\\right)=\\sqrt{4+{x}^{2}}[\/latex]<\/p>\r\n<p style=\"padding-left: 30px;\">[latex]h\\left(x\\right)=\\frac{4}{3-x}[\/latex]<\/p>\r\n<p style=\"padding-left: 30px;\">[latex]f=h\\circ g[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<section id=\"fs-id1165135388428\" class=\"key-equations\">\r\n<div class=\"textbox key-takeaways\">\r\n<h3>Try It<\/h3>\r\n[ohm_question hide_question_numbers=1]32917[\/ohm_question]\r\n\r\n<\/div>\r\n<h2 style=\"text-align: left;\">Key Equations<\/h2>\r\n<table id=\"eip-id1165134118229\" summary=\"..\"><colgroup> <col \/> <col \/><\/colgroup>\r\n<tbody>\r\n<tr>\r\n<td>Composite function<\/td>\r\n<td>[latex]\\left(f\\circ g\\right)\\left(x\\right)=f\\left(g\\left(x\\right)\\right)[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<table id=\"eip-id1165135358784\" summary=\"..\"><colgroup> <col \/> <col \/><\/colgroup>\r\n<tbody>\r\n<tr>\r\n<td>Average rate of change<\/td>\r\n<td>[latex]\\dfrac{\\Delta y}{\\Delta x}=\\dfrac{f\\left({x}_{2}\\right)-f\\left({x}_{1}\\right)}{{x}_{2}-{x}_{1}}[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/section><section id=\"fs-id1165135481945\" class=\"key-concepts\">\r\n<h2>Key Concepts<\/h2>\r\n<ul id=\"fs-id1165135481952\">\r\n \t<li>A rate of change relates a change in an output quantity to a change in an input quantity. The average rate of change is determined using only the beginning and ending data.<\/li>\r\n \t<li>Identifying points that mark the interval on a graph can be used to find the average rate of change.<\/li>\r\n \t<li>Comparing pairs of input and output values in a table can also be used to find the average rate of change.<\/li>\r\n \t<li>An average rate of change can also be computed by determining the function values at the endpoints of an interval described by a formula.<\/li>\r\n \t<li>The average rate of change can sometimes be determined as an expression.<\/li>\r\n \t<li>A function is increasing where its rate of change is positive and decreasing where its rate of change is negative.<\/li>\r\n \t<li>A local maximum is where a function changes from increasing to decreasing and has an output value larger (more positive or less negative) than output values at neighboring input values.<\/li>\r\n \t<li>A local minimum is where the function changes from decreasing to increasing (as the input increases) and has an output value smaller (more negative or less positive) than output values at neighboring input values.<\/li>\r\n \t<li>Minima and maxima are also called extrema.<\/li>\r\n \t<li>We can find local extrema from a graph.<\/li>\r\n \t<li>When functions are combined, the output of the first (inner) function becomes the input of the second (outer) function.<\/li>\r\n \t<li>The function produced by combining two functions is a composite function.<\/li>\r\n \t<li>The order of function composition must be considered when interpreting the meaning of composite functions.<\/li>\r\n \t<li>A composite function can be evaluated by evaluating the inner function using the given input value and then evaluating the outer function taking as its input the output of the inner function.<\/li>\r\n \t<li>A composite function can be evaluated from a table.<\/li>\r\n \t<li>A composite function can be evaluated from a graph.<\/li>\r\n \t<li>A composite function can be evaluated from a formula.<\/li>\r\n \t<li>The domain of a composite function consists of those inputs in the domain of the inner function that correspond to outputs of the inner function that are in the domain of the outer function.<\/li>\r\n \t<li>Just as functions can be combined to form a composite function, composite functions can be decomposed into simpler functions.<\/li>\r\n \t<li>Functions can often be decomposed in more than one way.<\/li>\r\n<\/ul>\r\n<div style=\"line-height: 1.5;\">\r\n<h2>Glossary<\/h2>\r\n<dl id=\"fs-id1165133052903\" class=\"definition\">\r\n \t<dt><strong>absolute maximum<\/strong><\/dt>\r\n \t<dd id=\"fs-id1165133052908\">the greatest value of a function over an interval<\/dd>\r\n<\/dl>\r\n<dl id=\"fs-id1165133052911\" class=\"definition\">\r\n \t<dt><strong>absolute minimum<\/strong><\/dt>\r\n \t<dd id=\"fs-id1165133052916\">the lowest value of a function over an interval<\/dd>\r\n<\/dl>\r\n<dl id=\"fs-id1165133052921\" class=\"definition\">\r\n \t<dt><strong>average rate of change<\/strong><\/dt>\r\n \t<dd id=\"fs-id1165133052926\">the difference in the output values of a function found for two values of the input divided by the difference between the inputs<\/dd>\r\n \t<dt>\r\n<div class=\"note precalculus try\"><section id=\"fs-id1165137452389\">\r\n<div id=\"fs-id1165135435597\" class=\"note precalculus try\">\r\n<div id=\"ti_01_04_07\" class=\"exercise\">\r\n<div id=\"fs-id1165137937116\" class=\"problem\"><section class=\"section-exercises\">\r\n<div>\r\n<dl id=\"fs-id1165137832421\" class=\"definition\">\r\n \t<dt>composite function<\/dt>\r\n \t<dd id=\"fs-id1165137832426\">the new function formed by function composition, when the output of one function is used as the input of another<\/dd>\r\n<\/dl>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div><\/dt>\r\n<\/dl>\r\n<dl id=\"fs-id1165135264639\" class=\"definition\">\r\n \t<dt><strong>decreasing function<\/strong><\/dt>\r\n \t<dd id=\"fs-id1165135264645\">a function is decreasing in some open interval if [latex]f\\left(b\\right)&lt;f\\left(a\\right)[\/latex] for any two input values [latex]a[\/latex] and [latex]b[\/latex] in the given interval where [latex]b&gt;a[\/latex]<\/dd>\r\n<\/dl>\r\n<dl id=\"fs-id1165135639824\" class=\"definition\">\r\n \t<dt><strong>increasing function<\/strong><\/dt>\r\n \t<dd id=\"fs-id1165135639829\">a function is increasing in some open interval if [latex]f\\left(b\\right)&gt;f\\left(a\\right)[\/latex] for any two input values [latex]a[\/latex] and [latex]b[\/latex] in the given interval where [latex]b&gt;a[\/latex]<\/dd>\r\n<\/dl>\r\n<dl id=\"fs-id1165135536408\" class=\"definition\">\r\n \t<dt><strong>local extrema<\/strong><\/dt>\r\n \t<dd id=\"fs-id1165135536413\">collectively, all of a function's local maxima and minima<\/dd>\r\n<\/dl>\r\n<dl id=\"fs-id1165135536416\" class=\"definition\">\r\n \t<dt><strong>local maximum<\/strong><\/dt>\r\n \t<dd id=\"fs-id1165135412035\">a value of the input where a function changes from increasing to decreasing as the input value increases.<\/dd>\r\n<\/dl>\r\n<dl id=\"fs-id1165135412040\" class=\"definition\">\r\n \t<dt><strong>local minimum<\/strong><\/dt>\r\n \t<dd id=\"fs-id1165135412046\">a value of the input where a function changes from decreasing to increasing as the input value increases.<\/dd>\r\n<\/dl>\r\n<dl id=\"fs-id1165135412050\" class=\"definition\">\r\n \t<dt><strong>rate of change<\/strong><\/dt>\r\n \t<dd id=\"fs-id1165135412054\">the change of an output quantity relative to the change of the input quantity<\/dd>\r\n<\/dl>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>","rendered":"<div class=\"bcc-box bcc-highlight\">\n<h3>Learning Outcomes<\/h3>\n<ul>\n<li>Find the average rate of change of a function.<\/li>\n<li>Use a graph to determine where a function is increasing, decreasing, or constant.<\/li>\n<li>Use a graph to locate local and absolute maxima and local minima.<\/li>\n<li>Combine functions using algebraic operations.<\/li>\n<li>Create a new function by composition of functions.<\/li>\n<li>Evaluate composite functions.<\/li>\n<li>Find the domain of a composite function.<\/li>\n<li>Decompose a composite function into its component functions.<\/li>\n<\/ul>\n<\/div>\n<h1>Rates of Change<\/h1>\n<p id=\"fs-id1165135194500\">Gasoline costs have experienced some wild fluctuations over the last several decades. The table below<a class=\"footnote\" title=\"http:\/\/www.eia.gov\/totalenergy\/data\/annual\/showtext.cfm?t=ptb0524. Accessed 3\/5\/2014.\" id=\"return-footnote-13679-1\" href=\"#footnote-13679-1\" aria-label=\"Footnote 1\"><sup class=\"footnote\">[1]<\/sup><\/a>\u00a0lists the average cost, in dollars, of a gallon of gasoline for the years 2005\u20132012. The cost of gasoline can be considered as a function of year.<\/p>\n<table summary=\"Two rows and nine columns. The first row is labeled,\">\n<colgroup>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr>\n<td><strong>[latex]y[\/latex]<\/strong><\/td>\n<td>2005<\/td>\n<td>2006<\/td>\n<td>2007<\/td>\n<td>2008<\/td>\n<td>2009<\/td>\n<td>2010<\/td>\n<td>2011<\/td>\n<td>2012<\/td>\n<\/tr>\n<tr>\n<td><strong>[latex]C\\left(y\\right)[\/latex]<\/strong><\/td>\n<td>2.31<\/td>\n<td>2.62<\/td>\n<td>2.84<\/td>\n<td>3.30<\/td>\n<td>2.41<\/td>\n<td>2.84<\/td>\n<td>3.58<\/td>\n<td>3.68<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"fs-id1165133097252\">If we were interested only in how the gasoline prices changed between 2005 and 2012, we could compute that the cost per gallon had increased from $2.31 to $3.68, an increase of $1.37. While this is interesting, it might be more useful to look at how much the price changed <em>per year<\/em>. In this section, we will investigate changes such as these.<\/p>\n<h2>Finding the Average Rate of Change of a Function<\/h2>\n<p id=\"fs-id1165137834011\">The price change per year is a <strong>rate of change<\/strong> because it describes how an output quantity changes relative to the change in the input quantity. We can see that the price of gasoline in\u00a0the table above\u00a0did not change by the same amount each year, so the rate of change was not constant. If we use only the beginning and ending data, we would be finding the <strong>average rate of change<\/strong> over the specified period of time. To find the average rate of change, we divide the change in the output value by the change in the input value.<\/p>\n<div id=\"fs-id1165135452482\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{align}\\text{Average rate of change}&=\\frac{\\text{Change in output}}{\\text{Change in input}} \\\\[1mm] &=\\frac{\\Delta y}{\\Delta x} \\\\[1mm] &= \\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}} \\\\[1mm] &= \\frac{f\\left({x}_{2}\\right)-f\\left({x}_{1}\\right)}{{x}_{2}-{x}_{1}}\\end{align}[\/latex]<\/div>\n<p id=\"fs-id1165135471272\">The Greek letter [latex]\\Delta[\/latex] (delta) signifies the change in a quantity; we read the ratio as &#8220;delta-<em>y<\/em> over delta-<em>x<\/em>&#8221; or &#8220;the change in [latex]y[\/latex] divided by the change in [latex]x[\/latex].&#8221; Occasionally we write [latex]\\Delta f[\/latex] instead of [latex]\\Delta y[\/latex], which still represents the change in the function\u2019s output value resulting from a change to its input value. It does not mean we are changing the function into some other function.<\/p>\n<p id=\"fs-id1165137539940\">In our example, the gasoline price increased by $1.37 from 2005 to 2012. Over 7 years, the average rate of change was<\/p>\n<div id=\"fs-id1165137526960\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{\\Delta y}{\\Delta x}=\\frac{{1.37}}{\\text{7 years}}\\approx 0.196\\text{ dollars per year}[\/latex]<\/div>\n<p id=\"fs-id1165137418924\">On average, the price of gas increased by about 19.6\u00a2 each year.<\/p>\n<p id=\"fs-id1165135397217\">Other examples of rates of change include:<\/p>\n<ul id=\"fs-id1165137424067\">\n<li>A population of rats increasing by 40 rats per week<\/li>\n<li>A car traveling 68 miles per hour (distance traveled changes by 68 miles each hour as time passes)<\/li>\n<li>A car driving 27 miles per gallon (distance traveled changes by 27 miles for each gallon)<\/li>\n<li>The current through an electrical circuit increasing by 0.125 amperes for every volt of increased voltage<\/li>\n<li>The amount of money in a college account decreasing by $4,000 per quarter<\/li>\n<\/ul>\n<div class=\"textbox\">\n<h3 class=\"title\">A General Note: Rate of Change<\/h3>\n<p id=\"fs-id1165137780744\">A rate of change describes how an output quantity changes relative to the change in the input quantity. The units on a rate of change are &#8220;output units per input units.&#8221;<\/p>\n<p id=\"fs-id1165137544638\">The average rate of change between two input values is the total change of the function values (output values) divided by the change in the input values.<\/p>\n<div id=\"fs-id1165134060431\" class=\"equation\" style=\"text-align: center;\">[latex]\\frac{\\Delta y}{\\Delta x}=\\frac{f\\left({x}_{2}\\right)-f\\left({x}_{1}\\right)}{{x}_{2}-{x}_{1}}[\/latex]<\/div>\n<\/div>\n<div id=\"fs-id1165135530407\" class=\"note precalculus howto textbox\">\n<h3 id=\"fs-id1165137762240\">How To: Given the value of a function at different points, calculate the average rate of change of a function for the interval between two values [latex]{x}_{1}[\/latex] and [latex]{x}_{2}[\/latex].<\/h3>\n<ol id=\"fs-id1165137442714\">\n<li>Calculate the difference [latex]{y}_{2}-{y}_{1}=\\Delta y[\/latex].<\/li>\n<li>Calculate the difference [latex]{x}_{2}-{x}_{1}=\\Delta x[\/latex].<\/li>\n<li>Find the ratio [latex]\\frac{\\Delta y}{\\Delta x}[\/latex].<\/li>\n<\/ol>\n<\/div>\n<div id=\"Example_01_03_01\" class=\"example\">\n<div id=\"fs-id1165135485962\" class=\"exercise\">\n<div id=\"fs-id1165137464225\" class=\"problem textbox shaded\">\n<h3>Example 1: Computing an Average Rate of Change<\/h3>\n<p id=\"fs-id1165137603118\">Using the data in the table below, find the average rate of change of the price of gasoline between 2007 and 2009.<\/p>\n<table summary=\"Two rows and nine columns. The first row is labeled,\">\n<colgroup>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr>\n<td><strong>[latex]y[\/latex]<\/strong><\/td>\n<td>2005<\/td>\n<td>2006<\/td>\n<td>2007<\/td>\n<td>2008<\/td>\n<td>2009<\/td>\n<td>2010<\/td>\n<td>2011<\/td>\n<td>2012<\/td>\n<\/tr>\n<tr>\n<td><strong>[latex]C\\left(y\\right)[\/latex]<\/strong><\/td>\n<td>2.31<\/td>\n<td>2.62<\/td>\n<td>2.84<\/td>\n<td>3.30<\/td>\n<td>2.41<\/td>\n<td>2.84<\/td>\n<td>3.58<\/td>\n<td>3.68<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q562005\">Show Solution<\/span><\/p>\n<div id=\"q562005\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165135209401\">In 2007, the price of gasoline was $2.84. In 2009, the cost was $2.41. The average rate of change is<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}\\frac{\\Delta y}{\\Delta x}&=\\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}} \\\\[1mm] &=\\frac{2.41-2.84}{2009 - 2007} \\\\[1mm] &=\\frac{-0.43}{2\\text{ years}} \\\\[1mm] &={-0.22}\\text{ per year}\\end{align}[\/latex]<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p id=\"fs-id1165137784092\">Note that a decrease is expressed by a negative change or &#8220;negative increase.&#8221; A rate of change is negative when the output decreases as the input increases or when the output increases as the input decreases.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>The following video provides another example of how to find the average rate of change between two points from a table of values.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-1\" title=\"Ex:  Find the Average Rate of Change From a Table - Temperatures\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/iJ_0nPUUlOg?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/h3>\n<p id=\"fs-id1165135160759\">Using the data in the table below,\u00a0find the average rate of change between 2005 and 2010.<\/p>\n<table summary=\"Two rows and nine columns. The first row is labeled,\">\n<tbody>\n<tr>\n<td><strong>[latex]y[\/latex]<\/strong><\/td>\n<td>2005<\/td>\n<td>2006<\/td>\n<td>2007<\/td>\n<td>2008<\/td>\n<td>2009<\/td>\n<td>2010<\/td>\n<td>2011<\/td>\n<td>2012<\/td>\n<\/tr>\n<tr>\n<td><strong>[latex]C\\left(y\\right)[\/latex]<\/strong><\/td>\n<td>2.31<\/td>\n<td>2.62<\/td>\n<td>2.84<\/td>\n<td>3.30<\/td>\n<td>2.41<\/td>\n<td>2.84<\/td>\n<td>3.58<\/td>\n<td>3.68<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q175600\">Show Solution<\/span><\/p>\n<div id=\"q175600\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]\\dfrac{$2.84-$2.31}{5\\text{ years}}=\\dfrac{$0.53}{5\\text{ years}}=$0.106[\/latex] per year.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Example_01_03_02\" class=\"example\">\n<div id=\"fs-id1165137851963\" class=\"exercise\">\n<div id=\"fs-id1165137437853\" class=\"problem textbox shaded\">\n<h3>Example 2: Computing Average Rate of Change from a Graph<\/h3>\n<p>Given the function [latex]g\\left(t\\right)[\/latex] shown in Figure 1, find the average rate of change on the interval [latex]\\left[-1,2\\right][\/latex].<\/p>\n<div style=\"width: 497px\" 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\/1227\/2015\/04\/03010553\/CNX_Precalc_Figure_01_03_0012.jpg\" alt=\"Graph of a parabola.\" width=\"487\" height=\"295\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 1<\/b><\/p>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q806109\">Show Solution<\/span><\/p>\n<div id=\"q806109\" class=\"hidden-answer\" style=\"display: none\">\n<div style=\"width: 497px\" 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\/1227\/2015\/04\/03010553\/CNX_Precalc_Figure_01_03_0022.jpg\" alt=\"Graph of a parabola with a line from points (-1, 4) and (2, 1) to show the changes for g(t) and t.\" width=\"487\" height=\"296\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 2<\/b><\/p>\n<\/div>\n<p>At [latex]t=-1[\/latex], the graph\u00a0shows [latex]g\\left(-1\\right)=4[\/latex]. At [latex]t=2[\/latex], the graph shows [latex]g\\left(2\\right)=1[\/latex].<span id=\"fs-id1165137387448\"><br \/>\n<\/span><\/p>\n<p id=\"fs-id1165137591169\">The horizontal change [latex]\\Delta t=3[\/latex] is shown by the red arrow, and the vertical change [latex]\\Delta g\\left(t\\right)=-3[\/latex] is shown by the turquoise arrow. The output changes by \u20133 while the input changes by 3, giving an average rate of change of<\/p>\n<p style=\"text-align: center;\">[latex]\\frac{1 - 4}{2-\\left(-1\\right)}=\\frac{-3}{3}=-1[\/latex]<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p id=\"fs-id1165135538482\">Note that the order we choose is very important. If, for example, we use [latex]\\frac{{y}_{2}-{y}_{1}}{{x}_{1}-{x}_{2}}[\/latex], we will not get the correct answer. Decide which point will be 1 and which point will be 2, and keep the coordinates fixed as [latex]\\left({x}_{1},{y}_{1}\\right)[\/latex] and [latex]\\left({x}_{2},{y}_{2}\\right)[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Example_01_03_03\" class=\"example\">\n<div id=\"fs-id1165135536188\" class=\"exercise\">\n<div id=\"fs-id1165137835656\" class=\"problem textbox shaded\">\n<h3>Example 3: Computing Average Rate of Change from a Table<\/h3>\n<p id=\"fs-id1165135515898\">After picking up a friend who lives 10 miles away, Anna records her distance from home over time. The values are shown in the table below.\u00a0Find her average speed over the first 6 hours.<\/p>\n<table id=\"Table_01_03_02\" summary=\"Two rows and nine columns. The first row is labeled,\">\n<colgroup>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr>\n<td><strong><em>t<\/em> (hours)<\/strong><\/td>\n<td>0<\/td>\n<td>1<\/td>\n<td>2<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<td>5<\/td>\n<td>6<\/td>\n<td>7<\/td>\n<\/tr>\n<tr>\n<td><strong><em>D<\/em>(<em>t<\/em>) (miles)<\/strong><\/td>\n<td>10<\/td>\n<td>55<\/td>\n<td>90<\/td>\n<td>153<\/td>\n<td>214<\/td>\n<td>240<\/td>\n<td>292<\/td>\n<td>300<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q566859\">Show Solution<\/span><\/p>\n<div id=\"q566859\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165137891478\">Here, the average speed is the average rate of change. She traveled 282 miles in 6 hours, for an average speed of<\/p>\n<p style=\"text-align: center;\">[latex]\\frac{292 - 10}{6 - 0} =\\frac{282}{6} =47[\/latex]<\/p>\n<p id=\"fs-id1165135400200\">The average speed is 47 miles per hour.<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p id=\"fs-id1165137731074\">Because the speed is not constant, the average speed depends on the interval chosen. For the interval [2,3], the average speed is 63 miles per hour.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Example_01_03_04\" class=\"example\">\n<div id=\"fs-id1165135353057\" class=\"exercise\">\n<div id=\"fs-id1165135383644\" class=\"problem textbox shaded\">\n<h3>Example 4: Computing Average Rate of Change for a Function Expressed as a Formula<\/h3>\n<p id=\"fs-id1165131958324\">Compute the average rate of change of [latex]f\\left(x\\right)={x}^{2}-\\frac{1}{x}[\/latex] on the interval [latex]\\text{[2,}\\text{4].}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q222718\">Show Solution<\/span><\/p>\n<div id=\"q222718\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165137595441\">We can start by computing the function values at each <strong>endpoint<\/strong> of the interval.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}f\\left(2\\right)&={2}^{2}-\\frac{1}{2} &&& f\\left(4\\right)&={4}^{2}-\\frac{1}{4} \\\\ &=4-\\frac{1}{2} &&&& =16-\\frac{1}{4} \\\\ &=\\frac{7}{2} &&&& =\\frac{63}{4} \\end{align}[\/latex]<\/p>\n<p id=\"fs-id1165137427523\">Now we compute the average rate of change.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}\\text{Average rate of change}&=\\frac{f\\left(4\\right)-f\\left(2\\right)}{4 - 2} \\\\[1mm] &=\\frac{\\frac{63}{4}-\\frac{7}{2}}{4 - 2} \\\\[1mm] &=\\frac{\\frac{49}{4}}{2} \\\\[1mm] &=\\frac{49}{8} \\end{align}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>The following video provides another example of finding the average rate of change of a function given a formula and an interval.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-2\" title=\"Ex:  Find the Average Rate of Change Given a Function Rule\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/g93QEKJXeu4?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/h3>\n<p id=\"fs-id1165137832324\">Find the average rate of change of [latex]f\\left(x\\right)=x - 2\\sqrt{x}[\/latex] on the interval [latex]\\left[1,9\\right][\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q191250\">Show Solution<\/span><\/p>\n<div id=\"q191250\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]\\frac{1}{2}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm165703\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=165703&theme=oea&iframe_resize_id=ohm165703\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<div id=\"Example_01_03_05\" class=\"example\">\n<div id=\"fs-id1165137772170\" class=\"exercise\">\n<div id=\"fs-id1165137772173\" class=\"problem textbox shaded\">\n<h3>Example 5: Finding the Average Rate of Change of a Force<\/h3>\n<p id=\"fs-id1165135443718\">The <strong>electrostatic force<\/strong> [latex]F[\/latex], measured in newtons, between two charged particles can be related to the distance between the particles [latex]d[\/latex], in centimeters, by the formula [latex]F\\left(d\\right)=\\frac{2}{{d}^{2}}[\/latex]. Find the average rate of change of force if the distance between the particles is increased from 2 cm to 6 cm.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q271117\">Show Solution<\/span><\/p>\n<div id=\"q271117\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165137770364\">We are computing the average rate of change of [latex]F\\left(d\\right)=\\frac{2}{{d}^{2}}[\/latex] on the interval [latex]\\left[2,6\\right][\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}\\text{Average rate of change }&=\\frac{F\\left(6\\right)-F\\left(2\\right)}{6 - 2} \\\\[1mm] &=\\frac{\\frac{2}{{6}^{2}}-\\frac{2}{{2}^{2}}}{6 - 2} && \\text{Simplify}. \\\\[1mm] &=\\frac{\\frac{2}{36}-\\frac{2}{4}}{4} \\\\[1mm] &=\\frac{-\\frac{16}{36}}{4} &&\\text{Combine numerator terms}. \\\\[1mm] &=-\\frac{1}{9}&&\\text{Simplify}\\end{align}[\/latex]<\/p>\n<p id=\"fs-id1165135543242\">The average rate of change is [latex]-\\frac{1}{9}[\/latex] newton per centimeter.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Example_01_03_06\" class=\"example\">\n<div id=\"fs-id1165135174952\" class=\"exercise\">\n<div id=\"fs-id1165135174954\" class=\"problem textbox shaded\">\n<h3>Example 6: Finding an Average Rate of Change as an Expression<\/h3>\n<p id=\"fs-id1165135155397\">Find the average rate of change of [latex]g\\left(t\\right)={t}^{2}+3t+1[\/latex] on the interval [latex]\\left[0,a\\right][\/latex]. The answer will be an expression involving [latex]a[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q138559\">Show Solution<\/span><\/p>\n<div id=\"q138559\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165137418913\">We use the average rate of change formula.<\/p>\n<p style=\"text-align: center;\">\u200b[latex]\\begin{align}\\text{Average rate of change}&=\\frac{g\\left(a\\right)-g\\left(0\\right)}{a - 0}&&\\text{Evaluate} \\\\[1mm] &\u200b=\\frac{\\left({a}^{2}+3a+1\\right)-\\left({0}^{2}+3\\left(0\\right)+1\\right)}{a - 0}&&\\text{Simplify}\u200b \\\\[1mm] &=\\frac{{a}^{2}+3a+1 - 1}{a}&&\\text{Simplify and factor}\u200b \\\\[1mm] &=\\frac{a\\left(a+3\\right)}{a}&&\\text{Divide by the common factor }a\u200b \\\\[1mm] &=a+3 \\end{align}[\/latex]<\/p>\n<p id=\"fs-id1165133316469\">This result tells us the average rate of change in terms of [latex]a[\/latex] between [latex]t=0[\/latex] and any other point [latex]t=a[\/latex]. For example, on the interval [latex]\\left[0,5\\right][\/latex], the average rate of change would be [latex]5+3=8[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/h3>\n<p id=\"fs-id1165134149846\">Find the average rate of change of [latex]f\\left(x\\right)={x}^{2}+2x - 8[\/latex] on the interval [latex]\\left[5,a\\right][\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q944512\">Show Solution<\/span><\/p>\n<div id=\"q944512\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]a+7[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p id=\"fs-id1165137784644\">As part of exploring how functions change, we can identify intervals over which the function is changing in specific ways. We say that a function is increasing on an interval if the function values increase as the input values increase within that interval. Similarly, a function is decreasing on an interval if the function values decrease as the input values increase over that interval. The average rate of change of an increasing function is positive, and the average rate of change of a decreasing function is negative. Figure 3\u00a0shows examples of increasing and decreasing intervals on a function.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010554\/CNX_Precalc_Figure_01_03_0042.jpg\" alt=\"Graph of a polynomial that shows the increasing and decreasing intervals and local maximum and minimum.\" width=\"487\" height=\"518\" \/><\/p>\n<p style=\"text-align: center;\"><strong>Figure 3.<\/strong> The function [latex]f\\left(x\\right)={x}^{3}-12x[\/latex] is increasing on [latex]\\left(-\\infty \\text{,}-\\text{2}\\right){{\\cup }^{\\text{ }}}^{\\text{ }}\\left(2,\\infty \\right)[\/latex] and is decreasing on [latex]\\left(-2\\text{,}2\\right)[\/latex].<\/p>\n<p>This video further explains how to find where a function is increasing or decreasing.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-3\" title=\"Determine Where a Function is Increasing and Decreasing\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/78b4HOMVcKM?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p id=\"fs-id1165134272749\">While some functions are increasing (or decreasing) over their entire domain, many others are not. A value of the input where a function changes from increasing to decreasing (as we go from left to right, that is, as the input variable increases) is called a <strong>local maximum<\/strong>. If a function has more than one, we say it has local maxima. Similarly, a value of the input where a function changes from decreasing to increasing as the input variable increases is called a <strong>local minimum<\/strong>. The plural form is &#8220;local minima.&#8221; Together, local maxima and minima are called <strong>local extrema<\/strong>, or local extreme values, of the function. (The singular form is &#8220;extremum.&#8221;) Often, the term <em>local<\/em> is replaced by the term <em>relative<\/em>. In this text, we will use the term <em>local<\/em>.<\/p>\n<p id=\"fs-id1165134547216\">Clearly, a function is neither increasing nor decreasing on an interval where it is constant. A function is also neither increasing nor decreasing at extrema. Note that we have to speak of <em>local<\/em> extrema, because any given local extremum as defined here is not necessarily the highest maximum or lowest minimum in the function\u2019s entire domain.<\/p>\n<p>For the function in Figure 4, the local maximum is 16, and it occurs at [latex]x=-2[\/latex]. The local minimum is [latex]-16[\/latex] and it occurs at [latex]x=2[\/latex].<\/p>\n<div style=\"width: 741px\" 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\/1227\/2015\/04\/03010554\/CNX_Precalc_Figure_01_03_0142.jpg\" alt=\"Graph of a polynomial that shows the increasing and decreasing intervals and local maximum and minimum. The local maximum is 16 and occurs at x = negative 2. This is the point negative 2, 16. The local minimum is negative 16 and occurs at x = 2. This is the point 2, negative 16.\" width=\"731\" height=\"467\" \/><\/p>\n<p class=\"wp-caption-text\"><strong>Figure 4<\/strong><\/p>\n<\/div>\n<p id=\"fs-id1165133316450\">To locate the local maxima and minima from a graph, we need to observe the graph to determine where the graph attains its highest and lowest points, respectively, within an open interval. Like the summit of a roller coaster, the graph of a function is higher at a local maximum than at nearby points on both sides. The graph will also be lower at a local minimum than at neighboring points. Figure 5\u00a0illustrates these ideas for a local maximum.<\/p>\n<div style=\"width: 497px\" 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\/1227\/2015\/04\/03010554\/CNX_Precalc_Figure_01_03_0052.jpg\" alt=\"Graph of a polynomial that shows the increasing and decreasing intervals and local maximum.\" width=\"487\" height=\"295\" \/><\/p>\n<p class=\"wp-caption-text\"><strong>Figure 5.<\/strong> Definition of a local maximum.<\/p>\n<\/div>\n<p id=\"eip-673\">These observations lead us to a formal definition of local extrema.<\/p>\n<div id=\"fs-id1165134169419\" class=\"note textbox\">\n<h3 class=\"title\">A General Note: Local Minima and Local Maxima<\/h3>\n<p id=\"fs-id1165134169426\">A function [latex]f[\/latex] is an <strong>increasing function<\/strong> on an open interval if [latex]f\\left(b\\right)>f\\left(a\\right)[\/latex] for any two input values [latex]a[\/latex] and [latex]b[\/latex] in the given interval where [latex]b>a[\/latex].<\/p>\n<p id=\"fs-id1165137668624\">A function [latex]f[\/latex] is a <strong>decreasing function<\/strong> on an open interval if [latex]f\\left(b\\right)<f\\left(a\\right)[\/latex] for any two input values [latex]a[\/latex] and [latex]b[\/latex] in the given interval where [latex]b>a[\/latex].<\/p>\n<p id=\"fs-id1165135389881\">A function [latex]f[\/latex] has a local maximum at [latex]x=b[\/latex] if there exists an interval [latex]\\left(a,c\\right)[\/latex] with [latex]a<b<c[\/latex] such that, for any [latex]x[\/latex] in the interval [latex]\\left(a,c\\right)[\/latex], [latex]f\\left(x\\right)\\le f\\left(b\\right)[\/latex]. Likewise, [latex]f[\/latex] has a local minimum at [latex]x=b[\/latex] if there exists an interval [latex]\\left(a,c\\right)[\/latex] with [latex]a<b<c[\/latex] such that, for any [latex]x[\/latex] in the interval [latex]\\left(a,c\\right)[\/latex], [latex]f\\left(x\\right)\\ge f\\left(b\\right)[\/latex].<\/p>\n<\/div>\n<div id=\"Example_01_03_07\" class=\"example\">\n<div id=\"fs-id1165134266716\" class=\"exercise\">\n<div id=\"fs-id1165134266718\" class=\"problem textbox shaded\">\n<h3>Example 7: Finding Increasing and Decreasing Intervals on a Graph<\/h3>\n<p>Given the function [latex]p\\left(t\\right)[\/latex] in the graph below, identify the intervals on which the function appears to be increasing.<\/p>\n<div style=\"width: 497px\" 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\/1227\/2015\/04\/03010554\/CNX_Precalc_Figure_01_03_0062.jpg\" alt=\"Graph of a polynomial. As x gets large in the negative direction, the outputs of the function get large in the positive direction. As inputs approach 1, then the function value approaches a minimum of negative one. As x approaches 3, the values increase again and between 3 and 4 decrease one last time. As x gets large in the positive direction, the function values increase without bound.\" width=\"487\" height=\"295\" \/><\/p>\n<p class=\"wp-caption-text\"><strong>Figure 6<\/strong><\/p>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q331055\">Show Solution<\/span><\/p>\n<div id=\"q331055\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165133067197\">We see that the function is not constant on any interval. The function is increasing where it slants upward as we move to the right and decreasing where it slants downward as we move to the right. The function appears to be increasing from [latex]t=1[\/latex] to [latex]t=3[\/latex] and from [latex]t=4[\/latex] on.<\/p>\n<p id=\"fs-id1165135369127\">In <strong>interval notation<\/strong>, we would say the function appears to be increasing on the interval (1,3) and the interval [latex]\\left(4,\\infty \\right)[\/latex].<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p id=\"fs-id1165134104021\">Notice in this example that we used open intervals (intervals that do not include the endpoints), because the function is neither increasing nor decreasing at [latex]t=1[\/latex] , [latex]t=3[\/latex] , and [latex]t=4[\/latex] . These points are the local extrema (two minima and a maximum).<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Example_01_03_08\" class=\"example\">\n<div id=\"fs-id1165135261521\" class=\"exercise\">\n<div id=\"fs-id1165135261523\" class=\"problem textbox shaded\">\n<h3>Example 8: Finding Local Extrema from a Graph<\/h3>\n<p id=\"fs-id1165135261528\">Graph the function [latex]f\\left(x\\right)=\\frac{2}{x}+\\frac{x}{3}[\/latex]. Then use the graph to estimate the local extrema of the function and to determine the intervals on which the function is increasing.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q453777\">Show Solution<\/span><\/p>\n<div id=\"q453777\" class=\"hidden-answer\" style=\"display: none\">\n<p>Using technology, we find that the graph of the function looks like that in Figure 7. It appears there is a low point, or local minimum, between [latex]x=2[\/latex] and [latex]x=3[\/latex], and a mirror-image high point, or local maximum, somewhere between [latex]x=-3[\/latex] and [latex]x=-2[\/latex].<\/p>\n<div style=\"width: 497px\" 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\/1227\/2015\/04\/03010554\/CNX_Precalc_Figure_01_03_0072.jpg\" alt=\"Graph of a reciprocal function.\" width=\"487\" height=\"368\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 7<\/b><\/p>\n<\/div>\n<h4>Analysis of the Solution<\/h4>\n<p>Most graphing calculators and graphing utilities can estimate the location of maxima and minima. Figure 7\u00a0provides screen images from two different technologies, showing the estimate for the local maximum and minimum.<\/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\/1227\/2015\/04\/03010555\/CNX_Precalc_Figure_01_03_008ab2.jpg\" alt=\"Graph of the reciprocal function on a graphing calculator.\" width=\"975\" height=\"376\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 8<\/b><\/p>\n<\/div>\n<p id=\"fs-id1165134075625\">Based on these estimates, the function is increasing on the interval [latex]\\left(-\\infty ,-{2.449}\\right)[\/latex]<br \/>\nand [latex]\\left(2.449\\text{,}\\infty \\right)[\/latex]. Notice that, while we expect the extrema to be symmetric, the two different technologies agree only up to four decimals due to the differing approximation algorithms used by each. (The exact location of the extrema is at [latex]\\pm \\sqrt{6}[\/latex], but determining this requires calculus.)<\/p>\n<\/div>\n<\/div>\n<p><b><\/b><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/h3>\n<p id=\"fs-id1165135640967\">Graph the function [latex]f\\left(x\\right)={x}^{3}-6{x}^{2}-15x+20[\/latex] to estimate the local extrema of the function. Use these to determine the intervals on which the function is increasing and decreasing.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q48622\">Show Solution<\/span><\/p>\n<div id=\"q48622\" class=\"hidden-answer\" style=\"display: none\">\n<p>The local maximum is 28 at\u00a0<em>x\u00a0<\/em>= -1\u00a0and the local minimum is -80 at\u00a0<em>x<\/em> = 5. The function is increasing on [latex]\\left(-\\infty ,-1\\right)\\cup \\left(5,\\infty \\right)[\/latex] and decreasing on [latex]\\left(-1,5\\right)[\/latex].<\/p>\n<p><span id=\"fs-id1165134043615\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010555\/CNX_Precalc_Figure_01_03_0102.jpg\" alt=\"Graph of a polynomial with a local maximum at (-1, 28) and local minimum at (5, -80).\" width=\"487\" height=\"328\" \/><\/span><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm165724\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=165724&theme=oea&iframe_resize_id=ohm165724\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<div id=\"Example_01_03_09\" class=\"example\">\n<div id=\"fs-id1165135367558\" class=\"exercise\">\n<div id=\"fs-id1165137896103\" class=\"problem textbox shaded\">\n<h3>Example 9: Finding Local Maxima and Minima from a Graph<\/h3>\n<p>For the function [latex]f[\/latex] whose graph is shown in Figure 9, find all local maxima and minima.<\/p>\n<div style=\"width: 497px\" 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\/1227\/2015\/04\/03010555\/CNX_Precalc_Figure_01_03_0112.jpg\" alt=\"Graph of a polynomial. The line curves down to x = negative 2 and up to x = 1.\" width=\"487\" height=\"368\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 9<\/b><\/p>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q209462\">Show Solution<\/span><\/p>\n<div id=\"q209462\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165135527085\">Observe the graph of [latex]f[\/latex]. The graph attains a local maximum at [latex]x=1[\/latex] because it is the highest point in an open interval around [latex]x=1[\/latex]. The local maximum is the [latex]y[\/latex] -coordinate at [latex]x=1[\/latex], which is [latex]2[\/latex].<\/p>\n<p id=\"fs-id1165134485672\">The graph attains a local minimum at [latex]\\text{ }x=-1\\text{ }[\/latex] because it is the lowest point in an open interval around [latex]x=-1[\/latex]. The local minimum is the <em>y<\/em>-coordinate at [latex]x=-1[\/latex], which is [latex]-2[\/latex].<\/p>\n<\/div>\n<\/div>\n<p><b><\/b><\/p>\n<\/div>\n<\/div>\n<\/div>\n<section id=\"fs-id1165134544960\">\n<h1 style=\"text-align: center;\"><span style=\"text-decoration: underline;\">Analyzing the Toolkit Functions for Increasing or Decreasing Intervals<\/span><\/h1>\n<p>We will now return to our toolkit functions and discuss their graphical behavior in the table\u00a0below.<\/p>\n<table>\n<thead>\n<tr>\n<th>Function<\/th>\n<th>Increasing\/Decreasing<\/th>\n<th>Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Constant Function<\/p>\n<p>[latex]f\\left(x\\right)={c}[\/latex]<\/td>\n<td>Neither increasing nor decreasing<\/td>\n<td>\u00a0<a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012927\/Screen-Shot-2015-08-20-at-8.52.37-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12510 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012927\/Screen-Shot-2015-08-20-at-8.52.37-AM.png\" alt=\"\" width=\"143\" height=\"146\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td>Identity Function<\/p>\n<p>[latex]f\\left(x\\right)={x}[\/latex]<\/td>\n<td>\u00a0Increasing<\/td>\n<td><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.52.47-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12511 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.52.47-AM.png\" alt=\"\" width=\"143\" height=\"147\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td>Quadratic Function<\/p>\n<p>[latex]f\\left(x\\right)={x}^{2}[\/latex]<\/td>\n<td>Increasing on\u00a0[latex]\\left(0,\\infty\\right)[\/latex]<\/p>\n<p>Decreasing on\u00a0[latex]\\left(-\\infty,0\\right)[\/latex]<\/p>\n<p>Minimum at [latex]x=0[\/latex]<\/td>\n<td><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.52.54-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12512\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.52.54-AM.png\" alt=\"\" width=\"138\" height=\"143\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td>Cubic Function<\/p>\n<p>[latex]f\\left(x\\right)={x}^{3}[\/latex]<\/td>\n<td>Increasing<\/td>\n<td><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.02-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12513 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.02-AM.png\" alt=\"\" width=\"137\" height=\"145\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td>\u00a0Reciprocal<\/p>\n<p>[latex]f\\left(x\\right)=\\frac{1}{x}[\/latex]<\/td>\n<td>Decreasing [latex]\\left(-\\infty,0\\right)\\cup\\left(0,\\infty\\right)[\/latex]<\/td>\n<td><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.09-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12514 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.09-AM.png\" alt=\"\" width=\"138\" height=\"146\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td>Reciprocal Squared<\/p>\n<p>[latex]f\\left(x\\right)=\\frac{1}{{x}^{2}}[\/latex]<\/td>\n<td>Increasing on\u00a0[latex]\\left(-\\infty,0\\right)[\/latex]<\/p>\n<p>Decreasing on\u00a0[latex]\\left(0,\\infty\\right)[\/latex]<\/td>\n<td><a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.16-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12515\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012928\/Screen-Shot-2015-08-20-at-8.53.16-AM.png\" alt=\"\" width=\"134\" height=\"145\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td>Cube Root<\/p>\n<p>[latex]f\\left(x\\right)=\\sqrt[3]{x}[\/latex]<\/p>\n<p>&nbsp;<\/td>\n<td>Increasing<\/td>\n<td>\u00a0<a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.26-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12516\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.26-AM.png\" alt=\"Screen Shot 2015-08-20 at 8.53.26 AM\" width=\"140\" height=\"147\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td>Square Root<\/p>\n<p>[latex]f\\left(x\\right)=\\sqrt{x}[\/latex]<\/td>\n<td>Increasing on [latex]\\left(0,\\infty\\right)[\/latex]<\/td>\n<td>\u00a0<a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.33-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12517\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.33-AM.png\" alt=\"\" width=\"138\" height=\"142\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td>Absolute Value<\/p>\n<p>[latex]f\\left(x\\right)=|x|[\/latex]<\/td>\n<td>Increasing on [latex]\\left(0,\\infty\\right)[\/latex]<\/p>\n<p>Decreasing on\u00a0[latex]\\left(-\\infty,0\\right)[\/latex]<\/td>\n<td>\u00a0<a href=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.40-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-12518 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/08\/03012929\/Screen-Shot-2015-08-20-at-8.53.40-AM.png\" alt=\"\" width=\"135\" height=\"143\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div id=\"fs-id1165135708033\" class=\"note precalculus media\">\n<section id=\"fs-id1165135541564\" class=\"key-equations\">\n<h1>Composition of Functions<\/h1>\n<p id=\"fs-id1165134094620\">Suppose we want to calculate how much it costs to heat a house on a particular day of the year. The cost to heat a house will depend on the average daily temperature, and in turn, the average daily temperature depends on the particular day of the year. Notice how we have just defined two relationships: The cost depends on the temperature, and the temperature depends on the day.<\/p>\n<div style=\"width: 497px\" 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\/1227\/2015\/04\/03010513\/CNX_Precalc_Figure_01_04_0062.jpg\" alt=\"Explanation of C(T(5)), which is the cost for the temperature and T(5) is the temperature on day 5.\" width=\"487\" height=\"140\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 1<\/b><\/p>\n<\/div>\n<p id=\"fs-id1165134038788\">Using descriptive variables, we can notate these two functions. The function [latex]C\\left(T\\right)[\/latex] gives the cost [latex]C[\/latex] of heating a house for a given average daily temperature in [latex]T[\/latex] degrees Celsius. The function [latex]T\\left(d\\right)[\/latex] gives the average daily temperature on day [latex]d[\/latex] of the year. For any given day, [latex]\\text{Cost}=C\\left(T\\left(d\\right)\\right)[\/latex] means that the cost depends on the temperature, which in turns depends on the day of the year. Thus, we can evaluate the cost function at the temperature [latex]T\\left(d\\right)[\/latex]. For example, we could evaluate [latex]T\\left(5\\right)[\/latex] to determine the average daily temperature on the 5th day of the year. Then, we could evaluate the <strong>cost function<\/strong> at that temperature. We would write [latex]C\\left(T\\left(5\\right)\\right)[\/latex].<span id=\"fs-id1165137424478\"><br \/>\n<\/span><\/p>\n<p id=\"fs-id1165137460512\">By combining these two relationships into one function, we have performed function composition, which is the focus of this section.<\/p>\n<h2>Combining Functions Using Algebraic Operations<\/h2>\n<p id=\"fs-id1165137446477\">Function composition is only one way to combine existing functions. Another way is to carry out the usual algebraic operations on functions, such as addition, subtraction, multiplication and division. We do this by performing the operations with the function outputs, defining the result as the output of our new function.<\/p>\n<p id=\"fs-id1165135533159\">Suppose we need to add two columns of numbers that represent a husband and wife\u2019s separate annual incomes over a period of years, with the result being their total household income. We want to do this for every year, adding only that year\u2019s incomes and then collecting all the data in a new column. If [latex]w\\left(y\\right)[\/latex] is the wife\u2019s income and [latex]h\\left(y\\right)[\/latex] is the husband\u2019s income in year [latex]y[\/latex], and we want [latex]T[\/latex] to represent the total income, then we can define a new function.<\/p>\n<div id=\"fs-id1165137641862\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]T\\left(y\\right)=h\\left(y\\right)+w\\left(y\\right)[\/latex]<\/div>\n<p id=\"fs-id1165135347766\">If this holds true for every year, then we can focus on the relation between the functions without reference to a year and write<\/p>\n<div id=\"fs-id1165137665765\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]T=h+w[\/latex]<\/div>\n<p id=\"fs-id1165132957142\">Just as for this sum of two functions, we can define difference, product, and ratio functions for any pair of functions that have the same kinds of inputs (not necessarily numbers) and also the same kinds of outputs (which do have to be numbers so that the usual operations of algebra can apply to them, and which also must have the same units or no units when we add and subtract). In this way, we can think of adding, subtracting, multiplying, and dividing functions.<\/p>\n<p id=\"fs-id1165137424116\">For two functions [latex]f\\left(x\\right)[\/latex] and [latex]g\\left(x\\right)[\/latex] with real number outputs, we define new functions [latex]f+g,f-g,fg[\/latex], and [latex]\\frac{f}{g}[\/latex] by the relations<\/p>\n<div id=\"fs-id1165137543139\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{gathered}\\left(f+g\\right)\\left(x\\right)=f\\left(x\\right)+g\\left(x\\right) \\\\[2mm] \\left(f-g\\right)\\left(x\\right)=f\\left(x\\right)-g\\left(x\\right) \\\\[2mm] \\left(fg\\right)\\left(x\\right)=f\\left(x\\right) \\cdot g\\left(x\\right) \\\\[2mm] \\left(\\frac{f}{g}\\right)\\left(x\\right)=\\frac{f\\left(x\\right)}{g\\left(x\\right)} \\\\[5mm]\\text{ } \\end{gathered}[\/latex]<\/div>\n<div id=\"Example_01_04_01\" class=\"example\">\n<div id=\"fs-id1165137585443\" class=\"exercise\">\n<div id=\"fs-id1165137573272\" class=\"problem textbox shaded\">\n<h3>Example 1: Performing Algebraic Operations on Functions<\/h3>\n<p id=\"fs-id1165135304963\">Find and simplify the functions [latex]\\left(g-f\\right)\\left(x\\right)[\/latex] and [latex]\\left(\\frac{g}{f}\\right)\\left(x\\right)[\/latex], given [latex]f\\left(x\\right)=x - 1[\/latex] and [latex]g\\left(x\\right)={x}^{2}-1[\/latex]. Are they the same function?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q516326\">Show Solution<\/span><\/p>\n<div id=\"q516326\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165137466263\">Begin by writing the general form, and then substitute the given functions.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}\\left(g-f\\right)\\left(x\\right)&=g\\left(x\\right)-f\\left(x\\right) \\\\[1.5mm] &={x}^{2}-1-\\left(x - 1\\right)\\\\[1.5mm] &={x}^{2}-x \\\\[1.5mm] &=x\\left(x - 1\\right) \\end{align}[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 [latex]\\begin{align} \\left(\\frac{g}{f}\\right)\\left(x\\right)&=\\frac{g\\left(x\\right)}{f\\left(x\\right)} \\\\[1.5mm] &=\\frac{{x}^{2}-1}{x - 1}\\\\[1.5mm] &=\\frac{\\left(x+1\\right)\\left(x - 1\\right)}{x - 1}\\text{ where }x\\ne 1 \\\\[1.5mm] &=x+1 \\end{align}[\/latex]<\/p>\n<p id=\"fs-id1165137553743\">No, the functions are not the same.<\/p>\n<p id=\"fs-id1165135351612\">Note: For [latex]\\left(\\frac{g}{f}\\right)\\left(x\\right)[\/latex], the condition [latex]x\\ne 1[\/latex] is necessary because when [latex]x=1[\/latex], the denominator is equal to 0, which makes the function undefined.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3 id=\"fs-id1165135333576\">Try It<\/h3>\n<p>Find and simplify the functions [latex]\\left(fg\\right)\\left(x\\right)[\/latex] and [latex]\\left(f-g\\right)\\left(x\\right)[\/latex].<\/p>\n<div id=\"fs-id1165137434994\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]f\\left(x\\right)=x - 1\\text{ and }g\\left(x\\right)={x}^{2}-1[\/latex]<\/div>\n<p id=\"fs-id1165137434911\">Are they the same function?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q34616\">Show Solution<\/span><\/p>\n<div id=\"q34616\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]\\left(fg\\right)\\left(x\\right)=f\\left(x\\right)\\cdot g\\left(x\\right)=\\left(x - 1\\right)\\left({x}^{2}-1\\right)={x}^{3}-{x}^{2}-x+1\\\\[4mm] \\left(f-g\\right)\\left(x\\right)=f\\left(x\\right)-g\\left(x\\right)=\\left(x - 1\\right)-\\left({x}^{2}-1\\right)=x-{x}^{2}[\/latex]<\/p>\n<p>No, the functions are not the same.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2 id=\"fs-id1165137619426\" class=\"solution\">Create a Function by Composition of Functions<\/h2>\n<p>Performing algebraic operations on functions combines them into a new function, but we can also create functions by composing functions. When we wanted to compute a heating cost from a day of the year, we created a new function that takes a day as input and yields a cost as output. The process of combining functions so that the output of one function becomes the input of another is known as a composition of functions. The resulting function is known as a composite function. We represent this combination by the following notation:<\/p>\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)=f\\left(g\\left(x\\right)\\right)[\/latex]<\/p>\n<p>We read the left-hand side as [latex]\"f[\/latex] composed with [latex]g[\/latex] at [latex]x,\"[\/latex] and the right-hand side as [latex]\"f[\/latex] of [latex]g[\/latex] of [latex]x.\"[\/latex] The two sides of the equation have the same mathematical meaning and are equal. The open circle symbol [latex]\\circ[\/latex] is called the composition operator. We use this operator mainly when we wish to emphasize the relationship between the functions themselves without referring to any particular input value. Composition is a binary operation that takes two functions and forms a new function, much as addition or multiplication takes two numbers and gives a new number. However, it is important not to confuse function composition with multiplication because, as we learned above, in most cases [latex]f\\left(g\\left(x\\right)\\right)\\ne f\\left(x\\right)g\\left(x\\right)[\/latex].<\/p>\n<p>It is also important to understand the order of operations in evaluating a composite function. We follow the usual convention with parentheses by starting with the innermost parentheses first, and then working to the outside. In the equation above, the function [latex]g[\/latex] takes the input [latex]x[\/latex] first and yields an output [latex]g\\left(x\\right)[\/latex]. Then the function [latex]f[\/latex] takes [latex]g\\left(x\\right)[\/latex] as an input and yields an output [latex]f\\left(g\\left(x\\right)\\right)[\/latex].<\/p>\n<div style=\"width: 497px\" 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\/1227\/2015\/04\/03010513\/CNX_Precalc_Figure_01_04_0012.jpg\" alt=\"Explanation of the composite function. g(x), the output of g is the input of f. X is the input of g.\" width=\"487\" height=\"171\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 2<\/b><\/p>\n<\/div>\n<div class=\"note precalculus try\">\n<p>In general, [latex]f\\circ g[\/latex] and [latex]g\\circ f[\/latex] are different functions. In other words, in many cases [latex]f\\left(g\\left(x\\right)\\right)\\ne g\\left(f\\left(x\\right)\\right)[\/latex] for all [latex]x[\/latex]. We will also see that sometimes two functions can be composed only in one specific order.<\/p>\n<p>For example, if [latex]f\\left(x\\right)={x}^{2}[\/latex] and [latex]g\\left(x\\right)=x+2[\/latex], then<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}f\\left(g\\left(x\\right)\\right)&=f\\left(x+2\\right) \\\\ &={\\left(x+2\\right)}^{2} \\\\ &={x}^{2}+4x+4 \\end{align}[\/latex]<\/p>\n<p style=\"text-align: left;\">but<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align} g\\left(f\\left(x\\right)\\right)&=g\\left({x}^{2}\\right)\\\\ &={x}^{2}+2 \\end{align}[\/latex]<\/p>\n<p>These expressions are not equal for all values of [latex]x[\/latex], so the two functions are not equal.<\/p>\n<p>Note that the range of the inside function (the first function to be evaluated) needs to be within the domain of the outside function. Less formally, the composition has to make sense in terms of inputs and outputs.<\/p>\n<div class=\"textbox\">\n<h3>A General Note: Composition of Functions<\/h3>\n<p>When the output of one function is used as the input of another, we call the entire operation a composition of functions. For any input [latex]x[\/latex] and functions [latex]f[\/latex] and [latex]g[\/latex], this action defines a composite function, which we write as [latex]f\\circ g[\/latex] such that<\/p>\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)=f\\left(g\\left(x\\right)\\right)[\/latex]<\/p>\n<p>The domain of the composite function [latex]f\\circ g[\/latex] is all [latex]x[\/latex] such that [latex]x[\/latex] is in the domain of [latex]g[\/latex] and [latex]g\\left(x\\right)[\/latex] is in the domain of [latex]f[\/latex].<\/p>\n<p>It is important to realize that the product of functions [latex]fg[\/latex] is not the same as the function composition [latex]f\\left(g\\left(x\\right)\\right)[\/latex], because, in general, [latex]f\\left(x\\right)g\\left(x\\right)\\ne f\\left(g\\left(x\\right)\\right)[\/latex].<\/p>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 2: Determining whether Composition of Functions is Commutative<\/h3>\n<p>Using the functions below, find [latex]f\\left(g\\left(x\\right)\\right)[\/latex] and [latex]g\\left(f\\left(x\\right)\\right)[\/latex]. Determine whether the composition of the functions is commutative.<\/p>\n<p style=\"text-align: center;\">[latex]f\\left(x\\right)=2x+1[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 [latex]g\\left(x\\right)=3-x[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q513486\">Show Solution<\/span><\/p>\n<div id=\"q513486\" class=\"hidden-answer\" style=\"display: none\">\n<p>Let\u2019s begin by substituting [latex]g\\left(x\\right)[\/latex] into [latex]f\\left(x\\right)[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}f\\left(g\\left(x\\right)\\right)&=2\\left(3-x\\right)+1 \\\\ &=6 - 2x+1 \\\\ &=7 - 2x \\end{align}[\/latex]<\/p>\n<p style=\"text-align: left;\">Now we can substitute [latex]f\\left(x\\right)[\/latex] into [latex]g\\left(x\\right)[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}g\\left(f\\left(x\\right)\\right)&=3-\\left(2x+1\\right) \\\\ &=3 - 2x - 1 \\\\ &=-2x+2 \\end{align}[\/latex]<\/p>\n<p>We find that [latex]g\\left(f\\left(x\\right)\\right)\\ne f\\left(g\\left(x\\right)\\right)[\/latex], so the operation of function composition is not commutative.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 3: Interpreting Composite Functions<\/h3>\n<p>The function [latex]c\\left(s\\right)[\/latex] gives the number of calories burned completing [latex]s[\/latex] sit-ups, and [latex]s\\left(t\\right)[\/latex] gives the number of sit-ups a person can complete in [latex]t[\/latex] minutes. Interpret [latex]c\\left(s\\left(3\\right)\\right)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q813025\">Show Solution<\/span><\/p>\n<div id=\"q813025\" class=\"hidden-answer\" style=\"display: none\">\n<p>The inside expression in the composition is [latex]s\\left(3\\right)[\/latex]. Because the input to the s-function is time, [latex]t=3[\/latex] represents 3 minutes, and [latex]s\\left(3\\right)[\/latex] is the number of sit-ups completed in 3 minutes.<\/p>\n<p>Using [latex]s\\left(3\\right)[\/latex] as the input to the function [latex]c\\left(s\\right)[\/latex] gives us the number of calories burned during the number of sit-ups that can be completed in 3 minutes, or simply the number of calories burned in 3 minutes (by doing sit-ups).<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Example 4: Investigating the Order of Function Composition<\/h3>\n<p>Suppose [latex]f\\left(x\\right)[\/latex] gives miles that can be driven in [latex]x[\/latex] hours and [latex]g\\left(y\\right)[\/latex] gives the gallons of gas used in driving [latex]y[\/latex] miles. Which of these expressions is meaningful: [latex]f\\left(g\\left(y\\right)\\right)[\/latex] or [latex]g\\left(f\\left(x\\right)\\right)?[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q115223\">Show Solution<\/span><\/p>\n<div id=\"q115223\" class=\"hidden-answer\" style=\"display: none\">\n<p>The function [latex]y=f\\left(x\\right)[\/latex] is a function whose output is the number of miles driven corresponding to the number of hours driven.<\/p>\n<p style=\"text-align: center;\">[latex]\\text{number of miles }=f\\left(\\text{number of hours}\\right)[\/latex]<\/p>\n<p>The function [latex]g\\left(y\\right)[\/latex] is a function whose output is the number of gallons used corresponding to the number of miles driven. This means:<\/p>\n<p style=\"text-align: center;\">[latex]\\text{number of gallons }=g\\left(\\text{number of miles}\\right)[\/latex]<\/p>\n<p>The expression [latex]g\\left(y\\right)[\/latex] takes miles as the input and a number of gallons as the output. The function [latex]f\\left(x\\right)[\/latex] requires a number of hours as the input. Trying to input a number of gallons does not make sense. The expression [latex]f\\left(g\\left(y\\right)\\right)[\/latex] is meaningless.<\/p>\n<p>The expression [latex]f\\left(x\\right)[\/latex] takes hours as input and a number of miles driven as the output. The function [latex]g\\left(y\\right)[\/latex] requires a number of miles as the input. Using [latex]f\\left(x\\right)[\/latex] (miles driven) as an input value for [latex]g\\left(y\\right)[\/latex], where gallons of gas depends on miles driven, does make sense. The expression [latex]g\\left(f\\left(x\\right)\\right)[\/latex] makes sense, and will yield the number of gallons of gas used, [latex]g[\/latex], driving a certain number of miles, [latex]f\\left(x\\right)[\/latex], in [latex]x[\/latex] hours.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox\">\n<h3>Q &amp; A<\/h3>\n<p><strong>Are there any situations where [latex]f\\left(g\\left(y\\right)\\right)[\/latex] and [latex]g\\left(f\\left(x\\right)\\right)[\/latex] would both be meaningful or useful expressions?<\/strong><\/p>\n<p><em>Yes. For many pure mathematical functions, both compositions make sense, even though they usually produce different new functions. In real-world problems, functions whose inputs and outputs have the same units also may give compositions that are meaningful in either order.<\/em><\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/h3>\n<p>The gravitational force on a planet a distance r from the sun is given by the function [latex]G\\left(r\\right)[\/latex]. The acceleration of a planet subjected to any force [latex]F[\/latex] is given by the function [latex]a\\left(F\\right)[\/latex]. Form a meaningful composition of these two functions, and explain what it means.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q502863\">Show Solution<\/span><\/p>\n<div id=\"q502863\" class=\"hidden-answer\" style=\"display: none\">\n<p>A gravitational force is still a force, so [latex]a\\left(G\\left(r\\right)\\right)[\/latex] makes sense as the acceleration of a planet at a distance r from the Sun (due to gravity), but [latex]G\\left(a\\left(F\\right)\\right)[\/latex] does not make sense.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2>Evaluating Composite Functions<\/h2>\n<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\">\n<h2 style=\"text-align: center;\"><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\">\n<div id=\"fs-id1165137416770\" class=\"exercise\">\n<div id=\"fs-id1165137465672\" class=\"problem textbox shaded\">\n<h3>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 \/>\n<col \/>\n<col \/><\/colgroup>\n<thead>\n<tr>\n<th>[latex]x[\/latex]<\/th>\n<th>[latex]f\\left(x\\right)[\/latex]<\/th>\n<th>[latex]g\\left(x\\right)[\/latex]<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>6<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>8<\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>3<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>1<\/td>\n<td>7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q542531\">Show Solution<\/span><\/p>\n<div id=\"q542531\" class=\"hidden-answer\" style=\"display: none\">\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<p style=\"text-align: center;\">[latex]g\\left(3\\right)=2[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]f\\left(g\\left(3\\right)\\right)=f\\left(2\\right)=8[\/latex]<\/p>\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[\/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 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 \/>\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>3<\/td>\n<td>2<\/td>\n<td>8<\/td>\n<td>3<\/td>\n<td>2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3 id=\"fs-id1165134297603\">Try It<\/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 id=\"Table_01_04_01\" summary=\"Five rows and three columns. The first column is labeled,\">\n<colgroup>\n<col \/>\n<col \/>\n<col \/><\/colgroup>\n<thead>\n<tr>\n<th>[latex]x[\/latex]<\/th>\n<th>[latex]f\\left(x\\right)[\/latex]<\/th>\n<th>[latex]g\\left(x\\right)[\/latex]<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>6<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>8<\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>3<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>1<\/td>\n<td>7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q407008\">Show Solution<\/span><\/p>\n<div id=\"q407008\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]f\\left(g\\left(1\\right)\\right)=f\\left(3\\right)=3[\/latex] and [latex]g\\left(f\\left(4\\right)\\right)=g\\left(1\\right)=3[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<section id=\"fs-id1165137756068\">\n<div class=\"textbox key-takeaways\">\n<h3>Try it 4<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm165741\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=165741&theme=oea&iframe_resize_id=ohm165741\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<h2 style=\"text-align: center;\"><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\">\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\">\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\">\n<h3>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\/1227\/2015\/04\/03010513\/CNX_Precalc_Figure_01_04_002ab2.jpg\" alt=\"Explanation of the composite function.\" width=\"975\" height=\"543\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 3<\/b><\/p>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q516132\">Show Solution<\/span><\/p>\n<div id=\"q516132\" class=\"hidden-answer\" style=\"display: none\">\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\/1227\/2015\/04\/03010514\/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\" \/><\/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\"><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<p style=\"text-align: center;\">[latex]f\\left(g\\left(1\\right)\\right)=f\\left(3\\right)[\/latex]<\/p>\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<h4>Analysis of the Solution<\/h4>\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\/1227\/2015\/04\/03010514\/CNX_Precalc_Figure_01_04_0052.jpg\" alt=\"Two graphs of a positive and negative parabola.\" width=\"975\" height=\"520\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 5<\/b><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><b><\/b><b><\/b><\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/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\/1227\/2015\/04\/03010514\/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\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 6<\/b><\/p>\n<\/div>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q68844\">Show Solution<\/span><\/p>\n<div id=\"q68844\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]g\\left(f\\left(2\\right)\\right)=g\\left(5\\right)=3[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<section id=\"fs-id1165137452389\">\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm32890\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=32890&theme=oea&iframe_resize_id=ohm32890\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<h2 style=\"text-align: center;\"><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\">\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\">\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\">\n<div id=\"fs-id1165134070851\" class=\"exercise\">\n<div id=\"fs-id1165134070853\" class=\"problem textbox shaded\">\n<h3>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 class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q905220\">Show Solution<\/span><\/p>\n<div id=\"q905220\" class=\"hidden-answer\" style=\"display: none\">\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<p style=\"text-align: center;\">[latex]\\begin{align}h\\left(1\\right)&=3\\left(1\\right)+2\\\\ &=5\\end{align}[\/latex]<\/p>\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<p style=\"text-align: center;\">[latex]\\begin{align}f\\left(h\\left(1\\right)\\right)&=f\\left(5\\right)\\\\ &={5}^{2}-5\\\\ &=20\\end{align}[\/latex]<\/p>\n<h4>Analysis of the Solution<\/h4>\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>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/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<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q348291\">Show Solution<\/span><\/p>\n<div id=\"q348291\" class=\"hidden-answer\" style=\"display: none\">\n<p>A. 8; B. 20<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm69935\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=69935&theme=oea&iframe_resize_id=ohm69935\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<h2>Finding the Domain of a Composite Function<\/h2>\n<p id=\"fs-id1165135519324\">As we discussed previously, the <strong>domain of a composite function<\/strong> such as [latex]f\\circ g[\/latex] is dependent on the domain of [latex]g[\/latex] and the domain of [latex]f[\/latex]. It is important to know when we can apply a composite function and when we cannot, that is, to know the domain of a function such as [latex]f\\circ g[\/latex]. Let us assume we know the domains of the functions [latex]f[\/latex] and [latex]g[\/latex] separately. If we write the composite function for an input [latex]x[\/latex] as [latex]f\\left(g\\left(x\\right)\\right)[\/latex], we can see right away that [latex]x[\/latex] must be a member of the domain of [latex]g[\/latex] in order for the expression to be meaningful, because otherwise we cannot complete the inner function evaluation. However, we also see that [latex]g\\left(x\\right)[\/latex] must be a member of the domain of [latex]f[\/latex], otherwise the second function evaluation in [latex]f\\left(g\\left(x\\right)\\right)[\/latex] cannot be completed, and the expression is still undefined. Thus the domain of [latex]f\\circ g[\/latex] consists of only those inputs in the domain of [latex]g[\/latex] that produce outputs from [latex]g[\/latex] belonging to the domain of [latex]f[\/latex]. Note that the domain of [latex]f[\/latex] composed with [latex]g[\/latex] is the set of all [latex]x[\/latex] such that [latex]x[\/latex] is in the domain of [latex]g[\/latex] and [latex]g\\left(x\\right)[\/latex] is in the domain of [latex]f[\/latex].<\/p>\n<div id=\"fs-id1165135547254\" class=\"note textbox\">\n<h3 class=\"title\">A General Note: Domain of a Composite Function<\/h3>\n<p id=\"fs-id1165135426375\">The domain of a composite function [latex]f\\left(g\\left(x\\right)\\right)[\/latex] is the set of those inputs [latex]x[\/latex] in the domain of [latex]g[\/latex] for which [latex]g\\left(x\\right)[\/latex] is in the domain of [latex]f[\/latex].<\/p>\n<\/div>\n<div id=\"fs-id1165137663970\" class=\"note precalculus howto textbox\">\n<h3 id=\"fs-id1165135203267\">How To: Given a function composition [latex]f\\left(g\\left(x\\right)\\right)[\/latex], determine its domain.<\/h3>\n<ol id=\"fs-id1165137714200\">\n<li>Find the domain of [latex]g[\/latex].<\/li>\n<li>Find the domain of [latex]f[\/latex].<\/li>\n<li>Find those inputs, [latex]x[\/latex],\u00a0in the domain of [latex]g[\/latex]\u00a0for which [latex]g(x)[\/latex]\u00a0is in the domain of [latex]f[\/latex]. That is, exclude those inputs, [latex]x[\/latex], from the domain of [latex]g[\/latex]\u00a0for which [latex]g(x)[\/latex]\u00a0is not in the domain of [latex]f[\/latex]. The resulting set is the domain of [latex]f\\circ g[\/latex].<\/li>\n<\/ol>\n<\/div>\n<div id=\"Example_01_04_08\" class=\"example\">\n<div id=\"fs-id1165137646695\" class=\"exercise\">\n<div id=\"fs-id1165137646697\" class=\"problem textbox shaded\">\n<h3>Example 8: Finding the Domain of a Composite Function<\/h3>\n<p id=\"fs-id1165135640630\">Find the domain of<\/p>\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)\\text{ where}f\\left(x\\right)=\\frac{5}{x - 1}\\text{ and }g\\left(x\\right)=\\frac{4}{3x - 2}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q262512\">Show Solution<\/span><\/p>\n<div id=\"q262512\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165137627922\">The domain of [latex]g\\left(x\\right)[\/latex] consists of all real numbers except [latex]x=\\frac{2}{3}[\/latex], since that input value would cause us to divide by 0. Likewise, the domain of [latex]f[\/latex] consists of all real numbers except 1. So we need to exclude from the domain of [latex]g\\left(x\\right)[\/latex] that value of [latex]x[\/latex] for which [latex]g\\left(x\\right)=1[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}\\frac{4}{3x - 2}&=1 \\\\ 4&=3x - 2 &&\\text{Multiply by } 3x-2 \\\\ 6&=3x &&\\text{Add }2 \\\\ x&=2 && \\text{Divide by }3 \\end{align}[\/latex]<\/p>\n<p id=\"fs-id1165137891240\">So the domain of [latex]f\\circ g[\/latex] is the set of all real numbers except [latex]\\frac{2}{3}[\/latex] and [latex]2[\/latex]. This means that<\/p>\n<p style=\"text-align: center;\">[latex]x\\ne \\frac{2}{3}\\text{or}x\\ne 2[\/latex]<\/p>\n<p id=\"fs-id1165135152098\">We can write this in interval notation as<\/p>\n<p style=\"text-align: center;\">[latex]\\left(-\\infty ,\\frac{2}{3}\\right)\\cup \\left(\\frac{2}{3},2\\right)\\cup \\left(2,\\infty \\right)[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"Example_01_04_09\" class=\"example\">\n<div id=\"fs-id1165135353057\" class=\"exercise\">\n<div id=\"fs-id1165137444218\" class=\"problem textbox shaded\">\n<h3>Example 9: Finding the Domain of a Composite Function Involving Radicals<\/h3>\n<p id=\"fs-id1165135547426\">Find the domain of<\/p>\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)\\text{ where}f\\left(x\\right)=\\sqrt{x+2}\\text{ and }g\\left(x\\right)=\\sqrt{3-x}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q959136\">Show Solution<\/span><\/p>\n<div id=\"q959136\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165137812353\">Because we cannot take the square root of a negative number, the domain of [latex]g[\/latex] is [latex]\\left(-\\infty ,3\\right][\/latex]. Now we check the domain of the composite function<\/p>\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)=\\sqrt{3-x+2}\\text{ or }\\left(f\\circ g\\right)\\left(x\\right)=\\sqrt{5-x}[\/latex]<\/p>\n<p id=\"fs-id1165137871761\">The domain of this function is [latex]\\left(-\\infty ,5\\right][\/latex]. To find the domain of [latex]f\\circ g[\/latex], we ask ourselves if there are any further restrictions offered by the domain of the composite function. The answer is no, since [latex]\\left(-\\infty ,3\\right][\/latex] is a proper subset of the domain of [latex]f\\circ g[\/latex]. This means the domain of [latex]f\\circ g[\/latex] is the same as the domain of [latex]g[\/latex], namely, [latex]\\left(-\\infty ,3\\right][\/latex].<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p id=\"fs-id1165135241313\">This example shows that knowledge of the range of functions (specifically the inner function) can also be helpful in finding the domain of a composite function. It also shows that the domain of [latex]f\\circ g[\/latex] can contain values that are not in the domain of [latex]f[\/latex], though they must be in the domain of [latex]g[\/latex].<\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div id=\"fs-id1165135435597\" class=\"note precalculus try\">\n<div id=\"ti_01_04_07\" class=\"exercise\">\n<div id=\"fs-id1165137937116\" class=\"problem\">\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/h3>\n<p id=\"fs-id1165137937117\">Find the domain of<\/p>\n<p style=\"text-align: center;\">[latex]\\left(f\\circ g\\right)\\left(x\\right)\\text{ where}f\\left(x\\right)=\\frac{1}{x - 2}\\text{ and }g\\left(x\\right)=\\sqrt{x+4}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q645634\">Show Solution<\/span><\/p>\n<div id=\"q645634\" class=\"hidden-answer\" style=\"display: none\">\n<p>[latex]\\left[-4,0\\right)\\cup \\left(0,\\infty \\right)[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm165745\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=165745&theme=oea&iframe_resize_id=ohm165745\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<h2>Decomposing a Composite Function into its Component Functions<\/h2>\n<p id=\"fs-id1165135185936\">In some cases it is necessary to decompose a complicated function. In other words we can write it as a composition of two simpler functions. There are multiple ways to <span class=\"no-emphasis\">decompose a composite function<\/span>, but often one is the most obvious.<\/p>\n<div id=\"Example_01_04_10\" class=\"example\">\n<div id=\"fs-id1165134319721\" class=\"exercise\">\n<div id=\"fs-id1165134319723\" class=\"problem textbox shaded\">\n<h3>Example 10: Decomposing a Function<\/h3>\n<p id=\"fs-id1165137771903\">Write [latex]f\\left(x\\right)=\\sqrt{5-{x}^{2}}[\/latex] as the composition of two functions.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q841209\">Show Solution<\/span><\/p>\n<div id=\"q841209\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165135194522\">We are looking for two functions, [latex]g[\/latex] and [latex]h[\/latex], so [latex]f\\left(x\\right)=g\\left(h\\left(x\\right)\\right)[\/latex]. To do this, we look for a function inside a function in the formula for [latex]f\\left(x\\right)[\/latex]. As one possibility, we might notice that the expression [latex]5-{x}^{2}[\/latex] is the inside of the square root. We could then decompose the function as<\/p>\n<p style=\"text-align: center;\">[latex]h\\left(x\\right)=5-{x}^{2}\\text{ and }g\\left(x\\right)=\\sqrt{x}[\/latex]<\/p>\n<p id=\"fs-id1165135250635\">We can check our answer by recomposing the functions.<\/p>\n<p style=\"text-align: center;\">[latex]g\\left(h\\left(x\\right)\\right)=g\\left(5-{x}^{2}\\right)=\\sqrt{5-{x}^{2}}[\/latex]<\/p>\n<p>Another solution would be<\/p>\n<p style=\"text-align: center;\">[latex]h\\left(x\\right)={x}^{2}\\text{ and }g\\left(x\\right)=\\sqrt{5-x}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It<\/h3>\n<p>Write [latex]f\\left(x\\right)=\\frac{4}{3-\\sqrt{4+{x}^{2}}}[\/latex] as the composition of two functions.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q637567\">Show Solution<\/span><\/p>\n<div id=\"q637567\" class=\"hidden-answer\" style=\"display: none\">\n<p>Possible answer:<\/p>\n<p id=\"fs-id1165135333608\" style=\"padding-left: 30px;\">[latex]g\\left(x\\right)=\\sqrt{4+{x}^{2}}[\/latex]<\/p>\n<p style=\"padding-left: 30px;\">[latex]h\\left(x\\right)=\\frac{4}{3-x}[\/latex]<\/p>\n<p style=\"padding-left: 30px;\">[latex]f=h\\circ g[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<section id=\"fs-id1165135388428\" class=\"key-equations\">\n<div class=\"textbox key-takeaways\">\n<h3>Try It<\/h3>\n<p><iframe loading=\"lazy\" id=\"ohm32917\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=32917&theme=oea&iframe_resize_id=ohm32917\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/div>\n<h2 style=\"text-align: left;\">Key Equations<\/h2>\n<table id=\"eip-id1165134118229\" summary=\"..\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr>\n<td>Composite function<\/td>\n<td>[latex]\\left(f\\circ g\\right)\\left(x\\right)=f\\left(g\\left(x\\right)\\right)[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/section>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<table id=\"eip-id1165135358784\" summary=\"..\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr>\n<td>Average rate of change<\/td>\n<td>[latex]\\dfrac{\\Delta y}{\\Delta x}=\\dfrac{f\\left({x}_{2}\\right)-f\\left({x}_{1}\\right)}{{x}_{2}-{x}_{1}}[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/section>\n<section id=\"fs-id1165135481945\" class=\"key-concepts\">\n<h2>Key Concepts<\/h2>\n<ul id=\"fs-id1165135481952\">\n<li>A rate of change relates a change in an output quantity to a change in an input quantity. The average rate of change is determined using only the beginning and ending data.<\/li>\n<li>Identifying points that mark the interval on a graph can be used to find the average rate of change.<\/li>\n<li>Comparing pairs of input and output values in a table can also be used to find the average rate of change.<\/li>\n<li>An average rate of change can also be computed by determining the function values at the endpoints of an interval described by a formula.<\/li>\n<li>The average rate of change can sometimes be determined as an expression.<\/li>\n<li>A function is increasing where its rate of change is positive and decreasing where its rate of change is negative.<\/li>\n<li>A local maximum is where a function changes from increasing to decreasing and has an output value larger (more positive or less negative) than output values at neighboring input values.<\/li>\n<li>A local minimum is where the function changes from decreasing to increasing (as the input increases) and has an output value smaller (more negative or less positive) than output values at neighboring input values.<\/li>\n<li>Minima and maxima are also called extrema.<\/li>\n<li>We can find local extrema from a graph.<\/li>\n<li>When functions are combined, the output of the first (inner) function becomes the input of the second (outer) function.<\/li>\n<li>The function produced by combining two functions is a composite function.<\/li>\n<li>The order of function composition must be considered when interpreting the meaning of composite functions.<\/li>\n<li>A composite function can be evaluated by evaluating the inner function using the given input value and then evaluating the outer function taking as its input the output of the inner function.<\/li>\n<li>A composite function can be evaluated from a table.<\/li>\n<li>A composite function can be evaluated from a graph.<\/li>\n<li>A composite function can be evaluated from a formula.<\/li>\n<li>The domain of a composite function consists of those inputs in the domain of the inner function that correspond to outputs of the inner function that are in the domain of the outer function.<\/li>\n<li>Just as functions can be combined to form a composite function, composite functions can be decomposed into simpler functions.<\/li>\n<li>Functions can often be decomposed in more than one way.<\/li>\n<\/ul>\n<div style=\"line-height: 1.5;\">\n<h2>Glossary<\/h2>\n<dl id=\"fs-id1165133052903\" class=\"definition\">\n<dt><strong>absolute maximum<\/strong><\/dt>\n<dd id=\"fs-id1165133052908\">the greatest value of a function over an interval<\/dd>\n<\/dl>\n<dl id=\"fs-id1165133052911\" class=\"definition\">\n<dt><strong>absolute minimum<\/strong><\/dt>\n<dd id=\"fs-id1165133052916\">the lowest value of a function over an interval<\/dd>\n<\/dl>\n<dl id=\"fs-id1165133052921\" class=\"definition\">\n<dt><strong>average rate of change<\/strong><\/dt>\n<dd id=\"fs-id1165133052926\">the difference in the output values of a function found for two values of the input divided by the difference between the inputs<\/dd>\n<dt>\n<\/dt>\n<div class=\"note precalculus try\">\n<section id=\"fs-id1165137452389\">\n<div id=\"fs-id1165135435597\" class=\"note precalculus try\">\n<div id=\"ti_01_04_07\" class=\"exercise\">\n<div id=\"fs-id1165137937116\" class=\"problem\">\n<section class=\"section-exercises\">\n<div>\n<dl id=\"fs-id1165137832421\" class=\"definition\">\n<dt>composite function<\/dt>\n<dd id=\"fs-id1165137832426\">the new function formed by function composition, when the output of one function is used as the input of another<\/dd>\n<\/dl>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/dl>\n<dl id=\"fs-id1165135264639\" class=\"definition\">\n<dt><strong>decreasing function<\/strong><\/dt>\n<dd id=\"fs-id1165135264645\">a function is decreasing in some open interval if [latex]f\\left(b\\right)<f\\left(a\\right)[\/latex] for any two input values [latex]a[\/latex] and [latex]b[\/latex] in the given interval where [latex]b>a[\/latex]<\/dd>\n<\/dl>\n<dl id=\"fs-id1165135639824\" class=\"definition\">\n<dt><strong>increasing function<\/strong><\/dt>\n<dd id=\"fs-id1165135639829\">a function is increasing in some open interval if [latex]f\\left(b\\right)>f\\left(a\\right)[\/latex] for any two input values [latex]a[\/latex] and [latex]b[\/latex] in the given interval where [latex]b>a[\/latex]<\/dd>\n<\/dl>\n<dl id=\"fs-id1165135536408\" class=\"definition\">\n<dt><strong>local extrema<\/strong><\/dt>\n<dd id=\"fs-id1165135536413\">collectively, all of a function&#8217;s local maxima and minima<\/dd>\n<\/dl>\n<dl id=\"fs-id1165135536416\" class=\"definition\">\n<dt><strong>local maximum<\/strong><\/dt>\n<dd id=\"fs-id1165135412035\">a value of the input where a function changes from increasing to decreasing as the input value increases.<\/dd>\n<\/dl>\n<dl id=\"fs-id1165135412040\" class=\"definition\">\n<dt><strong>local minimum<\/strong><\/dt>\n<dd id=\"fs-id1165135412046\">a value of the input where a function changes from decreasing to increasing as the input value increases.<\/dd>\n<\/dl>\n<dl id=\"fs-id1165135412050\" class=\"definition\">\n<dt><strong>rate of change<\/strong><\/dt>\n<dd id=\"fs-id1165135412054\">the change of an output quantity relative to the change of the input quantity<\/dd>\n<\/dl>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\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-13679\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Specific attribution<\/div><ul class=\"citation-list\"><li>Precalculus. <strong>Authored by<\/strong>: OpenStax College. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface\">http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section><hr class=\"before-footnotes clear\" \/><div class=\"footnotes\"><ol><li id=\"footnote-13679-1\">http:\/\/www.eia.gov\/totalenergy\/data\/annual\/showtext.cfm?t=ptb0524. Accessed 3\/5\/2014. <a href=\"#return-footnote-13679-1\" class=\"return-footnote\" aria-label=\"Return to footnote 1\">&crarr;<\/a><\/li><\/ol><\/div>","protected":false},"author":359553,"menu_order":3,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc-attribution\",\"description\":\"Precalculus\",\"author\":\"OpenStax College\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175:1\/Preface\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["racv2"],"pb_section_license":""},"chapter-type":[],"contributor":[64],"license":[],"class_list":["post-13679","chapter","type-chapter","status-publish","hentry","contributor-racv2"],"part":15999,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/pressbooks\/v2\/chapters\/13679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/wp\/v2\/users\/359553"}],"version-history":[{"count":13,"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/pressbooks\/v2\/chapters\/13679\/revisions"}],"predecessor-version":[{"id":16123,"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/pressbooks\/v2\/chapters\/13679\/revisions\/16123"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/pressbooks\/v2\/parts\/15999"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/pressbooks\/v2\/chapters\/13679\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/wp\/v2\/media?parent=13679"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/pressbooks\/v2\/chapter-type?post=13679"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/wp\/v2\/contributor?post=13679"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/pdx-precalculus\/wp-json\/wp\/v2\/license?post=13679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}