Question
Question: If anti-derivative of f(x) is \[{e^x}\] and that of g(x) is \[{\rm{cosx}}\], then \[\int {f(x)} \cos...
If anti-derivative of f(x) is ex and that of g(x) is cosx, then ∫f(x)cosxdx+∫g(x)exdx is equal to
A.f(x).g(x)+c\B.f(x)+g(x)+cC.excosx+c\D.f(x)−g(x)+c
Solution
Hint: We know that anti-derivative of any function means the integration of the function. So, by using differentiation we will find the function and to integration we will use the property of integration as below,
∫ex(f(x)+f′(x)dx)=exf(x)+c
Here, f′(x) is derivative of f(x).
Complete step-by-step answer:
We have been given that, anti-derivative of f(x) is ex and that of g(x) is cosx, then we have to find ∫f(x)cosxdx+∫g(x)exdx.
We know that anti-derivative of any function means the integration of that function.
⇒∫f(x)dx=ex
We have to remember that the derivative of ex is ex. Now, on differentiating both sides with respect to ‘x’, we get,
On differentiating both sides with respect to ‘x’, we get,
⇒f(x)=ex
Again, we have ∫g(x)dx=cosx
We have to remember that the derivative of cosx = -sinx. Now, on differentiating both sides with respect to ‘x’, we get,
⇒g(x)=−sinx
Now, let us consider ∫f(x)cosxdx+∫g(x)exdx
On substituting value of f(x) and g(x), we get,
⇒∫excosxdx+∫(−sinx)exdx ⇒∫excosxdx+∫exsinxdx ⇒∫(excosx−exsinx)dx
On taking ex as common, we get,
⇒∫ex(cosx−sinx)dx
We can use the property of integration i.e.
∫ex(f(x)+f′(x))=exf(x)+c
Where, f′(x) is derivative of f(x).
⇒∫ex(cosx−sinx)dx=excosx+c
Therefore, the correct option is C.
Note: If we do not remember the property of integration which we use in the above question to find the integral then, we have to use the formula of integration which is given below,
∫u.vdx=u∫vdx−∫dxdu∫vdxdx
Here, u and v are two functions of ‘x’. This will definitely take more time and decrease our efficiency in competitive examinations. So, try to remember the properties related with integration.