guide:Dd79f3038d: Difference between revisions
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="d-none"><math> | |||
\newcommand{\ex}[1]{\item } | |||
\newcommand{\sx}{\item} | |||
\newcommand{\x}{\sx} | |||
\newcommand{\sxlab}[1]{} | |||
\newcommand{\xlab}{\sxlab} | |||
\newcommand{\prov}[1] {\quad #1} | |||
\newcommand{\provx}[1] {\quad \mbox{#1}} | |||
\newcommand{\intext}[1]{\quad \mbox{#1} \quad} | |||
\newcommand{\R}{\mathrm{\bf R}} | |||
\newcommand{\Q}{\mathrm{\bf Q}} | |||
\newcommand{\Z}{\mathrm{\bf Z}} | |||
\newcommand{\C}{\mathrm{\bf C}} | |||
\newcommand{\dt}{\textbf} | |||
\newcommand{\goesto}{\rightarrow} | |||
\newcommand{\ddxof}[1]{\frac{d #1}{d x}} | |||
\newcommand{\ddx}{\frac{d}{dx}} | |||
\newcommand{\ddt}{\frac{d}{dt}} | |||
\newcommand{\dydx}{\ddxof y} | |||
\newcommand{\nxder}[3]{\frac{d^{#1}{#2}}{d{#3}^{#1}}} | |||
\newcommand{\deriv}[2]{\frac{d^{#1}{#2}}{dx^{#1}}} | |||
\newcommand{\dist}{\mathrm{distance}} | |||
\newcommand{\arccot}{\mathrm{arccot\:}} | |||
\newcommand{\arccsc}{\mathrm{arccsc\:}} | |||
\newcommand{\arcsec}{\mathrm{arcsec\:}} | |||
\newcommand{\arctanh}{\mathrm{arctanh\:}} | |||
\newcommand{\arcsinh}{\mathrm{arcsinh\:}} | |||
\newcommand{\arccosh}{\mathrm{arccosh\:}} | |||
\newcommand{\sech}{\mathrm{sech\:}} | |||
\newcommand{\csch}{\mathrm{csch\:}} | |||
\newcommand{\conj}[1]{\overline{#1}} | |||
\newcommand{\mathds}{\mathbb} | |||
</math></div> | |||
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 | |||
<span id{{=}}"eq11.1.1"/> | |||
<math display="block"> | |||
\begin{equation} | |||
F \Big(x, y, \frac{dy}{dx} \Big) = 0 , | |||
\label{eq11.1.1} | |||
\end{equation} | |||
</math> | |||
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 | |||
<math display="block"> | |||
F(x, f(x), f'(x))= 0 | |||
</math> | |||
is true for every <math>x</math> in the domain of <math>f</math>. If <math>f</math> is a solution, we write | |||
<math display="block"> | |||
y = f(x). | |||
</math> | |||
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 | |||
<math display="block"> | |||
y = \int f(x)dx + c, | |||
</math> | |||
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 | |||
<math display="block"> | |||
g(y) dy = f(x) dx. | |||
</math> | |||
Integrating both sides, we get the equation | |||
<math display="block"> | |||
\int g(y) dy = \int f(x) dx + c, | |||
</math> | |||
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 | |||
<math display="block"> | |||
y = ce^{-kx}. | |||
</math> | |||
<span id="eq11.1.2"/> | |||
'''Example''' | |||
Find the general solution of each of the following differential equations: | |||
<ul style="list-style-type:lower-alpha"> | |||
<li> | |||
<math>\frac{dy}{dx} = \tan^4 x \sec^2 x,</math> | |||
</li> | |||
<li> | |||
<math>\frac{dy}{dx} = e^{x+y},</math> | |||
</li> | |||
<li> | |||
<math>\frac{dy}{dx} + 14y = 0.</math> | |||
</li> | |||
</ul> | |||
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: | |||
<math display="block"> | |||
\begin{eqnarray*} | |||
y &=& \int \tan^4 x \sec^2 x dx + c\\ | |||
&=& \frac{1}{5} \tan^5 x + c. | |||
\end{eqnarray*} | |||
</math> | |||
Equation (b) is separable, since <math>\frac{dy}{dx} = e^{x+y} = e^x e^y</math>. Hence we may write | |||
<math display="block"> | |||
e^{-y} dy= e^x dx. | |||
</math> | |||
Integrating both sides, we obtain the equation | |||
<math display="block"> | |||
-e^{-y} = e^x + c, | |||
</math> | |||
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 | |||
<span id{{=}}"eq11.1.2"/> | |||
<math display="block"> | |||
\begin{equation} | |||
y = \ln \frac{1}{c - e^x} | |||
\label{eq11.1.2} | |||
\end{equation} | |||
</math> | |||
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 | |||
<math display="block"> | |||
- \ln 2 = \ln \frac{1}{c - 1} . | |||
</math> | |||
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 | |||
<math display="block"> | |||
y = \ln \frac{1}{3 - e^x} . | |||
</math> | |||
The general solution of (c) can be written down on inspection. It is | |||
<math display="block"> | |||
y = ce^{-14x} . | |||
</math> | |||
The particular solution which has value 5 when <math>x</math> equals 0 is obtained by writing | |||
<math display="block"> | |||
5 = ce^{-14 \cdot 0} = c . | |||
</math> | |||
Hence the particular solution is | |||
<math display="block"> | |||
y= 5e^{-14x}. | |||
</math> | |||
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 | |||
<span id{{=}}"eq11.1.3"/> | |||
<math display="block"> | |||
\begin{equation} | |||
F \Big(x, y, \frac{dy}{dx}, \frac{d^2y}{dx^2} , ... , \frac{d^ny}{dx^n} \Big) = 0, | |||
\label{eq11.1.3} | |||
\end{equation} | |||
</math> | |||
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 | |||
<math display="block"> | |||
F(x, f(x), f'(x), f''(x), ... ,f^{(n)}(x)) = 0 | |||
</math> | |||
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 | |||
<span id{{=}}"eq11.1.4"/> | |||
<math display="block"> | |||
\begin{equation} | |||
\frac{d^2y}{dx^2} + a\frac{dy}{dx} + by = 0, | |||
\label{eq11.1.4} | |||
\end{equation} | |||
</math> | |||
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 | |||
<math display="block"> | |||
r_1, r_2 = \frac{-a \pm \sqrt{a^2 - 4b}}{2} , | |||
</math> | |||
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 | |||
<math display="block"> | |||
y = c_1e^{r_1x} + c_2e^{r_2x} , | |||
</math> | |||
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 | |||
<math display="block"> | |||
y = (c_1x + c_2) e^{rx}, | |||
</math> | |||
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 | |||
<math display="block"> | |||
y = e^{\alpha x}(c_1 \cos \beta x + c_2 \sin \beta x), | |||
</math> | |||
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 | |||
<math display="block"> | |||
\begin{array}{ll} | |||
y = c_1 e^{r_1x} + c_2 e^{r_2 x} &\mbox{if}\; a^2 - 4b > 0, \\ | |||
y = (c_1x + c_2)e^{rx} &\mbox{if}\; a^2 - 4b = 0, \\ | |||
y = e^{\alpha x}(c_1 \cos \beta x + c_2 \sin \beta x) &\mbox{if}\; a^2 - 4b < 0. | |||
\end{array} | |||
</math> | |||
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 | |||
<math display="block"> | |||
(D^2 + aD + b)y = \frac{d^2y}{dx^2} + a\frac{dy}{dx} + by | |||
</math> | |||
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 | |||
<math display="block"> | |||
(D^2 + aD + b)y = 0. \mbox{ (4')} | |||
</math> | |||
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: | |||
<ul style="list-style-type:lower-alpha"> | |||
<li> <math>\frac{d^2y}{dx^2} - 5 \frac{dy}{dx} + 6y = 0,</math></li> | |||
<li><math>(D^2 + 6D + 9)y = 0,</math></li> | |||
<li> <math>(D^2 - 6D + 10)y = 0.</math></li> | |||
</ul> | |||
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 | |||
<math display="block"> | |||
y = c_1e^{2x} + c_2e^{3x}. | |||
</math> | |||
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 | |||
<math display="block"> | |||
y = (c_1x + c_2)e^{-3x}, | |||
</math> | |||
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 | |||
<math display="block"> | |||
y = e^{3x} (c_1 \cos x + c_2 \sin x). | |||
</math> | |||
'''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 | |||
<math display="block"> | |||
y = c_1 e^{0x} + c_2e^{5x} = c_1 + c_2e^{5x}. | |||
</math> | |||
The derivative is | |||
<math display="block"> | |||
y' = 5c_2 e^{5x} . | |||
</math> | |||
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 | |||
<math display="block"> | |||
\begin{eqnarray*} | |||
2 &=& c_1 + c_2 e^{5 \cdot 0} = c_1 + c_2,\\ | |||
-15 &=& 5c_2 e^{5 \cdot 0} = 5c_2. | |||
\end{eqnarray*} | |||
</math> | |||
It follows that <math>c_2 = - 3</math> and thence that <math>c_1 = 5</math>. Hence the required solution is | |||
<math display="block"> | |||
y = 5 - 3e^{5x}. | |||
</math> | |||
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 | |||
<span id{{=}}"eq11.1.5"/> | |||
<math display="block"> | |||
\begin{equation} | |||
y = c e^{\alpha x} \sin(\beta x + k), | |||
\label{eq11.1.5} | |||
\end{equation} | |||
</math> | |||
<span id{{=}}"eq11.1.6"/> | |||
<math display="block"> | |||
\begin{equation} | |||
y = c e^{\alpha x} \cos(\beta x + k), | |||
\label{eq11.1.6} | |||
\end{equation} | |||
</math> | |||
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 | |||
<math display="block"> | |||
\begin{eqnarray*} | |||
y &=& ce^{\alpha x} (\sin \beta x \cos k + \cos \beta x \sin k)\\ | |||
&=& e^{\alpha x}[(c \sin k) \cos \beta x + (c \cos k) \sin \beta x]. | |||
\end{eqnarray*} | |||
</math> | |||
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 | |||
<math display="block"> | |||
y = \sqrt{c_1^2 + c_2^2}\; e^{\alpha x} \Big[\frac{c_1}{\sqrt{c_1^2 + c_2^2}} \cos \beta x + \frac{c_2}{\sqrt{c_1^2 + c_2^2}} \sin \beta x \Big] . | |||
</math> | |||
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 | |||
<math display="block"> | |||
\Big(\frac{c_2}{\sqrt{c_1^2 + c_2^2}} \Big)^2 + \Big(\frac{c_1}{\sqrt{c_1^2 + c_2^2}} \Big)^2 = 1, | |||
</math> | |||
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 | |||
<math display="block"> | |||
\begin{eqnarray*} | |||
y &=& ce^{\alpha x}(\sin k \cos \beta x + \cos k \sin \beta x) \\ | |||
&=& ce^{\alpha x} \sin(\beta x + k). | |||
\end{eqnarray*} | |||
</math> | |||
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>. | |||
<span id="fig 11.1"/> | |||
'''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 | |||
<math display="block"> | |||
y = ce^{-x} \sin(\pi x + k). | |||
</math> | |||
lts derivative is | |||
<math display="block"> | |||
\frac{dy}{dx} = -ce^{-x} \sin(\pi x + k) + c \pi e^{-x} \cos(\pi x + k). | |||
</math> | |||
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 | |||
<math display="block"> | |||
\begin{eqnarray*} | |||
\sqrt 2 &=& c \sin k,\\ | |||
(\pi - 1)\sqrt 2 &=& -c \sin k + c \pi \cos k. | |||
\end{eqnarray*} | |||
</math> | |||
Hence, <math>(\pi - 1)\sqrt 2 = -\sqrt 2 + c\pi \cos k</math>, from which we obtain | |||
<math display="block"> | |||
\sqrt 2 = c \cos k. | |||
</math> | |||
<div id="fig 11.1" class="d-flex justify-content-center"> | |||
[[File:guide_c5467_scanfig11_1.png | 400px | thumb | ]] | |||
</div> | |||
Since <math>c \cos k</math> does not equal zero, it follows that | |||
<math display="block"> | |||
\tan k = \frac{c \sin k}{c \cos k} = \frac{\sqrt 2}{\sqrt 2} = 1, | |||
</math> | |||
and so <math>k = \frac{\pi}{4}</math>. This implies that <math>c = 2</math>, and we conclude that the particular solution is | |||
<math display="block"> | |||
y = 2e^{-x} \sin \Big(\pi x + \frac{\pi}{4} \Big) . | |||
</math> | |||
The graph of this equation is drawn in Figure 1. Such a curve is frequently called an “exponentially damped sine wave.” | |||
==General references== | |||
{{cite web |title=Crowell and Slesnick’s Calculus with Analytic Geometry|url=https://math.dartmouth.edu/~doyle/docs/calc/calc.pdf |last=Doyle |first=Peter G.|date=2008 |access-date=Oct 29, 2024}} |
Latest revision as of 01:11, 21 November 2024
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.