Need Help with Integration for Solving ODE

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
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