INAIO Guide Stage 1 5Calculus and Optimisation
5.3 Convex and quadratic optimisation
Use curvature and quadratic form to recognise a global minimum or maximum.
Two graphs can both have a flat point yet behave differently. A convex graph bends upward like a bowl; a concave graph bends downward like a cap. For a quadratic, this shape tells us whether its vertex is a global minimum or maximum, not merely a possible turning point.
This is intermediate calculus and algebra. Review quadratic equations, quadratic graphs, and maxima and minima. OpenStax's graph-shape lesson develops the derivative connection.
A basic idea: watch the slopes
On , slopes rise as moves right: negative, then zero, then positive. The graph bends upward and gives its lowest value. On , slopes fall as moves right: positive, then zero, then negative. That graph bends downward and gives its highest value.
A quick tour of curvature and quadratics
The second derivative describes how the slope changes. On an interval, means slopes increase and the graph is concave up; means slopes decrease and it is concave down. A point where the curvature changes sign is an inflection point. A zero second derivative alone does not prove that a change occurs.
For with ,
The vertex is at . Completing the square gives . Since , makes the global minimum over all real ; makes it the global maximum. This proves the result without relying only on a sketch.
For a general convex differentiable function on an interval, a point with is a global minimum on that interval. The analogous statement holds for a concave function and a maximum. Constraints can remove that point from the allowed domain, so still check the feasible set.
Application 1: choose a constant prediction
A constant prediction is compared with values using total squared error . Which minimizes it?
- Differentiate. .
- Find the flat point. gives .
- Confirm the shape. , so this is the global minimum. The error is .
The minimizing constant is the mean of the three values. Module 5.5 explains why this happens more generally.
Application 2: a price and demand model
A simplified model says selling at price gives demand units, for . Revenue is . Which price maximizes revenue?
- Expand and differentiate. , so .
- Find the vertex. gives .
- Confirm and interpret. , so the cap peaks there. Revenue is model units; at prices and it is .
The price is inside the allowed range, so it is also the constrained maximum here.
Resources
| Source | Title | Why read it |
|---|---|---|
| OpenStax | Derivatives and the shape of a graph | Connect second derivatives, concavity, and turning points. |
Finished this module? Mark it done.
Comments
Stuck on something, spotted a mistake, or found a resource that helped you? Tell us below.
Loading comments