Before you begin
- Coordinates, equations, and inequalities.
Learning objectives
- Determine domains and ranges from a specification.
- Evaluate and interpret piecewise functions.
- Distinguish function inputs, outputs, and graph properties.
A parking charge depends on how long a vehicle stays. A rule might assign one price to the first hour and another to each later hour. The input is elapsed time and the output is a charge, but the rule need not be one algebraic formula. Function notation gives us a common language for formulas, tables, graphs, and rules defined in pieces.
A function includes its allowed inputs
A function assigns exactly one output to every input in its domain. For a real-valued function, the outputs are real numbers. The range is the set of outputs actually obtained, which can be smaller than a stated codomain of possible outputs.
The formula on has range . The same formula restricted to has range . Domains therefore distinguish functions even when their formulas agree.
The notation means the output associated with input 3. For , , while . Substitute the entire input wherever the variable occurs. The expression does not generally equal ; for the square function, the missing cross term is .
Domains come from the operations
A real square root requires a nonnegative argument, while division requires a nonzero denominator. Thus
has domain . Both conditions apply to the original expression. A simplification may hide a restriction but cannot erase it from the specified function.
A formula in a physical model may carry further restrictions. The volume of an emptying tank is meaningful here only for minutes. The polynomial formula exists at later inputs, but the tank model stops when the tank empties.
For a rational formula, examine every denominator before combining fractions. For a piecewise rule, check the specified intervals as well as the formulas within them. These steps define what counts as an allowed input before we try to find a range or solve an equation.
Tables and graphs carry the same assignment
A table listing gives one output per listed input. It could represent a function with domain exactly , or observations from an unknown larger-domain function. The table alone does not establish how the rule behaves at unlisted inputs.
The graph of is the set of points . A vertical line meets it at most once, since one input cannot have two outputs. The circle fails this test over most of its horizontal extent. Its upper semicircle is a function on .
Horizontal crossings answer a different question. If a horizontal line meets the graph more than once, several inputs share an output. That is permitted for a function, but it will matter when trying to recover the input from its output.
Piecewise definitions describe changing rules
Consider the hypothetical parking charge
The domain is hours. A half-hour stay costs 4 dollars; a three-hour stay costs 10 dollars. The formulas agree at the transition , but the separate zero-time rule creates a jump just after zero. Endpoint symbols determine which rule supplies the value at a boundary.
Function behavior is an interval statement
A function is increasing on an interval if larger inputs always produce larger outputs there. Formally, implies . The square function is decreasing on and increasing on . Its output at zero is an absolute minimum.
For distinct inputs , the average rate of change is . With , the average from 1 to 3 is . This rate describes the interval and does not imply that every shorter interval has the same rate. Linear functions will be the special case in which all such averages agree.
Exercises
- For , calculate and .
- Find the domain of .
- Give the range of on .
- Does the relation define one real for every allowed ?
- Use the parking rule to calculate , , and .
- Find the average rate of from 0 to 4.
Worked solutions
- . Expanding gives .
- The root requires and the denominator excludes , giving .
- The minimum is 0 at and maximum 9 at , so the range is .
- No. For positive there are two values, . Selecting the nonnegative branch gives a function.
- The charges are 0, 4, and dollars.
- and , so the average rate is 1 output unit per input unit.
Keep your place
Mark this lesson complete after you've read it, attempted its exercises, and explained its central idea in your own words.
Progress is not saved unless you choose to mark the lesson complete.
Saved only in this browser's local storage. No required account, server transmission, or analytics. You can reset your saved progress on the course page. Clearing browser data also clears the record.