Differential equation
Contents
Definition
Formal description
The term differential equation, sometimes called ordinary differential equation to distinguish it from partial differential equations and other variants, is an equation involving two variables, an independent variable and a dependent variable , as well as the derivatives (first and possibly higher) of with respect to . Formally, it is an equation of the form:
where is a function of variables. Here . Note that may choose not to use some of the derivatives.
In functional notation, the same differential equation may be written as:
where is the function such that .
Solution concept
- Functional solution: A function on the domain of interest is said to be a solution (or functional solution) to the equation if, when we plug in , the equation holds true for all in the domain, i.e.:
Note that in cases of functions defined on closed intervals, we exclude checking the conditions on the boundary of the domain because two-sided derivatives don't make sense at the boundary.
- Relational solution: A relation is termed a relational solution to the equation if holds true for all if we calculate the derivatives of with respect to using implicit differentiation.
Initial value problem
An initial value problem is a differential equation:
accompanied with a tuple .
A functional solution to the initial value problem is a functional solution for the differential equation such that and for .
Analogously, we can define a relational solution to the initial value problem.
Key observations
Differential equations are functional equations
Differential equations are examples of functional equations. A functional equation is an equation where the variable that we are trying to solve for is a function, and the equation holds true for all values of the input to the function. For instance, here is an example of a functional equation (that's not a differential equation):
A solution to a functional equation is a function that satisfies the equation for all choices of inputs. For instance, any function of the form for fixed is a solution to the above functional equation.
Differential equations are functional equations -- we are trying to solve a differential equation, not for the variables, but for the functional relationship between them.
Differential equations capture behavior at a single point
Not every functional equation involving derivatives is a differential equation. Differential equations are characterized by the evaluation of the function and its derivatives all happening at a single point. For instance:
- is a differential equation because all the function and derivative evaluations happen at , but
- is not a differential equation in our sense of the word because the derivative evaluation happens at rather than .
Another way of putting this is that differential equations are inherently local and cannot relate the behavior of the function at far-away points.
Functional equations involving derivatives that do not fit this definition of differential equation are also studied, but the study of these is more complicated and requires new techniques. Delay differential equations is one such class of functional equations.
It does not make sense to ask whether a point satisfies a differential equation
Consider a differential equation:
If I ask the question: does the point satisfy the differential equation?, the answer is that the question doesn't make any sense. This is because verifying a differential equation requires knowing the functional relationship between and , which in turn allows us to compute the numerical value of and check whether the equation is satisfied.
Terminology
Equation terminology
Term | Meaning | Example (don't try to solve these differential equations!) |
---|---|---|
order of a differential equation | it is the largest for which the derivative of the dependent variable appears in the differential equation. | The equation has order three because is the largest derivative appearing. |
first-order differential equation | differential equation of order one, i.e., it involves only . | is a first-order differential equation. |
second-order differential equation | differential equation of order exactly two, i.e., it involves only and has at least one appearance of . | is a second-order differential equation. |
degree of a differential equation | if the differential equation is polynomial in terms of its highest order derivative, then the degree of that polynomial. | has degree two. |
explicit differential equation | This means that the highest order derivative is written explicitly in terms of the dependent variable, independent variable, and the lower order derivatives. Any explicit differential equation is a first-degree differential equation. Conversely, any first-degree differential equation can be converted to an explicit differential equation by dividing out by the coefficient of the highest order derivative -- if this coefficient is not invertible, we may separately need to consider the case where that coefficient becomes zero, and that would be a lower order differential equation. | is explicit: the third derivative is written in terms of the lower order derivatives. |
autonomous differential equation | differential equation where the independent variable does not appear explicitly anywhere in the equation. | is autonomous. On the other hand, is not autonomous |
linear differential equation | A differential equation of the form where the s and are all functions. In other words, the expression is linear in and its derivatives with coefficients in terms of . Linear differential equations are usually written with the coefficient of cleared to 1, by dividing throughout by the coefficient of . | is linear. |
homogeneous linear differential equation | A linear differential equation of the form . In other words, the constant term function is zero. | is homogeneous linear. |
linear differential equation with constant coefficients | A linear differential equation of the form where all the s and are zero. | is linear with constant coefficients. |
Solution terminology
Term | Meaning | Example |
---|---|---|
particular solution | a function or relation that is a solution for the equation (see #Solution concept). A solution in the form of a function is termed a functional solution and a solution in the form of a relation is termed a relational solution. | is a functional solution to . |
solution family | a family of functions or relations, with one or more parameters possibly subject to some constraints, such that for every choice of parameter values subject to those constraints, we get a particular solution. | with parameter , is a solution family for . |
general solution | a solution family that covers all solutions (or almost all solutions, possibly excluding some exceptions) | The general solution to is . |
solution to initial value problem | a particular solution that satisfies the initial value condition. | A particular solution to satisfying (i.e., and when ) is . |
Facts
- As a general principle, the way to solve a differential equation of order is to reduce it to a sequence of integration problems. Each integration problem introduces a new freely varying parameter.
- As a general principle, the number of degrees of freedom (i.e., the number of independent freely varying parameters) in the general solution to a differential equation of order must equal . There are various exceptions and irregularities, but this is what we should generally expect. Another way of putting this is that the solution space to a differential equation of order is expected to be -dimensional.
- As a general principle, the number of solutions to an initial value problem should be finite. If the differential equation is nice enough, then there should be a unique solution to any initial value problem.
Relation with system of first-order differential equations
Any differential equation of order can be converted to a system of first-order differential equations with equations and variables (i.e., unknown functions that we are trying to solve for). For the conversion procedure, see conversion of a differential equation to a system of first-order differential equations. However, the converse is not true, i.e., it is not always possible to convert a system of first-order differential equations with multiple dependent variable into a single differential equation of higher order with one dependent variable.
The same idea can be used to perform the conversion of a system of differential equations to a system of first-order differential equations.
Solution strategies
General idea for strategy toward a general solution
The rough idea is to convert the differential equation to a sequence of integration problems. If the differential equation has order , it should reduce to performing integrations. Each integration introduces a new freely varying parameter.
CAUTION: There may be other auxiliary integrations that need to be done, e.g., for computation of integrating factors or in order to solve an integration by parts problem. These auxiliary antiderivative computations do not, however, introduce new freely varying parameters.
We see that this general strategy may run into trouble at many levels:
Stage | Type of difficulty |
---|---|
Differential equation to integration | There is no general-purpose algorithm for converting an arbitrary differential equation to an integration problem or sequence of integration problems. Thus, we may not even be able to get started on the process. For some types of structures of differential equations, strategies are known for converting them to integration problems. For others, we have to use ad hoc techniques. There exist differential equations for which there is no way of converting them to integration problems. Note that for differential equations of order two or higher, this problem may occur at any of the stages, i.e., we may be able to do one level of integration but not the next. |
Solving the integration problem to get rid of the integral sign | Even after we've converted the differential equation to an integration problem, there may not be any analytic methods for computing the antiderivative. Note that this is not such a big issue because there are known techniques for calculating approximate solutions to integration problems even if analytical methods are not available for getting a precise solution. |
Making sense of relational solutions, converting to functional solutions or at least trying to understand what they mean | Even after we have done the desired antidifferentiations, the solutions may be in relational form rather than functional form. This means that we may still not have explicit functional descriptions of in terms of . We may not even know whether is expressible as a function of . We may not even know if the relational solution has any points in it at all! |
Historically, this type of method of solution of a differential equation is called a solution by quadratures. In the early days of differential equations, it was hoped that generic differential equations could be solved by quadratures, but this hope was dashed fairly quickly.
Going from a particular solution to a general solution
There are some special types of differential equations where, once we find a particular solution, we can find other solutions, perhaps even the general solution. Some notable cases are considered here:
- For a linear differential equation, finding a general solution is equivalent to finding a particular solution + solving the corresponding homogeneous linear differential equation. In particular, for a linear differential equation with constant coefficients, there is a closed form expression for the solution of the corresponding homogeneous linear differential equation with constant coefficients, so finding a particular solution is equivalent to finding the general solution.
- For an autonomous differential equation, if is a solution, so is for any constant . Note that this does not give the general solution if the order is more than one, but it does help move from a particular solution to a solution family with one parameter.
Solution strategies in particular cases
Below are some formats of equations for which general strategies are known. Note that the letter is no longer used for the solution function but may be used for other functions.:
Equation type | Order | Degree (if polynomial in highest order derivative) | Quick summary of solution strategy |
---|---|---|---|
first-order linear differential equation which in simplified form looks like | 1 | 1 | Use the integrating factor where . The general solution is |
separable differential equation which is of the form (any first-order first-degree autonomous differential equation is separable, though there are separable differential equations that aren't autonomous) | 1 | 1 | Separate and solve as . Also find solutions corresponding to where . |
first-order exact differential equation | 1 | 1 | Try to find a relation such that using implicit differentiation. Finding the , even if it does exist, can be tricky. |
Bernoulli differential equation () | 1 | 1 | Divide both sides by (set aside possible stationary solution ), then substitute to get a first-order linear differential equation with dependent variable and independent variable . |
Clairaut's equation which is of the form | 1 | need not be polynomial; if polynomial, may have any degree | with (all straight lines) and a single other solution explicitly described as the solution to , given by as a parametric curve in terms of . |
Lagrange equation which is linear in and but not necessarily in | 1 | need not be polynomial; if polynomial, may have any degree | General solution is a family of curves, each described as a parametric curve with parameter the derivative (which we denote by ). There may be some special straight line solutions of the form for values with . |
second-order autonomous differential equation of degree one, which is of the form | 2 | 1 | |
homogeneous linear differential equation with constant coefficients | any | 1 | We construct the characteristic polynomial of the differential equation, find its real and complex roots, and the space of solution functions is a vector space with basis functions described using these roots. |
Qualitative methods
For most differential equations, it is very hard to convert the differential equation to a series of integration problems and to find explicit expressions for the solution. Instead, in many cases, we try to determine the qualitative properties of solution functions, including existence, uniqueness, extent of differentiability, nature of roots and critical points, etc.