1. Home
  2. Explore
  3. Mathematics
  4. Introduction to Differential Equations

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to Differential Equations

Differential Equations: Meaning, Solutions, and Basic Terminology

What Is a Differential Equation?

A differential equation is an equation involving:

  • An independent variable, such as xxx

  • A dependent variable, such as yyy

  • One or more derivatives of the dependent variable, such as:

    • y′=dydxy' = \frac{dy}{dx}y′=dxdy​

    • y′′=d2ydx2y'' = \frac{d^2y}{dx^2}y′′=dx2d2y​

    • Higher derivatives such as y′′′y'''y′′′

A differential equation expresses a relationship among these quantities. In general form, it can be written as

F(x,y,y′,y′′,…)=0,F(x,y,y',y'',\ldots)=0,F(x,y,y′,y′′,…)=0,

where FFF represents some expression involving the independent variable, the dependent variable, and its derivatives.

For example,

y′+y=x+2y' + y = x+2y′+y=x+2

can be rewritten by moving everything to one side:

y′+y−x−2=0.y' + y - x - 2 = 0.y′+y−x−2=0.

In this case,

F(x,y,y′)=y′+y−x−2.F(x,y,y')=y'+y-x-2.F(x,y,y′)=y′+y−x−2.

The equation is not primarily being used to solve for a numerical value of xxx or yyy. Instead, it describes a condition that a function and its derivatives must satisfy.


Functional Solutions

A functional solution to a differential equation is a function that makes the equation true for every input in the function’s domain.

Suppose the differential equation is

F(x,y,y′,y′′,…)=0.F(x,y,y',y'',\ldots)=0.F(x,y,y′,y′′,…)=0.

To test whether a function f(x)f(x)f(x) is a solution:

  1. Substitute y=f(x)y=f(x)y=f(x).

  2. Substitute y′=f′(x)y'=f'(x)y′=f′(x).

  3. Substitute y′′=f′′(x)y''=f''(x)y′′=f′′(x).

  4. Continue substituting all required derivatives.

  5. Simplify the resulting expression.

  6. Verify that it equals zero for every xxx in the relevant domain.

Thus, a solution is not merely a value or a point. It is a function that satisfies the differential equation identically in xxx.

A function solves a differential equation when substitution of the function and all required derivatives makes the equation true for every allowed value of the independent variable.

Example

Consider

y′+y=x+2.y'+y=x+2.y′+y=x+2.

Claim that

f(x)=x+1f(x)=x+1f(x)=x+1

is a solution.

The derivative is

f′(x)=1.f'(x)=1.f′(x)=1.

Substituting y=x+1y=x+1y=x+1 and y′=1y'=1y′=1 gives

1+(x+1)=x+2.1+(x+1)=x+2.1+(x+1)=x+2.

Equivalently, using the form with everything on one side,

1+(x+1)−(x+2)=0.1+(x+1)-(x+2)=0.1+(x+1)−(x+2)=0.

This is true for every xxx, so

y=x+1y=x+1y=x+1

is a functional solution.

The existence of one solution does not imply that it is the only solution. A differential equation may have many different solutions.


Relational Solutions

A solution does not always have to be written explicitly as y=f(x)y=f(x)y=f(x). Sometimes the relationship between xxx and yyy is given implicitly, such as

G(x,y)=0.G(x,y)=0.G(x,y)=0.

Such an implicit relationship can be a relational solution if it satisfies the differential equation.

How to Check a Relational Solution

When yyy is not explicitly isolated as a function of xxx, its derivatives can be found using implicit differentiation.

The procedure is:

  1. Start with the relation between xxx and yyy.

  2. Differentiate implicitly to find y′y'y′.

  3. Differentiate again if y′′y''y′′ is required.

  4. Continue until all derivatives appearing in the differential equation have been found.

  5. Substitute those expressions into the differential equation.

  6. Check that the equation is satisfied identically for all xxx and yyy satisfying the relation.

A relational solution therefore describes a curve or relationship whose derivative behavior satisfies the differential equation.


Initial Value Problems

Definition

An initial value problem, or IVP, consists of:

  1. A differential equation.

  2. Additional information specifying the value of the solution and possibly some of its derivatives at a particular input.

The specified input is usually denoted by x0x_0x0​. The initial data may be written as

f(x0)=y0,f(x_0)=y_0,f(x0​)=y0​,
f′(x0)=y1,f'(x_0)=y_1,f′(x0​)=y1​,
f′′(x0)=y2,f''(x_0)=y_2,f′′(x0​)=y2​,

and so on.

For a differential equation of order kkk, the initial value problem typically specifies values through the (k−1)(k-1)(k−1)st derivative:

f(x0)=y0,f′(x0)=y1,f′′(x0)=y2,…,f(k−1)(x0)=yk−1.f(x_0)=y_0,\quad f'(x_0)=y_1,\quad f''(x_0)=y_2,\quad \ldots,\quad f^{(k-1)}(x_0)=y_{k-1}.f(x0​)=y0​,f′(x0​)=y1​,f′′(x0​)=y2​,…,f(k−1)(x0​)=yk−1​.

The goal is to find a function or relation that:

  • Satisfies the differential equation.

  • Satisfies all the given initial conditions.

Why Initial Conditions Are Needed

A single differential equation may have many solutions. Initial conditions select the solution that passes through a specified point or has specified derivative values at a particular point.

For an equation of order kkk, the differential equation relates the derivatives up to order kkk. Once the values of the function and its derivatives through order k−1k-1k−1 are given at x0x_0x0​, the equation itself determines the value of the kkkth derivative there, at least when the equation can be solved for that derivative.

This explains why an order-kkk initial value problem generally specifies only kkk pieces of information: the function value and the first k−1k-1k−1 derivative values.

Example of an Initial Condition

For the solution

y=x+1,y=x+1,y=x+1,

one possible initial condition is

y(1)=2.y(1)=2.y(1)=2.

Indeed,

1+1=2.1+1=2.1+1=2.

The equation involving y′y'y′ is first order, so only the value of the function—not the derivative value—is needed for a complete initial value problem.

Thus, the function y=x+1y=x+1y=x+1 satisfies the initial condition y(1)=2y(1)=2y(1)=2.


Differential Equations as Functional Equations

Solving for a Function

A differential equation should not be interpreted as an ordinary algebraic equation whose purpose is to solve for xxx or yyy at one particular point.

Instead, a differential equation is solved for a function.

The equation is understood to hold for every value of the independent variable in the domain. The unknown is therefore the functional relationship between the variables.

More generally, a functional equation is an equation in which the unknown is a function.

Differential equations are one type of functional equation, but not every functional equation is a differential equation.

Difference from an Ordinary Algebraic Equation

In an ordinary equation, one might solve for a number, such as xxx.

In a functional equation, the task is to find a function fff that makes the equation true for every allowed input. For example, a functional equation may ask for a function satisfying a relation involving f(x)f(x)f(x) and f(y)f(y)f(y) for all xxx and yyy. A function such as

f(x)=5xf(x)=5xf(x)=5x

may satisfy such a relation, depending on the equation.

The key point is that the unknown is the function itself, not an individual value of xxx or yyy.


Single-Point Behavior of Differential Equations

A differential equation in the standard sense relates the behavior of a function and its derivatives at the same point.

For example,

f(x)+(f′(x))3=0f(x)+(f'(x))^3=0f(x)+(f′(x))3=0

is a differential equation because it relates:

  • f(x)f(x)f(x)

  • f′(x)f'(x)f′(x)

both evaluated at the same input xxx.

The equation examines the function’s value and derivative behavior locally at one point.

An Equation Involving Different Points

Consider an expression of the form

x2=f(x)+f′(1−x).x^2=f(x)+f'(1-x).x2=f(x)+f′(1−x).

This relates the function at xxx to its derivative at 1−x1-x1−x. Unless x=1−xx=1-xx=1−x, these are evaluations at different points.

Under the standard definition being used, this is not an ordinary differential equation because it connects the behavior of the function at two separate inputs.

Such equations can be studied as delayed differential equations or related generalized differential equations. However, the methods developed for ordinary differential equations do not apply to them directly because the equation is not purely local at one point.

Standard differential equations relate a function and its derivatives evaluated at one common point. Equations involving values or derivatives at different points belong to broader classes of functional or delayed differential equations.


Why a Point Does Not Satisfy a Differential Equation

A single point, such as

(x,y)=(2,3),(x,y)=(2,3),(x,y)=(2,3),

cannot by itself be said to satisfy a differential equation such as

x2=y+y′.x^2=y+y'.x2=y+y′.

The reason is that the differential equation contains y′y'y′, which describes the slope of a function. A point gives a function value but provides no information about the derivative at that point.

To ask a meaningful question, one must specify a function or relation. For example:

  • Does the function y=f(x)y=f(x)y=f(x) satisfy the differential equation?

  • Does the relation G(x,y)=0G(x,y)=0G(x,y)=0 satisfy the differential equation?

A point can lie on a solution curve, but the point alone is not a solution.

A solution to a differential equation is a function or relation, not an isolated point.


Order and Degree of Differential Equations

Order

The order of a differential equation is the largest derivative order appearing in the equation.

Examples:

  • An equation containing y′y'y′ but no higher derivatives has order 111.

  • An equation containing y′′y''y′′ as its highest derivative has order 222.

  • An equation containing y′′′y'''y′′′ as its highest derivative has order 333.

