Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

GERF

Symbols

  • GERFSolve
Taggar`GERF`
GERFSolve
​
GERFSolve
[lhs=rhs,u[vars],...]
solves the NLPDE given by
lhs=rhs
for
u[vars]
using the GERF expansion technique.
​
​
GERFSolve
[{
eqn
1
,
eqn
2
,...,
eqn
k
},{
u
1
[vars],
u
2
[vars],...,
u
k
[vars]},...]
solves the system of equations
{
eqn
1
,
eqn
2
,...,
eqn
k
}
for
{
u
1
[vars],
u
2
[vars],...,
u
k
[vars]}
using GERF expansion technique.
​
Details and Options
▪
The following options can be given:
"BalanceConstant"
Automatic
balance constant of the equation obtained using balancing principle
"RationalFunction"
1
1+
#

&
the general exponential rational function used for solving
"WaveConstants"
{

x
,

y
,...,

t
}
the wave constants used in wave transformation
▪
"OutputMode" takes the following values:
"Solutions"
solutions in the form of u(x, y, ..., t)
"SolutionSets"
sets of dependent and independent variables used to obtain "Solutions"
All
both of the above
▪
The balancing constant for wave transformation is calculated automatically for the given equation. However, if and when the package fails to calculate one, "BalanceConstant" be used as described above.
▪
GERFSolve
accepts single nonlinear partial differential equations in integral or fractional order.
▪
For fractional order equations,
FractionalD
may be used and the package regards it as the conformal derivative.
▪
The wave transformation is considered to be of the form
η=

x
1
x
1
+

x
2
x
2
+...+

x
n
x
n
+

t
t
. Custom wave transformation constants

x
i
's can be provided using "WaveConstants" as described above.
▪
The coefficients in ansatz are taken to be

i
's for appropriate ranges of
i
.
▪
For systems of equations, the
m
th coefficient in the ansatz for
k
is taken as
k

m
.
▪
The number of unique equations and the number of unique dependent variables must be equal to each other.
​
Examples  
(11)
Basic Examples  
(2)
This is the Burgers' equation in
(1+1)
-dimensions:
In[1]:=
burgers=
∂
t
u[x,t]+u[x,t]
∂
x
u[x,t]-ν
∂
x,x
u[x,t]0
Out[1]=
(0,1)
u
[x,t]+u[x,t]
(1,0)
u
[x,t]-ν
(2,0)
u
[x,t]0
Solve it using GERF method:
In[2]:=
GERFSolve
[burgers,u[x,t]]
Out[2]=
u[x,t]

0
+
2ν

x
1+
x

x
+t-

0

x
-ν
2

x



Plot the solution:
In[3]:=
Plot3D​​

0
+

1
1+
x

x
+
1
2
t-2

0

x
-

1

x


/.{

0
2,

1
-1,

x
-1},​​{x,-5,5},{t,-5,5}​​
Out[3]=
Obtain the solution sets as well:
In[4]:=
sols=
GERFSolve
[burgers,u[x,t],"OutputMode"All]
Out[4]=


-1
0,

1
2ν

x
,

t
-

0

x
-ν
2

x
,u[x,t]

0
+
2ν

x
1+
x

x
+t-

0

x
-ν
2

x



Verify that the solutions are valid:
In[5]:=
pick=sols〚1〛;​​burgers/.uFunction[{x,t},pick〚1,2〛]
Out[5]=
True
​
Another example, Calogero–Bogoyavlenskii–Schiff equation in
(2+1)
-dimensions:
In[1]:=
cbs=
∂
x,t
u[x,y,t]+4
∂
x
u[x,y,t]
∂
x,y
u[x,y,t]+2
∂
x,x
u[x,y,t]
∂
y
u[x,y,t]+
∂
x,x,x,y
u[x,y,t]0;
Solve it:
In[2]:=
sols=
GERFSolve
[cbs,u[x,y,t]]
Out[2]=
u[x,y,t]

0
-
2

x
1+
x

x
+y

y
-t
2

x

y

,u[x,y,t]

-1
1+
x

x

+(1+
x

x

)

-1
+

0

Verification:
In[3]:=
Table[cbs/.uFunction[{x,y,t},pick〚i,2〛],{i,Length@sols}]
Out[3]=
{True,True}
​
Scope  
(4)

Options  
(3)

Applications  
(2)

""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com