I have currently been doing integration problems, and it seems to me that I am quite slow at the process.
I was wondering whether that was normal or am I using inefficient methods to get to my final solution?
For example integrating: $\frac{x}{e^{x}}$ takes me about 10 to 12 minutes. I use a combination of integration by parts and integration by substitution to get my answer.
This is my working out process:
$u = x$
$du = 1 dx $
$v = -e^{-x}$ (Used integration by substitution)
$dv = e^{-x} dx$
Integration by Parts form: $uv - \int u \, du$
$-xe^{-x} - \int-e^{-x} dx$
** For the integration section I used Integration by parts.
Final Answer:
$(-e^{-x})(x+1)+C$
You would express $du$ and $dv$ if you were to compute e.g. $\int \sin^2(x)\cos(x)dx$. You could say $u=\sin(x)$, that is implicitly $u(x)=\sin(x)$. Then you have $u'(x)=\sin'(x)=\cos(x)$, or $du/dx=\sin'(x)=\cos(x)$. That way, you can rearrange to $dx=du/\cos(x)$. And $\int \sin^2(x)\cos(x)dx = \int u^2\cos(x)\frac{du}{\cos(x)}= \int u^2du$ and there you go. If you're just looking for ANY antiderivative, no worries about the boundaries changing on the integral. Otherwise that needs your attention too.
This is an example, this integral is actually easier when noticing that you have $(f\circ g)'(x)$ inside it with $f(x)=\frac{x^3}{3}$ and $g(x)=\sin(x)$