{"id":1413,"date":"2024-05-23T03:35:32","date_gmt":"2024-05-23T03:35:32","guid":{"rendered":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/?post_type=chapter&#038;p=1413"},"modified":"2025-08-21T23:28:48","modified_gmt":"2025-08-21T23:28:48","slug":"introduction-to-functions-learn-it-3","status":"publish","type":"chapter","link":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/chapter\/introduction-to-functions-learn-it-3\/","title":{"raw":"Introduction to Functions: Learn It 3","rendered":"Introduction to Functions: Learn It 3"},"content":{"raw":"<h2>Representing Functions Using Tables<\/h2>\r\nA common method of representing functions is in the form of a table. The table rows or columns display the corresponding input and output values. In some cases, these values represent all we know about the relationship; other times, the table provides a few select examples from a more complete relationship.\r\n\r\nThe table below lists the input number of each month (January = [latex]1[\/latex], February = [latex]2[\/latex], and so on) and the output value of the number of days in that month. This information represents all we know about the months and days for a given year (that is not a leap year). Note that, in this table, we define a days-in-a-month function [latex]f[\/latex] where [latex]D=f(m)[\/latex] identifies months by an integer rather than by name.\r\n<table border=\"1\">\r\n<tbody>\r\n<tr>\r\n<th>Month number, [latex]m[\/latex] (input)<\/th>\r\n<td>[latex]1[\/latex]<\/td>\r\n<td>[latex]2[\/latex]<\/td>\r\n<td>[latex]3[\/latex]<\/td>\r\n<td>[latex]4[\/latex]<\/td>\r\n<td>[latex]5[\/latex]<\/td>\r\n<td>[latex]6[\/latex]<\/td>\r\n<td>[latex]7[\/latex]<\/td>\r\n<td>[latex]8[\/latex]<\/td>\r\n<td>[latex]9[\/latex]<\/td>\r\n<td>[latex]10[\/latex]<\/td>\r\n<td>[latex]11[\/latex]<\/td>\r\n<td>[latex]12[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<th>Days in month, [latex]D[\/latex] (output)<\/th>\r\n<td>[latex]31[\/latex]<\/td>\r\n<td>[latex]28[\/latex]<\/td>\r\n<td>[latex]31[\/latex]<\/td>\r\n<td>[latex]30[\/latex]<\/td>\r\n<td>[latex]31[\/latex]<\/td>\r\n<td>[latex]30[\/latex]<\/td>\r\n<td>[latex]31[\/latex]<\/td>\r\n<td>[latex]31[\/latex]<\/td>\r\n<td>[latex]30[\/latex]<\/td>\r\n<td>[latex]31[\/latex]<\/td>\r\n<td>[latex]30[\/latex]<\/td>\r\n<td>[latex]31[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe table below displays the age of children in years and their corresponding heights. This table displays just some of the data available for the heights and ages of children. We can see right away that this table does not represent a function because the same input value, [latex]5[\/latex] years, has two different output values, [latex]40[\/latex] in. and [latex]42[\/latex] in.\r\n<table border=\"1\">\r\n<tbody>\r\n<tr>\r\n<th>Age in years, [latex]a[\/latex] (input)<\/th>\r\n<td>[latex]5[\/latex]<\/td>\r\n<td>[latex]5[\/latex]<\/td>\r\n<td>[latex]6[\/latex]<\/td>\r\n<td>[latex]7[\/latex]<\/td>\r\n<td>[latex]8[\/latex]<\/td>\r\n<td>[latex]9[\/latex]<\/td>\r\n<td>[latex]10[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<th>Height in inches, [latex]h[\/latex] (output)<\/th>\r\n<td>[latex]40[\/latex]<\/td>\r\n<td>[latex]42[\/latex]<\/td>\r\n<td>[latex]44[\/latex]<\/td>\r\n<td>[latex]47[\/latex]<\/td>\r\n<td>[latex]50[\/latex]<\/td>\r\n<td>[latex]52[\/latex]<\/td>\r\n<td>[latex]54[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<section class=\"textbox questionHelp\"><strong>How to: Given a table of input and output values, determine whether the table represents a function.<\/strong>\r\n<ol id=\"fs-id1165137629040\" type=\"1\">\r\n \t<li>Identify the input and output values.<\/li>\r\n \t<li>Check to see if each input value is paired with only one output value. If so, the table represents a function.<\/li>\r\n<\/ol>\r\n<\/section>\r\n<h2>Function Notation<\/h2>\r\nSome people think of functions as \u201cmathematical machines.\u201d Imagine you have a machine that changes a number according to a specific rule such as \u201cmultiply by\u00a0[latex]3[\/latex] and add\u00a0[latex]2[\/latex]\u201d or \u201cdivide by\u00a0[latex]5[\/latex], add\u00a0[latex]25[\/latex], and multiply by [latex]\u22121[\/latex].\u201d If you put a number into the machine, a new number will pop out the other end having been changed according to the rule. The number that goes in is called the input, and the number that is produced is called the output.\r\n\r\nYou can also call the machine \u201c[latex]f[\/latex]\" for function. If you put [latex]x[\/latex] into the box, [latex]f(x)[\/latex], comes out. Mathematically speaking, [latex]x[\/latex] is the input, or the \u201cindependent variable,\u201d and [latex]f(x)[\/latex] is the output, or the \u201cdependent variable,\u201d since it depends on the value of [latex]x[\/latex].\r\n\r\n<section class=\"textbox keyTakeaway\">\r\n<h3>function notation<\/h3>\r\nThe notation [latex]y=f(x)[\/latex] defines a function named [latex]f[\/latex]. This is read as \u201c[latex]y[\/latex] is a function of [latex]x[\/latex].\u201d The letter [latex]x[\/latex] represents the input value, or independent variable. The letter [latex]y[\/latex], or [latex]f(x)[\/latex], represents the output value, or dependent variable.\r\n\r\n<\/section>[latex]f(x)=4x+1[\/latex] is written in <strong>function notation<\/strong> and is read \u201c[latex]f[\/latex] of [latex]x[\/latex] equals [latex]4x[\/latex] plus [latex]1[\/latex].\u201d It represents the following situation: A function named [latex]f[\/latex] acts upon an input, [latex]x[\/latex] and produces [latex]f(x)[\/latex] which is equal to [latex]4x+1[\/latex]. This is the same as the equation [latex]y=4x+1[\/latex].\r\n\r\nFunction notation gives you more flexibility because you do not have to use <i>y<\/i> for every equation. Instead, you could use [latex]f(x)[\/latex] or [latex]g(x)[\/latex] or [latex]c(x)[\/latex]. This can be a helpful way to distinguish equations of functions when you are dealing with more than one at a time.\r\n\r\n<section class=\"textbox example\">To represent \u201cheight is a function of age,\u201d we start by identifying the descriptive variables [latex]h[\/latex] for height and [latex]a[\/latex] for 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] and [latex]C[\/latex] to represent sets.\r\n<p style=\"text-align: center;\">[latex]\\begin{array}{ll} h \\text{ is } f \\text{ of } a &amp; \\text{We name the function } f; \\text{ height is a function of age.} \\\\ h = f(a) &amp; \\text{We use parentheses to indicate the function input.} \\\\ f(a) &amp; \\text{We name the function } f; \\text{ the expression is read as \"} f \\text{ of } a.\" \\end{array}[\/latex]<\/p>\r\nRemember, we can use any letter to name the function; the notation [latex]h(a)[\/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.\r\n\r\n<\/section><section class=\"textbox example\">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. [reveal-answer q=\"5489\"]Show Solution[\/reveal-answer] [hidden-answer a=\"5489\"] 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 \"rule\" that associates a specific number (the output) with each input.<center>\r\n\r\n[caption id=\"\" align=\"alignnone\" width=\"487\"]<img src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images-archive-read-only\/wp-content\/uploads\/sites\/924\/2015\/11\/25200459\/CNX_Precalc_Figure_01_01_0052.jpg\" alt=\"The function 31 = f(January) where 31 is the output, f is the rule, and January is the input.\" width=\"487\" height=\"107\" \/> Diagram of a function with labels[\/caption]\r\n\r\n&nbsp;\r\n\r\n<\/center>For example, [latex]f\\left(\\text{March}\\right)=31[\/latex], because March has\u00a0[latex]31[\/latex] 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). [\/hidden-answer]<\/section>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.","rendered":"<h2>Representing Functions Using Tables<\/h2>\n<p>A common method of representing functions is in the form of a table. The table rows or columns display the corresponding input and output values. In some cases, these values represent all we know about the relationship; other times, the table provides a few select examples from a more complete relationship.<\/p>\n<p>The table below lists the input number of each month (January = [latex]1[\/latex], February = [latex]2[\/latex], and so on) and the output value of the number of days in that month. This information represents all we know about the months and days for a given year (that is not a leap year). Note that, in this table, we define a days-in-a-month function [latex]f[\/latex] where [latex]D=f(m)[\/latex] identifies months by an integer rather than by name.<\/p>\n<table>\n<tbody>\n<tr>\n<th>Month number, [latex]m[\/latex] (input)<\/th>\n<td>[latex]1[\/latex]<\/td>\n<td>[latex]2[\/latex]<\/td>\n<td>[latex]3[\/latex]<\/td>\n<td>[latex]4[\/latex]<\/td>\n<td>[latex]5[\/latex]<\/td>\n<td>[latex]6[\/latex]<\/td>\n<td>[latex]7[\/latex]<\/td>\n<td>[latex]8[\/latex]<\/td>\n<td>[latex]9[\/latex]<\/td>\n<td>[latex]10[\/latex]<\/td>\n<td>[latex]11[\/latex]<\/td>\n<td>[latex]12[\/latex]<\/td>\n<\/tr>\n<tr>\n<th>Days in month, [latex]D[\/latex] (output)<\/th>\n<td>[latex]31[\/latex]<\/td>\n<td>[latex]28[\/latex]<\/td>\n<td>[latex]31[\/latex]<\/td>\n<td>[latex]30[\/latex]<\/td>\n<td>[latex]31[\/latex]<\/td>\n<td>[latex]30[\/latex]<\/td>\n<td>[latex]31[\/latex]<\/td>\n<td>[latex]31[\/latex]<\/td>\n<td>[latex]30[\/latex]<\/td>\n<td>[latex]31[\/latex]<\/td>\n<td>[latex]30[\/latex]<\/td>\n<td>[latex]31[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The table below displays the age of children in years and their corresponding heights. This table displays just some of the data available for the heights and ages of children. We can see right away that this table does not represent a function because the same input value, [latex]5[\/latex] years, has two different output values, [latex]40[\/latex] in. and [latex]42[\/latex] in.<\/p>\n<table>\n<tbody>\n<tr>\n<th>Age in years, [latex]a[\/latex] (input)<\/th>\n<td>[latex]5[\/latex]<\/td>\n<td>[latex]5[\/latex]<\/td>\n<td>[latex]6[\/latex]<\/td>\n<td>[latex]7[\/latex]<\/td>\n<td>[latex]8[\/latex]<\/td>\n<td>[latex]9[\/latex]<\/td>\n<td>[latex]10[\/latex]<\/td>\n<\/tr>\n<tr>\n<th>Height in inches, [latex]h[\/latex] (output)<\/th>\n<td>[latex]40[\/latex]<\/td>\n<td>[latex]42[\/latex]<\/td>\n<td>[latex]44[\/latex]<\/td>\n<td>[latex]47[\/latex]<\/td>\n<td>[latex]50[\/latex]<\/td>\n<td>[latex]52[\/latex]<\/td>\n<td>[latex]54[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<section class=\"textbox questionHelp\"><strong>How to: Given a table of input and output values, determine whether the table represents a function.<\/strong><\/p>\n<ol id=\"fs-id1165137629040\" type=\"1\">\n<li>Identify the input and output values.<\/li>\n<li>Check to see if each input value is paired with only one output value. If so, the table represents a function.<\/li>\n<\/ol>\n<\/section>\n<h2>Function Notation<\/h2>\n<p>Some people think of functions as \u201cmathematical machines.\u201d Imagine you have a machine that changes a number according to a specific rule such as \u201cmultiply by\u00a0[latex]3[\/latex] and add\u00a0[latex]2[\/latex]\u201d or \u201cdivide by\u00a0[latex]5[\/latex], add\u00a0[latex]25[\/latex], and multiply by [latex]\u22121[\/latex].\u201d If you put a number into the machine, a new number will pop out the other end having been changed according to the rule. The number that goes in is called the input, and the number that is produced is called the output.<\/p>\n<p>You can also call the machine \u201c[latex]f[\/latex]&#8221; for function. If you put [latex]x[\/latex] into the box, [latex]f(x)[\/latex], comes out. Mathematically speaking, [latex]x[\/latex] is the input, or the \u201cindependent variable,\u201d and [latex]f(x)[\/latex] is the output, or the \u201cdependent variable,\u201d since it depends on the value of [latex]x[\/latex].<\/p>\n<section class=\"textbox keyTakeaway\">\n<h3>function notation<\/h3>\n<p>The notation [latex]y=f(x)[\/latex] defines a function named [latex]f[\/latex]. This is read as \u201c[latex]y[\/latex] is a function of [latex]x[\/latex].\u201d The letter [latex]x[\/latex] represents the input value, or independent variable. The letter [latex]y[\/latex], or [latex]f(x)[\/latex], represents the output value, or dependent variable.<\/p>\n<\/section>\n<p>[latex]f(x)=4x+1[\/latex] is written in <strong>function notation<\/strong> and is read \u201c[latex]f[\/latex] of [latex]x[\/latex] equals [latex]4x[\/latex] plus [latex]1[\/latex].\u201d It represents the following situation: A function named [latex]f[\/latex] acts upon an input, [latex]x[\/latex] and produces [latex]f(x)[\/latex] which is equal to [latex]4x+1[\/latex]. This is the same as the equation [latex]y=4x+1[\/latex].<\/p>\n<p>Function notation gives you more flexibility because you do not have to use <i>y<\/i> for every equation. Instead, you could use [latex]f(x)[\/latex] or [latex]g(x)[\/latex] or [latex]c(x)[\/latex]. This can be a helpful way to distinguish equations of functions when you are dealing with more than one at a time.<\/p>\n<section class=\"textbox example\">To represent \u201cheight is a function of age,\u201d we start by identifying the descriptive variables [latex]h[\/latex] for height and [latex]a[\/latex] for 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] and [latex]C[\/latex] to represent sets.<\/p>\n<p style=\"text-align: center;\">[latex]\\begin{array}{ll} h \\text{ is } f \\text{ of } a & \\text{We name the function } f; \\text{ height is a function of age.} \\\\ h = f(a) & \\text{We use parentheses to indicate the function input.} \\\\ f(a) & \\text{We name the function } f; \\text{ the expression is read as \"} f \\text{ of } a.\" \\end{array}[\/latex]<\/p>\n<p>Remember, we can use any letter to name the function; the notation [latex]h(a)[\/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<\/section>\n<section class=\"textbox example\">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=\"q5489\">Show Solution<\/button> <\/p>\n<div id=\"q5489\" class=\"hidden-answer\" style=\"display: none\"> 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<div style=\"text-align: center;\">\n<figure style=\"width: 487px\" class=\"wp-caption alignnone\"><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\/25200459\/CNX_Precalc_Figure_01_01_0052.jpg\" alt=\"The function 31 = f(January) where 31 is the output, f is the rule, and January is the input.\" width=\"487\" height=\"107\" \/><figcaption class=\"wp-caption-text\">Diagram of a function with labels<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<\/div>\n<p>For example, [latex]f\\left(\\text{March}\\right)=31[\/latex], because March has\u00a0[latex]31[\/latex] 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><\/div>\n<\/div>\n<\/section>\n<p>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","protected":false},"author":12,"menu_order":7,"template":"","meta":{"_candela_citation":"[]","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"part":116,"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\/collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1413"}],"collection":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/wp\/v2\/users\/12"}],"version-history":[{"count":23,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1413\/revisions"}],"predecessor-version":[{"id":7983,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1413\/revisions\/7983"}],"part":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/parts\/116"}],"metadata":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/chapters\/1413\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/wp\/v2\/media?parent=1413"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=1413"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/wp\/v2\/contributor?post=1413"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/content.one.lumenlearning.com\/collegealgebra\/wp-json\/wp\/v2\/license?post=1413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}