{"id":756,"date":"2015-11-12T18:37:59","date_gmt":"2015-11-12T18:37:59","guid":{"rendered":"https:\/\/courses.candelalearning.com\/collegealgebra1xmaster\/?post_type=chapter&#038;p=756"},"modified":"2015-11-12T18:37:59","modified_gmt":"2015-11-12T18:37:59","slug":"find-the-input-and-output-values-of-a-function","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/chapter\/find-the-input-and-output-values-of-a-function\/","title":{"raw":"Find the input and output values of a function","rendered":"Find the input and output values of a function"},"content":{"raw":"<p id=\"fs-id1165137470651\">When we know an input value and want to determine the corresponding output value for a function, we <em data-effect=\"italics\">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 data-effect=\"italics\">solve<\/em> for the input. Solving can produce more than one solution because different input values can produce the same output value.<\/p>\n\u00a0\n\n<section id=\"fs-id1165137425943\" data-depth=\"2\"><h2 style=\"text-align: center;\" data-type=\"title\"\/>\n<h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Evaluation of Functions in Algebraic Forms<\/span><\/h2>\n\u00a0\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\n<div id=\"fs-id1165135613610\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137767182\"><strong>How To: Given the formula for a function, evaluate.\n<\/strong><\/h3>\n<ol id=\"fs-id1165137629040\" data-number-style=\"arabic\"><li>Replace the input variable in the formula with the value provided.<\/li>\n\t<li>Calculate the result.<\/li>\n<\/ol><\/div>\n<div id=\"Example_01_01_06\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137742220\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137455592\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 6: Evaluating Functions<\/h3>\nGiven the function [latex]h\\left(p\\right)={p}^{2}+2p[\/latex], evaluate [latex]h\\left(4\\right)[\/latex].\n\n<\/div>\n<div id=\"fs-id1165135397244\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\nTo evaluate [latex]h\\left(4\\right)[\/latex], we substitute the value 4 for the input variable [latex]p[\/latex] in the given function.\n<div id=\"fs-id1165137444745\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}\\text{ }h\\left(p\\right)={p}^{2}+2p\\hfill \\\\ \\text{ }h\\left(4\\right)={\\left(4\\right)}^{2}+2\\left(4\\right)\\hfill \\\\ \\text{ }=16+8\\hfill \\\\ \\text{ }=24\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137785006\">Therefore, for an input of 4, we have an output of 24.<\/p>\n\n<\/div>\nhttps:\/\/youtu.be\/Ehkzu5Uv7O0\n<div id=\"fs-id1165137433651\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3 data-type=\"title\">Example 7: Evaluating Functions at Specific Values<\/h3>\n<p id=\"fs-id1165134193005\">Evaluate [latex]f\\left(x\\right)={x}^{2}+3x - 4[\/latex] at<\/p>\n\n<ol id=\"fs-id1165137648008\" data-number-style=\"lower-alpha\"><li>[latex]2[\/latex]<\/li>\n\t<li>[latex]a[\/latex]<\/li>\n\t<li>[latex]a+h[\/latex]<\/li>\n\t<li>[latex]\\frac{f\\left(a+h\\right)-f\\left(a\\right)}{h}[\/latex]<\/li>\n<\/ol><\/div>\n<div class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165137936905\">Replace the [latex]x[\/latex]\u00a0in the function with each specified value.<\/p>\n\n<ol id=\"fs-id1165137778273\" data-number-style=\"lower-alpha\"><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;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}f\\left(2\\right)={2}^{2}+3\\left(2\\right)-4\\hfill \\\\ =4+6 - 4\\hfill \\\\ =6\\hfill \\end{cases}[\/latex]<\/div><\/li>\n\t<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;\" data-type=\"equation\" data-label=\"\">[latex]f\\left(a\\right)={a}^{2}+3a - 4[\/latex]<\/div><\/li>\n\t<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;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}f\\left(a+h\\right)={\\left(a+h\\right)}^{2}+3\\left(a+h\\right)-4\\hfill \\\\ ={a}^{2}+2ah+{h}^{2}+3a+3h - 4\\hfill \\end{cases}[\/latex]<\/div><\/li>\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\n<div class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]f\\left(a+h\\right)={a}^{2}+2ah+{h}^{2}+3a+3h - 4[\/latex]<\/div>\nand we know that\n<div class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[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\n<div id=\"fs-id1165137573884\" class=\"equation unnumbered\" style=\"text-align: center;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}\\begin{cases}\\hfill \\\\ \\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}\\hfill \\end{cases}\\hfill \\\\ \\begin{cases}\\text{ }=\\frac{2ah+{h}^{2}+3h}{h}\\hfill &amp; \\hfill \\\\ \\text{ }=\\frac{h\\left(2a+h+3\\right)}{h}\\hfill &amp; \\begin{cases}{cc}\\begin{cases}{cc}&amp; \\end{cases}&amp; \\end{cases}\\text{Factor out }h.\\hfill \\\\ \\text{ }=2a+h+3\\hfill &amp; \\begin{cases}{cc}\\begin{cases}{cc}&amp; \\end{cases}&amp; \\end{cases}\\text{Simplify}.\\hfill \\end{cases}\\hfill \\end{cases}[\/latex]<\/div><\/li>\n<\/ol><\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 2<\/h3>\n<p id=\"fs-id1165134039323\">Given the function [latex]g\\left(m\\right)=\\sqrt{m - 4}[\/latex], evaluate [latex]g\\left(5\\right)[\/latex].<\/p>\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions\/\" target=\"_blank\">Solution<\/a>\n\n<\/div>\nhttps:\/\/youtu.be\/GLOmTED1UwA\n<div class=\"problem textbox shaded\">\n<h3>Example 8: Solving Functions<\/h3>\nGiven the function [latex]h\\left(p\\right)={p}^{2}+2p[\/latex], solve for [latex]h\\left(p\\right)=3[\/latex].\n\n<\/div>\n<div class=\"problem textbox shaded\">\n<h3>Solution<\/h3>\n[latex]\\begin{cases}\\text{ }h\\left(p\\right)=3\\hfill &amp; \\hfill &amp; \\hfill &amp; \\hfill \\\\ \\text{ }{p}^{2}+2p=3\\hfill &amp; \\hfill &amp; \\hfill &amp; \\text{Substitute the original function }h\\left(p\\right)={p}^{2}+2p.\\hfill \\\\ \\text{ }{p}^{2}+2p - 3=0\\hfill &amp; \\hfill &amp; \\hfill &amp; \\text{Subtract 3 from each side}.\\hfill \\\\ \\text{ }\\left(p+3\\text{)(}p - 1\\right)=0\\hfill &amp; \\hfill &amp; \\hfill &amp; \\text{Factor}.\\hfill \\end{cases}[\/latex]\n\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.\n\n[latex]\\begin{cases}\\left(p+3\\right)=0,\\hfill &amp; p=-3\\hfill \\\\ \\left(p - 1\\right)=0,\\hfill &amp; p=1\\hfill \\end{cases}[\/latex]\n\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].\n\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\/924\/2015\/11\/25200500\/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\" data-media-type=\"image\/jpg\"\/><b>Figure 5<\/b>[\/caption]\n\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].\n\n<\/div>\nhttps:\/\/www.youtube.com\/watch?v=NTmgEF_nZSc\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 3<\/h3>\n<p id=\"fs-id1165134170174\">Given the function [latex]g\\left(m\\right)=\\sqrt{m - 4}[\/latex], solve [latex]g\\left(m\\right)=2[\/latex].<\/p>\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions\/\" target=\"_blank\">Solution<\/a>\n\n<\/div>\n<h2 style=\"text-align: center;\" data-type=\"title\"\/>\n<h2 style=\"text-align: center;\" data-type=\"title\"\/>\n<h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Evaluating Functions Expressed in Formulas<\/span><\/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]\u00a0and [latex]p[\/latex]. We can rewrite it to decide if [latex]p[\/latex] is a function of [latex]n[\/latex].<\/p>\n\n<div id=\"fs-id1165137827882\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165132034236\">How To: Given a function in equation form, write its algebraic formula.<\/h3>\n<ol id=\"fs-id1165134544989\" data-number-style=\"arabic\"><li>Solve the equation to isolate the output variable on one side of the equal sign, with the other side as an expression that involves <em data-effect=\"italics\">only<\/em> the input variable.<\/li>\n\t<li>Use all the usual algebraic methods for solving equations, such as adding or subtracting the same quantity to or from both sides, or multiplying or dividing both sides of the equation by the same quantity.<\/li>\n<\/ol><\/div>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Example 9: Finding an Equation of a Function<\/h3>\nExpress the relationship [latex]2n+6p=12[\/latex] as a function [latex]p=f\\left(n\\right)[\/latex], if possible.\n\n<\/div>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Solution<\/h3>\n<p style=\"text-align: center;\">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.\n[latex]\\begin{cases}2n+6p=12\\hfill &amp; \\hfill \\\\ 6p=12 - 2n\\hfill &amp; \\begin{cases}&amp; &amp; \\end{cases}\\text{Subtract }2n\\text{ from both sides}.\\hfill \\\\ p=\\frac{12 - 2n}{6}\\hfill &amp; \\begin{cases}&amp; &amp; \\end{cases}\\text{Divide both sides by 6 and simplify}.\\hfill \\\\ p=\\frac{12}{6}-\\frac{2n}{6}\\hfill &amp; \\hfill \\\\ p=2-\\frac{1}{3}n\\hfill &amp; \\hfill \\end{cases}[\/latex]<\/p>\n<p id=\"fs-id1165135513733\">Therefore, [latex]p[\/latex] as a function of [latex]n[\/latex] is written as<\/p>\n\n<div style=\"text-align: center;\">[latex]p=f\\left(n\\right)=2-\\frac{1}{3}n[\/latex]<\/div>\n<\/div>\nhttps:\/\/www.youtube.com\/watch?v=lHTLjfPpFyQ&amp;feature=youtu.be\n<h3>Analysis of the Solution<\/h3>\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\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Example 10: Expressing the Equation of a Circle as a Function<\/h3>\nDoes 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].\n\n<\/div>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Solution<\/h3>\nFirst we subtract [latex]{x}^{2}[\/latex] from both sides.\n<div style=\"text-align: center;\">[latex]{y}^{2}=1-{x}^{2}[\/latex]<\/div>\nWe now try to solve for [latex]y[\/latex] in this equation.\n<div style=\"text-align: center;\">[latex]\\begin{cases}y=\\pm \\sqrt{1-{x}^{2}}\\hfill \\\\ \\text{ }=+\\sqrt{1-{x}^{2}}\\text{ and }-\\sqrt{1-{x}^{2}}\\hfill \\end{cases}[\/latex]<\/div>\nWe get two outputs corresponding to the same input, so this relationship cannot be represented as a single function\n<div style=\"text-align: center;\">[latex]y=f\\left(x\\right)[\/latex].<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 4<\/h3>\nIf [latex]x - 8{y}^{3}=0[\/latex], express [latex]y[\/latex] as a function of [latex]x[\/latex].\n\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions\/\" target=\"_blank\">Solution<\/a>\n\n<\/div>\n<div id=\"fs-id1165135581166\" class=\"note precalculus qa textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"Q&amp;A\">\n<h3 id=\"eip-id1165135547539\">Q &amp; A<\/h3>\n<strong>Are there relationships expressed by an equation that do represent a function but which still cannot be represented by an algebraic formula?<\/strong>\n<p id=\"fs-id1165137627784\"><em data-effect=\"italics\">Yes, this can happen. For example, given the equation [latex]x=y+{2}^{y}[\/latex], if we want to express [latex]y[\/latex] as a function of [latex]x[\/latex], there is no simple algebraic formula involving only [latex]x[\/latex] that equals [latex]y[\/latex]. However, each [latex]x[\/latex] does determine a unique value for [latex]y[\/latex], and there are mathematical procedures by which [latex]y[\/latex] can be found to any desired accuracy. In this case, we say that the equation gives an implicit (implied) rule for [latex]y[\/latex] as a function of [latex]x[\/latex], even though the formula cannot be written explicitly.<\/em><\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/section><section id=\"fs-id1165137648450\" data-depth=\"2\"><h2 style=\"text-align: center;\" data-type=\"title\"\/>\n<h2 style=\"text-align: center;\" data-type=\"title\"\/>\n<h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Evaluating a Function Given in Tabular Form<\/span><\/h2>\n<p id=\"fs-id1165135186424\">As we saw above, we can represent functions in tables. Conversely, we can use information in tables to write functions, and we can evaluate functions using the tables. For example, how well do our pets recall the fond memories we share with them? There is an urban legend that a goldfish has a memory of 3 seconds, but this is just a myth. Goldfish can remember up to 3 months, while the beta fish has a memory of up to 5 months. And while a puppy\u2019s memory span is no longer than 30 seconds, the adult dog can remember for 5 minutes. This is meager compared to a cat, whose memory span lasts for 16 hours.<\/p>\n<p id=\"fs-id1165135186427\">The function that relates the type of pet to the duration of its memory span is more easily visualized with the use of a table. See the table below.<\/p>\n\n<table id=\"Table_01_01_10\" summary=\"Six rows and two columns. The first column is labeled,\"><thead><tr><th>Pet<\/th>\n<th>Memory span in hours<\/th>\n<\/tr><\/thead><tbody><tr><td>Puppy<\/td>\n<td>0.008<\/td>\n<\/tr><tr><td>Adult dog<\/td>\n<td>0.083<\/td>\n<\/tr><tr><td>Cat<\/td>\n<td>16<\/td>\n<\/tr><tr><td>Goldfish<\/td>\n<td>2160<\/td>\n<\/tr><tr><td>Beta fish<\/td>\n<td>3600<\/td>\n<\/tr><\/tbody><\/table><p id=\"fs-id1165137584852\">At times, evaluating a function in table form may be more useful than using equations. Here let us call the function [latex]P[\/latex].<\/p>\nThe <strong>domain<\/strong> of the function is the type of pet and the range is a real number representing the number of hours the pet\u2019s memory span lasts. We can evaluate the function [latex]P[\/latex] at the input value of \"goldfish.\" We would write [latex]P\\left(\\text{goldfish}\\right)=2160[\/latex]. Notice that, to evaluate the function in table form, we identify the input value and the corresponding output value from the pertinent row of the table. The tabular form for function [latex]P[\/latex] seems ideally suited to this function, more so than writing it in paragraph or function form.\n<div id=\"fs-id1165137838337\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137870786\">How To: Given a function represented by a table, identify specific output and input values.<strong>\n<\/strong><\/h3>\n<ol id=\"fs-id1165137870791\" data-number-style=\"arabic\"><li>Find the given input in the row (or column) of input values.<\/li>\n\t<li>Identify the corresponding output value paired with that input value.<\/li>\n\t<li>Find the given output values in the row (or column) of output values, noting every time that output value appears.<\/li>\n\t<li>Identify the input value(s) corresponding to the given output value.<\/li>\n<\/ol><\/div>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Example 11: Evaluating and Solving a Tabular Function<\/h3>\n<p id=\"fs-id1165133356033\">Using the table below,<\/p>\n\n<ol id=\"fs-id1165137653327\" data-number-style=\"lower-alpha\"><li>Evaluate [latex]g\\left(3\\right)[\/latex].<\/li>\n\t<li>Solve [latex]g\\left(n\\right)=6[\/latex].<\/li>\n<\/ol><table id=\"Table_01_01_11\" summary=\"Two rows and six columns. The first row is labeled,\"><tbody><tr><td data-align=\"center\"><strong>n<\/strong><\/td>\n<td data-align=\"center\">1<\/td>\n<td data-align=\"center\">2<\/td>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">4<\/td>\n<td data-align=\"center\">5<\/td>\n<\/tr><tr><td data-align=\"center\"><strong>g(n)<\/strong><\/td>\n<td data-align=\"center\">8<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">7<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">8<\/td>\n<\/tr><\/tbody><\/table><\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<ul><li>Evaluating [latex]g\\left(3\\right)[\/latex] means determining the output value of the function [latex]g[\/latex] for the input value of [latex]n=3[\/latex]. The table output value corresponding to [latex]n=3[\/latex] is 7, so [latex]g\\left(3\\right)=7[\/latex].<\/li>\n\t<li>Solving [latex]g\\left(n\\right)=6[\/latex] means identifying the input values, [latex]n[\/latex], that produce an output value of 6. The table below shows two solutions: [latex]n=2[\/latex] and [latex]n=4[\/latex].<\/li>\n<\/ul><table id=\"Table_01_01_12\" summary=\"Two rows and six columns. The first row is labeled,\"><tbody><tr><td data-align=\"center\"><strong>n<\/strong><\/td>\n<td data-align=\"center\">1<\/td>\n<td data-align=\"center\">2<\/td>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">4<\/td>\n<td data-align=\"center\">5<\/td>\n<\/tr><tr><td data-align=\"center\"><strong>g(n)<\/strong><\/td>\n<td data-align=\"center\">8<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">7<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">8<\/td>\n<\/tr><\/tbody><\/table><p id=\"fs-id1165137448125\">When we input 2 into the function [latex]g[\/latex], our output is 6. When we input 4 into the function [latex]g[\/latex], our output is also 6.<\/p>\n\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 5<\/h3>\nUsing the table in Example 11, evaluate [latex]g\\left(1\\right)[\/latex] .\n\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions\/\" target=\"_blank\">Solution<\/a>\n\n<\/div>\n<\/section>\u00a0\n\n<section data-depth=\"2\"><section id=\"fs-id1165135696152\" data-depth=\"2\"><h2 style=\"text-align: center;\" data-type=\"title\"\/>\n<h2 style=\"text-align: center;\" data-type=\"title\"><span style=\"text-decoration: underline;\">Finding Function Values from a Graph<\/span><\/h2>\n<p id=\"fs-id1165137779152\">Evaluating a function using a graph also requires finding the corresponding output value for a given input value, only in this case, we find the output value by looking at the graph. Solving a function equation using a graph requires finding all instances of the given output value on the graph and observing the corresponding input value(s).<\/p>\n\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Example 12: Reading Function Values from a Graph<\/h3>\n<p id=\"fs-id1165137469316\">Given the graph in Figure 6,<\/p>\n\n<ol id=\"fs-id1165137604039\" data-number-style=\"lower-alpha\"><li>Evaluate [latex]f\\left(2\\right)[\/latex].<\/li>\n\t<li>Solve [latex]f\\left(x\\right)=4[\/latex].<\/li>\n<\/ol>\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\/924\/2015\/11\/25200502\/CNX_Precalc_Figure_01_01_0072.jpg\" alt=\"Graph of a positive parabola centered at (1, 0).\" width=\"487\" height=\"445\" data-media-type=\"image\/jpg\"\/><b>Figure 6<\/b>[\/caption]\n\n<\/div>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Solution<\/h3>\n<ol id=\"fs-id1165137871522\" data-number-style=\"lower-alpha\"><li>To evaluate [latex]f\\left(2\\right)[\/latex], locate the point on the curve where [latex]x=2[\/latex], then read the <em data-effect=\"italics\">y<\/em>-coordinate of that point. The point has coordinates [latex]\\left(2,1\\right)[\/latex], so [latex]f\\left(2\\right)=1[\/latex]. See Figure 7.\n<figure id=\"Figure_01_01_008\" class=\"small\"><span data-type=\"media\" data-alt=\"Graph of a positive parabola centered at (1, 0) with the labeled point (2, 1) where f(2) =1.\"><span data-type=\"media\" data-alt=\"Graph of a positive parabola centered at (1, 0) with the labeled point (2, 1) where f(2) =1.\">\n<\/span><\/span>\n\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\/924\/2015\/11\/25200503\/CNX_Precalc_Figure_01_01_0082.jpg\" alt=\"Graph of a positive parabola centered at (1, 0) with the labeled point (2, 1) where f(2) =1.\" width=\"487\" height=\"445\" data-media-type=\"image\/jpg\"\/><b>Figure 7<\/b>[\/caption]\n\n<\/figure><\/li>\n\t<li>To solve [latex]f\\left(x\\right)=4[\/latex], we find the output value [latex]4[\/latex] on the vertical axis. Moving horizontally along the line [latex]y=4[\/latex], we locate two points of the curve with output value [latex]4:[\/latex] [latex]\\left(-1,4\\right)[\/latex] and [latex]\\left(3,4\\right)[\/latex]. These points represent the two solutions to [latex]f\\left(x\\right)=4:[\/latex] [latex]x=-1[\/latex] or [latex]x=3[\/latex]. This means [latex]f\\left(-1\\right)=4[\/latex] and [latex]f\\left(3\\right)=4[\/latex], or when the input is [latex]-1[\/latex] or [latex]\\text{3,}[\/latex] the output is [latex]\\text{4}\\text{.}[\/latex]See Figure 8.\n<figure id=\"Figure_01_01_009\" class=\"small\">\n\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\/924\/2015\/11\/25200505\/CNX_Precalc_Figure_01_01_0092.jpg\" alt=\"Graph of an upward-facing&#xA0;parabola with a vertex at (0,1) and&#xA0;labeled points at (-1, 4) and (3,4). A&#xA0;line at y = 4 intersects the parabola at the labeled points.\" width=\"487\" height=\"445\" data-media-type=\"image\/jpg\"\/><b>Figure 8<\/b>[\/caption]\n\n<\/figure><\/li>\n<\/ol><\/div>\n<\/section><div class=\"bcc-box bcc-success\">\n<h3>Try It 6<\/h3>\nUsing Figure 7, solve [latex]f\\left(x\\right)=1[\/latex].\n\n<a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions\/\" target=\"_blank\">Solution<\/a>\n\n<\/div>\n<\/section>","rendered":"<p id=\"fs-id1165137470651\">When we know an input value and want to determine the corresponding output value for a function, we <em data-effect=\"italics\">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 data-effect=\"italics\">solve<\/em> for the input. Solving can produce more than one solution because different input values can produce the same output value.<\/p>\n<p>\u00a0<\/p>\n<section id=\"fs-id1165137425943\" data-depth=\"2\">\n<h2 style=\"text-align: center;\" data-type=\"title\">\n<span style=\"text-decoration: underline;\">Evaluation of Functions in Algebraic Forms<\/span><\/h2>\n<p>\u00a0<\/p>\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<div id=\"fs-id1165135613610\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137767182\"><strong>How To: Given the formula for a function, evaluate.<br \/>\n<\/strong><\/h3>\n<ol id=\"fs-id1165137629040\" data-number-style=\"arabic\">\n<li>Replace the input variable in the formula with the value provided.<\/li>\n<li>Calculate the result.<\/li>\n<\/ol>\n<\/div>\n<div id=\"Example_01_01_06\" class=\"example\" data-type=\"example\">\n<div id=\"fs-id1165137742220\" class=\"exercise\" data-type=\"exercise\">\n<div id=\"fs-id1165137455592\" class=\"problem textbox shaded\" data-type=\"problem\">\n<h3 data-type=\"title\">Example 6: Evaluating Functions<\/h3>\n<p>Given the function [latex]h\\left(p\\right)={p}^{2}+2p[\/latex], evaluate [latex]h\\left(4\\right)[\/latex].<\/p>\n<\/div>\n<div id=\"fs-id1165135397244\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p>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;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}\\text{ }h\\left(p\\right)={p}^{2}+2p\\hfill \\\\ \\text{ }h\\left(4\\right)={\\left(4\\right)}^{2}+2\\left(4\\right)\\hfill \\\\ \\text{ }=16+8\\hfill \\\\ \\text{ }=24\\hfill \\end{cases}[\/latex]<\/div>\n<p id=\"fs-id1165137785006\">Therefore, for an input of 4, we have an output of 24.<\/p>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"oembed-1\" title=\"Evaluating Functions Using Function Notation (L9.3)\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/Ehkzu5Uv7O0?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div id=\"fs-id1165137433651\" class=\"solution textbox shaded\" data-type=\"solution\">\n<h3 data-type=\"title\">Example 7: Evaluating Functions at Specific Values<\/h3>\n<p id=\"fs-id1165134193005\">Evaluate [latex]f\\left(x\\right)={x}^{2}+3x - 4[\/latex] at<\/p>\n<ol id=\"fs-id1165137648008\" data-number-style=\"lower-alpha\">\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>\n<div class=\"solution textbox shaded\" data-type=\"solution\">\n<h3>Solution<\/h3>\n<p id=\"fs-id1165137936905\">Replace the [latex]x[\/latex]\u00a0in the function with each specified value.<\/p>\n<ol id=\"fs-id1165137778273\" data-number-style=\"lower-alpha\">\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;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}f\\left(2\\right)={2}^{2}+3\\left(2\\right)-4\\hfill \\\\ =4+6 - 4\\hfill \\\\ =6\\hfill \\end{cases}[\/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;\" data-type=\"equation\" data-label=\"\">[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;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}f\\left(a+h\\right)={\\left(a+h\\right)}^{2}+3\\left(a+h\\right)-4\\hfill \\\\ ={a}^{2}+2ah+{h}^{2}+3a+3h - 4\\hfill \\end{cases}[\/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;\" data-type=\"equation\" data-label=\"\">[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;\" data-type=\"equation\" data-label=\"\">[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;\" data-type=\"equation\" data-label=\"\">[latex]\\begin{cases}\\begin{cases}\\hfill \\\\ \\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}\\hfill \\end{cases}\\hfill \\\\ \\begin{cases}\\text{ }=\\frac{2ah+{h}^{2}+3h}{h}\\hfill & \\hfill \\\\ \\text{ }=\\frac{h\\left(2a+h+3\\right)}{h}\\hfill & \\begin{cases}{cc}\\begin{cases}{cc}& \\end{cases}& \\end{cases}\\text{Factor out }h.\\hfill \\\\ \\text{ }=2a+h+3\\hfill & \\begin{cases}{cc}\\begin{cases}{cc}& \\end{cases}& \\end{cases}\\text{Simplify}.\\hfill \\end{cases}\\hfill \\end{cases}[\/latex]<\/div>\n<\/li>\n<\/ol>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 2<\/h3>\n<p id=\"fs-id1165134039323\">Given the function [latex]g\\left(m\\right)=\\sqrt{m - 4}[\/latex], evaluate [latex]g\\left(5\\right)[\/latex].<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"oembed-2\" title=\"Ex: Find Function Inputs for a Given Quadratic Function Output\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/GLOmTED1UwA?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div class=\"problem textbox shaded\">\n<h3>Example 8: Solving Functions<\/h3>\n<p>Given the function [latex]h\\left(p\\right)={p}^{2}+2p[\/latex], solve for [latex]h\\left(p\\right)=3[\/latex].<\/p>\n<\/div>\n<div class=\"problem textbox shaded\">\n<h3>Solution<\/h3>\n<p>[latex]\\begin{cases}\\text{ }h\\left(p\\right)=3\\hfill & \\hfill & \\hfill & \\hfill \\\\ \\text{ }{p}^{2}+2p=3\\hfill & \\hfill & \\hfill & \\text{Substitute the original function }h\\left(p\\right)={p}^{2}+2p.\\hfill \\\\ \\text{ }{p}^{2}+2p - 3=0\\hfill & \\hfill & \\hfill & \\text{Subtract 3 from each side}.\\hfill \\\\ \\text{ }\\left(p+3\\text{)(}p - 1\\right)=0\\hfill & \\hfill & \\hfill & \\text{Factor}.\\hfill \\end{cases}[\/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>[latex]\\begin{cases}\\left(p+3\\right)=0,\\hfill & p=-3\\hfill \\\\ \\left(p - 1\\right)=0,\\hfill & p=1\\hfill \\end{cases}[\/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<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\/924\/2015\/11\/25200500\/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\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 5<\/b><\/p>\n<\/div>\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<p><iframe loading=\"lazy\" id=\"oembed-3\" title=\"Finding Function Values\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/NTmgEF_nZSc?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 3<\/h3>\n<p id=\"fs-id1165134170174\">Given the function [latex]g\\left(m\\right)=\\sqrt{m - 4}[\/latex], solve [latex]g\\left(m\\right)=2[\/latex].<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<h2 style=\"text-align: center;\" data-type=\"title\">\n<p><span style=\"text-decoration: underline;\">Evaluating Functions Expressed in Formulas<\/span><\/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]\u00a0and [latex]p[\/latex]. We can rewrite it to decide if [latex]p[\/latex] is a function of [latex]n[\/latex].<\/p>\n<div id=\"fs-id1165137827882\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165132034236\">How To: Given a function in equation form, write its algebraic formula.<\/h3>\n<ol id=\"fs-id1165134544989\" data-number-style=\"arabic\">\n<li>Solve the equation to isolate the output variable on one side of the equal sign, with the other side as an expression that involves <em data-effect=\"italics\">only<\/em> the input variable.<\/li>\n<li>Use all the usual algebraic methods for solving equations, such as adding or subtracting the same quantity to or from both sides, or multiplying or dividing both sides of the equation by the same quantity.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Example 9: Finding an Equation of a Function<\/h3>\n<p>Express the relationship [latex]2n+6p=12[\/latex] as a function [latex]p=f\\left(n\\right)[\/latex], if possible.<\/p>\n<\/div>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Solution<\/h3>\n<p style=\"text-align: center;\">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.<br \/>\n[latex]\\begin{cases}2n+6p=12\\hfill & \\hfill \\\\ 6p=12 - 2n\\hfill & \\begin{cases}& & \\end{cases}\\text{Subtract }2n\\text{ from both sides}.\\hfill \\\\ p=\\frac{12 - 2n}{6}\\hfill & \\begin{cases}& & \\end{cases}\\text{Divide both sides by 6 and simplify}.\\hfill \\\\ p=\\frac{12}{6}-\\frac{2n}{6}\\hfill & \\hfill \\\\ p=2-\\frac{1}{3}n\\hfill & \\hfill \\end{cases}[\/latex]<\/p>\n<p id=\"fs-id1165135513733\">Therefore, [latex]p[\/latex] as a function of [latex]n[\/latex] is written as<\/p>\n<div style=\"text-align: center;\">[latex]p=f\\left(n\\right)=2-\\frac{1}{3}n[\/latex]<\/div>\n<\/div>\n<p><iframe loading=\"lazy\" id=\"oembed-4\" title=\"Ex: Write a Linear Relation as a Function\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/lHTLjfPpFyQ?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h3>Analysis of the Solution<\/h3>\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 class=\"textbox shaded\" data-type=\"title\">\n<h3>Example 10: Expressing the Equation of a Circle as a Function<\/h3>\n<p>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>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Solution<\/h3>\n<p>First we subtract [latex]{x}^{2}[\/latex] from both sides.<\/p>\n<div style=\"text-align: center;\">[latex]{y}^{2}=1-{x}^{2}[\/latex]<\/div>\n<p>We now try to solve for [latex]y[\/latex] in this equation.<\/p>\n<div style=\"text-align: center;\">[latex]\\begin{cases}y=\\pm \\sqrt{1-{x}^{2}}\\hfill \\\\ \\text{ }=+\\sqrt{1-{x}^{2}}\\text{ and }-\\sqrt{1-{x}^{2}}\\hfill \\end{cases}[\/latex]<\/div>\n<p>We get two outputs corresponding to the same input, so this relationship cannot be represented as a single function<\/p>\n<div style=\"text-align: center;\">[latex]y=f\\left(x\\right)[\/latex].<\/div>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 4<\/h3>\n<p>If [latex]x - 8{y}^{3}=0[\/latex], express [latex]y[\/latex] as a function of [latex]x[\/latex].<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<div id=\"fs-id1165135581166\" class=\"note precalculus qa textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"Q&amp;A\">\n<h3 id=\"eip-id1165135547539\">Q &amp; A<\/h3>\n<p><strong>Are there relationships expressed by an equation that do represent a function but which still cannot be represented by an algebraic formula?<\/strong><\/p>\n<p id=\"fs-id1165137627784\"><em data-effect=\"italics\">Yes, this can happen. For example, given the equation [latex]x=y+{2}^{y}[\/latex], if we want to express [latex]y[\/latex] as a function of [latex]x[\/latex], there is no simple algebraic formula involving only [latex]x[\/latex] that equals [latex]y[\/latex]. However, each [latex]x[\/latex] does determine a unique value for [latex]y[\/latex], and there are mathematical procedures by which [latex]y[\/latex] can be found to any desired accuracy. In this case, we say that the equation gives an implicit (implied) rule for [latex]y[\/latex] as a function of [latex]x[\/latex], even though the formula cannot be written explicitly.<\/em><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<section id=\"fs-id1165137648450\" data-depth=\"2\">\n<h2 style=\"text-align: center;\" data-type=\"title\">\n<p><span style=\"text-decoration: underline;\">Evaluating a Function Given in Tabular Form<\/span><\/h2>\n<p id=\"fs-id1165135186424\">As we saw above, we can represent functions in tables. Conversely, we can use information in tables to write functions, and we can evaluate functions using the tables. For example, how well do our pets recall the fond memories we share with them? There is an urban legend that a goldfish has a memory of 3 seconds, but this is just a myth. Goldfish can remember up to 3 months, while the beta fish has a memory of up to 5 months. And while a puppy\u2019s memory span is no longer than 30 seconds, the adult dog can remember for 5 minutes. This is meager compared to a cat, whose memory span lasts for 16 hours.<\/p>\n<p id=\"fs-id1165135186427\">The function that relates the type of pet to the duration of its memory span is more easily visualized with the use of a table. See the table below.<\/p>\n<table id=\"Table_01_01_10\" summary=\"Six rows and two columns. The first column is labeled,\">\n<thead>\n<tr>\n<th>Pet<\/th>\n<th>Memory span in hours<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Puppy<\/td>\n<td>0.008<\/td>\n<\/tr>\n<tr>\n<td>Adult dog<\/td>\n<td>0.083<\/td>\n<\/tr>\n<tr>\n<td>Cat<\/td>\n<td>16<\/td>\n<\/tr>\n<tr>\n<td>Goldfish<\/td>\n<td>2160<\/td>\n<\/tr>\n<tr>\n<td>Beta fish<\/td>\n<td>3600<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"fs-id1165137584852\">At times, evaluating a function in table form may be more useful than using equations. Here let us call the function [latex]P[\/latex].<\/p>\n<p>The <strong>domain<\/strong> of the function is the type of pet and the range is a real number representing the number of hours the pet\u2019s memory span lasts. We can evaluate the function [latex]P[\/latex] at the input value of &#8220;goldfish.&#8221; We would write [latex]P\\left(\\text{goldfish}\\right)=2160[\/latex]. Notice that, to evaluate the function in table form, we identify the input value and the corresponding output value from the pertinent row of the table. The tabular form for function [latex]P[\/latex] seems ideally suited to this function, more so than writing it in paragraph or function form.<\/p>\n<div id=\"fs-id1165137838337\" class=\"note precalculus howto textbox\" data-type=\"note\" data-has-label=\"true\" data-label=\"How To\">\n<h3 id=\"fs-id1165137870786\">How To: Given a function represented by a table, identify specific output and input values.<strong><br \/>\n<\/strong><\/h3>\n<ol id=\"fs-id1165137870791\" data-number-style=\"arabic\">\n<li>Find the given input in the row (or column) of input values.<\/li>\n<li>Identify the corresponding output value paired with that input value.<\/li>\n<li>Find the given output values in the row (or column) of output values, noting every time that output value appears.<\/li>\n<li>Identify the input value(s) corresponding to the given output value.<\/li>\n<\/ol>\n<\/div>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Example 11: Evaluating and Solving a Tabular Function<\/h3>\n<p id=\"fs-id1165133356033\">Using the table below,<\/p>\n<ol id=\"fs-id1165137653327\" data-number-style=\"lower-alpha\">\n<li>Evaluate [latex]g\\left(3\\right)[\/latex].<\/li>\n<li>Solve [latex]g\\left(n\\right)=6[\/latex].<\/li>\n<\/ol>\n<table id=\"Table_01_01_11\" summary=\"Two rows and six columns. The first row is labeled,\">\n<tbody>\n<tr>\n<td data-align=\"center\"><strong>n<\/strong><\/td>\n<td data-align=\"center\">1<\/td>\n<td data-align=\"center\">2<\/td>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">4<\/td>\n<td data-align=\"center\">5<\/td>\n<\/tr>\n<tr>\n<td data-align=\"center\"><strong>g(n)<\/strong><\/td>\n<td data-align=\"center\">8<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">7<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div class=\"textbox shaded\">\n<h3>Solution<\/h3>\n<ul>\n<li>Evaluating [latex]g\\left(3\\right)[\/latex] means determining the output value of the function [latex]g[\/latex] for the input value of [latex]n=3[\/latex]. The table output value corresponding to [latex]n=3[\/latex] is 7, so [latex]g\\left(3\\right)=7[\/latex].<\/li>\n<li>Solving [latex]g\\left(n\\right)=6[\/latex] means identifying the input values, [latex]n[\/latex], that produce an output value of 6. The table below shows two solutions: [latex]n=2[\/latex] and [latex]n=4[\/latex].<\/li>\n<\/ul>\n<table id=\"Table_01_01_12\" summary=\"Two rows and six columns. The first row is labeled,\">\n<tbody>\n<tr>\n<td data-align=\"center\"><strong>n<\/strong><\/td>\n<td data-align=\"center\">1<\/td>\n<td data-align=\"center\">2<\/td>\n<td data-align=\"center\">3<\/td>\n<td data-align=\"center\">4<\/td>\n<td data-align=\"center\">5<\/td>\n<\/tr>\n<tr>\n<td data-align=\"center\"><strong>g(n)<\/strong><\/td>\n<td data-align=\"center\">8<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">7<\/td>\n<td data-align=\"center\">6<\/td>\n<td data-align=\"center\">8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"fs-id1165137448125\">When we input 2 into the function [latex]g[\/latex], our output is 6. When we input 4 into the function [latex]g[\/latex], our output is also 6.<\/p>\n<\/div>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 5<\/h3>\n<p>Using the table in Example 11, evaluate [latex]g\\left(1\\right)[\/latex] .<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<\/section>\n<p>\u00a0<\/p>\n<section data-depth=\"2\">\n<section id=\"fs-id1165135696152\" data-depth=\"2\">\n<h2 style=\"text-align: center;\" data-type=\"title\">\n<span style=\"text-decoration: underline;\">Finding Function Values from a Graph<\/span><\/h2>\n<p id=\"fs-id1165137779152\">Evaluating a function using a graph also requires finding the corresponding output value for a given input value, only in this case, we find the output value by looking at the graph. Solving a function equation using a graph requires finding all instances of the given output value on the graph and observing the corresponding input value(s).<\/p>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Example 12: Reading Function Values from a Graph<\/h3>\n<p id=\"fs-id1165137469316\">Given the graph in Figure 6,<\/p>\n<ol id=\"fs-id1165137604039\" data-number-style=\"lower-alpha\">\n<li>Evaluate [latex]f\\left(2\\right)[\/latex].<\/li>\n<li>Solve [latex]f\\left(x\\right)=4[\/latex].<\/li>\n<\/ol>\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\/924\/2015\/11\/25200502\/CNX_Precalc_Figure_01_01_0072.jpg\" alt=\"Graph of a positive parabola centered at (1, 0).\" width=\"487\" height=\"445\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 6<\/b><\/p>\n<\/div>\n<\/div>\n<div class=\"textbox shaded\" data-type=\"title\">\n<h3>Solution<\/h3>\n<ol id=\"fs-id1165137871522\" data-number-style=\"lower-alpha\">\n<li>To evaluate [latex]f\\left(2\\right)[\/latex], locate the point on the curve where [latex]x=2[\/latex], then read the <em data-effect=\"italics\">y<\/em>-coordinate of that point. The point has coordinates [latex]\\left(2,1\\right)[\/latex], so [latex]f\\left(2\\right)=1[\/latex]. See Figure 7.<br \/>\n<figure id=\"Figure_01_01_008\" class=\"small\"><span data-type=\"media\" data-alt=\"Graph of a positive parabola centered at (1, 0) with the labeled point (2, 1) where f(2) =1.\"><span data-type=\"media\" data-alt=\"Graph of a positive parabola centered at (1, 0) with the labeled point (2, 1) where f(2) =1.\"><br \/>\n<\/span><\/span><\/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\/924\/2015\/11\/25200503\/CNX_Precalc_Figure_01_01_0082.jpg\" alt=\"Graph of a positive parabola centered at (1, 0) with the labeled point (2, 1) where f(2) =1.\" width=\"487\" height=\"445\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 7<\/b><\/p>\n<\/div>\n<\/figure>\n<\/li>\n<li>To solve [latex]f\\left(x\\right)=4[\/latex], we find the output value [latex]4[\/latex] on the vertical axis. Moving horizontally along the line [latex]y=4[\/latex], we locate two points of the curve with output value [latex]4:[\/latex] [latex]\\left(-1,4\\right)[\/latex] and [latex]\\left(3,4\\right)[\/latex]. These points represent the two solutions to [latex]f\\left(x\\right)=4:[\/latex] [latex]x=-1[\/latex] or [latex]x=3[\/latex]. This means [latex]f\\left(-1\\right)=4[\/latex] and [latex]f\\left(3\\right)=4[\/latex], or when the input is [latex]-1[\/latex] or [latex]\\text{3,}[\/latex] the output is [latex]\\text{4}\\text{.}[\/latex]See Figure 8.<br \/>\n<figure id=\"Figure_01_01_009\" class=\"small\">\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\/924\/2015\/11\/25200505\/CNX_Precalc_Figure_01_01_0092.jpg\" alt=\"Graph of an upward-facing&#xa0;parabola with a vertex at (0,1) and&#xa0;labeled points at (-1, 4) and (3,4). A&#xa0;line at y = 4 intersects the parabola at the labeled points.\" width=\"487\" height=\"445\" data-media-type=\"image\/jpg\" \/><\/p>\n<p class=\"wp-caption-text\"><b>Figure 8<\/b><\/p>\n<\/div>\n<\/figure>\n<\/li>\n<\/ol>\n<\/div>\n<\/section>\n<div class=\"bcc-box bcc-success\">\n<h3>Try It 6<\/h3>\n<p>Using Figure 7, solve [latex]f\\left(x\\right)=1[\/latex].<\/p>\n<p><a href=\"https:\/\/courses.candelalearning.com\/osprecalc\/chapter\/solutions\/\" target=\"_blank\">Solution<\/a><\/p>\n<\/div>\n<\/section>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-756\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Precalculus. <strong>Authored by<\/strong>: Jay Abramson, et al.. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\">http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.<\/li><\/ul><div class=\"license-attribution-dropdown-subheading\">All rights reserved content<\/div><ul class=\"citation-list\"><li>Finding Function Values. <strong>Authored by<\/strong>: Mathispower4u. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/youtu.be\/NTmgEF_nZSc\">https:\/\/youtu.be\/NTmgEF_nZSc<\/a>. <strong>License<\/strong>: <em>All Rights Reserved<\/em>. <strong>License Terms<\/strong>: Standard YouTube License<\/li><li>Ex: Evaluate a Function and Solve for a Function Value Given a Table. <strong>Authored by<\/strong>: Mathispower4u. <strong>Provided by<\/strong>: Phoenix College. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/youtu.be\/meqZdQkoNOQ\">https:\/\/youtu.be\/meqZdQkoNOQ<\/a>. <strong>License<\/strong>: <em>All Rights Reserved<\/em>. <strong>License Terms<\/strong>: Standard YouTube LIcense<\/li><li>Ex1: Evaluate a Function and Solve for a Function Value Given a Graph. <strong>Authored by<\/strong>: Mathispower4u. <strong>Provided by<\/strong>: Phoenix College. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/www.youtube.com\/watch?v=_fO9gx1ncyg.\">https:\/\/www.youtube.com\/watch?v=_fO9gx1ncyg.<\/a>. <strong>License<\/strong>: <em>All Rights Reserved<\/em>. <strong>License Terms<\/strong>: Standard YouTube LIcense<\/li><li>Find Function Inputs for a Given Quadratic Function Output. <strong>Authored by<\/strong>: James Sousa. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/youtu.be\/GLOmTED1UwA\">https:\/\/youtu.be\/GLOmTED1UwA<\/a>. <strong>License<\/strong>: <em>All Rights Reserved<\/em>. <strong>License Terms<\/strong>: Standard YouTube License<\/li><li>Write a Linear Relation as a Function. <strong>Authored by<\/strong>: James Sousa. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/www.youtube.com\/watch?v=lHTLjfPpFyQ&#038;feature=youtu.be\">https:\/\/www.youtube.com\/watch?v=lHTLjfPpFyQ&#038;feature=youtu.be<\/a>. <strong>License<\/strong>: <em>All Rights Reserved<\/em>. <strong>License Terms<\/strong>: Standard YouTube License<\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":276,"menu_order":3,"template":"","meta":{"_candela_citation":"[{\"type\":\"copyrighted_video\",\"description\":\"Finding Function Values\",\"author\":\"Mathispower4u\",\"organization\":\"\",\"url\":\"https:\/\/youtu.be\/NTmgEF_nZSc\",\"project\":\"\",\"license\":\"arr\",\"license_terms\":\"Standard YouTube License\"},{\"type\":\"copyrighted_video\",\"description\":\"Ex: Evaluate a Function and Solve for a Function Value Given a Table\",\"author\":\"Mathispower4u\",\"organization\":\"Phoenix College\",\"url\":\"https:\/\/youtu.be\/meqZdQkoNOQ\",\"project\":\"\",\"license\":\"arr\",\"license_terms\":\"Standard YouTube LIcense\"},{\"type\":\"copyrighted_video\",\"description\":\"Ex1: Evaluate a Function and Solve for a Function Value Given a Graph\",\"author\":\"Mathispower4u\",\"organization\":\"Phoenix College\",\"url\":\"https:\/\/www.youtube.com\/watch?v=_fO9gx1ncyg.\",\"project\":\"\",\"license\":\"arr\",\"license_terms\":\"Standard YouTube LIcense\"},{\"type\":\"copyrighted_video\",\"description\":\"Find Function Inputs for a Given Quadratic Function Output\",\"author\":\"James Sousa\",\"organization\":\"\",\"url\":\"https:\/\/youtu.be\/GLOmTED1UwA\",\"project\":\"\",\"license\":\"arr\",\"license_terms\":\"Standard YouTube License\"},{\"type\":\"copyrighted_video\",\"description\":\"Write a Linear Relation as a Function\",\"author\":\"James Sousa\",\"organization\":\"\",\"url\":\"https:\/\/www.youtube.com\/watch?v=lHTLjfPpFyQ&feature=youtu.be\",\"project\":\"\",\"license\":\"arr\",\"license_terms\":\"Standard YouTube License\"},{\"type\":\"cc\",\"description\":\"Precalculus\",\"author\":\"Jay Abramson, et al.\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download For Free at : http:\/\/cnx.org\/contents\/fd53eae1-fa23-47c7-bb1b-972349835c3c@5.175.\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-756","chapter","type-chapter","status-publish","hentry"],"part":744,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/users\/276"}],"version-history":[{"count":1,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/756\/revisions"}],"predecessor-version":[{"id":2518,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/756\/revisions\/2518"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/parts\/744"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/756\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/media?parent=756"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=756"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/contributor?post=756"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/ivytech-collegealgebra\/wp-json\/wp\/v2\/license?post=756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}