Let $u, v, p, q > 0$, and let $\dfrac 1p + \dfrac 1q = 1$. Then
$$uv \le \dfrac {u^p}{p}+ \dfrac {v^q}{q}$$
Show that equality occurs iff $u^p = v^q$.
This is problem $10$ from Ch. 6 in Rudin's PMA (integration chapter). I tried two approaches:
Approach 1:
Solving $\frac 1p + \frac 1q = 1$ for $q$ gives $q = \dfrac {p}{p-1}$. Letting $p=x$ we make the RHS of the inequality into a function: $f(x) = \dfrac {u^x}{x}+\dfrac {v^{\frac {x}{x-1}}}{\frac {x}{x-1}}= \dfrac {u^x}{x}+\dfrac {x-1}{x}v^{\frac {x}{x-1}}$. I plotted $f$ and the results look promising for a first derivative test:
$f'(x) = \dfrac {u^x x \ln u - u^x}{x^2} + \dfrac {1}{x^2}v^{\frac{x}{x-1}} + \dfrac {1}{x^2} + \dfrac {x}{x-1} \cdot \dfrac {1}{x^2} (\ln v) v^{\frac {x}{x-1}}$.
However, I haven't been able to find the solution to $f'(x) = 0$. Yet I know there must be an analytic solution, because the problem tells us that equality occurs iff $u^p = v^q$, so $u^x = v^ {\frac {x}{x-1}}$, and we can solve this equation for $x$ analytically.
Approach 2:
I rewrote the RHS as $\displaystyle \int_0^p u^{t-1} dt + \int_0^q v^{t-1} dt$, but I don't really know what to do from here.
