Is this a legitimate method for solving first order ODEs in fractional form?

Click For Summary

Discussion Overview

The discussion revolves around the legitimacy of a proposed method for solving first-order ordinary differential equations (ODEs) in fractional form. Participants explore the implications of transforming ODEs into a system of equations by introducing a third variable, t, and applying the chain rule. The scope includes theoretical considerations and examples of specific differential equations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant describes a method for solving ODEs by parametrizing x and y with a third variable t and applying the chain rule, leading to a system of equations.
  • Another participant agrees that the method is common but does not verify the accuracy of the work presented.
  • Some participants express skepticism about the method's effectiveness for nonlinear functions G(x,y) and H(x,y), suggesting it may lead to partial differential equations (PDEs) that are more complex to solve.
  • A participant presents a specific example of a nonlinear ODE and argues that transforming it into a system of equations is valid, although they acknowledge the analytical difficulty remains.
  • There is a discussion about the distinction between analytical and numerical solutions, with one participant emphasizing that numerical solutions may yield consistent results but do not equate to analytical solutions.
  • Another participant notes that the coupled system created by introducing t complicates the solution process and suggests that typically one would aim to reduce the system to a single ODE.
  • One participant mentions that the first example problem has a solution involving the Lambert W function, indicating the complexity of the solutions involved.
  • There is a suggestion to classify the ODEs to determine the appropriate solving strategy, including advanced methods like Lie's method of symmetry analysis.

Areas of Agreement / Disagreement

Participants express differing views on the validity and effectiveness of the proposed method for solving ODEs. While some acknowledge the method as legitimate, others raise concerns about its applicability to nonlinear cases and the potential for leading to more complex equations. The discussion remains unresolved regarding the overall effectiveness of the method.

Contextual Notes

Participants highlight limitations in the method's applicability, particularly for nonlinear functions, and the potential for resulting equations to be more complex than the original ODE. There is also a distinction made between analytical and numerical solutions, with emphasis on the challenges of obtaining analytical results.

tjackson3
Messages
140
Reaction score
0
Suppose we have some ODE given by [itex]y' = G(x,y)/H(x,y)[/itex]. Let x and y depend on a third variable, t, so that x and y are parametrized in a way. Then applying the chain rule to y' gives

[tex]\frac{dy}{dx} = \frac{\frac{dy}{dt}}{\frac{dx}{dt}} = \frac{G(x,y)}{H(x,y)}[/tex]

Then comparing the numerators and denominators gives a system of equations for x and y: [itex]dy/dt = G(x,y); dx/dt = H(x,y).[/itex] Then you can solve this system of equations for x and y to get a very, very implicit solution to the problem.

An example for this method is the following differential equation:

[tex]y' = \frac{x+3y-5}{x-y-1}[/tex]

If the constants weren't there, this equation would be homogeneous. However, with them, the method I described above can be implemented. One would then need to solve the system

[tex]\vec{y}' = \left( \begin{array}{cc} 1 & 3 \\ 1 & -1 \end{array} \right)]\vec{y} - \left( \begin{array}{c}5 \\ 1 \end{array} \right)[/tex]

where [itex]\vec{y} = (y, x)^T[/itex]. Solving this system gives [itex]y(t) = 3c_1e^{2t} + c_2e^{-2t} - 5[/itex] and [itex]x(t) = c_1e^{2t} - c_2e^{-2t} - 1.[/itex]

This doesn't give y as a function of x unfortunately, but it does give a solution, however implicit. Is this legitimate, or is there a better method?

edit: Incidentally, you can actually get this particular solution in terms of x. Note that [itex]x(t) = 2\sinh(2t) - 1 \Rightarrow \frac{x+1}{2} = \sinh(2t) \Rightarrow t = \frac{1}{2}\sinh^{-1}\left(\frac{x+1}{2}\right)[/itex]. You can plug this into the y equation to get a horrific expression for y in terms of x, but this won't be the case in general.
 
Last edited:
Physics news on Phys.org
That's a perfectally fine and common way to do that although I didn't check your work for accuracy. Also, there is a section in the DE text "Coefficients linear in the two variables" that I think would also apply.
 
tjackson3 said:
Then comparing the numerators and denominators gives a system of equations for x and y: [itex]dy/dt = G(x,y); dx/dt = H(x,y).[/itex] Then you can solve this system of equations for x and y to get a very, very implicit solution to the problem.
Infortunately, I don't think so, except in case of linear G(x,y) and H(x,y)
In the general case, this will probably lead to PDE, more comlplicated to solve than the ODE.
Did you try some examples of non-linear G(x,y) or H(x,y) ?

