👉 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!
Symbolic 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 to the problem

$-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

How should I solve this problem?

  • Integrate using tabular integration
  • Integrate by partial fractions
  • Integrate by substitution
  • Integrate by parts
  • Integrate by trigonometric substitution
  • Weierstrass Substitution
  • Integrate using trigonometric identities
  • Integrate using basic integrals
  • Product of Binomials with Common Term
  • FOIL Method
  • Load more...
Can't find a method? Tell us so we can add it.
1

We can solve the integral $\int x^2\sin\left(x\right)dx$ by applying the method of tabular integration by parts, which allows us to perform successive integrations by parts on integrals of the form $\int P(x)T(x) dx$. $P(x)$ is typically a polynomial function and $T(x)$ is a transcendent function such as $\sin(x)$, $\cos(x)$ and $e^x$. The first step is to choose functions $P(x)$ and $T(x)$

$\begin{matrix}P(x)=x^2 \\ T(x)=\sin\left(x\right)\end{matrix}$

Find the derivative of $x^2$ with respect to $x$

$x^2$

The power rule for differentiation states that if $n$ is a real number and $f(x) = x^n$, then $f'(x) = nx^{n-1}$

$2x$

The derivative of the linear function times a constant, is equal to the constant

$2\frac{d}{dx}\left(x\right)$

The derivative of the linear function is equal to $1$

$2$

The derivative of the constant function ($2$) is equal to zero

0
2

Derive $P(x)$ until it becomes $0$

$0$

Find the integral of $\sin\left(x\right)$ with respect to $x$

$\sin\left(x\right)$

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

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

The integral of a function times a constant ($-1$) is equal to the constant times the integral of the function

$-\int\cos\left(x\right)dx$

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

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

The integral of a function times a constant ($-1$) is equal to the constant times the integral of the function

$-\int\sin\left(x\right)dx$

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

$1\cos\left(x\right)$

Any expression multiplied by $1$ is equal to itself

$\cos\left(x\right)$
3

Integrate $T(x)$ as many times as we have had to derive $P(x)$, so we must integrate $\sin\left(x\right)$ a total of $3$ times

$\cos\left(x\right)$
4

With the derivatives and integrals of both functions we build the following table

$\begin{matrix}\mathrm{Derivatives} & \mathrm{Sign} & \mathrm{Integrals} \\ & & \sin\left(x\right) \\ x^2 & + & -\cos\left(x\right) \\ 2x & - & -\sin\left(x\right) \\ 2 & + & \cos\left(x\right) \\ 0 & & \end{matrix}$
5

Then the solution is the sum of the products of the derivatives and the integrals according to the previous table. The first term consists of the product of the polynomial function by the first integral. The second term is the product of the first derivative by the second integral, and so on.

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

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 to the problem

$-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

Help us improve with 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: Integral Calculus

Integration assigns numbers to functions in a way that can describe displacement, area, volume, and other concepts that arise by combining infinitesimal data.

Used Formulas

See formulas (6)

Invest in your Education!

Help us make you learn faster

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

Prepare for your math exams in less time.

Includes multiple solving methods.

Support for more than 100 math topics.

Premium access on our iOS and Android apps.

Choose your plan. Cancel Anytime.
Pay $39.97 USD securely with your payment method.
Please hold while your payment is being processed.

Create an Account