To deal with this case it's going to be useful to define the following things which I'm going to call the average total cost, but only taking into account the semi-fixed cost, which is equal to the average variable cost plus the semi fixed cost divided by q. 