0

I want to show that

$$\left( A + \frac{t}{x}N \right)^x \le \left( A + \frac{s}{y}N \right)^y $$

or equivalently

$$x\ln\left( A + \frac{t}{x}N \right) \le y\ln\left( A + \frac{s}{y}N \right)$$

We know that $x < y$ and $t+x = T$ where $T$ is a known constant. Also $s+y < T$, all the parameters and variables are non-negative.

I tried to optimize the function $f(x) = x\ln\left( A + \frac{T-x}{x}N \right)$ to show it's maximum value is always less than right hand side, but the solution to stationary points is not solvable, in other words

$$f'(x) = \ln\left( A + \frac{T-x}{x}N \right) - \frac{\frac{T}{x}N}{A + \frac{T-x}{x}N} = 0$$ has no closed form solution for $x$. How should I proceed in comparing these two? Is my approach correct? Is there another way? (BTW if this helps, $f(x)$ is convex).

Thanks in advance

Blue
  • 75,673
K.K.McDonald
  • 3,127

1 Answers1

2

$$f'(x) = \log\left( A + \frac{T-x}{x}N \right) - \frac{\frac{T}{x}N}{A + \frac{T-x}{x}N} = 0$$

Let $$ A + \frac{T-x}{x}N=z \implies \frac{A-N-z+z \log (z)}{z}=0$$ and the solution is given in terms of Lambert function $$z=\frac{N-A}{W\left(\frac{N-A}{e}\right)}\implies x=\frac{N\, T\, W\left(\frac{N-A}{e}\right)}{(N-A) \left(1+W\left(\frac{N-A}{e}\right)\right)}$$

  • Thank you for heads up and answer, but I think I calculated correctly $\frac{d}{dx}\left( x\ln\left( A + \frac{T-x}{x}N \right) \right) = \ln\left( A + \frac{T-x}{x}N \right) + x\times \frac{d}{dx}\left( \ln\left( A + \frac{T-x}{x}N \right) \right) = \ln\left( A + \frac{T-x}{x}N \right) + x\times \frac{\frac{-T}{x^2}N}{A + \frac{T-x}{x}N}$ BTW, If the answer can be determined in terms of Lambert-W, how can I compare LHS with RHS with the solution? Thanks a lot for Hint. – K.K.McDonald Nov 13 '21 at 10:11
  • @K.K.McDonald. You are correct but my result stays the same. Cheers and sorry ! – Claude Leibovici Nov 13 '21 at 10:30
  • Claude Leibovici, thank you for the answer, can you please explain how I use it to compare RHS with LHS? My main question was with regard to inequality I'm am trying to solve. – K.K.McDonald Nov 13 '21 at 10:44