Question
Question: The primitive of the function \(x\left| {\cos x} \right|\), when \(\dfrac{\pi }{2} < x < \pi \) give...
The primitive of the function x∣cosx∣, when 2π<x<π given by
A. Cos x + x Sinx + c
B. Cos x − x sinx + c
C. xsinx − cosx + c
D. None of these + c
Solution
By checking out the question, we get to know that the primitive of the function is integral to the function. Which means we need to integrate the given function. Secondly, divide the function according to the behaviour at different intervals as the Modulus function works differently for different intervals before integrating. Hence, derive the function without modulus and then integrate it to obtain the primitive relation of the given function.
Complete step by step solution: Let’s begin with the given function x∣cosx∣ in the given interval (2π,π).
As we know that, the modulus function results from the output into positive while breaking modulus we need to take care of Cos function, which will always result in positive.
As you know that Cos function is positive in (0,2π) and negative in(2π,π) . We are going to open the function with a negative sign which will over all result the output in positive value
f(x)=x∣cosx∣
=−xcosx in the interval 2π toπ .
We need primitive of the function, which is integration with respect to function variable
∫f(x)dx=∫−xcosxdx
Here we are going to treat x as one function and cosx as another one as we know that the integral of two functions let’s suppose U and V in the form of multiple.
i.e.∫u.vdx is equal to u∫vdx−∫dxdu∫vdxdx
Similarly in this condition, we are going to integrate.
−∫xcosxdx=−[x∫cosxdx−∫dxdx−∫cosxdxdx]
=−[xsinx−∫sinxdx]
as we know that integral of function cos is positive sin function.
Further
=−xsinx+∫sinxdx
=−xsinx−cosx+c
Here, we also know that the integral of sinx is negative cos x, and the constant c is applied as some variable might be present which gets zero in differentiation.
The correct option is B.
Note: Always try to divide functions carefully to integrate. If u have multiple functions to integrate, divide it into 2 and later apply the same to integrate and differentiate. Students may think why is it so important? Because sometimes if we choose wrongly then the integration sign will never be removed. exp(sinx) is an example of such a function.