The order concerns the derivative with the greatest number of differentiations, regardless of how that derivative appears algebraically.

Example

Consider

y+xy′′′+(y′′)2=sin⁡(y′).y+xy'''+(y'')^2=\sin(y').y+xy′′′+(y′′)2=sin(y′).

The highest derivative present is y′′′y'''y′′′, so the equation has order

3.3.3.

The fact that y′′y''y′′ is squared does not affect the order.


Degree

The degree of a differential equation is defined only when the equation is a polynomial in its highest-order derivative.

To determine the degree:

  1. Identify the highest-order derivative.

  2. Treat all other quantities as if they were constants.

  3. View the equation as a polynomial in that highest-order derivative.

  4. The degree of that polynomial is the degree of the differential equation.

Example: Degree One

For

y+xy′′′+(y′′)2=sin⁡(y′),y+xy'''+(y'')^2=\sin(y'),y+xy′′′+(y′′)2=sin(y′),

the highest-order derivative is y′′′y'''y′′′. It appears to the first power, so the equation is polynomial of degree 111 in y′′′y'''y′′′.

Therefore:

  • Order: 333

  • Degree: 111

The square on y′′y''y′′ does not determine the degree because y′′y''y′′ is not the highest-order derivative.

Example: Degree Two

If the highest-order derivative appears as

(y′′′)2,(y''')^2,(y′′′)2,

