myphysicslab – numerical vs. analytic solutions
suppose you have a mathematical model and you want to understand its behavior. that is, you want to find a solution to the set of equations. the best is when you can use calculus, trigonometry, and other math techniques to write down the solution. now you know absolutely how the model will behave under any circumstances. this is called the analytic
solution, because you used analysis to figure it out. it is also referred to as a closed form
but this tends to work only for simple models. for more complex models, the math becomes much too complicated. then you turn to numerical methods
of solving the equations, such as the runge-kutta method
. for a differential equation that describes behavior over time, the numerical method starts with the initial values of the variables, and then uses the equations to figure out the changes in these variables over a very brief time period. its only an approximation, but it can be a very good approximation under certain circumstances.
a computer must be used to perform the thousands of repetitive calculations involved. the result is a long list of numbers, not an equation. this long list of numbers can be used to drive an animated simulation, as we do with the models presented here.
there is also a middle ground between these two methods. there are many important non-linear
equations for which it is not possible to find an analytic solution. however, there are techniques where you can find approximate analytic solutions that are close to the true solution, at least within a certain range. one such method is called the perturbation method
. the advantage over a numerical solution is that you wind up with an equation (instead of just a long list of numbers) which you can gain some insight from.