Kenneth's Kennel takes care of pets while their owners are on vacation. The table shows the linear relationship between the number of days a pet is kept at the kennel and the total cost.

days: 3, 4, 6, 9, 10
costs: $95,$120, $170, $245, $270
which function can be used to find y, the total cost for keeping a pet at the kennel for x days?
a y = 25x + 20
b y = 20x + 25
c y = 30x + 25
d y = 30x + 20

1 answer

In order to determine the linear function that represents the relationship between the number of days a pet is kept at the kennel and the total cost, we need to find the slope and y-intercept.

First, we can calculate the slope using two points from the table:
Slope = (Change in y) / (Change in x)
= (120 - 95) / (4 - 3)
= 25 / 1
= 25

Next, we can substitute the slope (m = 25) into the slope-intercept form of the equation for a line, y = mx + b, where y is the total cost, x is the number of days, m is the slope, and b is the y-intercept.

Using one of the points from the table, like (3, 95):
95 = 25(3) + b
95 = 75 + b
b = 20

Therefore, the linear function that represents the relationship between the number of days a pet is kept at the kennel and the total cost is:
y = 25x + 20

The correct answer is:
a y = 25x + 20