Finding Solutions for Coupled ODEs with Constant Parameters

In summary: FG' ...0 0 0 1 G H' ...α^2*b^2 0 0 Ra/b HI' ...0 α^2*b^2-Ra b 0 IIn summary, the conversation discusses a system of two coupled ODEs with the variables F and G dependent on z, a constant b, and a Rayleigh number Ra. Two methods for solving the system are suggested - introducing dummy variables and rewriting as a matrix equation - but the solution is not found. The possibility of the solution involving hyperbolic functions is also mentioned. One
  • #1
Bianca123
10
0
Hello :)I have a system which consists of two coupled ODEs for which I want to solve.F'' *(1/b²) - α²*F = Ra*(1/b³)*G

G'' *(1/b²) - α*²G + Ra*(1/b²)*G = F'(1/b)
In these two equations F(z) and G(z) both depend on z. b is a constant, Ra is the rayleigh number which I need to keep as Ra in my answere.

I suspect that my answere for the expressions of F and G will be expressions including hyperbolic functions, but have not managed to find it!

Does anybody have an idea?:)Bianca
 
Last edited:
Physics news on Phys.org
  • #2
Bianca123 said:
F'' *(1/b²) - α²*F = Ra*(1/b³)*G

G'' *(1/b²) - α*²G + Ra*(1/b²)*G = F'(1/b)
Please check the equations. Especially a*2G (should it be a2*G) and F'(1/b) (should it be F'*(1/b)).
 
  • #3
If I multiply by [itex]b^2[/itex], is it then this system below?
[itex]F^{''}-a^2b^2F=\frac{Ra}{b}G[/itex]
[itex]G^{''}-(a^2b^2-Ra)G=bF'[/itex]
 
  • #4
There are 2 ways to solve this. First you can introduce dummy variables [itex]F'=H [/itex] and [itex]G'=I [/itex]. This will allow you to covert the system of 2 2nd order ODES into a system of 4 first order ODEs. If you know how to solve systems of ODE's, then you can write this as a martix equations of the form [itex]Ax=0[/itex] and the eigenvalues/eigenvectors of [itex] A[/itex] give you the solution.

If you don't know what I'm talking about that's okay. Treat the first equation as a defination for [itex]G [/itex] .You can differentiate it two times to get a defination for [itex]G'' [/itex]. Substitute these two definitions into the second equation and it will give you a forth order ODE for [itex] F [/itex] (there we be no terms that depend on [itex]G [/itex]). The coefficients are all constants, and its straight forward to solve. Once you know [itex]F [/itex] you can use the first equation to find [itex]G [/itex].
 
  • #5
Svein: Yes, what you suggested is correct

Bigfooted: Yes it is the system then

The_wolfman: I have tried your solutions but cannot solve it that way. I have read some other similar papers where their soulution to both F and G are functions of sinh and cosh, but I cannot seem to find such a solution to my system, eventhough I suspect that it excist!
 
  • #6
Can you show some work? Which method did you use? I listed 2 different methods. It's impossible to provide feedback if you don't tell us what you did.

Hyperbolic trig functions are nothing more than the sum and difference of exponentials. If your solution is composed of multiple exponential functions then its possible that you have the correct answer.
 
  • #7
Bianca: I have used the_wolfman's suggestions and rewritten the second order system to a system of first order equations of the form Ix' = Ax, and this system can be solved in terms of exponential functions. Maybe you can show us your system of first order ODE's, preferably in Latex format?
 
  • #8
So my system is

F'' - (α^2 * b^2 * F ) = (Ra / b)*G'
G'' - (α^2 * b^2 +Ra)*G = F'*bIf I say that F'=H and G'=I, I have the following system:

F'=H
G'=I
H' - α^2*b^2*F = (Ra/b)*I
I' - (α^2*b^2 - Ra)*G =b*HIf I write my system as a matrix looking like: x'=Ax, I have:

F' 0 0 1 0 F
G' = 0 0 0 1 G
H' α^2*b^2 0 0 Ra/b H
I' 0 α^2*b^2-Ra b 0 I

(I do not know how to make this look pretty in this reply, but this is suppose to look like x'=Ax, where x= [F,G,H,I] )

If I try to solve this by finding eigenalues and eigenvectors, I find that λ1/λ2= +/- ( √(α^2*b^2 + α*b*Ra)) and λ3/λ4= +/- ( √(α^2*b^2 - α*b*Ra)). None f these eigenvalues give any reasonable eigenvectors other than v1=v2=v3=v4=0, which is not the solution I am looking for. Does this mean that the only solution to this is the zero solution?

Thank you all for your replies:)
 
  • #9
Bianca123 said:
So my system is

F'' - (α^2 * b^2 * F ) = (Ra / b)*G'
G'' - (α^2 * b^2 +Ra)*G = F'*bIf I say that F'=H and G'=I, I have the following system:

F'=H
G'=I
H' - α^2*b^2*F = (Ra/b)*I
I' - (α^2*b^2 - Ra)*G =b*HIf I write my system as a matrix looking like: x'=Ax, I have:

F' 0 0 1 0 F
G' = 0 0 0 1 G
H' α^2*b^2 0 0 Ra/b H
I' 0 α^2*b^2-Ra b 0 I

(I do not know how to make this look pretty in this reply, but this is suppose to look like x'=Ax, where x= [F,G,H,I] )

If I try to solve this by finding eigenalues and eigenvectors, I find that λ1/λ2= +/- ( √(α^2*b^2 + α*b*Ra)) and λ3/λ4= +/- ( √(α^2*b^2 - α*b*Ra)). None f these eigenvalues give any reasonable eigenvectors other than v1=v2=v3=v4=0, which is not the solution I am looking for. Does this mean that the only solution to this is the zero solution?

Thank you all for your replies:)
 
  • #10
