Introduction to Differential Equations


Introduction to Differential Equations

Corey
Today we're introducing differential equations, but not solving them yet. The goal is to understand what a differential equation means, what counts as a solution, and several important terms used to describe these equations.

Maria
So the emphasis is on interpreting the equations rather than finding formulas for their solutions.

Corey
Exactly. A differential equation usually describes a relationship involving an independent variable, a dependent variable, and derivatives of the dependent variable. If x is independent and y is dependent, the notation might involve x, y, y prime, y double prime, and higher derivatives.

Maria
And y prime is shorthand for dy over dx, while y double prime represents the second derivative, d-squared y over dx-squared.

Corey
Right. In a general form, we can write a differential equation as F of x, y, y prime, y double prime, and so on, equal to zero. The capital F simply represents some expression involving those quantities.

Maria
What does it mean to solve that equation?

Corey
A solution is a function. More precisely, it is a function f such that we replace y by f of x, y prime by f prime of x, y double prime by f double prime of x, and so on. After making those substitutions, the expression must equal zero for every x in the function's domain. In other words, the equation has to be true identically in x, not merely at one particular value.

Maria
Let's make that concrete with a simple example.

Corey
Consider y prime plus y equals x plus 2. Bringing everything to one side gives y prime plus y minus x minus 2 equals zero. Now claim that f of x equals x plus 1 is a solution. Its derivative is 1, so substituting gives 1 plus x plus 1 minus x minus 2, which equals zero for every x.

Maria
So y equals x plus 1 is a functional solution. But checking one solution does not tell us that it is the only solution.

Corey
Exactly. At this point, we only know that it is a solution. There might be other solutions as well.

Maria
What about a relational solution? That sounds different from explicitly writing y as a function of x.

Corey
It is. A relational solution gives a relation between x and y rather than writing y explicitly as f of x. To test whether that relation is a solution, you use implicit differentiation to calculate y prime, y double prime, and any other derivatives required. Then you substitute those derivatives and the relation into the differential equation, checking that the result is zero for all x and y that satisfy the relation.

Maria
So even when y is not explicitly isolated, the same basic test applies: calculate the needed derivatives, substitute, and verify the equation identically.

Corey
Yes. Now consider an initial value problem. A differential equation can have many solutions, so an initial value problem adds information to identify which solution is wanted.

Maria
What information does it add?

Corey
For a differential equation of order k, the initial value problem typically specifies a point x sub zero and values for the function and its derivatives at that point: f of x sub zero equals y sub zero, f prime of x sub zero equals y sub one, f double prime of x sub zero equals y sub two, continuing through the derivative of order k minus 1.

Maria
Why stop at the derivative of order k minus 1 instead of specifying the kth derivative too?

Corey
The intuition is that the differential equation itself relates the kth derivative to the lower-order derivatives and other quantities. Once the values through order k minus 1 are given, the equation determines what the kth derivative must be at that point.

Maria
For the first-order equation y prime plus y equals x plus 2, we only need to specify the function value at one point. For example, x equals 1 and y equals 2 would be a complete initial value condition.

Corey
Correct. Since the equation is first order, we specify values only up to order zero, which means the value of y itself. The function y equals x plus 1 satisfies that condition because when x equals 1, y equals 2.

Maria
There's an important conceptual warning here: a differential equation is not an equation that we solve for x or for a single value of y.

Corey
Right. The equation is understood to hold for all relevant x values. We are solving for a function, or possibly a relation between x and y. Differential equations are therefore examples of functional equations: equations in which the unknown is a function.

Maria
And not every functional equation is a differential equation.

Corey
Exactly. For example, a functional equation might ask us to find a function f satisfying some relation involving f of x and f of y for every x and y in the domain. The unknown is still f, not x or y. A function such as f of x equals 5x can be a solution to a functional equation of that type, but that equation need not involve derivatives.

Maria
What makes differential equations a special kind of functional equation?

Corey
In the usual definition here, a differential equation relates the function and its derivatives at one single point. For example, f of x plus the cube of f prime of x equals some expression is a differential equation because every evaluation occurs at the same x.

