Differential equation: Difference between revisions

From Calculus
Line 107: Line 107:
* As a general principle, the number of degrees of freedom (i.e., the number of independent freely varying parameters) in the general solution to a differential equation of order <math>k</math> must equal <math>k</math>. There are various exceptions and irregularities, but this is what we should generally expect. Another way of putting this is that the solution space to a differential equation of order <math>k</math> is expected to be <math>k</math>-dimensional.
* As a general principle, the number of degrees of freedom (i.e., the number of independent freely varying parameters) in the general solution to a differential equation of order <math>k</math> must equal <math>k</math>. There are various exceptions and irregularities, but this is what we should generally expect. Another way of putting this is that the solution space to a differential equation of order <math>k</math> is expected to be <math>k</math>-dimensional.
* As a general principle, the number of solutions to an initial value problem should be finite. If the differential equation is nice enough, then there should be a ''unique'' solution to any initial value problem.
* As a general principle, the number of solutions to an initial value problem should be finite. If the differential equation is nice enough, then there should be a ''unique'' solution to any initial value problem.
==Solution strategies==
===General idea for strategy toward a general solution===
The rough idea is to convert the differential equation to a sequence of integration problems. If the differential equation has order <math>k</math>, it should reduce to performing <math>k</math> integrations. Each integration introduces a new freely varying parameter.
{{quotation|'''CAUTION''': There may be other auxiliary integrations that need to be done, e.g., for computation of integrating factors or in order to solve an [[integration by parts]] problem.}}
We see that this general strategy may run into trouble at many levels:
# There is no general-purpose algorithm for converting an arbitrary differential equation to an integration problem or sequence of integration problems. Thus, we may not even be able to get started on the process. For some types of structures of differential equations, strategies are known for converting them to integration problems. For others, we have to use ''ad hoc'' techniques. There exist differential equations for which there is no way of converting them to integration problems.
# Even after we've converted the differential equation to an integration problem, there may not be any analytic methods for computing the antiderivative. Note that this is not such a big issue because there are known techniques for calculating approximate solutions to integration problems even if analytical methods are not available for getting a precise solution.
# Even after we have done the desired antidifferentiations, the solutions that we obtain may be too complicated to give any qualitative or numerical insight about the nature of solutions.
===Going from a particular solution to a general solution===
There are some special types of differential equations where, once we find a particular solution, we can find other solutions, perhaps even the general solution. Some notable cases are considered here:
* For a [[linear differential equation]], finding a general solution is equivalent to finding a particular solution + solving the corresponding [[homogeneous linear differential equation]]. In particular, for a [[linear differential equation with constant coefficients]], there is a closed form expression for the solution of the corresponding homogeneous linear differential equation with constant coefficients, so finding a particular solution is equivalent to finding the general solution.
* For an [[autonomous differential equation]], if <math>y = f(x)</math> is a solution, so is <math>y = f(x + C)</math> for any constant <math>C</math>. Note that this does not give the ''general solution'' if the order is more than one, but it does help move from a particular solution to a solution family with one parameter.
===Solution strategies in particular cases===
Below are some formats of equations for which general strategies are known. Note that the letter <math>f</math> is no longer used for the solution function but may be used for other functions.:
{| class="sortable" border="1"
! Equation type !! Order !! Degree (if polynomial in highest order derivative) !! Quick summary of solution strategy
|-
| [[first-order linear differential equation]] which in simplified form looks like <math>y' + p(x)y = q(x)</math> || 1 || 1 || Use the [[integrating factor]] <math>e^{H(x)}</math> where <math>H'=p</math>. The general solution is <math>y = Ce^{-H(x)} + e^{-H(x)}\int p(x)e^{H(x)} \, dx</math>
|-
| [[separable differential equation]] which is of the form <math>y' = f(x)g(y)</math> (any first-order [[autonomous differential equation]] is separable, though there are separable differential equations that aren't autonomous) || 1 || 1 || Separate and solve as <math>\int \frac{dy}{g(y)} = \int f(x) \, dx</math>. Also find solutions corresponding to <math>y = k</math> where <math>g(k) = 0</math>.
|-
| [[Clairaut's equation]] which is of the form <math>y = xy' + f(y')</math> || 1 || need not be polynomial; if polynomial, may have any degree || <math>y = Cx + f(C)</math> with <math>C \in \R</math> (all straight lines) and a single other solution explicitly described as the solution to <math>x + f(dy/dx) = 0</math>, given by <math>x = -f'(p), y = f(p) - pf'(p)</math> as a parametric curve in terms of <math>p</math>.
|}

Revision as of 16:45, 29 June 2012

Definition

Formal description

The term differential equation, sometimes called ordinary differential equation to distinguish it from partial differential equations and other variants, is an equation involving two variables, an independent variable x and a dependent variable y, as well as the derivatives (first and possibly higher) of y with respect to x. Formally, it is an equation of the form:

F(x,y,y,y,,y(k))=0

where F is a function of k+2 variables. Here k1. Note that F may choose not to use some of the derivatives.

In functional notation, the same differential equation may be written as:

F(x,f(x),f(x),f(x),,f(k)(x))=0

where f is the function such that y=f(x).

Solution concept

  • Functional solution: A function f on the domain of interest is said to be a solution (or functional solution) to the equation if, when we plug in y=f(x), the equation holds true for all x in the domain, i.e.:

F(x,f(x),f(x),f(x),,f(k)(x))=0xdom(f)

Note that in cases of functions defined on closed intervals, we exclude checking the conditions on the boundary of the domain because two-sided derivatives don't make sense at the boundary.

  • Relational solution: A relation R(x,y)=0 is termed a relational solution to the equation if F(x,y,y,y,,y(k))=0 holds true for all x,y if we calculate the derivatives of y with respect to x using implicit differentiation.

Initial value problem

An initial value problem is a differential equation:

F(x,y,y,y,,y(k))=0

accompanied with a tuple (x0,y0,y1,,yk), where we need to find a solution y=f(x) such that f(x0)=y0 and f(i)(x0)=yi for i{1,2,,k}.

Key observations

Differential equations are functional equations

Differential equations are examples of functional equations. A functional equation is an equation where the variable that we are trying to solve for is a function, and the equation holds true for all values of the input to the function. For instance, here is an example of a functional equation (that's not a differential equation):

f(x+y)=f(x)+f(y)x,yR

A solution to a functional equation is a function that satisfies the equation for all choices of inputs. For instance, any function of the form f(x):=ax for fixed aR is a solution to the above functional equation.

Differential equations are functional equations -- we are trying to solve a differential equation, not for the variables, but for the functional relationship between them.

Differential equations capture behavior at a single point

Not every functional equation involving derivatives is a differential equation. Differential equations are characterized by the evaluation of the function and its derivatives all happening at a single point. For instance:

  • x2=f(x)+(f(x))3 is a differential equation because all the function and derivative evaluations happen at x, but
  • x2=f(x)+f(1x) is not a differential equation in our sense of the word because the derivative evaluation happens at 1x rather than x.

Another way of putting this is that differential equations are inherently local and cannot relate the behavior of the function at far-away points.

Functional equations involving derivatives that do not fit this definition of differential equation are also studied, but the study of these is more complicated and requires new techniques. Delay differential equations is one such class of functional equations.

It does not make sense to ask whether a point satisfies a differential equation

Consider a differential equation:

x2=y+y

If I ask the question: does the point x=2,y=3 satisfy the differential equation?, the answer is that the question doesn't make any sense. This is because verifying a differential equation requires knowing the functional relationship between x and y, which in turn allows us to compute the numerical value of y and check whether the equation is satisfied.

Terminology

Equation terminology

Term Meaning Example (don't try to solve these differential equations!)
order of a differential equation it is the largest k for which the kth derivative of the dependent variable appears in the differential equation. The equation y+xy+(y)2=sin(y) has order three because y is the largest derivative appearing.
first-order differential equation differential equation of order one, i.e., it involves only x,y,y. y=sin(x+yy) is a first-order differential equation.
second-order differential equation differential equation of order exactly two, i.e., it involves only x,y,y,y and has at least one appearance of y. xy+cos(y2y)=x2eyy is a second-order differential equation.
degree of a differential equation if the differential equation is polynomial in terms of its highest order derivative, then the degree of that polynomial. (y)2y+(y)5=3xy has degree two.
autonomous differential equation differential equation where the independent variable does not appear explicitly anywhere in the equation. y+y=cos(yyy) is autonomous. On the other hand, y+xy=y is not autonomous
linear differential equation A differential equation of the form pk(x)y(k)+pk1(x)y(k1)++p0(x)y=q(x) where the pis and q are all functions. In other words, the expression is linear in y and its derivatives with coefficients in terms of x. Linear differential equations are usually written with the coefficient of y(k) cleared to 1, by dividing throughout by the coefficient of y(k). exy+x2y+sin(x)y+3y=x22x+5 is linear.
homogeneous linear differential equation A linear differential equation of the form pk(x)y(k)+pk1(x)y(k1)++p0(x)y=0. In other words, the constant term function is zero. exy(4)3x3y+sin(sinx)y=0 is homogeneous linear.
linear differential equation with constant coefficients A linear differential equation of the form aky(k)+ak1y(k1)++a1y+a0y=b where all the ais and b are zero. 2y(5)y(3)+y=13 is linear with constant coefficients.

Solution terminology

Term Meaning Example
particular solution a function or relation that is a solution for the equation (see #Solution concept). A solution in the form of a function y=f(x) is termed a functional solution and a solution in the form of a relation R(x,y)=0 is termed a relational solution. y=sinx is a functional solution to y2+y'2=1.
solution family a family of functions or relations, with one or more parameters possibly subject to some constraints, suc hthat for every choice of parameter values subject to those constraints, we get a particular solution. y=sin(x+C) with parameter CR, is a solution family for y2+y'2=1.
general solution a solution family that covers all solutions (or almost all solutions, possibly excluding some exceptions) The general solution to y=0 is y=C,CR.
solution to initial value problem a particular solution that satisfies the initial value condition. A particular solution to y+y+y=(x+1)2 satisfying y(0)=1 (i.e., y=1 when x=0) is y=x21.

Facts

  • As a general principle, the way to solve a differential equation of order k is to reduce it to a sequence of k integration problems. Each integration problem introduces a new freely varying parameter.
  • As a general principle, the number of degrees of freedom (i.e., the number of independent freely varying parameters) in the general solution to a differential equation of order k must equal k. There are various exceptions and irregularities, but this is what we should generally expect. Another way of putting this is that the solution space to a differential equation of order k is expected to be k-dimensional.
  • As a general principle, the number of solutions to an initial value problem should be finite. If the differential equation is nice enough, then there should be a unique solution to any initial value problem.

Solution strategies

General idea for strategy toward a general solution

The rough idea is to convert the differential equation to a sequence of integration problems. If the differential equation has order k, it should reduce to performing k integrations. Each integration introduces a new freely varying parameter.

CAUTION: There may be other auxiliary integrations that need to be done, e.g., for computation of integrating factors or in order to solve an integration by parts problem.

We see that this general strategy may run into trouble at many levels:

  1. There is no general-purpose algorithm for converting an arbitrary differential equation to an integration problem or sequence of integration problems. Thus, we may not even be able to get started on the process. For some types of structures of differential equations, strategies are known for converting them to integration problems. For others, we have to use ad hoc techniques. There exist differential equations for which there is no way of converting them to integration problems.
  2. Even after we've converted the differential equation to an integration problem, there may not be any analytic methods for computing the antiderivative. Note that this is not such a big issue because there are known techniques for calculating approximate solutions to integration problems even if analytical methods are not available for getting a precise solution.
  3. Even after we have done the desired antidifferentiations, the solutions that we obtain may be too complicated to give any qualitative or numerical insight about the nature of solutions.

Going from a particular solution to a general solution

There are some special types of differential equations where, once we find a particular solution, we can find other solutions, perhaps even the general solution. Some notable cases are considered here:

Solution strategies in particular cases

Below are some formats of equations for which general strategies are known. Note that the letter f is no longer used for the solution function but may be used for other functions.:

Equation type Order Degree (if polynomial in highest order derivative) Quick summary of solution strategy
first-order linear differential equation which in simplified form looks like y+p(x)y=q(x) 1 1 Use the integrating factor eH(x) where H=p. The general solution is y=CeH(x)+eH(x)p(x)eH(x)dx
separable differential equation which is of the form y=f(x)g(y) (any first-order autonomous differential equation is separable, though there are separable differential equations that aren't autonomous) 1 1 Separate and solve as dyg(y)=f(x)dx. Also find solutions corresponding to y=k where g(k)=0.
Clairaut's equation which is of the form y=xy+f(y) 1 need not be polynomial; if polynomial, may have any degree y=Cx+f(C) with CR (all straight lines) and a single other solution explicitly described as the solution to x+f(dy/dx)=0, given by x=f(p),y=f(p)pf(p) as a parametric curve in terms of p.