Differential equation: Difference between revisions

From Wikibase
Jump to navigation Jump to search
style: Oxford commas, colons instead of em dashes. AI-assisted (RonzzWikiCowriter) (via update-page on MediaWiki MCP Server)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''A differential equation''' is an equation whose unknown is a function, and which relates that function to its derivatives. An ordinary equation such as $x^2=9$ is solved by numbers; a differential equation such as $\dot{y}=2y$ is solved by functions $y(t)$.
'''A differential equation''' is an equation which relates an unknown function to its derivatives.  


== General form ==
It has the general form:


For an unknown function $y$ of one independent variable $x$, the general form is
{{#content:Q1998}}


{{#content:Q1580}}
== Regular v. differential equation ==


where $y'$, $y''$, … are the successive derivatives of $y$ and $F$ is a given expression of its $n+2$ arguments. The '''order''' of the equation is the order $n$ of the highest derivative that appears. Newton's second law of motion for a body of mass $m$ at position $x(t)$,
A regular equation such as $x^2=9$ is solved by numbers; a differential equation such as $\dot{y}=2y$ is solved by functions $y$.
 
<blockquote>
$\dot{y}$ and $y'$ are alternative notations for $\frac{dy}{dx}$
</blockquote>
 
== Classification ==
 
=== Order ===
 
The '''order''' of the equation is the order $n$ of the highest derivative that appears.  
 
For instance, Newton's second law of motion for a body of mass $m$ at position $r(t)$,


{{#content:Q1583}}
{{#content:Q1583}}


is of order 2: the unknown $x$ appears together with its second derivative, while the net force $F$ is given.<ref>{{#cite:Q1982}}</ref>
is of order 2 with regard to $\vec r$.
 
=== Linearity ===


== Classification ==
A differential equation is '''linear''' when all of the following conditions are satisfied:


A differential equation is '''linear''' when the unknown function and its derivatives appear only to the first power, are never multiplied together, and are never the argument of another function. A linear equation of order $n$ reads
The unknown function and its successive derivatives


{{#content:Q1605}}
* appear only to the first power,
* are never multiplied together,
* and are never the arguments of another function.


with coefficients $a_{0}$, …, $a_{n}$ that depend on the independent variable only, and a given '''source term''' $g(x)$; when $g=0$ the equation is '''homogeneous''':
'''Examples:'''


$$
$$
\begin{cases}
\begin{cases}
\dot{y}=2y & \text{linear, homogeneous} \\
\dot{y}=2y & \text{linear} \\
y'=y^{2} & \text{nonlinear: square of the unknown} \\
\dot{y}=y^{2} & \text{nonlinear: square of the unknown function y} \\
\ddot{\theta}+\dfrac{g}{L}\sin\theta=0 & \text{nonlinear: sine of the unknown}
\ddot{\theta}+\dfrac{g}{L}\sin\theta=0 & \text{nonlinear: sine of the unknown function} \theta(t)
\end{cases}
\end{cases}
$$
$$


If the unknown function depends on several independent variables, only partial derivatives appear, and the equation is a '''partial differential equation'''. The heat equation
See [[linear differential equation]] for the mathematical definition and special properties.
 
=== Ordinary v. partial differential equation ===
 
A differential equation is '''ordinary''' if there is only one independent variable.
 
A differential equation is '''partial''' if there are several independent variables.
 
For example: The heat equation


{{#content:Q1590}}
{{#content:Q1590}}


for the temperature $u(x,t)$ of a one-dimensional bar is the standard example. An equation whose unknown depends on a single independent variable is an '''ordinary differential equation''', treated in [[Ordinary differential equation]]; partial differential equations are treated in [[Partial differential equation]].<ref>{{#cite:Q1981}}</ref>
for the temperature $u(x,t)$ of a one-dimensional metal bar is a partial differential equation.


== Solutions ==
== Methods of solution ==
 
A '''solution''' of a differential equation is a function that satisfies it: substituting the function and its derivatives into the equation must give an identity in the independent variable, on some interval. For example $y=Ce^{2t}$ solves $\dot{y}=2y$ for every constant $C$, since


$$y=Ce^{2t} \ \Longrightarrow\ \dot{y}=2Ce^{2t}=2y$$
No general formula solves all differential equations, just as no general formula solves all algebraic equations.


Every value of $C$ gives a solution, so the equation has infinitely many. The whole family is its '''general solution'''; for a linear equation of order $n$ the general solution contains exactly $n$ arbitrary constants. Prescribing values of the solution and of its derivatives fixes those constants and selects one '''particular solution'''.
Some simple differential equations can be solved algebraically:


In the simplest case the derivative is a given function of $x$ alone. Integrating both sides of $y'=x$ then gives the general solution,
* '''Ordinary differential equations''':
** [[1st order ODE|First-order]]: separation of variables, integrating factor
** linear equations with constant coefficients, of the second and higher orders: by their characteristic equation
* '''Partial differential equations''': separation of variables
** First-order: method of characteristics


$$y'=x \ \Longrightarrow\ \int y'\,dx=\int x\,dx \ \Longrightarrow\ y=\frac{x^{2}}{2}+C$$
Some methods exist to transform differential equations that cannot be directly solved into directly solvable forms:


and the single condition $y(0)=3$ fixes the constant:
* [[Power series]]
* [[Laplace transform]]


$$3=\frac{0^{2}}{2}+C \ \Longrightarrow\ C=3 \ \Longrightarrow\ y=\frac{x^{2}}{2}+3$$
More complex differential equations that cannot be solved algebraically can be analysed otherwise:


A condition imposed at one point is an '''initial condition''', and an equation together with initial conditions is an '''initial value problem''':
* '''Numerical solution''': [[Euler's method]] and its higher-order refinements step along the direction field, when only numbers are required.
* '''Qualitative analysis''': equilibria, stability, and long-term behaviour, read directly from the equation.


{{#content:Q1582}}
<ref>{{#cite:Q1577}}</ref>


Conditions imposed at two different points are '''boundary conditions''', and the problem is a boundary value problem. Most differential equations are satisfied by none of the elementary functions, and then no formula for the solution exists.<ref>{{#cite:Q1576}}</ref>
== Application ==


== Methods of solution ==
Differential equations can describe complex relationships between quantities and their rates of change in nature.


No formula solves all differential equations, just as no formula solves all algebraic equations. Each class has its own method:
For instance,  


* '''Ordinary differential equations''': a single independent variable; the method depends on the order. [[1st order ODE|First-order equations]] are solved by separation of variables, by an integrating factor, or by the exactness criterion; linear equations with constant coefficients, of the second and higher orders, by their characteristic equation.
* Newton's second law can be stated as $m\ddot{\mathbf{r}}=\mathbf{F}$
* '''Partial differential equations''': several independent variables; solved by separation of variables or, at the first order, by the method of characteristics.
* The decay of a radioactive sample and the growth of an unchecked population both follow $\dot{y}=ky$
* '''Numerical methods''': [[Euler's method]] and its higher-order refinements step along the direction field, when only numbers are required.
* Conduction of heat through a solid is described by the partial differential equation $u_{t}=\alpha u_{xx}$.
* '''Qualitative methods''': equilibria, stability, and long-term behaviour, read directly from the equation.
* '''Series and transforms''': the unknown written as a [[power series]], or the equation turned into an algebraic one by the [[Laplace transform]].<ref>{{#cite:Q1577}}</ref>


== Where differential equations arise ==
<blockquote>
$\ddot{r}$, $u_{t}$ and $u_{xx}$ are alternative notations for $\frac{d^2r}{dt^2}$, $\frac{\partial u}{\partial t}$ and $\frac{\partial^{2}u}{\partial x^{2}}$.
</blockquote>


Most laws of nature state how a quantity changes, so they are written as differential equations: mechanics states Newton's second law as $m\ddot{\mathbf{r}}=\mathbf{F}$, the decay of a radioactive sample and the growth of an unchecked population follow $\dot{y}=ky$, and the conduction of heat through a solid is the partial differential equation $u_{t}=\alpha u_{xx}$. Solving the equation turns the law into a prediction, such as the quantity of the sample remaining at a later time or the temperature at a point of the solid.<ref>{{#cite:Q1981}}</ref>
<ref>{{#cite:Q1981}}</ref>


== See also ==
== See also ==
Line 75: Line 103:
* [[Ordinary differential equation]]
* [[Ordinary differential equation]]
* [[Partial differential equation]]
* [[Partial differential equation]]
== References ==
<references/>


== Further reading ==
== Further reading ==


* [https://en.wikipedia.org/wiki/Differential_equation Differential equation], Wikipedia
* [https://mathworld.wolfram.com/DifferentialEquation.html Differential Equation], Wolfram MathWorld
* [https://mathworld.wolfram.com/DifferentialEquation.html Differential Equation], Wolfram MathWorld
* [https://ocw.mit.edu/courses/18-03sc-differential-equations-fall-2011/ 18.03SC Differential Equations], MIT OpenCourseWare
* [https://ocw.mit.edu/courses/18-03sc-differential-equations-fall-2011/ 18.03SC Differential Equations], MIT OpenCourseWare

Latest revision as of 06:06, 12 October 2026

A differential equation is an equation which relates an unknown function to its derivatives.

It has the general form:

$$F\!\left(x_1,\dots,x_m,\;u,\;\frac{\partial u}{\partial x_1},\dots,\frac{\partial u}{\partial x_m},\;\frac{\partial^2u}{\partial x_1^2},\dots,\frac{\partial^\alpha u}{\partial x_1^{\alpha_1}\cdots\partial x_m^{\alpha_m}},\dots\right)=0, \qquad \alpha=(\alpha_1,\dots,\alpha_m)\in\mathbb N^m.$$

Regular v. differential equation

A regular equation such as $x^2=9$ is solved by numbers; a differential equation such as $\dot{y}=2y$ is solved by functions $y$.

$\dot{y}$ and $y'$ are alternative notations for $\frac{dy}{dx}$

Classification

Order

The order of the equation is the order $n$ of the highest derivative that appears.

For instance, Newton's second law of motion for a body of mass $m$ at position $r(t)$,

$$m\frac{d^{2}\vec r}{dt^{2}}=\vec F$$

is of order 2 with regard to $\vec r$.

Linearity

A differential equation is linear when all of the following conditions are satisfied:

The unknown function and its successive derivatives

  • appear only to the first power,
  • are never multiplied together,
  • and are never the arguments of another function.

Examples:

$$ \begin{cases} \dot{y}=2y & \text{linear} \\ \dot{y}=y^{2} & \text{nonlinear: square of the unknown function y} \\ \ddot{\theta}+\dfrac{g}{L}\sin\theta=0 & \text{nonlinear: sine of the unknown function} \theta(t) \end{cases} $$

See linear differential equation for the mathematical definition and special properties.

Ordinary v. partial differential equation

A differential equation is ordinary if there is only one independent variable.

A differential equation is partial if there are several independent variables.

For example: The heat equation

$$\frac{\partial u}{\partial t}=\alpha\frac{\partial^{2}u}{\partial x^{2}}$$

for the temperature $u(x,t)$ of a one-dimensional metal bar is a partial differential equation.

Methods of solution

No general formula solves all differential equations, just as no general formula solves all algebraic equations.

Some simple differential equations can be solved algebraically:

  • Ordinary differential equations:
    • First-order: separation of variables, integrating factor
    • linear equations with constant coefficients, of the second and higher orders: by their characteristic equation
  • Partial differential equations: separation of variables
    • First-order: method of characteristics

Some methods exist to transform differential equations that cannot be directly solved into directly solvable forms:

More complex differential equations that cannot be solved algebraically can be analysed otherwise:

  • Numerical solution: Euler's method and its higher-order refinements step along the direction field, when only numbers are required.
  • Qualitative analysis: equilibria, stability, and long-term behaviour, read directly from the equation.

[1]

Application

Differential equations can describe complex relationships between quantities and their rates of change in nature.

For instance,

  • Newton's second law can be stated as $m\ddot{\mathbf{r}}=\mathbf{F}$
  • The decay of a radioactive sample and the growth of an unchecked population both follow $\dot{y}=ky$
  • Conduction of heat through a solid is described by the partial differential equation $u_{t}=\alpha u_{xx}$.

$\ddot{r}$, $u_{t}$ and $u_{xx}$ are alternative notations for $\frac{d^2r}{dt^2}$, $\frac{\partial u}{\partial t}$ and $\frac{\partial^{2}u}{\partial x^{2}}$.

[2]

See also

Further reading