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

Click For Summary
SUMMARY

The discussion revolves around discrepancies in answers obtained using the tangent half-angle substitution, $$z = \tan\left(\frac{x}{2}\right)$$, for two integral problems. The user compared their results with those from a workbook, specifically for the integrals $$\int \frac{dx}{1-2\sin x}$$ and $$\int \frac{\sin x}{1+\sin^2 x} dx$$. The workbook answers were derived using partial fraction decomposition, while the user’s answers, although correct, differed due to simplification issues. Ultimately, it was confirmed that both methods are valid, and the user was guided on how to simplify their answers to match the workbook.

PREREQUISITES
  • Tangent half-angle substitution in integration
  • Partial fraction decomposition techniques
  • Understanding of logarithmic properties in calculus
  • Basic trigonometric identities and their applications
NEXT STEPS
  • Study the process of partial fraction decomposition in detail
  • Learn advanced techniques for simplifying logarithmic expressions
  • Explore the applications of the tangent half-angle substitution in various integrals
  • Investigate the relationship between hyperbolic functions and their logarithmic forms
USEFUL FOR

Students and educators in calculus, particularly those focusing on integration techniques, as well as anyone looking to deepen their understanding of trigonometric substitutions and simplification methods in mathematical analysis.

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 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K