Help Understanding Integral with Partial Fractions

Click For Summary

Discussion Overview

The discussion revolves around understanding the evaluation of an integral using partial fractions, specifically the integral ∫2/(u^2-1)du. Participants explore the steps taken to solve the integral and the discrepancies observed when comparing results with a computational tool.

Discussion Character

  • Exploratory
  • Mathematical reasoning

Main Points Raised

  • One participant presents their method of solving the integral using partial fractions and expresses confusion over differing results from Mathematica.
  • Another participant notes that the two forms of the logarithmic answer are equivalent, differing only by a constant, which can be incorporated into the constant of integration.
  • It is mentioned that the constant can be complex, and this complexity can be addressed by using absolute values to avoid undefined expressions.
  • Participants discuss the necessity of different constants in different ranges of the variable.

Areas of Agreement / Disagreement

Participants generally agree that both answers are correct as they differ by a constant, but there is some uncertainty regarding the nature of the constant and its implications.

Contextual Notes

There is a mention of the potential complexity of the constant of integration and the use of absolute values, but these aspects remain unresolved in terms of their broader implications.

Airsteve0
Messages
80
Reaction score
0
Hey everyone, I was wondering if someone could help me understand what exactly is happening with a certain integral I am working with, which is as follows:

∫2/(u^2-1)du

My steps are as follows (I used partial fractions):

∫(1/(u-1) - 1/(u+1))du = ∫1/(u-1)du - ∫1/(u+1) = ln[(u-1)/(u+1)]

However, here is where my issue arrises; when checking my answer with Mathematica, if I input the very first line above I get:

ln[(1-u)/(1+u)]

Could someone help me understand if it is my method that is flawed or maybe the way I am inputting it into the program when I check my answer. Any assistance is greatly appreciated, thanks!
 
Physics news on Phys.org
ln[(u-1)/(u+1)] = ln[(-1 +u)/(1+u)] = ln[(-1)(1-u)/(1+u)] =ln(-1) + ln[(1-u)/(1+u)] .

Since the integral is indefinite, there must be a constant of integration. The ln(-1) can be incorporated in this constant.

So if you add a constant to your solution, your answer and that given by Matematica will be equivalent.
 
Both answers are correct as they differ by a constant.
 
o ok so the constant can be complex in general then?
 
Yes the constant would be complex. To avoid dealing with this often absolute values are used since otherwise the function would be undefined. In fact different constants are needed in different ranges.
 
thank you very much for the clarification and assistance!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 6 ·
Replies
6
Views
1K