Solveeit Logo

Question

Question: Evaluate the following integral \(\int{\dfrac{\cos 3x}{\cos x}}\)....

Evaluate the following integral cos3xcosx\int{\dfrac{\cos 3x}{\cos x}}.

Explanation

Solution

In this question, we need to find the integration of a function f(x)=cos3xcosxf\left( x \right)=\dfrac{\cos 3x}{\cos x}. For this, we will first simplify f(x) to find the integration. We will use the formula cos3x=4cos3x3cosx\cos 3x=4{{\cos }^{3}}x-3\cos x and cos2x=2cos2x1\cos 2x=2{{\cos }^{2}}x-1 to simplify the function f(x).
After that, we will use the basic integration formula of cosax given by cosaxdx=sinaxa\int{\cos axdx}=\dfrac{\sin ax}{a}. We will also use 1dx=x\int{1\cdot dx=x}

Complete step-by-step answer:
Here, we need to find the integration of the function f(x)=cos3xcosxf\left( x \right)=\dfrac{\cos 3x}{\cos x}. But first let us simplify it.
As we know, cos3x=4cos3x3cosx\cos 3x=4{{\cos }^{3}}x-3\cos x so our function f(x) becomes f(x)=4cos3x3cosxcosxf\left( x \right)=\dfrac{4{{\cos }^{3}}x-3\cos x}{\cos x}.
Separating terms we get: f(x)=4cos3xcosx3cosxcosxf\left( x \right)=\dfrac{4{{\cos }^{3}}x}{\cos x}-\dfrac{3\cos x}{\cos x}.
Cancelling cos x from the numerator and denominator from both terms we get: f(x)=4cos2x3f\left( x \right)=4{{\cos }^{2}}x-3.
Now, we know that, cos2x=2cos2x1\cos 2x=2{{\cos }^{2}}x-1 so we get: cos2x+1=2cos2x\cos 2x+1=2{{\cos }^{2}}x.
Putting it in f(x) we get: f(x)=4(cos2x+1)23f\left( x \right)=\dfrac{4\left( \cos 2x+1 \right)}{2}-3.
Simplifying it we get: f(x)=2(cos2x+1)3=2cos2x+23=2cos2x1f\left( x \right)=2\left( \cos 2x+1 \right)-3=2\cos 2x+2-3=2\cos 2x-1.
Now, we need to find the integration of f(x). Therefore, f(x)dx=(2cos2x1)dx\int{f\left( x \right)}dx=\int{\left( 2\cos 2x-1 \right)dx}.
As we know, [u(x)+v(x)]dx=u(x)dx+v(x)dx\int{\left[ u\left( x \right)+v\left( x \right) \right]}dx=\int{u\left( x \right)dx+\int{v\left( x \right)dx}} so we get: f(x)dx=2cos2xdx+(1)dx\int{f\left( x \right)dx=\int{2\cos 2xdx+\int{\left( -1 \right)dx}}}.
Also we know that ag(x)dx=ag(x)dx\int{ag\left( x \right)}dx=a\int{g\left( x \right)}dx hence we get: f(x)dx=2cos2xdxdx\int{f\left( x \right)}dx=2\int{\cos 2xdx-\int{dx}}.
Using cosaxdx=sinaxa and dx=x\int{\cos axdx=\dfrac{\sin ax}{a}}\text{ and }\int{dx}=x we get: f(x)dx=2(sin2x2)x\int{f\left( x \right)}dx=2\left( \dfrac{\sin 2x}{2} \right)-x.
Cancelling 2 we get: f(x)dx=sin2xx\int{f\left( x \right)}dx=\sin 2x-x
As f(x) was supposed to be cos3xcosx\dfrac{\cos 3x}{\cos x} so we get: cos3xcosx=sin2xx\int{\dfrac{\cos 3x}{\cos x}=\sin 2x-x} which is our required answer.

Note: Students should keep in mind the formula of finding integration of the trigonometric function. Students should note that we always need to simplify our function as there exists no formula for finding integration of the two dividing functions.