Type - 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]

  

Type

  

classify the solvability type of a first order ODE, if possible

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Type(ODE, y(x))

Type(ODE, class, y(x))

Parameters

ODE

-

a first order ordinary differential equation

y

-

name; the dependent variable

x

-

name; the independent variable

class

-

name; a solvability type

Description

• 

The Type(ODE, y(x)) returns a sequence of matching solvability types of ODE if any are found. Currently the only solvability types considered are: separable, linear, and exact.

• 

The Type(ODE, class, y(x)) returns true or false indicating whether the ODE is of the given solvability type class.

• 

The extra argument y(x) indicating the solving variable is optional in general, but it must be given when the solving variable cannot be determined unambiguously from the ODE.

Examples

> 

with⁡StudentODEs:

> 

types≔separable,linear,exact:

> 

ode1≔x2⁢y⁡x+1+y⁡x2⁢x−1⁢diff⁡y⁡x,x=0

ode1≔x2⁢y⁡x+1+y⁡x2⁢x−1⁢ⅆⅆxy⁡x=0

(1)
> 

Type⁡ode1,y⁡x

separable

(2)
> 

map2⁡Type,ode1,types,y⁡x

true,false,false

(3)
> 

ode2≔x2⁢y⁡x+1+x−1+diff⁡y⁡x,x=0

ode2≔x2⁢y⁡x+1+x−1+ⅆⅆxy⁡x=0

(4)
> 

Type⁡ode2

linear

(5)
> 

map2⁡Type,ode2,types

false,true,false

(6)
> 

ode3≔diff⁡x⁢y⁡x2+1+x2,x=0

ode3≔y⁡x2+1+2⁢x⁢y⁡x⁢ⅆⅆxy⁡x+2⁢x=0

(7)
> 

Type⁡ode3

exact

(8)
> 

map2⁡Type,ode3,types

false,false,true

(9)
> 

ode4≔diff⁡x⁢y⁡x+1,x=0

ode4≔y⁡x+1+x⁢ⅆⅆxy⁡x=0

(10)
> 

Type⁡ode4

exact,linear,separable

(11)
> 

map2⁡Type,ode4,types

true,true,true

(12)

Compatibility

• 

The Student[ODEs][Type] command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

DEtools[odeadvisor]

map2

Student

Student[ODEs]