Dethrone
- 716
- 0
I did two questions from my workbook that involved the tangent half-angle substitution, $$z = tan (\frac{x}{2})$$. The answers that I got, for two questions, were different (but correct, I think) in the same way. Can you assist me in how to acquire the workbook answer?
1. $$\int \frac{dx}{1-2sinx} $$
Workbook answer:
$$\int \frac{\sqrt{3}}{3} \ln\left({\frac{\tan\left({\frac{x}{2}}\right)-2-\sqrt{3}}{\tan\left({\frac{x}{2}}\right)-2+\sqrt{3}}}\right)$$
My answer:
$$\int \frac{2\sqrt{3}}{3}\ln\left({\frac{\tan\left({\frac{x}{2}}\right)-2-\sqrt{3}}{\sqrt{(\tan\left({\frac{x}{2}}\right)-2)^2-3}}}\right)$$
Method:
Applying the tangent half-angle substitution and completing the square in the denominator, I get
$$\int \frac{2}{(z-2)^2-3} dz$$
Letting $$z - 2 = u = \sqrt{3}sec\theta$$, I end up with
$$\frac{2\sqrt{3}}{3} \int csc\theta d\theta$$
Evaluating that and putting subbing back all the variables gives me the answer I wrote above. The same method was applied in number 2.
2. $$\int \frac{sinx}{1+sin^2x} dx$$
Workbook answer:
$$\frac{\sqrt{2}}{4}\ln\left({\frac{(\tan\left({\frac{x}{2}}\right))^2+3-2\sqrt{2}}{(\tan\left({\frac{x}{2}}\right))^2+3+2\sqrt{2}}}\right)$$
My answer:
$$\frac{\sqrt{2}}{2}\ln\left({\frac{(\tan\left({\frac{x}{2}}\right))^2+3-\sqrt{8}}{\sqrt{((\tan\left({\frac{x}{2}}\right))^2+3)^2-8}}}\right)$$
As is seen, my answer differs from the workbook in the same manner for both questions. I tried using wolfram alpha, which obtains the same answer as the workbook, but it uses the tanh substitution, which I don't think was used in the workbook. Which integration method did the textbook use? (I have come to love LaTex, especially with all the user-friendly commands on the side :) )
1. $$\int \frac{dx}{1-2sinx} $$
Workbook answer:
$$\int \frac{\sqrt{3}}{3} \ln\left({\frac{\tan\left({\frac{x}{2}}\right)-2-\sqrt{3}}{\tan\left({\frac{x}{2}}\right)-2+\sqrt{3}}}\right)$$
My answer:
$$\int \frac{2\sqrt{3}}{3}\ln\left({\frac{\tan\left({\frac{x}{2}}\right)-2-\sqrt{3}}{\sqrt{(\tan\left({\frac{x}{2}}\right)-2)^2-3}}}\right)$$
Method:
Applying the tangent half-angle substitution and completing the square in the denominator, I get
$$\int \frac{2}{(z-2)^2-3} dz$$
Letting $$z - 2 = u = \sqrt{3}sec\theta$$, I end up with
$$\frac{2\sqrt{3}}{3} \int csc\theta d\theta$$
Evaluating that and putting subbing back all the variables gives me the answer I wrote above. The same method was applied in number 2.
2. $$\int \frac{sinx}{1+sin^2x} dx$$
Workbook answer:
$$\frac{\sqrt{2}}{4}\ln\left({\frac{(\tan\left({\frac{x}{2}}\right))^2+3-2\sqrt{2}}{(\tan\left({\frac{x}{2}}\right))^2+3+2\sqrt{2}}}\right)$$
My answer:
$$\frac{\sqrt{2}}{2}\ln\left({\frac{(\tan\left({\frac{x}{2}}\right))^2+3-\sqrt{8}}{\sqrt{((\tan\left({\frac{x}{2}}\right))^2+3)^2-8}}}\right)$$
As is seen, my answer differs from the workbook in the same manner for both questions. I tried using wolfram alpha, which obtains the same answer as the workbook, but it uses the tanh substitution, which I don't think was used in the workbook. Which integration method did the textbook use? (I have come to love LaTex, especially with all the user-friendly commands on the side :) )
Last edited: