Integrating Tangent by parts; 0 = -1

In summary, the conversation discusses a proof involving the integration of tangent and the error of obtaining 0 = -1. It is pointed out that the constant of integration is the culprit and it is explained how it can cause this discrepancy. The conversation also mentions that this type of error can indicate the use of an incorrect technique for integration.
  • #1
NoOne0507
16
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
  • #2
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 [itex]\int\tan(x)dx[/itex] appears on both sides, but those two integrals do not necessarily have the same constant of integration!
 
  • #3
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...
 

FAQ: Integrating Tangent by parts; 0 = -1

How do you integrate by parts?

To integrate by parts, you use the formula: ∫udv = uv - ∫vdu, where u and v are functions. You choose u and dv in a way that will make the integral on the right side of the formula easier to solve. Then, you apply the formula and continue solving until the integral is fully evaluated.

What is the purpose of integrating by parts?

The main purpose of integrating by parts is to simplify complex integrals that cannot be solved by other methods. It allows us to break down the integral into smaller parts and make it more manageable.

How do you determine which function to choose as u and which as dv?

There is no specific rule for choosing u and dv, but there are some guidelines you can follow. Generally, u should be a function that becomes simpler when differentiated, while dv should be a function that becomes simpler when integrated. It may also be helpful to choose u as the function that appears earlier in the acronym "LIATE," which stands for logarithmic, inverse trigonometric, algebraic, trigonometric, and exponential functions.

What is the formula for integrating by parts when the limits of integration are 0 and -1?

The formula for integrating by parts with limits of integration 0 and -1 is: ∫0^-1 udv = uv∣0^-1 - ∫0^-1 vdu. This means that after applying the formula, you will need to evaluate the resulting expression at the limits of integration.

Can you give an example of integrating by parts with the equation 0 = -1?

Yes, for example, if the equation is ∫0^-1 xe^xdx = -1, we can use integration by parts with u = x and dv = e^x dx. This gives us du = dx and v = e^x, so the formula becomes xe^x∣0^-1 - ∫0^-1 e^x dx. Evaluating at the limits of integration and integrating the remaining integral gives us (-1)e^-1 - (0)e^0 + e^-1 = -e^-1 + 1. Therefore, the final answer is -e^-1 + 1 = -0.6321 + 1 = 0.3679.

Similar threads

Back
Top