7. Optimization and Approximation
A calculus guide to modeling optimization problems, identifying absolute extrema, and using linear approximations, differentials, and Newton’s method to estimate values and solve equations.
Modeling Optimization Problems
Optimization asks for the largest or smallest possible value of an objective quantity while respecting one or more constraints. Common objectives include area, volume, revenue, profit, distance, cost, and height.
A useful modeling sequence is:
Identify the objective quantity.
Define variables for the unknown quantities.
Write the constraint equation.
Use the constraint to express the objective with one independent variable when possible.
Determine the meaningful domain.
Find critical points by solving and by checking where does not exist.
Compare all candidate values and relevant endpoints.
Interpret the result with units and context.
For a rectangle with perimeter meters, let the side lengths be and . The constraint is , so . The area becomes the one-variable function , with domain . Since , the interior candidate is , giving . Because , the rectangle with greatest area is a square measuring meters by meters.
A derivative equal to zero identifies a possible optimum, not automatically an actual maximum or minimum. The domain and comparison of candidates are essential.
Takeaway: Translate the context into a constrained one-variable function before differentiating.
on Closed Intervals
The guarantees that a continuous function on a closed, bounded interval has an absolute maximum and an absolute minimum. These values occur either at an endpoint or at an interior .
To find :
Evaluate and .
Find every in , where or is undefined.
Evaluate the function at every in the interval.
Compare all resulting values.
Identify the largest as the absolute maximum and the smallest as the absolute minimum.
For on , the derivative is , so the critical points are and . The relevant values are , , , and . Therefore, the absolute maximum is , occurring at and , while the absolute minimum is , occurring at and .
Takeaway: Never omit endpoints in an absolute-extrema problem.
Applications in Geometry, Economics, and Physics
Optimization models appear in geometry, economics, and physical applications. In each case, the derivative supplies local information that helps locate a best value.
For a cylindrical can with fixed volume , the constraint is , so . Substituting into the surface-area formula produces a function of alone. Its critical points can identify the radius that uses the least material.
In economics, if is the quantity sold and is the price per unit, revenue is , and profit is . For and , profit is
Since , the candidate is . The second derivative confirms maximum profit at that quantity. The corresponding price is , and the maximum profit is . The domain must still ensure that quantity and price are meaningful.
For a projectile with height h(t)=-16t^2+64t+5\, vertical velocity is . Setting velocity to zero gives , and the maximum height is feet.
Takeaway: The same workflow applies across fields, but the mathematical domain must remain consistent with the real situation.
Linear Approximation
A replaces a differentiable function near with its tangent line:
For inputs close to , use . This is effective when and are easy to calculate but the exact value of is inconvenient.
To approximate , choose and base point . Then and , so
Therefore,
The estimate is close because is near the base point . The approximation generally becomes less reliable as the input moves farther from the point where the tangent line was constructed.
Takeaway: Linear approximation is a local method: select a convenient nearby point, compute the tangent line, and use it only within a suitable neighborhood.
Differentials and Error Estimates
A estimates the change in a function caused by a small change in its input. If , then
The exact change is
whereas gives an approximation when is small:
For the area of a circle, , so . If centimeters and centimeters, then
Thus, the area increases by approximately square centimeters. The same calculation can estimate how a small measurement error in radius affects the calculated area.
Takeaway: Differentials convert a small input change into an approximate output change through the derivative.
repeatedly applies tangent-line approximations to solve an equation. To solve , begin with an initial guess and use
Geometrically, the tangent line at meets the horizontal axis at the next approximation.
To approximate , solve . With and , the iteration becomes
Starting with gives
Hence, .
The method is not guaranteed to converge. Difficulties can arise if , the initial guess is far from the desired root, an iteration enters an unsuitable domain, or the function has multiple roots or complicated behavior. A practical stopping rule is
combined with checking the residual to ensure that the approximation nearly satisfies the original equation.
Takeaway: is powerful but depends on a suitable starting point, a defined derivative, and a verification of the result.
Connecting Optimization and Approximation
These methods use the derivative in related ways. Optimization uses derivative information to locate candidate extrema. Absolute-extrema analysis adds endpoints to the critical-point test. Linear approximation replaces a function near one point with its tangent line. Differentials express the resulting approximate change, and repeats tangent-line approximation to find a root.
The shared pattern is local information supporting a larger decision:
To optimize, compare derivative-based candidates with endpoints.
To estimate a value, use a tangent line near a convenient base point.
To estimate a change, use .
To solve an equation, update an approximation with the Newton iteration.
Each method has conditions and limitations. Check continuity, differentiability, domains, endpoint behavior, the distance from a point, and the quality of an iterative approximation.
Final takeaway: Derivatives do more than describe instantaneous change; they provide a systematic way to model best values, estimate nearby quantities, and approximate solutions.