Before you can choose a solution method, you have to know what kind of equation you are looking at. Four labels do almost all of the work: the order, the degree, whether the equation is linear or nonlinear, and whether it is homogeneous or non-homogeneous. This section defines each label and then explains what it means for a function or a relation to be a solution.
Quick Reference
| Classification | Definition | Example |
|---|---|---|
| Order | The order of the highest derivative in the equation | has order |
| Degree | The exponent of the highest ordered derivative, after clearing radicals and fractions | (y'')^3 + y = 0 has degree |
| Linear | The unknown and all its derivatives appear only to the first power, with no products among them | y'' + \sin(t)\, y' = \cos t |
| Nonlinear | Any product, power, or nonlinear function of or its derivatives | y'' + \frac{g}{L}\sin y = 0 |
| Homogeneous | The right-hand side is identically zero | y'' + y = 0 |
| Non-homogeneous | The right-hand side is not identically zero | y'' + y = e^x |
| Explicit solution | A function satisfying the equation on an interval | solves y'' + y = 0 |
| Implicit solution | A relation that defines such a function | |
| General solution | A solution containing arbitrary constants for an th order equation | |
| Particular solution | Obtained from the general solution by fixing the constants | |
| Singular solution | A solution not obtainable from the general solution for any constants | Arises only in nonlinear equations |
Order of a Differential Equation
The order of a differential equation is the order of the highest derivative, or highest partial derivative, occurring in the equation.
For example,
is an ordinary differential equation of order , and
is a partial differential equation of order .
The General th Order Form
An th order ODE can be expressed as
F\left(x, y, y', y'', \cdots, y^{(n)}\right) = 0 \tag{i}
where is some function of variables: , , y', y'', up through . Count them: one for , one for itself, and more for the derivatives of orders through , giving slots in total.
If we can solve this relation for the highest derivative, we can rewrite it in the form
y^{(n)} = G\left(x, y, y', \cdots, y^{(n-1)}\right) \tag{ii}
Form (ii) is called the normal form or solved form, and most solution techniques assume you can reach it. Solving for the highest derivative is not always possible, which is why form (i) is stated first.
A second-order PDE for can be expressed in the same spirit as
Find the order of each equation.
- \displaystyle{y'' + \left(y'''\right)^2 + y^{10} = e^x}
Solution
- Order . The only derivative is the first. The fifth power on is irrelevant to the order, since order counts derivatives, not powers of .
- Order . The third derivative is present, even though the second derivative carries the large exponent. Order looks at which derivative is highest, not at exponents.
- Order , for the same reason.
Degree of a Differential Equation
The degree of a differential equation is the exponent of the highest ordered derivative in it. To find the degree, we must first rationalize the equation and clear fractions.
The rationalizing step matters. Degree is only defined once the equation has been written as a polynomial in the derivatives, so radicals and denominators containing derivatives must be cleared first.
Find the order and degree of
Solution
The highest derivative is , so the order is 1. To find the degree, clear the fractional power. Write and cross-multiply:
Squaring both sides removes the half-power:
The right-hand side expands to a polynomial of degree in , and it is the highest power that decides the degree. So the degree is 6.
Note that the original equation gave no hint of degree ; the rationalizing step is what revealed it.
Find the order and degree of .
Solution
The highest derivative is , so the order is . The exponent attached to that highest derivative is , so the degree is . The exponent on the first derivative plays no role, because degree looks only at the highest ordered derivative.
Order and degree answer different questions. Order asks which derivative is highest. Degree asks what power that particular derivative is raised to, once the equation is polynomial in the derivatives.
Linear vs. Nonlinear, Homogeneous vs. Non-homogeneous
The ordinary differential equation F(x, y, y', \dots, y^{(n)}) = 0 is said to be linear if the dependent variable and its derivatives appear only to the first degree. In other words, a linear ordinary differential equation of order is an equation of the form
where the coefficients and are given functions of the independent variable .
Notice that if F(x, y, y', \dots, y^{(n)}) = 0 is a linear differential equation, then is a linear function of the dependent variable and its derivatives, that is, of , y', through . However, does not have to be a linear function of for the differential equation to be linear. The coefficients and the right-hand side may be as complicated as you like: , , or are all acceptable. Linearity is a statement about and its derivatives only.
The distinguishing characteristics of a linear ODE are:
- all have exponent one.
- There is no product of with any of its derivatives, no product of two derivatives, and no nonlinear function such as , , or applied to or a derivative.
Some examples on linear and nonlinear differential equations.
Solution
- The equation where and are constants is nonlinear, because it involves the product of , a nonlinear term, with . This is the Van der Pol equation, a standard model of a self-sustaining oscillator.
- The equation where and are constants is nonlinear because of the presence of . This is the pendulum equation. Replacing by for small angles is exactly the step that linearizes it.
- The equation is linear, since it has the form of Equation (iii): the coefficient and the right-hand side are functions of the independent variable only, and and y' each appear to the first power.
Compare the second and third examples carefully. Both contain a sine, but makes an equation nonlinear while leaves it linear. What is inside the sine is what matters.
Homogeneous and Non-homogeneous
If , we say Equation (iii) is homogeneous; otherwise it is non-homogeneous.
The symbol means "is identically zero", that is, zero for every in the interval, not merely at isolated points. So y'' + y = 0 is homogeneous, while y'' + y = e^x is non-homogeneous even though is never zero anywhere.
Be warned that the word "homogeneous" carries a second, unrelated meaning for first-order equations, where y' = f(y/x) is also called homogeneous. Context tells you which sense is intended.
Linearity for Partial Differential Equations
A partial differential equation is said to be linear if no power or product of the unknown function and its partial derivatives is present after rationalizing the equation and clearing fractions. For example, a linear second-order partial differential equation for has the form
where and are given functions.
In general, a linear partial differential equation for has the form
\sum_{n=0}^{N} \sum_{m=0}^{M} a_{mn}(x,t) \frac{\partial^{m+n} u}{\partial x^n \, \partial t^m} = f(x,t) \tag{iv}
where and are given functions of and , and and are fixed positive integers. We define , so that the term of the sum is simply .
Equation (iv) is homogeneous if .
Explicit and Implicit Solutions
Consider a general differential equation of order described by
F(x, y, y', \dots, y^{(n)}) = 0 . \tag{v}
A function is a solution of Equation (v) on an interval if substituting into the equation, that is, replacing by , y' by \phi'(x), through by , reduces the equation to an identity at every point of :
F\left(x, \phi(x), \phi'(x), \dots, \phi^{(n)}(x)\right) = 0 .Such a function is said to satisfy the equation on , and the graph of is called a solution curve.
The phrase "at every point of " is the whole content of the definition. A function that happens to satisfy the equation at a few scattered values of is not a solution.
For example, is a solution of
y'' + y = 0 \tag{vi}
because
(\sin x)'' + \sin x = -\sin x + \sin x = 0 \qquad (-\infty < x < \infty) .Similarly, is also a solution of this differential equation. In fact, any function of the form
y = c_1 \sin x + c_2 \cos x \tag{vii}
where and are arbitrary constants is also a solution. This means the equation y'' + y = 0 has infinitely many solutions. However, not all differential equations have infinitely many solutions. A given differential equation may have a unique solution, several solutions, or no solution at all.
Implicit Solutions
Sometimes the relationship between and cannot be untangled into the form . The relation still counts as a solution.
A relation is called an implicit solution of the differential equation (v) on an interval if
- there exists a function such that for every in , and
- satisfies Equation (v), that is, F\left(x, \phi(x), \phi'(x), \cdots, \phi^{(n)}(x)\right) = 0 \quad \text{for every } x \in I .
For example, consider the differential equation
We can show that
is an implicit solution of this differential equation.
Show that is an implicit solution of .
Solution
Use implicit differentiation to find . Differentiate both sides with respect to , treating as a function of :
The product rule handles the term and the chain rule handles the term:
Collect the terms containing on one side and the rest on the other:
Solving for the derivative and simplifying the sign,
which is the original differential equation. Notice that the last step multiplied numerator and denominator by : .
General, Particular, and Singular Solutions
A solution of a differential equation may be one of three types: general, particular, or singular.
An ordinary differential equation of order has, in general, a solution containing arbitrary constants. We call such a solution the general solution.
For example,
where and are arbitrary constants is the general solution of y'' + y = 0. The count matches: the equation has order and the general solution carries constants.
A particular solution is a solution obtained from the general solution by giving the constants particular values.
Taking and above gives the particular solution .
A singular solution is a solution without arbitrary constants that cannot be derived from the general solution by assigning specific values to the constants. Such solutions arise only in nonlinear differential equations.
The equation \left(y'\right)^2 - 4y = 0 has general solution . Show that is also a solution but is not a member of that family.
Solution
For we have y' = 0, so \left(y'\right)^2 - 4y = 0 - 0 = 0. It is a solution.
Now look for a constant with for every . No such exists, since vanishes at the single point and nowhere else. Therefore is a singular solution: it satisfies the equation but is not recoverable from the general solution.
Geometrically, is the envelope of the family of parabolas , touching each one at its vertex. Envelopes are the usual source of singular solutions.
Exercises
Classify each equation by order, degree, and linearity.
- \displaystyle{x^2 y'' + x y' + \left(x^2 - 4\right)y = 0}
- \displaystyle{y' = y^2 + x}
- \displaystyle{\left(y'''\right)^2 + y y' = 0}
Solution
- Order , degree , linear and homogeneous. The coefficients , , and depend on the independent variable only, which is allowed. This is Bessel's equation of order .
- Order , degree , nonlinear because of the term. This is a Riccati equation.
- Order , degree , nonlinear for two separate reasons: the third derivative is squared, and the product y y' appears.
Verify that is the general solution of y'' - 4y = 0, then find the particular solution satisfying and y'(0) = 6.
Solution
Differentiating twice gives y' = 2c_1 e^{2x} - 2c_2 e^{-2x} and y'' = 4c_1 e^{2x} + 4c_2 e^{-2x}, so
y'' - 4y = 4c_1 e^{2x} + 4c_2 e^{-2x} - 4c_1 e^{2x} - 4c_2 e^{-2x} = 0 .The equation has order and the family carries constants, so this is the general solution.
Imposing the conditions at :
\begin{aligned} y(0) &= c_1 + c_2 = 1 \\ y'(0) &= 2c_1 - 2c_2 = 6 \end{aligned}The second equation gives . Adding it to gives , so and .
The particular solution is .
Frequently Asked Questions
What is the difference between the order and the degree of a differential equation?
Order is the order of the highest derivative present. Degree is the exponent on that highest derivative, once the equation has been rationalized and cleared of fractions. In \left(y''\right)^3 + \left(y'\right)^8 = 0 the order is and the degree is . The exponent is irrelevant, because it sits on a lower-order derivative.
Can an equation be linear in but contain complicated functions of ?
Yes, and this is the most common misunderstanding about linearity. The equation y'' + e^{x^2} y' + \ln(x)\, y = \tan x is perfectly linear. Linearity is a condition on the dependent variable and its derivatives, not on the independent variable. Coefficients and forcing terms may be arbitrarily messy functions of .
Why does linearity matter so much?
Linear equations obey the superposition principle: if and solve a homogeneous linear equation, then so does . That single fact makes the entire theory work, because it lets you build the general solution out of a finite set of independent building blocks. Nonlinear equations have no such structure, which is why they are handled case by case.
Is y'' + y = 0 homogeneous, and is y'' + y = 5 too?
The first is homogeneous, since the right-hand side is identically zero. The second is non-homogeneous: a nonzero constant counts as a nonzero forcing function. Only qualifies as homogeneous.
When would I settle for an implicit solution?
Whenever solving for is impossible or would obscure the answer. The relation cannot be untangled into a clean formula , but it fully determines the solution curves. Separable and exact equations very often produce their answers in implicit form, and it is standard practice to leave them that way.
Does every differential equation have a singular solution?
No. Singular solutions arise only in nonlinear equations. A linear equation's general solution captures every solution there is, so nothing can be left over. In nonlinear equations the general solution can have an envelope, a curve tangent to every member of the family, and that envelope is itself a solution that no choice of constant reproduces.
How do I know how many arbitrary constants to expect?
An th order equation generally has a general solution with exactly arbitrary constants, one for each integration you would need to perform to undo the derivatives. A first-order equation has one, a second-order equation has two. If your answer has the wrong number of constants, you have almost certainly dropped a solution or introduced a redundant one.