Integrals with changes of variable

We are going to learn to do integrals by doing changes of variable. The change of variable is a very useful method for solving integrals, but it might be difficult since it needs some "imagination". In fact we have to invent the change of variable.

We will start by indefinite integrals with change of variable and then move to defined integrals.

The change of variable for doing an integral consists of equaling a part of the integrand to a new variable, (we can call it $$t$$, $$u$$, or as we want), called auxiliary variable.

Then, it is necessary to calculate the derivative of the auxiliary variable and to do the necessary operations, so that the original variable does not appear in the integrand or the differential part of the integration. This is named a change of variable. Namely $$\displaystyle \int_a^b f(x) \ dx = \int_{\varphi(a)}^{\varphi(b)} f(\varphi(t)) \cdot \varphi'(t) \ dt$$$where the change of variable has been done $$\varphi (t)=x$$. After doing the change of variable, in general, we obtain simpler integrals. Formulary Typical changes of variable: $$\displaystyle \int F(ax+b) \ dx = \frac {1}{a} \int F(u) \ du$$, where $$u=ax+b$$ $$\displaystyle \int F(\sqrt{ax+b} \ dx = \frac{2}{a} \int u\cdot F(u) \ du$$, where $$u=\sqrt{ax+b}$$ $$\displaystyle \int F(\sqrt[n]{ax+b}) \ dx= \frac{n}{a} \int u^{n-1} F(u) \ du$$, where $$u=\sqrt[n]{ax+b}$$ $$\displaystyle \int F(\sqrt{a^2+b^2}) \ dx= a \int F(a\cdot \cos u ) \ du$$, where $$u=a\cdot\sin u$$ $$\displaystyle \int F(e^{ax}) \ dx = \frac{1}{a} \int \frac{F(u)}{u} \ du$$, where $$u=e^{ax}$$ $$\displaystyle \int F(\ln x) \ dx=\int F(u) e^u du$$, where $$u=\ln x$$ How to proceed 1. To decide the change of variable to be used ($$t$$ as a function of $$x$$). 2. To calculate $$dt$$ according to $$x$$ and $$dx$$. 3. To substitute $$t$$ and $$dt$$ in the integral, so that we eliminate $$x$$. 4. To calculate the indefinite integral according to $$t$$. If we do not know how to calculate it, try another change of variable or another method of integration. 5. To replace $$t$$ by $$x$$ so that the result is according to $$x$$. To calculate the following integral by the method of the change of variable $$\displaystyle \int \frac{x}{\sqrt[5]{x^2+2}} \ dx$$$

• We will change the variable $$t=x^2+2$$.

• $$dt$$ is calculated by deriving the expression of $$t$$ according to $$x$$. But bearing in mind that, once having derived $$x$$, we still have to find $$dx$$ (of the differential part): $$dt=2x\cdot dx +0= 2x\cdot dx$$$and therefore $$\displaystyle x\cdot dx = \frac{dt}{2}$$$

• $$\displaystyle \int \frac{x}{\sqrt[5]{x^2+2}} \ dx = \frac{1}{2} \int \frac{1}{\sqrt[5]{t}} \ dt$$

• $$\displaystyle \frac{1}{2} \int \frac{1}{\sqrt[5]{t}} \ dt =\frac{1}{2} \frac{t^{\frac{4}{5}}}{\frac{4}{5}}+K= \frac{5}{8} \sqrt[5]{t^4}$$

• $$\displaystyle \frac{5}{8} \sqrt[5]{t^4} +K = \frac{5}{8} \sqrt[5]{(x^2+2)^4}+K$$

So we obtain: $$\displaystyle\int \frac{x}{\sqrt[5]{x^2+2}} \ dx = \frac{5}{8} \sqrt[5]{(x^2+2)^4}+K$$$It is necessary to bear in mind that this integral could be done almost as an immediate integral. Many integrals can be solved by many different methods. To calculate the following integral by the method of the change of variable: $$\displaystyle \int \frac{1}{x^2\cdot \sqrt{4-x^2}} \ dx$$$

• We see that the root is somehow similar to the integral of the arc cosine, so we will use this. We will first do the change of variable $$\displaystyle t= \frac{x}{2}$$$to eliminate the $$4$$ from the integral. • $$\displaystyle dt=\frac{dx}{2}$$ • $$\displaystyle \int \frac{1}{x^2\sqrt{4-x^2}} \ dx = \int \frac{2}{4t^2\sqrt{4-4t^2}} \ dt =\frac{1}{4} \int \frac{1}{t^2\sqrt{1-t^2}} \ dt$$ • To calculate the resultant integral, we will do another change of variable. We will take now $$z=\arccos t$$, so that $$t=\cos z$$ and $$dt =-\sin z \cdot dz$$, and we obtain: $$\displaystyle \int \frac{1}{t^2\sqrt{1-t^2}} \ dt = \frac{1}{4} \int \frac{-\sin z }{\cos^2 z \cdot \sqrt{1-\cos^2 z}} \ dz= \frac{1}{4} \int \frac{-\sin z}{\cos^2 z \cdot \sin z} \ dz =$$$ $$= \frac{-1}{4} \int \frac{1}{\cos^2 z} \ dz= \frac{-1}{4} \cdot \tan z + K$$$• We first undo the change $$z=\arccos t$$ and then $$2x=t$$: $$\displaystyle\frac{-1}{4} \tan z +K=-\frac{1}{4} \tan(\arccos t ) + K = -\frac{1}{4} \tan(\arccos \frac{x}{2})+K$$$

So we obtain: $$\displaystyle \int \frac{dx}{x^2\sqrt{4-x^2}} = -\frac{1}{4}\tan (\arccos\frac{x}{2})+K$$$To calculate the following integral by the method of the change of variable: $$\displaystyle \int x \cdot e^{x^2} \ dx$$$

• We will do the change of variable $$t=x^2$$.

• We have then $$dt=2x \cdot dx$$, and therefore,$$\displaystyle x\cdot dx=\frac{dt}{2}$$

• $$\displaystyle \int x e^{x^2} \ dx = \int e^t xdx=\int e^t \ dt$$

• $$\displaystyle \int e^t dt = e^t +C$$

• $$\displaystyle \int e^t \ dt = e^t+C$$

Then:

$$\displaystyle \int x e^{x^2} \ dx = e^{x^2}+C$$

Defined integrals by change of variable

How to proceed:

1. To decide the change of variable to be used ($$t$$ as a function of $$x$$).
2. To calculate $$dt$$ according to $$x$$ and $$dx$$. Calculate also the new limits of the interval of integration in the new variable.
3. To substitute $$t$$ and $$dt$$ in the integral, so that they eliminate $$x$$. And change the integration limits.
4. To calculate the integral with the new variable, without need to undo the change of variables if the integration interval has been done correctly.