Unconstrained Optimality Conditions

Unconstrained optimality conditions are tests on the derivatives of a function that locate and classify its maxima and minima on an open set, such as , where no constraint binds. Throughout, is twice continuously differentiable.

In one variable, the first-order condition (FOC) is necessary for an interior local maximum or minimum at . It is not sufficient, since has and no extremum at . The second-order condition (SOC) checks the curvature at . If and , then is a strict local maximum. If and , it is a strict local minimum.

In variables, the FOC is , that is, for every . The Hessian is the matrix with entries . Its leading principal minors, also called subdeterminants, are the numbers . Each is the determinant of the submatrix formed by the first rows and the first columns. The Sylvester criterion classifies a point that satisfies the FOC:

For a strict local maximum the signs alternate, starting with a negative one. For a strict local minimum all of them are positive. With the conditions read

A point that fits neither pattern is not classified by the test. It may be a saddle point, where rises in some directions and falls in others.

A function on a convex set is concave if for all and all . It is strictly concave if the inequality is strict whenever and . It is convex if is concave, as in 2.2 Convex Functions. A twice-differentiable on an open convex set is concave if and only if its Hessian minors satisfy , , , and so on, at every . The check must hold for every permutation of the rows and columns. With two variables this means , , and everywhere. The same pattern with strict inequalities implies strict concavity. If is concave (convex) on an open convex set and satisfies the FOC, then is a global maximum (minimum). No second-order check is needed in that case.

Intuition

A maximum on an open set is a point where no small move helps. If the slope were positive, a move to the right would raise . If it were negative, a move to the left would. So at an interior maximum the slope is zero in every direction, which is the FOC. A zero slope says the tangent is flat. It does not say which way the function bends. The diagram shows three points with a flat tangent: a local maximum, a local minimum, and an inflection point where keeps rising. The sign of separates them.

