👉 Try now NerdPal! Our new math app on iOS and Android

Find the integral $\int x^2\sin\left(x\right)dx$

Step-by-step Solution

Go!
Math mode
Text mode
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

Final Answer

$-x^2\cos\left(x\right)+2x\sin\left(x\right)+2\cos\left(x\right)+C_0$
Got another answer? Verify it here!

Step-by-step Solution

Specify the solving method

1

We can solve the integral $\int x^2\sin\left(x\right)dx$ by applying integration by parts method to calculate the integral of the product of two functions, using the following formula

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

First, identify $u$ and calculate $du$

$\begin{matrix}\displaystyle{u=x^2}\\ \displaystyle{du=2xdx}\end{matrix}$
3

Now, identify $dv$ and calculate $v$

$\begin{matrix}\displaystyle{dv=\sin\left(x\right)dx}\\ \displaystyle{\int dv=\int \sin\left(x\right)dx}\end{matrix}$
4

Solve the integral

$v=\int\sin\left(x\right)dx$
5

Apply the integral of the sine function: $\int\sin(x)dx=-\cos(x)$

$-\cos\left(x\right)$
6

Now replace the values of $u$, $du$ and $v$ in the last formula

$-x^2\cos\left(x\right)+2\int x\cos\left(x\right)dx$
7

We can solve the integral $\int x\cos\left(x\right)dx$ by applying integration by parts method to calculate the integral of the product of two functions, using the following formula

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

First, identify $u$ and calculate $du$

$\begin{matrix}\displaystyle{u=x}\\ \displaystyle{du=dx}\end{matrix}$
9

Now, identify $dv$ and calculate $v$

$\begin{matrix}\displaystyle{dv=\cos\left(x\right)dx}\\ \displaystyle{\int dv=\int \cos\left(x\right)dx}\end{matrix}$
10

Solve the integral

$v=\int\cos\left(x\right)dx$
11

Apply the integral of the cosine function: $\int\cos(x)dx=\sin(x)$

$\sin\left(x\right)$
12

Now replace the values of $u$, $du$ and $v$ in the last formula

$-x^2\cos\left(x\right)+2\left(x\sin\left(x\right)-\int\sin\left(x\right)dx\right)$
13

Multiply the single term $2$ by each term of the polynomial $\left(x\sin\left(x\right)-\int\sin\left(x\right)dx\right)$

$-x^2\cos\left(x\right)+2x\sin\left(x\right)-2\int\sin\left(x\right)dx$
14

The integral $-2\int\sin\left(x\right)dx$ results in: $2\cos\left(x\right)$

$2\cos\left(x\right)$
15

Gather the results of all integrals

$-x^2\cos\left(x\right)+2x\sin\left(x\right)+2\cos\left(x\right)$
16

As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$

$-x^2\cos\left(x\right)+2x\sin\left(x\right)+2\cos\left(x\right)+C_0$

Final Answer

$-x^2\cos\left(x\right)+2x\sin\left(x\right)+2\cos\left(x\right)+C_0$

Explore different ways to solve this problem

Solving a math problem using different methods is important because it enhances understanding, encourages critical thinking, allows for multiple solutions, and develops problem-solving strategies. Read more

Solve integral of x^2sinxdx using basic integralsSolve integral of x^2sinxdx using u-substitutionSolve integral of x^2sinxdx using tabular integration

Give us your feedback!

Function Plot

Plotting: $-x^2\cos\left(x\right)+2x\sin\left(x\right)+2\cos\left(x\right)+C_0$

SnapXam A2
Answer Assistant

beta
Got a different answer? Verify it!

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

How to improve your answer:

Main Topic: Logarithmic Equations

Are those equations in which the unknown variable appears within a logarithm.

Your Math & Physics Tutor. Powered by AI

Available 24/7, 365.

Unlimited step-by-step math solutions. No ads.

Includes multiple solving methods.

Support for more than 100 math topics.

Premium access on our iOS and Android apps as well.

20% discount on online tutoring.

Choose your subscription plan:
Have a promo code?
Pay $39.97 USD securely with your payment method.
Please hold while your payment is being processed.
Create an Account