I already know reduction formula for $\int_{0}^{\frac{\pi}{2}}\sin^nx \space dx$ and $\int_{0}^{\frac{\pi}{2}}\cos^nx \space dx$. They can be found here in this question.
However I am unable to find what would the formulas, when upper limit is changed to $\pi$ or $2\pi$. After tinkering in Wolfram, I have found some relations but unsure if they are correct and how to prove them. They are as follows:
$$ \begin{align*} \int_{0}^{\pi}\sin^nx \space dx &= 2\int_{0}^{\frac{\pi}{2}}\sin^nx \space dx \\ \int_{0}^{2\pi}\sin^nx \space dx &= \begin{cases} 0, & \mbox{ when $n$ is odd } \\ 4\int_{0}^{\frac{\pi}{2}}\sin^nx \space dx, & \mbox{ when $n$ is even}. \end{cases} \\ \int_{0}^{\pi}\cos^nx \space dx &= \begin{cases} 0, & \mbox{ when $n$ is odd } \\ 2\int_{0}^{\frac{\pi}{2}}\cos^nx \space dx, & \mbox{ when $n$ is even}. \end{cases} \\ \int_{0}^{2\pi}\cos^nx \space dx &= 2\int_{0}^{\pi}\cos^nx \space dx = \begin{cases} 0, & \mbox{ when $n$ is odd } \\ 4\int_{0}^{\frac{\pi}{2}}\cos^nx \space dx, & \mbox{ when $n$ is even}. \end{cases} \end{align*} $$
How to prove them?
You can use the relations $$ \sin(x+\pi/2)=\cos(x),\qquad \cos(x+\pi/2)=-\sin x\qquad (\star) $$ to express all the integrals of the form $\int_0^{k\pi/2}\cos^n x\ dx$ and $\int_0^{k\pi/2}\sin^n x\ dx$ as sums over integrals of the form $\int_0^{\pi/2}\cos^n x\ dx$ and $\int_0^{\pi/2}\sin^n x\ dx$ by breaking the integral as a sum of integrals taken over the intervals $[0,\pi/2],\ [\pi/2,\pi],\ \ldots,\ [(k-1)\pi/2,k\pi/2]$ and then using a change of variables of the form $x\mapsto x+\ell\pi/2$ to express each piece in terms of the original integrals $\int_0^{\pi/2}\sin^n x\ dx$ and $\int_0^{\pi/2}\cos^n x\ dx$.
The relations $(\star)$ follow from the addition formulas for $\sin$ and $\cos$, or if you are familiar with Euler's formula it can be derived by applying Euler's formula to the identity $ ie^{ix}=e^{i(x+\pi/2)} $ yielding $$ i\cos x-\sin x=\cos(x+\pi/2)+i\sin(x+\pi/2). $$ For example $$ \int_0^\pi \sin^n x\ dx=\int_0^{\pi/2}\sin^n x\ dx+\int_{\pi/2}^{\pi}\sin^n x\ dx=\int_0^{\pi/2}\sin^n x\ dx+\int_0^{\pi/2}\sin^n (x+\pi/2)\ dx $$ $$ =\int_0^{\pi/2}\sin^n x\ dx+\int_0^{\pi/2}\cos^n x\ dx. $$