2.1.15.5 Solved using first_order_ode_LIE
Entering first order ode LIE solver
\[\begin {aligned} x^{\prime }&=\cos \left (\frac {x}{t}\right ) \end {aligned}\]
Writing the ode as
\begin{align*} x^{\prime }&=\cos \left (\frac {x}{t}\right )\\ x^{\prime }&= \omega \left ( t,x\right ) \end{align*}
The condition of Lie symmetry is the linearized PDE given by
\begin{align*} \eta _{t}+\omega \left ( \eta _{x}-\xi _{t}\right ) -\omega ^{2}\xi _{x}-\omega _{t}\xi -\omega _{x}\eta =0\tag {A} \end{align*}
\(\xi ,\eta \) are determined by solving (A) using ansatz. Making bivariate polynomials of degree 1 to use as
anstaz gives
\begin{align*} \xi &= t a_{2}+x a_{3}+a_{1}\tag {1E} \\ \eta &= t b_{2}+x b_{3}+b_{1}\tag {2E} \end{align*}
Where the unknown coefficients are
\begin{align*} \{a_{1}, a_{2}, a_{3}, b_{1}, b_{2}, b_{3}\} \end{align*}
Substituting equations (1E,2E) and \(\omega \) into (A) gives
\begin{equation}
\tag{5E} b_{2}+\cos \left (\frac {x}{t}\right ) \left (b_{3}-a_{2}\right )-\cos \left (\frac {x}{t}\right )^{2} a_{3}-\frac {x \sin \left (\frac {x}{t}\right ) \left (t a_{2}+x a_{3}+a_{1}\right )}{t^{2}}+\frac {\sin \left (\frac {x}{t}\right ) \left (t b_{2}+x b_{3}+b_{1}\right )}{t} = 0
\end{equation}
Putting the above in normal form gives
\[
-\frac {\cos \left (\frac {x}{t}\right )^{2} a_{3} t^{2}+\cos \left (\frac {x}{t}\right ) t^{2} a_{2}-\cos \left (\frac {x}{t}\right ) t^{2} b_{3}-\sin \left (\frac {x}{t}\right ) t^{2} b_{2}+\sin \left (\frac {x}{t}\right ) t x a_{2}-\sin \left (\frac {x}{t}\right ) t x b_{3}+\sin \left (\frac {x}{t}\right ) x^{2} a_{3}-\sin \left (\frac {x}{t}\right ) t b_{1}+\sin \left (\frac {x}{t}\right ) x a_{1}-b_{2} t^{2}}{t^{2}} = 0
\]
Setting the numerator to zero gives
\[
-\cos \left (\frac {x}{t}\right )^{2} a_{3} t^{2}-\cos \left (\frac {x}{t}\right ) t^{2} a_{2}+\cos \left (\frac {x}{t}\right ) t^{2} b_{3}+\sin \left (\frac {x}{t}\right ) t^{2} b_{2}-\sin \left (\frac {x}{t}\right ) t x a_{2}+\sin \left (\frac {x}{t}\right ) t x b_{3}-\sin \left (\frac {x}{t}\right ) x^{2} a_{3}+\sin \left (\frac {x}{t}\right ) t b_{1}-\sin \left (\frac {x}{t}\right ) x a_{1}+b_{2} t^{2} = 0
\]
Simplifying the above gives
\begin{equation}
\tag{6E} b_{2} t^{2}-\frac {a_{3} t^{2}}{2}-\frac {a_{3} t^{2} \cos \left (\frac {2 x}{t}\right )}{2}-\cos \left (\frac {x}{t}\right ) t^{2} a_{2}+\cos \left (\frac {x}{t}\right ) t^{2} b_{3}+\sin \left (\frac {x}{t}\right ) t^{2} b_{2}-\sin \left (\frac {x}{t}\right ) t x a_{2}+\sin \left (\frac {x}{t}\right ) t x b_{3}-\sin \left (\frac {x}{t}\right ) x^{2} a_{3}+\sin \left (\frac {x}{t}\right ) t b_{1}-\sin \left (\frac {x}{t}\right ) x a_{1} = 0
\end{equation}
Looking at the above PDE shows the following are all the terms with \(\{t, x\}\) in them.
\begin{align*} \left \{t, x, \cos \left (\frac {x}{t}\right ), \cos \left (\frac {2 x}{t}\right ), \sin \left (\frac {x}{t}\right )\right \} \end{align*}
The following substitution is made in order to be able to collect on all terms with \(\{t, x\}\) in them
\[
\left \{t = v_{1}, x = v_{2}, \cos \left (\frac {x}{t}\right ) = v_{3}, \cos \left (\frac {2 x}{t}\right ) = v_{4}, \sin \left (\frac {x}{t}\right ) = v_{5}\right \}
\]
The above PDE (6E) now becomes
\begin{equation}
\tag{7E} b_{2} v_{1}^{2}-\frac {1}{2} a_{3} v_{1}^{2}-\frac {1}{2} a_{3} v_{1}^{2} v_{4}-v_{3} v_{1}^{2} a_{2}+v_{3} v_{1}^{2} b_{3}+v_{5} v_{1}^{2} b_{2}-v_{5} v_{1} v_{2} a_{2}+v_{5} v_{1} v_{2} b_{3}-v_{5} v_{2}^{2} a_{3}+v_{5} v_{1} b_{1}-v_{5} v_{2} a_{1} = 0
\end{equation}
Collecting the above on the terms \(v_i\) introduced, and these are
\begin{align*} \{v_{1}, v_{2}, v_{3}, v_{4}, v_{5}\} \end{align*}
Equation (7E) now becomes
\begin{equation}
\tag{8E} -\frac {a_{3} v_{1}^{2} v_{4}}{2}+\left (b_{3}-a_{2}\right ) v_{1}^{2} v_{3}+v_{5} v_{1}^{2} b_{2}-v_{5} v_{2}^{2} a_{3}+v_{5} v_{1} b_{1}-v_{5} v_{2} a_{1}+\left (b_{3}-a_{2}\right ) v_{2} v_{1} v_{5}+\left (b_{2}-\frac {a_{3}}{2}\right ) v_{1}^{2} = 0
\end{equation}
Setting each coefficients in (8E) to zero gives the following equations to solve
\begin{align*}
b_{1}&=0 \\
b_{2}&=0 \\
-a_{1}&=0 \\
-a_{3}&=0 \\
-\frac {a_{3}}{2}&=0 \\
b_{2}-\frac {a_{3}}{2}&=0 \\
b_{3}-a_{2}&=0 \\
\end{align*}
Solving the above equations for the unknowns gives
\begin{align*} a_{1}&=0\\ a_{2}&=b_{3}\\ a_{3}&=0\\ b_{1}&=0\\ b_{2}&=0\\ b_{3}&=b_{3} \end{align*}
Substituting the above solution in the anstaz (1E,2E) (using \(1\) as arbitrary value for any unknown
in the RHS) gives
\begin{align*} \xi &= t\\ \eta &= x \end{align*}
The next step is to determine the canonical coordinates \(R,S\). The canonical coordinates map \(\left ( t,x\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
\begin{align*} \frac {d t}{\xi } &= \frac {d x}{\eta } = dS \tag {1} \end{align*}
The above comes from the requirements that \(\left ( \xi \frac {\partial }{\partial t} + \eta \frac {\partial }{\partial x}\right ) S(t,x) = 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 {dx}{dt} &= \frac {\eta }{\xi }\\ &= \frac {x}{t}\\ &= \frac {x}{t} \end{align*}
The solution to the above ode is
\begin{align*} x = c_1 t \end{align*}
The coordinate \(R\) is taken as the constant of integration. Therefore
\begin{align*} R &= \frac {x}{t} \end{align*}
And \(S\) is found from
\begin{align*} dS &= \frac {dt}{\xi } \\ &= \frac {dt}{t} \end{align*}
Integrating gives
\begin{align*} S &= \int { \frac {dt}{t}}\\ &= \ln \left (t \right ) \end{align*}
Where the constant of integration is set to zero as any particular solution will work. Now
that \(R,S\) are found, the ode is now setupin these coordinates. This is done by evaluating
\begin{align*} \frac {dS}{dR} &= \frac { S_{t} + \omega (t,x) S_{x} }{ R_{t} + \omega (t,x) R_{x} }\tag {2} \end{align*}
Where in the above \(R_{t},R_{x},S_{t},S_{x}\) are all partial derivatives and \(\omega (t,x)\) is the right hand side of the original ode given
by
\begin{align*} \omega (t,x) &= \cos \left (\frac {x}{t}\right ) \end{align*}
Evaluating all the partial derivatives gives
\begin{align*} R_{t} &= -\frac {x}{t^{2}}\\ R_{x} &= \frac {1}{t}\\ S_{t} &= \frac {1}{t}\\ S_{x} &= 0 \end{align*}
Substituting all the above in (2) and simplifying gives the ode in canonical coordinates.
\begin{align*} \frac {dS}{dR} &= \frac {t}{t \cos \left (\frac {x}{t}\right )-x}\tag {2A} \end{align*}
To express the RHS as function of \(R\) only, \(t,x\) are expressed in terms of \(R,S\) from the result obtained
earlier and the result is simplified. This gives
\begin{align*} \frac {dS}{dR} &= \frac {1}{\cos \left (R \right )-R} \end{align*}
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\).
Because the ODE has the form \(\frac {d}{d R}S \left (R \right )=f(R)\), the solution requires only integration. Therefore
\begin{align*} dS &= \left (\frac {1}{\cos \left (R \right )-R}\right ) \, dR\\ S &= \int { \left (\frac {1}{\cos \left (R \right )-R}\right ) \, dR}\\ &= \int \frac {1}{\cos \left (R \right )-R}d R +c_2 \end{align*}
To complete the solution, The above is transformed back to the \(t,x\) coordinates. This results in
\begin{align*} \ln \left (t \right ) = \int _{}^{\frac {x}{t}}\frac {1}{\cos \left (\textit {\_a} \right )-\textit {\_a}}d \textit {\_a} +c_2 \end{align*}
The following diagram shows solution curves of the original ode and how they transform in the
canonical coordinates space using the mapping shown.
| | |
| Original ode in \(t,x\) coordinates |
Canonical coordinates
transformation |
ODE in canonical coordinates \((R,S)\) |
| | |
| \( \frac {dx}{dt} = \cos \left (\frac {x}{t}\right )\) |
|
\( \frac {d S}{d R} = \frac {1}{\cos \left (R \right )-R}\) |
|
|
\(\!\begin {aligned} R&= \frac {x}{t}\\ S&= \ln \left (t \right ) \end {aligned} \) |
|
| | |
|
|
|
| Direction field with Isoclines | Direction field |
Summary of solutions found
\[
\ln \left (t \right ) = \int _{}^{\frac {x}{t}}\frac {1}{\cos \left (\textit {\_a} \right )-\textit {\_a}}d \textit {\_a} +c_2
\]