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

In summary, the conversation discusses a method for solving ODEs by comparing the numerators and denominators to obtain a system of equations for x and y. This method leads to a very implicit solution and may not always lead to an analytical solution. However, it can be used in cases of linear G(x,y) and H(x,y) and can be checked using a numerical solution.
  • #1
tjackson3
150
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
  • #2
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.
 
  • #3
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.
 
  • #4
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.
 
  • #5
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 ?
 
  • #6
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: 432
  • #7
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 consistant numerical results for the ODE and for the ODE system comming from it.
Nevertheless, it was interesting to practically compare the numerical methods.
 
  • #8
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.
 

1. What is a first order ODE in fractional form?

A first order ODE (ordinary differential equation) in fractional form is an equation that involves the derivative of a function with a fractional power. This means that the equation contains a fractional order derivative, such as a half-order or a third-order derivative.

2. How does one solve a first order ODE in fractional form?

First order ODEs in fractional form can be solved using various methods, such as the Laplace transform method, the Grunwald-Letnikov method, or the fractional Euler method. Each method has its own advantages and limitations, and the choice of method depends on the specific equation and its properties.

3. Is solving first order ODEs in fractional form a legitimate approach?

Yes, solving first order ODEs in fractional form is a legitimate approach. Fractional calculus, which deals with derivatives and integrals of non-integer orders, has been used in various fields of science and engineering to model complex systems. Many real-world phenomena, such as viscoelasticity and diffusion, can be better described using fractional order derivatives.

4. What are the advantages of using fractional calculus for first order ODEs?

Fractional calculus allows for a more accurate and realistic representation of many physical systems. It can also provide a better understanding of complex systems, as well as offer new insights and solutions to problems that cannot be solved using traditional integer-order calculus.

5. Are there any challenges or limitations to using fractional calculus for first order ODEs?

One of the main challenges of using fractional calculus for first order ODEs is the lack of standard methods and techniques. As the field is still relatively new, there is ongoing research to develop more efficient and accurate methods for solving these equations. Additionally, the interpretation and physical meaning of fractional order derivatives are still being studied and debated.

Similar threads

Replies
3
Views
791
  • Differential Equations
Replies
16
Views
894
Replies
7
Views
2K
Replies
28
Views
2K
  • Differential Equations
Replies
5
Views
1K
  • Differential Equations
Replies
9
Views
2K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
2
Views
988
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
7
Views
2K
Back
Top