# Step-by-step Solution

Go!
1
2
3
4
5
6
7
8
9
0
a
b
c
d
f
g
m
n
u
v
w
x
y
z
(◻)
+
-
×
◻/◻
/
÷
2

e
π
ln
log
log
lim
d/dx
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

## Step-by-step explanation

Problem to solve:

$\int\left(X\:\cos\left(nx\right)\right)dx$

Learn how to solve trigonometric integrals problems step by step online.

$\displaystyle\int u\cdot dv=u\cdot v-\int v \cdot du$

Learn how to solve trigonometric integrals problems step by step online. Solve the trigonometric integral int(x*cos(n*x))dx. Use the integration by parts theorem to calculate the integral \int x\cos\left(nx\right)dx, using the following formula. First, identify u and calculate du. Now, identify dv and calculate v. Solve the integral.

$\frac{x\sin\left(nx\right)}{n}+\frac{\cos\left(nx\right)}{n^2}+C_0$

### Problem Analysis

$\int\left(X\:\cos\left(nx\right)\right)dx$

### Main topic:

Trigonometric integrals

~ 1.65 seconds