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

In summary, the methods that the textbook used for these questions were the tangent half-angle substitution and the difference of squares.
  • #1
Dethrone
717
0
I did two questions from my workbook that involved the tangent half-angle substitution, \(\displaystyle 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. \(\displaystyle \int \frac{dx}{1-2sinx} \)

Workbook answer:
\(\displaystyle \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:
\(\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)\)

Method:
Applying the tangent half-angle substitution and completing the square in the denominator, I get
\(\displaystyle \int \frac{2}{(z-2)^2-3} dz\)

Letting \(\displaystyle z - 2 = u = \sqrt{3}sec\theta\), I end up with
\(\displaystyle \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. \(\displaystyle \int \frac{sinx}{1+sin^2x} dx\)

Workbook answer:
\(\displaystyle \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:

\(\displaystyle \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
  • #2
I was scouring the internet and I found what they did.

\(\displaystyle \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.

\(\displaystyle \int \frac{2}{(z-2-\sqrt{3})(z-2+\sqrt{3})} dz\)
 
  • #3
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.
 
  • #4
I tried to simplify it before with limited success. Any hints? Let's try 1)

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

\(\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)\)

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.
 
  • #6
That's weird. My substitution is that \(\displaystyle z-2=u=\sqrt{3}sec\theta\)

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

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

I get \(\displaystyle \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 \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) \)
 
  • #7
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)
$$
 
  • #8
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)$$
 
  • #9
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 :)
 

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

What is Tangent Half Angle Substitution?

Tangent Half Angle Substitution is a mathematical technique used to simplify and solve integrals involving trigonometric functions.

When is Tangent Half Angle Substitution used?

Tangent Half Angle Substitution is typically used when the integral contains a term in the form of sinn(x) or cosn(x), where n is an odd integer.

How does Tangent Half Angle Substitution work?

Tangent Half Angle Substitution involves using the identity tan2(x) = (1 - cos(2x)) / (1 + cos(2x)) to rewrite the trigonometric function in the integral. Then, a substitution is made using u = tan(x/2) to simplify the integration.

What are some tips for using Tangent Half Angle Substitution effectively?

When using Tangent Half Angle Substitution, it is important to select the appropriate value for u in order to simplify the integral as much as possible. It is also helpful to practice identifying when this technique can be applied.

Are there any limitations to Tangent Half Angle Substitution?

Yes, Tangent Half Angle Substitution can only be used for integrals involving trigonometric functions with odd powers. It also may not be the most efficient method for solving certain integrals, so it is important to consider other techniques as well.

Similar threads

Back
Top