Writing Linear Functions
The starting fee is missing from a receipt, but you know the cost at two durations. Can you reconstruct the shop's rule? We will build a line from two points, write it from a point and a rate, and use the same idea to describe a sequence.
- Linear function: A function with constant slope, writable as .
Core ideas
Two points
Compute slope from the change between the points, then use either point to find the intercept. Through and , the line is .
A point and a slope
A slope of through gives . The point-slope form directly states the rate and a known point.
Arithmetic sequences
Each step adds the same difference. Starting at with step gives for integers .
Essential example
Suppose a rental costs 9 dollars at two hours and 15 dollars at five hours. Assume the price changes at a fixed rate. The slope is
Using and the first receipt gives , so . The reconstructed formula is . The other receipt checks it because .
This reconstruction uses the assumption of a constant rate. Two points with different horizontal coordinates determine one line. Other curves can also pass through those points, so the receipts alone do not establish that a line is the right model.
Use a point and a rate
Suppose a tank contains 12 liters at time minutes and gains 4 liters per minute. Measure time in minutes and volume in liters. Relative to the known point,
The difference in volume equals the rate times the difference in time. Expanding gives . When the constant-rate model applies at , it predicts 20 liters. If the tank has a capacity of 24 liters, the same rule stops applying after unless overflow is included in the model.
Use the line at discrete inputs
A row of seats starts with 12 seats in row 1, and each next row has four more. For integer row numbers ,
Row 5 has seats. The sequence follows a line at whole-number inputs. The slope of the associated line is four seats per row, while is the first actual row count. The extrapolated value at row zero belongs only to the extended algebraic line.
When the intercept is an extrapolation
A service charges 20 dollars at two hours and 35 dollars at five hours. If a linear rule is appropriate on that interval, its rate is dollars per hour. Using the point at two hours gives , or . The extended line predicts 10 dollars at time zero. To interpret that intercept as a real fee, the same pricing rule must also apply at time zero. The two quoted prices alone establish a line through the given points.
Keep and continue
Keep the rules and . Next, solve simultaneous conditions using a graph and two algebraic methods.
Previous: Slope and Intercepts