$\displaystyle \int_{0}^{\frac{\pi}{4}}xtanxdx$

Printable View

- Jan 27th 2011, 06:16 AMjacksdefinite integral
$\displaystyle \int_{0}^{\frac{\pi}{4}}xtanxdx$

- Jan 27th 2011, 06:23 AMHallsofIvy
**Almost**anytime you have x, or a power of x, multiplied by another function of x, you should think "integration by parts". If you let u= x, then du= dx so you have gotten rid of that x (if you have a power of x, setting u equal to that power of x reduces the power and repeated integration by parts will eliminate it altogether).

Of course, now dv= tan(x)dx. Do you know the anti-derivative of tan(x)?

If not, think of it as $\displaystyle \int \frac{sin(x)}{cos(x)}dx$ and use the substitution u= cos(x). - Jan 27th 2011, 06:30 AMProve It
- Jan 27th 2011, 08:38 AMTheCoffeeMachine
So by integration by parts, we have:

$\displaystyle \begin{aligned} \displaystyle \int_{0}^{\frac{\pi}{4}}x\tan{x}\;{dx} &= \biggl\|- x\ln(\cos{x})\biggl\|_{x = 0}^{x = \frac{\pi}{4}} +\int_{0}^{\frac{\pi}{4}}\ln\left(\cos{x}}\right)\ ;{dx} = \frac{1}{8}\pi\ln(2)+\int_{0}^{\frac{\pi}{4}}\ln\l eft(\cos{x}}\right)\;{dx}.\end{aligned}$

At this point, I recall that one of the definitions of Catalan's constant was $\displaystyle \displaystyle \int_{0}^{\frac{\pi}{4}}\ln\left(2\cos{t}\right)\; {dt} = \frac{1}{2}K.$

So I write $\displaystyle \begin{aligned}\displaystyle \int_{0}^{\frac{\pi}{4}}\ln\left(\cos{x}}\right) \;{dx} & = \int_{0}^{\frac{\pi}{4}}\ln\left(2\cos{x}}\right) \;{dx}-\int_{0}^{\frac{\pi}{4}}\ln(2)\;{dx} = \frac{1}{2}K -\frac{\pi}{4}\ln(2).\end{aligned}$

Thus $\displaystyle \displaystyle \int_{0}^{\frac{\pi}{4}}x\tan{x}\;{dx} = \frac{\pi}{8}\ln(2)+\frac{1}{2}K -\frac{\pi}{4}\ln(2) = \frac{1}{2}K-\frac{1}{8}\pi\ln(2). $