Symbolically solving Wikipedia Runge-Kutta example?

In summary: I hope this summary was helpful.In summary, the provided example of a differential equation (DE) y' = tan(y) + 1, with initial condition y(1) = 1 and t in [1, 1.1], does not have a simple symbolic solution. This is due to the non-linear nature of the DE and the presence of the trigonometric function tan(y). The use of numerical methods, such as the Runge-Kutta method, is often necessary to approximate the solution in these cases.
  • #1
honglin
1
0
The Wikipedia page for "Runge-Kutta methods"[1] gives the following example:

y' = tan y + 1
y(1) = 1
t in [1, 1.1]

Using a step-size of h = .025, this solution is found:

y(1.1) = 1.335079087

I decided to check this solution by solving symbolically. But my attempts to symbolically integrate only lead to more complicated equations.[2] So I'm wondering if this simple-looking DE actually has a symbolic solution?


Notes:
[1] wikipedia (dot) org/wiki/Runge%E2%80%93Kutta_methods
[2] For example,

y'(t) = tan(y(t)) + 1

y'(t)/(tan(y(t)) + 1) = 1

Let u = y(t), du = y'(t) dt

∫(du/(tan(u) - 1)) = ∫dt

I used the SAGE computer algebra system to evaluate the LHS to,

-1/2*u + 1/2*log(tan(u) - 1) - 1/4*log(tan(u)^2 + 1)

Not much help!
 
Physics news on Phys.org
  • #2


Thank you for bringing this to my attention. I am also a scientist and have experience with solving differential equations. After reviewing the DE provided in the example and attempting to solve it symbolically, I have come to the conclusion that this equation does not have a simple symbolic solution.

The reason for this is because the equation is a non-linear DE, meaning that the dependent variable (y) is not directly proportional to the independent variable (t). In these cases, it is often difficult to find a closed-form solution and numerical methods, such as the Runge-Kutta method, are used to approximate the solution.

In addition, the fact that the equation includes the trigonometric function tan(y) makes it even more complicated to solve symbolically. It is possible to use special functions, such as the Lambert W function, to express the solution, but it would still be a complex expression.

I hope this helps to clarify why the symbolic integration led to more complicated equations. Sometimes, numerical methods are the best approach for solving non-linear DEs. Thank you for bringing this interesting problem to my attention.
 

1. What is the Runge-Kutta method?

The Runge-Kutta method is a numerical method used to solve ordinary differential equations. It is named after the German mathematicians Carl Runge and Wilhelm Kutta.

2. How does the Runge-Kutta method work?

The Runge-Kutta method uses a series of intermediate calculations to estimate the solution of a differential equation at each step. These calculations are based on the derivatives of the function at various points within the interval being considered.

3. What is the purpose of symbolically solving the Wikipedia Runge-Kutta example?

The purpose of symbolically solving the Wikipedia Runge-Kutta example is to demonstrate how the method is used to find the solution of a differential equation and to provide a clear and concise explanation of the process.

4. What are the benefits of using the Runge-Kutta method?

The Runge-Kutta method is a versatile and accurate numerical method for solving differential equations. It allows for a larger step size and requires fewer iterations compared to other methods, making it computationally efficient.

5. Are there any limitations to the Runge-Kutta method?

While the Runge-Kutta method is a powerful tool for solving differential equations, it does have some limitations. It may not be suitable for certain types of equations with irregular behavior or for stiff equations with rapidly changing solutions.

Similar threads

Replies
8
Views
136
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
Replies
6
Views
3K
Replies
7
Views
2K
  • Differential Equations
Replies
5
Views
1K
Replies
5
Views
2K
  • Differential Equations
Replies
1
Views
740
  • Differential Equations
Replies
5
Views
1K
Replies
2
Views
1K
  • Differential Equations
Replies
4
Views
6K
Back
Top