Many years ago, a teacher’s salary was based on the number of students in the teacher’s class. Suppose a salary of $60 per month was to be paid for a class of 50 students, and $50 per month was to be paid for a class of 30 students.
If the actual enrollment was 45 students, how much should the teacher be paid each month?
Solution
We’ll treat salary as a linear function where is the number of students and use the points and to find the equation for :
There is a formula for the slope :
So, . We substitute a known point to find b:
This means that . All that’s left is to substitute the number of students into the equation to find the appropriate salary:
The teacher should be paid $57.50 per month for a class of 45 students.