Differential equation: Difference between revisions
style: Oxford commas, colons instead of em dashes. AI-assisted (RonzzWikiCowriter) (via update-page on MediaWiki MCP Server) |
No edit summary |
||
| Line 1: | Line 1: | ||
'''A differential equation''' is an equation | '''A differential equation''' is an equation which relates an unknown function to its derivatives. | ||
It has the general form: | |||
{{#content:Q1998}} | |||
== Ordinary v. differential equation == | |||
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)$. | |||
== 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 $x(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. | is of order 2: the unknown $x$ appears together with its second derivative, while the net force $F$ is given. | ||
=== Linearity === | |||
A differential equation is '''linear''' when all of the following conditions are satisfied: | |||
* 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 | |||
{{#content:Q1605}} | {{#content:Q1605}} | ||
$$ | $$ | ||
\begin{cases} | \begin{cases} | ||
\dot{y}=2y & \text{linear, homogeneous} \\ | \dot{y}=2y & \text{linear, homogeneous} \\ | ||
y | \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 y} | ||
\end{cases} | \end{cases} | ||
$$ | $$ | ||
If the unknown function depends on several independent variables, | === Ordinary v. partial differential equation === | ||
A differential equation is '''ordinary''' if there is only one independent variable. | |||
If the unknown function depends on several independent variables, the equation is a '''partial''', as the function can only be partially differentiated according to a given variable. | |||
For example: The heat equation | |||
{{#content:Q1590}} | {{#content:Q1590}} | ||
for the temperature $u(x,t)$ of a one-dimensional bar is | for the temperature $u(x,t)$ of a one-dimensional metal bar is a partial differential equation. | ||
== Solutions == | == Solutions == | ||
Many differential equations have multiple solutions. | |||
For example, $y=Ce^{2t}$ solves $\dot{y}=2y$ for every constant $C$, since | |||
$$y=Ce^{2t} \ \Longrightarrow\ \dot{y}=2Ce^{2t}=2y$$ | $$y=Ce^{2t} \ \Longrightarrow\ \dot{y}=2Ce^{2t}=2y$$ | ||
So the equation has infinitely many solutions, all in the family of $y=Ce^{2t}$. We call the whole solution family its '''general solution'''. | |||
In | In general, for a linear equation of order $n$, the general solution contains exactly $n$ arbitrary constants. | ||
Therefore, prescribing values of the solution and of its derivatives fixes those constants and selects one '''particular solution''' from the general solution family. | |||
For instance, for $\dot{y}=2y$, the single condition $y(0)=3$ fixes the constant: | |||
$$3= | $$ | ||
3=Ce^0 \\ | |||
C=3 | |||
$$ | |||
In general, if conditions are imposed at a single point, it is called an '''initial condition'''; if they are imposed at two different points, they are called '''boundary conditions'''. | |||
== 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''': | ||
** [[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 | |||
Some methods exist to transform differential equations that cannot be directly solved into directly solvable forms: | |||
* [[Power series]] | |||
* [[Laplace transform]] | |||
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. | |||
<ref>{{#cite:Q1577}}</ref> | |||
== Application == | |||
Laws of nature describe often change of quantities, and differential equations are often natural fits for translation into formal mathematics. | |||
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}$. | |||
<ref>{{#cite:Q1981}}</ref> | |||
== See also == | == See also == | ||
| Line 75: | Line 117: | ||
* [[Ordinary differential equation]] | * [[Ordinary differential equation]] | ||
* [[Partial differential equation]] | * [[Partial differential equation]] | ||
== Further reading == | == Further reading == | ||
* [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 | ||
Revision as of 13:32, 7 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.$$
Ordinary v. differential equation
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)$.
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 $x(t)$,
$$m\frac{d^{2}\vec r}{dt^{2}}=\vec F$$
is of order 2: the unknown $x$ appears together with its second derivative, while the net force $F$ is given.
Linearity
A differential equation is linear when all of the following conditions are satisfied:
- 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
$$a_n(x)\,y^{(n)}+a_{n-1}(x)\,y^{(n-1)}+\cdots+a_1(x)\,y'+a_0(x)\,y=g(x)$$
with coefficients $a_{0}$, …, $a_{n}$ that depend on the independent variable $x$ only, and a given source term $g(x)$;
When $g(x)=0$ the equation is homogeneous.
$$ \begin{cases} \dot{y}=2y & \text{linear, homogeneous} \\ \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 y} \end{cases} $$
Ordinary v. partial differential equation
A differential equation is ordinary if there is only one independent variable.
If the unknown function depends on several independent variables, the equation is a partial, as the function can only be partially differentiated according to a given variable.
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.
Solutions
Many differential equations have multiple solutions.
For example, $y=Ce^{2t}$ solves $\dot{y}=2y$ for every constant $C$, since
$$y=Ce^{2t} \ \Longrightarrow\ \dot{y}=2Ce^{2t}=2y$$
So the equation has infinitely many solutions, all in the family of $y=Ce^{2t}$. We call the whole solution family its general solution.
In general, for a linear equation of order $n$, the general solution contains exactly $n$ arbitrary constants.
Therefore, prescribing values of the solution and of its derivatives fixes those constants and selects one particular solution from the general solution family.
For instance, for $\dot{y}=2y$, the single condition $y(0)=3$ fixes the constant:
$$\begin{gathered} 3=Ce^0 \\ C=3 \end{gathered}$$
In general, if conditions are imposed at a single point, it is called an initial condition; if they are imposed at two different points, they are called boundary conditions.
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.
Application
Laws of nature describe often change of quantities, and differential equations are often natural fits for translation into formal mathematics.
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}$.
See also
Further reading
- Differential Equation, Wolfram MathWorld
- 18.03SC Differential Equations, MIT OpenCourseWare