I can compute and show that for odd values of $n$, $$\int_{0}^{1}x(1-x) \sin (n\pi x)dx = \frac{4}{(n\pi)^3}$$ fairly easily by expanding the quadratic, splitting the integrand and then evaluating each component using integration by parts. However, this is rather tedious.
I was wondering if you could see a way of proving this identity without having to go through so much brute-force computations. The result is relatively neat so I suspect there may be a much easier way of computing the integral.
The integral looks perfect for $$\int_{0}^{a}f(x)dx=\int_{0}^{a}f(a-x)dx$$ but I was unable to find a solution using that because I could not somehow find a way to work with $\sin (n\pi(1-x))$
So what I have so far is
$$I=\int_{0}^{1}x(1-x) \sin (n\pi x)dx=\int_{0}^{1}x(1-x) \sin (n\pi(1-x))dx$$
But I am now stuck.