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 abf(x) dx=φ(a)φ(b)f(φ(t))φ(t) dt where the change of variable has been done φ(t)=x.

After doing the change of variable, in general, we obtain simpler integrals.

Formulary

Typical changes of variable:

F(ax+b) dx=1aF(u) du, where u=ax+b

F(ax+b dx=2auF(u) du, where u=ax+b

F(ax+bn) dx=naun1F(u) du, where u=ax+bn

F(a2+b2) dx=aF(acosu) du, where u=asinu

F(eax) dx=1aF(u)u du, where u=eax

F(lnx) dx=F(u)eudu, where u=lnx

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.

Example

To calculate the following integral by the method of the change of variable xx2+25 dx

  • We will change the variable t=x2+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=2xdx+0=2xdx and therefore xdx=dt2

  • xx2+25 dx=121t5 dt

  • 121t5 dt=12t4545+K=58t45

  • 58t45+K=58(x2+2)45+K

So we obtain: xx2+25 dx=58(x2+2)45+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.

Example

To calculate the following integral by the method of the change of variable: 1x24x2 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 t=x2 to eliminate the 4 from the integral.

  • dt=dx2

  • 1x24x2 dx=24t244t2 dt=141t21t2 dt

  • To calculate the resultant integral, we will do another change of variable. We will take now z=arccost, so that t=cosz and dt=sinzdz, and we obtain: 1t21t2 dt=14sinzcos2z1cos2z dz=14sinzcos2zsinz dz= =141cos2z dz=14tanz+K

  • We first undo the change z=arccost and then 2x=t: 14tanz+K=14tan(arccost)+K=14tan(arccosx2)+K

So we obtain: dxx24x2=14tan(arccosx2)+K

Example

To calculate the following integral by the method of the change of variable: xex2 dx

  • We will do the change of variable t=x2.

  • We have then dt=2xdx, and therefore,xdx=dt2

  • xex2 dx=etxdx=et dt

  • etdt=et+C

  • et dt=et+C

Then:

xex2 dx=ex2+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.