Enter a problem...
Calculus Examples
∫xcos(2x)dx
Step 1
Integrate by parts using the formula ∫udv=uv-∫vdu, where u=x and dv=cos(2x).
x(12sin(2x))-∫12sin(2x)dx
Step 2
Step 2.1
Combine 12 and sin(2x).
xsin(2x)2-∫12sin(2x)dx
Step 2.2
Combine x and sin(2x)2.
xsin(2x)2-∫12sin(2x)dx
xsin(2x)2-∫12sin(2x)dx
Step 3
Since 12 is constant with respect to x, move 12 out of the integral.
xsin(2x)2-(12∫sin(2x)dx)
Step 4
Step 4.1
Let u=2x. Find dudx.
Step 4.1.1
Differentiate 2x.
ddx[2x]
Step 4.1.2
Since 2 is constant with respect to x, the derivative of 2x with respect to x is 2ddx[x].
2ddx[x]
Step 4.1.3
Differentiate using the Power Rule which states that ddx[xn] is nxn-1 where n=1.
2⋅1
Step 4.1.4
Multiply 2 by 1.
2
2
Step 4.2
Rewrite the problem using u and du.
xsin(2x)2-12∫sin(u)12du
xsin(2x)2-12∫sin(u)12du
Step 5
Combine sin(u) and 12.
xsin(2x)2-12∫sin(u)2du
Step 6
Since 12 is constant with respect to u, move 12 out of the integral.
xsin(2x)2-12(12∫sin(u)du)
Step 7
Step 7.1
Multiply 12 by 12.
xsin(2x)2-12⋅2∫sin(u)du
Step 7.2
Multiply 2 by 2.
xsin(2x)2-14∫sin(u)du
xsin(2x)2-14∫sin(u)du
Step 8
The integral of sin(u) with respect to u is -cos(u).
xsin(2x)2-14(-cos(u)+C)
Step 9
Rewrite xsin(2x)2-14(-cos(u)+C) as xsin(2x)2+cos(u)4+C.
xsin(2x)2+cos(u)4+C
Step 10
Replace all occurrences of u with 2x.
xsin(2x)2+cos(2x)4+C
Step 11
Reorder terms.
12xsin(2x)+14cos(2x)+C