My instructor wrote
$$\int_0^\pi\sin^5(\theta)\cos^4(\theta) \,\mathrm d\theta\tag{1}$$ $$=2\int_0^{\frac{\pi}{2}}\sin^5(\theta)\cos^4(\theta) \,\mathrm d\theta\tag{2}$$ $$=2\cdot\frac{\Gamma\left(\frac{5+1}{2}\right)\cdot\Gamma\left(\frac{4+1}{2}\right)}{2\cdot\Gamma\left(\frac{5+1}{2}+\frac{4+1}{2}\right)}\\=\frac{16}{315}.$$
How did he know that going from step $(1)$ to $(2)$ is valid? We can vaguely verify the step by checking the graph, which he had not seen.