How do I find the integral x2xdx ?

1 Answer
Aug 3, 2014

x2xdx=x2xln22x(ln2)2+C

Process:

This problem will require multiple u-substitutions and an application of integration by parts.

First, it's important to know how to integrate exponentials with bases other than e. The key is to convert them to base e using laws of exponents.

Here is what I mean:

First, look at the 2x inside our integral. We know that a logarithm is essentially the exponent required to raise a base to a certain number, so, if we want to rewrite 2 as an exponential with base e, all we need to do is raise e to the natural log of 2.

In other words,

2x=(eln2)x.

Using one of the laws of exponents, this is actually the same statement as:

2x=(exln2).

Using this information, we can rewrite our integral as:

x2xdx=xexln2dx

Now we will perform an integration by parts. Remember the formula:

udv=uvvdu

We will let u=x and dv=exln2dx. Any time you have an integrand with something multiplied by x to the 1st power, it's a good hint to pick x for u.

Therefore, du=dx. To find v, we will need to do a u-substitution. Since we already are using the variable u in the integration by parts formula, we will use the letter q instead.

v=exln2dx
Let q=xln2

Therefore,

v=1ln2ln2exln2dx
v=1ln2eqdq

The integral of ex is simply ex. So,

v=1ln2eq
v=1ln2exln2

Now we can start plugging things into our integration by parts formula:

xexln2dx=uvvdu
xexln2dx=xexln2ln21ln2exln2dx

We will bring the 1ln2 out of the integral, as it is a constant:

xexln2dx=xexln2ln21ln2exln2dx

Evaluating this second integral should be a breeze, since we immediately notice that it is equal to v. Don't forget the constant of integration:

xexln2dx=xexln2ln2exln2(ln2)2+C

Now, it could be a good idea to rewrite all the exponentials with base 2 instead of base e:

x2xdx=x2xln22x(ln2)2+C