Question
Question: How do you evaluate the integral \(\int {x{{\sec }^2}xdx} \)?...
How do you evaluate the integral ∫xsec2xdx?
Solution
To solve this integral, you need to know the integration by parts method and the formula for that is ∫udv=uv−∫vdu and we should now the basic formula such as∫sec2xdx=tanx and tanx=cosxsinx.
Complete step by step answer:
Let us consider the given solution:
∫xsec2xdx
Let’s consider I=∫xsec2xdx
Let us apply ∫udv formula to solve this equation, for that let us consider u=x and dv=sec2xdx and the formula for integration by parts is∫udv=uv−∫vdu, if you look at the formula it contains du and v, to find it we have to differentiate u and integrate dv we get,
u=x,du=dx and dv=sec2xdx, v=tanx, substituting the value in the formula we get,
⇒I=∫xsec2x=xtanx−∫tanxdx ⇒I=xtanx−∫cosxsinxdx ⇒I=xtanx+∫cosx−sinxdx
Let t=cosx and the by differentiating t we get,
⇒dt=−sinxdx, by substituting the values, we get,
⇒I=xtanx+∫t1dt
⇒I=xtanx+∫t1dt
⇒I=xtanx+logt+C
This is the required solution.
Note: In I=xtanx+logt+C, where C is the constant, whenever we integrate a logarithm, we will get a constant to balance the LHS and RHS. The formula for tanx=cosxsinx and the cotx will be the reciprocal of tanx, which will be equal to cotx=sinxcosx. And know the other identities of the trigonometry also. Because in many of the materials, they don’t solve every step, they will just skip some of the steps and proceed to the answer. So knowing the basic identities will help you to follow all the steps in your materials.
This is an indefinite integral, while solving a indefinite integral we should be more careful. Because this is the most complicated and important problem which will be continuously used in your higher studies. Never hesitate to solve more problems. Solving more problems will relieve you from difficulties.