# Types of Differential Equation

Hi world! This week we’re going to speak about differential equation, a must if we are to understand something about the world of physics … so, today’s post will be 100% teaching. Let’s start!

So today, we will consider the methods of solution of the sorts of ordinary differential equations (ODEs) which occur very commonly in physics. By ODEs we mean equations involving derivatives with respect to a single variable, usually time. Although we will formulate the discussion in terms of linear ODEs for which we know the analytical solution, this is simply to enable us to make comparisons between the numerical and analytical solutions and does not imply any restriction on the sorts of problems to which the methods can be applied. In the practical work you will encounter examples which do not fit neatly into these categories. We consider 3 basic differential equations:

which are representative of most more complex cases. Higher order differential equations can be reduced to 1st order by appropriate choice of additional variables. The simplest such choice is to define new variables to represent all but the highest order derivative. For example, the damped harmonic oscillator equation, usually written as:

can be rewritten in terms of y and velocity v=dy/dt  in the form of a pair of 1st order ODEs:

Similarly any nth order differential equation can be reduced to n 1st order equations. Such systems of ODEs can be written in a very concise notation by defining a vector, y say, whose elements are the unknowns, such as y and v in (1.1). Any ODE in n unknowns can then be written in the general form:

where y and f are -component vectors. Remember that there is no significance in the use of the letter t in the above equations. The variable is not necessarily time but could just as easily be space, as in (1.9)  or some other physical quantity. Formally we can write the solution of (1.7) as:

by integrating both sides over the interval . Although (1.8) is formally correct, in practice it is usually impossible to evaluate the integral on the right-hand-side as it presupposes the solution y(t). We will have to employ an approximation. All differential equations require boundary conditions. Here we will consider cases in which all the boundary conditions are defined at a particular value of t (e.g. t=0). For higher order equations the boundary conditions may be defined at different values of t. The modes of a violin string at frequency w obey the equation:

with boundary conditions such that y=0 at both ends of the string. We shall consider such problems in other post, where we’ll talk about MATRIX ALGEBRA.

So amazing, isn’t it? Hope you’d enjoy the differential equation’s world. Enjoy and have fun!

This site uses Akismet to reduce spam. Learn how your comment data is processed.