Question
Question: How do you integrate \[\sqrt x .(\cos \sqrt x )\]?...
How do you integrate x.(cosx)?
Solution
Here in this question given an indefinite integral, we have to find the integrated value of given function. it can be solved by the method of integration by parts by separating the function as uand v, later integrated by using the standard formulas of integration. And by further simplification we get the required solution.
Complete step-by-step solution:
Integration by parts is a technique for performing indefinite integration or definite integration by expanding the differential of a product of functions d(uv) and expressing the original integral in terms of a known integral ∫vdu. A single integration by parts starts with
d(uv)=udv+vdu
and integrates both sides,
∫d(uv)=uv=∫udv+∫vdu.------(1)
Rearranging gives
∫udv=uv−∫vdu.---------(2)
Consider the given function ∫x.cosxdx-----(3)
substitute t=x and 2tdt=dx. On substituting these in the equation (3) we have
⇒∫t.cost(2t2dt)
on simplifying we get
⇒∫2t3.costdt
Given integral which is not having any upper and lower limit then it’s an indefinite integral. Hence we add the C while integrating. Where, C is an arbitrary constant called as the constant of integration.$$$$
u=2t3 ⇒dtdu=3t2 and
dv=costdt ⇒v=−sint
Then by the method of integration by parts i.e., by the equation (2)
⇒∫2t3.costdt=2t3(sint)−∫sint(6t2)dt
⇒∫2t3costdt=2t3(sint)−∫6t2.(sint)dt
again on integrating we have
⇒∫2t3costdt=2t3sint−6t2(−cost)−∫12t(−cost)dt
On simplifying we get
⇒∫2t3costdt=2t3sint+6t2cost+∫12tcostdt
On integrating the third term of RHS, we get
⇒∫2t3costdt=2t3sint+6t2cost+12t(sint)+C
Where C is an integrating constant.
Re-substitute the value of t we have
⇒∫xcosxdx=2(x)3sinx+6xcosx+12x(sinx)+C
Hence, the value of ∫xcosxdx is 2(x)3sinx+6xcosx+12x(sinx)+C
Note: While integrating the trigonometric functions, we simplify the trigonometric functions as much as possible by using the trigonometry ratios or by trigonometry identities. The integration by substitution is the easiest way to integrate. The function and its derivative must be present while substituting.