I Integrate 1/(y+cos(x))^2 dx

Tags:
1. Apr 23, 2016

Needhelp62

First part of the question was to work out the integral $$1/(y+cos(x))$$ between x=0 and x=pi/2 by using the substitution $$t=tan(x/2).$$
Got this to be $$\frac{2}{\sqrt{y^2-1}}arctan(\sqrt{\frac{y-1}{y+1}})$$
The next question says HENCE find integral with the same limits of $$\frac{1}{(y+cos(x))^2}$$
Ive tried using by parts to maybe get something minus the first integral but i can't get it to work. This exam is known for being full of horrible questions so anything is possible here

2. Apr 23, 2016

Ssnow

Hi, but $y$ is a fixed number or is a function $y(x)$?

3. Apr 23, 2016

Math_QED

4. Apr 23, 2016

Needhelp62

y is just a fixed number the question says the answer to the integral is a function of y

5. Apr 23, 2016

Ssnow

ok, in the risolution you must treat $y$ as a number and try with the substitution $t=\tan{\frac{x}{2}}$. You will obtain an integral that is the ratio of two polynomials in $t$ ...

6. Apr 23, 2016

Ssnow

remember that $\cos{x}=\frac{1-t^{2}}{1+t^{2}}$...

7. Apr 23, 2016

Needhelp62

Thank you I get how the original integral i used now.I have two integrals with the first being twice the original and the second being
$$\frac{2t^2}{(y+1)+t^2(y-1)}$$

8. Apr 23, 2016

Needhelp62

think ive got it, if i call the original integral Q so
$$(2-\frac{2}{y+1})Q+\frac{2}{y+1}$$