9.5: Linear Equations
- Page ID
- 4502
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)- Write a first-order linear differential equation in standard form.
- Find an integrating factor and use it to solve a first-order linear differential equation.
- Solve applied problems involving first-order linear differential equations.
Earlier, we studied an application of a first-order differential equation that involved solving for the velocity of an object. In particular, if a ball is thrown upward with an initial velocity of \( v_0\) ft/s, then an initial-value problem that describes the velocity of the ball after \( t\) seconds is given by
\[ \dfrac{dv}{dt}=−32 \nonumber \]
with \(v(0)=v_0.\)
This model assumes that the only force acting on the ball is gravity. Now we add to the problem by allowing for the possibility of air resistance acting on the ball.
Air resistance always acts in the direction opposite to motion. Therefore if an object is rising, air resistance acts in a downward direction. If the object is falling, air resistance acts in an upward direction (Figure \( \PageIndex{1}\)). There is no exact relationship between the velocity of an object and the air resistance acting on it. For very small objects, air resistance is proportional to velocity; that is, the force due to air resistance is numerically equal to some constant \( k\) times \( v\). For larger (e.g., baseball-sized) objects, depending on the shape, air resistance can be approximately proportional to the square of the velocity. In fact, air resistance may be proportional to \( v^{1.5}\), or \( v^{0.9}\), or some other power of \( v\).
We will work with the linear approximation for air resistance. If we assume \( k>0\), then the expression for the force \( F_A\) due to air resistance is given by \( F_A=−kv\). Therefore the sum of the forces acting on the object is equal to the sum of the gravitational force and the force due to air resistance. This, in turn, is equal to the mass of the object multiplied by its acceleration at time \( t\)(Newton’s second law). This gives us the differential equation
\[ m\dfrac{dv}{dt}=−kv−mg. \nonumber \]
Finally, we impose an initial condition \( v(0)=v_0,\) where \( v_0\) is the initial velocity measured in meters per second. This makes \( g=9.8m/s^2.\) The initial-value problem becomes
\[ m\dfrac{dv}{dt}=−kv−mg \nonumber \]
with \(v(0)=v_0.\)
The differential equation in this initial-value problem is an example of a first-order linear differential equation. (Recall that a differential equation is first-order if the highest-order derivative that appears in the equation is \( 1\).) In this section, we study first-order linear equations and examine a method for finding a general solution to these types of equations, as well as solving initial-value problems involving them.
A first-order differential equation is linear if it can be written in the form
\[a(x)y′+b(x)y=c(x), \label{lineardef} \]
where \( a(x),b(x),\) and \( c(x)\) are arbitrary functions of \( x\).
Remember that the unknown function \( y\) depends on the variable \( x\); that is, \( x\) is the independent variable and \( y\) is the dependent variable. Some examples of first-order linear differential equations are
\[ \begin{align*} (3x^2−4)y'+(x−3)y &=\sin x \\[4pt] (\sin x)y'−(\cos x)y &=\cot x \\[4pt] 4xy'+(3\ln x)y &=x^3−4x. \end{align*}\]
Examples of first-order nonlinear differential equations include
\[ \begin{align*} (y')^4−(y')^3&=(3x−2)(y+4) \\[4pt] 4y'+3y^3 &=4x−5 \\[4pt] (y')^2 &=\sin y+\cos x. \end{align*}\]
These equations are nonlinear because of terms like \( (y′)^4,y^3,\) etc. Due to these terms, it is impossible to put these equations into the same form as Equation \ref{lineardef}.
Standard Form
Consider the differential equation
\[ (3x^2−4)y′+(x−3)y=\sin x. \nonumber \]
Our main goal in this section is to derive a solution method for equations of this form. It is useful to have the coefficient of \( y′\) be equal to \( 1\). To make this happen, we divide both sides by \( 3x^2−4.\)
\[ y′+ \left(\dfrac{x−3}{3x^2−4} \right)y=\dfrac{\sin x}{3x^2−4} \nonumber \]
This is called the standard form of the differential equation. We will use it later when finding the solution to a general first-order linear differential equation. Returning to Equation \ref{lineardef}, we can divide both sides of the equation by \( a(x)\). This leads to the equation
\[ y′+\dfrac{b(x)}{a(x)}y=\dfrac{c(x)}{a(x)}. \label{eq5} \]
Now define
\[ p(x)=\dfrac{b(x)}{a(x)} \nonumber \]
and
\[ q(x)=\dfrac{c(x)}{a(x)} \nonumber \]
Then Equation \ref{eq5} becomes
\[ y′+p(x)y=q(x). \nonumber \]
We can write any first-order linear differential equation in this form, and this is referred to as the standard form for a first-order linear differential equation.
Put each of the following first-order linear differential equations into standard form. Identify \( p(x)\) and \( q(x)\) for each equation.
- \( y'=3x−4y\)
- \( \dfrac{3xy'}{4y−3}=2\) (here \( x>0\))
- \( y=3y'−4x^2+5\)
Solution
a. Add \( 4y\) to both sides:
\[ y'+4y=3x. \nonumber\]
In this equation, \( p(x)=4\) and \(q(x)=3x.\)
b. Multiply both sides by \( 4y−3\), then subtract \( 8y\) from each side:
\[\begin{align*} \dfrac{3xy'}{4y−3} &=2 \\[4pt] 3xy'=2(4y−3) \\[4pt] 3xy' &=8y−6 \\[4pt] 3xy'−8y &=−6. \end{align*}\]
Finally, divide both sides by \( 3x\) to make the coefficient of \( y'\) equal to \( 1\):
\[y'−\dfrac{8}{3x}y=−\dfrac{2}{3x}. \nonumber\]
This is allowable because in the original statement of this problem we assumed that \( x>0\). (If \( x=0\) then the original equation becomes \( 0=2\), which is clearly a false statement.)
In this equation, \( p(x)=−\dfrac{8}{3x}\) and \( q(x)=−\dfrac{2}{3x}\).
c. Subtract \( y\) from each side and add \( 4x^2−5\):
\[ 3y'−y=4x^2−5.\nonumber\]
Next divide both sides by \( 3\):
\[ y'−\dfrac{1}{3}y=\dfrac{4}{3}x^2−\dfrac{5}{3}. \nonumber\]
In this equation, \( p(x)=−\dfrac{1}{3}\) and \( q(x)=\dfrac{4}{3}x^2−\dfrac{5}{3}\).
Put the equation \( \dfrac{(x+3)y'}{2x−3y−4}=5\) into standard form and identify \( p(x)\) and \( q(x)\).
- Hint
-
Multiply both sides by the common denominator, then collect all terms involving \( y\) on one side.
- Answer
-
\[ y'+\dfrac{15}{x+3}y=\dfrac{10x−20}{x+3} \nonumber \]
\[p(x)=\dfrac{15}{x+3} \nonumber \]
and
\[ q(x)=\dfrac{10x−20}{x+3} \nonumber \]
Integrating Factors
We now develop a solution technique for any first-order linear differential equation. We start with the standard form of a first-order linear differential equation:
\[ y'+p(x)y=q(x). \label{Deq1} \]
The first term on the left-hand side of Equation \ref{Deq1} is the derivative of the unknown function, and the second term is the product of a known function with the unknown function. This is somewhat reminiscent of the power rule. If we multiply Equation \ref{Deq1} by a yet-to-be-determined function \( μ(x)\), then the equation becomes
\[ μ(x)y′+μ(x)p(x)y=μ(x)q(x). \label{Deq2} \]
The left-hand side Equation \ref{Deq2} can be matched perfectly to the product rule:
\[ \dfrac{d}{dx}[f(x)g(x)]=f′(x)g(x)+f(x)g′(x). \nonumber \]
Matching term by term gives \( y=f(x),g(x)=μ(x)\), and \( g′(x)=μ(x)p(x)\). Taking the derivative of \( g(x)=μ(x)\) and setting it equal to the right-hand side of \( g′(x)=μ(x)p(x)\) leads to
\[ μ′(x)=μ(x)p(x). \nonumber \]
This is a first-order, separable differential equation for \(μ(x).\) We know \( p(x)\) because it appears in the differential equation we are solving. Separating variables and integrating yields
\[ \begin{align*} \dfrac{μ′(x)}{μ(x)} &=p(x) \\[4pt] \int \dfrac{μ′(x)}{μ(x)}dx &=\int p(x)dx \\[4pt] \ln|μ(x)| &=\int p(x)dx+C \\[4pt] e^{\ln|μ(x)|} &=e^{\int p(x)dx+C} \\[4pt] |μ(x)| &=C_1e^{\int p(x)dx} \\[4pt] μ(x) &=C_2e^{\int p(x)dx}. \end{align*} \]
Here \( C_2\) can be an arbitrary (positive or negative) constant. This leads to a general method for solving a first-order linear differential equation. We first multiply both sides of Equation \ref{Deq1} by this integrating factor by integrating factor \( μ(x).\) This gives
\[ μ(x)y′+μ(x)p(x)y=μ(x)q(x). \label{Deq5} \]
Note that, since the non-zero constant \(C_2\) can be divided out of this equation (as it will appear in every term on both sides), we do not need to use it in this process. That is, we can simply use
\[ μ(x) =e^{\int p(x)dx}. \nonumber\]
The left-hand side of Equation \ref{Deq5} can be rewritten as \( \dfrac{d}{dx}(μ(x)y)\).
\[ \dfrac{d}{dx}(μ(x)y)=μ(x)q(x). \label{Deq6} \]
Next integrate both sides of Equation \ref{Deq6} with respect to \(x\).
\[ \begin{align*} \int \dfrac{d}{dx}(μ(x)y)dx &=\int μ(x)q(x)dx \\[4pt] μ(x)y &=\int μ(x)q(x)dx \label{Deq7} \end{align*} \]
Divide both sides of Equation \ref{Deq6} by \( μ(x)\):
\[ y=\dfrac{1}{μ(x)}\left[\int μ(x)q(x)dx+C\right]. \label{Deq8} \]
Since \( μ(x)\) was previously calculated, we are now finished. An important note about the integrating constant \( C\): It may seem that we are inconsistent in the usage of the integrating constant. However, the integral involving \( p(x)\) is necessary in order to find an integrating factor for Equation \ref{Deq1}. Only one integrating factor is needed in order to solve the equation; therefore, it is safe to assign a value for \(C\) for this integral. We chose \(C=0\). When calculating the integral inside the brackets in Equation \ref{Deq8}, it is necessary to keep our options open for the value of the integrating constant, because our goal is to find a general family of solutions to Equation \ref{Deq1}. This integrating factor guarantees just that.
- Put the equation into standard form and identify \( p(x)\) and \( q(x)\).
- Calculate the integrating factor \[ μ(x)=e^{\int p(x)dx}. \label{mudef} \]
- Multiply both sides of the differential equation by \( μ(x)\).
- Integrate both sides of the equation obtained in step \( 3\), and divide both sides by \( μ(x)\).
- If there is an initial condition, determine the value of \( C\).
Find a general solution for the differential equation \( xy'+3y=4x^2−3x.\) Assume \( x>0.\)
Solution
1. To put this differential equation into standard form, divide both sides by \( x\):
\[ y'+\dfrac{3}{x}y=4x−3. \nonumber \]
Therefore \( p(x)=\dfrac{3}{x}\) and \( q(x)=4x−3.\)
2. The integrating factor is \( μ(x)=e^{\int (3/x)}dx=e^{3 \ln x}=x^3\).
3. Multiplying both sides of the differential equation by \( μ(x)\) gives us
\[ \begin{align*} x^3y′+x^3\left(\dfrac{3}{x}\right)y &=x^3(4x−3) \\[4pt] x^3y′+3x^2y &=4x^4−3x^3 \\[4pt] \dfrac{d}{dx}(x^3y) &= 4x^4−3x^3. \end{align*}\]
4. Integrate both sides of the equation.
\[ \begin{align*} \int \dfrac{d}{dx}(x^3y)dx &= \int 4x^4−3x^3dx \\[4pt] x^3y &=\dfrac{4x^5}{5}−\dfrac{3x^4}{4}+C \\[4pt] y &=\dfrac{4x^2}{5}−\dfrac{3x}{4}+Cx^{−3}. \end{align*}\]
5. There is no initial value, so the problem is complete.
Analysis
You may have noticed the condition that was imposed on the differential equation; namely, \( x>0\). For any nonzero value of \( C\), the general solution is not defined at \( x=0\). Furthermore, when \( x<0\), the integrating factor changes. The integrating factor is given by Equation \ref{mudef} as \( μ(x)=e^{\int p(x)dx}\). For this \( p(x)\) we get
\[ \begin{align*} e^{\int p(x)dx} &=e^{\int (3/x)dx} \\[4pt] &=e^{3\ln|x|} \\[4pt] &=|x|^3 \end{align*}\]
since \(x<0\). The behavior of the general solution changes at \( x=0\) largely due to the fact that \( p(x)\) is not defined there.
Find the general solution to the differential equation \( (x−2)y'+y=3x^2+2x.\) Assume \( x>2\).
- Hint
-
Use the method outlined in the problem-solving strategy for first-order linear differential equations.
- Answer
-
\( y=\dfrac{x^3+x^2+C}{x−2}\)
Now we use the same strategy to find the solution to an initial-value problem.
Solve the initial-value problem
\[ y′+3y=2x−1,y(0)=3. \nonumber \]
Solution
1. This differential equation is already in standard form with \( p(x)=3\) and \( q(x)=2x−1\).
2. The integrating factor is \( μ(x)=e^{\int 3dx}=e^{3x}\).
3. Multiplying both sides of the differential equation by \( μ(x)\) gives
\[ \begin{align*} e^{3x}y′+3e^{3x}y &=(2x−1)e^{3x} \\[4pt] \dfrac{d}{dx}[ye^{3x}] &=(2x−1)e^{3x}. \end{align*}\]
Integrate both sides of the equation:
\[ \begin{align*} \int \dfrac{d}{dx}[ye^{3x}]dx &=\int (2x−1)e^{3x}dx \\[4pt]
ye^{3x} &=\dfrac{e^{3x}}{3}(2x−1)−\int \dfrac{2}{3}e^{3x}dx \\[4pt]
ye^{3x}&=\dfrac{e^{3x}(2x−1)}{3}−\dfrac{2e^{3x}}{9}+C \\[4pt]
y&=\dfrac{2x−1}{3}−\dfrac{2}{9}+Ce^{−3x} \\[4pt]
y&=\dfrac{2x}{3}−\dfrac{5}{9}+Ce^{−3x}. \end{align*}\]
4. Now substitute \( x=0\) and \( y=3\) into the general solution and solve for \( C\):
\[ \begin{align*} y &=\dfrac{2}{3}x−\dfrac{5}{9}+Ce^{−3x} \\[4pt] 3 &=\dfrac{2}{3}(0)−\dfrac{5}{9}+Ce^{−3(0)} \\[4pt] 3 &=−\dfrac{5}{9}+C \\[4pt] C&=\dfrac{32}{9}. \end{align*}\]
Therefore the solution to the initial-value problem is
\[ y=\dfrac{2}{3}x−\dfrac{5}{9}+\dfrac{32}{9}e^{−3x}. \nonumber \]
Solve the initial-value problem \[ y'−2y=4x+3y(0)=−2. \nonumber \]
Solution
\[ y=−2x−4+2e^{2x} \nonumber \]
Applications of First-order Linear Differential Equations
We look at two different applications of first-order linear differential equations. The first involves air resistance as it relates to objects that are rising or falling; the second involves an electrical circuit. Other applications are numerous, but most are solved in a similar fashion.
Free fall with air resistance
We discussed air resistance at the beginning of this section. The next example shows how to apply this concept for a ball in vertical motion. Other factors can affect the force of air resistance, such as the size and shape of the object, but we ignore them here.
A racquetball is hit straight upward with an initial velocity of \( 2~ \text{m/s}\). The mass of a racquetball is approximately \( 0.0427~ \text{kg}\). Air resistance acts on the ball with a force numerically equal to \( 0.5 v\), where \( v\) represents the velocity of the ball at time \( t\).
- Find the velocity of the ball as a function of time.
- How long does it take for the ball to reach its maximum height?
- If the ball is hit from an initial height of \( 1\) meter, how high will it reach?
Solution
a. The mass \( m=0.0427~kg,k=0.5,\) and \( g=9.8~m/s^2\). The initial velocity is \( v_0=2 ~m/s\). Therefore the initial-value problem is
\[ 0.0427\dfrac{dv}{dt}=−0.5v−0.0427(9.8),v_0=2. \nonumber\]
Dividing the differential equation by \( 0.0427\) gives
\[ \dfrac{dv}{dt}=−11.7096v−9.8,v_0=2. \nonumber\]
The differential equation is linear. Using the problem-solving strategy for linear differential equations:
Step 1. Rewrite the differential equation as \( \dfrac{dv}{dt}+11.7096v=−9.8\). This gives \( p(t)=11.7096\) and \( q(t)=−9.8\)
Step 2. The integrating factor is \( μ(t)=e^{\int11.7096dt}=e^{11.7096t}.\)
Step 3. Multiply the differential equation by \( μ(t)\):
\[\begin{align*} e^{11.7096t}\dfrac{dv}{dt} + 11.7096v e^{11.7096t} &=−9.8e^{11.7096t} \\[4pt]
\dfrac{d}{dt}[ve^{11.7096t}] &=−9.8e^{11.7096t}.\end{align*}\]
Step 4. Integrate both sides:
\[\begin{align*} \int\dfrac{d}{dt}[ve^{11.7096t}]dt &=\int−9.8e^{11.7096t}dt \\[4pt]
ve^{11.7096t} &=\dfrac{−9.8}{11.7096}e^{11.7096t}+C \\[4pt]
v(t) &=−0.8369 + C e^{−11.7096t}.\end{align*}\]
Step 5. Solve for \( C\) using the initial condition \( v_0=v(0)=2\):
\[\begin{align*} v(t) &=−0.8369+Ce^{−11.7096t} \\[4pt]
v(0) &=−0.8369+Ce^{−11.7096(0)} \\[4pt]
2 &=−0.8369 + C \\[4pt] C&=2.8369. \end{align*}\]
Therefore the solution to the initial-value problem is
\[ v(t)=2.8369e^{−11.7096t}−0.8369. \nonumber\]
b. The ball reaches its maximum height when the velocity is equal to zero. The reason is that when the velocity is positive, it is rising, and when it is negative, it is falling. Therefore when it is zero, it is neither rising nor falling, and is at its maximum height:
\[\begin{align*} 2.8369e^{−11.7096t}−0.8369 &=0 \\[4pt]
2.8369e^{−11.7096t}&=0.8369 \\[4pt]
e^{−11.7096t} &=\dfrac{0.8369}{2.8369}≈0.295 \\[4pt]
\ln e^{−11.7096t}&=\ln 0.295≈−1.221 \\[4pt]
−11.7096t &=−1.221 \\[4pt]
t &≈0.104.\end{align*}\]
Therefore it takes approximately \( 0.104\) second to reach maximum height.
c. To find the height of the ball as a function of time, use the fact that the derivative of position is velocity, i.e., if \( h(t)\) represents the height at time \( t\), then \( h′(t)=v(t)\). Because we know \( v(t)\) and the initial height, we can form an initial-value problem:
\[ h′(t)=2.8369e^{−11.7096t}−0.8369, \, h(0)=1. \nonumber\]
Integrating both sides of the differential equation with respect to \( t\) gives
\[\begin{align*} \int h′(t)dt &=\int2.8369e^{−11.7096t}−0.8369~dt\\[4pt] h(t) &=−\dfrac{2.8369}{11.7096}e^{−11.7096t}−0.8369t + C\\[4pt] h(t) &=−0.2423e^{−11.7096t}−0.8369t+C.\end{align*}\]
Solve for \( C\) by using the initial condition:
\[\begin{align*} h(t) &=−0.2423e^{−11.7096t}−0.8369t+C\\[4pt]
h(0) &=−0.2423e^{−11.7096(0)}−0.8369(0)+C\\[4pt]
1 &=−0.2423+C\\[4pt]
C&=1.2423.\end{align*}\]
Therefore
\[ h(t)=−0.2423e^{−11.7096t}−0.8369t+1.2423. \nonumber\]
After \( 0.104\) second, the height is given by
\[\begin{align*} h(0.2) &=−0.2423e^{−11.7096t}−0.8369t+1.2423 \\[4pt] &≈1.0836~\text{meter}.\end{align*}\]
The weight of a penny is \(2.5\) grams (United States Mint, “Coin Specifications,” accessed April 9, 2015, www.usmint.gov/about_the_mint...specifications), and the upper observation deck of the Empire State Building is \( 369\) meters above the street. Since the penny is a small and relatively smooth object, air resistance acting on the penny is actually quite small. We assume the air resistance is numerically equal to \( 0.0025v\). Furthermore, the penny is dropped with no initial velocity imparted to it.
- Set up an initial-value problem that represents the falling penny.
- Solve the problem for \( v(t)\).
- What is the terminal velocity of the penny (i.e., calculate the limit of the velocity as \( t\) approaches infinity)?
- Hint
-
Set up the differential equation the same way as Example
. Remember to convert from grams to kilograms.
- Answer
-
a. \( \dfrac{dv}{dt}=−v−9.8\) \( v(0)=0\)
b. \( v(t)=9.8(e^{−t}−1)\)
c. \(\displaystyle \lim_{t→∞}v(t)=\lim_{t→∞}(9.8(e^{−t}−1))=−9.8 \text{ m/s} ≈−21.922\) mph
Electrical Circuits
A source of electromotive force (e.g., a battery or generator) produces a flow of current in a closed circuit, and this current produces a voltage drop across each resistor, inductor, and capacitor in the circuit. Kirchhoff’s Loop Rule states that the sum of the voltage drops across resistors, inductors, and capacitors is equal to the total electromotive force in a closed circuit. We have the following three results:
1. The voltage drop across a resistor is given by
\( E_R=Ri,\)
where \( R\) is a constant of proportionality called the resistance, and \( i\) is the current.
2. The voltage drop across an inductor is given by
\( E_L=Li′\),
where \( L\) is a constant of proportionality called the inductance, and \( i\) again denotes the current.
3. The voltage drop across a capacitor is given by
\( E_C=\dfrac{1}{C}q\),
where \( C\) is a constant of proportionality called the capacitance, and \( q\) is the instantaneous charge on the capacitor. The relationship between \( i\) and \( q\) is \( i=q′\).
We use units of volts \( (V)\) to measure voltage \( E\), amperes \( (A)\) to measure current \( i\), coulombs \( (C)\) to measure charge \( q\), ohms \( (Ω)\) to measure resistance \( R\), henrys \( (H)\) to measure inductance \( L\), and farads \( (F)\) to measure capacitance \( C\). Consider the circuit in Figure \( \PageIndex{2}\).
Applying Kirchhoff’s Loop Rule to this circuit, we let \( E\) denote the electromotive force supplied by the voltage generator. Then
\( E_L+E_R+E_C=E\).
Substituting the expressions for \( E_L,E_R,\) and \( E_C\) into this equation, we obtain
\[ Li′+Ri+\dfrac{1}{C}q=E. \label{kirchhofflaw}\]
If there is no capacitor in the circuit, then the equation becomes
\[ Li′+Ri=E. \label{LRcircuiteq}\]
This is a first-order differential equation in \( i\). The circuit is referred to as an LR circuit.
Next, suppose there is no inductor in the circuit, but there is a capacitor and a resistor, so \( L=0, \, R≠0,\) and \( C≠0.\) Then, since \(q′ = i\), Equation \ref{kirchhofflaw} can be rewritten as
\[ Rq′+\dfrac{1}{C}q=E, \label{RCcircuiteq}\]
which is a first-order linear differential equation in \(q\). This is referred to as an RC circuit. In either case, we can set up and solve an initial-value problem.
A circuit has in series an electromotive force given by \( E=50\sin 20tV,\) a resistor of \( 5Ω\), and an inductor of \( 0.4H\). If the initial current is \( 0\), find the current at time \( t>0\).
Solution
We have a resistor and an inductor in the circuit, so we have an LR circuit and can use Equation \ref{LRcircuiteq}. The voltage drop across the resistor is given by \( E_R=Ri=5i\). The voltage drop across the inductor is given by \( E_L=Li′=0.4i′\). The electromotive force becomes the right-hand side of Equation \ref{LRcircuiteq}. Therefore Equation \ref{LRcircuiteq} becomes
\[ 0.4i′+5i=50\sin 20t. \nonumber \]
Dividing both sides by \( 0.4\) gives the equation
\[ i′+12.5i=125\sin 20t. \nonumber \]
Since the initial current is 0, this result gives an initial condition of \( i(0)=0.\) We can solve this initial-value problem using the five-step strategy for solving first-order differential equations.
Step 1. Rewrite the differential equation as \( i′+12.5i=125\sin 20t\). This gives \( p(t)=12.5\) and \( q(t)=125\sin 20t\).
Step 2. The integrating factor is \( μ(t)=e^{\int 12.5dt}=e^{12.5t}\).
Step 3. Multiply the differential equation by \( μ(t)\):
\[ \begin{align*} e^{12.5t}i′ + 12.5e^{12.5t}i &=125e^{12.5t}\sin 20t \\[4pt] \dfrac{d}{dt}[ie^{12.5t}] &=125e^{12.5t} \sin 20t. \end{align*}\]
Step 4. Integrate both sides:
\[ \begin{align*} \int \dfrac{d}{dt}[ie^{12.5t}]dt &=\int 125e^{12.5t}\sin 20t~dt \\[4pt] ie^{12.5t} &=\left(\dfrac{250\sin 20t−400\cos 20t}{89}\right)e^{12.5t}+C \\[4pt] i(t) &=\dfrac{250\sin 20t−400\cos 20t}{89}+Ce^{−12.5t}. \end{align*}\]
Step 5. Solve for \( C\) using the initial condition \( i(0)=0\):
\[ \begin{align*} i(t) &=\dfrac{250\sin 20t−400\cos 20t}{89}+Ce^{−12.5t} \\[4pt] i(0)&=\dfrac{250 \sin20(0)−400 \cos20(0)}{89}+Ce^{−12.5(0)} \\[4pt] 0 &=−\dfrac{400}{89}+C \\[4pt] C&=\dfrac{400}{89}. \end{align*}\]
Therefore the solution to the initial-value problem is
\[ i(t)=\dfrac{250\sin 20t−400\cos 20t+400e^{−12.5t}}{89}=\dfrac{250\sin 20t−400\cos 20t}{89}+\dfrac{400e^{−12.5t}}{89}. \nonumber \]
The first term can be rewritten as a single cosine function. First, multiply and divide by \( \sqrt{250^2+400^2}=50\sqrt{89}\):
\( \dfrac{250\sin 20t−400\cos 20t}{89}=\dfrac{50\sqrt{89}}{89}\left(\dfrac{250\sin 20t−400\cos 20t}{50\sqrt{89}}\right)=−\dfrac{50\sqrt{89}}{89}\left(\dfrac{8\cos 20t}{\sqrt{89}}−\dfrac{5\sin 20t}{\sqrt{89}}\right)\).
Next, define \( φ\) to be an acute angle such that \( \cos φ=\dfrac{8}{\sqrt{89}}\). Then \( \sin φ=\dfrac{5}{\sqrt{89}}\) and
\( −\dfrac{50\sqrt{89}}{89}\left(\dfrac{8\cos 20t}{\sqrt{89}}−\dfrac{5\sin 20t}{\sqrt{89}}\right)=−\dfrac{50\sqrt{89}}{89}(\cos φ\cos 20t−\sin φ\sin 20t)=−\dfrac{50\sqrt{89}}{89}\cos(20t+φ).\)
Therefore the solution can be written as
\( i(t)=−\dfrac{50\sqrt{89}}{89}cos(20t+φ)+\dfrac{400e^{−12.5t}}{89}\).
The second term is called the attenuation term, because it disappears rapidly as \( t\) grows larger. The phase shift is given by \( φ\), and the amplitude of the steady-state current is given by \( \dfrac{50\sqrt{89}}{89}\). The graph of this solution appears in Figure \( \PageIndex{3}\):
A circuit has in series an electromotive force given by \( E=20\sin 5t\) V, a capacitor with capacitance \( 0.02F\), and a resistor of \( 8Ω\). If the initial charge is \( 4C\), find the charge at time \( t>0\).
- Hint
-
Use Equation \ref{RCcircuiteq} for an RC circuit to set up an initial-value problem.
- Answer
-
Initial-value problem:
\( 8q′+\dfrac{1}{0.02}q=20\sin 5t,q(0)=4\)
\( q(t)=\dfrac{10\sin 5t−8\cos 5t+172e^{−6.25t}}{41}\)
Key Concepts
- Any first-order linear differential equation can be written in the form \( y'+p(x)y=q(x)\).
- We can use a five-step problem-solving strategy for solving a first-order linear differential equation that may or may not include an initial value.
- Applications of first-order linear differential equations include determining motion of a rising or falling object with air resistance and finding current in an electrical circuit.
Key Equations
- standard form
\( y'+p(x)y=q(x)\)
- integrating factor
\( μ(x)=e^{∫p(x)dx}\)
Glossary
- integrating factor
- any function \(f(x)\) that is multiplied on both sides of a differential equation to make the side involving the unknown function equal to the derivative of a product of two functions
- linear
- description of a first-order differential equation that can be written in the form \( a(x)y′+b(x)y=c(x)\)
- standard form
- the form of a first-order linear differential equation obtained by writing the differential equation in the form \( y'+p(x)y=q(x)\)