Chapter 9 Β· Functions
Evaluate a linear function and complete its table
Find a linear function's output for any permitted input, then complete its table in both directions, checking each missing input against the domain.
A function is a rule that gives each permitted input exactly one output. The set of permitted inputs is the function's domain. Two different inputs may share an output, but one input never has two outputs. In this lesson you will use a rule in both directions. You will go forward from an input to its output. You will also go backward from an output to an input that produces it, when such an input exists.
A linear function has a rule of the form , where and are fixed numbers. This is the slope-intercept form you already know, with written in place of . Read as f of x. It names the output for the input , and it does not mean times . For example, has and . No situation limits this rule, and it works for every number, so its domain is all real numbers.
Evaluating a function at an input means finding the output for that input. To do it, you substitute: you replace with the input and then do the arithmetic, multiplying before you add or subtract. This works because the rule tells you exactly what to do with any input in the domain. Put the input in parentheses when you substitute. That keeps a negative sign or a fraction attached to the number being multiplied.
Worked example
Evaluate at a negative input and a fraction
Use , whose domain is all real numbers. Evaluate and .
Replace x with β3 and write it in parentheses, so the rule still reads β2 times the input.
Multiply first. A negative times a negative is positive, so β2 times β3 is 6. Then add 5.
Replace x with 1/2, again in parentheses, so the whole fraction is what gets multiplied by β2.
Multiply first. β2 times 1/2 is half of β2, which is β1. Then add 5.
Answer
The output for input is , so . The output for input is , so .
A table for a function lists inputβoutput pairs, with one pair in each row. When the rule is given, any row you fill in must make the rule true, so the rule decides each missing entry. (A table with no rule tells you only the pairs it shows.) To complete a table, you find every missing entry. Some rows give the input and are missing the output. Other rows give the output and are missing the input.
Key concept
One rule, two directions
For a linear function , the rule settles every missing entry of its table.
- Input given: substitute the permitted input into the rule to get its output.
- Output given: if , set equal to the output and solve for . There is exactly one solution. Keep it only if it is in the domain. If it is not in the domain, no permitted input has that output.
If , every input gives the output . In that case an output other than has no input, and the output comes from every input in the domain.
Now a situation limits the domain. A pump empties a water tank. Let be the time in minutes since the pump started, and let be the liters of water left at time . The rule is . The pump runs from until the tank is empty, and the rule describes the tank only during that time. So you first find when the tank is empty. Here , which is not . Solving for a missing time therefore always gives exactly one value of , which you then check against the domain.
| Row | Time t, in minutes | Water left W(t), in liters |
|---|---|---|
1 | ? | |
2 | ? | |
3 | ? | |
4 | ? |
Worked example
Find the domain, then complete rows 1 and 2
For , find the domain. Then complete rows 1 and 2 of the table: find the water left at , and find the time when liters are left.
The tank is empty when the output is 0, so set the rule equal to 0. Add 15t to both sides. Doing the same thing to both sides keeps them equal.
Divide both sides by 15, which is allowed because 15 is not 0. So the tank is empty at 8 minutes. The rule describes the tank from the start at 0 minutes until then. The domain is therefore every time from 0 to 8 minutes, including both ends.
Row 1 gives the input 2.5, which is between 0 and 8, so it is permitted. Substitute it in parentheses, and multiply before subtracting.
Row 2 gives the output 30, so set the rule equal to 30. Subtract 120 from both sides, which keeps them equal.
Divide both sides by β15, which is allowed because β15 is not 0. A negative divided by a negative is positive.
Check the domain. 6 is between 0 and 8, so it is a permitted input. Then check the row by substituting 6 back into the rule.
Answer
The domain is . After minutes, liters are left, so . Exactly liters are left at minutes.
Worked example
Complete rows 3 and 4
Complete rows 3 and 4 of the table: find the time when liters are left and the time when liters are left. Use the domain that you found.
Row 3 gives the output 50, so set the rule equal to 50. Subtract 120 from both sides. Then divide both sides by β15, which is not 0; a negative divided by a negative is positive. Simplify the fraction by dividing top and bottom by 5.
The exact time is 14/3 minutes, which is 4 and 2/3 minutes. That equals 4 minutes 40 seconds, because 2/3 of 60 seconds is 40 seconds. Dividing 14 by 3 gives 4.666β¦, so 4.67 is only an approximation. The time is between 0 and 8, so it is permitted. Check the row.
Row 4 gives the output 150. Solve the same way: subtract 120 from both sides, then divide both sides by β15, which is not 0. A positive divided by a negative is negative.
Check the domain. β2 is less than 0, so it is not permitted. It would mean 2 minutes before the pump started, which the rule does not describe. Because m = β15 is not 0, t = β2 is the only solution. So no permitted time gives 150 liters.
Answer
Exactly liters are left at minutes, which is minutes seconds. No permitted input has output : the only solution, , is outside the domain, so the tank never holds liters while the pump runs.
Takeaway: One rule works in both directions. Substitute a permitted input to get its one output. To work backward from an output, set the rule equal to that output and solve. When , you get exactly one possible input, and it counts only if the domain permits it. Next, you will start from a table or graph instead of a rule. You will find the rate of change and the initial value, then write the linear function.