MakeRule

MakeRule[expr]
gives rule(s) suitable for substitutions into differential equations using expr.
MakeRule[expr, term]
gives rule(s), with respect to term, suitable for substitutions into differential equations using expr.
  • expr can be either an equation or a rule or a system of equations or rules.
  • When only expr is supplied the equation(s) or rule(s) must have on the left hand side only the term that will be substituted.
  • term, when supplied, indicates the term which will be substituted. One for each expression must be provided.
In[1]:=
Click for copyable input
Making a substitution rule for the heat equation assuming that we wish to substitute teh term ut:
In[2]:=
Click for copyable input
Out[2]=
equivalently,
In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=
If we wish to make a substitution against the term uxx:
In[5]:=
Click for copyable input
Out[5]=
or
In[6]:=
Click for copyable input
Out[6]=
 
In[1]:=
Click for copyable input
For a list of expressions:
In[2]:=
Click for copyable input
Out[2]=
or if different terms are needed:
In[3]:=
Click for copyable input
Out[3]=