In case of linear G(x,y) and H(x,y), you write:
If the constants weren't there, this equation would be homogeneous.
The constants are very easily eliminated thanks to a change of variables. In fact, the relationship between (x,y) and the new vatiables is the same matrix than your matrix. So, both methods are equivalent.
 
JJacquelin said:
Infortunately, I don't think so, except in case of linear G(x,y) and H(x,y)
In the general case, this will probably lead to PDE, more comlplicated to solve than the ODE.

Alright, I realize you know more about DEs than me Jacquelin but I'd have to disagree with that. Suppose I have for example:

[tex]\frac{dy}{dx}=\frac{2x^2y^2-4y^3}{y-y^2x^2}[/tex]

then I see nothing wrong with instead solving the system:

[tex]\frac{dy}{dt}=2x^2y^2-4y^3[/tex]
[tex]\frac{dx}{dt}=y-y^2x^2[/tex]

although it's just as hard probably to do so analytically.
 
jackmell said:
Alright, I realize you know more about DEs than me Jacquelin but I'd have to disagree with that. Suppose I have for example:

[tex]\frac{dy}{dx}=\frac{2x^2y^2-4y^3}{y-y^2x^2}[/tex]

then I see nothing wrong with instead solving the system:

[tex]\frac{dy}{dt}=2x^2y^2-4y^3[/tex]
[tex]\frac{dx}{dt}=y-y^2x^2[/tex]

although it's just as hard probably to do so analytically.

I never pretend to know more about DE's than anybody.
Simply, I observe that there are many manner to transform an ODE. But is there one of them leading to the solution ? That is the question.
As long as the solution is not really obtained...
Of course, there is nothing wrong with the method proposed. But, except in some particular cases, does it actually leads to the solution ?
In your exemple of non linear H(x,y and G(x,y), does it actually leads to the solution ?
 
JJacquelin said:
In your exemple of non linear H(x,y and G(x,y), does it actually leads to the solution ?

You're right. I should have checked it first. Told you. So I ran an IVP of the DE first in terms of dy/dx then ran the same IVP in terms of the system {dy/dt, dx/dt} and then superimposed the two results. At least visually, they are the same solution.

Code:
mysol1 = NDSolve[{Derivative[1][y][x] == 
     (2*x^2*y[x]^2 - 4*y[x]^2)/(y[x] - y[x]^2*x^2), 
    y[0] == 1}, y, {x, 0, 0.8}]
p1 = Plot[y[x] /. mysol1, {x, 0, 8}, 
   PlotRange -> {{0, 1}, {0, 1}}, PlotStyle -> Red]
mysol = NDSolve[{Derivative[1][y][t] == 
     2*x[t]^2*y[t]^2 - 4*y[t]^2, 
    Derivative[1][x][t] == y[t] - y[t]^2*x[t]^2, 
    y[0] == 1, x[0] == 0}, {x, y}, {t, 0, 10}]
p2 = ParametricPlot[{x[t], y[t]} /. mysol, 
   {t, 0, 10}, PlotStyle -> Blue, 
   PlotRange -> {{0, 1}, {0, 1}}]
Show[{p1, p2}]

Probably though I figure that's not what you're talking about but you did say "solution" so numerical solution in my opinion would indeed qualify.
 

Attachments

  • decheck.jpg
    decheck.jpg
    5.7 KB · Views: 508
jackmell said:
Probably though I figure that's not what you're talking about but you did say "solution" so numerical solution in my opinion would indeed qualify.
In my preceeding post, "solution" means "analytical solution". but not numerical solution.
Now, if we look for numerical solution, it is clear that the result is the same for the first ODE and for any other ODE or ODE system which are odtained by a transformation of the first (as far as the transformation is bi-uniform and correctly made).
So it is not a surprise that you obtain consistent numerical results for the ODE and for the ODE system coming from it.
Nevertheless, it was interesting to practically compare the numerical methods.
 
You add an independent variable to y(x), which now becomes y(x,t). the independent variable x does not vanish from y. Additionally, you also make x dependent on t: x(t)
You then end up with an ode of the form y'(x,t)=x(t) +y(x,t).

The coupled system is actually harder to solve. Usually, you work in the opposite direction. and reduce the system to a single ode. In this case, when you work back, you can eliminate t as an independent variable.

BTW, your first example problem has as solution an expression containing the Lambert W function.

In general, for (non)linear ode's you would try to find the classification of the ode (separable, homogeneous, riccati, etc.) or when this fails, use a more advanced strategy like Lie's method of symmetry analysis.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K