FirstOrderLinear - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[ODEs][Solve]

  

FirstOrderLinear

  

Solve a first order linear ODE

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

FirstOrderLinear(ODE, y(x))

Parameters

ODE

-

a first order linear ordinary differential equation

y

-

name; the dependent variable

x

-

name; the independent variable

Description

• 

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.

Examples

> 

with⁡StudentODEsSolve:

> 

ode1≔diff⁡x⁡t,t+cos⁡t⁢x⁡t=1

ode1≔ⅆⅆtx⁡t+cos⁡t⁢x⁡t=1

(1)
> 

FirstOrderLinear⁡ode1,x⁡t

x⁡t=ⅇ−sin⁡t⁢∫ⅇsin⁡tⅆt+c__1

(2)
> 

ode2≔diff⁡x⁡t,t−exp⁡t⁢x⁡t=cos⁡t

ode2≔ⅆⅆtx⁡t−ⅇt⁢x⁡t=cos⁡t

(3)
> 

FirstOrderLinear⁡ode2,x⁡t

x⁡t=ⅇⅇt⁢∫ⅇ−ⅇt⁢cos⁡tⅆt+c__1

(4)
> 

ode3≔diff⁡x⁡t,t+x⁡t−t2=0

ode3≔ⅆⅆtx⁡t+x⁡t−t2=0

(5)
> 

FirstOrderLinear⁡ode3,x⁡t

x⁡t=ⅇ−t⁢c__1+t2−2⁢t+2

(6)
> 

ode4≔diff⁡x⁡t,t+exp⁡t⁢x⁡t−t2=0

ode4≔ⅆⅆtx⁡t+ⅇt⁢x⁡t−t2=0

(7)
> 

FirstOrderLinear⁡ode4,x⁡t

x⁡t=ⅇ−ⅇt⁢∫ⅇⅇt⁢t2ⅆt+c__1

(8)
> 

ode5≔diff⁡x⁡t,t+t⁢x⁡t−sin⁡t=0

ode5≔ⅆⅆtx⁡t+t⁢x⁡t−sin⁡t=0

(9)
> 

FirstOrderLinear⁡ode5,x⁡t

x⁡t=−ⅇ−t22⁢π⁢2⁢erf⁡2⁢−1+I⁢t2−erf⁡2⁢1+I⁢t2⁢ⅇ12−4⁢c__14

(10)

Compatibility

• 

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]

Student[ODEs][Solve]