Integrating 1/(y²-1) for separable ODE

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 1K views
The-Mad-Lisper
Messages
12
Reaction score
1

Homework Statement


[tex]\frac{dy}{dx}=y^2-1[/tex]
[tex]y(0)=3[/tex]

Homework Equations


[tex]\frac{dy}{dx}=f(y) \leftrightarrow \frac{dx}{dy}=\frac{1}{f(y)}[/tex]

The Attempt at a Solution


[tex]\frac{dx}{dy}=\frac{1}{y^2-1}[/tex]
[tex]dx=\frac{dy}{y^2-1}[/tex]
[tex]\int dx=\int \frac{dy}{y^2-1}+C[/tex]
[tex]x=\int \frac{dy}{y^2-1}+C[/tex]
How do I integrate [itex]\int \frac{dy}{y^2-1}[/itex]?
 
Physics news on Phys.org
The-Mad-Lisper said:

Homework Statement


[tex]\frac{dy}{dx}=y^2-1[/tex]
[tex]y(0)=3[/tex]

Homework Equations


[tex]\frac{dy}{dx}=f(y) \leftrightarrow \frac{dx}{dy}=\frac{1}{f(y)}[/tex]

The Attempt at a Solution


[tex]\frac{dx}{dy}=\frac{1}{y^2-1}[/tex]
[tex]dx=\frac{dy}{y^2-1}[/tex]
[tex]\int dx=\int \frac{dy}{y^2-1}+C[/tex]
[tex]x=\int \frac{dy}{y^2-1}+C[/tex]
How do I integrate [itex]\int \frac{dy}{y^2-1}[/itex]?
Partial fractions. See https://www.physicsforums.com/insights/partial-fractions-decomposition/ if you are uncertain about this technique.
 
Hi Mad:

I will give you a hint. think about factoring y2-1 = f1(y) × f2(y).
Then think about finding A and B such that 1/(f1 × f2) = A/f1 + B/f2.

Hope this helps.

Regards,
Buzz
 
Thanks, I got the answer.
 
  • Like
Likes   Reactions: Buzz Bloom