Question
Question: Suppose \[\int {{e}^{x}}\left( \tan x+1 \right)\sec xdx={{e}^{x}}f\left( x \right)+c\]. Then determi...
Suppose ∫ex(tanx+1)secxdx=exf(x)+c. Then determine the function f(x).
Solution
In this question, we will first evaluate the integral ∫ex(tanx+1)secxdx, for that we will split the integral into ∫extanxsecxdx+∫exsecxdx. Then we will not evaluate the value of the integral ∫extanxsecxdx rather we will evaluate ∫exsecxdx and we will see that it can be expressed in the form of ∫extanxsecxdx. We will then add both the value of the integrals and write it in the form of exf(x)+c. Then by equation both the values we will determine the function f(x).
Complete step by step answer:
We are given that ∫ex(tanx+1)secxdx=exf(x)+c.
Let I denote the integral ∫ex(tanx+1)secxdx.
That is, let I=∫ex(tanx+1)secxdx.
Now on splitting the above integrals, we will have
I=∫extanxsecxdx+∫exsecxdx
Let us suppose that the integral ∫extanxsecxdx is denoted by I1 and the integral ∫exsecxdx is denoted by I2.
That is, we have
I1=∫extanxsecxdx and
I2=∫exsecxdx
Since we know that by integration by parts we have ∫(uv)dx=u∫vdx−∫dxd(u)∫vdx
We will now evaluate the integral I2=∫exsecxdx by using integration by parts.
Suppose u=secx and v=ex, then we have