In the following post an example is given of the corner solution for a concave utility function. I tried solving it but got stuck. I have no idea how these types of problems are solved so if you could please point me in the right direction.
Here's my work so far:
$U(x_1, x_2)=x_1+\ln(x_2)$
s.t.
$x_1p_1+x_2p_2\leq w$
$x_1\geq0;\; x_2\geq0$
\begin{alignat*}{3} % #1 L(x_1, x_2,x_3,&\lambda,\mu_1,\mu_2)=x_1+\ln(x_2) +\\ +&\lambda[w-(x_1p_1+x_2p_2)]+\mu_1x_1+\mu_2x_2 \end{alignat*}
$\frac{\partial L}{\partial x_1}=1-\lambda p_1+\mu_1 \leq 0$
$\frac{\partial L}{\partial x_2}=\frac{1}{x_2}-\lambda p_2+\mu_2 \leq 0$
$\frac{\partial L}{\partial \lambda}=w-(x_1p_1+x_2p_2) \leq 0$
$\frac{\partial L}{\partial \mu_1}=x_1 \leq 0$
$\frac{\partial L}{\partial \mu_2}=x_2 \leq 0$
Assuming the top constraints are binding. We can say:
$\lambda = \frac{1+\mu_1}{p_1}$
$\lambda = \frac{\frac{1}{x_2}+\mu_2}{p_2}$
$\frac{p_2(1+\mu_1)}{p_1}=\frac{1}{x_2}+\mu_2$
$\frac{p_2+p_2\mu_1-\mu_2p_1}{p_1}=\frac{1}{x_2}$
$x_2=\frac{p_1}{p_2+p_2\mu_1-\mu_2p_1}$
putting this into the budget constraint I get:
$x_1p_1+\frac{p_1p_2}{p_2+p_2\mu_1-\mu_2p_1}=w$
$x_1=\frac{w}{p_1}-\frac{p_2}{p_2+p_2\mu_1-\mu_2p_1}$
$x_2=\frac{p_1}{p_2+p_2\mu_1-\mu_2p_1}$
when $p_2\mu_1-\mu_2p_1$ is equal to 0 I get the solution for $w>p_1$, but I have no idea how they got the second half. So this is where I got stuck. Many thanks in advance to the math experts.