and the equation is polynomial in y′′′y'''y′′′, then its degree is 222.

The degree is determined by the exponent of the highest-order derivative, not by the largest exponent anywhere in the equation.

When Degree Is Undefined

If the highest-order derivative appears in a non-polynomial way, the degree is not defined.

For example, if the highest derivative appears inside a function such as

sin⁡(y′′′)\sin(y''')sin(y′′′)

or in an expression such as

ey′′′,e^{y'''},ey′′′,

then the equation is not polynomial in y′′′y'''y′′′. Therefore, it does not have a degree under this definition.

Why Degree One Is Important

Degree-one differential equations are especially useful because the highest-order derivative appears linearly. This often allows the equation to be rearranged and solved for the highest derivative in terms of lower-order derivatives and other quantities.

For example, an equation of degree one may be rearranged into a form such as

y(k)=G(x,y,y′,…,y(k−1)).y^{(k)}=G(x,y,y',\ldots,y^{(k-1)}).y(k)=G(x,y,y′,…,y(k−1)).

Even a high-order degree-one equation may be more manageable than an equation in which the highest-order derivative appears quadratically or through a nonlinear function.


Autonomous Differential Equations

Definition

A differential equation is autonomous when the independent variable does not appear explicitly in the equation.

For an equation written as

F(x,y,y′,y′′,…)=0,F(x,y,y',y'',\ldots)=0,F(x,y,y′,y′′,…)=0,

autonomy means that xxx does not occur directly in the expression. The equation may still contain yyy and its derivatives.

For example, an equation involving an expression such as

cos⁡(y) y′ y′′′\cos(y)\,y'\,y'''cos(y)y′y′′′

is autonomous if xxx does not appear explicitly.

The independent variable might be time in an application, but the definition applies regardless of the variable’s interpretation.

Significance of Autonomy

Autonomous equations are invariant under translations of the independent variable. In time-dependent situations, this means that shifting the time origin does not change the form of the equation.

If a solution is shifted from y(x)y(x)y(x) to y(x+c)y(x+c)y(x+c), the autonomous equation itself remains unchanged because it contains no explicit reference to xxx.

This reflects the idea that the system’s behavior depends on its current state, not on the absolute value of time or position.

An autonomous differential equation has no explicit dependence on the independent variable and is unchanged by translating that variable.


Linear Differential Equations

Definition

A differential equation is linear if it is linear in the dependent variable and all of its derivatives.

For an equation involving yyy, y′y'y′, up to y(k)y^{(k)}y(k), a general linear form is

ak(x)y(k)+ak−1(x)y(k−1)+⋯+a1(x)y′+a0(x)y=g(x).a_k(x)y^{(k)}+a_{k-1}(x)y^{(k-1)}+\cdots+a_1(x)y'+a_0(x)y=g(x).ak​(x)y(k)+ak−1​(x)y(k−1)+⋯+a1​(x)y′+a0​(x)y=g(x).

The coefficients a0(x),a1(x),…,ak(x)a_0(x),a_1(x),\ldots,a_k(x)a0​(x),a1​(x),…,ak​(x) may be functions of xxx.

A linear differential equation may have nonlinear-looking functions of xxx as coefficients. What matters is that yyy and its derivatives appear only to the first power and are not multiplied together or placed inside nonlinear functions.

Example

Consider

exy′′′+x2y′′+sin⁡(x)y′+3y=x2−2x+5.e^x y''' + x^2 y''+\sin(x)y'+3y=x^2-2x+5.exy′′′+x2y′′+sin(x)y′+3y=x2−2x+5.

This is linear because:

  • y′′′y'''y′′′ appears to the first power.

  • y′′y''y′′ appears to the first power.

  • y′y'y′ appears to the first power.

  • yyy appears to the first power.

  • The derivatives are not multiplied by one another.

  • No derivative is squared or placed inside a nonlinear function.

The coefficients exe^xex, x2x^2x2, sin⁡(x)\sin(x)sin(x), and 333 may depend on xxx without making the equation nonlinear in yyy.

Linear with Constant Coefficients

A more specialized category is a linear differential equation with constant coefficients. In that case, the coefficients multiplying yyy and its derivatives must be actual constants rather than functions of xxx.

For example, coefficients such as 333, −2-2−2, and 777 are constant coefficients. Coefficients such as exe^xex, x2x^2x2, and sin⁡(x)\sin(x)sin(x) are variable coefficients.

The right-hand side may still be a function of xxx even when the coefficients on the left are constant.


Particular Solutions, Solution Families, and General Solutions

Particular Solution

A particular solution is one specific solution of a differential equation.

It may be:

  • A specific function y=f(x)y=f(x)y=f(x).

  • A specific implicit relation between xxx and yyy.

For example,

y=sin⁡xy=\sin xy=sinx

is one particular solution of

y2+(y′)2=1.y^2+(y')^2=1.y2+(y′)2=1.

Indeed,

y′=cos⁡x,y'=\cos x,y′=cosx,

so

y2+(y′)2=sin⁡2x+cos⁡2x=1.y^2+(y')^2 = \sin^2x+\cos^2x = 1.y2+(y′)2=sin2x+cos2x=1.

Solution Family

A solution family is a collection of solutions depending on one or more parameters.

Consider the differential equation

y2+(y′)2=1.y^2+(y')^2=1.y2+(y′)2=1.

A solution family is

y=sin⁡(x+C),y=\sin(x+C),y=sin(x+C),

where CCC is an arbitrary constant parameter.

For any fixed value of CCC:

y′=cos⁡(x+C).y'=\cos(x+C).y′=cos(x+C).

Substitution gives

y2+(y′)2=sin⁡2(x+C)+cos⁡2(x+C)=1.y^2+(y')^2 = \sin^2(x+C)+\cos^2(x+C) = 1.y2+(y′)2=sin2(x+C)+cos2(x+C)=1.

Therefore, every fixed value of CCC produces a solution.

Different values of CCC generally produce different solutions, so this is an infinite family of solutions with one parameter.

Parameters and Particular Solutions

The expression

y=sin⁡(x+C)y=\sin(x+C)y=sin(x+C)

represents a family, not one single function until CCC is chosen.

For example:

  • Setting C=0C=0C=0 gives y=sin⁡xy=\sin xy=sinx.

  • Setting C=π2C=\frac{\pi}{2}C=2π​ gives y=cos⁡xy=\cos xy=cosx.

  • Setting C=πC=\piC=π gives y=−sin⁡xy=-\sin xy=−sinx.

Each fixed choice of CCC produces a particular solution.


General Solution

A general solution is a solution family intended to include all solutions of the differential equation.

The word “all” is sometimes used flexibly. In some contexts, a claimed general solution may omit unusual, singular, or exceptional solutions. Nevertheless, the essential idea is that a general solution should describe the complete collection of ordinary solutions through its arbitrary parameters.

For the equation

y2+(y′)2=1,y^2+(y')^2=1,y2+(y′)2=1,

the family

y=sin⁡(x+C)y=\sin(x+C)y=sin(x+C)

may be investigated as a possible general solution. Establishing whether it includes every functional solution requires additional theory and cannot be assumed merely from verifying that every member of the family works.


Key Distinctions

Differential Equation vs. Solution

  • A differential equation is a relation involving a variable, a dependent quantity, and derivatives.

  • A solution is a function or relation that makes the differential equation true for all relevant inputs.

Functional Solution vs. Relational Solution

  • A functional solution explicitly writes yyy as f(x)f(x)f(x).

  • A relational solution gives an implicit relationship between xxx and yyy.

  • Relational solutions are checked using implicit differentiation.

Differential Equation vs. Ordinary Equation

  • An ordinary equation may be solved for a numerical variable.

  • A differential equation is solved for a function.

  • A single point cannot satisfy a differential equation because the derivative information is missing.

Particular Solution vs. Solution Family vs. General Solution

  • A particular solution is one specific function or relation.

  • A solution family contains multiple solutions indexed by arbitrary parameters.

  • A general solution is intended to represent all solutions, possibly excepting unusual or singular cases.

Order vs. Degree

  • Order: the largest derivative order appearing.

  • Degree: the polynomial degree in the highest-order derivative, when such a polynomial relationship exists.

  • The degree is not determined by powers of lower-order derivatives.

  • If the highest-order derivative does not appear polynomially, the degree is undefined.

Autonomous vs. Linear

  • Autonomous: the independent variable does not appear explicitly.

  • Linear: the dependent variable and all derivatives appear linearly.

  • These are separate properties; an equation can be autonomous, linear, both, or neither.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent