Student[ODEs][Solve]
FirstOrderLinear
Solve a first order linear ODE
Calling Sequence
Parameters
Description
Examples
Compatibility
FirstOrderLinear(ODE, y(x))
ODE
-
a first order linear ordinary differential equation
y
name; the dependent variable
x
name; the independent variable
The FirstOrderLinear(ODE, y(x)) command finds the solution of a first order linear ODE.
Use the option output=steps to make this command return an annotated step-by-step solution. Further control over the format and display of the step-by-step solution is available using the options described in Student:-Basics:-OutputStepsRecord. The options supported by that command can be passed to this one.
with⁡StudentODEsSolve:
ode1≔diff⁡x⁡t,t+cos⁡t⁢x⁡t=1
ode1≔ⅆⅆtx⁡t+cos⁡t⁢x⁡t=1
FirstOrderLinear⁡ode1,x⁡t
x⁡t=ⅇ−sin⁡t⁢∫ⅇsin⁡tⅆt+_C1
ode2≔diff⁡x⁡t,t−exp⁡t⁢x⁡t=cos⁡t
ode2≔ⅆⅆtx⁡t−ⅇt⁢x⁡t=cos⁡t
FirstOrderLinear⁡ode2,x⁡t
x⁡t=ⅇⅇt⁢∫ⅇ−ⅇt⁢cos⁡tⅆt+_C1
ode3≔diff⁡x⁡t,t+x⁡t−t2=0
ode3≔ⅆⅆtx⁡t+x⁡t−t2=0
FirstOrderLinear⁡ode3,x⁡t
x⁡t=t2−2⁢t+2+_C1⁢ⅇ−t
ode4≔diff⁡x⁡t,t+exp⁡t⁢x⁡t−t2=0
ode4≔ⅆⅆtx⁡t+ⅇt⁢x⁡t−t2=0
FirstOrderLinear⁡ode4,x⁡t
x⁡t=ⅇ−ⅇt⁢∫ⅇⅇt⁢t2ⅆt+_C1
ode5≔diff⁡x⁡t,t+t⁢x⁡t−sin⁡t=0
ode5≔ⅆⅆtx⁡t+t⁢x⁡t−sin⁡t=0
FirstOrderLinear⁡ode5,x⁡t
x⁡t=−π⁢ⅇ12⁢2⁢erf⁡2⁢−1+I⁢t2−π⁢ⅇ12⁢2⁢erf⁡2⁢1+I⁢t2−4⁢_C1⁢ⅇ−t224
The Student[ODEs][Solve][FirstOrderLinear] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
The Student[ODEs][Solve][FirstOrderLinear] command was updated in Maple 2022.
The output option was introduced in Maple 2022.
For more information on Maple 2022 changes, see Updates in Maple 2022.
See Also
dsolve
Student
Student[ODEs]
Download Help Document