Let$\ f_n (x)=n^2x(1-x)^n$ I need to prove that$\ f_n→0$ in the interval$\ [0,1]$.
Let$\ f_n(x) = nx^n$ prove that$\ f_n→0$ in the interval$\ [0,1)$.
For both of these sequences I tried the following:
By taking the function$\ f(x)=0$ we can see that
$$\lim_{n\rightarrow\infty}f_n(x) = 0$$
for both of the sequences, but I don't know if this is the correct way of solving both problems and I have my doubts if this even means that$\ f_n→0$, I'm thinking that what I did before actually implies that$\ f_n→f$.
Help would be greatly appreciated.
The usual thing for this type of problem is to look at the derivative to see how the functions behave.
If $f_n(x) =n^2x(1-x)^n $, then $f_n(0) = f_n(1) = 0$.
Also,
$f_n'(x) =n^2((1-x)^n-xn(1-x)^{n-1}) =n^2(1-x)^{n-1}(1-x-xn)\\ =n^2(1-x)^{n-1}(1-x(n+1)) $
so $f_n'(x) = 0$ at $x_n = \frac1{n+1}$.
At this point, $f_n(x_n) =n^2\frac1{n+1}(1-\frac1{n+1})^n \sim n/e $ since, as $n \to \infty$, $\frac{n}{n+1} \to 1$ and $(1-1/n)^n \to 1/e$.
Therefore $f_n$ can be arbitrarily large for large enough $n$ and does not uniformly converge to zero.
However, for any given $x \in (0,1)$,
$\begin{array}\\ n^2(1-x)^n &=\exp(2\ln(n)+n\ln(1-x))\\ &=\exp(2\ln(n)-n(x+x^2/2+...))\\ &\lt\exp(2\ln(n)-nx))\\ &\to 0 \qquad\text{since }2\ln(n)-nx \to -\infty \\ \end{array} $
since $\frac{\ln(n)}{n} \to 0$ as $n \to \infty$. Therefore $\lim_{n \to \infty}f_n(x) = 0$.
if $n^2$ is replaced by $n$, then the max value is about $1/e$, so $f_n$ again does not converge uniformly to z
However, if the $n^2$ is replaced by a constant (usually $1$), then the max value is about $1/(ne)$ so the sequence uniformly converges to zero.