I had this strange problem where the Lagrangian method gives the wrong answer in a constrained optimization problem. Here goes:
The problem is $$\max_{c,n,q} \alpha\log(c)+(1-\alpha)\log(nq)$$ subject to $$c+n+nq=1 \text{ and }c,n,q\geq 0$$ where $\alpha\in(0,1/2)$.
So I set up the Lagrangian: $$\mathcal{L}=\alpha\log(c)+(1-\alpha)\log(nq)+\lambda(1-c-n-nq)+\theta_c c+\theta_n n+\theta_q q.$$
The first order condition for $c$, $n$, and $q$ are as follows: $$\frac{\alpha}{c}+\theta_c=\lambda,$$ $$\frac{1-\alpha}{n}+\theta_n=\lambda(1+q),$$ and $$\frac{1-\alpha}{q}+\theta_q=\lambda n,$$ plus three Kuhn-Tucker conditions $$\theta_x x=0,x,\theta_x\geq 0$$ for $x=c,n,q$. Obviously, all three choice variables should be strictly positive. Hence the Lagrange multipliers $\theta_x=0$ for $x=c,n,q$. Then, from the last two FOCs it follows that $$\frac{q}{n}=\frac{1+q}{n},$$ which doesn't make sense at all. But I can't see what went wrong in the process. Please help me. Thanks very much!