Integration of a trig function

In summary, the conversation discusses different approaches to solving a problem involving the integral of the secant function. The first attempt uses substitution and partial fractions, while the second attempt uses the derivative of the secant function. The expert summarizer notes that there is an error in the second attempt's derivative and provides the correct formula. The conversation ends with a clarification on which post the expert's replies are referring to.
  • #1
chwala
Gold Member
2,650
351
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
  • #2
1610143868268.png

my second attempt...
 
Last edited:
  • #3
1610144392604.png


My third attempt...bingo, I got it!
 
Last edited:
  • Like
Likes Charles Link and SammyS
  • #4
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
  • #5
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.
 
  • #6
Yeah I noticed that...thanks slight error, I left out ##dx##
 
  • #7
chwala said:
Yeah I noticed that...thanks slight error, I left out ##dx##
You also missed squaring the secant function.
 
  • #8
SammyS said:
You also missed squaring the secant function.
I think you are looking at the wrong page, check my post number ##3##
 
  • #9
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...
 

1. What is integration of a trig function?

Integration of a trig function is the process of finding the antiderivative of a trigonometric function. It involves finding a function whose derivative is equal to the given trig function.

2. Why is integration of a trig function important?

Integration of a trig function is important because it allows us to solve various problems in physics, engineering, and other fields that involve periodic functions. It also helps in finding the area under a curve and evaluating definite integrals.

3. What are the basic trigonometric functions that can be integrated?

The basic trigonometric functions that can be integrated are sine, cosine, tangent, cotangent, secant, and cosecant.

4. What are the methods for integrating trigonometric functions?

The methods for integrating trigonometric functions include substitution, integration by parts, and trigonometric identities.

5. How do I know which method to use when integrating a trig function?

The method to use when integrating a trig function depends on the form of the function. For example, substitution is useful when the function contains a composite function, while integration by parts is useful when the function is a product of two functions. Trigonometric identities are useful for simplifying complex trigonometric functions.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
101
  • Calculus and Beyond Homework Help
Replies
5
Views
366
Replies
4
Views
938
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
18
Views
2K
Replies
5
Views
680
  • Calculus and Beyond Homework Help
Replies
3
Views
373
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
998
  • Calculus and Beyond Homework Help
Replies
6
Views
714
Back
Top