{"id":6636,"date":"2020-10-03T15:16:15","date_gmt":"2020-10-03T15:16:15","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/slcc-beginalgebra\/?post_type=chapter&#038;p=6636"},"modified":"2026-01-17T05:24:13","modified_gmt":"2026-01-17T05:24:13","slug":"3-1-intro-functions","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/chapter\/3-1-intro-functions\/","title":{"raw":"3.2: Intro to Functions","rendered":"3.2: Intro to Functions"},"content":{"raw":"<div class=\"textbox learning-objectives\">\r\n<h3>section 3.2 Learning Objectives<\/h3>\r\n<strong>3.2: Introduction to Functions<\/strong>\r\n<ul>\r\n \t<li>Determine if a relation is a function<\/li>\r\n \t<li>Identify the domain and range of a set of ordered pairs<\/li>\r\n \t<li>Evaluate a function written in function notation<\/li>\r\n \t<li>Find the domain of a rational function<\/li>\r\n<\/ul>\r\n<\/div>\r\n&nbsp;\r\n\r\nThere are many kinds of relations. A relation is simply a correspondence between sets of values or information. Think about members of your family and their ages. The pairing of each member of your family and their age is a relation. Each family member can be paired with an age in the set of ages of your family members. Another example of a relation is the pairing of a state with its U.S. senators. Each state can be matched with two individuals who have each been elected to serve as a senator. In turn, each senator can be matched with one specific state that he or she represents. Both of these are real-life examples of relations.\r\n<h2>Determine if a relation is a function<\/h2>\r\nThe first value of a relation is an input value and the second value is the output value. A <strong>function<\/strong> is a specific type of relation in which each input value has one and only one output value. An input is the <i>independent<\/i> value, and the output is the <i>dependent <\/i>value, as it depends on the value of the input.\r\n\r\nWhich set of values make up the input values and output values can affect whether or not the relation is a function. Notice in the first table below, where the input is \u201cname\u201d and the output is \u201cage,\u201d each input matches with exactly one output. This is an example of a function.\r\n<table style=\"width: 50%;\">\r\n<thead>\r\n<tr style=\"height: 30px;\">\r\n<th style=\"height: 30px; text-align: center;\" scope=\"row\">Family Member's Name (Input)<\/th>\r\n<th style=\"height: 30px; text-align: center;\">Family Member's Age (Output)<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr style=\"height: 15px;\">\r\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Nellie<\/td>\r\n<td style=\"height: 15px; text-align: center;\">[latex]13[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px;\">\r\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Marcos<\/td>\r\n<td style=\"height: 15px; text-align: center;\">[latex]11[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15.1719px;\">\r\n<td style=\"height: 15.1719px; text-align: center;\" scope=\"row\">Esther<\/td>\r\n<td style=\"height: 15.1719px; text-align: center;\">[latex]46[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px;\">\r\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Samuel<\/td>\r\n<td style=\"height: 15px; text-align: center;\">[latex]47[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px;\">\r\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Nina<\/td>\r\n<td style=\"height: 15px; text-align: center;\">[latex]47[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px;\">\r\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Paul<\/td>\r\n<td style=\"height: 15px; text-align: center;\">[latex]47[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px;\">\r\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Katrina<\/td>\r\n<td style=\"height: 15px; text-align: center;\">[latex]21[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px;\">\r\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Andrew<\/td>\r\n<td style=\"height: 15px; text-align: center;\">[latex]16[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px;\">\r\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Maria<\/td>\r\n<td style=\"height: 15px; text-align: center;\">[latex]13[\/latex]<\/td>\r\n<\/tr>\r\n<tr style=\"height: 15px;\">\r\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Ana<\/td>\r\n<td style=\"height: 15px; text-align: center;\">[latex]81[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nCompare this with the next table where the input is \u201cage\u201d and the output is \u201cname.\u201d Some of the inputs result in more than one output. This is an example of a correspondence that is <i>not <\/i>a function.\r\n<table style=\"width: 50%; height: 100px;\">\r\n<thead>\r\n<tr style=\"height: 10px;\">\r\n<th style=\"height: 10px; text-align: center;\" scope=\"row\">Family Member's Age (Input)<\/th>\r\n<th style=\"height: 10px; text-align: center;\">Family Member's Name (Output)<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"text-align: center; height: 12px;\" scope=\"row\">[latex]11[\/latex]<\/td>\r\n<td style=\"text-align: center; height: 12px;\">Marcos<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"text-align: center; height: 12px;\">[latex]13[\/latex]<\/td>\r\n<td style=\"text-align: center; height: 12px;\">Nellie, Maria<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"text-align: center; height: 12px;\" scope=\"row\">[latex]16[\/latex]<\/td>\r\n<td style=\"text-align: center; height: 12px;\">Andrew<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"text-align: center; height: 12px;\" scope=\"row\">[latex]21[\/latex]<\/td>\r\n<td style=\"text-align: center; height: 12px;\">Katrina<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"text-align: center; height: 12px;\" scope=\"row\">[latex]46[\/latex]<\/td>\r\n<td style=\"text-align: center; height: 12px;\">Esther<\/td>\r\n<\/tr>\r\n<tr style=\"height: 18px;\">\r\n<td style=\"text-align: center; height: 18px;\" scope=\"row\">[latex]47[\/latex]<\/td>\r\n<td style=\"text-align: center; height: 18px;\">Samuel, Nina, Paul<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"text-align: center; height: 12px;\" scope=\"row\">[latex]81[\/latex]<\/td>\r\n<td style=\"text-align: center; height: 12px;\">Ana<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nNow let us look at some other examples to determine whether the relations are functions or not and under what circumstances. Remember that a relation is a function if there is only <em><strong>one <\/strong><\/em>output for each input.\r\n<div class=\"textbox exercises\">\r\n<h3>Example 1<\/h3>\r\nFill in the table.\r\n<table>\r\n<thead>\r\n<tr>\r\n<th scope=\"row\">Input<\/th>\r\n<th>Output<\/th>\r\n<th>Function?<\/th>\r\n<th>Why or why not?<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td scope=\"row\">Name of senator<\/td>\r\n<td>Name of state<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td scope=\"row\">Name of state<\/td>\r\n<td>Name of senator<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td scope=\"row\">Time elapsed<\/td>\r\n<td>Height of a tossed ball<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td scope=\"row\">Height of a tossed ball<\/td>\r\n<td>Time elapsed<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td scope=\"row\">Number of cars<\/td>\r\n<td>Number of tires<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<tr>\r\n<td scope=\"row\">Number of tires<\/td>\r\n<td>Number of cars<\/td>\r\n<td><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[reveal-answer q=\"842346\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"842346\"]\r\n<table>\r\n<thead>\r\n<tr>\r\n<th scope=\"row\">Input<\/th>\r\n<th>Output<\/th>\r\n<th>Function?<\/th>\r\n<th>Why or why not?<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td scope=\"row\">Name of senator<\/td>\r\n<td>Name of state<\/td>\r\n<td>Yes<\/td>\r\n<td>For each input, there will only be one output because a senator only represents one state.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td scope=\"row\">Name of state<\/td>\r\n<td>Name of senator<\/td>\r\n<td>No<\/td>\r\n<td>For each state that is an input, 2 names of senators would result because each state has two senators.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td scope=\"row\">Time elapsed<\/td>\r\n<td>Height of a tossed ball<\/td>\r\n<td>Yes<\/td>\r\n<td>At a specific time, the ball has one specific height.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td scope=\"row\">Height of a tossed ball<\/td>\r\n<td>Time elapsed<\/td>\r\n<td>No<\/td>\r\n<td>Remember that the ball was tossed up and fell down. So for a given height, there could be two different times when the ball was at that height. The input height can result in more than one output.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td scope=\"row\">Number of cars<\/td>\r\n<td>Number of tires<\/td>\r\n<td>Yes<\/td>\r\n<td>For any input of a specific number of cars, there is one specific output representing the number of tires.<\/td>\r\n<\/tr>\r\n<tr>\r\n<td scope=\"row\">Number of tires<\/td>\r\n<td>Number of cars<\/td>\r\n<td>Yes<\/td>\r\n<td>For any input of a specific number of tires, there is one specific output representing the number of cars (assuming each car has all four of its tires).<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nRelations can be written as ordered pairs of numbers or as numbers in a table of values. Unless stated otherwise, the first number of an ordered pair is the <em>x<\/em>-value and is the input, while the second number is the\u00a0<em>y<\/em>-value and is the output.\u00a0\u00a0By examining the inputs (<i>x<\/i>-coordinates) and outputs (<i>y<\/i>-coordinates), you can determine whether or not the relation is a function. Remember, in a function, each input has only one output.\r\n<h2>Identify the domain and range of a set of ordered pairs<\/h2>\r\nThere is a name for the set of input values and another name for the set of output values for a function. The set of input values is called the <b>domain of the function<\/b>. The set of output values is called the <b>range of the function<\/b>.\r\n\r\nIf you have a set of ordered pairs, you can find the domain by listing all of the input values, which are the <i>x<\/i>-coordinates. To find the range, list all of the output values, which are the <i>y<\/i>-coordinates.\r\n\r\nConsider the following set of ordered pairs:\r\n\r\n[latex]\\{(\u22122,0),(0,6),(2,12),(4,18)\\}[\/latex]\r\n\r\nYou have the following:\r\n\r\n[latex]\\begin{array}{l}\\text{Domain:}\\{\u22122,0,2,4\\}\\\\\\text{Range:}\\{0,6,12,18\\}\\end{array}[\/latex]\r\n\r\nNow try it yourself.\r\n<div class=\"textbox exercises\">\r\n<h3>Example 2<\/h3>\r\nList the domain and range for the following table of values where <em>x<\/em> is the input and <em>y<\/em> is the output. Then determine if the relation is a function.\r\n<table style=\"width: 20%;\">\r\n<tbody>\r\n<tr>\r\n<th style=\"text-align: center;\" scope=\"row\"><i>x<\/i><\/th>\r\n<th style=\"text-align: center;\"><i>y<\/i><\/th>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\" scope=\"row\">[latex]\u22123[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\" scope=\"row\">[latex]\u22122[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\" scope=\"row\">[latex]\u22121[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\" scope=\"row\">[latex]2[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\" scope=\"row\">[latex]3[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[reveal-answer q=\"594198\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"594198\"]\r\n\r\nThe domain describes all the inputs, and we can use set notation with brackets { } to make the list.\r\n\r\n[latex]\\text{Domain}:\\{-3,-2,-1,2,3\\}[\/latex]\r\n\r\nThe range describes all the outputs.\r\n\r\n[latex]\\text{Range}:\\{4\\}[\/latex]\r\n\r\nWe only listed\u00a0[latex]4[\/latex] once because it is not necessary to list a number every time it appears in a set.\r\n\r\nEach input has only one output, and the fact that it is the same output (4) does not matter.\r\n\r\nTherefore, this relation is a function.\r\n\r\nA helpful way to visualize this is through an \"arrow diagram.\"\u00a0 We list our domain and range (and as mentioned above with our range, do not list an element more than once in either set). Then, for each input in the range, we draw an arrow to the output it maps to in the range. This table of values corresponds to the arrow diagram shown below.\r\n<p style=\"text-align: center;\"><img class=\"alignnone wp-image-8626 size-medium\" src=\"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture5-300x213.png\" alt=\"Mapping diagram showing domain elements negative three, negative two, negative one, one, and two all mapping to range element negative four.\" width=\"300\" height=\"213\" \/><\/p>\r\nSince each input maps to only one output (equivalently, there is only one arrow coming from each input), the relation is a function.\r\n<h4><span style=\"color: #666699;\">Answer<\/span><\/h4>\r\n[latex]\\text{Domain}:\\{-3,-2,-1,2,3\\}[\/latex]\r\n\r\n[latex]\\text{Range}:\\{4\\}[\/latex]\r\n\r\nThe relation is a function.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nIn the following video we provide another example of identifying whether a table of values represents a function as well as determining the domain and range of each.\r\n\r\n[embed]https:\/\/youtu.be\/y2TqnP_6M1s[\/embed]\r\n<div class=\"textbox exercises\">\r\n<h3>Example 3<\/h3>\r\nDefine the domain and range for the following set of ordered pairs, and determine whether the relation given is a function.\r\n<p style=\"text-align: center;\">[latex]\\{(\u22123,\u22126),(\u22122,\u22121),(1,0),(1,5),(2,0)\\}[\/latex]<\/p>\r\n[reveal-answer q=\"507050\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"507050\"]\r\n\r\nWe list all of the input values as the domain. \u00a0The input values are represented first in the ordered pair as a matter of convention.\r\n\r\nDomain: {[latex]-3,-2,1,2[\/latex]}\r\n\r\nNote how we did not enter repeated values more than once; it is not necessary.\r\n\r\nThe range is the list of outputs for the relation; they are entered second in the ordered pair.\r\n\r\nRange: {[latex]-6, -1, 0, 5[\/latex]}\r\n\r\nOrganizing the ordered pairs in a table can help you tell whether this relation is a function. \u00a0By definition, the inputs in a function have only one output.\r\n<table style=\"width: 50%;\">\r\n<tbody>\r\n<tr>\r\n<th style=\"text-align: center;\" scope=\"row\"><i>x<\/i><\/th>\r\n<th style=\"text-align: center;\"><i>y<\/i><\/th>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\" scope=\"row\">[latex]\u22123[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]\u22126[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\" scope=\"row\">[latex]\u22122[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]\u22121[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\" scope=\"row\">[latex]1[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\" scope=\"row\">[latex]1[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]5[\/latex]<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"text-align: center;\" scope=\"row\">[latex]2[\/latex]<\/td>\r\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nThe relation is not a function because the input\u00a0[latex]1[\/latex] has two outputs:\u00a0[latex]0[\/latex] and\u00a0[latex]5[\/latex].\r\n\r\nAgain, we could use an arrow diagram to see this visually. Making sure to only list the input 1 once in our domain, we get the following diagram:\r\n<p style=\"text-align: center;\"><img class=\"alignnone wp-image-8628 size-medium\" src=\"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture6-300x209.png\" alt=\"Mapping diagram with two ovals. Left oval contains inputs negative 3, negative 2, 1, 2. Right oval contains outputs negative 6, negative 1, 0, 5. Arrows map negative 3 to negative 6, negative 2 to negative 1, 1 to both 0 and 5, and 2 to 0.\" width=\"300\" height=\"209\" \/><\/p>\r\nBecause the input of 1 maps to two different outputs (two arrows coming from one input), this confirms that the relation is not a function.\r\n<h4><span style=\"color: #666699;\">Answer<\/span><\/h4>\r\nDomain: {[latex]-3,-2,1,2[\/latex]}\r\n\r\nRange: {[latex]-6, -1, 0, 5[\/latex]}\r\n\r\nThe relation is not a function.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nIn the following video, we show how to determine whether a relation is a function and how to find the domain and range.\r\n\r\n[embed]https:\/\/youtu.be\/kzgLfwgxE8g[\/embed]\r\n<h3 style=\"text-align: left;\"><strong>Summary: Determining Whether a Relation is a Function<\/strong><\/h3>\r\n<ol>\r\n \t<li>Identify the input values - this is your domain.<\/li>\r\n \t<li>Identify the output values - this is your range.<\/li>\r\n \t<li>If each value in the domain leads to only one value in the range, classify the relationship as a function. If any value in the domain leads to two or more values in the range, do not classify the relationship as a function.<\/li>\r\n<\/ol>\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<i>f\u201d <\/i>for function. If you put <i>x <\/i>into the machine, <i>f<\/i>(<i>x<\/i>)<i>, <\/i>comes out. Mathematically speaking, <i>x<\/i> is the input, or the \u201cindependent variable,\u201d and <i>f<\/i>(<i>x<\/i>) is the output, or the \u201cdependent variable,\u201d since it depends on the value of <i>x<\/i>.\r\n\r\n[latex]f(x)=4x+1[\/latex] is written in function notation and is read \u201c<i>f<\/i> of <i>x<\/i> equals\u00a0[latex]4x[\/latex] plus\u00a01\u201d It represents the following situation: A function named <i>f <\/i>acts upon an input, <i>x, <\/i>and produces <i>f<\/i>(<i>x<\/i>) 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 [latex]y[\/latex] for every equation. Instead, you could use [latex]f(x)[\/latex] or [latex]g(x)[\/latex]\u00a0or even [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<h3>Using Function Notation<\/h3>\r\nOnce we determine that a relationship is a function, we need to display and define the functional relationship so that we can understand it, use it, and possibly even program it into a computer. There are various ways of representing functions. A standard <strong>function notation<\/strong> is one representation that facilitates working with functions.\r\n<div class=\"textbox\">\r\n<h3>A General Note: 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 <em>[latex]y[\/latex] <\/em>or [latex]f\\left(x\\right)[\/latex], represents the output value, or dependent variable.\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example 4<\/h3>\r\nUse function notation to represent a function whose input is the name of a month and output is the number of days in that month.\r\n\r\n[reveal-answer q=\"5489\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"5489\"]\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]f\\left(\\text{month}\\right)=\\text{days}[\/latex]\u00a0or [latex]f\\left(m\\right)=d[\/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=\"alignnone wp-image-7494 size-medium\" src=\"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture-300x111.png\" alt=\"The equation 'f(January) = 31' is given. 'January' is labeled as the input, '31' is labeled as the output, and 'f' represents the rule.\" width=\"300\" height=\"111\" \/>\r\n\r\nFor 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).\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nNote 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 here will have numbers as inputs and outputs.\r\n<div class=\"textbox exercises\">\r\n<h3>Example 5<\/h3>\r\nA function [latex]f\\left(y\\right)=N[\/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?\r\n\r\n[reveal-answer q=\"226737\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"226737\"]\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]N[\/latex], is 300. The statement [latex]f\\left(2005\\right)=300[\/latex] tells us that in the year 2005 there were\u00a0[latex]300[\/latex] police officers in the town.\u00a0The notation [latex]N=f\\left(y\\right)[\/latex] reminds us that the number of police officers, [latex]N[\/latex] (the output), is dependent on the year, [latex]y[\/latex] (the input).\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nIn the following videos we show two more\u00a0examples of how to express a relationship using function notation.\r\n\r\nhttps:\/\/youtu.be\/lF0fzdaxU_8\r\n\r\nhttps:\/\/youtu.be\/nAF_GZFwU1g\r\n<h2>Evaluating a function written in function notation<\/h2>\r\nThroughout this course, you have been and will continue working with algebraic equations. Many of these equations are functions. For example, [latex]y=4x+1[\/latex] is an equation that represents a function. When you input values for <em>x<\/em>, you can determine a single output for <em>y<\/em>. In this case, if you substitute [latex]x=10[\/latex] into the equation you will find that y must be\u00a0[latex]41[\/latex]; there is no other value of y that would make the equation true.\r\n\r\nRather than using the variable y, the equations of functions can be written using <strong>function notation<\/strong>. Function notation is very useful when you are working with more than one function at a time and substituting more than one value in for <em>x<\/em>.\r\n\r\nEquations written using function notation can also be evaluated. With function notation, you might see the following:\r\n\r\nGiven [latex]f(x)=4x+1[\/latex]<i>, <\/i>find\u00a0[latex]f(2)[\/latex].\r\n\r\nYou read this problem like this: \u201cgiven [latex]f[\/latex] of [latex]x[\/latex]\u00a0equals\u00a0[latex]4x[\/latex] plus one, find [latex]f[\/latex] of\u00a0[latex]2[\/latex].\u201d While the notation and wording is different, the process of evaluating a function is the same as evaluating an expression at a specific value. In both cases, you substitute\u00a0[latex]2[\/latex] for [latex]x[\/latex], multiply it by\u00a0[latex]4[\/latex] and add\u00a0[latex]1[\/latex], simplifying to get\u00a0[latex]9[\/latex]. In this function, an input of\u00a0[latex]2[\/latex] results in an output of\u00a0[latex]9[\/latex].\r\n<p style=\"text-align: center;\">[latex]f(x)=4x+1\\\\f(2)=4(2)+1=8+1=9[\/latex]<\/p>\r\nYou can simply apply what you already know about evaluating expressions to evaluate a function. It is important to note that the parentheses that are part of function notation do not mean multiply. The notation [latex]f(x)[\/latex]\u00a0does not mean [latex]f[\/latex]\u00a0multiplied by [latex]x[\/latex]. Instead, the notation means \u201c[latex]f[\/latex]of [latex]x[\/latex]\u201d or \u201cthe function of [latex]x[\/latex]<i>.\"<\/i>\u00a0To evaluate the function, take the value given for [latex]x[\/latex]<i>,<\/i>\u00a0and substitute that value in for <i>[latex]x[\/latex]<\/i> in the expression. Let us look at a couple of examples.\r\n<div class=\"textbox exercises\">\r\n<h3>Example 6<\/h3>\r\nGiven [latex]f(x)=3x\u20134[\/latex],\u00a0find [latex]f(5)[\/latex].\r\n\r\n[reveal-answer q=\"42679\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"42679\"]\r\n\r\nSubstitute\u00a0[latex]5[\/latex] in for <i>x <\/i>in the function.\r\n<p style=\"text-align: center;\">[latex]f(5)=3(5)-4[\/latex]<\/p>\r\nSimplify the expression on the right side of the equation.\r\n<p style=\"text-align: center;\">[latex]f(5)=15-4[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]f(5)=11[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nFunctions can be evaluated for negative values of <i>x<\/i>, too. Keep in mind the rules for integer operations.\r\n<div class=\"textbox exercises\">\r\n<h3>Example 7<\/h3>\r\nGiven [latex]p(x)=2x^{2}+5[\/latex], find [latex]p(\u22123)[\/latex].\r\n\r\n[reveal-answer q=\"489384\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"489384\"]\r\n\r\nSubstitute [latex]-3[\/latex] in for <i>x <\/i>in the function.\r\n<p style=\"text-align: center;\">[latex]p(\u22123)=2(\u22123)^{2}+5[\/latex]<\/p>\r\nSimplify the expression on the right side of the equation.\r\n<p style=\"text-align: center;\">[latex]p(\u22123)=2(9)+5[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]p(\u22123)=18+5[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]p(\u22123)=23[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nYou may also be asked to evaluate a function for more than one value as shown in the example that follows.\r\n<div class=\"textbox exercises\">\r\n<h3>Example 8<\/h3>\r\nGiven [latex]f(x)=|4x-3|[\/latex], find [latex]f(0)[\/latex], [latex]f(2)[\/latex], and [latex]f(\u22121)[\/latex].\r\n\r\n[reveal-answer q=\"971051\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"971051\"]\r\n\r\nTreat each of these like three separate problems. In each case, you substitute the value in for <em>x<\/em> and simplify.\r\n\r\nStart with [latex]x=0[\/latex].\r\n<p style=\"text-align: center;\">[latex]f(0)=|4(0)-3|=|-3|=3[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]f(0)=3[\/latex]<\/p>\r\nEvaluate for [latex]x=2[\/latex].\r\n<p style=\"text-align: center;\">[latex]f(2)=|4(2)-3|=|5|=5[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]f(2)=5[\/latex]<\/p>\r\nEvaluate for [latex]x=\u22121[\/latex].\r\n<p style=\"text-align: center;\">[latex]f(\u22121)=|4(-1)-3|=|-7|=7[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]f(-1)=7[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\nNext we look at an example where one of the inputs leads to a problem.\r\n<div class=\"textbox exercises\">\r\n<h3>Example 9<\/h3>\r\nGiven [latex]f(x)=\\displaystyle{ \\frac{2x}{x+4}}[\/latex], find [latex]f(0)[\/latex], [latex]f(3)[\/latex], and [latex]f(-4)[\/latex].\r\n\r\n[reveal-answer q=\"990936\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"990936\"]\r\n\r\nWe treat this like the previous problems, replacing [latex]x[\/latex] by the given inputs. For the first two, we get\r\n<p style=\"text-align: center;\">[latex]f(0)=\\frac{2(0)}{0+4}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]f(0)=\\frac{0}{4}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]f(0)=0[\/latex]<\/p>\r\nand\r\n<p style=\"text-align: center;\">[latex]f(3)=\\frac{2(3)}{3+4}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]f(3)=\\frac{6}{7}[\/latex]<\/p>\r\nHowever, if we try plugging in [latex]x=-4[\/latex], we encounter an issue since division by 0 is undefined.\r\n<p style=\"text-align: center;\">[latex]f(-4)=\\frac{2(-4)}{-4+4}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]f(-4)=\\frac{-8}{0}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]f(-4)[\/latex] is undefined<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<h2>Finding the domain of a rational function<\/h2>\r\nThe previous example has an important implication about the domain of this fractional function, called a\u00a0<strong>rational function<\/strong>. Expanding upon our earlier definition of domain, the\u00a0<strong>domain of a function<\/strong> is the set of input values that lead to valid output values. It follows that for the function [latex]f(x)=\\frac{2x}{x+4}[\/latex], [latex]x=-4[\/latex] is not in the domain. Moreover, we can see that [latex]-4[\/latex] is the only value of [latex]x[\/latex] that results in a zero denominator, so the domain is all [latex]x[\/latex]-values except [latex]x=-4[\/latex]. In set-builder notation, we would write the domain as [latex]\\{x|x\\neq -4\\}[\/latex].\r\n\r\nWe conclude this section with an example that explicitly asks for the domain of a rational function.\r\n<div class=\"textbox exercises\">\r\n<h3>Example 10<\/h3>\r\nFind the domain of [latex]f(x)=\\displaystyle{\\frac{1}{3x+4}}[\/latex].\r\n\r\n[reveal-answer q=\"458615\"]Show Solution[\/reveal-answer]\r\n[hidden-answer a=\"458615\"]\r\n\r\nAs seen in the previous example, the problem we must avoid is a zero denominator. However, for this function, it may be less obvious what value of [latex]x[\/latex] results in a zero denominator. To find this, we set the denominator equal to zero and solve.\r\n<p style=\"text-align: center;\">[latex]3x+4=0[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\underline{\\hspace{.24in}-\\hspace{.02in} 4\\hspace{.04in}-4}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\hspace{.4in} \\displaystyle{\\frac{3x}{3}=\\frac{-4}{3}}[\/latex]<\/p>\r\n<p style=\"text-align: center;\">[latex]\\hspace{.48in} x=-\\frac{4}{3}[\/latex]<\/p>\r\nRecall that we\u00a0<em>don't<\/em> want the denominator to be zero, so this is the only value for [latex]x[\/latex] that is not in the domain. In set-builder notation, we would write this as\r\n<p style=\"text-align: center;\">[latex]D=\\left\\{x|x\\neq-\\frac{4}{3}\\right\\}[\/latex]<\/p>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n&nbsp;","rendered":"<div class=\"textbox learning-objectives\">\n<h3>section 3.2 Learning Objectives<\/h3>\n<p><strong>3.2: Introduction to Functions<\/strong><\/p>\n<ul>\n<li>Determine if a relation is a function<\/li>\n<li>Identify the domain and range of a set of ordered pairs<\/li>\n<li>Evaluate a function written in function notation<\/li>\n<li>Find the domain of a rational function<\/li>\n<\/ul>\n<\/div>\n<p>&nbsp;<\/p>\n<p>There are many kinds of relations. A relation is simply a correspondence between sets of values or information. Think about members of your family and their ages. The pairing of each member of your family and their age is a relation. Each family member can be paired with an age in the set of ages of your family members. Another example of a relation is the pairing of a state with its U.S. senators. Each state can be matched with two individuals who have each been elected to serve as a senator. In turn, each senator can be matched with one specific state that he or she represents. Both of these are real-life examples of relations.<\/p>\n<h2>Determine if a relation is a function<\/h2>\n<p>The first value of a relation is an input value and the second value is the output value. A <strong>function<\/strong> is a specific type of relation in which each input value has one and only one output value. An input is the <i>independent<\/i> value, and the output is the <i>dependent <\/i>value, as it depends on the value of the input.<\/p>\n<p>Which set of values make up the input values and output values can affect whether or not the relation is a function. Notice in the first table below, where the input is \u201cname\u201d and the output is \u201cage,\u201d each input matches with exactly one output. This is an example of a function.<\/p>\n<table style=\"width: 50%;\">\n<thead>\n<tr style=\"height: 30px;\">\n<th style=\"height: 30px; text-align: center;\" scope=\"row\">Family Member&#8217;s Name (Input)<\/th>\n<th style=\"height: 30px; text-align: center;\">Family Member&#8217;s Age (Output)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 15px;\">\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Nellie<\/td>\n<td style=\"height: 15px; text-align: center;\">[latex]13[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 15px;\">\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Marcos<\/td>\n<td style=\"height: 15px; text-align: center;\">[latex]11[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 15.1719px;\">\n<td style=\"height: 15.1719px; text-align: center;\" scope=\"row\">Esther<\/td>\n<td style=\"height: 15.1719px; text-align: center;\">[latex]46[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 15px;\">\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Samuel<\/td>\n<td style=\"height: 15px; text-align: center;\">[latex]47[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 15px;\">\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Nina<\/td>\n<td style=\"height: 15px; text-align: center;\">[latex]47[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 15px;\">\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Paul<\/td>\n<td style=\"height: 15px; text-align: center;\">[latex]47[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 15px;\">\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Katrina<\/td>\n<td style=\"height: 15px; text-align: center;\">[latex]21[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 15px;\">\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Andrew<\/td>\n<td style=\"height: 15px; text-align: center;\">[latex]16[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 15px;\">\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Maria<\/td>\n<td style=\"height: 15px; text-align: center;\">[latex]13[\/latex]<\/td>\n<\/tr>\n<tr style=\"height: 15px;\">\n<td style=\"height: 15px; text-align: center;\" scope=\"row\">Ana<\/td>\n<td style=\"height: 15px; text-align: center;\">[latex]81[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Compare this with the next table where the input is \u201cage\u201d and the output is \u201cname.\u201d Some of the inputs result in more than one output. This is an example of a correspondence that is <i>not <\/i>a function.<\/p>\n<table style=\"width: 50%; height: 100px;\">\n<thead>\n<tr style=\"height: 10px;\">\n<th style=\"height: 10px; text-align: center;\" scope=\"row\">Family Member&#8217;s Age (Input)<\/th>\n<th style=\"height: 10px; text-align: center;\">Family Member&#8217;s Name (Output)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 12px;\">\n<td style=\"text-align: center; height: 12px;\" scope=\"row\">[latex]11[\/latex]<\/td>\n<td style=\"text-align: center; height: 12px;\">Marcos<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"text-align: center; height: 12px;\">[latex]13[\/latex]<\/td>\n<td style=\"text-align: center; height: 12px;\">Nellie, Maria<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"text-align: center; height: 12px;\" scope=\"row\">[latex]16[\/latex]<\/td>\n<td style=\"text-align: center; height: 12px;\">Andrew<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"text-align: center; height: 12px;\" scope=\"row\">[latex]21[\/latex]<\/td>\n<td style=\"text-align: center; height: 12px;\">Katrina<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"text-align: center; height: 12px;\" scope=\"row\">[latex]46[\/latex]<\/td>\n<td style=\"text-align: center; height: 12px;\">Esther<\/td>\n<\/tr>\n<tr style=\"height: 18px;\">\n<td style=\"text-align: center; height: 18px;\" scope=\"row\">[latex]47[\/latex]<\/td>\n<td style=\"text-align: center; height: 18px;\">Samuel, Nina, Paul<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"text-align: center; height: 12px;\" scope=\"row\">[latex]81[\/latex]<\/td>\n<td style=\"text-align: center; height: 12px;\">Ana<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Now let us look at some other examples to determine whether the relations are functions or not and under what circumstances. Remember that a relation is a function if there is only <em><strong>one <\/strong><\/em>output for each input.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 1<\/h3>\n<p>Fill in the table.<\/p>\n<table>\n<thead>\n<tr>\n<th scope=\"row\">Input<\/th>\n<th>Output<\/th>\n<th>Function?<\/th>\n<th>Why or why not?<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td scope=\"row\">Name of senator<\/td>\n<td>Name of state<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td scope=\"row\">Name of state<\/td>\n<td>Name of senator<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td scope=\"row\">Time elapsed<\/td>\n<td>Height of a tossed ball<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td scope=\"row\">Height of a tossed ball<\/td>\n<td>Time elapsed<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td scope=\"row\">Number of cars<\/td>\n<td>Number of tires<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td scope=\"row\">Number of tires<\/td>\n<td>Number of cars<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q842346\">Show Solution<\/span><\/p>\n<div id=\"q842346\" class=\"hidden-answer\" style=\"display: none\">\n<table>\n<thead>\n<tr>\n<th scope=\"row\">Input<\/th>\n<th>Output<\/th>\n<th>Function?<\/th>\n<th>Why or why not?<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td scope=\"row\">Name of senator<\/td>\n<td>Name of state<\/td>\n<td>Yes<\/td>\n<td>For each input, there will only be one output because a senator only represents one state.<\/td>\n<\/tr>\n<tr>\n<td scope=\"row\">Name of state<\/td>\n<td>Name of senator<\/td>\n<td>No<\/td>\n<td>For each state that is an input, 2 names of senators would result because each state has two senators.<\/td>\n<\/tr>\n<tr>\n<td scope=\"row\">Time elapsed<\/td>\n<td>Height of a tossed ball<\/td>\n<td>Yes<\/td>\n<td>At a specific time, the ball has one specific height.<\/td>\n<\/tr>\n<tr>\n<td scope=\"row\">Height of a tossed ball<\/td>\n<td>Time elapsed<\/td>\n<td>No<\/td>\n<td>Remember that the ball was tossed up and fell down. So for a given height, there could be two different times when the ball was at that height. The input height can result in more than one output.<\/td>\n<\/tr>\n<tr>\n<td scope=\"row\">Number of cars<\/td>\n<td>Number of tires<\/td>\n<td>Yes<\/td>\n<td>For any input of a specific number of cars, there is one specific output representing the number of tires.<\/td>\n<\/tr>\n<tr>\n<td scope=\"row\">Number of tires<\/td>\n<td>Number of cars<\/td>\n<td>Yes<\/td>\n<td>For any input of a specific number of tires, there is one specific output representing the number of cars (assuming each car has all four of its tires).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<\/div>\n<p>Relations can be written as ordered pairs of numbers or as numbers in a table of values. Unless stated otherwise, the first number of an ordered pair is the <em>x<\/em>-value and is the input, while the second number is the\u00a0<em>y<\/em>-value and is the output.\u00a0\u00a0By examining the inputs (<i>x<\/i>-coordinates) and outputs (<i>y<\/i>-coordinates), you can determine whether or not the relation is a function. Remember, in a function, each input has only one output.<\/p>\n<h2>Identify the domain and range of a set of ordered pairs<\/h2>\n<p>There is a name for the set of input values and another name for the set of output values for a function. The set of input values is called the <b>domain of the function<\/b>. The set of output values is called the <b>range of the function<\/b>.<\/p>\n<p>If you have a set of ordered pairs, you can find the domain by listing all of the input values, which are the <i>x<\/i>-coordinates. To find the range, list all of the output values, which are the <i>y<\/i>-coordinates.<\/p>\n<p>Consider the following set of ordered pairs:<\/p>\n<p>[latex]\\{(\u22122,0),(0,6),(2,12),(4,18)\\}[\/latex]<\/p>\n<p>You have the following:<\/p>\n<p>[latex]\\begin{array}{l}\\text{Domain:}\\{\u22122,0,2,4\\}\\\\\\text{Range:}\\{0,6,12,18\\}\\end{array}[\/latex]<\/p>\n<p>Now try it yourself.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 2<\/h3>\n<p>List the domain and range for the following table of values where <em>x<\/em> is the input and <em>y<\/em> is the output. Then determine if the relation is a function.<\/p>\n<table style=\"width: 20%;\">\n<tbody>\n<tr>\n<th style=\"text-align: center;\" scope=\"row\"><i>x<\/i><\/th>\n<th style=\"text-align: center;\"><i>y<\/i><\/th>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" scope=\"row\">[latex]\u22123[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" scope=\"row\">[latex]\u22122[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" scope=\"row\">[latex]\u22121[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" scope=\"row\">[latex]2[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" scope=\"row\">[latex]3[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]4[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q594198\">Show Solution<\/span><\/p>\n<div id=\"q594198\" class=\"hidden-answer\" style=\"display: none\">\n<p>The domain describes all the inputs, and we can use set notation with brackets { } to make the list.<\/p>\n<p>[latex]\\text{Domain}:\\{-3,-2,-1,2,3\\}[\/latex]<\/p>\n<p>The range describes all the outputs.<\/p>\n<p>[latex]\\text{Range}:\\{4\\}[\/latex]<\/p>\n<p>We only listed\u00a0[latex]4[\/latex] once because it is not necessary to list a number every time it appears in a set.<\/p>\n<p>Each input has only one output, and the fact that it is the same output (4) does not matter.<\/p>\n<p>Therefore, this relation is a function.<\/p>\n<p>A helpful way to visualize this is through an &#8220;arrow diagram.&#8221;\u00a0 We list our domain and range (and as mentioned above with our range, do not list an element more than once in either set). Then, for each input in the range, we draw an arrow to the output it maps to in the range. This table of values corresponds to the arrow diagram shown below.<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8626 size-medium\" src=\"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture5-300x213.png\" alt=\"Mapping diagram showing domain elements negative three, negative two, negative one, one, and two all mapping to range element negative four.\" width=\"300\" height=\"213\" srcset=\"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture5-300x213.png 300w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture5-65x46.png 65w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture5-225x160.png 225w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture5-350x249.png 350w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture5.png 384w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Since each input maps to only one output (equivalently, there is only one arrow coming from each input), the relation is a function.<\/p>\n<h4><span style=\"color: #666699;\">Answer<\/span><\/h4>\n<p>[latex]\\text{Domain}:\\{-3,-2,-1,2,3\\}[\/latex]<\/p>\n<p>[latex]\\text{Range}:\\{4\\}[\/latex]<\/p>\n<p>The relation is a function.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>In the following video we provide another example of identifying whether a table of values represents a function as well as determining the domain and range of each.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-1\" title=\"Ex: Determine if a Table of Values Represents a Function\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/y2TqnP_6M1s?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<div class=\"textbox exercises\">\n<h3>Example 3<\/h3>\n<p>Define the domain and range for the following set of ordered pairs, and determine whether the relation given is a function.<\/p>\n<p style=\"text-align: center;\">[latex]\\{(\u22123,\u22126),(\u22122,\u22121),(1,0),(1,5),(2,0)\\}[\/latex]<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q507050\">Show Solution<\/span><\/p>\n<div id=\"q507050\" class=\"hidden-answer\" style=\"display: none\">\n<p>We list all of the input values as the domain. \u00a0The input values are represented first in the ordered pair as a matter of convention.<\/p>\n<p>Domain: {[latex]-3,-2,1,2[\/latex]}<\/p>\n<p>Note how we did not enter repeated values more than once; it is not necessary.<\/p>\n<p>The range is the list of outputs for the relation; they are entered second in the ordered pair.<\/p>\n<p>Range: {[latex]-6, -1, 0, 5[\/latex]}<\/p>\n<p>Organizing the ordered pairs in a table can help you tell whether this relation is a function. \u00a0By definition, the inputs in a function have only one output.<\/p>\n<table style=\"width: 50%;\">\n<tbody>\n<tr>\n<th style=\"text-align: center;\" scope=\"row\"><i>x<\/i><\/th>\n<th style=\"text-align: center;\"><i>y<\/i><\/th>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" scope=\"row\">[latex]\u22123[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]\u22126[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" scope=\"row\">[latex]\u22122[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]\u22121[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" scope=\"row\">[latex]1[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" scope=\"row\">[latex]1[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]5[\/latex]<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\" scope=\"row\">[latex]2[\/latex]<\/td>\n<td style=\"text-align: center;\">[latex]0[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The relation is not a function because the input\u00a0[latex]1[\/latex] has two outputs:\u00a0[latex]0[\/latex] and\u00a0[latex]5[\/latex].<\/p>\n<p>Again, we could use an arrow diagram to see this visually. Making sure to only list the input 1 once in our domain, we get the following diagram:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8628 size-medium\" src=\"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture6-300x209.png\" alt=\"Mapping diagram with two ovals. Left oval contains inputs negative 3, negative 2, 1, 2. Right oval contains outputs negative 6, negative 1, 0, 5. Arrows map negative 3 to negative 6, negative 2 to negative 1, 1 to both 0 and 5, and 2 to 0.\" width=\"300\" height=\"209\" srcset=\"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture6-300x209.png 300w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture6-65x45.png 65w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture6-225x156.png 225w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture6-350x243.png 350w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture6.png 387w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Because the input of 1 maps to two different outputs (two arrows coming from one input), this confirms that the relation is not a function.<\/p>\n<h4><span style=\"color: #666699;\">Answer<\/span><\/h4>\n<p>Domain: {[latex]-3,-2,1,2[\/latex]}<\/p>\n<p>Range: {[latex]-6, -1, 0, 5[\/latex]}<\/p>\n<p>The relation is not a function.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>In the following video, we show how to determine whether a relation is a function and how to find the domain and range.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-2\" title=\"Ex 1: Find Domain and Range of Ordered Pairs, Function or Not\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/kzgLfwgxE8g?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h3 style=\"text-align: left;\"><strong>Summary: Determining Whether a Relation is a Function<\/strong><\/h3>\n<ol>\n<li>Identify the input values &#8211; this is your domain.<\/li>\n<li>Identify the output values &#8211; this is your range.<\/li>\n<li>If each value in the domain leads to only one value in the range, classify the relationship as a function. If any value in the domain leads to two or more values in the range, do not classify the relationship as a function.<\/li>\n<\/ol>\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<i>f\u201d <\/i>for function. If you put <i>x <\/i>into the machine, <i>f<\/i>(<i>x<\/i>)<i>, <\/i>comes out. Mathematically speaking, <i>x<\/i> is the input, or the \u201cindependent variable,\u201d and <i>f<\/i>(<i>x<\/i>) is the output, or the \u201cdependent variable,\u201d since it depends on the value of <i>x<\/i>.<\/p>\n<p>[latex]f(x)=4x+1[\/latex] is written in function notation and is read \u201c<i>f<\/i> of <i>x<\/i> equals\u00a0[latex]4x[\/latex] plus\u00a01\u201d It represents the following situation: A function named <i>f <\/i>acts upon an input, <i>x, <\/i>and produces <i>f<\/i>(<i>x<\/i>) 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 [latex]y[\/latex] for every equation. Instead, you could use [latex]f(x)[\/latex] or [latex]g(x)[\/latex]\u00a0or even [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<h3>Using Function Notation<\/h3>\n<p>Once we determine that a relationship is a function, we need to display and define the functional relationship so that we can understand it, use it, and possibly even program it into a computer. There are various ways of representing functions. A standard <strong>function notation<\/strong> is one representation that facilitates working with functions.<\/p>\n<div class=\"textbox\">\n<h3>A General Note: 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 <em>[latex]y[\/latex] <\/em>or [latex]f\\left(x\\right)[\/latex], represents the output value, or dependent variable.<\/p>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example 4<\/h3>\n<p>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\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q5489\">Show Solution<\/span><\/p>\n<div id=\"q5489\" 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]f\\left(\\text{month}\\right)=\\text{days}[\/latex]\u00a0or [latex]f\\left(m\\right)=d[\/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=\"alignnone wp-image-7494 size-medium\" src=\"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture-300x111.png\" alt=\"The equation 'f(January) = 31' is given. 'January' is labeled as the input, '31' is labeled as the output, and 'f' represents the rule.\" width=\"300\" height=\"111\" srcset=\"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture-300x111.png 300w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture-65x24.png 65w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture-225x83.png 225w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture-350x129.png 350w, https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-content\/uploads\/sites\/5465\/2020\/10\/Capture.png 447w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\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>\n<\/div>\n<\/div>\n<\/div>\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 here will have numbers as inputs and outputs.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 5<\/h3>\n<p>A function [latex]f\\left(y\\right)=N[\/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\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q226737\">Show Solution<\/span><\/p>\n<div id=\"q226737\" 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]N[\/latex], is 300. The statement [latex]f\\left(2005\\right)=300[\/latex] tells us that in the year 2005 there were\u00a0[latex]300[\/latex] police officers in the town.\u00a0The notation [latex]N=f\\left(y\\right)[\/latex] reminds us that the number of police officers, [latex]N[\/latex] (the output), is dependent on the year, [latex]y[\/latex] (the input).<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>In the following videos we show two more\u00a0examples of how to express a relationship using function notation.<\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-3\" title=\"Ex: Function Notation Application Problem\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/lF0fzdaxU_8?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<p><iframe loading=\"lazy\" id=\"oembed-4\" title=\"Function Notation Application\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/nAF_GZFwU1g?feature=oembed&#38;rel=0\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Evaluating a function written in function notation<\/h2>\n<p>Throughout this course, you have been and will continue working with algebraic equations. Many of these equations are functions. For example, [latex]y=4x+1[\/latex] is an equation that represents a function. When you input values for <em>x<\/em>, you can determine a single output for <em>y<\/em>. In this case, if you substitute [latex]x=10[\/latex] into the equation you will find that y must be\u00a0[latex]41[\/latex]; there is no other value of y that would make the equation true.<\/p>\n<p>Rather than using the variable y, the equations of functions can be written using <strong>function notation<\/strong>. Function notation is very useful when you are working with more than one function at a time and substituting more than one value in for <em>x<\/em>.<\/p>\n<p>Equations written using function notation can also be evaluated. With function notation, you might see the following:<\/p>\n<p>Given [latex]f(x)=4x+1[\/latex]<i>, <\/i>find\u00a0[latex]f(2)[\/latex].<\/p>\n<p>You read this problem like this: \u201cgiven [latex]f[\/latex] of [latex]x[\/latex]\u00a0equals\u00a0[latex]4x[\/latex] plus one, find [latex]f[\/latex] of\u00a0[latex]2[\/latex].\u201d While the notation and wording is different, the process of evaluating a function is the same as evaluating an expression at a specific value. In both cases, you substitute\u00a0[latex]2[\/latex] for [latex]x[\/latex], multiply it by\u00a0[latex]4[\/latex] and add\u00a0[latex]1[\/latex], simplifying to get\u00a0[latex]9[\/latex]. In this function, an input of\u00a0[latex]2[\/latex] results in an output of\u00a0[latex]9[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]f(x)=4x+1\\\\f(2)=4(2)+1=8+1=9[\/latex]<\/p>\n<p>You can simply apply what you already know about evaluating expressions to evaluate a function. It is important to note that the parentheses that are part of function notation do not mean multiply. The notation [latex]f(x)[\/latex]\u00a0does not mean [latex]f[\/latex]\u00a0multiplied by [latex]x[\/latex]. Instead, the notation means \u201c[latex]f[\/latex]of [latex]x[\/latex]\u201d or \u201cthe function of [latex]x[\/latex]<i>.&#8221;<\/i>\u00a0To evaluate the function, take the value given for [latex]x[\/latex]<i>,<\/i>\u00a0and substitute that value in for <i>[latex]x[\/latex]<\/i> in the expression. Let us look at a couple of examples.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 6<\/h3>\n<p>Given [latex]f(x)=3x\u20134[\/latex],\u00a0find [latex]f(5)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q42679\">Show Solution<\/span><\/p>\n<div id=\"q42679\" class=\"hidden-answer\" style=\"display: none\">\n<p>Substitute\u00a0[latex]5[\/latex] in for <i>x <\/i>in the function.<\/p>\n<p style=\"text-align: center;\">[latex]f(5)=3(5)-4[\/latex]<\/p>\n<p>Simplify the expression on the right side of the equation.<\/p>\n<p style=\"text-align: center;\">[latex]f(5)=15-4[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]f(5)=11[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>Functions can be evaluated for negative values of <i>x<\/i>, too. Keep in mind the rules for integer operations.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 7<\/h3>\n<p>Given [latex]p(x)=2x^{2}+5[\/latex], find [latex]p(\u22123)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q489384\">Show Solution<\/span><\/p>\n<div id=\"q489384\" class=\"hidden-answer\" style=\"display: none\">\n<p>Substitute [latex]-3[\/latex] in for <i>x <\/i>in the function.<\/p>\n<p style=\"text-align: center;\">[latex]p(\u22123)=2(\u22123)^{2}+5[\/latex]<\/p>\n<p>Simplify the expression on the right side of the equation.<\/p>\n<p style=\"text-align: center;\">[latex]p(\u22123)=2(9)+5[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]p(\u22123)=18+5[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]p(\u22123)=23[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>You may also be asked to evaluate a function for more than one value as shown in the example that follows.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 8<\/h3>\n<p>Given [latex]f(x)=|4x-3|[\/latex], find [latex]f(0)[\/latex], [latex]f(2)[\/latex], and [latex]f(\u22121)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q971051\">Show Solution<\/span><\/p>\n<div id=\"q971051\" class=\"hidden-answer\" style=\"display: none\">\n<p>Treat each of these like three separate problems. In each case, you substitute the value in for <em>x<\/em> and simplify.<\/p>\n<p>Start with [latex]x=0[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]f(0)=|4(0)-3|=|-3|=3[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]f(0)=3[\/latex]<\/p>\n<p>Evaluate for [latex]x=2[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]f(2)=|4(2)-3|=|5|=5[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]f(2)=5[\/latex]<\/p>\n<p>Evaluate for [latex]x=\u22121[\/latex].<\/p>\n<p style=\"text-align: center;\">[latex]f(\u22121)=|4(-1)-3|=|-7|=7[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]f(-1)=7[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>Next we look at an example where one of the inputs leads to a problem.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 9<\/h3>\n<p>Given [latex]f(x)=\\displaystyle{ \\frac{2x}{x+4}}[\/latex], find [latex]f(0)[\/latex], [latex]f(3)[\/latex], and [latex]f(-4)[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q990936\">Show Solution<\/span><\/p>\n<div id=\"q990936\" class=\"hidden-answer\" style=\"display: none\">\n<p>We treat this like the previous problems, replacing [latex]x[\/latex] by the given inputs. For the first two, we get<\/p>\n<p style=\"text-align: center;\">[latex]f(0)=\\frac{2(0)}{0+4}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]f(0)=\\frac{0}{4}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]f(0)=0[\/latex]<\/p>\n<p>and<\/p>\n<p style=\"text-align: center;\">[latex]f(3)=\\frac{2(3)}{3+4}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]f(3)=\\frac{6}{7}[\/latex]<\/p>\n<p>However, if we try plugging in [latex]x=-4[\/latex], we encounter an issue since division by 0 is undefined.<\/p>\n<p style=\"text-align: center;\">[latex]f(-4)=\\frac{2(-4)}{-4+4}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]f(-4)=\\frac{-8}{0}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]f(-4)[\/latex] is undefined<\/p>\n<\/div>\n<\/div>\n<\/div>\n<h2>Finding the domain of a rational function<\/h2>\n<p>The previous example has an important implication about the domain of this fractional function, called a\u00a0<strong>rational function<\/strong>. Expanding upon our earlier definition of domain, the\u00a0<strong>domain of a function<\/strong> is the set of input values that lead to valid output values. It follows that for the function [latex]f(x)=\\frac{2x}{x+4}[\/latex], [latex]x=-4[\/latex] is not in the domain. Moreover, we can see that [latex]-4[\/latex] is the only value of [latex]x[\/latex] that results in a zero denominator, so the domain is all [latex]x[\/latex]-values except [latex]x=-4[\/latex]. In set-builder notation, we would write the domain as [latex]\\{x|x\\neq -4\\}[\/latex].<\/p>\n<p>We conclude this section with an example that explicitly asks for the domain of a rational function.<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 10<\/h3>\n<p>Find the domain of [latex]f(x)=\\displaystyle{\\frac{1}{3x+4}}[\/latex].<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q458615\">Show Solution<\/span><\/p>\n<div id=\"q458615\" class=\"hidden-answer\" style=\"display: none\">\n<p>As seen in the previous example, the problem we must avoid is a zero denominator. However, for this function, it may be less obvious what value of [latex]x[\/latex] results in a zero denominator. To find this, we set the denominator equal to zero and solve.<\/p>\n<p style=\"text-align: center;\">[latex]3x+4=0[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\underline{\\hspace{.24in}-\\hspace{.02in} 4\\hspace{.04in}-4}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\hspace{.4in} \\displaystyle{\\frac{3x}{3}=\\frac{-4}{3}}[\/latex]<\/p>\n<p style=\"text-align: center;\">[latex]\\hspace{.48in} x=-\\frac{4}{3}[\/latex]<\/p>\n<p>Recall that we\u00a0<em>don&#8217;t<\/em> want the denominator to be zero, so this is the only value for [latex]x[\/latex] that is not in the domain. In set-builder notation, we would write this as<\/p>\n<p style=\"text-align: center;\">[latex]D=\\left\\{x|x\\neq-\\frac{4}{3}\\right\\}[\/latex]<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\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-6636\">\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>Modified from Beginning and Intermediate Algebra. <strong>Authored by<\/strong>: Tyler Wallace. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><li><strong>Provided by<\/strong>: Openstax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface.%20\">http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface.%20<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><li>Ex: Function Notation Application Problem. <strong>Authored by<\/strong>: James Sousa (Mathispower4u.com) . <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/youtu.be\/lF0fzdaxU_8\">https:\/\/youtu.be\/lF0fzdaxU_8<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><li>Function Notation Application. <strong>Authored by<\/strong>: James Sousa (Mathispower4u.com) for Lumen Learning. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/youtu.be\/nAF_GZFwU1g\">https:\/\/youtu.be\/nAF_GZFwU1g<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><li><strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface\">http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Download for free at : http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface<\/li><li><strong>Authored by<\/strong>: James Sousa (Mathispower4u.com) . <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/youtu.be\/y2TqnP_6M1s\">https:\/\/youtu.be\/y2TqnP_6M1s<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em><\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":348856,"menu_order":3,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Modified from Beginning and Intermediate Algebra\",\"author\":\"Tyler Wallace\",\"organization\":\"\",\"url\":\"\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"\",\"author\":\"\",\"organization\":\"Openstax\",\"url\":\" http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface. \",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"Ex: Function Notation Application Problem\",\"author\":\"James Sousa (Mathispower4u.com) \",\"organization\":\"\",\"url\":\"https:\/\/youtu.be\/lF0fzdaxU_8\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"Function Notation Application\",\"author\":\"James Sousa (Mathispower4u.com) for Lumen Learning\",\"organization\":\"\",\"url\":\"https:\/\/youtu.be\/nAF_GZFwU1g\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"},{\"type\":\"cc\",\"description\":\"\",\"author\":\"\",\"organization\":\"OpenStax\",\"url\":\"http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Download for free at : http:\/\/cnx.org\/contents\/9b08c294-057f-4201-9f48-5d6ad992740d@3.278:1\/Preface\"},{\"type\":\"cc\",\"description\":\"\",\"author\":\"James Sousa (Mathispower4u.com) \",\"organization\":\"\",\"url\":\"https:\/\/youtu.be\/y2TqnP_6M1s\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-6636","chapter","type-chapter","status-publish","hentry"],"part":2528,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/users\/348856"}],"version-history":[{"count":55,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6636\/revisions"}],"predecessor-version":[{"id":9615,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6636\/revisions\/9615"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/parts\/2528"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapters\/6636\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/media?parent=6636"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/pressbooks\/v2\/chapter-type?post=6636"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/contributor?post=6636"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/slcc-elementaryalgebra\/wp-json\/wp\/v2\/license?post=6636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}