MHB Why Are My Tangent Half-Angle Substitution Answers Different from the Workbook?

Click For Summary
The discussion centers on discrepancies between personal answers and workbook solutions for integrals using the tangent half-angle substitution. The user applied this method to two integrals, obtaining results that differed in form but were believed to be correct. It was revealed that both answers could be simplified to match the workbook's, and the importance of recognizing equivalent forms of solutions was emphasized. The conversation also touched on alternative methods, such as partial fraction decomposition, and the user's journey in learning integration techniques. Ultimately, the user expressed gratitude for the assistance received in resolving their confusion.
Dethrone
Messages
716
Reaction score
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 :) )
 
Last edited:
Physics news on Phys.org
I was scouring the internet and I found what they did.

$$\int \frac{2}{(z-2)^2-3} dz$$

At this step, I generally use a secant substitution; wouldn't that be the most obvious choice anyways? Well, they used a difference of squares factoring in the denominator and applied partial fraction decomposition.

$$\int \frac{2}{(z-2-\sqrt{3})(z-2+\sqrt{3})} dz$$
 
Hi Rido! ;)

All 3 methods are equally valid.

However, in both problems your answer can be simplified further.
If you do, you'll get the textbook answer.
 
I tried to simplify it before with limited success. Any hints? Let's try 1)

$$\displaystyle \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)$$
 
Rido12 said:
I tried to simplify it before with limited success. Any hints? Let's try 1)

$$\displaystyle \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)$$

Oh wait. There is something wrong after all.
Apparently there shouldn't be a radical in the denominator.
Then it would simplify properly.

Edit: Nope. It's right after all.
 
That's weird. My substitution is that $$z-2=u=\sqrt{3}sec\theta$$

Constructing a right angle triangle, I get that the hypotenuse is u, adjacent is $$\sqrt{3}$$, and opposite is $$\sqrt{u^2-3}$$

From $$\displaystyle \frac{2\sqrt{3}}{3} \int csc\theta d\theta$$ (in my first post)

I get $$\frac{2\sqrt{3}}{3}\ln\left({csc\theta-cot\theta}\right)$$

Replacing the trig functions and letting u = z-2, and z = tan(x/2), I'm pretty I get

$$\displaystyle \displaystyle \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) $$
 
Sorry for the confusion.
It does simplify properly.
$$\ln\left({\frac{\tan\left({\frac{x}{2}}\right)-2-\sqrt{3}}{\sqrt{(\tan\left({\frac{x}{2}}\right)-2)^2-3}}}\right)

= \ln\left(\sqrt{{\frac{\left((\tan\left({\frac{x}{2}}\right)-2)-\sqrt{3}\right)^2}{(\tan\left({\frac{x}{2}}\right)-2)^2-3}}}\right)

= \frac 1 2 \ln\left({\frac{(\tan\left({\frac{x}{2}}\right)-2)-\sqrt{3}}{(\tan\left({\frac{x}{2}}\right)-2)+\sqrt 3}}\right)
$$
 
Btw, did you know that:

$$\int \frac{dx}{1 - x^2} = \text{artanh }x + C$$

And that:
$$\text{artanh }x = \frac 1 2 \ln \left( \frac{1+x}{1-x} \right)$$
 
Well, thanks for all the help! I guess this question is now official solved. :)
Wolfram Alpha showed me that, but I haven't learned it yet. Heck, I just self-learned integration so far, so I really appreciate the help :)
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
3K
Replies
4
Views
4K
Replies
12
Views
3K
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
5
Views
2K