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

Online Help

All Products    Maple    MapleSim


PDEtools

  

build

  

build an explicit expression for the indeterminate function from the solution given by the pdsolve command for a PDE

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

build(sol)

Parameters

sol

-

solution returned by the pdsolve command

Description

• 

This command takes a result given by pdsolve and uses it to arrive at an explicit expression for the indeterminate function of the corresponding PDE. This is particularly useful when the PDE was solved using separation of variables, with the corresponding introduction of ODEs, or when automatic changes of variables were realized. In these cases, build will attempt to integrate these ODEs or reintroduce the original variables (or both).

• 

Given a PDE, there are three ways to directly obtain, when possible, a concrete expression for the indeterminate function of the problem, without dealing with the intermediate structure returned by pdsolve. These are:

build(pdsolve(PDE));

  

This builds the result of pdsolve.  Alternatively, you can use

pdsolve(PDE, build);

  

Finally, you can assign the environment variable _EnvBuildPdsolve to 2 and pdsolve will build any returned result.

_EnvBuildPdsolve := 2;

• 

Although you can assign _EnvBuildPdsolve2 to directly receive an expression for the indeterminate function, in many cases pdsolve will obtain a result which is not the most general. In those cases, it would be preferable to display the PDE solution structure obtained with the default _EnvBuildPdsolve1. That structure contains information relevant to finding a general solution; for instance, using the HINT option of pdsolve and the dchange command.

• 

When, for any reason, a concrete expression for the indeterminate function cannot be built, then partially built results are returned using the same internal PDESolStruc function used by pdsolve (see ?pdsolve).

• 

This function is part of the PDEtools package, and so it can be used in the form build(..) only after executing the command with(PDEtools). However, it can always be accessed through the long form of the command by using PDEtools[build](..).

Examples

withPDEtools:

PDEx2difffx,y,x+ydifffx,y,y+difffx,y,y2+difffx,y,x=0

PDEx2xfx,y+yyfx,y+yfx,y2+xfx,y=0

(1)

anspdsolvePDE

ansfx,y=f__1x+f__2ywhereⅆⅆyf__2y2=yⅆⅆyf__2y_c1,ⅆⅆxf__1x=_c1x2+1

(2)

buildans

fx,y=_c1arctanx+c__1y24yy24_c14+_c1lny+y24_c1+c__2

(3)

PDEdifffx,y,ysinxxy+difffx,y,x2sinyxy=0

PDEyfx,ysinxxy+xfx,y2sinyxy=0

(4)

pdsolvePDE,build

fx,y=_c1sinxⅆx+c__1+_c1cosy+c__2

(5)

See Also

dchange

dsolve

pdetest

PDEtools

pdsolve