Jun's question via email about Runge Kutta Scheme....

In summary, to write the given differential equation as a system of first order equations, one can let $\displaystyle y = u$ and $\displaystyle y' = v$. This leads to a system of equations with initial conditions $\displaystyle u(0) = 1$ and $\displaystyle v(0) = 0$. Using a computer algebra system can be helpful in solving this system accurately.
  • #1
Prove It
Gold Member
MHB
1,465
24
View attachment 9634

You first have to write this DE as a system of first order equations.

Note, since $\displaystyle t$ does not appear in the original DE, that means that the system will be autonomous if kept in terms of $\displaystyle t$.

Let $\displaystyle y = u$ and $\displaystyle y' = v$, then

$\displaystyle \begin{align*}
y'' + 4\left( y' \right) ^2 - 7\,y &= 0.1 \\
y'' + 4\,v^2 - 7\,u &= 0.1 \\
y'' &= 7\,u - 4\,v^2 + 0.1
\end{align*}$

Thus the system is

$\displaystyle \begin{align*} u' &= v , \quad u\left( 0 \right) = 1 \\
v' &= 7\,u - 4\,v^2 + 0.1 , \quad v\left( 0 \right) = 0 \end{align*}$

So here the system has $\displaystyle f\left( u, v \right) = v$ and $\displaystyle g\left( u, v \right) = 7\,u - 4\,v^2 + 0.1$.

I have used my CAS to work through this question.

View attachment 9635

View attachment 9636

View attachment 9637

View attachment 9638

View attachment 9639

Starting with $\displaystyle t = 0$, two steps of the scheme with stepsize $h = 0.1$ means that we are at $\displaystyle t = 0.2$, and since $\displaystyle y = u$ that means $\displaystyle y\left( 0.2 \right) = u_2 = 1.12317$.
 

Attachments

  • rks.png
    rks.png
    17.5 KB · Views: 76
  • rk1.jpg
    rk1.jpg
    23.6 KB · Views: 76
  • rk2.jpg
    rk2.jpg
    30.4 KB · Views: 74
  • rk3.jpg
    rk3.jpg
    28.2 KB · Views: 74
  • rk4.jpg
    rk4.jpg
    30.8 KB · Views: 77
  • rk5.jpg
    rk5.jpg
    25.2 KB · Views: 75
Mathematics news on Phys.org
  • #2


Great job on rewriting the given differential equation as a system of first order equations! Your approach is correct and the system you have obtained is indeed autonomous since it does not depend on $\displaystyle t$. Your use of a computer algebra system (CAS) to solve the system is also a good idea, as it can save time and reduce the chances of making errors.

One thing to note is that the initial conditions for $\displaystyle u$ and $\displaystyle v$ should be $\displaystyle u(0) = 1$ and $\displaystyle v(0) = 0$, instead of $\displaystyle u_2 = 1.12317$ as you have mentioned. This is because the initial values are given at $\displaystyle t = 0$, not $\displaystyle t = 0.2$. So, the correct initial values for $\displaystyle u$ and $\displaystyle v$ are $\displaystyle u_0 = 1$ and $\displaystyle v_0 = 0$.

Overall, your approach and solution are correct, and your use of a CAS is commendable. Great job!
 

1. What is the Runge Kutta Scheme?

The Runge Kutta Scheme is a numerical method used to solve ordinary differential equations. It is an iterative process that calculates the value of a function at a given point by using the slope of the function at multiple points.

2. How does the Runge Kutta Scheme work?

The Runge Kutta Scheme works by breaking down the differential equation into smaller steps and using the slope of the function at each step to calculate the value of the function at the next step. This process is repeated until the desired accuracy is achieved.

3. What are the advantages of using the Runge Kutta Scheme?

The Runge Kutta Scheme is a highly accurate method for solving differential equations. It is also very versatile and can be used to solve a wide range of problems. Additionally, it is relatively easy to implement and can handle stiff systems of equations.

4. Are there any limitations to the Runge Kutta Scheme?

While the Runge Kutta Scheme is a powerful tool for solving differential equations, it does have some limitations. It can be computationally expensive for large systems of equations and may not be suitable for solving equations with discontinuous or singular solutions.

5. How is the Runge Kutta Scheme different from other numerical methods?

The Runge Kutta Scheme is different from other numerical methods in that it uses multiple function evaluations at different points to calculate the slope of the function. This allows for a higher level of accuracy compared to other methods that only use one or two function evaluations. Additionally, the Runge Kutta Scheme is self-starting, meaning it does not require an initial estimate to begin the iteration process.

Similar threads

Replies
1
Views
9K
Replies
1
Views
9K
Replies
2
Views
10K
Replies
1
Views
10K
Replies
0
Views
9K
Replies
4
Views
10K
Replies
1
Views
10K
Replies
1
Views
10K
Replies
1
Views
10K
Replies
1
Views
9K
Back
Top