I see now that in my first thread I miss the derivative sign on the G, it is suppose to be (Ra/b³) *G' !
So the system I have written in my latest thread(the one over here) is the correct one!
 
  • #11
So your system is like this (If you want to see how to make this pretty, then quote this message in your reply and you will see the code):

[itex]F^{''}-a^2b^2F=\frac{Ra}{b}G'[/itex]
[itex]G^{''}-(a^2b^2-Ra)G=bF'[/itex]

You introduce new variables and your system becomes (please check):
[itex]
\begin{pmatrix}
1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1 \\
\end{pmatrix}

\begin{pmatrix}
F' \\ G' \\ H' \\ I'
\end{pmatrix}

=

\begin{pmatrix}
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1 \\
a^2b^2 & 0 & 0 & Ra/b \\
0 & (a^2b^2+Ra) & b & 0 \\
\end{pmatrix}

\begin{pmatrix}
F \\ G \\ H \\ I
\end{pmatrix}
[/itex]

computing the eigenvectors and eigenvalues gives me nonzero eigenvectors. How do you compute your eigenvectors?
 
  • #12
I have also the same as you, only not with the identity matrix on the left side( do I need this?) and with a²b²-Ra on the left bottom in the matrix. I think it is correct with minus instead of plus(like you have).
Then I get the following eigenvalues and eigenvectors:Squareroot= SQ

λ1=SQ(α²*b² + α*b*SQ(Ra))
V1=1
λ1*(αb²SQ(Ra)-bRa)/(α²b²-bRa)
λ1
αb²SQ(Ra)/Ra

λ2=SQ(α²*b² - α*b*SQ(Ra))
V2=1
-λ2*(αb²SQ(Ra)+bRa)/(α²b²-bRa)
λ2
-αb²SQ(Ra)/Ra

λ3=-SQ(α²*b² + α*b*SQ(Ra))
V3=1
λ3*(αb²SQ(Ra)-bRa)/(α²b²-bRa)
λ3
αb²SQ(Ra)/Ra

λ4=-SQ(α²*b² - α*b*SQ(Ra))
V4=1
-λ4*(αb²SQ(Ra)+bRa)/(α²b²-bRa)
λ4
-αb²SQ(Ra)/RaThis gives me that F and G is as follows:

F=C1*e^(SQ(α²*b² + α*b*SQ(Ra))*z + C2*e^(SQ(α²*b² - α*b*SQ(Ra))*z + C3*e^-(SQ(α²*b² + α*b*SQ(Ra))*z + C4*e^-(SQ(α²*b² - α*b*SQ(Ra))*z G=[C1*SQ(α²b²+αbSQ(Ra))*(αb²SQ(Ra)-bRa)*e^(SQ(α²*b² + α*b*SQ(Ra))*z ]/[(α²b²-R)*R]
-[C2*SQ(α²b²-αbSQ(Ra))*(αb²SQ(Ra)+bRa)*e^(SQ(α²*b² - α*b*SQ(Ra))*z ]/[(α²b²-R)*R]
-[C3*SQ(α²b²+αbSQ(Ra))*(αb²SQ(Ra)-bRa)*e^-(SQ(α²*b² + α*b*SQ(Ra))*z ]/[(α²b²-R)*R]
+[C4*SQ(α²b²-αbSQ(Ra))*(αb²SQ(Ra)+bRa)*e^-(SQ(α²*b² - α*b*SQ(Ra))*z ]/[(α²b²-R)*R]I have tried to put these two into my first two coupled ODE's and it works. But I think they (F and G) looks very messy! Does anyone see how one can write this in another way, for example in hyperbolic functions? Thanks:)
 
Last edited:
  • #13
I think you can only write this in a more compact form if you substitute the boundary conditions. Or you keep using [itex]\lambda[/itex], as in [itex]F=c_i e^{\lambda_i z}[/itex], where repeated index means summation.
 
  • #14
Okay, thank you for replies:D
 

1. What are coupled ODEs?

Coupled ODEs, or coupled ordinary differential equations, are a set of two or more differential equations that are interdependent and cannot be solved separately. This means that the solution of one equation depends on the solution of the other(s).

2. What are the applications of coupled ODEs?

Coupled ODEs are commonly used in mathematical modeling of physical systems, such as chemical reactions, population dynamics, and mechanical systems. They are also used in fields such as economics and neuroscience.

3. How do you solve coupled ODEs?

There are various methods for solving coupled ODEs, including analytical methods such as separation of variables and numerical methods such as Euler's method and Runge-Kutta methods. The chosen method depends on the complexity of the equations and the desired level of accuracy.

4. What are the challenges of solving coupled ODEs?

One of the main challenges of solving coupled ODEs is that the equations are interdependent, making it difficult to find a closed-form solution. Another challenge is the potential for instability and numerical errors in certain numerical methods.

5. Are there any real-life examples of coupled ODEs?

Yes, coupled ODEs can be found in many real-life systems. For example, the Lotka-Volterra equations, which model the predator-prey relationship in ecosystems, are a set of coupled ODEs. Another example is the Lorenz system, which is used to model weather patterns and chaotic systems.

Similar threads

Replies
28
Views
2K
  • Differential Equations
Replies
6
Views
1K
Replies
6
Views
2K
  • Differential Equations
Replies
1
Views
983
  • Differential Equations
Replies
1
Views
5K
Replies
1
Views
2K
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
3
Views
2K
  • Differential Equations
Replies
1
Views
2K
  • Differential Equations
Replies
7
Views
2K
Back
Top