{"id":147,"date":"2023-09-20T22:47:52","date_gmt":"2023-09-20T22:47:52","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/calculus1\/chapter\/combining-functions\/"},"modified":"2025-08-17T15:39:28","modified_gmt":"2025-08-17T15:39:28","slug":"review-of-functions-learn-it-5","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/calculus1\/chapter\/review-of-functions-learn-it-5\/","title":{"raw":"Review of Functions: Learn it 5","rendered":"Review of Functions: Learn it 5"},"content":{"raw":"<h2>Combining and Composing Functions<\/h2>\r\n<p id=\"fs-id1170572450916\">In mathematics, we often build upon basic functions by combining them with operations such as addition and multiplication or by creating composite functions. This process forms new functions that can better describe and analyze complex relationships.<\/p>\r\n<div id=\"fs-id1170572450919\" class=\"bc-section section\" style=\"text-align: left;\">\r\n<h3>Combining Functions with Mathematical Operators<\/h3>\r\n<p id=\"fs-id1170572167715\">To combine functions using mathematical operators, we simply write the functions with the operator and simplify. Given two functions [latex]f[\/latex] and [latex]g,[\/latex] we can define four new functions:<\/p>\r\n<div id=\"fs-id1170572167731\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{cccc}(f+g)(x)=f(x)+g(x)\\hfill &amp; &amp; &amp; \\text{Sum}\\hfill \\\\ (f-g)(x)=f(x)-g(x)\\hfill &amp; &amp; &amp; \\text{Difference}\\hfill \\\\ (f\u00b7g)(x)=f(x)g(x)\\hfill &amp; &amp; &amp; \\text{Product}\\hfill \\\\ \\Big(\\frac{f}{g}\\Big)(x)=\\frac{f(x)}{g(x)} \\, \\text{for} \\, g(x)\\ne 0\\hfill &amp; &amp; &amp; \\text{Quotient}\\hfill \\end{array}[\/latex]<\/div>\r\n<div>\u00a0<\/div>\r\n<div>Often these functions have more than one term, so when you perform operations on them you will need to remember how to work with polynomials.<\/div>\r\n<div>\r\n<section class=\"textbox recall\">\r\n<p>When given multiple polynomials, you can simplify expressions by adding or subtracting them, ensuring you combine like terms and rearrange the resulting polynomial into standard form, which is organized by descending powers.\u00a0 Multiplying binomials requires a different approach. Use the FOIL method to multiply the first, outer, inner, and last terms, and then combine like terms in the resulting expression.<\/p>\r\n<p>Here's a concise recap of both processes:<\/p>\r\n<ul>\r\n\t<li>\r\n<p><strong>Adding\/Subtracting Polynomials:<\/strong><\/p>\r\n<ol>\r\n\t<li>Combine like terms.<\/li>\r\n\t<li>When subtracting, distribute the negative sign across the second polynomial.<\/li>\r\n\t<li>Rearrange and combine terms into standard form.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ul>\r\n<p>Be particularly cautious when subtracting polynomials to distribute the negative sign correctly.<\/p>\r\n\r\n[caption id=\"\" align=\"alignright\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/21205149\/CNX_CAT_Figure_01_04_003.jpg\" alt=\"Two quantities in parentheses are being multiplied, the first being: a times x plus b and the second being: c times x plus d. This expression equals ac times x squared plus ad times x plus bc times x plus bd. The terms ax and cx are labeled: First Terms. The terms ax and d are labeled: Outer Terms. The terms b and cx are labeled: Inner Terms. The terms b and d are labeled: Last Terms.\" width=\"487\" height=\"191\" \/> Diagram of FOIL terms[\/caption]\r\n\r\n<ul>\r\n\t<li>\r\n<p><strong>Multiplying Binomials (FOIL):<\/strong><\/p>\r\n<ol>\r\n\t<li>Multiply the first terms of each binomial.<\/li>\r\n\t<li>Multiply the outer terms.<\/li>\r\n\t<li>Multiply the inner terms.<\/li>\r\n\t<li>Multiply the last terms.<\/li>\r\n\t<li>Combine like terms and simplify the product.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ul>\r\n<\/section>\r\n<\/div>\r\n<section class=\"textbox example\">\r\n<p id=\"fs-id1170572549852\">Given the functions [latex]f(x)=2x-3[\/latex] and [latex]g(x)=x^2-1[\/latex], find each of the following functions and state its domain.<\/p>\r\n<ol id=\"fs-id1170572169320\" style=\"list-style-type: lower-alpha;\">\r\n\t<li>[latex](f+g)(x)[\/latex]<\/li>\r\n\t<li>[latex](f-g)(x)[\/latex]<\/li>\r\n\t<li>[latex](f\u00b7g)(x)[\/latex]<\/li>\r\n\t<li>[latex]\\Big(\\frac{f}{g}\\Big)(x)[\/latex]<\/li>\r\n<\/ol>\r\n<p>[reveal-answer q=\"fs-id1170572228247\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"fs-id1170572228247\"]<\/p>\r\n<ol id=\"fs-id1170572228247\" style=\"list-style-type: lower-alpha;\">\r\n\t<li>[latex](f+g)(x)=(2x-3)+(x^2-1)=x^2+2x-4[\/latex]. The domain of this function is the interval [latex](\u2212\\infty ,\\infty )[\/latex].<\/li>\r\n\t<li>[latex](f-g)(x)=(2x-3)-(x^2-1)=\u2212x^2+2x-2[\/latex]. The domain of this function is the interval [latex](\u2212\\infty ,\\infty)[\/latex].<\/li>\r\n\t<li>[latex](f\u00b7g)(x)=(2x-3)(x^2-1)=2x^3-3x^2-2x+3[\/latex]. The domain of this function is the interval [latex](\u2212\\infty ,\\infty )[\/latex].<\/li>\r\n\t<li>[latex]\\Big(\\frac{f}{g}\\Big)(x)=\\dfrac{2x-3}{x^2-1}[\/latex]. The domain of this function is [latex]\\{x|x\\ne \\text{\u00b1}1\\}[\/latex].<\/li>\r\n<\/ol>\r\n\r\nWatch the following video to see the worked solution to this example.<center><iframe title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/qL2tyJhmrkg?controls=0&amp;start=1025&amp;end=1238&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/center>\u00a0 For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end. You can view the transcript for this segmented clip of \"1.1 Review of Functions\" <a href=\"https:\/\/oerfiles.s3-us-west-2.amazonaws.com\/Calculus\/Calculus1+Videos\/1.1ReviewofFunctions1025to1238_transcript.txt\" target=\"_blank\" rel=\"noopener\"> using this link<\/a>(opens in new window).\r\n\r\n<p>[\/hidden-answer]<\/p>\r\n<\/section>\r\n<\/div>\r\n<h3>Composite Functions<\/h3>\r\n<p>Composite functions merge two functions into one by using the output of one function as the input of another.<\/p>\r\n<p>For example, given the functions [latex]f(x)=x^2[\/latex] and [latex]g(x)=3x+1[\/latex], the composite function [latex]f\\circ g[\/latex] is defined such that<\/p>\r\n<div id=\"fs-id1170572247955\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex](f\\circ g)(x)=f(g(x))=(g(x))^2=(3x+1)^2[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1170572140952\">This composition is unique because [latex]f\\circ g[\/latex] is not the same as [latex]g\\circ f[\/latex].<\/p>\r\n<div id=\"fs-id1170572481486\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex](g\\circ f)(x)=g(f(x))=3f(x)+1=3x^2+1[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p id=\"fs-id1170572450916\">The order in which functions are composed matters<\/p>\r\n<section class=\"textbox keyTakeaway\">\r\n<h3>composite functions<\/h3>\r\n\r\nA composite function, denoted as [latex]f\\circ g[\/latex], is created when the output of one function, [latex]g(x)[\/latex], becomes the input for another, [latex]f(x)[\/latex]. The resulting function [latex]f(g(x))[\/latex] has the domain of [latex]g[\/latex] and the range of [latex]f[\/latex], provided that the range of [latex]g[\/latex] is contained within the domain of [latex]f[\/latex].<center>[latex](f\\circ g)(x)=f(g(x))[\/latex]<\/center><\/section>\r\n<section class=\"textbox proTip\">\r\n<p>It is 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.<\/p>\r\n\r\n[caption id=\"\" align=\"aligncenter\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/18195616\/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\" \/> Diagram of the composite function[\/caption]\r\n<\/section>\r\n<section class=\"textbox example\">\r\n<p id=\"fs-id1170572481359\">Consider the functions [latex]f(x)=x^2+1[\/latex] and [latex]g(x)=\\frac{1}{x}[\/latex].<\/p>\r\n<ol id=\"fs-id1170572482111\" style=\"list-style-type: lower-alpha;\">\r\n\t<li>Find [latex](f\\circ g)(x)[\/latex] and state its domain and range.<\/li>\r\n\t<li>Evaluate [latex](f\\circ g)(4)[\/latex] and [latex](f\\circ g)\\left(-\\frac{1}{2}\\right)[\/latex].<\/li>\r\n<\/ol>\r\n<p>[reveal-answer q=\"fs-id1170572222946\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"fs-id1170572222946\"]<\/p>\r\n<ol id=\"fs-id1170572222946\" style=\"list-style-type: lower-alpha;\">\r\n\t<li>We can find a formula for [latex](f\\circ g)(x)[\/latex] in two ways. First, we could write<br \/>\r\n<div id=\"fs-id1170573750183\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex](f\\circ g)(x)=f(g(x))=f\\left(\\frac{1}{x}\\right)=\\left(\\frac{1}{x}\\right)^2+1[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p>Alternatively, we could write<\/p>\r\n<div id=\"fs-id1170571123790\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex](f\\circ g)(x)=f(g(x))=(g(x))^2+1=\\left(\\frac{1}{x}\\right)^2+1[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p>The domain of [latex]f\\circ g[\/latex] is the set of all real numbers [latex]x[\/latex] such that [latex]x\\ne 0[\/latex]. To find the range of [latex]f[\/latex], we need to find all values [latex]y[\/latex] for which there exists a real number [latex]x\\ne 0[\/latex] such that<\/p>\r\n<div id=\"fs-id1170571118828\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\left(\\frac{1}{x}\\right)^2+1=y[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p>Solving this equation for [latex]x[\/latex], we see that we need [latex]x[\/latex] to satisfy<\/p>\r\n<div id=\"fs-id1170571118874\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\left(\\frac{1}{x}\\right)^2=y-1[\/latex],<\/div>\r\n<p>&nbsp;<\/p>\r\n<p>which simplifies to<\/p>\r\n<div id=\"fs-id1170571330548\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{1}{x}=\u00b1\\sqrt{y-1}[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p>Finally, we obtain<\/p>\r\n<div id=\"fs-id1170571282415\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]x=\u00b1\\frac{1}{\\sqrt{y-1}}[\/latex]<\/div>\r\n<p>&nbsp;<\/p>\r\n<p>Since [latex]\\frac{1}{\\sqrt{y-1}}[\/latex] is a real number if and only if [latex]y&gt;1[\/latex], the range of [latex]f[\/latex] is the set [latex]\\{y|y\\ge 1\\}[\/latex].<\/p>\r\n<\/li>\r\n\t<li>[latex](f\\circ g)(4)=f(g(4))=f\\left(\\frac{1}{4}\\right)=\\left(\\frac{1}{4}\\right)^2+1=\\frac{17}{16}[\/latex]<br \/>\r\n[latex](f\\circ g)\\left(-\\frac{1}{2}\\right)=f\\left(g\\left(-\\frac{1}{2}\\right)\\right)=f(-2)=(-2)^2+1=5[\/latex]<\/li>\r\n<\/ol>\r\n<p>[\/hidden-answer]<\/p>\r\n<\/section>\r\n<section class=\"textbox proTip\">\r\n<p>Remember that [latex](f\\circ g)(x)\\ne (g\\circ f)(x)[\/latex].<\/p>\r\n<\/section>\r\n<section class=\"textbox example\">\r\n<p id=\"fs-id1170572173799\">Consider the functions [latex]f[\/latex] and [latex]g[\/latex] described below.<\/p>\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td style=\"text-align: center;\">[latex]x[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]-3[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]-2[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]-1[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]1[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]2[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]3[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\">[latex]f(x)[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]2[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]-2[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]-2[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<p>&nbsp;<\/p>\r\n<table>\r\n<tbody>\r\n<tr valign=\"top\">\r\n<td style=\"text-align: center;\">[latex]x[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]-4[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]-2[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]2[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\r\n<\/tr>\r\n<tr valign=\"top\">\r\n<td style=\"text-align: center;\">[latex]g(x)[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]1[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]3[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]5[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<ol id=\"fs-id1170572242030\" style=\"list-style-type: lower-alpha;\">\r\n\t<li>Evaluate [latex](g\\circ f)(3)[\/latex] and [latex](g\\circ f)(0)[\/latex].<\/li>\r\n\t<li>State the domain and range of [latex](g\\circ f)(x)[\/latex].<\/li>\r\n<\/ol>\r\n<p>[reveal-answer q=\"fs-id1170572552174\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"fs-id1170572552174\"]<\/p>\r\n<ol id=\"fs-id1170572552174\" style=\"list-style-type: lower-alpha;\">\r\n\t<li>[latex](g\\circ f)(3)=g(f(3))=g(-2)=0[\/latex]<br \/>\r\n[latex](g\\circ f)(0)=g(4)=5[\/latex]<\/li>\r\n\t<li>The domain of [latex]g\\circ f[\/latex] is the set [latex]\\{-3,-2,-1,0,1,2,3,4\\}[\/latex]. Since the range of [latex]f[\/latex] is the set [latex]\\{-2,0,2,4\\}[\/latex], the range of [latex]g\\circ f[\/latex] is the set [latex]\\{0,3,5\\}[\/latex].<\/li>\r\n<\/ol>\r\n<p>[\/hidden-answer]<\/p>\r\n<\/section>\r\n<section class=\"textbox example\">\r\n<p id=\"fs-id1170572173747\">A store is advertising a sale of [latex]20\\%[\/latex] off all merchandise. Caroline has a coupon that entitles her to an additional [latex]15\\%[\/latex] off any item, including sale merchandise. If Caroline decides to purchase an item with an original price of [latex]x[\/latex] dollars, how much will she end up paying if she applies her coupon to the sale price? Solve this problem by using a composite function.<\/p>\r\n<p>[reveal-answer q=\"fs-id1170572454320\"]Show Solution[\/reveal-answer]<br \/>\r\n[hidden-answer a=\"fs-id1170572454320\"]<\/p>\r\n<p id=\"fs-id1170572454320\">Since the sale price is [latex]20\\%[\/latex] off the original price, if an item is [latex]x[\/latex] dollars, its sale price is given by [latex]f(x)=0.80x[\/latex]. Since the coupon entitles an individual to [latex]15\\%[\/latex] off the price of any item, if an item is [latex]y[\/latex] dollars, the price, after applying the coupon, is given by [latex]g(y)=0.85y[\/latex]. Therefore, if the price is originally [latex]x[\/latex] dollars, its sale price will be [latex]f(x)=0.80x[\/latex] and then its final price after the coupon will be [latex]g(f(x))=0.85(0.80x)=0.68x[\/latex].<\/p>\r\n<p>[\/hidden-answer]<\/p>\r\n<\/section>\r\n<section class=\"textbox tryIt\">[ohm_question hide_question_numbers=1]33467[\/ohm_question]<\/section>","rendered":"<h2>Combining and Composing Functions<\/h2>\n<p id=\"fs-id1170572450916\">In mathematics, we often build upon basic functions by combining them with operations such as addition and multiplication or by creating composite functions. This process forms new functions that can better describe and analyze complex relationships.<\/p>\n<div id=\"fs-id1170572450919\" class=\"bc-section section\" style=\"text-align: left;\">\n<h3>Combining Functions with Mathematical Operators<\/h3>\n<p id=\"fs-id1170572167715\">To combine functions using mathematical operators, we simply write the functions with the operator and simplify. Given two functions [latex]f[\/latex] and [latex]g,[\/latex] we can define four new functions:<\/p>\n<div id=\"fs-id1170572167731\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{array}{cccc}(f+g)(x)=f(x)+g(x)\\hfill & & & \\text{Sum}\\hfill \\\\ (f-g)(x)=f(x)-g(x)\\hfill & & & \\text{Difference}\\hfill \\\\ (f\u00b7g)(x)=f(x)g(x)\\hfill & & & \\text{Product}\\hfill \\\\ \\Big(\\frac{f}{g}\\Big)(x)=\\frac{f(x)}{g(x)} \\, \\text{for} \\, g(x)\\ne 0\\hfill & & & \\text{Quotient}\\hfill \\end{array}[\/latex]<\/div>\n<div>\u00a0<\/div>\n<div>Often these functions have more than one term, so when you perform operations on them you will need to remember how to work with polynomials.<\/div>\n<div>\n<section class=\"textbox recall\">\n<p>When given multiple polynomials, you can simplify expressions by adding or subtracting them, ensuring you combine like terms and rearrange the resulting polynomial into standard form, which is organized by descending powers.\u00a0 Multiplying binomials requires a different approach. Use the FOIL method to multiply the first, outer, inner, and last terms, and then combine like terms in the resulting expression.<\/p>\n<p>Here&#8217;s a concise recap of both processes:<\/p>\n<ul>\n<li>\n<p><strong>Adding\/Subtracting Polynomials:<\/strong><\/p>\n<ol>\n<li>Combine like terms.<\/li>\n<li>When subtracting, distribute the negative sign across the second polynomial.<\/li>\n<li>Rearrange and combine terms into standard form.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<p>Be particularly cautious when subtracting polynomials to distribute the negative sign correctly.<\/p>\n<figure style=\"width: 487px\" class=\"wp-caption alignright\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/21205149\/CNX_CAT_Figure_01_04_003.jpg\" alt=\"Two quantities in parentheses are being multiplied, the first being: a times x plus b and the second being: c times x plus d. This expression equals ac times x squared plus ad times x plus bc times x plus bd. The terms ax and cx are labeled: First Terms. The terms ax and d are labeled: Outer Terms. The terms b and cx are labeled: Inner Terms. The terms b and d are labeled: Last Terms.\" width=\"487\" height=\"191\" \/><figcaption class=\"wp-caption-text\">Diagram of FOIL terms<\/figcaption><\/figure>\n<ul>\n<li>\n<p><strong>Multiplying Binomials (FOIL):<\/strong><\/p>\n<ol>\n<li>Multiply the first terms of each binomial.<\/li>\n<li>Multiply the outer terms.<\/li>\n<li>Multiply the inner terms.<\/li>\n<li>Multiply the last terms.<\/li>\n<li>Combine like terms and simplify the product.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/section>\n<\/div>\n<section class=\"textbox example\">\n<p id=\"fs-id1170572549852\">Given the functions [latex]f(x)=2x-3[\/latex] and [latex]g(x)=x^2-1[\/latex], find each of the following functions and state its domain.<\/p>\n<ol id=\"fs-id1170572169320\" style=\"list-style-type: lower-alpha;\">\n<li>[latex](f+g)(x)[\/latex]<\/li>\n<li>[latex](f-g)(x)[\/latex]<\/li>\n<li>[latex](f\u00b7g)(x)[\/latex]<\/li>\n<li>[latex]\\Big(\\frac{f}{g}\\Big)(x)[\/latex]<\/li>\n<\/ol>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1170572228247\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1170572228247\" class=\"hidden-answer\" style=\"display: none\">\n<ol id=\"fs-id1170572228247\" style=\"list-style-type: lower-alpha;\">\n<li>[latex](f+g)(x)=(2x-3)+(x^2-1)=x^2+2x-4[\/latex]. The domain of this function is the interval [latex](\u2212\\infty ,\\infty )[\/latex].<\/li>\n<li>[latex](f-g)(x)=(2x-3)-(x^2-1)=\u2212x^2+2x-2[\/latex]. The domain of this function is the interval [latex](\u2212\\infty ,\\infty)[\/latex].<\/li>\n<li>[latex](f\u00b7g)(x)=(2x-3)(x^2-1)=2x^3-3x^2-2x+3[\/latex]. The domain of this function is the interval [latex](\u2212\\infty ,\\infty )[\/latex].<\/li>\n<li>[latex]\\Big(\\frac{f}{g}\\Big)(x)=\\dfrac{2x-3}{x^2-1}[\/latex]. The domain of this function is [latex]\\{x|x\\ne \\text{\u00b1}1\\}[\/latex].<\/li>\n<\/ol>\n<p>Watch the following video to see the worked solution to this example.<\/p>\n<div style=\"text-align: center;\"><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/qL2tyJhmrkg?controls=0&amp;start=1025&amp;end=1238&amp;autoplay=0\" width=\"750\" height=\"450\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<p>\u00a0 For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end. You can view the transcript for this segmented clip of &#8220;1.1 Review of Functions&#8221; <a href=\"https:\/\/oerfiles.s3-us-west-2.amazonaws.com\/Calculus\/Calculus1+Videos\/1.1ReviewofFunctions1025to1238_transcript.txt\" target=\"_blank\" rel=\"noopener\"> using this link<\/a>(opens in new window).<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<h3>Composite Functions<\/h3>\n<p>Composite functions merge two functions into one by using the output of one function as the input of another.<\/p>\n<p>For example, given the functions [latex]f(x)=x^2[\/latex] and [latex]g(x)=3x+1[\/latex], the composite function [latex]f\\circ g[\/latex] is defined such that<\/p>\n<div id=\"fs-id1170572247955\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex](f\\circ g)(x)=f(g(x))=(g(x))^2=(3x+1)^2[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1170572140952\">This composition is unique because [latex]f\\circ g[\/latex] is not the same as [latex]g\\circ f[\/latex].<\/p>\n<div id=\"fs-id1170572481486\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex](g\\circ f)(x)=g(f(x))=3f(x)+1=3x^2+1[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>The order in which functions are composed matters<\/p>\n<section class=\"textbox keyTakeaway\">\n<h3>composite functions<\/h3>\n<p>A composite function, denoted as [latex]f\\circ g[\/latex], is created when the output of one function, [latex]g(x)[\/latex], becomes the input for another, [latex]f(x)[\/latex]. The resulting function [latex]f(g(x))[\/latex] has the domain of [latex]g[\/latex] and the range of [latex]f[\/latex], provided that the range of [latex]g[\/latex] is contained within the domain of [latex]f[\/latex].<\/p>\n<div style=\"text-align: center;\">[latex](f\\circ g)(x)=f(g(x))[\/latex]<\/div>\n<\/section>\n<section class=\"textbox proTip\">\n<p>It is 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.<\/p>\n<figure style=\"width: 487px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/896\/2016\/10\/18195616\/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\" \/><figcaption class=\"wp-caption-text\">Diagram of the composite function<\/figcaption><\/figure>\n<\/section>\n<section class=\"textbox example\">\n<p id=\"fs-id1170572481359\">Consider the functions [latex]f(x)=x^2+1[\/latex] and [latex]g(x)=\\frac{1}{x}[\/latex].<\/p>\n<ol id=\"fs-id1170572482111\" style=\"list-style-type: lower-alpha;\">\n<li>Find [latex](f\\circ g)(x)[\/latex] and state its domain and range.<\/li>\n<li>Evaluate [latex](f\\circ g)(4)[\/latex] and [latex](f\\circ g)\\left(-\\frac{1}{2}\\right)[\/latex].<\/li>\n<\/ol>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1170572222946\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1170572222946\" class=\"hidden-answer\" style=\"display: none\">\n<ol id=\"fs-id1170572222946\" style=\"list-style-type: lower-alpha;\">\n<li>We can find a formula for [latex](f\\circ g)(x)[\/latex] in two ways. First, we could write\n<div id=\"fs-id1170573750183\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex](f\\circ g)(x)=f(g(x))=f\\left(\\frac{1}{x}\\right)=\\left(\\frac{1}{x}\\right)^2+1[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Alternatively, we could write<\/p>\n<div id=\"fs-id1170571123790\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex](f\\circ g)(x)=f(g(x))=(g(x))^2+1=\\left(\\frac{1}{x}\\right)^2+1[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>The domain of [latex]f\\circ g[\/latex] is the set of all real numbers [latex]x[\/latex] such that [latex]x\\ne 0[\/latex]. To find the range of [latex]f[\/latex], we need to find all values [latex]y[\/latex] for which there exists a real number [latex]x\\ne 0[\/latex] such that<\/p>\n<div id=\"fs-id1170571118828\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\left(\\frac{1}{x}\\right)^2+1=y[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Solving this equation for [latex]x[\/latex], we see that we need [latex]x[\/latex] to satisfy<\/p>\n<div id=\"fs-id1170571118874\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\left(\\frac{1}{x}\\right)^2=y-1[\/latex],<\/div>\n<p>&nbsp;<\/p>\n<p>which simplifies to<\/p>\n<div id=\"fs-id1170571330548\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\frac{1}{x}=\u00b1\\sqrt{y-1}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Finally, we obtain<\/p>\n<div id=\"fs-id1170571282415\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]x=\u00b1\\frac{1}{\\sqrt{y-1}}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>Since [latex]\\frac{1}{\\sqrt{y-1}}[\/latex] is a real number if and only if [latex]y>1[\/latex], the range of [latex]f[\/latex] is the set [latex]\\{y|y\\ge 1\\}[\/latex].<\/p>\n<\/li>\n<li>[latex](f\\circ g)(4)=f(g(4))=f\\left(\\frac{1}{4}\\right)=\\left(\\frac{1}{4}\\right)^2+1=\\frac{17}{16}[\/latex]<br \/>\n[latex](f\\circ g)\\left(-\\frac{1}{2}\\right)=f\\left(g\\left(-\\frac{1}{2}\\right)\\right)=f(-2)=(-2)^2+1=5[\/latex]<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox proTip\">\n<p>Remember that [latex](f\\circ g)(x)\\ne (g\\circ f)(x)[\/latex].<\/p>\n<\/section>\n<section class=\"textbox example\">\n<p id=\"fs-id1170572173799\">Consider the functions [latex]f[\/latex] and [latex]g[\/latex] described below.<\/p>\n<table>\n<tbody>\n<tr>\n<td style=\"text-align: center;\">[latex]x[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]-3[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]-2[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]-1[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]1[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]2[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]3[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">[latex]f(x)[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]2[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]-2[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]-2[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr valign=\"top\">\n<td style=\"text-align: center;\">[latex]x[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]-4[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]-2[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]2[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\n<\/tr>\n<tr valign=\"top\">\n<td style=\"text-align: center;\">[latex]g(x)[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]1[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]3[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]5[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol id=\"fs-id1170572242030\" style=\"list-style-type: lower-alpha;\">\n<li>Evaluate [latex](g\\circ f)(3)[\/latex] and [latex](g\\circ f)(0)[\/latex].<\/li>\n<li>State the domain and range of [latex](g\\circ f)(x)[\/latex].<\/li>\n<\/ol>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1170572552174\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1170572552174\" class=\"hidden-answer\" style=\"display: none\">\n<ol id=\"fs-id1170572552174\" style=\"list-style-type: lower-alpha;\">\n<li>[latex](g\\circ f)(3)=g(f(3))=g(-2)=0[\/latex]<br \/>\n[latex](g\\circ f)(0)=g(4)=5[\/latex]<\/li>\n<li>The domain of [latex]g\\circ f[\/latex] is the set [latex]\\{-3,-2,-1,0,1,2,3,4\\}[\/latex]. Since the range of [latex]f[\/latex] is the set [latex]\\{-2,0,2,4\\}[\/latex], the range of [latex]g\\circ f[\/latex] is the set [latex]\\{0,3,5\\}[\/latex].<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\">\n<p id=\"fs-id1170572173747\">A store is advertising a sale of [latex]20\\%[\/latex] off all merchandise. Caroline has a coupon that entitles her to an additional [latex]15\\%[\/latex] off any item, including sale merchandise. If Caroline decides to purchase an item with an original price of [latex]x[\/latex] dollars, how much will she end up paying if she applies her coupon to the sale price? Solve this problem by using a composite function.<\/p>\n<p><div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"qfs-id1170572454320\">Show Solution<\/button><\/p>\n<div id=\"qfs-id1170572454320\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1170572454320\">Since the sale price is [latex]20\\%[\/latex] off the original price, if an item is [latex]x[\/latex] dollars, its sale price is given by [latex]f(x)=0.80x[\/latex]. Since the coupon entitles an individual to [latex]15\\%[\/latex] off the price of any item, if an item is [latex]y[\/latex] dollars, the price, after applying the coupon, is given by [latex]g(y)=0.85y[\/latex]. Therefore, if the price is originally [latex]x[\/latex] dollars, its sale price will be [latex]f(x)=0.80x[\/latex] and then its final price after the coupon will be [latex]g(f(x))=0.85(0.80x)=0.68x[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\"><iframe loading=\"lazy\" id=\"ohm33467\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=33467&theme=lumen&iframe_resize_id=ohm33467&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n","protected":false},"author":6,"menu_order":8,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Calculus Volume 1\",\"author\":\"Gilbert Strang, Edwin (Jed) Herman\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/details\/books\/calculus-volume-1\",\"project\":\"\",\"license\":\"cc-by-nc-sa\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/calculus-volume-1\/pages\/1-introduction\"},{\"type\":\"original\",\"description\":\"1.1 Review of Functions\",\"author\":\"Ryan Melton\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":143,"module-header":"- Select Header -","content_attributions":[{"type":"cc","description":"Calculus Volume 1","author":"Gilbert Strang, Edwin (Jed) Herman","organization":"OpenStax","url":"https:\/\/openstax.org\/details\/books\/calculus-volume-1","project":"","license":"cc-by-nc-sa","license_terms":"Access for free at https:\/\/openstax.org\/books\/calculus-volume-1\/pages\/1-introduction"},{"type":"original","description":"1.1 Review of Functions","author":"Ryan Melton","organization":"","url":"","project":"","license":"cc-by","license_terms":""}],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/147"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/users\/6"}],"version-history":[{"count":31,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/147\/revisions"}],"predecessor-version":[{"id":4725,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/147\/revisions\/4725"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/parts\/143"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapters\/147\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/media?parent=147"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/pressbooks\/v2\/chapter-type?post=147"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/contributor?post=147"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/calculus1\/wp-json\/wp\/v2\/license?post=147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}