Define $f:[0,1]\to \Bbb R$ by
$$f(x)=\sum_{n=1}^{\infty}x^2(1-x^2)^{n-1}$$
Check that $f$ is continuous or not.
Attempt: $$f(x)=\sum_{n=1}^{\infty}x^2(1-x^2)^{n-1}\\ =\lim\int_{0}^{1}x^2(1-x^2)^{n-1}$$ Now, Putting $x=\sin\theta$, then $\mathrm dx=\cos\theta\mathrm d\theta$, therefore integral reduces to
$$\lim\int_{0}^{\pi/2}\sin^2\theta(1-\sin^2\theta)^{n-1}\cos\theta\mathrm d\theta\\ =\lim\int_{0}^{\pi/2}\sin^2\theta\cos^n\theta\mathrm d\theta$$
Now from here the result will depend on $n$ i.e. $n=2m,n=2m+1$ In these two cases the result will be different, Hence $f$ is not continuous.
am I right? Different approaches are invited. Thank you.
To see that the series is geometric, hold x constant, compute $\frac {a_{n+1}} {a_n}=\frac {x^2(1-x^2)^n}{x^2(1-x^2)^{n-1}}=1-x^2$, which you can see is independant of $n$. At $x=0$, all your terms are trivially 0. At $x=1$, the first term is 1 (if you accept $0^0=1$ as the set theorists would have it!) and all the others are 0, so $f(1)=0$. Between them, $1-x^2<1$, so it converges. In between, you have the formula for the sum of a geometric series is $\frac {a_1}{1-r}=\frac {x^2}{1-(1-x^2)}=1$.
So, for $x\in (0,1)$, $f(x)=1$, so you have one jump discontinuity at 0
(editted as per comments)