math0611895/JSC.tex
1: \documentclass[a4paper,english,12pt]{article}
2: \setlength{\textwidth}{27pc} \setlength{\textheight}{43pc}
3: \usepackage[logonly]{trace}
4: \usepackage{babel}
5: \usepackage{amsfonts, amsmath, amssymb}
6: \usepackage{graphicx}
7: \usepackage{pstricks}
8: \usepackage{psfig}
9: \usepackage{multirow}
10: \usepackage{fancyhdr}
11: \usepackage{vmargin, fancybox}
12: 
13: 
14: \newcommand{\mathsym}[1]{{}}
15: \newcommand{\unicode}{{}}
16: \newcommand{\SJour}{\textsc{SVJour}}
17: 
18: 
19: \usepackage{theorem} \theorembodyfont{\upshape}
20: 
21: \newtheorem{theorem}{Theorem}[section]
22: \newtheorem{lemma}[theorem]{Lemma}
23: \newtheorem{proposition}[theorem]{Proposition}
24: \newtheorem{corollary}[theorem]{Corollary}
25: \newtheorem{definition}[theorem]{Definition}
26: 
27: \def\bfE{\mbox{\boldmath$E$}}
28: \def\bfG{\mbox{\boldmath$G$}}
29: \usepackage{graphicx}
30: \usepackage{pstricks}
31: \usepackage{psfig}
32: 
33: % The thanks line in the title should be filled in if there is
34: % any support acknowledgement for the overall work to be included
35: % This \thanks is also used for the received by date info, but
36: % authors are not expected to provide this.
37: 
38: 
39: %\newenvironment{proof}[1][Proof]{\begin{trivlist}
40: %\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
41: %\newenvironment{definition}[1][Definition]{\begin{trivlist}
42: %\item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
43: \newenvironment{example}[1][Example]{\begin{trivlist}
44: \item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
45: \newenvironment{remark}[1][Remark]{\begin{trivlist}
46: \item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}}
47: 
48: 
49: %\newcommand{\qed}{\nobreak \ifvmode \relax \else
50: %      \ifdim\lastskip<1.5em \hskip-\lastskip
51: %      \hskip1.5em plus0em minus0.5em \fi \nobreak
52: %      \vrule height0.75em width0.5em depth0.25em\fi}
53: 
54: 
55: %macro réinitialiser le compteur d'équations dans chaque section
56: \makeatletter
57: \renewcommand{\theequation} {\arabic{section}.\arabic{equation}} %style de numerotation d'equation
58: \@addtoreset{equation}{section} \makeatother
59: 
60: 
61: \usepackage{amsmath}
62: 
63: 
64: 
65: %------------------------------------------------------------------------
66: \title{Lie group computation of finite difference schemes}
67: 
68: 
69: 
70: %------------------------------------------------------------------------
71: 
72: \begin{document}
73: %------------------------------------------------------------------------
74: \maketitle
75: %% Enter the first author's name and address:
76: \centerline{\scshape Emma Hoarau \footnotemark[1] and Claire David
77: \footnotemark[2]}
78: \medskip
79: \medskip
80: {\footnotesize \centerline{\footnotemark[1] ONERA, Computational
81: Fluid Dynamics and Aeroacoustics Department (DSNA)}
82:   \centerline{BP 72, 29 avenue de la Division Leclerc}
83:    \centerline{92322 Ch\text{\^ a}tillon Cedex, France}
84: \centerline{\footnotemark[2] Universit\'e Pierre et Marie
85: Curie-Paris 6}
86:   \centerline{Laboratoire de Mod\'elisation en M\'ecanique, UMR CNRS 7607}
87:    \centerline{Bo\^ite courrier $n^0 162$, 4 place Jussieu, 75252 Paris, cedex 05,
88: France}
89: }
90: %------------------------------------------------------------------------
91: 
92: \pagestyle{plain}
93: 
94: \medskip
95: 
96: \begin{quote}{\fontsize{8}{10}\selectfont
97: {\bfseries Abstract.} A \textsf{Mathematica} based program has been elaborated in order to determine the symmetry group of a finite difference equation.\\
98: The package provides functions which enable us to solve the determining equations of the related Lie group.
99: \par}
100: \end{quote}
101: %------------------------------------------------------------------------
102: \section{Introduction}
103: %------------------------------------------------------------------------
104: Various works have been carried out on the application of Lie group theory to numerical analysis. Most of them have been devoted to the building of numerical schemes, which preserve the symmetries of the original differential equations.\\
105: Olver \cite{Olvermf} and Kim \cite{Kim} constructed invariant finite difference equations using the concept of the moving frame. Discretization techniques, which preserve some symmetries of the original equations, were studied in \cite{Budd}, \cite{Dorodnitsyn}, \cite{Dorodnitsynal}, \cite{Bakirova} and \cite{Valiquette}. \\
106: \cite{Budd}, \cite{Dorodnitsyn}, \cite{Dorodnitsynal}, \cite{Bakirova} and \cite{Valiquette} used the discrete invariants of the Lie group of the original equation to build invariant finite difference schemes.\\
107: Yanenko \cite{Yanenko} and Shokin \cite{Shokin} have provided a Lie group analysis applied to finite difference equations, by means of a differential approximation and set down conditions under which the differential representation of a finite difference scheme preserves the symmetry group of the original differential equation. As the differential approximation is a differential equation, the Lie group theory can be fully applied to this notion.\\
108: The calculation of Lie groups of differential equations with pencil and paper is tedious and may induce errors. The size of related equations increases with the number of the symmetry variables, and the order of the differential equations. A large amount of packages have been created using software programs with symbolic manipulations, such as \textsf{Mathematica}, \textsf{MACSYMA}, \textsf{Maple}, \textsf{REDUCE}, \textsf{AXIOM}, \textsf{MuPAD}.
109: Schwarz \cite{Schwarz} wrote algorithms for \textsf{REDUCE} and \textsf{AXIOM} computer algebra systems, Vu and Carminati \cite{VuCarminati} worked on DESOLVE, a \textsf{Maple} program, Herod \cite{Herod} and Baumann \cite{Baumann} developed \textsf{Mathematica} programs.\\
110: We hereafter describe a new symbolic package, which implements the Lie group analysis methods for finite difference equations. The computations are based on the theory developed by Yanenko and Shokin. The program has been written for \textsf{Mathematica} and provides the symmetry group of a differential representation for a given finite difference scheme. The method is based on the \textsf{Mathematica} program of Cantwell in \cite{Cantwell}.\\
111: We presently aim at determining the symmetries lost by the discretization and building schemes which preserve those symmetries.\\
112: The method for the investigation of local point transformation groups is set out in section 2. The contents of the package is detailed in section 3. Implementation for classical numerical schemes is exposed in section 4.
113: 
114: %------------------------------------------------------------------------
115: \section{Lie group methods}
116: %------------------------------------------------------------------------
117: 
118: %------------------------------------------------------------------------
119: \subsection{Lie group of differential equations}
120: %------------------------------------------------------------------------
121: 
122: Consider a system of $l^{th}$-order differential equations:
123: \begin{equation}
124: \displaystyle \mathcal F^{\lambda}\big(x,u,u^{(k_1)},u^{(k_1,k_2)},\dots,u^{(k_1\dots k_l)}\big)=0,\ \ \lambda=1,\dots,q \label{eqn:ED}
125: \end{equation}
126: Denote by $u^{(k_1\dots k_p)}$ the vector, the components of which are partial derivatives of order $p$, namely, $u^{(k_1\dots k_p)}_j=\frac{\partial^p u_j}{\partial x_{k_1}\dots\partial x_{k_p}}$ $j=1,\dots,n$, $k_1,\dots, k_p \in \{1,\dots,m\}$.\\
127: Denote by $x=(x_1,\dots,x_m)$ the independent variables and $u=(u_1,\dots,u_n)$ the dependent variables.\\
128: The group of local point transformations can be written under the form:
129: \begin{equation}
130: \displaystyle G_r=\{x_i^{*}=\phi_i(x,u,a);\ u_j^{*}=\varphi_j(x,u,a),\ i=1,\dots,m;\ j=1,\dots,n\}
131: \label{eqn:ga}
132: \end{equation}
133: 
134: \noindent Expand the transformations by means of a Taylor series at the zero value of the parameter $a_\alpha$:
135: \begin{eqnarray}
136: x_i^{*}&=\displaystyle{x_i+a_\alpha\frac{\partial \phi_i}{\partial a_\alpha}\Big|_{a=0}+\mathcal{O}(a_\alpha^2),\ \alpha=1,\dots,r}\nonumber \\
137: u_j^{*}&=\displaystyle{u_j+a_\alpha\frac{\partial\varphi_j}{\partial a_\alpha}\Big|_{a=0}+\mathcal{O}(a_\alpha^2),\ \alpha=1,\dots,r}
138: \end{eqnarray}
139: The derivatives of $\phi_i$ and $\varphi_j$ with respect to the parameter $a_\alpha$ are smooth functions, called \emph{infinitesimals of the group} $G_r$. Denote by $\xi^\alpha_i$ and $\eta^\alpha_j$ the infinitesimals of $G_r$.
140: 
141: \noindent In order to find the Lie group transformations of the differential system, it is convenient to search the infinitesimal operators of $G_r$:
142: \begin{equation}
143: \displaystyle {\mathbf{L_\alpha}=\xi^\alpha_i(x,u)\frac{\partial}{\partial x_i}+\eta^\alpha_j(x,u) \frac{\partial }{\partial u_j},\ i=1,\dots,m;\ j=1,\dots,n;\ \alpha=1,\dots,r}
144: \label{eqn:opL}
145: \end{equation}
146: $\{\mathbf{L_\alpha}$, $\alpha=1,\dots,r\}$ represents the set of tangent vectors to the manifold $G_r$ at the neutral element $a=0$ and is a basis of the Lie-algebra of the infinitesimal operators of $G_r$.
147: 
148: \noindent The determination of the group transformations is reduced to the determination of the infinitesimal functions $\xi^\alpha_i$ and $\eta^\alpha_j$.
149: 
150: \noindent The knowledge of the $\mathbf{L_\alpha}$ enables us to determine the point transformations of the group $G_r$ by solving the equations:
151: \begin{eqnarray}
152: \displaystyle{\frac{\partial x_i^{*}}{\partial a_\alpha}}=\xi^\alpha_i(x^*,u^*),\ \displaystyle {\frac{\partial u_j^{*}}{\partial a_\alpha}}=\eta^\alpha_j(x^*,u^*),\ i=1,\dots,m;\ j=1,\dots,n;\ \alpha=1,\dots,r
153: \end{eqnarray}
154: in conjunction with the initial conditions:
155: \begin{eqnarray}
156: \displaystyle{x_i^{*}\big{|}_{a=0}}=x_i,\ \displaystyle{u_j^{*}\big{|}_{a=0}}=u_j
157: \end{eqnarray}
158: 
159: \vspace*{0.5cm}
160: 
161: \noindent In order to take into account the derivative terms involved in the differential equation, the Lie algebra vector field is prolonged:
162: \begin{eqnarray}
163: \displaystyle{\widetilde{\mathbf{L}}_\alpha^{(l)}=\mathbf{L_\alpha}+\sigma^{\alpha,(k_1)}_j
164: \frac{\partial}{\partial{u_j}^{(k_1)}}+\dots+\sigma^{\alpha,(k_1\dots k_l)}_j \frac{\partial}{\partial {u_j}^{(k_1\dots k_l)}}},\ \ \ \alpha=1,\dots,r;
165: \end{eqnarray}
166: $\sigma^{\alpha,(k_1)}_j$ and $\sigma^{\alpha,(k_1\dots k_o)}_j$ are given by:
167: \begin{eqnarray}
168: \sigma^{\alpha,(k_1)}_j &=& \displaystyle{\frac{\mathcal{D}\eta^\alpha_j}{\mathcal{D} x_{k_1}}-\sum_{i=1}^m \frac{\partial u_j}{\partial x_i} \frac{\mathcal{D}\xi^\alpha_i}{\mathcal{D}x_{k_1}}}\nonumber \\
169: \sigma^{\alpha,(k_1\dots k_o)}_j &=&\displaystyle{\frac{\mathcal{D}\sigma^{\alpha,(k_1\dots k_{o-1})}_j}{\mathcal{D} x_{k_o}^{\ \ \ \ }}-\sum_{i=1}^m \frac{\partial^{o} u_j}{\partial x_i \partial x_{k_1}\dots \partial
170: x_{k_{o-1}}} \frac{\mathcal{D}\xi^\alpha_i}{\mathcal{D}x_{k_o}},\ \ o=2,\dots,l}
171: \label{eqn:etas}
172: \end{eqnarray}
173: where:$\,\displaystyle\frac{\mathcal{D}}{\mathcal{D}x_k}=\frac{\partial}{\partial x_k}+\sum_{j=1}^{n}\frac{\partial u_j}{\partial x_k} \frac{\partial}{\partial u_j}$
174: 
175: \noindent Denote by $\widetilde{G}^{(l)}_r$ the Lie group of point transformations in the space\\ $\mathcal{E}\big(x,u,u^{(k_1)},u^{(k_1,k_2)},\dots,u^{(k_1\dots k_l)}\big)$ of the independent variables, the dependent variables and the derivatives of the dependent variables with respect to the independent ones.
176: \begin{definition}
177: %-----------------
178: Consider a subset $\Omega$ of the Euclidean space $\mathcal{E}\big(x,u,u^{(k_1)},u^{(k_1,k_2)},\dots,u^{(k_1\dots k_l)}\big)$
179: \begin{eqnarray}
180: \displaystyle \Omega=\{\big(x,u,u^{(k_1)},\dots,u^{(k_1\dots k_l)}\big); \mathcal F^{\lambda}\big(x,u,u^{(k_1)},\dots,u^{(k_1\dots k_l)}\big)=0,\ \lambda=1,\dots,q \}
181: \end{eqnarray}
182: $\Omega$ is an invariant subset of the group $\widetilde{G}^{(l)}_r$ if all the elements of $\widetilde{G}^{(l)}_r$ transform any point of $\Omega$ into a point of $\Omega$.
183: \end{definition}
184: \begin{theorem}
185: %-----------------
186: The system of $l^{th}$-order differential equations is invariant under the group $\widetilde G^{(l)}_r$ if and only if:
187: \begin{equation}
188: \displaystyle \widetilde{\mathbf{L}}_\alpha^{(l)}\mathcal F^\lambda{\Big{|}_{\Omega}} =0,\
189: \ \ \alpha=1,\dots,r;\ \lambda=1,\dots,q \label{eqn:deteq1}
190: \end{equation}
191: \label{th:invariance1}
192: \end{theorem}
193: 
194: %------------------------------------------------------------------------
195: \subsection{Lie group of differential approximations}
196: %------------------------------------------------------------------------
197: The finite difference scheme, which approximates the differential system (\ref{eqn:ED}), can be written as:
198: \begin{equation}
199: \displaystyle{\Lambda^{\lambda}(x,u,h,Tu)=0,\ \lambda=1,\dots,q}
200: \label{eqn:scheme}
201: \end{equation}
202: where $h=(h_1,h_2,\dots,h_m)$ denotes the space step vector, and $T=(T_1,T_2,\dots,T_m)$ the shift-operator along the axis of the independent variables, defined by:
203: \begin{equation}
204: T_i[u](x_1,x_2,\dots,x_{i-1},x_i,x_{i+1},\dots,x_m)=u(x_1,x_2,\dots,x_{i-1},x_i+h_i,x_{i+1},\dots,x_m).
205: \end{equation}
206: 
207: \begin{definition}
208: %-----------------
209: The differential equation:
210: \begin{eqnarray}
211: \displaystyle{\mathcal{P}^{\lambda}\big(x,u,u^{(k_1)},\dots,u^{(k_1\dots k_{l'})}\big)}&=& \displaystyle{\mathcal{F}^{\lambda}\big(x,u,u^{(k_1)},\dots,u^{(k_1\dots k_l)}\big)}\nonumber \\
212: & & +\displaystyle{\sum_{\beta=1}^s\sum_{i=1}^m (h_i)^{l_\beta} \mathcal{R}^{\lambda}_i(x,u,u^{(k_1)},\dots,u^{(k_1\dots k_{{l'}_{\lambda,i}})})},\nonumber \\
213: & & \displaystyle{\lambda=1,\dots,q};\ l'= max_{(\lambda,i)}
214: {l'}_{\lambda,i} \label{eqn:diffapprox}
215: \end{eqnarray}
216: is called the $l_s^{th}$-order differential approximation of the finite difference scheme (\ref{eqn:scheme}). In the specific case $s=1$, the above equation is called the first differential approximation.
217: \label{def:diffapprox}
218: \end{definition}
219: 
220: \noindent Denote by $G'_r$ a group of transformations in the space $\mathcal{E}(x,u,h)$:
221: \begin{equation}
222: \displaystyle G'_r=\{x_i^{*}=\phi_i(x,u,a);\
223: u_j^{*}=\varphi_j(x,u,a);h_i^{*}=\psi_i(x,u,h,a),\ i=1,\dots,m;\
224: j=1,\dots,n\}
225: \end{equation}
226:  by $\mathbf{L_\alpha}'$ the basis infinitesimal operator of $G'_r$:
227: \begin{equation}
228: \displaystyle{\mathbf{L_\alpha}'=
229: \mathbf{L_\alpha}+\zeta^\alpha_i(x,u,h)\frac{\partial}{\partial
230: h_i},\ \ \ \alpha=1,\dots,r}
231: \end{equation}
232: where
233: \begin{equation}
234: \displaystyle{\zeta^\alpha_i=\frac{\partial\psi_i}{\partial
235: a_\alpha}\Big{|}_{a=0},\ \ \alpha=1,\dots,r}
236: \end{equation}
237: and by $\widetilde{G}^{(l')}_r$ a group of transformation in the space $\mathcal{E}(x,u,h,u^{(k_1)},\dots,u^{(k_1\dots k_{l'})})$.\\
238: The ${l'}^{th}$-prolongation operator of $G'_r$, $\widetilde{\mathbf{L}}_\alpha^{(l')}$ can be written as:
239: \begin{equation}
240: \displaystyle
241: \widetilde{\mathbf{L}}_\alpha^{(l')}=\mathbf{L_\alpha}'+\sum_{j=1}^n\sum_{p=1}^{l'}\sigma_j^{\alpha,{(k_1\dots
242: k_p)}}\frac{\partial }{\partial u_j^{(k_1\dots k_p)}}
243: \label{eqn:prolongedop}
244: \end{equation}
245: \begin{theorem}
246: %----------------
247: The differential approximation (\ref{eqn:diffapprox}) is invariant under the group $\widetilde G^{(l')}_r$ if and only if
248: \begin{equation}
249: \displaystyle{\widetilde{\mathbf{L}}_\alpha^{(l')}\mathcal{P}^{\lambda}\big((x,u,u^{(k_1)},\dots,u^{(k_1\dots
250: k_{l'})}\big)\Big|_{\mathcal{P}^{\lambda}=0}=0,\ \ \
251: \alpha=1,\dots,r;\ \lambda=1,\dots,q}
252: \end{equation}
253: or
254: \begin{equation}
255: \displaystyle{\Big[\widetilde{\mathbf{L}}_\alpha^{(l)}\mathcal{F}^{\lambda}+\widetilde{\mathbf{L}}_\alpha^{(l')}\Big(\sum_{\beta=1}^s\sum_{i=1}^m
256: (h_i)^{l_\beta}
257: \mathcal{R}^{\lambda}_i\Big)\Big]\Big|_{\mathcal{P}^{\lambda}=0}=0,\
258: \ \ \alpha=1,\dots,r;\ \lambda=1,\dots,q} \label{eqn:deteq2}
259: \end{equation}
260: \label{th:invariance2}
261: \end{theorem}
262: 
263: \noindent Equation (\ref{eqn:deteq2}) leads to a linear overdetermined system of partial differential equation, with respect to the infinitesimal functions, called the \textit{determining equations} of the Lie group of the differential approximation (\ref{eqn:diffapprox}). Our program determines the unknown infinitesimal functions.
264: 
265: %------------------------------------------------------------------------
266: \section{Computation Methods}
267: %------------------------------------------------------------------------
268: 
269: \noindent The program is restricted to partial differential approximations of any order involving the unknown scalar function $u$, the independent variables $x$ and $t$, the viscosity $\nu$ and the step size variables $h$ and $\tau$.
270: 
271: %------------------------------------------------------------------------
272: \subsection{Calculation of the differential approximation}
273: %------------------------------------------------------------------------
274: First, our program calculates the differential approximation from the knowledge of the considered finite difference equation and the approximation error.\\
275: The discrete approximations of the dependent variable, involved in the finite difference equation, are expanded at a given order by means of their Taylor series. The substitution of these Taylor series expansions into the finite difference scheme provides the $\Gamma$-form of the differential approximation, which contains derivatives with respect to $t$, $x$ and mixed derivatives with respect to $x$ and $t$. The $\Gamma$-form does not allow to have stability informations and does not yield the correct order of accuracy for all the numerical schemes. That's why we have found essential to determine directly the $\Pi$-form of the differential approximation, which is obtained by replacing the partial derivatives with respect to $t$ and mixed derivatives with respect to $x$ and $t$, involved in the $\Gamma$-form, by partial derivatives with respect to $x$, using the original differential equation.\\
276: The differential approximation is written under the form of an analytic function with respect to the independent variables, the dependent variable, the step size variables, the viscosity and the partial derivarives of the dependent variable. The dependent variable and its partial derivatives are considered as independent variables.
277: 
278: %------------------------------------------------------------------------
279: \subsection{Estimation of the determining equations}
280: %------------------------------------------------------------------------
281: Consider the infinitesimal functions $\xi^\alpha_i$,
282: $\eta^\alpha_j$, $\zeta^\alpha_i$ and $\chi^\alpha$. $\chi^\alpha$
283: is the infinitesimal related to the viscosity:
284: \begin{equation}
285: \displaystyle \chi^\alpha=\frac{\partial \pi}{\partial a_\alpha}\Big{|}_{a=0},\ \alpha=1,\dots,r
286: \end{equation}
287: where the viscosity transforms as follows $\nu^*=\pi(x,u,\nu,h,a)$.\\
288: The remaining infinitesimals of the prolongation operator of the considered symmetry group are generated according to the formulae (\ref{eqn:etas}).\\
289: The invariance condition of \textbf{Theorem \ref{th:invariance1}} provides a partial differential equation involving the unknown infinitesimal functions and products of the partial derivatives of the dependent variables.\\
290: Equation (\ref{eqn:deteq2}) is solved as an algebraic equation with respect to the partial derivatives of the dependent variables, handled as independent variables. Denote by $w$ the vector, the components of which are these variables. Since the whole equation holds for all the $w$ components, each coefficient in front of the products of the $w$ components has to be zero. This leads to a linear overdetermined system of partial differential equation, with respect to the infinitesimal functions, called the \textit{determining equations} of the Lie group of the differential system (\ref{eqn:diffapprox}). The overdetermined system is simplified by eliminating the redundancies. This step of the calculation requires the intervention of the user. The resolution of these equations yields explicitly the expression of $\xi^{\alpha}_i$, $\eta^{\alpha}_j$, $\zeta^\alpha_i$, $\chi^\alpha$, $\alpha=1,\dots,r,\ i=1,\dots,m,\ j=1,\dots,n$.
291: 
292: %------------------------------------------------------------------------
293: \subsection{Solving the determining equations}
294: %------------------------------------------------------------------------
295: The techniques used to solve the determining equations come from \cite{Cantwell}. The unknown infinitesimal functions are expanded by means of a power series expression with respect to the symmetry variables $x,\ t,\ u,\ \nu,\ h,\ \tau$. The polynomial expressions are substituted into the determining equations. Solving the determining equations amounts to finding the solutions of an algebraic equation.
296: Those latter techniques enable us to find in most cases the exact expression of the infinitesimals, when the power series is truncated, i.e. when the sought infinitesimals does not contain transcendental functions (like $\exp$, $\cos$, $\sin$, $\ln$, $\dots$).
297: 
298: %------------------------------------------------------------------------
299: \subsection{Determination of the symmetry group}
300: %------------------------------------------------------------------------
301: 
302: The last part of the program provides the infinitesimal function expression, the Lie algebra infinitesimal operators, and the corresponding Lie group transformations.
303: 
304: %------------------------------------------------------------------------
305: \section{Examples}
306: %------------------------------------------------------------------------
307: \noindent Consider the Burgers equation:
308: \begin{equation}
309: \displaystyle u_t+\frac{1}{2}(u^2)_x-\nu u_{xx}=0
310: \label{eqn:burgers}
311: \end{equation}
312: This equation admits the 6-parameter symmetry group:
313: \begin{itemize}
314: \item[\labelitemiii] $\displaystyle{\mathbf{L}_1=\frac{\partial}{\partial x}},\ \text{space translation}$
315: 
316: \item[\labelitemiii]  $\displaystyle{\mathbf{L}_2=\frac{\partial}{\partial t}},\ \text{time translation}$
317: 
318: \item[\labelitemiii]  $\displaystyle{\mathbf{L}_3=x\frac{\partial}{\partial x}+2 t\frac{\partial}{\partial t}-u\frac{\partial}{\partial u}},\ \text{dilatation}$
319: \item[\labelitemiii]  $\displaystyle{\mathbf{L}_4=x t\frac{\partial}{\partial x}+t^2\frac{\partial}{\partial t}+(-u t+x)\frac{\partial}{\partial u}},\ \text{projective transformation}$
320: \item[\labelitemiii]  $\displaystyle{\mathbf{L}_5=t\frac{\partial}{\partial
321: x}+\frac{\partial}{\partial u}},\ \text{Galilean transformation}$
322: \item[\labelitemiii]  $\displaystyle{\mathbf{L}_6=-t\frac{\partial}{\partial
323: t}+u\frac{\partial}{\partial u}+\nu\frac{\partial}{\partial
324: \nu}},\ \text{dilatation}$
325: \end{itemize}
326: Equation (\ref{eqn:burgers}) can be discretized by means of the finite difference schemes:
327: \begin{itemize}
328: \item[\labelitemiii]  \textbf{the FTCS (forward-time and centered-space) scheme}:
329: $$\displaystyle {\frac{u^{n+1}_i -u^n_i}{\tau}+\frac{\big(\frac{u^2}{2}\big)^n_{i+1} -\big(\frac{u^2}{2}\big)^n_{i-1}}{2 h}-\nu \frac{u^n_{i+1} -2 u^n_i+u^n_{i-1}}{h^2}=0}$$
330: \item[\labelitemiii]  \textbf{the Lax-Wendroff scheme}:
331: $$\displaystyle {\frac{u^{n+1}_i -u^n_i}{\tau}+\frac{\big(\frac{u^2}{2}\big)^n_{i+1} -\big(\frac{u^2}{2}\big)^n_{i-1}}{2 h}-\nu \frac{u^n_{i+1} -2 u^n_i+u^n_{i-1}}{h^2}+A^n_i=0}$$
332: \noindent where:
333: \begin{eqnarray}
334: \displaystyle A^n_i=&-&\frac{\tau}{2
335: h^2}\Big[u^n_{i+\frac{1}{2}}\Big(\big(\frac{u^2}{2}\big)^n_{i+1}
336: -\big(\frac{u^2}{2}\big)^n_{i}\Big)-u^n_{i-\frac{1}{2}}\Big(\big(\frac{u^2}{2}\big)^n_{i}-\big(\frac{u^2}{2}\big)^n_{i-1}\Big)\Big]\nonumber\\
337: &+&\frac{\nu
338: \tau}{2}\Big[\frac{\big(\frac{u^2}{2}\big)^n_{i+2}-2\big(\frac{u^2}{2}\big)^n_{i+1}
339: +2\big(\frac{u^2}{2}\big)^n_{i-1}-\big(\frac{u^2}{2}\big)^n_{i-2}}{h^3}\Big]\nonumber\\
340: &-&\frac{\nu^2\tau}{2}\Big[\frac{u^n_{i+2}-4 u^n_{i+1}+6 u^n_{i}-4
341: u^n_{i-1}+u^n_{i-2}}{h^4}\Big]\nonumber
342: \end{eqnarray}
343: \item[\labelitemiii]  \textbf{the Crank-Nicolson scheme}:
344: \begin{eqnarray*}
345: \displaystyle \frac{u^{n+1}_i-u^{n}_i}{\tau}&+&\frac{\big(\frac{u^2}{2}\big)^{n+1}_{i+1}-\big(\frac{u^2}{2}\big)^{n+1}_{i-1}+\big(\frac{u^2}{2}\big)^{n}_{i+1}-\big(\frac{u^2}{2}\big)^{n}_{i-1}}{4 h}\\
346: &-&\frac{\nu (u^{n+1}_{i+1}-2 u^{n+1}_i+u^{n+1}_{i-1}+u^{n}_{i+1} -2
347: u^{n}_i+u^{n}_{i-1})}{2 h^2}=0
348: \end{eqnarray*}
349: \end{itemize}
350: The first part of the program provides the differential representation of the schemes:
351: \begin{itemize}
352: \item[\labelitemiii]    \textbf{FTCS}
353: \begin{eqnarray*}
354: \displaystyle u_t+\frac{1}{2}(u^2)_x-\nu\ u_{xx}+\frac{\tau}{2}g_2+\frac{h^2}{12}(u^2)_{xxx}-\frac{\nu h^2}{12}u_{xxxx}=0
355: \end{eqnarray*}
356: \item[\labelitemiii]  \textbf{Lax-Wendroff}
357: \begin{eqnarray*}
358: \displaystyle u_t+\frac{1}{2}(u^2)_x-\nu\ u_{xx}+\frac{\tau^2}{6}g_3+\frac{h^2}{12}(u^2)_{xxx}-\frac{\nu h^2}{12}u_{xxxx}=0
359: \end{eqnarray*}
360: \item[\labelitemiii]  \textbf{Crank-Nicolson}
361: \begin{eqnarray*}
362: \displaystyle u_t+\frac{1}{2}(u^2)_x-\nu u_{xx}+\tau^2\Big(\frac{g_3}{6}+\frac{1}{4}(g_1^2+u g_2)_x-\frac{\nu}{4} (g_2)_{xx}\Big)+h^2\Big(\frac{1}{6}\big(\frac{u^2}{2}\big)_{xxx}-\frac{\nu}{12}u_{xxxx}\Big)=0
363: \end{eqnarray*}
364: where $g_1=-\big(\frac{u^2}{2}\big)_x+\nu u_{xx}$, $g_2=\big(-g_1 u\big)_x+\nu\big(g_1\big)_{xx}$, $g_3=\big(-g_2 u -g^2_1\big)_x+\nu \big(g_2\big)_{xx}$
365: \end{itemize}
366: 
367: \noindent The next steps of the computation of the symmetry group have been realized for the above schemes, but only the FTCS scheme is illustrated here.\\
368: The prolonged infinitesimal operator is calculated by means of formula (\ref{eqn:prolongedop}) and (\ref{eqn:etas}) with respect to the infinitesimal functions $\xi^\alpha_i$, $\eta^\alpha_j$, $\zeta^\alpha_i$ and $\chi^\alpha$.
369: The vector the components of which are the derivatives of the dependent variable, treated as independent variables, can be written as:
370: \begin{equation}
371: \displaystyle w=(wt,w2t,w3t,w4t,wx,wxt,wx2t,wx3t,w2x,w2xt,w2x2t,w3x,w3xt,w4x)
372: \end{equation}
373: The differential representation becomes:
374: \begin{equation}
375: \displaystyle wt+\frac{1}{2} u\ wx-\nu\ w2x+\frac{\tau}{2}\big(g_2^w\big)+h^2\big(\frac{1}{6}u\ w3x-\frac{1}{12}\nu\ w4x+\frac{1}{2} w2x\ wx\big)=0
376: \end{equation}
377: where $g^w_2=u^2\ w2x-2\nu\ u\ w3x+\nu^2\ w4x-4\nu\ w2x\ wx+ 2 u\ wx^2$.\\
378: The next step provides the determining equations, which are linear partial differential equations with respect to the unknown infinitesimal functions.
379: Some of them yield informations, which need to be entered by the user:
380: \begin{eqnarray}
381: \displaystyle & &\xi^\alpha_1=\xi^\alpha_1(x,t),\ \xi^\alpha_2=\xi^\alpha_2(t),\ \eta^\alpha_1=f_\eta(x,t)+u\ g_\eta(x,t),\nonumber\\[0.1cm]
382: \displaystyle & &\zeta^\alpha_1=\zeta^\alpha_1(x,t,u,h,\tau),\ \zeta^\alpha_2=\zeta^\alpha_2(x,t,u,h,\tau),\\[0.1cm]
383: \displaystyle & &\chi^\alpha=\chi^\alpha(x,t,u,h,\tau,\nu)\nonumber
384: \end{eqnarray}
385: Then the infinitesimal functions are expanded by means of multivariables polynomial expressions:
386: \begin{eqnarray}
387: \displaystyle & &\xi^\alpha_1=\sum^{\theta}_{i=0}\sum^{\theta-i}_{j=0} a_{ij}x^i y^j,\nonumber\\
388: \displaystyle & &\xi^\alpha_2=\sum^{\theta}_{i=0}b_i t^i,\nonumber\\[0.1cm]
389: \displaystyle & &\eta^\alpha_1=\sum^{\theta}_{i=0}\sum^{\theta-i}_{j=0} c_{ij}x^i y^j+u\sum^{\theta}_{i=0}\sum^{\theta-i}_{j=0} d_{ij}x^i y^j,\\[0.1cm]
390: \displaystyle & &\zeta^\alpha_1=\sum^{\theta}_{i=0}\Big(\sum^{\theta-i}_{j=0}\Big( \sum^{\theta-i-j}_{k=0}\Big(\sum^{\theta-i-j-k}_{l=0}\Big(\sum^{\theta-i-j-k-l}_{m=0} e_{ijklm}x^i y^j u^k h^l \tau^m\Big)\Big)\Big)\Big),\nonumber\\[0.1cm]
391: \displaystyle & &\zeta^\alpha_2=\sum^{\theta}_{i=0}\Big(\sum^{\theta-i}_{j=0}\Big( \sum^{\theta-i-j}_{k=0}\Big(\sum^{\theta-i-j-k}_{l=0}\Big(\sum^{\theta-i-j-k-l}_{m=0} f_{ijklm}x^i y^j u^k h^l \tau^m\Big)\Big)\Big)\Big),\nonumber\\[0.1cm]
392: \displaystyle & &\chi^\alpha=\sum^{\theta}_{i=0}\Big(\sum^{\theta-i}_{j=0}\Big( \sum^{\theta-i-j}_{k=0}\Big(\sum^{\theta-i-j-k}_{l=0}\Big(\sum^{\theta-i-j-k-l}_{m=0}\Big(\sum^{\theta-i-j-k-l-m}_{n=0} g_{ijklmn}x^i y^j u^k h^l \tau^m \nu^n\Big)\Big)\Big)\Big)\Big)\nonumber
393: \end{eqnarray}
394: The part performing the resolution of the algebraic determining equations gives the 4-parameter symmetry group represented by:
395: \begin{eqnarray}
396: \displaystyle \xi^\alpha_1&=&a_0+a_{10}\ x,\ \xi^\alpha_1=b_0+(2 a_{10}-g_1) t,\ \eta^\alpha_1=(g_1-a_{10})u,\ \alpha\leq4\\
397: \displaystyle \zeta^\alpha_1&=&a_{10} h,\ \zeta^\alpha_2=(2 a_{10}-g_1) h, \chi^\alpha=g_1 \nu\nonumber
398: \end{eqnarray}
399: The related 4-dimensional Lie algebra is generated by:
400: \begin{eqnarray}
401: \displaystyle L'_1&=&\frac{\partial}{\partial x},\ (a_0=1,b_0=0,a_{10}=0,g_1=0)\nonumber\\
402: \displaystyle L'_2&=&\frac{\partial}{\partial t},\ (a_0=0,b_0=1,a_{10}=0,g_1=0)\\
403: \displaystyle L'_3&=&x\frac{\partial}{\partial x}+2 t\frac{\partial}{\partial t}-u\frac{\partial}{\partial u}+h\frac{\partial}{\partial h}+2 \tau\frac{\partial}{\partial \tau},\ (a_0=0,b_0=0,a_{10}=1,g_1=0)\nonumber\\
404: \displaystyle L'_4&=&x\frac{\partial}{\partial x}+u\frac{\partial}{\partial u}+h\frac{\partial}{\partial h}+2\nu\frac{\partial}{\partial \nu},\ (a_0=0,b_0=0,a_{10}=0,g_1=1)\nonumber
405: \end{eqnarray}
406: The space and time translations preserve the differential representation of the FTCS scheme.\\
407: We recall that $(L_3,L_6)$ are the vectors of the basis of the Lie algebra $A_d$ of the Burgers equation dilatation group.\\
408: $(L'_3,L'_4)$ represent the vectors of the basis of the Lie algebra $A'_d$ of the differential approximation dilatation group. $A'_d$ can be expressed as a direct sum of the Lie algebra $A_{\alpha,\beta}$ spanned by the vectors \footnotesize{$\displaystyle (L_\alpha=x\frac{\partial}{\partial x}+2 t\frac{\partial}{\partial t}-u\frac{\partial}{\partial u},L_\beta=x\frac{\partial}{\partial x}+u\frac{\partial}{\partial u}+2\nu\frac{\partial}{\partial \nu})$} \normalsize and the Lie algebra $A_{h,\tau}$ spanned by the vectors \footnotesize{$\displaystyle(L'_\alpha=h\frac{\partial}{\partial h}+2 \tau\frac{\partial}{\partial \tau},L'_\beta=h\frac{\partial}{\partial h})$}\normalsize.\\
409: It is natural that if the independent and dependent variables are dilated then the step size variables undergo the same transformation.\\
410: $L_\alpha$ and $L_\beta$ are elements of the span of the set$\{L_3,L_6\}$. So $A'_d$ can be represented as the direct sum of $A_d$ and $A_{h,\tau}$. The FTCS scheme is invariant under the dilatation group, the Lie algebra of which can be written as $A_d \oplus A_{h,\tau}$.\\
411: The discretization by the FTCS scheme brings about the lost of the Galilean transformation and the projective transformation. The computation for the other schemes shows that all the finite difference schemes admit the same symmetry group.\\
412: The Lie group calculation program has been run under the \textsf{Mathematica 5.2} version for Windows on a PC with a Pentium 4, 2.6 GHz processor.
413: \begin{table}[!htp]
414: \begin{center}
415: \begin{tabular}{|c|c|c|}
416:     \hline  \textbf{Scheme} &   \textbf{differential approximation order}   &   \textbf{Time(s)}    \\
417:     \hline  FTCS            &   4                                           &   395.2               \\
418:     \hline  Lax-Wendroff    &   6                                           &   972.2               \\
419:     \hline  Crank-Nicolson  &   6                                           &   906.6               \\
420:     \hline
421: \end{tabular}
422: \end{center}
423: \caption{Characteristics}
424: \label{tabletime}
425: \end{table}
426: \noindent Table \ref{tabletime} shows the influence of the order of the differential approximation on the time of the calculation. The increase of differential approximation order yields a sharp rise of the time of the calculation.
427: 
428: 
429: \begin{thebibliography}{99}
430: 
431: \bibitem{Cantwell}
432:      Cantwell, B. J.(2002). {Introduction to symmetry analysis}. Cambridge University Press.
433: 
434: \bibitem{Shokin}
435:      Shokin, Y. I.(1983). {The method of differential approximation},
436:       Springer-Verlag, Berlin, Heidelberg, New-York, Tokyo.
437: 
438: \bibitem{Yanenko} Yanenko, N. N. and Shokin, Y. I.(1976). {Group classification of difference schemes for a system of one-dimensional equations of gas dynamics},
439:      Amer. Math. Soc. Transl., {2} no. 104, 259-265.
440: 
441: \bibitem{Olverappl} Olver, P. J.(1986). {Applications of Lie Groups to Differential Equations}. Springer-Verlag, New-York.
442: 
443: \bibitem{Ibragimov} Ibragimov, N. H.(1994).
444:      {Symmetries exact solutions and conservation laws}. CRC Handbook of Lie Group Analysis of Differential Equations, 1.
445: 
446: \bibitem{VuCarminati}
447:     Vu, K. and Carminati, J. (2000). {Symbolic computation and differential equations: Lie
448:     symmetries}. J. Symbolic Computation, {29}, 95-116.
449: 
450: \bibitem{Herod}
451:      Herod, S.(1992). {MathSym: a Mathematica program for computing Lie
452:      symmetries}. Preprint, Program in Applied Mathematics, Boulder, Colorado, The University of Colorado.
453: 
454: \bibitem{Baumann}
455:     Baumann, G.(1992). {Lie symmetries of differential equations: A mathematica program to determine Lie
456:     symmetries}.  Wolfram Research Inc., Champaign, Illinois, MathSource 0202-622.
457: 
458: \bibitem{Schwarz}
459:      Schwarz, F.(1982). {A REDUCE package for determining Lie symmetries of ordinary and partial differential
460:      equations}. Comput. Phys. Commun., {27}, 179-186.
461: 
462: \bibitem{Kim}
463:         Kim, P.(2004). {Invariantization of numerical schemes using moving
464:         frames}. Mathematical Physics Seminar.
465: 
466: \bibitem{Olvermf}
467:         Olver, P. J.(2001).  {Geometric foundations of numerical algorithms and
468:         symmetry}. Appl. Alg. Engin. Comp. Commun., {11}, no. 5, 417-436.
469: 
470: \bibitem{Budd}
471:         Budd, C. and Dorodnitsyn, V.(2001). {Symmetry-adapted moving mesh schemes for the nonlinear
472:         Schr\text{\"o}dinger equation}. J. Phys. A: Math. Gen., {34}, 10387-10400.
473: 
474: \bibitem{Dorodnitsyn}
475:       Dorodnitsyn, V. A.(1994).
476:      {Finite difference models entirely inheriting continuous symmetry of original differential equations},
477:      Int. J. Mod. Phys., serie C, {5}, no. 4, 723-734.
478: 
479: \bibitem{Dorodnitsynal}
480:      Dorodnitsyn, V. A., Kozlov, R. and Winternitz, P.(2000).
481:      {Lie group classification of second order difference
482:      equations}. J. Math. Phys., {41}, no. 1, 480-504.
483: 
484: \bibitem{Bakirova}
485:      Bakirova, M. I., Dorodnitsyn, V. A. and Kozlov, R.(1997),
486:      {Symmetry-preserving difference schemes for some heat transfert
487:      equations}. J. Phys. A: Math. Gen., {30}, 8139-8155.
488: 
489: \bibitem{Valiquette}
490:      Valiquette, F. and Winternitz, P.(2005). {Discretization of partial differential equations preserving their
491:      physical symmetries}. J. Phys. A: Math. Gen., \textbf{38}, 9765-9783.
492: 
493: \end{thebibliography}
494: 
495: \newpage
496: 
497: 
498: \end{document}
499: