Solveeit Logo

Question

Question: Evaluate: \(\int {x\,\sin 3x\,dx} \) A. \( - \dfrac{1}{3}x\cos 3x + \dfrac{1}{9}\sin 3x + c\)...

Evaluate:

xsin3xdx\int {x\,\sin 3x\,dx}
A. 13xcos3x+19sin3x+c - \dfrac{1}{3}x\cos 3x + \dfrac{1}{9}\sin 3x + c
B. 13xcos3x+13sin3x+c - \dfrac{1}{3}x\cos 3x + \dfrac{1}{3}\sin 3x + c
C. 13xsin3x13cos3x+c\dfrac{1}{3}x\sin 3x - \dfrac{1}{3}\cos 3x + c
D. None of these

Explanation

Solution

At first we learn about the formula integration by parts i.e.
f(x)g(x)dx=f(x)g(x)dxf(x)(g(x)dx)dx+c\Rightarrow \int {f(x)\,g(x)\,dx = f(x)\,\int {g(x)\,dx\,} - \int {f'(x)} } \left( {\int {g(x)\,dx\,} } \right)\,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\int {x\,\sin 3x\,dx}
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)f(x) and g(x)g(x) then
f(x)g(x)dx=f(x)g(x)dxf(x)(g(x)dx)dx+c\Rightarrow \int {f(x)\,g(x)\,dx = f(x)\,\int {g(x)\,dx\,} - \int {f'(x)} } \left( {\int {g(x)\,dx\,} } \right)\,dx + c
Now using integration by parts in the given expression
i.e. xsin3xdx=xsin3xdx1(sin3xdx)dx+c\int {x\,\sin 3x\,dx} = x\int {\sin 3x\,dx} - \int {1\left( {\int {\sin 3x\,dx} } \right)} \,dx + c
Using sinnxdx=cosnxn\int {\sin \,nx\,dx} = - \dfrac{{\cos nx}}{n} , we get,
=x(cos3x3)1(cos3x3)dx+c= x\left( {\dfrac{{ - \cos 3x}}{3}} \right) - \int {1\left( {\dfrac{{ - \cos 3x}}{3}} \right)} \,dx + c
Taking 13\dfrac{1}{3} common from both the terms, we get,
=13[xcos3xcos3xdx]+c= \dfrac{1}{3}\left[ { - x\cos 3x - \int { - \cos 3x\,dx} } \right] + c
On simplifying, we get,
=13[xcos3x+cos3xdx]+c= \dfrac{1}{3}\left[ { - x\cos 3x + \int {\cos 3x\,dx} } \right] + c
Using cosnxdx=sinnxn\int {\cos nx\,dx} = \dfrac{{\sin nx}}{n}, we get,
=13[xcos3x+sin3x3]+c= \dfrac{1}{3}\left[ { - x\cos 3x + \dfrac{{\sin 3x}}{3}} \right] + c
On simplifying the brackets,
=xcos3x3+sin3x9+c= - \dfrac{{x\cos 3x}}{3} + \dfrac{{\sin 3x}}{9} + c
Therefore the solution of the given integral is xcos3x3+sin3x9+c - \dfrac{{x\cos 3x}}{3} + \dfrac{{\sin 3x}}{9} + c
Option(A) is correct.

Note: In this solution we compared the function f(x)f(x) as ‘x’ and g(x)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)f(x) which on differentiation will give us a lower degree value, this will result in a simpler expression to simplify.