The cost of producing one more item is a finite difference. A derivative instead describes the limiting cost per unit of a very small change. The distinction matters when a model uses continuous quantities to approximate discrete decisions. We will use calculus to predict changes, then check the candidate decision against the feasible domain.
1 Limits continuity and derivatives
For a function defined near except possibly at , means: for every there is such that implies . A function is continuous at if this limit equals its defined value .
The derivative is
when the finite limit exists. Thus : the error divided by tends to zero. Differentiability implies continuity, since the increment is times a bounded difference quotient near zero. Continuity does not imply differentiability: has one-sided slopes and at zero.
For , the quotient is , so . Limit laws give the sum and scalar rules. Expanding an increment of gives the product rule . Composing local linear approximations gives the chain rule whenever both derivatives exist. The quotient rule requires a nonzero denominator.
Example. If , then . At , marginal cost is 6 currency units per item. The exact next-item cost is , not 6. The linear estimate omits the quadratic remainder .
2 Mean value and what a derivative tells us
Mean value theorem. If is continuous on , differentiable on , and , there is with
Proof. Subtract the secant line: . Then . By the extreme-value theorem, either is constant or a nonzero maximum or minimum occurs inside the interval. At an interior differentiable extremum, positive and negative difference quotients force . Rearranging gives the result.
Consequently, throughout an interval implies is nondecreasing there. If , then . A derivative evaluated at one point alone does not provide such an interval-wide bound.
3 Profit and constrained decisions
Let demand price be and cost , with a model domain . Revenue is , not merely . Profit is
Its derivative vanishes at . Since , the derivative is positive before 80 and negative after 80, so 80 is the unique global maximizer on the domain. Its profit is 860, compared with at zero and 800 at 100. This is an optimal decision in the invented model, not a recommendation about a real business.
An interior differentiable optimum must have derivative zero. The converse is false: has derivative zero at zero without a local extremum. Endpoints and nondifferentiable feasible points must also be checked. For integer quantities one compares nearby feasible integers and any relevant boundaries rather than announcing a fractional production plan.
For positive and , the dimensionless elasticity is . It approximates relative response: . It is undefined when and is not an exact finite-percentage formula.
4 Graded practice
E1 Foundation. Derive the derivative of at a nonzero directly from the definition.
E2 Marginal interpretation. For , compare with .
E3 Optimization. Maximize on , then on .
E4 Proof. If on an interval, prove is constant there. Explain why the conclusion need not hold on a disconnected domain.
5 Full solutions
S1. For sufficiently small with , the difference quotient is , tending to .
S2. , so the derivative is 7. The exact increment is . Units are currency per unit for the derivative and currency for the one-unit increment; their numerical comparison uses an increment of one unit.
S3. . It is positive throughout , so the first maximum is . On it changes from positive to negative at 7, giving maximum . The stationary point outside the first feasible interval cannot be chosen there.
S4. For any two points in the interval, the mean value theorem gives . On , the function equal to 0 on the first component and 1 on the second has derivative zero everywhere on its domain but is not constant on that domain.
Summary
A derivative is a local linear rate; a finite difference is an actual change. The mean value theorem links rates to interval-wide behavior. Optimization requires the model domain, boundary candidates and an argument that the chosen stationary point really maximizes the objective.