Question
Question: Integrate the following function: \[x\sin 3x\]...
Integrate the following function: xsin3x
Solution
Here we will be proceeding by letting the given function as h(x). Then use integration by parts methods by knowing its first function and second function by using the ILATE rule. So, use this concept to reach the solution of the given problem.
Complete step-by-step answer:
Let the given function be h(x)=xsin3x
This function can be integrated by using the method of integration by parts.
By ILATE rule we take x as the first function (algebraic function) and sin3x (trigonometric function) as second function for integration by parts.
We know that ∫f(x)g(x)dx=f(x)∫g(x)dx−∫f′(x)∫g(x)dx+c where f(x) is first function and g(x) is second function in integrating by parts.
Applying integrating by parts to the function h(x), we have
By using the formula, ∫sinaxdx=a−cosax+c we have
⇒∫h(x)=(x)(3−cos3x)−∫(1)(3−cos3x)dx ⇒∫h(x)=3−xcos3x−∫3−cos3xdx ⇒∫h(x)=3−xcos3x+31∫cos3xdxBy using the formula, ∫cosax=asinax+c we have
⇒∫h(x)=3−xcos3x+31(3sin3x)+c ⇒∫h(x)=3−xcos3x+9sin3x+c ∴∫xsin3x=3−xcos3x+9sin3x+cThus, the integral of xsin3x is 3−xcos3x+9sin3x+c.
Note: A constant namely integrating constant that is added to the function obtained by evaluating the indefinite integral of a given function, indicating that all indefinite integrals of the given function differ by, at most, a constant. So, it is necessary to add integrating constants after completion of the integral.