Profit Maximization Graphing

faeralini

New member
Joined
Mar 12, 2013
Messages
1
I have an isoprofit curve equation that is as such:

[FONT=arial, sans-serif]max π = p * f(x[/FONT]1[FONT=arial, sans-serif], x[/FONT]2[FONT=arial, sans-serif]) - x[/FONT]1[FONT=arial, sans-serif]w[/FONT]1[FONT=arial, sans-serif] - x[/FONT]2[FONT=arial, sans-serif]w[/FONT]2
[FONT=arial, sans-serif][/FONT]
[FONT=arial, sans-serif]where[/FONT]
[FONT=arial, sans-serif]p = output price[/FONT]
[FONT=arial, sans-serif]x[/FONT]1[FONT=arial, sans-serif] = input 1[/FONT]
[FONT=arial, sans-serif]x[/FONT]2 [FONT=arial, sans-serif]= input 2[/FONT]
[FONT=arial, sans-serif]w[/FONT]1[FONT=arial, sans-serif] = input 1 price[/FONT]
[FONT=arial, sans-serif]w[/FONT]2[FONT=arial, sans-serif] = input 2 price[/FONT]

[FONT=arial, sans-serif]I believe total differentiation would go like this

0 = p * [ (df/dx1) * dx1 + (df/dx2) * d2] - w1dx1 - w2dx2

0 = (pf1 - w1)dx1 + (pf2 - w2)dx2

dx2/dx1 = - [ (pf1 - w1) / (pf2 - w2) ]

Now I want to show this in excel as a table and a graph (i believe it would show up as circular contour lines?) where i can enter a value for x1 and it will tell me what x2 should be for profit maximization

It doesn't matter what the constants are so any example would work

If I said
f(x1, x2) = x1.4 x2.6
p = 6
w1 = 1
w2 = 3
[/FONT]π = 60

60 = 6 * x1.4x2.6 - x1 - 2x2


This is where I'm stuck. I'm having trouble isolating either x1 or x2 for use as an excel equation

Am I missing a step or something?
 
I have an isoprofit curve equation that is as such:

max π = p * f(x1, x2) - x1w1 - x2w2

where
p = output price
x1 = input 1
x2 = input 2
w1 = input 1 price
w2 = input 2 price

I believe total differentiation would go like this

0 = p * [ (df/dx1) * dx1 + (df/dx2) * d2] - w1dx1 - w2dx2

0 = (pf1 - w1)dx1 + (pf2 - w2)dx2

dx2/dx1 = - [ (pf1 - w1) / (pf2 - w2) ]

Now I want to show this in excel as a table and a graph (i believe it would show up as circular contour lines?) where i can enter a value for x1 and it will tell me what x2 should be for profit maximization

It doesn't matter what the constants are so any example would work

If I said
f(x1, x2) = x1.4 x2.6
p = 6
w1 = 1
w2 = 3
π = 60

60 = 6 * x1.4x2.6 - x1 - 2x2


This is where I'm stuck. I'm having trouble isolating either x1 or x2 for use as an excel equation

Am I missing a step or something?
If I understand what you are asking, I am totally unable to tell you whether Excel can do contour mapping and if so how to do it.

Furthermore, I do not believe that Excel can do partial differentiation.

Finally, you have not specified boundary conditions, which may be necessary to find solutions.

Let's take your example \(\displaystyle f(x_1,\ x_2) = x_1^4 * x_2^6 \implies f_1(x_1,\ x_2) = 4x_1^3x_2^6\ and\ f_2(x_1,\ x_2) = 6x_1^4x_2^5.\)

\(\displaystyle \pi = p * f(x_1,\ x_2) - w_1x_1 - w_2x_2.\)

Provided the second partial derivative is nicely behaved, a local maximum will occur where:

\(\displaystyle 0 = 4px_1^3x_2^6 - w_1\ and\ 0 = 6px_1^4 x_2^5 - w_2 \implies x_1 > 0 \le x_2 = \sqrt[6]{\dfrac{w_1}{4px_1^3}}\ and\ x_2 = \sqrt[5]{\dfrac{w_2}{6px_1^4}}.\)

You have not specified boundary conditions so there will only be a local maximum if:

\(\displaystyle \sqrt[6]{\dfrac{w_1}{4px_1^3}} = \sqrt[5]{\dfrac{w_2}{6px_1^4}} \implies \dfrac{\sqrt[5]{x_1^4}}{\sqrt[6]{x_1^3}} = \dfrac{\sqrt[5]{w_2} * \sqrt[6]{4p}}{\sqrt[6]{w_1} * \sqrt[5]{6p}} \implies\)

\(\displaystyle \left(\dfrac{\sqrt[5]{x_1^4}}{\sqrt[6]{x_1^3}}\right)^{30} = \left(\dfrac{\sqrt[5]{w_2} * \sqrt[6]{4p}}{\sqrt[6]{w_1} * \sqrt[5]{6p}}\right)^{30} \implies \dfrac{x_1^{24}}{x_1^{15}} = x_1^9 = \left(\dfrac{\sqrt[5]{w_2} * \sqrt[6]{4p}}{\sqrt[6]{w_1} * \sqrt[5]{6p}}\right)^{30} \implies x_1^3 = \left(\dfrac{\sqrt[5]{w_2} * \sqrt[6]{4p}}{\sqrt[6]{w_1} * \sqrt[5]{6p}}\right)^{10} \implies\)

\(\displaystyle x_1 = \sqrt[3]{\left(\dfrac{\sqrt[5]{w_2} * \sqrt[6]{4p}}{\sqrt[6]{w_1} * \sqrt[5]{6p}}\right)^{10}}.\)
I think that is right, but I am not going to check it because I am fairly confident that with a completely open-ended set of functions, particularly ones this bizarre, excel is going to give up the ghost.

You need to limit the functions, say to a Cobb-Douglas production function where you can figure out the partial derivatives and solve everything using parameters.
 
Last edited:
Top