Solveeit Logo

Question

Question: How do you find the integral of \[\int {\dfrac{x}{{{{\cos }^2}x}}dx} \]?...

How do you find the integral of xcos2xdx\int {\dfrac{x}{{{{\cos }^2}x}}dx} ?

Explanation

Solution

In order to determine the answer of above definite integral use the formula of integration by parts i.e. f(x)g(x)dx=f(x)g(x)f(x)g(x)dx\int {f(x)g'(x)dx = f(x)g(x) - \int {f'(x)g(x)dx} } and assume f(x)=xf(x) = x and g(x)=sec2xg'(x) = {\sec ^2}x and calculate f(x)f'(x) and g(x)g(x) and put into the formula and use the substitution method to find the integral of the second term to get the final result. Don’t forget to place Constant of integration CC at the end of the integral.

Formula used:
xndx=xn+1n+1+C\int {{x^n}dx = \dfrac{{{x^{n + 1}}}}{{n + 1}} + C}
1x=lnx+C\int {\dfrac{1}{x} = \ln x + C}
cos2x+sin2x=1{\cos ^2}x + {\sin ^2}x = 1
f(x)g(x)dx=f(x)g(x)f(x)g(x)dx\int {f(x)g'(x)dx = f(x)g(x) - \int {f'(x)g(x)dx} }

Complete step by step answer:
We are given an expression xcos2xdx\int {\dfrac{x}{{{{\cos }^2}x}}dx} and we have to calculate its integral.
Rewriting the integral using the fact that1cos2x=sec2x\dfrac{1}{{{{\cos }^2}x}} = {\sec ^2}x
I=xsec2xdxI = \int {x{{\sec }^2}x\,dx}
To calculate the integral of xsec2xdx\int {x{{\sec }^2}x\,dx} ,we will be using Integration by parts method
The formula for calculation of integration of parts is
f(x)g(x)dx=f(x)g(x)f(x)g(x)dx\int {f(x)g'(x)dx = f(x)g(x) - \int {f'(x)g(x)dx} }
In our question let’s assume f(x)=xf(x) = x and g(x)=sec2xg'(x) = {\sec ^2}x
As we know that the derivative of function tanx\tan x i.e.ddx(tanx)=sec2x\dfrac{d}{{dx}}(\tan x) = {\sec ^2}x. So g(x)=tanxg(x) = \tan x, and derivative of function x is equal to 1,so f(x)=1f'(x) = 1 now putting the values of f(x),f(x),g(x)andg(x)f(x),f'(x),g(x)\,and\,g'(x) into the formula of Integration by parts
I=xsec2xdx=xtanx(1).tanxdxI = \int {x{{\sec }^2}x\,dx} = x\tan x - \int {(1).\tan x\,} dx

Substituting tanx=sinxcosx\tan x = \dfrac{{\sin x}}{{\cos x}}

I=xsec2xdx=xtanxsinxcosxdx xtanx+sinxcosxdx \Rightarrow I = \int {x{{\sec }^2}x\,dx} = x\tan x - \int {\dfrac{{\sin x}}{{\cos x}}\,} dx \\\ \Rightarrow x\tan x + \int {\dfrac{{ - \sin x}}{{\cos x}}\,} dx \\\

Integral of the 2nd term can be determined using integration by substitution method, Let ysinxy \Rightarrow \sin x, so dy=sinxdxdy = - \sin x dx.
Substituting sinxdx=dyandcosx=y - \sin xdx = dy\,\,and\,\cos x = y, we get
xtanx+dyy\Rightarrow x\tan x + \int {\dfrac{{dy}}{y}\,}
Integration of 1y=ln(y)+C\dfrac{1}{y} = \ln \left( {\left| y \right|} \right) + C

xtanx+dyy xtanx+ln(y)+C \Rightarrow x\tan x + \int {\dfrac{{dy}}{y}\,} \\\ \Rightarrow x\tan x + \ln \left( {\left| y \right|} \right) + C \\\

I=xsec2xdx=xtanx+ln(y)+C\therefore I = \int {x{{\sec }^2}x\,dx} = x\tan x + \ln \left( {\left| y \right|} \right) + C
C is the constant of integration.

Therefore, the integral xcos2xdx\int {\dfrac{x}{{{{\cos }^2}x}}dx} is equal to xtanx+ln(y)+Cx\tan x + \ln \left( {\left| y \right|} \right) + C.

Additional Information:
1.Different types of methods of Integration:
Integration by Substitution
Integration by parts
Integration of rational algebraic function by using partial fraction

2. Integration by Substitution: The method of evaluating the integral by reducing it to standard form by a proper substitution is called integration by substitution.
If φ(x)\varphi (x) is a continuously differentiable function, then to evaluate integrals of the form.
f(φ(x))φ1(x)dx\int {f(\varphi (x)){\varphi^1}(x) dx} , we substitute φ(x)\varphi (x) = t and φ1(x)dx=dt{\varphi ^1}(x)dx = dt
This substitution reduces the above integral to f(t)dt\int {f(t)dt} . After evaluating this integral we substitute back the value of t.

Note: 1. Use standard formula carefully while evaluating the integrals.
2. Indefinite integral=Let f(x)f(x) be a function .Then the family of all its primitives (or antiderivatives) is called the indefinite integral of f(x)f(x) and is denoted by f(x)dx\int {f(x)} dx
3. The symbol f(x)dx\int {f(x)dx} is read as the indefinite integral of f(x)f(x)with respect to x.
4. C is known as the constant of integration.