Intuitive understanding of the reference solution (numerical analysis)

In summary, the difference between the reference solution and the "true" solution of a set of differential equations lies in their boundary conditions. The reference solution is an exact solution but may not satisfy the same initial conditions, while the true solution is unknown. This can lead to differences in local and global error analysis. More assumptions need to be made to estimate the global error.
  • #1
jjr
51
1
Hello

I am having some trouble understanding what the difference is between the reference solution and the "true" solution of a set of certain differential equation. The book I'm working with is Numerical Analysis by Walter Gautschi. Equation 5.16 from this book is a set of first order differential equations with a set of initial conditions: [tex] \frac{d\textbf{y}}{dx} = \textbf{f} (x, \textbf{y} ), a \leq x \leq b; \textbf{y} (a) = \textbf{y}_0. [/tex]

3 pages later he introduces this reference solution that is confusing me a bit. I quote:
"[...] we consider the solution [itex] \textbf{u} (t) [/itex] of the differential equation (5.16) passing through the point [itex] (x, \textbf{y} ) [/itex], that is, the local intial value problem [tex] \frac{d\textbf{u}}{dt} = \textbf{f}(t, \textbf{u} ), x \leq t \leq x + h; \textbf{u} (x) = \textbf{y}." [/tex]

This is for discrete-variable methods of approximation, so h here is the step length in x between the points one is trying to approximate.

So as I stated in the beginning, I'm having some trouble understanding the difference between these solutions. The function [itex] \textbf{f} [/itex] is the same in both cases, but in the former case it is valid for the whole interval [itex] [a,b] [/itex], whereas in the latter it is only valid locally between [itex] x [/itex] and [itex] x+h [/itex]. Does this mean that one can find a solution of the differential equation 5.16 that is only valid on a small interval, but is not equal to a true solution on the whole interval? Is [itex] \textbf{f} = \textbf{u} [/itex] for the whole interval [itex] [x,x+h] [/itex] or just at the very start of the interval? In the book they are talking about a local description of one-step method, in which one is trying to find an approximation to [itex] \textbf{u} [/itex], which suggests that [itex] \textbf{u} [/itex] is indeed an acceptable solution (but only on a small interval?). So does one use different [itex] \textbf{u} [/itex]'s for every new interval [itex] [x,x+h] [/itex] in one's attempt to reach an approximation to the global solution?

I hope I made the source of my confusion clear, and I will be happy to elaborate if needed.

J
 
Physics news on Phys.org
  • #2
The difference between the solutions y() and u() is they don't have the same boundary conditions. In general, u() will not satisfy u(a) = y_0.

If the approximate solution arrives at a point (x,y), which is not exactly on the true solution, the only data you have available to compute the next step is based on the point where you are, not the point where you would have been knowing the true solution. His "reference solution" is an exact solution of the differential equation, but passing through the "wrong" point.

In general, you can only do an error analysis based on the reference solution, for the (obvious) reason that you don't know what the true solution is. So, you can demonstrate that the "local" error in one step of the numerical solution is bounded in some way, but extending that result to estimate the "global" error involves making some more assumptions about whether two solutions that are "close" to each other at one point stay close together at other points, or whether they diverge from each other.

I don't have the book so I don't know the context here, but hopefully that will be helpful.
 
  • #3
Yes, that was quite helpful. Thank you!
 

1. What is the reference solution in numerical analysis?

The reference solution in numerical analysis refers to the exact solution of a mathematical problem, typically obtained through analytical methods. It serves as a benchmark for evaluating the accuracy of numerical methods used to approximate the solution.

2. How is the reference solution used in numerical analysis?

The reference solution is used to compare and validate the results obtained from numerical methods. By calculating the error or difference between the reference solution and the numerical approximation, the accuracy and reliability of the numerical method can be assessed. It also helps in identifying any potential sources of error in the numerical solution.

3. Can the reference solution be obtained for all mathematical problems?

No, the reference solution is only available for certain mathematical problems where analytical solutions can be derived. In many real-world problems, such as those involving complex systems or partial differential equations, the reference solution may not exist and numerical methods are the only way to obtain an approximation.

4. Is the reference solution always more accurate than numerical approximations?

In theory, yes, the reference solution is expected to be more accurate than numerical approximations. However, in practice, the accuracy of the reference solution may be limited by factors such as human error or simplifying assumptions made in the analytical solution. Therefore, it is not always the case that the reference solution is more accurate.

5. How can the reference solution be improved in numerical analysis?

The reference solution can be improved by using more advanced analytical methods or techniques to obtain a more accurate solution. It can also be improved by conducting multiple iterations and refining the analytical solution. Additionally, incorporating more precise numerical methods can also help in improving the accuracy of the reference solution.

Similar threads

  • Differential Equations
Replies
4
Views
2K
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
5
Views
653
  • Differential Equations
Replies
1
Views
666
Replies
2
Views
1K
Replies
2
Views
1K
  • Differential Equations
Replies
2
Views
2K
  • Differential Equations
Replies
1
Views
770
  • Differential Equations
Replies
1
Views
892
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
Back
Top