Need Help with Integration for Solving ODE

Click For Summary
The discussion focuses on solving the ordinary differential equation (ODE) dy/dx = y^2 - 1 with the initial condition y(0) = 3. The user attempts to separate variables and integrate, specifically seeking help with the integral ∫(dy/(y^2-1)). Guidance is provided on using partial fractions to simplify the integration process, suggesting the factorization of y^2 - 1. The user later confirms they found the answer, noting a similar integral in another problem. The conversation effectively highlights techniques for integrating rational functions in ODEs.
The-Mad-Lisper
Messages
12
Reaction score
1

Homework Statement


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

Homework Equations


\frac{dy}{dx}=f(y) \leftrightarrow \frac{dx}{dy}=\frac{1}{f(y)}

The Attempt at a Solution


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

Homework Statement


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

Homework Equations


\frac{dy}{dx}=f(y) \leftrightarrow \frac{dx}{dy}=\frac{1}{f(y)}

The Attempt at a Solution


\frac{dx}{dy}=\frac{1}{y^2-1}
dx=\frac{dy}{y^2-1}
\int dx=\int \frac{dy}{y^2-1}+C
x=\int \frac{dy}{y^2-1}+C
How do I integrate \int \frac{dy}{y^2-1}?
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 Buzz Bloom
First, I tried to show that ##f_n## converges uniformly on ##[0,2\pi]##, which is true since ##f_n \rightarrow 0## for ##n \rightarrow \infty## and ##\sigma_n=\mathrm{sup}\left| \frac{\sin\left(\frac{n^2}{n+\frac 15}x\right)}{n^{x^2-3x+3}} \right| \leq \frac{1}{|n^{x^2-3x+3}|} \leq \frac{1}{n^{\frac 34}}\rightarrow 0##. I can't use neither Leibnitz's test nor Abel's test. For Dirichlet's test I would need to show, that ##\sin\left(\frac{n^2}{n+\frac 15}x \right)## has partialy bounded sums...