Integrating Trig Functions: How to Solve for the Integral of tan x sec2x?

Click For Summary

Homework Help Overview

The discussion revolves around finding the integral of tan x sec²x with respect to x, a topic within calculus focusing on integration techniques and trigonometric functions.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants explore various substitution methods, including letting u = tan x and u = cos x, to approach the integral. There are questions about the implications of these substitutions and their results, with some expressing confusion over the relationship between different forms of the integral.

Discussion Status

Several hints and suggestions have been provided, including the use of identities and substitution techniques. Participants are actively questioning the validity of their approaches and the consistency of their results, indicating a productive exploration of the topic.

Contextual Notes

There is mention of confusion regarding the limits of integration and the nature of indefinite integrals, as well as concerns about the constants of integration resulting from different substitution methods.

hasan_researc
Messages
166
Reaction score
0

Homework Statement



What is the integral of tan x sec2x with respect to x?

Homework Equations





The Attempt at a Solution



I have no idea as to how I should proceed!
 
Physics news on Phys.org
Hint: tanxsec^2xdx=\frac{sinxdx}{cos^3x}
 
How can that help? I have no idea!

Also, if we let u = tan x, then we get the limit of sin x as x tends to infinity, which is nonsense.
 
Another hint: sinxdx = d( ... )?
 
hasan_researc said:
How can that help? I have no idea!

Also, if we let u = tan x, then we get the limit of sin x as x tends to infinity, which is nonsense.
As you were told in another thread, the "indefinite" integral is just the anti-derivative. It has nothing to do with a limit at infinity.
To integrate
\int \frac{sin x}{cos^3 x} dx
Let u= cos(x).
 
Even more direct: If u = tanx, du = sec2x dx. The indefinite integral has the form \int u du.
 
I don't understand what d(...) actually means. I guess it's a clever way of using calculus that I'm not familiar with. But I have used the substitution u = cos x as follows.

<br /> u = \cos x &amp; \Rightarrow du = - sin x dx \\<br /> \int \frac{\sin x dx}{cos^{3} x} &amp; = - \int\frac{1}{u^3} du \\<br /> &amp; = \frac{1}{2} u^{-2} + c \\<br /> &amp; = \frac{1}{2\cos^{2}x} + c<br />

But if I use u = tanx I get the following.

<br /> u = \tan x &amp; \Rightarrow du = sec^{2} x dx \\<br /> \int tan x sec^{2} x dx &amp; = - \intu du \\<br /> &amp; = \frac{1}{2} u^{2} + c \\<br /> &amp; = \frac{tan^{2} x}{2} + c<br /> <br />

The two answers are contradictory. Where's the problem?
 
Sorry I made a silly mistake in my Latex code. The correction is:

<br /> \int tan x sec^{2} x dx &amp; = \int u du \\<br />
 
And I don't know how to break lines in my Latex code. Sorry for that!
 
  • #10
hasan_researc said:
The two answers are contradictory. Where's the problem?
They're not contradictory. Use the identity tan2 x + 1 = sec2 x.
 
  • #11
Ok, so

<br /> \frac{1}{2}\sec^{2} x + c \\<br /> &amp; = \frac{1}{2}\tan^{2} x + \frac{1}{2} + c \\<br />

Therefore, the constant of integration resulting from my math is 1/2 + c, whereas the constant of integration in the other result is c. Should we not be worried abt that? Or is it simply an effect of the use of different substitutions at the start of the problem?
 
  • #12
If you get two different answers from an indefinite integral, they can differ by only a constant. (1/2)sec^2(x) and (1/2)tan^2(x) differ by a constant, which is what vela was saying.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
Replies
19
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K