Numerical vs analytical methods

AI Thread Summary
Numerical analysis involves both analytical and numerical methods, each with distinct advantages and disadvantages. Analytical methods provide exact solutions and deeper contextual understanding, while numerical methods are often necessary for problems lacking known analytical solutions or where those solutions are too complex to handle. Numerical methods are widely used because many real-world problems, particularly involving non-linear differential equations, do not have analytical solutions. The choice between methods depends on the specific application, with some requiring strict error control and others being more flexible. Additionally, computational efficiency plays a crucial role; it may not be practical to use a method that takes excessively long if a satisfactory result can be achieved more quickly with a numerical approach. Understanding these factors helps clarify when to use each method in practice.
zero_infinity
Messages
17
Reaction score
0
I just started a numerical analysis class and I'm curious: what are the advantages and disadvantages of the two methods? Do we use numerical methods in situations where getting analytical solutions is possible? If so, why? I just want a better understanding of when each method is used in practice. I also don't know too much physics, so I don't know how often equations come up where no analytical solutions exist.
 
Technology news on Phys.org
zero_infinity said:
I just started a numerical analysis class and I'm curious: what are the advantages and disadvantages of the two methods? Do we use numerical methods in situations where getting analytical solutions is possible? If so, why? I just want a better understanding of when each method is used in practice. I also don't know too much physics, so I don't know how often equations come up where no analytical solutions exist.

Hey zero_infinity and welcome to the forums.

The main advantage for analytic is that it's exact and gives you more context for what is going on. Having the equation can tell you something than just the output may not tell you.

For numeric the advantage is that you have to use this a lot since most problems don't have known analytic solutions, or that if they are known they are way too complex to deal with.

The numeric representation if its accurate enough tells us the same thing visually as the analytic model and for most purposes, this is what people need to see.

If you want to know where we currently don't have analytic solutions, search google for non-linear differential equations with no analytic solution or just get a book on non-linear partial differential equations.

In practice, it depends on the application. Some applications require really strict error control and this effects what models can be used and what the parameters are. Some are not so strict and just require that the output is good enough and stable.

There are also computational aspects to think about. It's not worth programming a computer to calculate a result that takes a week if you can do it in half a day with results that are still what you need. But sometimes if you can not trade-off accuracy, then you will need to use the best algorithms that do it the quickest even if that means waiting half a week.

These are some issues, but never the less important ones.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...

Similar threads

Replies
8
Views
2K
Replies
3
Views
2K
Replies
2
Views
1K
Replies
3
Views
2K
Replies
4
Views
1K
Replies
1
Views
1K
Replies
4
Views
2K
Back
Top