does anyone know how to do this

find x and z that maximizes ln(4-x) + ln(4+z) + ln(z)

subject to

2 lnx + ln(4-z) + ln(4-z) = 2ln(32/7)

anyhelp is much appreciated

Printable View

- January 26th 2007, 03:16 PMchogofind x and z which maximizes..
does anyone know how to do this

find x and z that maximizes ln(4-x) + ln(4+z) + ln(z)

subject to

2 lnx + ln(4-z) + ln(4-z) = 2ln(32/7)

anyhelp is much appreciated - January 26th 2007, 03:51 PMCaptainBlack
the values of x and z that maximise ln(4-x) + ln(4+z) + ln(z), also

maximise:

(16-x^2)z ...(1)

as x>0, the constraint may be rewritten:

x^2(4-z)^=(32/7)^2,

or:

x=32/(7(4-z)) ...(2)

So substitute (2) into (1) and find the z that maximises this now

unconstrained objective, find the corresponding x from 2, and substitute

back into ln(4-x) + ln(4+z) + ln(z) to find its maximum.

RonL - January 26th 2007, 03:55 PMchogo
thank you very much

- January 26th 2007, 05:36 PMchogo
im sorry to be a pain but i seem to be very thick and dont understand how you obtained equation (1)

(16-x^2)z ...(1)

if you have the time could you please explain this to me - January 26th 2007, 11:25 PMCaptainBlack
You are looking for the maximum of g(x,z)=ln(4-x) + ln(4+z) + ln(z), but:

g(x,z)=ln( (4-x)(4+x)x )

by the law of logarithms.

Then let:

f(x,z)=exp(g(x,z))=(4-x)(4+x)x,

and because the exponential function is increasing on the real numbers, any

maxima of g(x,z) is also a maxima of f(x,z) and vice-versa.

RonL