I'm having trouble understanding how to check the second order conditions for my unconstrained maximization problem.
This is the entire problem: Alicia wants to maximize her grade, which is a function of the time spent studying () and the number of cups of coffee () she drinks. Her grade out of 100 is given by the following function.
In the first order conditions, I find the partial derivatives and set them equal to zero. I get the following two equations:
and . The first equation was the partial derivative with respect to and the second equation was the partial derivative with respect to . Solving these two equations, I find that and .
Now, I need to check the second order conditions. I know that the second partial derivative with respect to both and should be negative. This checks out. I get -2 from the first equation (with respect to ) and I get -4 from the second equation (with respect to ). The last thing I need to do with the second order condition is multiply these two together (which yields 8) and then subtract the following:
Please forgive me if this formula isn't displaying correctly. I tried using the laTex equation editor, but I'm not sure if it worked. Anyway, I need to know how to derive this. What is it asking for? I know that this part should be -2 squared, which is 4. Then, 8-4=4, which is positive and tells me that the second order conditions are met.
But where is the -2 coming from? I know within both of the equations, there are a few -2's. But, I'm not sure exactly where this -2 comes from.