{"id":479,"date":"2025-07-10T17:06:38","date_gmt":"2025-07-10T17:06:38","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/precalculus\/?post_type=chapter&#038;p=479"},"modified":"2025-12-17T16:32:11","modified_gmt":"2025-12-17T16:32:11","slug":"functions-and-function-notation-learn-it-2","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/precalculus\/chapter\/functions-and-function-notation-learn-it-2\/","title":{"raw":"Functions and Function Notation: Learn It 3","rendered":"Functions and Function Notation: Learn It 3"},"content":{"raw":"<div id=\"ti_01_01_01\" class=\"exercise\">\r\n<div id=\"fs-id1165135667843\" class=\"problem\">\r\n<h2 class=\"bcc-box bcc-success\">Using Function Notation<\/h2>\r\n<\/div>\r\n<\/div>\r\n<div id=\"fs-id1165137588587\" class=\"note precalculus try\">\r\n<div id=\"ti_01_01_01\" class=\"exercise\">\r\n<div id=\"fs-id1165135667843\" class=\"problem\"><section id=\"fs-id1165134474160\">\r\n<p id=\"fs-id1165133359348\">Once we determine that a relationship is a function, we need to display and define the functional relationships so that we can understand and use them, and sometimes also so that we can program them into computers. There are various ways of representing functions.<\/p>\r\n\r\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\r\n<h3>function notation<\/h3>\r\nThe notation [latex]y=f\\left(x\\right)[\/latex] defines a function named [latex]f[\/latex]. This is read as \"[latex]y[\/latex] is a function of [latex]x[\/latex].\" The letter [latex]x[\/latex] represents the input value, or independent variable. The letter [latex]y[\/latex], or [latex]f\\left(x\\right)[\/latex], represents the output value, or dependent variable.\r\n\r\n<\/section>\r\n<p id=\"fs-id1165137453971\">To represent \"height is a function of age,\" we start by identifying the descriptive variables [latex]h[\/latex]\u00a0for height and [latex]a[\/latex]\u00a0for age. The letters [latex]f,g[\/latex], and [latex]h[\/latex] are often used to represent functions just as we use [latex]x,y[\/latex], and [latex]z[\/latex] to represent numbers and [latex]A,B[\/latex],\u00a0and [latex]C[\/latex] to represent sets.<\/p>\r\n\r\n<div id=\"fs-id1165135332760\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{gathered}\\begin{cases}\\begin{align}&amp;h\\text{ is }f\\text{ of }a &amp;&amp; \\text{We name the function }f;\\text{ height is a function of age}. \\\\ &amp;h=f\\left(a\\right) &amp;&amp; \\text{We use parentheses to indicate the function input}\\text{. } \\\\ &amp;f\\left(a\\right) &amp;&amp; \\text{We name the function }f;\\text{ the expression is read as \"}f\\text{ of }a\\text{.\"} \\end{align} \\end{cases} \\\\{ } \\end{gathered}[\/latex]<\/div>\r\n<p id=\"fs-id1165137766965\">Remember, we can use any letter to name the function; the notation [latex]h\\left(a\\right)[\/latex] shows us that [latex]h[\/latex] depends on [latex]a[\/latex]. The value [latex]a[\/latex] must be put into the function [latex]h[\/latex] to get a result. The parentheses indicate that age is input into the function; they do not indicate multiplication.<\/p>\r\n<p id=\"fs-id1165135436660\">We can also give an algebraic expression as the input to a function. For example [latex]f\\left(a+b\\right)[\/latex] means \"first add <em>a<\/em> and <em>b<\/em>, and the result is the input for the function <em>f<\/em>.\" The operations must be performed in this order to obtain the correct result.<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">\r\n<p id=\"fs-id1165137757351\">Use function notation to represent a function whose input is the name of a month and output is the number of days in that month.<\/p>\r\n[reveal-answer q=\"413960\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"413960\"]\r\n\r\nThe number of days in a month is a function of the name of the month, so if we name the function [latex]f[\/latex], we write [latex]\\text{days}=f\\left(\\text{month}\\right)[\/latex]\u00a0or [latex]d=f\\left(m\\right)[\/latex]. The name of the month is the input to a \"rule\" that associates a specific number (the output) with each input.\r\n\r\n<img class=\"wp-image-4911 size-full aligncenter\" src=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/61\/2025\/07\/02210917\/1.1.L.3.Diagram.png\" alt=\"The function 31 = f(January) where 31 is the output, f is the rule, and January is the input.\" width=\"211\" height=\"165\" \/>\r\n\r\n&nbsp;\r\n<p id=\"fs-id1165135417826\">For example, [latex]f\\left(\\text{March}\\right)=31[\/latex], because March has 31 days. The notation [latex]d=f\\left(m\\right)[\/latex] reminds us that the number of days, [latex]d[\/latex] (the output), is dependent on the name of the month, [latex]m[\/latex] (the input).<\/p>\r\n\r\n<div id=\"fs-id1165137544335\" class=\"commentary\">\r\n<h4>Analysis of the Solution<\/h4>\r\n<p id=\"fs-id1165137734829\">Note that the inputs to a function do not have to be numbers; function inputs can be names of people, labels of geometric objects, or any other element that determines some kind of output. However, most of the functions we will work with in this book will have numbers as inputs and outputs.<\/p>\r\n\r\n<\/div>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">\r\n<p id=\"fs-id1165137526811\">A function [latex]N=f\\left(y\\right)[\/latex] gives the number of police officers, [latex]N[\/latex], in a town in year [latex]y[\/latex]. What does [latex]f\\left(2005\\right)=300[\/latex] represent?<\/p>\r\n[reveal-answer q=\"17695\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"17695\"]\r\n\r\nWhen we read [latex]f\\left(2005\\right)=300[\/latex], we see that the input year is 2005. The value for the output, the number of police officers [latex]\\left(N\\right)[\/latex], is 300. Remember, [latex]N=f\\left(y\\right)[\/latex]. The statement [latex]f\\left(2005\\right)=300[\/latex] tells us that in the year 2005 there were 300 police officers in the town.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><\/section><section id=\"fs-id1165137804204\">\r\n<div id=\"Example_01_01_05\" class=\"example\">\r\n<div id=\"fs-id1165137416794\" class=\"exercise\">\r\n<p id=\"fs-id1165137470651\">When we know an input value and want to determine the corresponding output value for a function, we <em>evaluate<\/em> the function. Evaluating will always produce one result because each input value of a function corresponds to exactly one output value.<\/p>\r\n<p id=\"fs-id1165137735634\">When we know an output value and want to determine the input values that would produce that output value, we set the output equal to the function\u2019s formula and <em>solve<\/em> for the input. Solving can produce more than one solution because different input values can produce the same output value.<\/p>\r\n\r\n<section id=\"fs-id1165137425943\">\r\n<h2>Evaluating Functions in Algebraic Forms<\/h2>\r\n<p id=\"fs-id1165137655584\">When we have a function in formula form, it is usually a simple matter to evaluate the function. For example the function [latex]f\\left(x\\right)=5 - 3{x}^{2}[\/latex] can be evaluated by squaring the input value, multiplying by 3, and then subtracting the product from 5.<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">Given the function [latex]h\\left(p\\right)={p}^{2}+2p[\/latex], evaluate [latex]h\\left(4\\right)[\/latex].[reveal-answer q=\"230509\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"230509\"]To evaluate [latex]h\\left(4\\right)[\/latex], we substitute the value 4 for the input variable [latex]p[\/latex] in the given function.\r\n<div id=\"fs-id1165137444745\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{align}h\\left(p\\right)&amp;={p}^{2}+2p \\\\ h\\left(4\\right)&amp;={\\left(4\\right)}^{2}+2\\left(4\\right) \\\\ &amp;=16+8 \\\\ &amp;=24 \\end{align}[\/latex]<\/div>\r\n<p id=\"fs-id1165137785006\">Therefore, for an input of 4, we have an output of 24.<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">\r\n<p id=\"fs-id1165134193005\">Evaluate [latex]f\\left(x\\right)={x}^{2}+3x - 4[\/latex] at<\/p>\r\n\r\n<ol id=\"fs-id1165137648008\">\r\n \t<li>[latex]2[\/latex]<\/li>\r\n \t<li>[latex]a[\/latex]<\/li>\r\n \t<li>[latex]a+h[\/latex]<\/li>\r\n \t<li>[latex]\\frac{f\\left(a+h\\right)-f\\left(a\\right)}{h}[\/latex]<\/li>\r\n<\/ol>\r\n[reveal-answer q=\"52497\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"52497\"]\r\n<p id=\"fs-id1165137936905\">Replace the [latex]x[\/latex]\u00a0in the function with each specified value.<\/p>\r\n\r\n<ol id=\"fs-id1165137778273\">\r\n \t<li>Because the input value is a number, 2, we can use algebra to simplify.\r\n<div id=\"fs-id1165135160774\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{align}f\\left(2\\right)&amp;={2}^{2}+3\\left(2\\right)-4 \\\\ &amp;=4+6 - 4 \\\\ &amp;=6 \\end{align}[\/latex]<\/div><\/li>\r\n \t<li>In this case, the input value is a letter so we cannot simplify the answer any further.\r\n<div id=\"fs-id1165137638318\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]f\\left(a\\right)={a}^{2}+3a - 4[\/latex]<\/div><\/li>\r\n \t<li>With an input value of [latex]a+h[\/latex], we must use the distributive property.\r\n<div id=\"fs-id1165137911654\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{align}f\\left(a+h\\right)&amp;={\\left(a+h\\right)}^{2}+3\\left(a+h\\right)-4 \\\\ &amp;={a}^{2}+2ah+{h}^{2}+3a+3h - 4 \\end{align}[\/latex]<\/div><\/li>\r\n \t<li>In this case, we apply the input values to the function more than once, and then perform algebraic operations on the result. We already found that\r\n<div id=\"fs-id1165137638318\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]f\\left(a+h\\right)={a}^{2}+2ah+{h}^{2}+3a+3h - 4[\/latex]<\/div>\r\nand we know that\r\n<div id=\"fs-id1165137638318\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]f\\left(a\\right)={a}^{2}+3a - 4[\/latex]<\/div>\r\n<p id=\"fs-id1165137767461\">Now we combine the results and simplify.<\/p>\r\n\r\n<div id=\"fs-id1165137573884\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{align} \\frac{f\\left(a+h\\right)-f\\left(a\\right)}{h}&amp;=\\frac{\\left({a}^{2}+2ah+{h}^{2}+3a+3h - 4\\right)-\\left({a}^{2}+3a - 4\\right)}{h} \\\\[1.5mm]&amp;=\\frac{2ah+{h}^{2}+3h}{h} \\\\[1.5mm]&amp;=\\frac{h\\left(2a+h+3\\right)}{h} &amp;&amp;\\text{Factor out }h. \\\\[1.5mm]&amp;=2a+h+3 &amp;&amp; \\text{Simplify}. \\end{align}[\/latex]<\/div><\/li>\r\n<\/ol>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]317458[\/ohm_question]\r\n\r\n<\/section>\r\n<div id=\"Example_01_01_06\" class=\"example\">\r\n<div id=\"fs-id1165137742220\" class=\"exercise\">\r\n<div class=\"bcc-box bcc-success\"><section class=\"textbox example\" aria-label=\"Example\">Given the function [latex]h\\left(p\\right)={p}^{2}+2p[\/latex], solve for [latex]h\\left(p\\right)=3[\/latex].[reveal-answer q=\"630043\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"630043\"]\r\n<p style=\"text-align: center;\">[latex]\\begin{align}h\\left(p\\right)=3 \\\\ {p}^{2}+2p=3 &amp;\\hspace{3mm} \\text{Substitute the original function }h\\left(p\\right)={p}^{2}+2p. \\\\ {p}^{2}+2p - 3=0 &amp;\\hspace{3mm} \\text{Subtract 3 from each side}. \\\\ \\left(p+3\\text{)(}p - 1\\right)=0 &amp;\\hspace{3mm} \\text{Factor}. \\end{align}[\/latex]<\/p>\r\nIf [latex]\\left(p+3\\right)\\left(p - 1\\right)=0[\/latex], either [latex]\\left(p+3\\right)=0[\/latex] or [latex]\\left(p - 1\\right)=0[\/latex] (or both of them equal 0). We will set each factor equal to 0 and solve for [latex]p[\/latex] in each case.\r\n<p style=\"text-align: center;\">[latex]\\begin{align}\\left(p+3\\right)=0, &amp; \\hspace{3mm} p=-3 \\\\ \\left(p - 1\\right)=0, &amp; \\hspace{3mm} p=1 \\end{align}[\/latex]<\/p>\r\nThis gives us two solutions. The output [latex]h\\left(p\\right)=3[\/latex] when the input is either [latex]p=1[\/latex] or [latex]p=-3[\/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\/03010534\/CNX_Precalc_Figure_01_01_0062.jpg\" alt=\"Graph of a parabola with labeled points (-3, 3), (1, 3), and (4, 24).\" width=\"487\" height=\"459\" \/> <b>Figure 5<\/b>[\/caption]\r\n\r\nWe can also verify by graphing as in Figure 5. The graph verifies that [latex]h\\left(1\\right)=h\\left(-3\\right)=3[\/latex] and [latex]h\\left(4\\right)=24[\/latex].\r\n\r\n[\/hidden-answer]\r\n\r\n<\/section><\/div>\r\n<div class=\"bcc-box bcc-success\"><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]317459[\/ohm_question]\r\n\r\n<\/section><\/div>\r\n<h2>Evaluating Functions Expressed in Formulas<\/h2>\r\n<p id=\"fs-id1165137598337\">Some functions are defined by mathematical rules or procedures expressed in <strong>equation<\/strong> form. If it is possible to express the function output with a <strong>formula<\/strong> involving the input quantity, then we can define a function in algebraic form. For example, the equation [latex]2n+6p=12[\/latex] expresses a functional relationship between [latex]n[\/latex] and [latex]p[\/latex]. We can rewrite it to decide if [latex]p[\/latex] is a function of [latex]n[\/latex].<\/p>\r\n\r\n<section class=\"textbox example\" aria-label=\"Example\">Express the relationship [latex]2n+6p=12[\/latex] as a function [latex]p=f\\left(n\\right)[\/latex], if possible.\r\n<p style=\"text-align: left;\">[reveal-answer q=\"65760\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"65760\"]<\/p>\r\n<p style=\"text-align: left;\">To express the relationship in this form, we need to be able to write the relationship where [latex]p[\/latex] is a function of [latex]n[\/latex], which means writing it as p = expression involving n.<\/p>\r\n<p style=\"text-align: center;\">[latex]\\begin{align} &amp;2n+6p=12 \\\\ &amp;6p=12 - 2n &amp;&amp; \\text{Subtract }2n\\text{ from both sides}. \\\\ &amp;p=\\frac{12 - 2n}{6} &amp;&amp; \\text{Divide both sides by 6 and simplify}. \\\\ &amp;p=\\frac{12}{6}-\\frac{2n}{6} \\\\ &amp;p=2-\\frac{1}{3}n \\end{align}[\/latex]<\/p>\r\n<p id=\"fs-id1165135513733\">Therefore, [latex]p[\/latex] as a function of [latex]n[\/latex] is written as<\/p>\r\n<p style=\"text-align: center;\">[latex]p=f\\left(n\\right)=2-\\frac{1}{3}n[\/latex]<\/p>\r\n\r\n<h4>Analysis of the Solution<\/h4>\r\n<p id=\"fs-id1165137870972\">It is important to note that not every relationship expressed by an equation can also be expressed as a function with a formula.<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox example\" aria-label=\"Example\">Does the equation [latex]{x}^{2}+{y}^{2}=1[\/latex] represent a function with [latex]x[\/latex] as input and [latex]y[\/latex] as output? If so, express the relationship as a function [latex]y=f\\left(x\\right)[\/latex].[reveal-answer q=\"518628\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"518628\"]First we subtract [latex]{x}^{2}[\/latex] from both sides.\r\n<div style=\"text-align: center;\">[latex]\\begin{align} &amp;{x}^{2}+{y}^{2}=1 \\\\ &amp;{y}^{2}=1-{x}^{2} &amp;&amp; \\text{Subtract } {x}^{2} \\text{ from both sides} \\\\ &amp;y=\\pm \\sqrt{1-{x}^{2}} &amp;&amp; \\text{Solve for } y \\text{ using the square root principle.} \\end{align}[\/latex]<\/div>\r\n&nbsp;\r\n\r\nWe get two outputs corresponding to the same input, so this relationship cannot be represented as a single function\r\n<p style=\"text-align: center;\">[latex]y=f\\left(x\\right)[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/section><section class=\"textbox tryIt\" aria-label=\"Try It\">[ohm_question hide_question_numbers=1]317460[\/ohm_question]<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/div>","rendered":"<div id=\"ti_01_01_01\" class=\"exercise\">\n<div id=\"fs-id1165135667843\" class=\"problem\">\n<h2 class=\"bcc-box bcc-success\">Using Function Notation<\/h2>\n<\/div>\n<\/div>\n<div id=\"fs-id1165137588587\" class=\"note precalculus try\">\n<div class=\"exercise\">\n<div class=\"problem\">\n<section id=\"fs-id1165134474160\">\n<p id=\"fs-id1165133359348\">Once we determine that a relationship is a function, we need to display and define the functional relationships so that we can understand and use them, and sometimes also so that we can program them into computers. There are various ways of representing functions.<\/p>\n<section class=\"textbox keyTakeaway\" aria-label=\"Key Takeaway\">\n<h3>function notation<\/h3>\n<p>The notation [latex]y=f\\left(x\\right)[\/latex] defines a function named [latex]f[\/latex]. This is read as &#8220;[latex]y[\/latex] is a function of [latex]x[\/latex].&#8221; The letter [latex]x[\/latex] represents the input value, or independent variable. The letter [latex]y[\/latex], or [latex]f\\left(x\\right)[\/latex], represents the output value, or dependent variable.<\/p>\n<\/section>\n<p id=\"fs-id1165137453971\">To represent &#8220;height is a function of age,&#8221; we start by identifying the descriptive variables [latex]h[\/latex]\u00a0for height and [latex]a[\/latex]\u00a0for age. The letters [latex]f,g[\/latex], and [latex]h[\/latex] are often used to represent functions just as we use [latex]x,y[\/latex], and [latex]z[\/latex] to represent numbers and [latex]A,B[\/latex],\u00a0and [latex]C[\/latex] to represent sets.<\/p>\n<div id=\"fs-id1165135332760\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{gathered}\\begin{cases}\\begin{align}&h\\text{ is }f\\text{ of }a && \\text{We name the function }f;\\text{ height is a function of age}. \\\\ &h=f\\left(a\\right) && \\text{We use parentheses to indicate the function input}\\text{. } \\\\ &f\\left(a\\right) && \\text{We name the function }f;\\text{ the expression is read as \"}f\\text{ of }a\\text{.\"} \\end{align} \\end{cases} \\\\{ } \\end{gathered}[\/latex]<\/div>\n<p id=\"fs-id1165137766965\">Remember, we can use any letter to name the function; the notation [latex]h\\left(a\\right)[\/latex] shows us that [latex]h[\/latex] depends on [latex]a[\/latex]. The value [latex]a[\/latex] must be put into the function [latex]h[\/latex] to get a result. The parentheses indicate that age is input into the function; they do not indicate multiplication.<\/p>\n<p id=\"fs-id1165135436660\">We can also give an algebraic expression as the input to a function. For example [latex]f\\left(a+b\\right)[\/latex] means &#8220;first add <em>a<\/em> and <em>b<\/em>, and the result is the input for the function <em>f<\/em>.&#8221; The operations must be performed in this order to obtain the correct result.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">\n<p id=\"fs-id1165137757351\">Use function notation to represent a function whose input is the name of a month and output is the number of days in that month.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q413960\">Show Solution<\/button><\/p>\n<div id=\"q413960\" class=\"hidden-answer\" style=\"display: none\">\n<p>The number of days in a month is a function of the name of the month, so if we name the function [latex]f[\/latex], we write [latex]\\text{days}=f\\left(\\text{month}\\right)[\/latex]\u00a0or [latex]d=f\\left(m\\right)[\/latex]. The name of the month is the input to a &#8220;rule&#8221; that associates a specific number (the output) with each input.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-4911 size-full aligncenter\" src=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/61\/2025\/07\/02210917\/1.1.L.3.Diagram.png\" alt=\"The function 31 = f(January) where 31 is the output, f is the rule, and January is the input.\" width=\"211\" height=\"165\" srcset=\"https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/61\/2025\/07\/02210917\/1.1.L.3.Diagram.png 211w, https:\/\/content-cdn.one.lumenlearning.com\/wp-content\/uploads\/sites\/61\/2025\/07\/02210917\/1.1.L.3.Diagram-65x51.png 65w\" sizes=\"(max-width: 211px) 100vw, 211px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p id=\"fs-id1165135417826\">For example, [latex]f\\left(\\text{March}\\right)=31[\/latex], because March has 31 days. The notation [latex]d=f\\left(m\\right)[\/latex] reminds us that the number of days, [latex]d[\/latex] (the output), is dependent on the name of the month, [latex]m[\/latex] (the input).<\/p>\n<div id=\"fs-id1165137544335\" class=\"commentary\">\n<h4>Analysis of the Solution<\/h4>\n<p id=\"fs-id1165137734829\">Note that the inputs to a function do not have to be numbers; function inputs can be names of people, labels of geometric objects, or any other element that determines some kind of output. However, most of the functions we will work with in this book will have numbers as inputs and outputs.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">\n<p id=\"fs-id1165137526811\">A function [latex]N=f\\left(y\\right)[\/latex] gives the number of police officers, [latex]N[\/latex], in a town in year [latex]y[\/latex]. What does [latex]f\\left(2005\\right)=300[\/latex] represent?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q17695\">Show Solution<\/button><\/p>\n<div id=\"q17695\" class=\"hidden-answer\" style=\"display: none\">\n<p>When we read [latex]f\\left(2005\\right)=300[\/latex], we see that the input year is 2005. The value for the output, the number of police officers [latex]\\left(N\\right)[\/latex], is 300. Remember, [latex]N=f\\left(y\\right)[\/latex]. The statement [latex]f\\left(2005\\right)=300[\/latex] tells us that in the year 2005 there were 300 police officers in the town.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/section>\n<section id=\"fs-id1165137804204\">\n<div id=\"Example_01_01_05\" class=\"example\">\n<div id=\"fs-id1165137416794\" class=\"exercise\">\n<p id=\"fs-id1165137470651\">When we know an input value and want to determine the corresponding output value for a function, we <em>evaluate<\/em> the function. Evaluating will always produce one result because each input value of a function corresponds to exactly one output value.<\/p>\n<p id=\"fs-id1165137735634\">When we know an output value and want to determine the input values that would produce that output value, we set the output equal to the function\u2019s formula and <em>solve<\/em> for the input. Solving can produce more than one solution because different input values can produce the same output value.<\/p>\n<section id=\"fs-id1165137425943\">\n<h2>Evaluating Functions in Algebraic Forms<\/h2>\n<p id=\"fs-id1165137655584\">When we have a function in formula form, it is usually a simple matter to evaluate the function. For example the function [latex]f\\left(x\\right)=5 - 3{x}^{2}[\/latex] can be evaluated by squaring the input value, multiplying by 3, and then subtracting the product from 5.<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">Given the function [latex]h\\left(p\\right)={p}^{2}+2p[\/latex], evaluate [latex]h\\left(4\\right)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q230509\">Show Solution<\/button><\/p>\n<div id=\"q230509\" class=\"hidden-answer\" style=\"display: none\">To evaluate [latex]h\\left(4\\right)[\/latex], we substitute the value 4 for the input variable [latex]p[\/latex] in the given function.<\/p>\n<div id=\"fs-id1165137444745\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{align}h\\left(p\\right)&={p}^{2}+2p \\\\ h\\left(4\\right)&={\\left(4\\right)}^{2}+2\\left(4\\right) \\\\ &=16+8 \\\\ &=24 \\end{align}[\/latex]<\/div>\n<p id=\"fs-id1165137785006\">Therefore, for an input of 4, we have an output of 24.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">\n<p id=\"fs-id1165134193005\">Evaluate [latex]f\\left(x\\right)={x}^{2}+3x - 4[\/latex] at<\/p>\n<ol id=\"fs-id1165137648008\">\n<li>[latex]2[\/latex]<\/li>\n<li>[latex]a[\/latex]<\/li>\n<li>[latex]a+h[\/latex]<\/li>\n<li>[latex]\\frac{f\\left(a+h\\right)-f\\left(a\\right)}{h}[\/latex]<\/li>\n<\/ol>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q52497\">Show Solution<\/button><\/p>\n<div id=\"q52497\" class=\"hidden-answer\" style=\"display: none\">\n<p id=\"fs-id1165137936905\">Replace the [latex]x[\/latex]\u00a0in the function with each specified value.<\/p>\n<ol id=\"fs-id1165137778273\">\n<li>Because the input value is a number, 2, we can use algebra to simplify.\n<div id=\"fs-id1165135160774\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{align}f\\left(2\\right)&={2}^{2}+3\\left(2\\right)-4 \\\\ &=4+6 - 4 \\\\ &=6 \\end{align}[\/latex]<\/div>\n<\/li>\n<li>In this case, the input value is a letter so we cannot simplify the answer any further.\n<div id=\"fs-id1165137638318\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]f\\left(a\\right)={a}^{2}+3a - 4[\/latex]<\/div>\n<\/li>\n<li>With an input value of [latex]a+h[\/latex], we must use the distributive property.\n<div id=\"fs-id1165137911654\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{align}f\\left(a+h\\right)&={\\left(a+h\\right)}^{2}+3\\left(a+h\\right)-4 \\\\ &={a}^{2}+2ah+{h}^{2}+3a+3h - 4 \\end{align}[\/latex]<\/div>\n<\/li>\n<li>In this case, we apply the input values to the function more than once, and then perform algebraic operations on the result. We already found that\n<div class=\"equation unnumbered\" style=\"text-align: center;\">[latex]f\\left(a+h\\right)={a}^{2}+2ah+{h}^{2}+3a+3h - 4[\/latex]<\/div>\n<p>and we know that<\/p>\n<div class=\"equation unnumbered\" style=\"text-align: center;\">[latex]f\\left(a\\right)={a}^{2}+3a - 4[\/latex]<\/div>\n<p id=\"fs-id1165137767461\">Now we combine the results and simplify.<\/p>\n<div id=\"fs-id1165137573884\" class=\"equation unnumbered\" style=\"text-align: center;\">[latex]\\begin{align} \\frac{f\\left(a+h\\right)-f\\left(a\\right)}{h}&=\\frac{\\left({a}^{2}+2ah+{h}^{2}+3a+3h - 4\\right)-\\left({a}^{2}+3a - 4\\right)}{h} \\\\[1.5mm]&=\\frac{2ah+{h}^{2}+3h}{h} \\\\[1.5mm]&=\\frac{h\\left(2a+h+3\\right)}{h} &&\\text{Factor out }h. \\\\[1.5mm]&=2a+h+3 && \\text{Simplify}. \\end{align}[\/latex]<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm317458\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=317458&theme=lumen&iframe_resize_id=ohm317458&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/section>\n<div id=\"Example_01_01_06\" class=\"example\">\n<div id=\"fs-id1165137742220\" class=\"exercise\">\n<div class=\"bcc-box bcc-success\">\n<section class=\"textbox example\" aria-label=\"Example\">Given the function [latex]h\\left(p\\right)={p}^{2}+2p[\/latex], solve for [latex]h\\left(p\\right)=3[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q630043\">Show Solution<\/button><\/p>\n<div id=\"q630043\" class=\"hidden-answer\" style=\"display: none\">\n<p style=\"text-align: center;\">[latex]\\begin{align}h\\left(p\\right)=3 \\\\ {p}^{2}+2p=3 &\\hspace{3mm} \\text{Substitute the original function }h\\left(p\\right)={p}^{2}+2p. \\\\ {p}^{2}+2p - 3=0 &\\hspace{3mm} \\text{Subtract 3 from each side}. \\\\ \\left(p+3\\text{)(}p - 1\\right)=0 &\\hspace{3mm} \\text{Factor}. \\end{align}[\/latex]<\/p>\n<p>If [latex]\\left(p+3\\right)\\left(p - 1\\right)=0[\/latex], either [latex]\\left(p+3\\right)=0[\/latex] or [latex]\\left(p - 1\\right)=0[\/latex] (or both of them equal 0). We will set each factor equal to 0 and solve for [latex]p[\/latex] in each case.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align}\\left(p+3\\right)=0, & \\hspace{3mm} p=-3 \\\\ \\left(p - 1\\right)=0, & \\hspace{3mm} p=1 \\end{align}[\/latex]<\/p>\n<p>This gives us two solutions. The output [latex]h\\left(p\\right)=3[\/latex] when the input is either [latex]p=1[\/latex] or [latex]p=-3[\/latex].<\/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-archive-read-only\/wp-content\/uploads\/sites\/1227\/2015\/04\/03010534\/CNX_Precalc_Figure_01_01_0062.jpg\" alt=\"Graph of a parabola with labeled points (-3, 3), (1, 3), and (4, 24).\" width=\"487\" height=\"459\" \/><figcaption class=\"wp-caption-text\"><b>Figure 5<\/b><\/figcaption><\/figure>\n<p>We can also verify by graphing as in Figure 5. The graph verifies that [latex]h\\left(1\\right)=h\\left(-3\\right)=3[\/latex] and [latex]h\\left(4\\right)=24[\/latex].<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm317459\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=317459&theme=lumen&iframe_resize_id=ohm317459&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/p>\n<\/section>\n<\/div>\n<h2>Evaluating Functions Expressed in Formulas<\/h2>\n<p id=\"fs-id1165137598337\">Some functions are defined by mathematical rules or procedures expressed in <strong>equation<\/strong> form. If it is possible to express the function output with a <strong>formula<\/strong> involving the input quantity, then we can define a function in algebraic form. For example, the equation [latex]2n+6p=12[\/latex] expresses a functional relationship between [latex]n[\/latex] and [latex]p[\/latex]. We can rewrite it to decide if [latex]p[\/latex] is a function of [latex]n[\/latex].<\/p>\n<section class=\"textbox example\" aria-label=\"Example\">Express the relationship [latex]2n+6p=12[\/latex] as a function [latex]p=f\\left(n\\right)[\/latex], if possible.<\/p>\n<p style=\"text-align: left;\">\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q65760\">Show Solution<\/button><\/p>\n<div id=\"q65760\" class=\"hidden-answer\" style=\"display: none\">\n<p style=\"text-align: left;\">To express the relationship in this form, we need to be able to write the relationship where [latex]p[\/latex] is a function of [latex]n[\/latex], which means writing it as p = expression involving n.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{align} &2n+6p=12 \\\\ &6p=12 - 2n && \\text{Subtract }2n\\text{ from both sides}. \\\\ &p=\\frac{12 - 2n}{6} && \\text{Divide both sides by 6 and simplify}. \\\\ &p=\\frac{12}{6}-\\frac{2n}{6} \\\\ &p=2-\\frac{1}{3}n \\end{align}[\/latex]<\/p>\n<p id=\"fs-id1165135513733\">Therefore, [latex]p[\/latex] as a function of [latex]n[\/latex] is written as<\/p>\n<p style=\"text-align: center;\">[latex]p=f\\left(n\\right)=2-\\frac{1}{3}n[\/latex]<\/p>\n<h4>Analysis of the Solution<\/h4>\n<p id=\"fs-id1165137870972\">It is important to note that not every relationship expressed by an equation can also be expressed as a function with a formula.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox example\" aria-label=\"Example\">Does the equation [latex]{x}^{2}+{y}^{2}=1[\/latex] represent a function with [latex]x[\/latex] as input and [latex]y[\/latex] as output? If so, express the relationship as a function [latex]y=f\\left(x\\right)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><button class=\"show-answer show-answer-button collapsed\" data-target=\"q518628\">Show Solution<\/button><\/p>\n<div id=\"q518628\" class=\"hidden-answer\" style=\"display: none\">First we subtract [latex]{x}^{2}[\/latex] from both sides.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{align} &{x}^{2}+{y}^{2}=1 \\\\ &{y}^{2}=1-{x}^{2} && \\text{Subtract } {x}^{2} \\text{ from both sides} \\\\ &y=\\pm \\sqrt{1-{x}^{2}} && \\text{Solve for } y \\text{ using the square root principle.} \\end{align}[\/latex]<\/div>\n<p>&nbsp;<\/p>\n<p>We get two outputs corresponding to the same input, so this relationship cannot be represented as a single function<\/p>\n<p style=\"text-align: center;\">[latex]y=f\\left(x\\right)[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/section>\n<section class=\"textbox tryIt\" aria-label=\"Try It\"><iframe loading=\"lazy\" id=\"ohm317460\" class=\"resizable\" src=\"https:\/\/ohm.lumenlearning.com\/multiembedq.php?id=317460&theme=lumen&iframe_resize_id=ohm317460&source=tnh\" width=\"100%\" height=\"150\"><\/iframe><\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":13,"menu_order":8,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":36,"module-header":"learn_it","content_attributions":[],"internal_book_links":[],"video_content":null,"cc_video_embed_content":{"cc_scripts":"","media_targets":[]},"try_it_collection":null,"_links":{"self":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/479"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/users\/13"}],"version-history":[{"count":14,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/479\/revisions"}],"predecessor-version":[{"id":5119,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/479\/revisions\/5119"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/parts\/36"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapters\/479\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/media?parent=479"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/pressbooks\/v2\/chapter-type?post=479"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/contributor?post=479"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/precalculus\/wp-json\/wp\/v2\/license?post=479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}