Skip to main content

Reading Functions

A rental rule gives one price for each duration. How much of that rule can you recover from a table or a graph? We will identify a function, read its domain and range, and connect three ways of representing its values.

  • Function: A rule assigning exactly one output to each input in its domain.

Core ideas​

Inputs and outputs​

A function assigns exactly one output to each allowed input. In f(x)=x2f(x)=x^2, f(−2)=4f(-2)=4 and f(2)=4f(2)=4. Different inputs may share an output.

Domain and range​

The domain is the set of allowed inputs. The range is the set of outputs those inputs produce. For f(x)=x2f(x)=x^2 on all real inputs, the range is [0,∞)[0,\infty).

Three representations​

A table entry f(2)=4f(2)=4 corresponds to the point (2,4)(2,4) on the graph and can be checked using the formula.

Essential example​

Use C(h)=5+2hC(h)=5+2h for a shop that allows rentals from zero through six hours. Time hh is in hours and cost C(h)C(h) is in dollars. The domain is [0,6][0,6]. Because the price rises continuously from 55 to 1717, the range is [5,17][5,17]. The cost at an allowed time is found by substituting the input into the rule.

Input hh in hoursCalculationOutput in dollars
005+2(0)5+2(0)55
225+2(2)5+2(2)99
665+2(6)5+2(6)1717

Plot the table entries as (h,C(h))(h,C(h)), using time on the horizontal axis. The rule and interval give a full segment between (0,5)(0,5) and (6,17)(6,17). The table shows only three points from that segment. If the shop rented only in whole hours, the graph would instead consist of seven separate points.

Rental formula and value table connected to points on a line segment
The formula gives a cost for every allowed time. Each row of the table identifies one point on the graph.

One output for each input​

On a graph, a vertical line fixes one input. If the line meets the graph twice, that input has two outputs. For instance, the relation x=y2x=y^2 includes (4,2)(4,2) and (4,−2)(4,-2), so it does not give a function of xx on the full relation. In contrast, the points (−2,4)(-2,4) and (2,4)(2,4) on y=x2y=x^2 have different inputs and satisfy the one-output rule.

A formula can have a natural algebraic domain and a smaller useful domain. The expression 5+2h5+2h works for every real hh, while the rental policy limits the times the price rule represents.

Compare functions with the same sample points​

The rules f(x)=xf(x)=x and g(x)=x2g(x)=x^2 both send 00 to 00 and 11 to 11. The table with just those two rows fits either rule. At x=2x=2, the outputs are 22 and 44. On the domain {0,1}\{0,1\}, the rules do define the same function because every allowed value agrees. On all real inputs, they define different functions. The domain determines whether the two-row comparison is complete.

Keep and continue​

Keep the points (0,5)(0,5) and (6,17)(6,17) and the axis units. They will help identify the rate of change and intercepts.

Course outline

Previous: Linear and Compound Inequalities

Next: Slope and Intercepts