Losing a solution of a 1st order ODE?

  • Thread starter misogynisticfeminist
  • Start date
  • Tags
    Ode
In summary, the conversation discusses solving a differential equation using separation of variables and finding the 1-parameter solution. The conversation also addresses the issue of initial conditions and how to preclude certain values of y before solving the equation. It is mentioned that the constant solutions y=2 and y=-2 are not valid initial conditions.
  • #1
misogynisticfeminist
370
0
There is an example in a book regarding DEs which I do not understand. Solve the IVP

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

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

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

Simplifying and expressing the solution explicitly, we find that,

[tex] y=2\frac{1+ce^{4t}}{1-ce^{4t}} [/tex]

Taking the initial condition,

[tex] -2=2\frac{1+c}{1-c} [/tex] which simplifies to,

-1=1.

They said that the solution is wrong because:

we can express the DE as, [tex] y'=(y+2)(y-2) [/tex] 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
  • #2
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.
 
  • #3
sorry, my initial condition is [tex] y(0)=-2[/tex]. Do we ignore [tex]y=-2[/tex] because firstly, it doesn't tell us the value of c, and it gives us the illogical [tex]-1=1[/tex]?

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

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

[tex] \frac{y-2}{y+2}=Ce^{4t} [/tex]

fails...

Daniel.
 

Related to Losing a solution of a 1st order ODE?

1. What is a first order ODE?

A first order ODE (ordinary differential equation) is a mathematical equation that involves an unknown function and its first derivative with respect to the independent variable. It is commonly used to model various physical phenomena in fields such as physics, engineering, and biology.

2. How do you lose a solution of a first order ODE?

There are several ways that a solution of a first order ODE can be lost. Some common reasons include errors in the initial conditions or boundary conditions, incorrect assumptions or simplifications made during the solving process, and numerical errors in the solution method used.

3. Can a solution of a first order ODE be lost even if the equation is correct?

Yes, a solution of a first order ODE can still be lost even if the equation is correct. This can happen if there are errors or inaccuracies in the initial or boundary conditions, or if there are mistakes made during the solving process.

4. How can you prevent losing a solution of a first order ODE?

To prevent losing a solution of a first order ODE, it is important to double check all initial and boundary conditions, as well as any simplifications or assumptions made during the solving process. It is also helpful to use multiple solution methods and compare the results to ensure accuracy.

5. What should you do if you lose a solution of a first order ODE?

If you lose a solution of a first order ODE, it is important to carefully review all steps taken in the solving process to identify any errors or mistakes. You may also want to try using a different solution method or checking your initial and boundary conditions. If you are unable to find the error, it may be helpful to seek advice from a colleague or consult with a more experienced scientist or mathematician.

Similar threads

  • Differential Equations
Replies
16
Views
954
Replies
3
Views
853
  • Differential Equations
Replies
5
Views
1K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
2
Views
2K
  • Differential Equations
Replies
1
Views
812
  • Differential Equations
2
Replies
52
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
403
Replies
4
Views
1K
Back
Top