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 method.
​
Details and Options
Examples  
(7)
Basic Examples  
(3)
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
,u[x,t]

0
+
(
-x

1
-t

0

1


+
x

1
-t

0

1


)

1
-
-x

1
-t

0

1


+
x

1
-t

0

1


,u[x,t]
(-
-x

1
-t

0

1


+
x

1
-t

0

1


)

-1
-x

1
-t

0

1


+
x

1
-t

0

1


+

0
,u[x,t]
(-
-x

1
-t

0

1


+
x

1
-t

0

1


)

-1
-x

1
-t

0

1


+
x

1
-t

0

1


+
(
-x

1
-t

0

1


+
x

1
-t

0

1


)

-1
-
-x

1
-t

0

1


+
x

1
-t

0

1


+

0

Obtain the solution sets as well:
In[3]:=
sols=
GERFSolve
[burgers,u[x,t],"OutputMode""Both"]
Out[3]=
{{

-1
0,

1
0},u[x,t]

0
},ν


1
2

1
,

-1
0,

2
-

0

1
,u[x,t]

0
+
(
-x

1
-t

0

1


+
x

1
-t

0

1


)

1
-
-x

1
-t

0

1


+
x

1
-t

0

1


,ν


-1
2

1
,

1
0,

2
-

0

1
,u[x,t]
(-
-x

1
-t

0

1


+
x

1
-t

0

1


)

-1
-x

1
-t

0

1


+
x

1
-t

0

1


+

0
,ν


-1
2

1
,

1


-1
,

2
-

0

1
,u[x,t]
(-
-x

1
-t

0

1


+
x

1
-t

0

1


)

-1
-x

1
-t

0

1


+
x

1
-t

0

1


+
(
-x

1
-t

0

1


+
x

1
-t

0

1


)

-1
-
-x

1
-t

0

1


+
x

1
-t

0

1


+

0

Verify that the solutions are valid:
In[4]:=
pick=sols〚2〛;​​burgers/.uFunction[{x,t},pick〚2,2〛]
Out[4]=
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]
(-
-y

2
+t

3


+
y

2
+t

3


)

-1
-y

2
+t

3


+
y

2
+t

3


+

0
+
(
-y

2
+t

3


+
y

2
+t

3


)

1
-
-y

2
+t

3


+
y

2
+t

3


,u[x,y,t]

0
,u[x,y,t]
(-
-y

2

+
y

2

)

-1
-y

2

+
y

2

+

0
+
(
-y

2

+
y

2

)

1
-
-y

2

+
y

2

,u[x,y,t]
(-
-x

1

+
x

1

)

-1
-x

1

+
x

1

+

0
+
(
-x

1

+
x

1

)

1
-
-x

1

+
x

1

,u[x,y,t]

0
+
2
-x

1
+y

2
+4t
2

1

2


+
x

1
+y

2
+4t
2

1

2




1
-
-x

1
+y

2
+4t
2

1

2


+
x

1
+y

2
+4t
2

1

2


,u[x,y,t]

0
+
2-
-x

1
+y

2
+4t
2

1

2


+
x

1
+y

2
+4t
2

1

2




1
-x

1
+y

2
+4t
2

1

2


+
x

1
+y

2
+4t
2

1

2


,u[x,y,t]

0
+
2-
-x

1
+y

2
+16t
2

1

2


+
x

1
+y

2
+16t
2

1

2




1
-x

1
+y

2
+16t
2

1

2


+
x

1
+y

2
+16t
2

1

2


+
2
-x

1
+y

2
+16t
2

1

2


+
x

1
+y

2
+16t
2

1

2




1
-
-x

1
+y

2
+16t
2

1

2


+
x

1
+y

2
+16t
2

1

2


,u[x,y,t]
(-
-y

2

+
y

2

)

-1
-y

2

+
y

2

+
(
-y

2

+
y

2

)

-1
-
-y

2

+
y

2

+

0
,u[x,y,t]
(-
-x

1

+
x

1

)

-1
-x

1

+
x

1

+
(
-x

1

+
x

1

)

-1
-
-x

1

+
x

1

+

0

Verification:
In[3]:=
Table[cbs/.uFunction[{x,y,t},pick〚i,2〛],{i,Length@sols}]
Out[3]=
{True,True,True,True,True,True,True,True,True}
​
​
Use some other values for coefficients and exponents in the ansatz to obtain different solutions:
In[1]:=
burgers=
∂
t
u[x,t]+u[x,t]
∂
x
u[x,t]-ν
∂
x,x
u[x,t]0;​​
GERFSolve
[burgers,u[x,t],"AnsatzCoefficients"{1,-I,1,-I},"AnsatzExponents"{1,1,1,-1}]
Out[1]=
u[x,t]

0
,u[x,t]

-1
+

0
+

1
,u[x,t]

0
+
(1-)
x

1
-
1
2
-

2
t(1+)

0

1
+

1

1



1
x

1
-
1
2
-

2
t(1+)

0

1
+

1

1


-
-x

1
+
1
2
-

2
t(1+)

0

1
+

1

1


,u[x,t]

0
+

1
,u[x,t]1+

2

-1
+

0

Scope  
(3)

Applications  
(1)

""

© 2026 Wolfram. All rights reserved.

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