Student[ODEs][ReduceOrder]
NoIndependentVariable
Reduce the order of an ODE missing the independent variable
Calling Sequence
Parameters
Description
Examples
Compatibility
NoIndependentVariable(ODE)
NoIndependentVariable(ODE, y(x))
NoIndependentVariable(ODE, y(x), u(t))
ODE
-
ordinary differential equation missing the independent variable
y
name; the dependent variable of the original ODE
x
name; the independent variable of the original ODE
u
name; the dependent variable for the reduced ODE
t
name; the independent variable for the reduced ODE
NoIndependentVariable finds the solution of an ODE which doesn't contain the independent variable other than via the dependent variable and its derivatives.
The second argument, y(x), representing the variable for the existing ODE, is optional. It must be given however, if the dependent and independent variables cannot be determined from the ODE.
The third argument, u(t), representing the variable for the reduced ODE, is optional. If it is not given, new independent and dependent variables will be chosen which do not conflict with the existing variables.
The default output is a sequence consisting of the reduced ODE in terms of the new variables, followed by the transformation used to recover the original ODE from the reduced ODE.
If an extra option solve or solve=true is also given, an attempt is made to solve the reduced ODE and return the general solution to the original ODE. If successful, the general solution of the original ODE will be returned.
with⁡StudentODEs:
with⁡StudentODEsReduceOrder:
Given a 2nd order ODE for y(x) which doesn't depend on x:
ode≔diff⁡y⁡x,x,x+diff⁡y⁡x,x2y⁡x=0
ode≔ⅆ2ⅆx2y⁡x+ⅆⅆxy⁡x2y⁡x=0
Find a reduction of order to a 1st order ODE, and the associated transformation:
reduced_ode,tr≔NoIndependentVariable⁡ode
reduced_ode,tr≔u⁡t⁢ⅆⅆtu⁡t+u⁡t2t=0,t=y⁡x,u⁡t=ⅆⅆxy⁡x
Solve the reduced order ODE:
reduced_sol≔Solve⁡reduced_ode,u⁡t
reduced_sol≔u⁡t=ⅇ_C1t
Apply the transformation to find a simpler ODE for the original variable y(x):
new_ode≔eval⁡reduced_sol,tr
new_ode≔ⅆⅆxy⁡x=ⅇ_C1y⁡x
Solve the simpler ODE to find the general solution of the original ODE:
Solve⁡new_ode,y⁡x
y⁡x=2⁢ⅇc__1⁢x+2⁢_C2,y⁡x=−2⁢ⅇc__1⁢x+2⁢_C2
Alternatively, the original ODE can be solved in a single step if we use the option solve:
NoIndependentVariable⁡ode,solve
Another example:
ode2≔diff⁡y⁡x,x,x+y⁡x⁢diff⁡y⁡x,x=0
ode2≔ⅆ2ⅆx2y⁡x+ⅆⅆxy⁡x⁢y⁡x=0
reduced_ode2,tr2≔NoIndependentVariable⁡ode2,y⁡x,v⁡s
reduced_ode2,tr2≔v⁡s⁢ⅆⅆsv⁡s+v⁡s⁢s=0,s=y⁡x,v⁡s=ⅆⅆxy⁡x
reduced_sol2≔Solve⁡reduced_ode2,v⁡s
reduced_sol2≔v⁡s=−s22+c__1
new_ode2≔eval⁡reduced_sol2,tr2
new_ode2≔ⅆⅆxy⁡x=−y⁡x22+c__1
Solve⁡new_ode2,y⁡x
y⁡x=tanh⁡c__1⁢x+_C2⁢22⁢c__1⁢2
NoIndependentVariable⁡ode2,solve
The Student[ODEs][ReduceOrder][NoIndependentVariable] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
dsolve
odeadvisor,missing
Student
Student[ODEs]
Student[ODEs][ReduceOrder][NoDependentVariable]
Download Help Document