a gym membership charges a 100 dollars as an initial fee plus 25 dollars every month. another gym only charges 45 dollars every month. after how many months will the total cost for both gyms be the same

45 x = 100 + 25 x

To find out after how many months the total cost for both gyms will be the same, let's set up an equation.

Let's assume 'x' represents the number of months.

For Gym A, the total cost is given by the equation: Total Cost for Gym A = 100 + 25x

For Gym B, the total cost is given by the equation: Total Cost for Gym B = 45x

We want to find when the total cost for both gyms will be equal. So we can set up the equation:

100 + 25x = 45x

To solve for 'x', we can start by isolating the 'x' terms on one side of the equation:

100 = 45x - 25x

Combine like terms:

100 = 20x

Now, divide both sides by 20:

100/20 = x

Simplify:

5 = x

Therefore, after 5 months, the total cost for both gyms will be the same.