Entering first order ode LIE solver
Writing the ode as
The condition of Lie symmetry is the linearized PDE given by
\(\xi ,\eta \) are determined by solving (A) using ansatz. The following anstaz will now be tried.
Where the unknown coefficients are
Substituting (1E,2E) and \(\omega \) into (A) gives
Putting the above in normal form gives
Setting the numerator to zero gives
Looking at the above PDE shows the following are all the terms with \(\{t, x\}\) in them.
The following substitution is made in order to be able to collect on all terms with \(\{t, x\}\) in them
The above PDE (6E) now becomes
Collecting the above on the terms \(v_i\) introduced, and these are
Equation (7E) now becomes
Setting each coefficients in (8E) to zero gives the following equations to solve
Solving the above equations for the unknowns gives
Substituting the above solution in the anstaz (1E,2E) (using \(1\) as arbitrary value for any unknown in the RHS) gives
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
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
The solution to the above ode is
The coordinate \(R\) is taken as the constant of integration. Therefore
And \(S\) is found from
Integrating gives
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
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
Evaluating all the partial derivatives gives
Substituting all the above in (2) and simplifying gives the ode in canonical coordinates.
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
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
To complete the solution, The above is transformed back to the \(t,x\) coordinates. This results in
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} = -2 x +{\mathrm e}^{t}\) |
|
\( \frac {d S}{d R} = -\frac {1}{-1+3 R}\) |
| |
\(\!\begin {aligned} R&= {\mathrm e}^{-t} x\\ S&= t \end {aligned} \) |
|
Solving for \(x\) from \(t = -\frac {\ln \left (3 \,{\mathrm e}^{-t} x-1\right )}{3}+c_2\) gives
| | |
| Direction field with Isoclines | Direction field |
Summary of solutions found