Concave Function — Definition, Formula & Examples
A concave function is a function whose graph curves downward, meaning the line segment connecting any two points on the graph lies at or below the curve itself. It is also commonly called "concave down."
A function defined on an interval is concave if for all and every , the inequality holds. Equivalently, if is twice differentiable on , then is concave if and only if for all .
Key Formula
Where:
- = The function being tested for concavity
- = Any two points in the domain
- = A weight between 0 and 1 that parametrizes the line segment
How It Works
To determine whether a function is concave, take its second derivative. If throughout the interval, the function is concave there. Geometrically, a concave function bends downward like an upside-down bowl. At any point on a concave function, the tangent line lies above the curve, which means the linear approximation always overestimates the function's value.
Worked Example
Problem: Show that is a concave function on all of .
Step 1: Find the first derivative.
Step 2: Find the second derivative.
Step 3: Since for all , the second derivative is negative everywhere.
Answer: Because for all , the function is concave on .
Why It Matters
Concavity is central to optimization: a concave function on an interval has at most one maximum, and any local maximum is automatically the global maximum. This property is used extensively in economics (maximizing utility or profit) and in machine learning when analyzing loss functions.
Common Mistakes
Mistake: Confusing concave with convex. Some students think a function that opens downward is convex because it looks like a "dome."
Correction: A concave function curves downward (), while a convex function curves upward (). Remember: concave = cave = hollowed out on top.
