Is partial fraction wrong way to go?

  • Thread starter Thread starter m3cklo
  • Start date Start date
  • Tags Tags
    Fraction Partial
m3cklo
Messages
2
Reaction score
0

Homework Statement


Solve the separable equation

Homework Equations


dy/dx = 1-y^2

The Attempt at a Solution


dy/dx = 1-y^2

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

[Partial fraction]
A/(1-y) + B/(1+y) = 1/(1-y^2)

A + Ay + B - By = 1
y^1: A - B = 0
y^0: A + B = 1
=> A=B=1/2 =>

(1/2)/(1-y) dy + (1/2)/(1+y) dy = dx

ln|1-y| + ln |1+y| = 2x + C

ln|1-y^2| = 2x + C

1-y^2 = De^(2x)

y = sqrt(1 - De^(2x))

This answer is wrong according to two different books (without explanation) that i have. The correct answer should be
y = (De^(2x) - 1)/(De^(2x) + 1)Is partial fraction wrong way to go?
Have I made a wrong turn along the way with the algebra?
I do have big problems when i comes to solve nonlinear integrals, a tip along the way would be very appreciated!
 
Physics news on Phys.org
m3cklo said:
(1/2)/(1-y) dy + (1/2)/(1+y) dy = dx

ln|1-y| + ln |1+y| = 2x + C

Check the second step.
 
Of course!

So obvious now, thanks a lot!
 
Minus signs are your friends.
 
Dun like partial fractions?? Nevermind...

Hi m3cklo,

If u dun want to break the integral into partial fractions, u can use a trigo substitution instead. Let y = sin t. Then, dy = cos t dt. Simplify using the substitution. U should get sec t as the integral. Integrate it and u get ln (sec t + tan t). Convert the result back to y. U should get the same answer as the one using partial fractions.

Hope that helps.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top