Solveeit Logo

Question

Question: Evaluate the following integral: \[\int{\dfrac{\cos 8x-\cos 7x}{1+2\cos 5x}dx}\]....

Evaluate the following integral: cos8xcos7x1+2cos5xdx\int{\dfrac{\cos 8x-\cos 7x}{1+2\cos 5x}dx}.

Explanation

Solution

Hint: To evaluate the integral, we have to convert the terms in it to simpler terms using some basic trigonometric formulas and identities. Some of which we are going to need in this question are given below:
cosacosb=2sin(a+b2)sin(ab2)\cos a-\cos b=-2\sin \left( \dfrac{a+b}{2} \right)\sin \left( \dfrac{a-b}{2} \right)
cos2x=2cos2x1=12sin2x\cos 2x=2{{\cos }^{2}}x-1=1-2{{\sin }^{2}}x
sin3x=3sinx4sin3x\sin 3x=3\sin x-4{{\sin }^{3}}x
2sinAsinB=cos(AB)cos(a+B)2\sin A\sin B=\cos (A-B)-\cos (a+B)

Complete step-by-step answer:
The integral given in the question is cos8xcos7x1+2cos5xdx\int{\dfrac{\cos 8x-\cos 7x}{1+2\cos 5x}dx}.
In the first step, we will apply the identity cosacosb=2sin(a+b2)sin(ab2)\cos a-\cos b=-2\sin \left( \dfrac{a+b}{2} \right)\sin \left( \dfrac{a-b}{2} \right) in the numerator. So, we can write cos8xcos7x\cos 8x-\cos 7x as cos8xcos7x=2sin(8x+7x2)sin(8x7x2)\cos 8x-\cos 7x=-2\sin \left( \dfrac{8x+7x}{2} \right)\sin \left( \dfrac{8x-7x}{2} \right)
cos8xcos7x=2sin(15x2)sin(x2)\Rightarrow \cos 8x-\cos 7x=-2\sin \left( \dfrac{15x}{2} \right)\sin \left( \dfrac{x}{2} \right)
Now, in the second step, we are going to write cos5x\cos 5x in a different form with the help of the identity cos2x=2cos2x1=12sin2x\cos 2x=2{{\cos }^{2}}x-1=1-2{{\sin }^{2}}x. So, cos5x\cos 5x can be written as cos5x=12sin25x2\cos 5x=1-2{{\sin }^{2}}\dfrac{5x}{2}.
Now, we can substitute the values of the modified numerator and denominator into the given integral. After substitution, we get:
2sin(15x2)sin(x2)1+2(12sin25x2)dx\int{\dfrac{-2\sin \left( \dfrac{15x}{2} \right)\sin \left( \dfrac{x}{2} \right)}{1+2\left( 1-2{{\sin }^{2}}\dfrac{5x}{2} \right)}}dx
Now, we have sin(15x2)\sin \left( \dfrac{15x}{2} \right) in the numerator. We are going to write it in the form of sin5x2\sin \dfrac{5x}{2} and according to identity sin3x=3sinx4sin3x\sin 3x=3\sin x-4{{\sin }^{3}}x, we can write sin(15x2)=sin(3×5x2)\sin \left( \dfrac{15x}{2} \right)=\sin \left( 3\times \dfrac{5x}{2} \right) as sin(15x2)=3sin5x24sin35x2\sin \left( \dfrac{15x}{2} \right)=3\sin \dfrac{5x}{2}-4{{\sin }^{3}}\dfrac{5x}{2}
After substituting this value in above integral, we get:
2(3sin5x24sin35x2)sin(x2)1+2(12sin25x2)dx\int{\dfrac{-2\left( 3\sin \dfrac{5x}{2}-4{{\sin }^{3}}\dfrac{5x}{2} \right)\sin \left( \dfrac{x}{2} \right)}{1+2\left( 1-2{{\sin }^{2}}\dfrac{5x}{2} \right)}}dx
Now, we take sin5x2\sin \dfrac{5x}{2} common from the numerator. After this, we get:
2sin5x2(34sin25x2)sin(x2)1+2(12sin25x2)dx\int{\dfrac{-2\sin \dfrac{5x}{2}\left( 3-4{{\sin }^{2}}\dfrac{5x}{2} \right)\sin \left( \dfrac{x}{2} \right)}{1+2\left( 1-2{{\sin }^{2}}\dfrac{5x}{2} \right)}}dx
2sin5x2(34sin25x2)sin(x2)34sin25x2dx\Rightarrow \int{\dfrac{-2\sin \dfrac{5x}{2}\left( 3-4{{\sin }^{2}}\dfrac{5x}{2} \right)\sin \left( \dfrac{x}{2} \right)}{3-4{{\sin }^{2}}\dfrac{5x}{2}}}dx
Now, we cancel the common terms from numerator and denominator. After cancelling, we get: 2sin5x2sin(x2)dx\Rightarrow \int{-2\sin \dfrac{5x}{2}\sin \left( \dfrac{x}{2} \right)}dx
Taking (-1) out of the integral, we get: 2sin5x2sin(x2)dx-\int{2\sin \dfrac{5x}{2}\sin \left( \dfrac{x}{2} \right)}dx.
Now, with the help of identity 2sinAsinB=cos(AB)cos(a+B)2\sin A\sin B=\cos (A-B)-\cos (a+B), we can write 2sin5x2sin(x2)2\sin \dfrac{5x}{2}\sin \left( \dfrac{x}{2} \right) as 2sin5x2sinx2=cos(5x2x2)cos(5x2+x2)2\sin \dfrac{5x}{2}\sin \dfrac{x}{2}=\cos \left( \dfrac{5x}{2}-\dfrac{x}{2} \right)-\cos \left( \dfrac{5x}{2}+\dfrac{x}{2} \right). Simplifying, we get, 2sin5x2sinx2=cos(2x)cos(3x)2\sin \dfrac{5x}{2}\sin \dfrac{x}{2}=\cos \left( 2x \right)-\cos \left( 3x \right)
We put this value in the integral and we get: (cos(2x)cos(3x))dx-\int{\left( \cos \left( 2x \right)-\cos \left( 3x \right) \right)}dx. After simplification, we get: cos3xdxcos2xdx\int{\cos 3xdx-\int{\cos 2xdx}}
Above integral is of simple form, so we can integrate it. Therefore, we get: cos3xdxcos2xdx=sin3x3sin2x2+c\int{\cos 3xdx-\int{\cos 2xdx}}=\dfrac{\sin 3x}{3}-\dfrac{\sin 2x}{2}+c
cos8xcos7x1+2cos5xdx=sin3x3sin2x2+c\Rightarrow \int{\dfrac{\cos 8x-\cos 7x}{1+2\cos 5x}dx}=\dfrac{\sin 3x}{3}-\dfrac{\sin 2x}{2}+c is our required answer.

Note: The student must not forget to write + c at the end of integration since it is an indefinite integration. There is a possibility that the student might use different identities and try to simplify it. This will lead to a waste of time, so the student must first analyse the form of terms and then decide which identity to apply. The student must be careful in the signs on the identity, any change will lead to affect the answer.