# Interpretation of lagrange multiplier

A student wishes to minimize the time required to gain a given expected average grade, 𝑚, in her end-of-semester examinations. Let $\displaystyle {t}_{i}$ be the time spent studying subject i ∈ {1,2}.

Suppose that the expected grade functions are $\displaystyle {g}_{1} ({t}_{1})=40+8\sqrt{{t}_{1}}$ and $\displaystyle {g}_{2} ({t}_{2}) = 2{t}_{2}$.

Thus the individual's optimization problems is to choose ${t}_{1}$ and ${t}_{2}$ to minimize total studying time $𝑇 = {t}_{1} + {t}_{2}$ subject to obtaining a mean grade of 𝑚 where

$\displaystyle m-\frac{[{g}_{1}({t}_{1})+{g}_{2}({t}_{2})]}{2}=0$

I need to solve for the optimal choices of ${t}_{1} , {t}_{2}$ and $𝑇$ in the case where the student wishes to obtain an expected mean grade of 70.

Working through the problem I end with

${t}_{1}=4$

${t}_{2}=42$

$T=46$

$\displaystyle\lambda=-1$

How would I interpret the lagrange multiplier in this case?

As mentioned in the other answer, the Lagrange multiplier is the marginal effect on the value (optimized) function, when the constrained is "relaxed" marginally. In your case then it should be interpreted "how much studying time changes as the required average expected grade..." increases?

Well, this is a good example to show that how we set up the Lagrangian function matters in order to interpret what we get meaningfully. Your is a minimization case so we have $$\min T = t_1+ t_2 \\ s.t\;\;\; \displaystyle m-\frac{[{g}_{1}({t}_{1})+{g}_{2}({t}_{2})]}{2}=0$$

How do we write the Lagrangian? Do we write

$$\Lambda = t_1+ t_2 + \lambda\left[m-\frac{[{g}_{1}({t}_{1})+{g}_{2}({t}_{2})]}{2}\right]$$

or

$$\Lambda = t_1+ t_2 - \lambda\left[m-\frac{[{g}_{1}({t}_{1})+{g}_{2}({t}_{2})]}{2}\right]$$

Since the constraint is an equality constraint, you may hear that "it doesn't matter". Mathematically, it indeed doesn't, but it does matter when the time comes to interpret the value of the multiplier. And, maybe in Utility maximization problems we don't much care because utility is ordinal. But in a problem like the one the OP is solving, the objective function is measured in a very real and measurable and quantifiable unit, time.

Now how we should understand "what happens when the constraint is relaxed"? In the specific minimization problem, it intuitively means "what happens when the required $m$ is reduced". (Since "relax" has a "desirable" connotation, and so we would desire to be asked for less effort, a lower target).

I guess it is now clear how the obtained value for $\lambda$ can be interpreted. And do ponder what variant of the Lagrangian is the appropriate one for your case.

At the optimal values, by duality, this Lagrangian problem is equivalent to maximizing mean score given a time budget, where $t_1 + t_2 = 46$

$$m = \max_{t_1, t_2} \frac{[{g}_{1}({t}_{1})+{g}_{2}({t}_{2})]}{2} - \lambda(t_1 + t_2 - 46)$$

Plug in the optimal values of $t_1, t_2$ into your original Lagrangian:

$$V(m) = 46 + \lambda(m - 70)$$

Note that $$\frac{\partial V}{\partial m} = \lambda$$

I think the interpretation here is that the Lagrange multiplier is the rate of change of the optimal score as you gain more time.