Losing a solution of a 1st order ODE?

  • Context: Graduate 
  • Thread starter Thread starter misogynisticfeminist
  • Start date Start date
  • Tags Tags
    Ode
Click For Summary
SUMMARY

The discussion revolves around solving the initial value problem (IVP) for the first-order ordinary differential equation (ODE) given by y' = y² - 4 with the initial condition y(0) = -2. The solution process involves separation of variables, leading to the general solution y = 2(1 + ce^(4t))/(1 - ce^(4t)). However, the initial condition leads to an illogical equation, -1 = 1, indicating that y = -2 is not a valid solution. The participants clarify that the values y = ±2 must be excluded from consideration as they lead to division by zero during the separation process.

PREREQUISITES
  • Understanding of first-order ordinary differential equations (ODEs)
  • Familiarity with separation of variables technique
  • Knowledge of initial value problems (IVPs)
  • Basic logarithmic and exponential functions
NEXT STEPS
  • Study the method of separation of variables in greater detail
  • Learn about the implications of initial conditions in ODEs
  • Explore the concept of singular solutions in differential equations
  • Investigate the behavior of solutions near critical points in ODEs
USEFUL FOR

Mathematics students, educators, and anyone involved in solving or teaching first-order ordinary differential equations, particularly those interested in initial value problems and solution validity.

misogynisticfeminist
Messages
370
Reaction score
0
There is an example in a book regarding DEs which I do not understand. Solve the IVP

y'=y^2-4, y(0)=-2where t is the independent variable

We first solve by separation of variables to arrive at the 1-parameter solution.

-\frac{1}{4}ln (y+2)+\frac{1}{4}ln (y-2)=t+c

Simplifying and expressing the solution explicitly, we find that,

y=2\frac{1+ce^{4t}}{1-ce^{4t}}

Taking the initial condition,

-2=2\frac{1+c}{1-c} which simplifies to,

-1=1.

They said that the solution is wrong because:

we can express the DE as, y'=(y+2)(y-2) and that the when y=-2, and y=2 satisfies this equation (what does it mean?). How do we "preclude" y=-2 and y=-2 before solving starting to solve the DE?
 
Last edited:
Physics news on Phys.org
Your initial condition y(0)=2 seems to imply that c = 0, not -1=1?
You can preclude y=-2 simply by noticing that it fails to satisfy the initial condition.
 
sorry, my initial condition is y(0)=-2. Do we ignore y=-2 because firstly, it doesn't tell us the value of c, and it gives us the illogical -1=1?

Also, do we use the other alternative y=2 because it is the other "alternative" in y'=(y+2)(y-2)? If it is so, why?
 
Last edited:
The "separable", non-constant solutions involve a division of both sides of the equation with the expression y^{2}-4
But, since you can't divide by zero, you have implicitly assumed that y\neq\pm2

In addition to the non-constant solutions, you've got the constant solutions y_{1}(t)=2,y_{2}(t)=-2
 
Last edited:
y(0)=-2 is not a valid initial condition.When separating variables YOU ASUMED y\neq 2;y\neq -2 Trying to impose the initial condition to

\frac{y-2}{y+2}=Ce^{4t}

fails...

Daniel.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K