Review
This section is primarily a review of the differential equations studied in Section 5 of Chapter 5 and also in Section 8 of Chapter 6. We begin by recalling the definition of a first-order differential equation (see page 272): Consider an equation [math]F(x, y, z) = 0[/math] in which not all the variables need occur, but at least [math]z[/math] does. The equation
obtained by substituting [math]\frac{dy}{dx}[/math] for [math]z[/math], is a first-order differential equation. By a solution of (1) is meant any differentiable function [math]f[/math] for which the equation
is true for every [math]x[/math] in the domain of [math]f[/math]. If [math]f[/math] is a solution, we write
The general problem, given a differential equation, is to find all its solutions. A more specialized problem is to find a particular solution [math]y = f(x)[/math] which has a specified value [math]b[/math] at some specified number [math]a[/math], i.e., a solution for which [math]b = f(a)[/math]. The simplest first-order differential equations are those of the type [math]\frac{dy}{dx} = f(x)[/math], where [math]f[/math] is some given function (not to be confused with the solutions [math]f[/math] discussed in the preceding paragraph). Every solution of this differential equation can be written
for some real number [math]c[/math]. Hence if [math]c[/math] is left as an arbitrary undetermined constant of integration, we call [math]\int f(x) dx + c[/math] the general solution. We next considered differential equations of the form [math]\frac{dy}{dx} = \frac{f(x)}{g(y)}[/math], in which [math]f[/math] and [math]g[/math] are given functions. Equations of this type are called separable, since, if we use the fact that the derivative is equal to the ratio of two differentials, we can “separate” the expression containing [math]x[/math] from that containing [math]y[/math] by writing the equivalent differential equation
Integrating both sides, we get the equation
which defines the general solution y implicitly as a function of [math]x[/math]. Note that the differential equation [math]\frac{dy}{dx} = f(x)[/math] discussed in the preceding paragraph is a separable equation in which [math]g(y) = 1[/math]. Of special interest among separable equations is the first-order linear differential equation [math]\frac{dy}{dx} + ky = 0[/math], in which [math]k[/math] is a constant. This is the type of differential equation which describes the rate of decay of a radioactive substance and also the rate of growth of bacteria in a culture. lt can be solved without difficulty as a separable differential equation (see pages 276 and 277). However, this equation occurs sufficiently often and has such an obvious general solution that most people recognize it at sight. The general solution is
Example Find the general solution of each of the following differential equations:
- [math]\frac{dy}{dx} = \tan^4 x \sec^2 x,[/math]
- [math]\frac{dy}{dx} = e^{x+y},[/math]
- [math]\frac{dy}{dx} + 14y = 0.[/math]
In (b) find the particular solution [math]y = f(x)[/math] such that [math]f(0) = -\ln2[/math], and in (c) find the particular solution which has value 5 when [math]x = 0[/math]. The general solution of (a) can be obtained directly by integrating:
Equation (b) is separable, since [math]\frac{dy}{dx} = e^{x+y} = e^x e^y[/math]. Hence we may write
Integrating both sides, we obtain the equation
which defines [math]y[/math] implicitly as a function of [math]x[/math]. In this case, it is not difficult to solve for [math]y[/math] explicitly. We first get [math]e^y = \frac{1}{-c - e^x}[/math]. Replacing the arbitrary constant [math]-c[/math] by simply [math]c[/math], and taking logarithms, we then obtain
as the general solution. To find the particular solution [math]y = f(x)[/math] for which [math]f(0) = - \ln 2[/math], we substitute these values in equation (2) and solve the resulting equation for [math]c[/math]. Thus
Since [math]-\ln 2 = \ln \frac{1}{2}[/math], it follows that [math]2 = c - 1[/math], and so [math]c = 3[/math]. Hence the particular solution required is
The general solution of (c) can be written down on inspection. It is
The particular solution which has value 5 when [math]x[/math] equals 0 is obtained by writing
Hence the particular solution is
The definition of an nth-order differential equation, [math]n \geq 1[/math], is entirely analogous to that of a first-order equation. Let [math]F(x, y_0, y_1, ...., y_n) = 0[/math] be an equation in [math]n + 2[/math] variables in which not all the variables occur, but at least [math]y_n[/math] does. Then the equation
obtained by substituting the ith derivative [math]\frac{d^iy}{dx^i}[/math] for [math]y_i[/math] (where it is understood tliat [math]\frac{d^0y}{dx^0} = y[/math]), is an [math]n[/math]th-order differential equation. A solution is any [math]n[/math]-timesdifferentiable function [math]f[/math] such that the equation
is true for every [math]x[/math] in the domain of [math]f[/math]. Our study of higher-order differential equations has thus far been Ihnited to those of the type
where [math]a[/math] and [math]b[/math] are constants. Such an equation is a second-order, linear, homogeneous differential equation with constant coefficients (see page 344). It is called “linear” because [math]y[/math] and its derivatives occur to no power higher than the first, “homogeneous,” because the right side is zero, and “with constant coefficients,” because a and b are constants. You will recall that the form of the general solution of the differential equation (4) is determined by the nature of the roots of its characteristic equation [math]t^2 + at + b = 0[/math]. The roots of this equation are given by the quadratic formula
and there are three cases depending on the discriminant [math]a^2 - 4b[/math]. \medskip Case 1. If [math]a^2 - 4b[/math] is positive, then there are two distinct real roots [math]r_1[/math] and [math]r_2[/math] In this case the general solution of (4) is
where [math]c_1[/math] and [math]c_2[/math], are arbitrary constants. \medskip Case 2. If [math]a^2 - 4b = 0[/math], then [math]r_1 = r_2 = r[/math] and the general solution of the differential equation (4) is
where [math]c_1[/math] and [math]c_2[/math], are arbitrary constants. \medskip Case 3. If [math]a^2 - 4b[/math] is negative, then [math]r_1[/math] and [math]r_2[/math] are distinct conjugate complex numbers, i.e., [math]r_1 = \alpha + i\beta, r_2 = \alpha - \beta[/math], and [math]\beta \neq 0[/math]. In this case the general solution of (4) is
where [math]c_1[/math] and [math]c_2[/math], are arbitrary constants. The above statements imply that, if [math]y[/math] is any solution of the differential equation (4), then there exist real numbers [math]c_1[/math] and [math]c_2[/math] such that
This fact, first stated in Section 8 of Chapter 6, has not yet been proved, but will be in Section 4. Although we have thus far not used the letter [math]D[/math] to denote the derivative, this notation is quite useful in the study of differential equations. We write [math]Dy[/math] for [math]\frac{dy}{dx}[/math] and [math]D^2y[/math] for [math]\frac{d^2y}{dx^2}[/math]. We then combine these symbols and the conventions of algebra to write [math](D^2 + aD + b)y[/math] for [math]D^2y + aDy + by[/math]. In so doing we have defined a function, denoted by [math]D^2 + aD + b[/math], which has the set of twice-differentiable functions as its domain and a set of functions as its range. This function assigns to each function [math]y[/math] in its domain the function
as value. Such a function is an example of a differential operator. Using it, the differential equation [math]\frac{d^2y}{dx^2} + a \frac{dy}{dx} + by = 0[/math] can be written
Note the similarity between the operator and the characteristic equation of the differential equation. The latter is the equation obtained by replacing [math]D[/math] in the operator by [math]t[/math] and setting the resulting quadratic polynomial equal to zero.
Example
Find the general solution of each of the following differential equations:
- [math]\frac{d^2y}{dx^2} - 5 \frac{dy}{dx} + 6y = 0,[/math]
- [math](D^2 + 6D + 9)y = 0,[/math]
- [math](D^2 - 6D + 10)y = 0.[/math]
For the first, the characteristic equation is [math]t^2 - 5t + 6 = 0[/math], which is equivalent to [math](t - 2)(t - 3) = 0[/math]. Hence the two roots are 2 and 3, and the general solution is given by
In (b), the characteristic equation is [math]t^2 + 6t + 9 = 0[/math], which is equivalent to [math](t + 3)^2 = 0[/math]. Thus there is only one root, [math]- 3[/math]. The solutions of the differential equation are therefore all functions
where [math]c_1[/math], and [math]c_2[/math] are arbitrary constants. The characteristic equation for (c) is [math]t^2 - 6t + 10 = 0[/math] and, since its discriminant is equal to [math]-4[/math], the roots are not real. Solving the quadratic equation, we find that the roots are [math]3 + i[/math] and [math]3 - i[/math]. Hence the general solution is
Example
Find the particular solution of the differential equation [math]D(D - 5)y = 0[/math] which has value equal to 2 and derivative equal to [math]-15[/math] when [math]x = 0[/math]. The characteristic equation is [math]t(t - 5) = 0[/math], whose roots are obviously 0 and 5. The general solution is therefore
The derivative is
When [math]x = 0[/math], we are told that [math]y = 2[/math] and [math]y' = -15[/math]. Substituting these values in the preceding equations, we obtain
It follows that [math]c_2 = - 3[/math] and thence that [math]c_1 = 5[/math]. Hence the required solution is
It is extremely useful to recognize alternative forms of the general solution of the differential equation [math](D^2 + aD + b)y = 0[/math] in the case where the roots of the characteristic equation are the complex numbers [math]\alpha + i\beta[/math] and [math]\alpha - i \beta[/math]. In particular, it is easy to verify that the functions
where [math]c[/math] and [math]k[/math] are arbitrary real numbers, are both solutions. To see that this is so, we expand (5) using the trigonometric identity for the sine of the sum of two numbers. The result is
Setting [math]c_1 = c \sin k[/math] and [math]c_2 = c \cos k[/math], we obtain [math]y = e^{\alpha x}(c_1\cos \beta x + c_2\sin \beta x)[/math], which we know to be a solution. The proof for (6) is analogous. Conversely, any solution [math]y = e^{\alpha x}(c_1 \cos \beta x + c_2 \sin \beta x)[/math] can be written in the forms (5) and (6). For if both [math]c_1 = c_2 = 0[/math], then [math]y = 0[/math], and we need only set [math]c = 0[/math] in (5) and (6). If [math]c_1[/math] and [math]c_2[/math] are not both zero, then [math]\sqrt{c_1^2 + c_2^2} \neq 0[/math], and we can write
To put this equation in the form of (5), we set [math]c = \sqrt{c_1^2 + c_2^2}[/math] and observe that, since
it follows from our definition of the functions sine and cosine that there exists a real number [math]k[/math] such that [math]\cos k = \frac{c_2}{\sqrt{c_1^2 + c_2^2}}[/math] and [math]\sin k = \frac{c_1}{\sqrt{c_1^2 + c_2^2}}[/math]. Hence we get
Again, by an analogous argument, the solution can also be written in the form of equation (6). An advantage in using the forms (5) and (6) for the general solution is that it is easy to see what the graphs of such functions look like. As the next example illustrates, they are all sinusoidal curves lying between the graphs of [math]y= ce^{\alpha x}[/math] end [math]y= -ce^{\alpha x}[/math].
Example
Find and draw the graph of the particular solution of the differential equation [math](D^2 + 2D + \pi^2 + 1)y = 0[/math] which has value [math]\sqrt 2[/math] and derivative equal to [math](\pi - 1) \sqrt 2[/math] when [math]x= 0[/math]. The characteristic equation is [math]t^2 + 2t + \pi^2 + 1 = 0[/math], which has roots [math]-1 + i\pi[/math] and [math]-1 - i\pi[/math]. Hence one form of the general solution is
lts derivative is
Substituting the given values of [math]y[/math] and [math]\frac{dy}{dx}[/math] when [math]x = 0[/math] into the preceding two equations, we get
Hence, [math](\pi - 1)\sqrt 2 = -\sqrt 2 + c\pi \cos k[/math], from which we obtain
Since [math]c \cos k[/math] does not equal zero, it follows that
and so [math]k = \frac{\pi}{4}[/math]. This implies that [math]c = 2[/math], and we conclude that the particular solution is
The graph of this equation is drawn in Figure 1. Such a curve is frequently called an “exponentially damped sine wave.”
General references
Doyle, Peter G. (2008). "Crowell and Slesnick's Calculus with Analytic Geometry" (PDF). Retrieved Oct 29, 2024.