To compare the costs of the two gym memberships over a year, we first need to express the memberships in terms of a cost per month.
Gym A:
- Cost: $50 for 5 months
- Cost per month: \( \frac{50}{5} = 10 \)
- Therefore, the equation for Gym A can be written as: \[ y = 10x \] where \( y \) is the total cost and \( x \) is the number of months.
Gym B:
- Cost: $40 for 3 months
- Cost per month: \( \frac{40}{3} \approx 13.33 \)
- Therefore, the equation for Gym B can be written as: \[ y \approx 13.33x \]
Now to find the total cost for each gym membership for 12 months:
-
For Gym A: \[ y = 10(12) = 120 \]
-
For Gym B: \[ y \approx 13.33(12) \approx 160 \]
Now we can compare the total costs for the year:
- Gym A costs $120 for a year.
- Gym B costs approximately $160 for a year.
Thus, Gym A is the cheaper membership.
The value of \( k \) for the cheaper membership (Gym A) is 10.