Integration of a trig function

Click For Summary
The discussion focuses on integrating a trigonometric function, specifically using the tangent and cosine functions. One participant successfully applies the substitution method with u = cos(x) and confirms that their approach yields the correct answer. However, errors are pointed out regarding the differentiation of secant and the calculation of du, which should include squaring the secant function. Participants clarify and correct each other's mistakes, emphasizing the importance of accurate differentiation in integration. Overall, the conversation highlights collaborative problem-solving in calculus.
chwala
Gold Member
Messages
2,827
Reaction score
415
Homework Statement
##\int\frac {tan x}{1+ cos^2x}dx##
Relevant Equations
integration
1610142259269.png

This is my first attempt ...
 
Last edited:
Physics news on Phys.org
1610143868268.png

my second attempt...
 
Last edited:
1610144392604.png


My third attempt...bingo, I got it!
 
Last edited:
  • Like
Likes Charles Link and SammyS
Your method works, but I did it with ## \tan{x}=\sin{x}/\cos{x} ##, and ## \sin{x} \, dx=-d \cos{x} ##.
With ## u=\cos{x} ##, the problem then becomes an exercise in partial fractions, and it also gets the same answer as that of the above post.
 
  • Like
Likes chwala
chwala said:
my other approach...
Capture_Chwala.PNG
This works nicely, but you have an error in differentiating.

The derivative of ##\sec x ## is ##\tan x \cdot \sec x##,

so that ##du=2\tan x \cdot \sec^2 x \ dx##.

The rest of the work will follow nicely from that.
 
Yeah I noticed that...thanks slight error, I left out ##dx##
 
chwala said:
Yeah I noticed that...thanks slight error, I left out ##dx##
You also missed squaring the secant function.
 
SammyS said:
You also missed squaring the secant function.
I think you are looking at the wrong page, check my post number ##3##
 
chwala said:
I think you are looking at the wrong page, check my post number ##3##
No. My replies are referring to Post # 2.

You have the following:
Capture_Chwala.PNG

But you have an error in du.

It should be ##du=2\tan x \cdot \sec^2 x \ dx ## .

Thus your integral becomes ##\displaystyle \frac 1 2 \int \frac{du}{u} ## .

Etc.
 
Last edited:
  • #10
SammyS said:
No. My replies are referring to Post # 2.

You have the following:
View attachment 275901
But you have an error in du.

It should be ##du=2\tan x \cdot \sec^2 x \ dx ## .

Thus your integral becomes ##\displaystyle \frac 1 2 \int \frac{du}{u} ## .

Etc.

Noted cheers...
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
760
  • · Replies 6 ·
Replies
6
Views
2K
Replies
14
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K