Motivation
The equations studied in Algebra, such as ,
they express static numerical relationships, and their solution is numbers that fulfill the equation. Now, the most interesting natural phenomena involve dynamic relationships and are best expressed with relationships between variable quantities, that is, with equations that are not static, but express variations and relationships between changing magnitudes: they are the differential equations.
Recall that the derivative of a function can be interpreted as the proportion of change of the dependent variable
with respect to the changes in the dependent variable
. That is why equations describing changes use derivatives of functions.
Definition 1: An equation containing an unknown function and one or more of its derivatives is called a differential equation. By solving it, we get functions that verify the equation. If the function has only one independent variable, the equation is called the ordinary differential equation. If the function depends on two or more variables, the derivatives will be partial and the equation is called the partial differential equation. The order of a differential equation is that of the highest derivative that appears in the equation.
In this post we will only introduce ordinary differential equations, giving some definitions, and solving the most immediate ones.
Example 1: The variation of the temperature T of a body with respect to time is proportional to the difference where A is the temperature of the environment (Newton's cooling law). The physical law is represented by a first-order ordinary differential equation (EDO of order 1):
Example 2: The variation with respect to the time of a population with constant rates of birth and mortality is proportional to the size of the population, and is also an EDO of order 1:
Example 3: Torricelli's law states that the variation with respect to the time of volume V of water in a tank being emptied is proportional to the square root of the depth and water of the reservoir:
Example 4: The distance traveled in the accelerated motion of a mass body m subjected to a variable force
is given by an EDO of order 2:
Definition 2: A function is called a solution of a differential equation if the equation is fulfilled when
and its derivatives are replaced by
and their derivatives, respectively. A particular solution of a differential equation is any solution that is obtained by assigning concrete values to the constants in the general solution. In practice, particular solutions are obtained from initial conditions that provide the value of the dependent variable or any of its derivatives for a particular value of the independent variable.
Example 5: of the differential equation are solutions: a)
, b)
c)
for any real C value. Solution (b) is a particular solution obtained from general solution (c). Although less obvious, also solution a) is a particular solution obtained from the general solution (it can be seen using Taylor's developments of the exponential function and the sine function).
Bundle of curves and first-order differential equations
Another way to introduce differential equations is from the geometric point of view. Consider the graph of the function for all possible real values of C. The image represents the values C=1, 2, 4, 8.
A bundle of plane curves is the set of all curves that are graphs of a general function . When we give C all possible values, the generated curves fill an R region of the plane; in the case of the image above that region is the entire upper half-plane
In general the R region will depend on the beam.
We ask ourselves now: for each point of the plane there will be a single value C such that it defines us unequivocally the function
that passes through that point? We can put it in these terms: fixing
the function F becomes dependent only on C:
; For each value of and will there be a unique value of C? This will be the case as long as the function f is strictly increasing or decreasing in R, and that will happen when its derivative is not overridden:
. In this case it is as if we had another function
of two variables that determines C for each point in the plane.
In the example of the previous image, fixing any we obtain
, this value is always non-zero except in the origin of coordinates, therefore for the beam
we have uniqueness in the sense that given a
there is a single value
that determines the curve that passes through that point; by the origin
instead all the curves of the beam pass.
If we derive the equation from the beam we obtain , then, substituting the previous value
we eliminate the C to obtain:
, which is the differential equation of the bundle of curves, which is a first-order equation.
Example 6: Find the differential equation of the plane curved beam
The R region is the union of the +X+Y and -X-Y quadrants, some curves are shown in the figure.
Setting any we get
. This value will be zero whenever
In this set of points all the curves of the beam coincide, and in the rest of the points we have uniqueness: a single curve for each point, given by:
.
Deriving the equation of the beam: We substitute the value of C:
Definition 2: The beam of curves is the general solution of the ordinary differential equation; if we fix a value of
, we obtain a single curve of the beam, which we call the particular solution of the ordinary differential equation.
Example 7: The curve beam is the general solution of the differential equation
. By the point
passes a single curve,
, which is a particular solution of the differential equation.
Existence and uniqueness of the solution of a first-order differential equation
We have seen that to obtain the differential equation of a beam of curves you have to derive and eliminate the constant. We now pose the inverse problem: given any differential equation, is there "its" bundle of curves as we have defined it? The following theorem answers us for the case of first-order equations.
Theorem 1: existence and uniqueness. If we have a differential equation given in the form such that the function f is derivable from all orders (there are all derivatives of any order) in an environment of
, then there exists a single curve
such that it passes through the point
and satisfies the equation
Immediate first-order ordinary differential equations
We see in this section only the 1st order OEDs simplest to solve, in other posts we will see the more general cases.
Equations of type 
They are integrable directly, writing them as
Example 8: Solving the differential equation
The equation is equivalent to
Equations of type 
If is a function, the equations of type
have as a solution the set of functions
where C is any real number. In general, a differential equation has infinite solutions.
Example 9: The solution of the equation which establishes the evolution of a population
with constant birth and mortality rates is any function of the form
.
Example 10: Suppose is the population of a colony of bacteria at time t, that the population in
is 1000, and that the population doubles in one hour. Then we can say that
therefore 1000 and
, then
.
The condition 1000 is called the initial condition because normally the value
0 is taken as the initial state. When we give an initial condition, the solution of the differential equation will no longer have infinite solutions in general, but will have only one, or perhaps none if the conditions are incompatible. Equivalently, by giving an initial condition we pass, if it exists, from the general solution to the particular solution that satisfies that condition. Thus, the initial condition
1000 has no solution of the type
.
Example 11: To solve the equation with the initial condition
we do
, as
must be
.
Bibliography
DIFFERENTIAL EQUATIONS – Theoretical summary and collection of solved and proposed exercises.