# Step-by-step Solution

## Integrate x(sin(x)-cos(x)) from 0 to pi/4

Go
1
2
3
4
5
6
7
8
9
0
x
y
(◻)
◻/◻
2

e
π
ln
log
lim
d/dx
d/dx
>
<
>=
<=
sin
cos
tan
cot
sec
csc

asin
acos
atan
acot
asec
acsc

sinh
cosh
tanh
coth
sech
csch

asinh
acosh
atanh
acoth
asech
acsch

### Videos

$\frac{\left(\frac{1}{73}-\int_{0}^{\frac{2}{\sqrt{2}}}_{0}^{\frac{2}{\sqrt{2}}} x\cos\left(x\right)dx-x\cos\left(x\right)\right)}{-\cos\left(x\right)-\sin\left(x\right)}$

## Step-by-step explanation

Problem to solve:

$\frac{\int_0^{\frac{\pi\:}{4}}x\left(\sin\:\left(x\right)-\cos\:\left(x\right)\right)dx}{\int_0^{\frac{\pi\:}{4}}\sin\:\left(x\right)-\cos\:\left(x\right)dx}$
1

The integral of a sum of two or more functions is equal to the sum of their integrals

$\frac{\int_{0}^{\frac{2}{\sqrt{2}}}_{\frac{2}{\sqrt{2}}}^{0}_{0}^{\frac{2}{\sqrt{2}}}\left(x\sin\left(x\right)-x\cos\left(x\right)\right)dx}{\int\sin\left(x\right)dx+\int-\cos\left(x\right)dx}$
2

The integral of a sum of two or more functions is equal to the sum of their integrals

$\frac{\left(\int_{0}^{\frac{2}{\sqrt{2}}}_{0}^{\frac{2}{\sqrt{2}}} x\sin\left(x\right)dx+\int_{0}^{\frac{2}{\sqrt{2}}}_{0}^{\frac{2}{\sqrt{2}}}-x\cos\left(x\right)dx\right)}{\int\sin\left(x\right)dx+\int-\cos\left(x\right)dx}$

$\frac{\left(\frac{1}{73}-\int_{0}^{\frac{2}{\sqrt{2}}}_{0}^{\frac{2}{\sqrt{2}}} x\cos\left(x\right)dx-x\cos\left(x\right)\right)}{-\cos\left(x\right)-\sin\left(x\right)}$

### Struggling with math?

Access detailed step by step solutions to millions of problems, growing every day!

$\frac{\int_0^{\frac{\pi\:}{4}}x\left(\sin\:\left(x\right)-\cos\:\left(x\right)\right)dx}{\int_0^{\frac{\pi\:}{4}}\sin\:\left(x\right)-\cos\:\left(x\right)dx}$

### Main topic:

Integration by parts

~ 0.74 seconds