\usepackage{tikz}
\begin{document}
\definecolor{hot}{HTML}{D9483B}
\definecolor{cold}{HTML}{2F80ED}
\definecolor{grn}{HTML}{2F9E44}
\begin{tikzpicture}[x=1.6cm,y=1.3cm,>=latex]
\draw[->] (0.3,0) -- (5.1,0) node[right] {$x$};
\draw[->] (0.3,0) -- (0.3,4.1) node[above] {$f(x)$};
\draw[thick] plot[smooth] coordinates {(0.600,1.811) (0.700,2.540) (0.800,3.004) (0.900,3.251) (1.000,3.325) (1.100,3.263) (1.200,3.100) (1.300,2.865) (1.400,2.583) (1.500,2.277) (1.600,1.964) (1.700,1.659) (1.800,1.375) (1.900,1.119) (2.000,0.900) (2.100,0.720) (2.200,0.583) (2.300,0.487) (2.400,0.432) (2.500,0.414) (2.600,0.430) (2.700,0.475) (2.800,0.543) (2.900,0.629) (3.000,0.725) (3.100,0.827) (3.200,0.927) (3.300,1.022) (3.400,1.106) (3.500,1.177) (3.600,1.231) (3.700,1.268) (3.800,1.290) (3.900,1.299) (4.000,1.300) (4.100,1.302) (4.200,1.314) (4.300,1.350) (4.400,1.427) (4.500,1.564) (4.600,1.785) (4.700,2.118)};
\draw[thick,hot,dashed] (0.6,3.325) -- (1.4,3.325);
\filldraw[hot] (1,3.325) circle (2pt);
\node[hot,right] at (1.45,3.33) {local max, $f''(x^*) < 0$};
\draw[thick,cold,dashed] (2.1,0.414) -- (2.9,0.414);
\filldraw[cold] (2.5,0.414) circle (2pt);
\node[cold,below] at (2.5,0.35) {local min, $f''(x^*) > 0$};
\draw[thick,grn,dashed] (3.6,1.3) -- (4.4,1.3);
\filldraw[grn] (4,1.3) circle (2pt);
\node[grn,above] at (3.45,1.9) {inflection, $f''(x^*) = 0$};
\draw[grn,->] (3.6,1.9) -- (3.95,1.4);
\node at (3.7,2.7) {$f'(x^*) = 0$ at all three points};
\end{tikzpicture}
\end{document}

With several variables, curvature depends on the direction of the move. The Hessian collects the second derivatives in all directions. The Sylvester criterion checks that bends down along every direction at once. A concave function bends down in every direction at every point of its domain. It therefore has no local maximum that is beaten somewhere else.

Economic agents are modeled as optimizers. A firm that chooses inputs sets the value of each input’s marginal product equal to the input’s price, which is the FOC for profit. The SOC or concavity confirms that the solution is a maximum. The FOCs are then the equations that the implicit function theorem differentiates in 6.3.1 Comparative Statics. Consumer problems add a budget constraint and use 7.2 Lagrange Multipliers instead.

Properties

(Candidate List) The FOC finds interior candidates only, so a complete search also checks the boundary and the limits.

The FOC relies on moves in every direction, which are impossible at the edge of a closed domain. On the function has everywhere, and its maximum is the corner solution . A maximum may also fail to exist. The function on increases forever and has no critical point. On an exam, list the FOC points and the boundary points. Then check how behaves as or near an open edge, and compare the values of .

(Minimum as Negative Maximum) Minimizing is the same as maximizing , and the switch flips the sign of every odd-order minor.

The Hessian of is . Multiplying an matrix by multiplies its determinant by , so . The max pattern for (negative, positive, negative, and so on) becomes the all-positive pattern for . So the two criteria differ only by this sign flip. The FOC alone cannot tell the two cases apart. The function satisfies , and is its minimum.

(Inconclusive Test) When a minor is zero, or the signs fit neither pattern, the second-order test does not classify the point.

In one variable, decides nothing. At the functions , , and all have . The first has an inflection point, the second a minimum, and the third a maximum. In two variables, a negative fits neither pattern. The function has with minors and . Along the axis rises, and along the axis falls. The origin is a saddle point, as its level curves show.

\usepackage{tikz}
\begin{document}
\definecolor{hot}{HTML}{D9483B}
\definecolor{cold}{HTML}{2F80ED}
\definecolor{mid}{HTML}{8A8A8A}
\begin{tikzpicture}[x=1.3cm,y=1.3cm,>=latex]
\draw[->] (-2.3,0) -- (2.4,0) node[right] {$x_1$};
\draw[->] (0,-2.3) -- (0,2.4) node[above] {$x_2$};
\draw[mid,dashed] (-2,-2) -- (2,2);
\draw[mid,dashed] (-2,2) -- (2,-2);
\draw[thick,hot] plot[domain=-1.871:1.871,samples=50] ({sqrt(0.5+\x*\x)},\x);
\draw[thick,hot] plot[domain=-1.871:1.871,samples=50] ({-sqrt(0.5+\x*\x)},\x);
\draw[thick,hot] plot[domain=-1.581:1.581,samples=50] ({sqrt(1.5+\x*\x)},\x);
\draw[thick,hot] plot[domain=-1.581:1.581,samples=50] ({-sqrt(1.5+\x*\x)},\x);
\draw[thick,cold] plot[domain=-1.871:1.871,samples=50] (\x,{sqrt(0.5+\x*\x)});
\draw[thick,cold] plot[domain=-1.871:1.871,samples=50] (\x,{-sqrt(0.5+\x*\x)});
\draw[thick,cold] plot[domain=-1.581:1.581,samples=50] (\x,{sqrt(1.5+\x*\x)});
\draw[thick,cold] plot[domain=-1.581:1.581,samples=50] (\x,{-sqrt(1.5+\x*\x)});
\filldraw (0,0) circle (2pt);
\node[hot] at (1.8,-0.45) {$f > 0$};
\node[hot] at (-1.8,-0.45) {$f > 0$};
\node[cold] at (0.6,1.8) {$f < 0$};
\node[cold] at (0.6,-1.8) {$f < 0$};
\node[mid,right] at (2,2) {\small $f = 0$};
\draw[very thick,->] (0.15,-0.15) -- (0.95,-0.15);
\node[below] at (0.6,-0.18) {\small $f$ rises};
\draw[very thick,->] (-0.15,0.15) -- (-0.15,0.95);
\node[left] at (-0.18,0.6) {\small $f$ falls};
\node at (0,-2.65) {level curves of $f(x_1,x_2) = x_1^2 - x_2^2$};
\end{tikzpicture}
\end{document}

(Why Permutations) The weak concavity test must check every principal minor, because zero leading minors can hide a positive diagonal entry.

Applying the same permutation to the rows and the columns of moves any principal minor into a leading position. A principal minor is the determinant of a submatrix that keeps the same set of rows and columns. So “all permutations” means checking all principal minors. The function shows why this matters. Its Hessian is

The leading minors are and , so they pass. After swapping the two variables, , which fails. The function is convex in , so it is not concave. With strict inequalities the leading minors alone are enough, which is why the SOC at a single point needs no permutations. The strict test is sufficient only. The function is strictly concave even though its second derivative is at .

(Local Versus Global) The SOC certifies only a local maximum, and concavity on the whole domain gives a global one.

A point can pass the SOC and still be beaten far away. The function has a strict local maximum at , with and . Yet , and grows without bound. A concave function cannot behave this way, because its curvature is restricted at every point. When concavity fails in some region, the only safe method is to compare the values of at all candidates.

(Smooth Response) A point that passes the Sylvester test has a nonsingular Hessian, so the optimal choice moves smoothly with parameters.

Let solve the FOCs . The Jacobian of this system with respect to is the Hessian . At a point that passes the Sylvester test, . The implicit function theorem then gives a unique, differentiable near that point, with as the common denominator. 7.3 Envelope Theorem assumes exactly this differentiability. When , the optimal choice can jump or form a continuum, as in the last part of the (Hard) example below.

Derivation

We want to show that and imply a strict local maximum, that is, for every small . By Taylor’s theorem,

The FOC removes the first term. The second term is negative for every because . The higher-order terms shrink faster than as . For small enough they cannot change the sign of the second term, so the difference is negative. In variables the same expansion reads

The FOC removes the gradient term. The Sylvester pattern for a maximum is the condition that makes for every , and the same argument applies.

Not Taught in Lecture

The lecture showed only that a critical point of a concave function passes the second-order conditions. That argument gives a local maximum. The global argument below uses the first-order condition for concavity instead.

For the global result, let be differentiable and concave on an open convex set . Applying the first-order condition of 2.2 Convex Functions to the convex function shows that the tangent plane lies above the graph:

If , the inequality becomes for every . So is a global maximum. The convex case follows by applying this to .

Examples

(Easy) Fertilizer and a Storage Limit

A farmer earns dollars of crop revenue from kilograms of fertilizer, which costs dollars per kilogram. Profit is for .

(Medium) A Maximum That Depends on Parameters

Consider , where and are parameters.

(Hard) A Firm Choosing Labor and Capital

A firm sells its output at price . It produces from labor and capital , each costing per unit. Profit is for .

See Also