Integrating Tangent by parts; 0 = -1

Click For Summary
SUMMARY

The forum discussion addresses a common error in the integration of the tangent function using integration by parts. The proof attempts to show that the integral of tan(x) leads to the contradictory statement 0 = -1. The key mistake identified is the misapplication of the constant of integration, which does not cancel out as assumed. The discussion emphasizes that the indefinite integral of tan(x) contains an arbitrary constant that can affect the outcome when manipulated incorrectly.

PREREQUISITES
  • Understanding of integration techniques, specifically integration by parts.
  • Familiarity with trigonometric functions, particularly tangent, sine, and cosine.
  • Knowledge of the concept of the constant of integration in indefinite integrals.
  • Basic principles of definite integrals and their relationship to indefinite integrals.
NEXT STEPS
  • Study the method of integration by parts in detail, focusing on its correct application.
  • Learn about the properties of the tangent function and its discontinuities.
  • Explore the implications of the constant of integration in both definite and indefinite integrals.
  • Practice solving integrals involving trigonometric functions to reinforce understanding.
USEFUL FOR

Students studying calculus, particularly those learning integration techniques, as well as educators seeking to clarify common misconceptions in integral calculus.

NoOne0507
Messages
15
Reaction score
0

Homework Statement


The question is what has gone wrong in this proof, it is worth noting this a definite integral between pi/6 and pi/4:

∫ tan(x) dx = ∫ sin(x)/cos(x) dx
Let u = 1/cos(x) and dv = sin(x) dx
So du= sec(x)tan(x) and v = -cos(x)

When we substitute back in we get:
∫ tan(x) dx = -1 + ∫ tan(x) dx subtract the integral:
0 = -1

Homework Equations



∫u dv = uv - ∫v du

The Attempt at a Solution



First off, I know how to integrate tangent, with just straight u substitution. The problem is why 0 = -1 shows up in this proof; I can't find the error.

The two things I can think of is the discontinuity of tangent on pi/2, 3pi/2, etc, but those aren't included in the bounds of integration. Even so, the indefinite integral doesn't work either.

The other is the constant of integration. An indefinite integral is related to its definite integral by some constant, C. But it seems like since ∫tan(x) dx shows up on both sides the same arbitrary constant should cancel itself out.
 
Physics news on Phys.org
NoOne0507 said:

Homework Statement


The question is what has gone wrong in this proof, it is worth noting this a definite integral between pi/6 and pi/4:

∫ tan(x) dx = ∫ sin(x)/cos(x) dx
Let u = 1/cos(x) and dv = sin(x) dx
So du= sec(x)tan(x) and v = -cos(x)

When we substitute back in we get:
∫ tan(x) dx = -1 + ∫ tan(x) dx subtract the integral:
0 = -1

Homework Equations



∫u dv = uv - ∫v du

The Attempt at a Solution



First off, I know how to integrate tangent, with just straight u substitution. The problem is why 0 = -1 shows up in this proof; I can't find the error.

The two things I can think of is the discontinuity of tangent on pi/2, 3pi/2, etc, but those aren't included in the bounds of integration. Even so, the indefinite integral doesn't work either.

The other is the constant of integration. An indefinite integral is related to its definite integral by some constant, C. But it seems like since ∫tan(x) dx shows up on both sides the same arbitrary constant should cancel itself out.

It's the constant of integration that is the culprit. It is true that \int\tan(x)dx appears on both sides, but those two integrals do not necessarily have the same constant of integration!
 
NoOne0507 said:
The question is what has gone wrong in this proof, it is worth noting this a definite integral between pi/6 and pi/4:

∫ tan(x) dx = ∫ sin(x)/cos(x) dx
Let u = 1/cos(x) and dv = sin(x) dx
So du= sec(x)tan(x) dx and v = -cos(x)

When we substitute back in we get:
∫ tan(x) dx = -1 + ∫ tan(x) dx subtract the integral:

This is the deceptive step: the indefinite integral has an arbitrary constant, which can "absorb" the "-1". This is equivalent to saying that since the general antiderivative function is unaffected by a "vertical shift", you can easily "shift away" the numerical term.* You have conjured a finite number out of the infinite summation, but it can be made to disappear again. (In the definite integration, the numerical constant term will simply cancel out.)

*which sounds like a slightly "shifty" argument...In my own experience when I was learning integration-by-parts, obtaining an "equation" like this told me that this was a wrong technique of integration for the purpose...
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
19
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
4K
Replies
3
Views
2K