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

Online Help

All Products    Maple    MapleSim


Overview of the Student:-ODEs:-Solve Command and Subpackage

 

Calling Sequence

Parameters

Description

Computation

Getting Help with a Command in the Package

Examples

Compatibility

Calling Sequence

Student:-ODEs:-Solve:-command(arguments)

command(arguments)

Solve(ODE)

Solve(ODE, vars)

Parameters

ODE

-

an ordinary differential equation, an IVP, or a system

vars

-

function, or a list or set of functions; the dependent variable(s), written in the form y(x)

Description

• 

The Solve command finds the solution of an ordinary differential equation, an initial value problem, or a system of ODEs.

• 

Using the option output=steps will cause this command to return an annotated step-by-step solution. To see what options are available to control the format and display the step-by-step solution, see Student:-Basics:-OutputStepsRecord. The options supported by that command can be passed into this one.

• 

Student:-ODEs:-Solve is also a subpackage containing a number of commands for solving ordinary differential equations and systems of ODEs.

• 

Each command in the Student:-ODEs:-Solve subpackage can be accessed by using either the long form or the short form of the command name in the command calling sequence.

  

The long form, Student:-ODEs:-Solve:-command or Student:-ODEs:-Solve:-command, is always available. The short form can be used after loading the package.

• 

The Maple Command Completion facility is helpful for entering the names of Student package commands.

Computation

  

The subpackage Student:-ODEs:-Solve consists of commands for solving ODEs and systems according to various methods:

Bessel

ByLaplaceTransform

ByPerturbation

BySeries

ByUndeterminedCoefficients

ByVariationOfParameters

CauchyEuler

Chebyshev

Exact

FirstOrder

FirstOrderLinear

HighOrder

LinearConstantCoefficients

SecondOrder

Separable

System

Getting Help with a Command in the Package

  

To display the help page for a particular Student:-ODEs:-Solve command, see Getting Help with a Command in a Package.

Examples

> 

with⁡Student:-ODEs:

> 

ode1≔t2⁢z⁡t+1+z⁡t2⁢t−1⁢diff⁡z⁡t,t=0

ode1≔t2⁢z⁡t+1+z⁡t2⁢t−1⁢ⅆⅆtz⁡t=0

(1)
> 

Solve⁡ode1,z⁡t

z⁡t22−z⁡t+ln⁡z⁡t+1=−t22−t−ln⁡t−1+c__1

(2)
> 

ic1≔z⁡3=1

ic1≔z⁡3=1

(3)
> 

Solve⁡ic1,ode1

z⁡t22−z⁡t+ln⁡z⁡t+1=−t22−t−ln⁡t−1+7+2⁢ln⁡2

(4)
> 

ode2≔diff⁡y⁡x,x,x−diff⁡y⁡x,x−x⁢exp⁡x=0

ode2≔ⅆ2ⅆx2y⁡x−ⅆⅆxy⁡x−x⁢ⅇx=0

(5)
> 

Solve⁡ode2,y⁡x

y⁡x=c__1+c__2⁢ⅇx+ⅇx⁢1−x+12⁢x2

(6)
> 

ode3≔diff⁡y⁡x,x,x+5⁢diff⁡y⁡x,x2y⁡x=0

ode3≔ⅆ2ⅆx2y⁡x+5⁢ⅆⅆxy⁡x2y⁡x=0

(7)
> 

Solve⁡ode3,y⁡x

y⁡x=c__1⁢x+c__216,y⁡x=c__1⁢x+c__216,y⁡x=c__2⁢c__1⁢x+116

(8)
> 

ode4≔x3⁢diff⁡y⁡x,x,x,x+3⁢x2⁢diff⁡y⁡x,x,x−6⁢x⁢diff⁡y⁡x,x−6⁢y⁡x=0

ode4≔x3⁢ⅆ3ⅆx3y⁡x+3⁢x2⁢ⅆ2ⅆx2y⁡x−6⁢x⁢ⅆⅆxy⁡x−6⁢y⁡x=0

(9)
> 

Solve⁡ode4,y⁡x

y⁡x=c__1⁢x5+c__3⁢x+c__2x2

(10)
> 

sys5≔diff⁡y1⁡x,x=7⁢y1⁡x+y2⁡x,diff⁡y2⁡x,x=−4⁢y1⁡x+3⁢y2⁡x

sys5≔ⅆⅆxy1⁡x=7⁢y1⁡x+y2⁡x,ⅆⅆxy2⁡x=−4⁢y1⁡x+3⁢y2⁡x

(11)
> 

Solve⁡sys5

y1⁡x=−ⅇ5⁢x⁢2⁢c__2⁢x+2⁢c__1+c__24,y2⁡x=ⅇ5⁢x⁢c__2⁢x+c__1

(12)

Compatibility

• 

The Student:-ODEs:-Solve package was introduced in Maple 2021.

• 

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

See Also

Command Completion

dsolve

Student

Student, ODEs