Integral of Tangent: Alterations and Proofs

In summary: Originally posted by mathmanIn summary, the integral of tan(x) is -ln(cos(x)). However, the tangent graph is broken up into pieces at odd multiples of pi. All the pieces look the same, while the cosine graph switches back and forth between positive and negative. If you want to do a definite integral, you can't cross one of the breaks.
  • #1
arcnets
508
0
Hi all,
we know that the integral of tan(x) is -ln(cos(x)).

Now:
-ln(cos(x)) is only defined where cos(x) > 0. BUT tan(x) is defined everywhere except where cos(x) = 0.

My questions:
1) How can we alter the 1st statement so that the tangent has an integral everywhere it is defined?
2) Can you give a formal proof for that better statement?

Thx,
Carsten
 
Physics news on Phys.org
  • #2
Sketch of an answer: the integral is -ln(|cos(x)|). The tangent graph is broken up into pieces at odd multiples of pi. All the pieces look the same, while the cosine graph switches back and forth between positive and negative. If you want to do a definite integral, you can't cross one of the breaks.
 
  • #3
To emphasise mathman's crucial point:

"we know that the integral of tan(x) is -ln(cos(x))." is incorrect.

The integral of tan(x) is -ln(|cos x|) which is defined for all x except where tan(x) itself is not defined.
 
  • #4
Originally posted by HallsofIvy
To emphasise mathman's crucial point:

"we know that the integral of tan(x) is -ln(cos(x))." is incorrect.

The integral of tan(x) is -ln(|cos x|) which is defined for all x except where tan(x) itself is not defined.
This is something I've never been able to get me head around. Why do we say it is -ln(|cos x|) would that not in fact produce wrong answers where cos x < 0 ?

I don't know if that is a good example, but there do seem to be other times where defining the answer as ln[|f(x)|] appears to produce incorrect answers and what they really mean is ln[f(x)] where f(x)>0.
 
  • #5
why does it produce the wrong answer?

Take the integral of tan between -pi/4 and pi/8. Why do you think the answer using logs is wrong?
 
  • #6
Thanks. OK, I see:
F(x) = -ln(cos x) and F(x) = -ln(-cos x) both satisfy dF/dx = tan x, but only one of them is defined for each x.
 
  • #7
Originally posted by matt grime
why does it produce the wrong answer?

Take the integral of tan between -pi/4 and pi/8. Why do you think the answer using logs is wrong?
I don't think the answer is wrong, in fact I see why it appears to work in this case. But some times using modulus signs seems to produce incorrect answers when dealing with logs.
 
  • #8
Post an example and we'll see what's up with it.
 
  • #9
As matt grime suggested, please post an example in which "using modulus signs seems to produce incorrect answers when dealing with logs." I would like to see it. The only case I can think of would be when one limit of integration is positive and the other negative. That CAN'T have a correct answer!

You don't need to deal with tangent to see why we need the absolute value (modulus). f(x)= 1/x is defined for all x except 0. To say that the integral of 1/x is ln(x) restricting x to be positive would simply ignore half of the function.
 

FAQ: Integral of Tangent: Alterations and Proofs

What is the definition of the integral of tangent?

The integral of tangent is a mathematical concept that calculates the area under the curve of the tangent function. It is represented by the symbol ∫tan(x)dx and is used to find the total displacement or distance traveled by an object moving along a curved path.

How do you find the integral of tangent?

To find the integral of tangent, we use the fundamental theorem of calculus, which states that the integral of a function f(x) can be found by evaluating the antiderivative of f(x). In the case of tangent, the antiderivative is ln|sec(x)| + C, where C is a constant of integration.

What are some common alterations to the integral of tangent?

There are a few common alterations to the integral of tangent, such as using trigonometric identities to rewrite the integral in terms of sine and cosine, using substitution to simplify the integrand, or applying integration by parts. These alterations can make the integral easier to solve or evaluate.

Can you prove the integral of tangent using geometric methods?

Yes, the integral of tangent can be proven using geometric methods. One approach is to use the definition of the tangent function as the ratio of the opposite and adjacent sides of a right triangle. By constructing a series of right triangles and calculating their areas, we can show that the integral of tangent is equivalent to the total area under the curve.

What are some real-world applications of the integral of tangent?

The integral of tangent has many real-world applications, such as calculating the work done by a force acting at an angle, finding the displacement of a projectile, or determining the amount of heat transferred in a curved pipe. It is also used in engineering, physics, and other fields that involve curved motion or forces.

Similar threads

Replies
6
Views
2K
Replies
29
Views
2K
Replies
8
Views
1K
Replies
5
Views
2K
Replies
4
Views
2K
Replies
1
Views
2K
Back
Top