phaseportrait - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DEtools

  

phaseportrait

  

plot solutions to a system of DEs

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

phaseportrait(deqns, vars, trange, inits, options)

Parameters

deqns

-

list or set of first order ordinary differential equations, or a single differential equation of any order

vars

-

dependent variable, or list or set of dependent variables

trange

-

range of the independent variable

inits

-

set or list of lists; initial conditions for solution curves

options

-

(optional) equations of the form keyword=value

Description

• 

Given a list (or set) of initial conditions (see below), and a system of first order differential equations or a single higher order differential equation, phaseportrait plots solution curves, by numerical methods. Note: This means that the initial conditions of the problem must be given in standard form, that is, the function values and all derivatives up to one less than the differential order of the differential equation at the same point.

• 

A system of two first order differential equations also produces a direction field plot, provided the system is determined to be autonomous. In addition, a single first order differential equation also produces a direction field (as it can always be mapped to a system of two first order autonomous differential equations). For systems not meeting these criteria, no direction field is produced (only solution curves are possible in such instances). There can be ONLY one independent variable.

• 

All of the properties and options available in phaseportrait are also found in DEplot. For more information, see DEplot.

• 

inits should be specified as

xt0=x0,yt0=y0,xt1=x1,yt1=y1,...

  

where the above is a list (or set) of lists, each sublist specifying one group of initial conditions.

Examples

withDEtools:

phaseportraitcosxdiffyx,`$`x,3diffyx,`$`x,2+πdiffyx,x=yxx,yx,x=2.5..1.4,y0=1,Dy0=2,D2y0=1,y=4..5,stepsize=0.05

phaseportraitDxt=ytzt,Dyt=ztxt,Dzt=xtyt2,xt,yt,zt,t=2..2,x0=1,y0=0,z0=2,stepsize=0.05,scene=zt,xt,linecolour=sintπ2,method=classicalforeuler

phaseportraitDyx=yxx2,yx,x=1..2.5,y0=0,y0=1,y0=1,title=`Asymptotic solution`,colour=magenta,linecolor=gold,yellow,wheat

See Also

DEplot

DEtools

DEtools[autonomous]

dfieldplot

dsolve[classical]

dsolve[dverk78]

dsolve[gear]

dsolve[lsode]

dsolve[numeric]

dsolve[rkf45]

plot

plots[odeplot]