Maria
So an expression like x squared equals f of x plus f prime of 1 minus x would not count under this definition?

Corey
Correct. It evaluates the function at x but the derivative at 1 minus x, two different points. That relates the behavior of the function at separated points, rather than relating the function and its derivatives locally at one point. There are generalizations called delayed differential equations that can include this kind of relationship, but the usual differential-equation techniques do not apply directly in the same way.

Maria
That also explains why asking whether a single point satisfies a differential equation is not really meaningful.

Corey
Exactly. Take x squared equals y plus y prime. A point such as x equals 2 and y equals 3 does not tell us y prime, and more importantly, a point is not a function or a relation. The meaningful question is whether a specified function or relation satisfies the differential equation. A solution is a function or relation, not a point.

Maria
Let's move to the terminology for describing differential equations. First is order.

Corey
The order is the largest derivative order appearing in the equation. For example, in y plus x times y triple prime plus the square of y double prime equals the sine of y prime, the highest derivative is the third derivative, so the equation has order three.

Maria
And degree is based specifically on the highest-order derivative?

Corey
Yes. If the equation is a polynomial in its highest-order derivative, its degree is the degree of that polynomial. In the example we just gave, y triple prime appears to the first power, so the degree is one. In another equation where the square of y triple prime appears as the highest-order derivative term, the degree would be two, regardless of a lower derivative such as y prime appearing with some other exponent.

Maria
And if the equation is not polynomial in the highest-order derivative, then asking for its degree does not make sense.

Corey
That's right. Degree is defined in this way only when the relevant polynomial condition holds. Degree-one equations are especially useful because the highest-order derivative appears linearly, so it can be isolated in terms of the other quantities.

Maria
Another major label is autonomous. What does that mean?

Corey
An autonomous differential equation does not contain the independent variable explicitly. If x is the independent variable, x does not appear directly in the equation. For instance, an expression involving cosine of y times y prime times y triple prime can be autonomous if no x appears.

Maria
The significance is that, in the usual time interpretation, translating time does not change the equation. The equation is invariant under a shift of the independent variable.

Corey
Exactly. That invariance is the key idea, although the detailed consequences can be studied later.

Maria
Now what makes a differential equation linear?

Corey
It must be linear in the dependent variable and all of its derivatives. The coefficients can be functions of the independent variable. For example, e to the x times y triple prime, plus x squared times y double prime, plus sine of x times y prime, plus 3y, equals x squared minus 2x plus 5, is linear in y and its derivatives.

Maria
So linear does not mean that the coefficients have to be constant, and it does not require the equation to be linear in x.

Corey
Correct. This is the general definition of a linear differential equation. A separate, narrower category is linear equations with constant coefficients, where the coefficients multiplying the derivatives and y are actual constants.

Maria
We also need to distinguish a particular solution from a solution family.

Corey
A particular solution is one individual solution, whether functional or relational. A solution family contains one or more parameters, and choosing a specific value for each parameter gives a particular solution.

Maria
Can we use the equation y squared plus y prime squared equals 1 as an example?

Corey
Yes. The function y equals sine of x is one particular solution. But y equals sine of x plus C is a solution family. Its derivative is cosine of x plus C, and substituting gives sine squared of x plus C plus cosine squared of x plus C, which equals 1 for every x and every fixed value of C.

Maria
So it is a one-parameter family, and different choices of C produce infinitely many different solutions.

Corey
Exactly. Finally, a general solution is a solution family intended to cover all solutions of the differential equation. In practice, the phrase may sometimes allow a few exceptional or singular solutions to be missed, but the goal is to capture the full collection of ordinary solutions.

Maria
So we now have the core picture: a differential equation is a functional equation involving a function and its derivatives, usually evaluated at one point; a solution is a function or relation that makes the equation true identically; and initial values select among possible solutions.

Corey
And we can classify equations by order, degree, whether they are autonomous, and whether they are linear. We can also talk about particular solutions, solution families, and general solutions. We have not learned how to find those solutions yet—that comes next—but we now know exactly what we would be trying to find.

Ask anything
We've read this whole study set, so questions about it get the best answers.