Partial Fractions in Differential Equations

Click For Summary

Homework Help Overview

The discussion revolves around the integration of a differential equation involving partial fractions. The original poster is working on the equation dy/dx = (y^2 - 1) / x and is attempting to integrate the resulting expressions.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to apply partial fraction decomposition to the integral of 1 / (y^2 - 1) but encounters confusion regarding the integration process and the splitting of terms. Participants question the values of constants A and B in the decomposition and discuss the implications of their findings.

Discussion Status

Participants are actively engaging with the original poster's attempts, providing feedback on the values of A and B. There is a recognition of the need to clarify the integration process and the algebra involved, with some suggesting that the logarithmic form may be easier to manipulate.

Contextual Notes

There is an indication that the original poster may have overlooked some algebraic details in their calculations, and there is a discussion about the appropriateness of the logarithmic form versus an explicit solution. The context of homework constraints is implied but not explicitly stated.

checkmatechamp
Messages
23
Reaction score
0
I'm a little rusty with partial fractions, and I can't seem to find my error once I get up to that point.

Homework Statement



dy/dx = (y^2 - 1) / x

Homework Equations




The Attempt at a Solution



Cross-mutliply

x dy = (y^2 - 1) dx

Divide by the appropriate terms

dy / (y^2 - 1) = dx / x

So I'm integrating 1 / (y^2 - 1) dy and 1/x dy

Obviously, the integral of 1/x is ln|x| + c, but I'm having trouble with integrating the y terms. This is what I did so far.

A / (y + 1) + B/ (y - 1) = 1 / (y^2 - 1)

Ay - A + By + B = 1

Combine the y terms and constant terms

A + B = 0 (Since there's no y term)
-A + B = 1

2B = 1

B = 0.5

So I integrate 0.5 / (y - 1) and get 0.5*ln|y - 1|

So that means 0.5*ln|y - 1| = 1/|x| + c

ln|y - 1| = 2/x + c

y - 1 = e^(2/x + c)

y - 1 = e^(2/x) * e^c (which is just a constant)

y = ce^(2/x) + 1

But the thing is that I checked online to find out how to integrate the y term, and found this: http://calc101.com/partial_1.html

My question is: Why does 1 / (y + 1)(y - 1) get split up into 1/(2y - 2) and 1/(2y + 2)? Also, why are they subtracting those 2 terms rather than adding them?
 
Physics news on Phys.org
You found that B = 1/2, but you forgot to find a value for A. Also notice that ##{0.5 \over (y - 1)} = {1 \over (2y - 2)}##.
 
verty said:
You found that B = 1/2, but you forgot to find a value for A. Also notice that ##{0.5 \over (y - 1)} = {1 \over (2y - 2)}##.

Wow, I guess I saw that A + B = 0, and somehow thought A was 0.

So if B is 1/2, that means A = -1/2, so I'm integrating -0.5/(y + 1) + 0.5(y - 1), which gets me -0.5*ln|y + 1| + 0.5*ln|y - 1| = ln|x| + c

Multiplying both sides by 2 gets me:

-ln|y + 1| + ln|y - 1| = 2*ln|x| + c

Raise e to both sides.

e^(1/(y + 1)) * e^(y - 1) = e^(2*ln|x| + c)

e^(1/(y + 1)) * e^(y - 1) = e^(2*ln|x|) * e^c

e^(1/(y + 1)) * e^(y - 1) = ce^(2*ln|x|)

Is it possible to get that in explicit form? Or should I divide both sides by e^(2ln|x|) and just leave it in terms of c?

Thank you very much!
 
checkmatechamp said:
Wow, I guess I saw that A + B = 0, and somehow thought A was 0.

So if B is 1/2, that means A = -1/2, so I'm integrating -0.5/(y + 1) + 0.5(y - 1), which gets me -0.5*ln|y + 1| + 0.5*ln|y - 1| = ln|x| + c

Multiplying both sides by 2 gets me:

-ln|y + 1| + ln|y - 1| = 2*ln|x| + c

Raise e to both sides.

e^(1/(y + 1)) * e^(y - 1) = e^(2*ln|x| + c)

e^(1/(y + 1)) * e^(y - 1) = e^(2*ln|x|) * e^c

e^(1/(y + 1)) * e^(y - 1) = ce^(2*ln|x|)

Is it possible to get that in explicit form? Or should I divide both sides by e^(2ln|x|) and just leave it in terms of c?

Thank you very much!

It is possible to get a closed form solution. That said, it is a little tricky.

You seemed quite eager to get rid of the logs as soon as possible, but the log form is actually easier to work with. Actually, you made a mistake in your algebra. Perhaps look over the log/exponent laws to refresh your knowledge.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
843
  • · Replies 14 ·
Replies
14
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K