Question: what is the difference between profit function and cost function?
Answer: Cost Function, C(x) Total cost of producing the units. Profit Function, P(x) Total Income minus Total Cost. Marginal is rate of change of cost, revenue or profit with the respect to the number of units. This means differentiate the cost, revenue or profit.