Maximizing The Power

Calculus Level 3

Find the positive constant C such that

C = max x 0 , x y = C x y C = \max_{x \geq 0, xy = C } x^y


Bonus: Can you figure out
max x 0 , x y = N x y ? \max_{ x\geq 0, xy = N} x^y ?


The answer is 2.718.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Relevant wiki: Extrema - Problem Solving - Medium

f ( x , y ) = x y f(x,y) = x^{y}
f ( x ) = x c x = ( x 1 x ) c f(x) = x^{\dfrac{c}{x}} = (x^{\dfrac{1}{x}})^{c}
This is maximized when x 1 x x^{\dfrac{1}{x}} is maximized.
g ( x ) = x 1 x g(x) = x^{\dfrac{1}{x}}
g ( x ) = x 1 x ( 1 x 2 ln ( x ) x 2 ) g'(x) = x^{\dfrac{1}{x}}\left(\dfrac{1}{x^{2}} - \dfrac{\ln(x)}{x^{2}} \right)


g ( x ) = 0 ln ( x ) = 1 , x = e g'(x) = 0 \rightarrow \ln(x) = 1, x = e
lim x e g ( x ) > 0 \displaystyle \lim_{x \to e-} g'(x) > 0
lim x e + g ( x ) < 0 \displaystyle \lim_{x \to e+} g'(x) < 0
Thus x = e x = e is a point of local maxima.
g ( x ) m a x = e 1 e g(x)_{max} = e^{\dfrac{1}{e}}
f ( x ) m a x = e c e f(x)_{max} = e^{\dfrac{c}{e}}
e c e = c e^{\dfrac{c}{e}} = c
e c = c e e^{c} = c^{e}
Drawing the graph we can see that there's only one positive solution c = e c = e

But for x=y=2 we get c=4 that is larger than e!!

Andreas Wendler - 5 years, 1 month ago

Log in to reply

What about e 4 / e e^{4/e} ? ;) The result means that the maximum value will always be e c / e e^{c/e} , not necessarily equal to e e (only in the given case).

Sean Li - 5 years ago

same i have done..

Mritunjay Raj - 3 years, 1 month ago
Sean Li
May 1, 2016

Relevant wiki: Lagrange Multipliers

We will use Lagrange Multipliers to solve this problem. Namely, we will find the maximum of the general case, and then set this general case to be equal to c c , and solve.

The Lagrangian of the given is L = x y λ ( x y c ) \mathcal{L} = x^y - \lambda(xy-c) We set the gradient of this to be the zero vector, namely L = [ L x L y L λ ] = [ y x y 1 λ y x y ln ( x ) λ x x y c ] = [ 0 0 0 ] \nabla \mathcal{L} = \begin{bmatrix} \frac{\partial \mathcal{L}}{\partial x} \\ \frac{\partial \mathcal{L}}{\partial y} \\ \frac{\partial \mathcal{L}}{\partial \lambda} \end{bmatrix} = \begin{bmatrix} yx^{y-1} -\lambda y \\ x^y \ln(x) - \lambda x \\ xy - c \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} Now we have a system of equations, namely { y x y 1 = λ y x y ln ( x ) = λ x x y = c \begin{cases}yx^{y-1} = \lambda y\\ x^y \ln(x) = \lambda x \\ xy = c \end{cases} The third equation is simply the constraint, so we focus on the first and second equation. Divide the first equation by y y and the second equation by x x (we can do this because x , y 0 x, y \neq 0 ) to get that { x y 1 = λ x y 1 ln ( x ) = λ ln x = 1 x = e \begin{cases}x^{y-1} = \lambda \\ x^{y-1} \ln(x) = \lambda \end{cases} \implies \ln{x} = 1 \implies x = e Thus, the maximal pair is ( x , y ) = ( e , c / e ) (x,y) = (e, c/e) and max ( x y ) = e c e \boxed{\text{max}(x^y) = e^{\frac{c}{e}}} We set this to equal c c to get that e c e = c e c = c e e^{\frac{c}{e}} = c \implies e^c = c^e Obviously, the only positive solution to this is that c = e 2.718 c = e \approx \boxed{\textbf{2.718}} and we are done.

Nicely presented!

Pranshu Gaba - 5 years, 1 month ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...