Internal
problem
ID
[4086] Book
:
Differential
equations,
Shepley
L.
Ross,
1964 Section
:
2.4,
page
55 Problem
number
:
10 Date
solved
:
Friday, February 21, 2025 at 08:39:21 AM CAS
classification
:
[[_homogeneous, `class C`], _rational, [_Abel, `2nd type`, `class A`]]
Solve
\begin{align*} 2 x +3 y+1+\left (4 x +6 y+1\right ) y^{\prime }&=0 \end{align*}
With initial conditions
\begin{align*} y \left (-2\right )&=2 \end{align*}
Existence and uniqueness analysis
This is non linear first order ODE. In canonical form it is written as
\begin{align*} y^{\prime } &= f(x,y)\\ &= -\frac {2 x +3 y +1}{4 x +6 y +1} \end{align*}
And the point \(y_0 = 2\) is inside this domain. Now we will look at the continuity of
\begin{align*} \frac {\partial f}{\partial y} &= \frac {\partial }{\partial y}\left (-\frac {2 x +3 y +1}{4 x +6 y +1}\right ) \\ &= -\frac {3}{4 x +6 y +1}+\frac {12 x +18 y +6}{\left (4 x +6 y +1\right )^{2}} \end{align*}
The \(x\) domain of \(\frac {\partial f}{\partial y}\) when \(y=2\) is
And the point \(y_0 = 2\) is inside this domain. Therefore solution exists and is unique.
Solved as first order polynomial type ode
Time used: 0.390 (sec)
This is ODE of type polynomial. Where the RHS of the ode is ratio of equations of two lines. Writing the ODE in the form
\[ y^{\prime }= \frac {a_1 x + b_1 y + c_1}{ a_2 x + b_2 y + c_3 } \]
Where \(a_1=-2, b_1=-3, c_1 =-1, a_2=4, b_2=6, c_2=1\). There are now two possible solution methods. The first case is when the two lines \(a_1 x + b_1 y + c_1\),\( a_2 x + b_2 y + c_3\) are not parallel and the second case is if they are parallel. If they are not parallel, then the transformation \(X=x-x_0\), \(Y=y-y_0\) converts the ODE to a homogeneous ODE. The values \( x_0,y_0\) have to be determined. If they are
parallel then a transformation \(U(x)=a_1 x + b_1 y\) converts the given ODE in \(y\) to a separable ODE in \(U(x)\). The first case is when \(\frac {a_1}{b_1} \neq \frac {a_2}{b_2}\) and the second case when \(\frac {a_1}{b_1} = \frac {a_2}{b_2}\). From the above we see that \(\frac {a_1}{b_1}=\frac {-2}{-3}={\frac {2}{3}}\) and \(\frac {a_2}{b_2}=\frac {4}{6}={\frac {2}{3}}\). Hence this is case two, where the lines are parallel. Let \(U(x)=-2 x -3 y\). Solving for \(y\) gives
Which is now solved as separable in \(U \left (x \right )\). Integrating gives
\begin{align*} \int -\frac {2 U -1}{U +1}d U &= dx\\ -2 U +3 \ln \left (U +1\right )&= x +c_2 \end{align*}
Singular solutions are found by solving
\begin{align*} -\frac {U +1}{2 U -1}&= 0 \end{align*}
for \(U \left (x \right )\). This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.
\begin{align*} U \left (x \right ) = -1 \end{align*}
Each of the above solutions is now converted converted back to \(y\). The solution \(U \left (x \right ) = -1\) is converted to \(y\) using \(U \left (x \right ) = -2 x -3 y\). Which gives
\[ -2 x -3 y = -1 \]
Or
\[ y = \frac {1}{3}-\frac {2 x}{3} \]
The solution \(U \left (x \right ) = -\frac {3 \operatorname {LambertW}\left (-\frac {2 \,{\mathrm e}^{\frac {x}{3}+\frac {c_2}{3}-\frac {2}{3}}}{3}\right )}{2}-1\) is converted to \(y\) using \(U \left (x \right ) = -2 x -3 y\). Which gives
\[ -2 x -3 y = -\frac {3 \operatorname {LambertW}\left (-\frac {2 \,{\mathrm e}^{\frac {x}{3}+\frac {c_2}{3}-\frac {2}{3}}}{3}\right )}{2}-1 \]
Substituting equations (1E,2E) and \(\omega \) into (A) gives
\begin{equation}
\tag{5E} b_{2}-\frac {\left (2 x +3 y +1\right ) \left (b_{3}-a_{2}\right )}{4 x +6 y +1}-\frac {\left (2 x +3 y +1\right )^{2} a_{3}}{\left (4 x +6 y +1\right )^{2}}-\left (-\frac {2}{4 x +6 y +1}+\frac {8 x +12 y +4}{\left (4 x +6 y +1\right )^{2}}\right ) \left (x a_{2}+y a_{3}+a_{1}\right )-\left (-\frac {3}{4 x +6 y +1}+\frac {12 x +18 y +6}{\left (4 x +6 y +1\right )^{2}}\right ) \left (x b_{2}+y b_{3}+b_{1}\right ) = 0
\end{equation}
Putting the above in normal form gives
\[
\frac {8 x^{2} a_{2}-4 x^{2} a_{3}+16 x^{2} b_{2}-8 x^{2} b_{3}+24 x y a_{2}-12 x y a_{3}+48 x y b_{2}-24 x y b_{3}+18 y^{2} a_{2}-9 y^{2} a_{3}+36 y^{2} b_{2}-18 y^{2} b_{3}+4 x a_{2}-4 x a_{3}+5 x b_{2}-6 x b_{3}+9 y a_{2}-8 y a_{3}+12 y b_{2}-12 y b_{3}-2 a_{1}+a_{2}-a_{3}-3 b_{1}+b_{2}-b_{3}}{\left (4 x +6 y +1\right )^{2}} = 0
\]
Setting the numerator to zero gives
\begin{equation}
\tag{6E} 8 x^{2} a_{2}-4 x^{2} a_{3}+16 x^{2} b_{2}-8 x^{2} b_{3}+24 x y a_{2}-12 x y a_{3}+48 x y b_{2}-24 x y b_{3}+18 y^{2} a_{2}-9 y^{2} a_{3}+36 y^{2} b_{2}-18 y^{2} b_{3}+4 x a_{2}-4 x a_{3}+5 x b_{2}-6 x b_{3}+9 y a_{2}-8 y a_{3}+12 y b_{2}-12 y b_{3}-2 a_{1}+a_{2}-a_{3}-3 b_{1}+b_{2}-b_{3} = 0
\end{equation}
Looking at the above PDE shows the following are all the terms with \(\{x, y\}\) in them.
\[
\{x, y\}
\]
The following substitution is now made to be able to collect on
all terms with \(\{x, y\}\) in them
Substituting the above solution in the anstaz (1E,2E) (using \(1\) as arbitrary value for any unknown in the RHS) gives
\begin{align*}
\xi &= -12 x -18 y \\
\eta &= 6 x +9 y +1 \\
\end{align*}
The next step is to determine the canonical coordinates \(R,S\). The canonical coordinates map \(\left ( x,y\right ) \to \left ( R,S \right )\) where \(\left ( R,S \right )\) are the canonical coordinates which make the original ode become a quadrature and hence solved by integration.
The characteristic pde which is used to find the canonical coordinates is
The above comes from the requirements that \(\left ( \xi \frac {\partial }{\partial x} + \eta \frac {\partial }{\partial y}\right ) S(x,y) = 1\). Starting with the first pair of ode’s in (1) gives an ode to solve for the independent variable \(R\) in the canonical coordinates, where \(S(R)\). Therefore
\begin{align*} \frac {dy}{dx} &= \frac {\eta }{\xi }\\ &= \frac {6 x +9 y +1}{-12 x -18 y}\\ &= \frac {-6 x -9 y -1}{12 x +18 y} \end{align*}
Where the constant of integration is set to zero as we just need one solution. Replacing back \(c_1 = -3 x -6 y -2 \ln \left (2 x +3 y -1\right )\) then the above becomes
\begin{align*} S &= -\frac {\ln \left (\operatorname {LambertW}\left ({\mathrm e}^{-1+2 x +3 y +\ln \left (2 x +3 y -1\right )}\right )\right )}{3} \end{align*}
Now that \(R,S\) are found, we need to setup the ode in these coordinates. This is done by evaluating
Where in the above \(R_{x},R_{y},S_{x},S_{y}\) are all partial derivatives and \(\omega (x,y)\) is the right hand side of the original ode given by
\begin{align*} \omega (x,y) &= -\frac {2 x +3 y +1}{4 x +6 y +1} \end{align*}
Evaluating all the partial derivatives gives
\begin{align*} R_{x} &= -3-\frac {4}{2 x +3 y -1}\\ R_{y} &= -6-\frac {6}{2 x +3 y -1}\\ S_{x} &= -\frac {2}{6 x +9 y -3}\\ S_{y} &= -\frac {1}{2 x +3 y -1} \end{align*}
Substituting all the above in (2) and simplifying gives the ode in canonical coordinates.
We now need to express the RHS as function of \(R\) only. This is done by solving for \(x,y\) in terms of \(R,S\) from the result obtained earlier and simplifying. This gives
The above is a quadrature ode. This is the whole point of Lie symmetry method. It converts an ode, no matter how complicated it is, to one that can be solved by integration when the ode is in the canonical coordiates \(R,S\).
Since the ode has the form \(\frac {d}{d R}S \left (R \right )=f(R)\), then we only need to integrate \(f(R)\).
This ODE is now solved for \(p \left (x \right )\). No inversion is needed.
Integrating gives
\begin{align*} \int \frac {1}{\left (3 p +2\right ) \left (1+2 p \right )^{2}}d p &= dx\\ -\frac {1}{1+2 p}-3 \ln \left (1+2 p \right )+3 \ln \left (3 p +2\right )&= x +c_1 \end{align*}
Singular solutions are found by solving
\begin{align*} \left (3 p +2\right ) \left (1+2 p \right )^{2}&= 0 \end{align*}
for \(p \left (x \right )\). This is because we had to divide by this in the above step. This gives the following singular solution(s), which also have to satisfy the given ODE.
\begin{align*} p \left (x \right ) = -{\frac {2}{3}}\\ p \left (x \right ) = -{\frac {1}{2}} \end{align*}
Substituing the above solution for \(p\) in (2A) gives
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & \left [2 x +3 y \left (x \right )+1+\left (4 x +6 y \left (x \right )+1\right ) \left (\frac {d}{d x}y \left (x \right )\right )=0, y \left (-2\right )=2\right ] \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & \frac {d}{d x}y \left (x \right ) \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & \frac {d}{d x}y \left (x \right )=\frac {-2 x -3 y \left (x \right )-1}{4 x +6 y \left (x \right )+1} \\ \bullet & {} & \textrm {Use initial condition}\hspace {3pt} y \left (-2\right )=2 \\ {} & {} & 0 \\ \bullet & {} & \textrm {Solve for}\hspace {3pt} 0 \\ {} & {} & 0=0 \\ \bullet & {} & \textrm {Substitute}\hspace {3pt} 0=0\hspace {3pt}\textrm {into general solution and simplify}\hspace {3pt} \\ {} & {} & 0 \\ \bullet & {} & \textrm {Solution to the IVP}\hspace {3pt} \\ {} & {} & 0 \end {array} \]
Maple trace
`Methodsfor first order ODEs:---Trying classification methods ---tryinga quadraturetrying1st order lineartryingBernoullitryingseparabletryinginverse lineartryinghomogeneous types:tryinghomogeneous C1storder, trying the canonical coordinates of the invariance group-> Calling odsolve with the ODE`, diff(y(x), x) = -2/3, y(x)` *** Sublevel 2 ***Methods for first order ODEs:--- Trying classification methods ---trying a quadraturetrying 1st order linear<- 1st order linear successful<-1st order, canonical coordinates successful<-homogeneous successful`