Greetings,

I have a Utility Function U(x,y) and I am trying to maximize x, y, subject to p_{1}x+p_{2}y=M where M is my available money. I know I need to set up a lagrange:

L: U(x,y) + g(p_{1}x+p_{2}y-M)

But I feel like I'm missing something because when I take the first order conditions I'm only getting the constraint values. ex: dL/dx: dU/dx +gp_{1}

It seems like I should have another x value coming out of this but I can't remember how that happens.

Any help greatly appreciated!