15.20 problem 20
Internal
problem
ID
[15367]
Book
:
INTRODUCTORY
DIFFERENTIAL
EQUATIONS.
Martha
L.
Abell,
James
P.
Braselton.
Fourth
edition
2014.
ElScAe.
2014
Section
:
Chapter
4.
Higher
Order
Equations.
Exercises
4.7,
page
195
Problem
number
:
20
Date
solved
:
Friday, October 18, 2024 at 01:07:37 PM
CAS
classification
:
[[_high_order, _missing_y]]
Solve
\begin{align*} x^{3} y^{\prime \prime \prime \prime }+6 x^{2} y^{\prime \prime \prime }+7 x y^{\prime \prime }+y^{\prime }&=0 \end{align*}
15.20.1 Solved as higher order missing y ode
Time used: 0.156 (sec)
Since \(y\) is missing from the ode then we can use the substitution \(y^{\prime } = u \left (x \right )\) to reduce the order by one.
The ODE becomes
\begin{align*} x^{3} u^{\prime \prime \prime }\left (x \right )+6 x^{2} u^{\prime \prime }\left (x \right )+7 x u^{\prime }\left (x \right )+u \left (x \right ) = 0 \end{align*}
This is Euler ODE of higher order. Let \(u \left (x \right ) = x^{\lambda }\). Hence
\begin{align*} u^{\prime }\left (x \right ) &= \lambda \,x^{\lambda -1}\\ u^{\prime \prime }\left (x \right ) &= \lambda \left (\lambda -1\right ) x^{\lambda -2}\\ u^{\prime \prime \prime }\left (x \right ) &= \lambda \left (\lambda -1\right ) \left (\lambda -2\right ) x^{\lambda -3} \end{align*}
Substituting these back into
\[ x^{3} u^{\prime \prime \prime }\left (x \right )+6 x^{2} u^{\prime \prime }\left (x \right )+7 x u^{\prime }\left (x \right )+u \left (x \right ) = 0 \]
gives
\[
7 x \lambda \,x^{\lambda -1}+6 x^{2} \lambda \left (\lambda -1\right ) x^{\lambda -2}+x^{3} \lambda \left (\lambda -1\right ) \left (\lambda -2\right ) x^{\lambda -3}+x^{\lambda } = 0
\]
Which simplifies to
\[
7 \lambda \,x^{\lambda }+6 \lambda \left (\lambda -1\right ) x^{\lambda }+\lambda \left (\lambda -1\right ) \left (\lambda -2\right ) x^{\lambda }+x^{\lambda } = 0
\]
And since \(x^{\lambda }\neq 0\) then dividing through by
\(x^{\lambda }\), the above becomes
\[ 7 \lambda +6 \lambda \left (\lambda -1\right )+\lambda \left (\lambda -1\right ) \left (\lambda -2\right )+1 = 0 \]
Simplifying gives the characteristic equation as
\[ \left (\lambda +1\right )^{3} = 0 \]
Solving the above gives the following roots
\begin{align*} \lambda _1 &= -1\\ \lambda _2 &= -1\\ \lambda _3 &= -1 \end{align*}
This table summarises the result
| | |
root |
multiplicity |
type of root |
| | |
\(-1\) | \(3\) | real root |
| | |
The solution is generated by going over the above table. For each real root \(\lambda \) of multiplicity
one generates a \(c_1x^{\lambda }\) basis solution. Each real root of multiplicty two, generates \(c_1x^{\lambda }\) and \(c_2x^{\lambda } \ln \left (x \right )\) basis
solutions. Each real root of multiplicty three, generates \(c_1x^{\lambda }\) and \(c_2x^{\lambda } \ln \left (x \right )\) and \(c_3x^{\lambda } \ln \left (x \right )^{2}\) basis solutions, and so on.
Each complex root \(\alpha \pm i \beta \) of multiplicity one generates \(x^{\alpha } \left (c_1\cos (\beta \ln \left (x \right ))+c_2\sin (\beta \ln \left (x \right ))\right )\) basis solutions. And each complex root \(\alpha \pm i \beta \) of
multiplicity two generates \(\ln \left (x \right ) x^{\alpha }\left (c_1\cos (\beta \ln \left (x \right ))+c_2\sin (\beta \ln \left (x \right ))\right )\) basis solutions. And each complex root \(\alpha \pm i \beta \) of multiplicity
three generates \(\ln \left (x \right )^{2} x^{\alpha }\left (c_1\cos (\beta \ln \left (x \right ))+c_2\sin (\beta \ln \left (x \right ))\right )\) basis solutions. And so on. Using the above show that the solution
is
\[ u \left (x \right ) = \frac {c_1}{x}+\frac {c_2 \ln \left (x \right )}{x}+\frac {c_3 \ln \left (x \right )^{2}}{x} \]
The fundamental set of solutions for the homogeneous solution are the following
\begin{align*}
u_1 &= \frac {1}{x} \\
u_2 &= \frac {\ln \left (x \right )}{x} \\
u_3 &= \frac {\ln \left (x \right )^{2}}{x} \\
\end{align*}
Since the
ode has the form \(y^{\prime }=f(x)\), then we only need to integrate \(f(x)\).
\begin{align*} \int {dy} &= \int {\frac {c_3 \ln \left (x \right )^{2}+c_2 \ln \left (x \right )+c_1}{x}\, dx}\\ y &= \frac {\ln \left (x \right )^{3} c_3}{3}+\frac {\ln \left (x \right )^{2} c_2}{2}+c_1 \ln \left (x \right ) + c_4 \end{align*}
15.20.2 Maple step by step solution
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & x^{3} \left (\frac {d^{4}}{d x^{4}}y \left (x \right )\right )+6 x^{2} \left (\frac {d^{3}}{d x^{3}}y \left (x \right )\right )+7 x \left (\frac {d^{2}}{d x^{2}}y \left (x \right )\right )+\frac {d}{d x}y \left (x \right )=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 4 \\ {} & {} & \frac {d^{4}}{d x^{4}}y \left (x \right ) \\ \bullet & {} & \textrm {Isolate 4th derivative}\hspace {3pt} \\ {} & {} & \frac {d^{4}}{d x^{4}}y \left (x \right )=-\frac {6 x^{2} \left (\frac {d^{3}}{d x^{3}}y \left (x \right )\right )+7 x \left (\frac {d^{2}}{d x^{2}}y \left (x \right )\right )+\frac {d}{d x}y \left (x \right )}{x^{3}} \\ \bullet & {} & \textrm {Group terms with}\hspace {3pt} y \left (x \right )\hspace {3pt}\textrm {on the lhs of the ODE and the rest on the rhs of the ODE; ODE is linear}\hspace {3pt} \\ {} & {} & \frac {d^{4}}{d x^{4}}y \left (x \right )+\frac {6 \left (\frac {d^{3}}{d x^{3}}y \left (x \right )\right )}{x}+\frac {7 \left (\frac {d^{2}}{d x^{2}}y \left (x \right )\right )}{x^{2}}+\frac {\frac {d}{d x}y \left (x \right )}{x^{3}}=0 \\ \bullet & {} & \textrm {Multiply by denominators of the ODE}\hspace {3pt} \\ {} & {} & x^{3} \left (\frac {d^{4}}{d x^{4}}y \left (x \right )\right )+6 x^{2} \left (\frac {d^{3}}{d x^{3}}y \left (x \right )\right )+7 x \left (\frac {d^{2}}{d x^{2}}y \left (x \right )\right )+\frac {d}{d x}y \left (x \right )=0 \\ \bullet & {} & \textrm {Make a change of variables}\hspace {3pt} \\ {} & {} & t =\ln \left (x \right ) \\ \square & {} & \textrm {Substitute the change of variables back into the ODE}\hspace {3pt} \\ {} & \circ & \textrm {Calculate the}\hspace {3pt} \hspace {3pt}\textrm {1st}\hspace {3pt} \hspace {3pt}\textrm {derivative of}\hspace {3pt} \hspace {3pt}\textrm {y}\hspace {3pt} \hspace {3pt}\textrm {with respect to}\hspace {3pt} \hspace {3pt}\textrm {x}\hspace {3pt} \hspace {3pt}\textrm {, using the chain rule}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y \left (x \right )=\left (\frac {d}{d t}y \left (t \right )\right ) \left (\frac {d}{d x}t \left (x \right )\right ) \\ {} & \circ & \textrm {Compute derivative}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y \left (x \right )=\frac {\frac {d}{d t}y \left (t \right )}{x} \\ {} & \circ & \textrm {Calculate the}\hspace {3pt} \hspace {3pt}\textrm {2nd}\hspace {3pt} \hspace {3pt}\textrm {derivative of}\hspace {3pt} \hspace {3pt}\textrm {y}\hspace {3pt} \hspace {3pt}\textrm {with respect to}\hspace {3pt} \hspace {3pt}\textrm {x}\hspace {3pt} \hspace {3pt}\textrm {, using the chain rule}\hspace {3pt} \\ {} & {} & \frac {d^{2}}{d x^{2}}y \left (x \right )=\left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right ) \left (\frac {d}{d x}t \left (x \right )\right )^{2}+\left (\frac {d^{2}}{d x^{2}}t \left (x \right )\right ) \left (\frac {d}{d t}y \left (t \right )\right ) \\ {} & \circ & \textrm {Compute derivative}\hspace {3pt} \\ {} & {} & \frac {d^{2}}{d x^{2}}y \left (x \right )=\frac {\frac {d^{2}}{d t^{2}}y \left (t \right )}{x^{2}}-\frac {\frac {d}{d t}y \left (t \right )}{x^{2}} \\ {} & \circ & \textrm {Calculate the}\hspace {3pt} \hspace {3pt}\textrm {3rd}\hspace {3pt} \hspace {3pt}\textrm {derivative of}\hspace {3pt} \hspace {3pt}\textrm {y}\hspace {3pt} \hspace {3pt}\textrm {with respect to}\hspace {3pt} \hspace {3pt}\textrm {x}\hspace {3pt} \hspace {3pt}\textrm {, using the chain rule}\hspace {3pt} \\ {} & {} & \frac {d^{3}}{d x^{3}}y \left (x \right )=\left (\frac {d^{3}}{d t^{3}}y \left (t \right )\right ) \left (\frac {d}{d x}t \left (x \right )\right )^{3}+3 \left (\frac {d}{d x}t \left (x \right )\right ) \left (\frac {d^{2}}{d x^{2}}t \left (x \right )\right ) \left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right )+\left (\frac {d^{3}}{d x^{3}}t \left (x \right )\right ) \left (\frac {d}{d t}y \left (t \right )\right ) \\ {} & \circ & \textrm {Compute derivative}\hspace {3pt} \\ {} & {} & \frac {d^{3}}{d x^{3}}y \left (x \right )=\frac {\frac {d^{3}}{d t^{3}}y \left (t \right )}{x^{3}}-\frac {3 \left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right )}{x^{3}}+\frac {2 \left (\frac {d}{d t}y \left (t \right )\right )}{x^{3}} \\ {} & \circ & \textrm {Calculate the}\hspace {3pt} \hspace {3pt}\textrm {4th}\hspace {3pt} \hspace {3pt}\textrm {derivative of}\hspace {3pt} \hspace {3pt}\textrm {y}\hspace {3pt} \hspace {3pt}\textrm {with respect to}\hspace {3pt} \hspace {3pt}\textrm {x}\hspace {3pt} \hspace {3pt}\textrm {, using the chain rule}\hspace {3pt} \\ {} & {} & \frac {d^{4}}{d x^{4}}y \left (x \right )=\left (\frac {d^{4}}{d t^{4}}y \left (t \right )\right ) \left (\frac {d}{d x}t \left (x \right )\right )^{4}+3 \left (\frac {d}{d x}t \left (x \right )\right )^{2} \left (\frac {d^{2}}{d x^{2}}t \left (x \right )\right ) \left (\frac {d^{3}}{d t^{3}}y \left (t \right )\right )+3 \left (\frac {d^{2}}{d x^{2}}t \left (x \right )\right )^{2} \left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right )+3 \left (\left (\frac {d^{3}}{d x^{3}}t \left (x \right )\right ) \left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right )+\left (\frac {d^{3}}{d t^{3}}y \left (t \right )\right ) \left (\frac {d}{d x}t \left (x \right )\right ) \left (\frac {d^{2}}{d x^{2}}t \left (x \right )\right )\right ) \left (\frac {d}{d x}t \left (x \right )\right )+\left (\frac {d^{4}}{d x^{4}}t \left (x \right )\right ) \left (\frac {d}{d t}y \left (t \right )\right )+\left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right ) \left (\frac {d}{d x}t \left (x \right )\right ) \left (\frac {d^{3}}{d x^{3}}t \left (x \right )\right ) \\ {} & \circ & \textrm {Compute derivative}\hspace {3pt} \\ {} & {} & \frac {d^{4}}{d x^{4}}y \left (x \right )=\frac {\frac {d^{4}}{d t^{4}}y \left (t \right )}{x^{4}}-\frac {3 \left (\frac {d^{3}}{d t^{3}}y \left (t \right )\right )}{x^{4}}+\frac {5 \left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right )}{x^{4}}+\frac {3 \left (\frac {2 \left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right )}{x^{3}}-\frac {\frac {d^{3}}{d t^{3}}y \left (t \right )}{x^{3}}\right )}{x}-\frac {6 \left (\frac {d}{d t}y \left (t \right )\right )}{x^{4}} \\ & {} & \textrm {Substitute the change of variables back into the ODE}\hspace {3pt} \\ {} & {} & x^{3} \left (\frac {\frac {d^{4}}{d t^{4}}y \left (t \right )}{x^{4}}-\frac {3 \left (\frac {d^{3}}{d t^{3}}y \left (t \right )\right )}{x^{4}}+\frac {5 \left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right )}{x^{4}}+\frac {3 \left (\frac {2 \left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right )}{x^{3}}-\frac {\frac {d^{3}}{d t^{3}}y \left (t \right )}{x^{3}}\right )}{x}-\frac {6 \left (\frac {d}{d t}y \left (t \right )\right )}{x^{4}}\right )+6 x^{2} \left (\frac {\frac {d^{3}}{d t^{3}}y \left (t \right )}{x^{3}}-\frac {3 \left (\frac {d^{2}}{d t^{2}}y \left (t \right )\right )}{x^{3}}+\frac {2 \left (\frac {d}{d t}y \left (t \right )\right )}{x^{3}}\right )+7 x \left (\frac {\frac {d^{2}}{d t^{2}}y \left (t \right )}{x^{2}}-\frac {\frac {d}{d t}y \left (t \right )}{x^{2}}\right )+\frac {\frac {d}{d t}y \left (t \right )}{x}=0 \\ \bullet & {} & \textrm {Simplify}\hspace {3pt} \\ {} & {} & \frac {\frac {d^{4}}{d t^{4}}y \left (t \right )}{x}=0 \\ \bullet & {} & \textrm {Isolate 4th derivative}\hspace {3pt} \\ {} & {} & \frac {d^{4}}{d t^{4}}y \left (t \right )=0 \\ \square & {} & \textrm {Convert linear ODE into a system of first order ODEs}\hspace {3pt} \\ {} & \circ & \textrm {Define new variable}\hspace {3pt} y_{1}\left (t \right ) \\ {} & {} & y_{1}\left (t \right )=y \left (t \right ) \\ {} & \circ & \textrm {Define new variable}\hspace {3pt} y_{2}\left (t \right ) \\ {} & {} & y_{2}\left (t \right )=\frac {d}{d t}y \left (t \right ) \\ {} & \circ & \textrm {Define new variable}\hspace {3pt} y_{3}\left (t \right ) \\ {} & {} & y_{3}\left (t \right )=\frac {d^{2}}{d t^{2}}y \left (t \right ) \\ {} & \circ & \textrm {Define new variable}\hspace {3pt} y_{4}\left (t \right ) \\ {} & {} & y_{4}\left (t \right )=\frac {d^{3}}{d t^{3}}y \left (t \right ) \\ {} & \circ & \textrm {Isolate for}\hspace {3pt} \frac {d}{d t}y_{4}\left (t \right )\hspace {3pt}\textrm {using original ODE}\hspace {3pt} \\ {} & {} & \frac {d}{d t}y_{4}\left (t \right )=0 \\ & {} & \textrm {Convert linear ODE into a system of first order ODEs}\hspace {3pt} \\ {} & {} & \left [y_{2}\left (t \right )=\frac {d}{d t}y_{1}\left (t \right ), y_{3}\left (t \right )=\frac {d}{d t}y_{2}\left (t \right ), y_{4}\left (t \right )=\frac {d}{d t}y_{3}\left (t \right ), \frac {d}{d t}y_{4}\left (t \right )=0\right ] \\ \bullet & {} & \textrm {Define vector}\hspace {3pt} \\ {} & {} & {\moverset {\rightarrow }{y}}\left (t \right )=\left [\begin {array}{c} y_{1}\left (t \right ) \\ y_{2}\left (t \right ) \\ y_{3}\left (t \right ) \\ y_{4}\left (t \right ) \end {array}\right ] \\ \bullet & {} & \textrm {System to solve}\hspace {3pt} \\ {} & {} & \frac {d}{d t}{\moverset {\rightarrow }{y}}\left (t \right )=\left [\begin {array}{cccc} 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \\ 0 & 0 & 0 & 0 \end {array}\right ]\cdot {\moverset {\rightarrow }{y}}\left (t \right ) \\ \bullet & {} & \textrm {Define the coefficient matrix}\hspace {3pt} \\ {} & {} & A =\left [\begin {array}{cccc} 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \\ 0 & 0 & 0 & 0 \end {array}\right ] \\ \bullet & {} & \textrm {Rewrite the system as}\hspace {3pt} \\ {} & {} & \frac {d}{d t}{\moverset {\rightarrow }{y}}\left (t \right )=A \cdot {\moverset {\rightarrow }{y}}\left (t \right ) \\ \bullet & {} & \textrm {To solve the system, find the eigenvalues and eigenvectors of}\hspace {3pt} A \\ \bullet & {} & \textrm {Eigenpairs of}\hspace {3pt} A \\ {} & {} & \left [\left [0, \left [\begin {array}{c} 1 \\ 0 \\ 0 \\ 0 \end {array}\right ]\right ], \left [0, \left [\begin {array}{c} 0 \\ 0 \\ 0 \\ 0 \end {array}\right ]\right ], \left [0, \left [\begin {array}{c} 0 \\ 0 \\ 0 \\ 0 \end {array}\right ]\right ], \left [0, \left [\begin {array}{c} 0 \\ 0 \\ 0 \\ 0 \end {array}\right ]\right ]\right ] \\ \bullet & {} & \textrm {Consider eigenpair}\hspace {3pt} \\ {} & {} & \left [0, \left [\begin {array}{c} 1 \\ 0 \\ 0 \\ 0 \end {array}\right ]\right ] \\ \bullet & {} & \textrm {Solution to homogeneous system from eigenpair}\hspace {3pt} \\ {} & {} & {\moverset {\rightarrow }{y}}_{1}=\left [\begin {array}{c} 1 \\ 0 \\ 0 \\ 0 \end {array}\right ] \\ \bullet & {} & \textrm {Consider eigenpair}\hspace {3pt} \\ {} & {} & \left [0, \left [\begin {array}{c} 0 \\ 0 \\ 0 \\ 0 \end {array}\right ]\right ] \\ \bullet & {} & \textrm {Solution to homogeneous system from eigenpair}\hspace {3pt} \\ {} & {} & {\moverset {\rightarrow }{y}}_{2}=\left [\begin {array}{c} 0 \\ 0 \\ 0 \\ 0 \end {array}\right ] \\ \bullet & {} & \textrm {Consider eigenpair}\hspace {3pt} \\ {} & {} & \left [0, \left [\begin {array}{c} 0 \\ 0 \\ 0 \\ 0 \end {array}\right ]\right ] \\ \bullet & {} & \textrm {Solution to homogeneous system from eigenpair}\hspace {3pt} \\ {} & {} & {\moverset {\rightarrow }{y}}_{3}=\left [\begin {array}{c} 0 \\ 0 \\ 0 \\ 0 \end {array}\right ] \\ \bullet & {} & \textrm {Consider eigenpair}\hspace {3pt} \\ {} & {} & \left [0, \left [\begin {array}{c} 0 \\ 0 \\ 0 \\ 0 \end {array}\right ]\right ] \\ \bullet & {} & \textrm {Solution to homogeneous system from eigenpair}\hspace {3pt} \\ {} & {} & {\moverset {\rightarrow }{y}}_{4}=\left [\begin {array}{c} 0 \\ 0 \\ 0 \\ 0 \end {array}\right ] \\ \bullet & {} & \textrm {General solution to the system of ODEs}\hspace {3pt} \\ {} & {} & {\moverset {\rightarrow }{y}}=\mathit {C1} {\moverset {\rightarrow }{y}}_{1}+\mathit {C2} {\moverset {\rightarrow }{y}}_{2}+\mathit {C3} {\moverset {\rightarrow }{y}}_{3}+\mathit {C4} {\moverset {\rightarrow }{y}}_{4} \\ \bullet & {} & \textrm {Substitute solutions into the general solution}\hspace {3pt} \\ {} & {} & {\moverset {\rightarrow }{y}}=\left [\begin {array}{c} \mathit {C1} \\ 0 \\ 0 \\ 0 \end {array}\right ] \\ \bullet & {} & \textrm {First component of the vector is the solution to the ODE}\hspace {3pt} \\ {} & {} & y \left (t \right )=\mathit {C1} \\ \bullet & {} & \textrm {Change variables back using}\hspace {3pt} t =\ln \left (x \right ) \\ {} & {} & y \left (x \right )=\mathit {C1} \end {array} \]
15.20.3 Maple trace
`Methods for high order ODEs:
--- Trying classification methods ---
trying a quadrature
checking if the LODE has constant coefficients
checking if the LODE is of Euler type
<- LODE of Euler type successful`
15.20.4 Maple dsolve solution
Solving time : 0.002
(sec)
Leaf size : 22
dsolve(x^3*diff(diff(diff(diff(y(x),x),x),x),x)+6*x^2*diff(diff(diff(y(x),x),x),x)+7*x*diff(diff(y(x),x),x)+diff(y(x),x) = 0,
y(x),singsol=all)
\[
y \left (x \right ) = c_4 \ln \left (x \right )^{3}+c_{3} \ln \left (x \right )^{2}+c_{2} \ln \left (x \right )+c_{1}
\]
15.20.5 Mathematica DSolve solution
Solving time : 0.008
(sec)
Leaf size : 33
DSolve[{x^3*D[y[x],{x,4}]+6*x^2*D[y[x],{x,3}]+7*x*D[y[x],{x,2}]+D[y[x],x]==0,{}},
y[x],x,IncludeSingularSolutions->True]
\[
y(x)\to \frac {1}{3} c_3 \log ^3(x)+\frac {1}{2} c_2 \log ^2(x)+c_1 \log (x)+c_4
\]