Verifying that the basic Hopf−Cole transformation,
w
2
u
1
u
x
where
u
t
u
xx
, satisfies the homogeneous Burgers’ equation
w
t
w
xx
ww
x
0 per Equation World’s description
In[2]:=
CleanSlate
;
CleanSlate
Contexts purged:
Global‘
CleanSlate
Approximate kernel memory recovered: 1 Kb
In[1]:=
w
x
, t
:
2u
x, t
D
u
x, t
, x
;
In[2]:=
terms
Expand
D
w
x, t
, t
,
D
w
x, t
,
x, 2
,
w
x, t
D
w
x, t
, x
; MatrixForm
terms
Out[3]//MatrixForm=
2 u
0,1
x,t
u
1,0
x,t
u
x,t
2
2 u
1,1
x,t
u
x,t
4 u
1,0
x,t
3
u
x,t
3
6 u
1,0
x,t
u
2,0
x,t
u
x,t
2
2 u
3,0
x,t
u
x,t
4 u
1,0
x,t
3
u
x,t
3
4 u
1,0
x,t
u
2,0
x,t
u
x,t
2
In[4]:=
transformedTerms
Expand
terms
.
D
u
x, t
,
x, 2
D
u
x, t
, t
,D
u
x, t
,
x, 3
D
u
x, t
,
x, 1
,
t, 1
; MatrixForm
transformedTerms
ut 5 // atrx orm=
2 u
0,1
x,t
u
1,0
x,t
u
x,t
2
2 u
1,1
x,t
u
x,t
6 u
0,1
x,t
u
1,0
x,t
u
x,t
2
4 u
1,0
x,t
3
u
x,t
3
2 u
1,1
x,t
u
x,t
4 u
0,1
x,t
u
1,0
x,t
u
x,t
2
4 u
1,0
x,t
3
u
x,t
3
In[6]:=
residual
Total
transformedTerms
Out[6]=
0
Verifying the Hopf−Cole transformation,
w
2
Ν
u
1
u
x
where
u
t
Ν
u
xx
, satisfies the homogenous Burgers’ variant
w
t
Ν
w
xx
ww
x
0 with constant
Ν
In[7]:=
CleanSlate
;
CleanSlate
Contexts purged:
Global‘
CleanSlate
Approximate kernel memory recovered: 0 Kb
Leave a Comment