Question
Question: Evaluate: \(\int {x\,\sin 3x\,dx} \) A. \( - \dfrac{1}{3}x\cos 3x + \dfrac{1}{9}\sin 3x + c\)...
Evaluate:
∫xsin3xdx
A. −31xcos3x+91sin3x+c
B. −31xcos3x+31sin3x+c
C. 31xsin3x−31cos3x+c
D. None of these
Solution
At first we learn about the formula integration by parts i.e.
⇒∫f(x)g(x)dx=f(x)∫g(x)dx−∫f′(x)(∫g(x)dx)dx+c, Using this formula we’ll simply the given integration to get the required answer to match the given options.
Complete step by step answer:
Given data: The expression ∫xsin3xdx
We know if two functions of the same independent variable are multiplied together and we have to find the integration of that product then we use the formula named as integration by parts.
Let say the functions be f(x) and g(x) then
⇒∫f(x)g(x)dx=f(x)∫g(x)dx−∫f′(x)(∫g(x)dx)dx+c
Now using integration by parts in the given expression
i.e. ∫xsin3xdx=x∫sin3xdx−∫1(∫sin3xdx)dx+c
Using ∫sinnxdx=−ncosnx , we get,
=x(3−cos3x)−∫1(3−cos3x)dx+c
Taking 31 common from both the terms, we get,
=31[−xcos3x−∫−cos3xdx]+c
On simplifying, we get,
=31[−xcos3x+∫cos3xdx]+c
Using ∫cosnxdx=nsinnx, we get,
=31[−xcos3x+3sin3x]+c
On simplifying the brackets,
=−3xcos3x+9sin3x+c
Therefore the solution of the given integral is −3xcos3x+9sin3x+c
Option(A) is correct.
Note: In this solution we compared the function f(x) as ‘x’ and g(x) as ‘sin3x’, but if we have done the opposite the answer might have gotten complex as on the integration of ‘x’ we will a higher degree value. So we are always supposed to assume f(x) which on differentiation will give us a lower degree value, this will result in a simpler expression to simplify.