Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The function $f_n(x)$ is defined by the equation $f_n(x) = x^{n–x}$, where $0 \le x \le n$ and $x$,$n$ are integers. What is the smallest value of $n$ for which the maximum of $f_n(x)$ occurs when $x = 3$ ?



share|cite|improve this question
The question has been revised. – Rajesh K Singh Jan 25 '13 at 7:14

Hint: Use the fact that $x^{n-x}=e^{(n-x)(\ln x)}$ and use the ordinary procedure for maxima/minima.

share|cite|improve this answer

Take first and second derivatives of $f_n(x)$. If you want the maximum when $x=3$, make sure that $f'_n(3)=0$ and $f''_n(3)\leq 0$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.