**Journal of Applied Mathematics and Physics**

Vol.07 No.01(2019), Article ID:90051,6 pages

10.4236/jamp.2019.71014

Wavelet Collocation Method for Solving Elliptic Singularly Perturbed Problem

Bin Lin^{ }

School of Mathematics and Statistics, Lingnan Normal University, Zhanjiang, China

Copyright © 2019 by author(s) and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

Received: December 25, 2018; Accepted: January 19, 2019; Published: January 22, 2019

ABSTRACT

Wavelet collocation method is used to solve an elliptic singularly perturbed problem with two parameters. The B-spline function is used as a single mother wavelet, which leads to a tri-diagonal linear system. The accuracy of the proposed method is demonstrated by test problem and the result shows the reliability and efficiency of the method.

**Keywords:**

B-Spline Functions, Wavelet Collocation Method, Elliptic Singularly Perturbed Problems

1. Introduction

Wavelet functions are finite-energy functions with well localization properties. Any function of ${L}^{2}\left(R\right)$ can be expressed by the dilation and translation of wavelet functions. Wavelet analysis has been found success in many science and engineering. The stiffness matrix is sparse when wavelet functions is used as trial functions, so wavelet methods are especially suitable for singular perturbed and a local severe gradients problem. Wavelets have many excellent properties such as orthogonality, compact support, exact representation, flexibility to represent functions at different levels of resolution.

In the paper, we consider the following an elliptic singularly perturbed problem with two parameters.

$Lu:=-{\epsilon}_{1}\Delta u+{\epsilon}_{2}a\left(x\right){u}_{x}+b\left(x\right){u}_{y}+c\left(x\right)u=f\left(x,y\right),\text{in}\Omega $ (1)

$u=0,\text{on}\partial \Omega $ (2)

where $\Omega =\left(0,1\right)\times \left(0,1\right)$ , ${\epsilon}_{1},{\epsilon}_{2}$ is a small positive parameter, $a\left(x\right)$ , $b\left(x\right)$ and $c\left(x\right)$ are sufficiently smooth real-valued functions.

This problem, arising in chemical flow reactor theory [1] as well as in case of boundary layers controlled by suction (or blowing) of some fluid [2] , has been studied by several authors [3] [4] [5] [6] . The former research is already done a lot of work, but we want to improve it. It is so attractive to mathematicians due to the fact that modeling of physical problems often requires the solution of boundary value problems with many small parameters. It is well known that usual numerical treatment of singular perturbation problems gives major computational difficulties and fail to give accurate solutions. The former research is already done a lot of work, but we want to improve it further improved

The aim of this paper is to given a wavelet collocation method to solve an elliptic singularly perturbed problem with two parameters, the 3^{rd} order B-spline function is used as a single mother wavelet to construct the numerical method. This method is tested for its efficiency by handling an example.

2. Construction of Wavelet Collocation Method

2.1. Spline Scaling Function

The expression formula of the 3^{rd} order B-spline function
${N}_{4}\left(x\right)$ is

${N}_{4}\left(x\right)={\displaystyle {\int}_{0}^{1}{N}_{3}\left(x-\tau \right)\text{d}\tau}=\{\begin{array}{l}\frac{1}{6}{x}^{3}\text{}\text{\hspace{0.05em}}\text{}\text{\hspace{0.05em}}\left[\text{0,1}\right)\\ -\frac{1}{2}{x}^{3}+\text{2}{x}^{2}-\text{2}x+\frac{2}{3}\text{}\left[\text{1,2}\right)\\ \frac{\text{1}}{\text{2}}{x}^{3}-4{x}^{2}+10x-\frac{22}{3}\text{}\left[\text{2,3}\right)\\ -\frac{1}{6}{x}^{3}+\text{2}{x}^{2}-\text{8}x+\frac{32}{3}\text{}\left[\text{3,4}\right)\\ 0\text{others}\end{array}$ (3)

The 3^{rd} order B-spline function
${N}_{4}\left(x\right)$ is usually used to calculate in practice, and is easy and efficient.

2.2. Tensor Product

Supposing that one-dimensional scaling functions ${\varphi}^{1}\left(x\right)$ , ${\varphi}^{2}\left(x\right)$ generate multi-resolution analyses $\left\{{V}_{j}^{1}\right\}$ , $\left\{{V}_{j}^{2}\right\}$ respectively, the tensor product space of ${V}_{j}^{1}$ and ${V}_{j}^{2}$ is

${V}_{j}={V}_{j}^{1}\otimes {V}_{j}^{2}$ (4)

where $\otimes $ is the Kroneck symbol, the span of ${V}_{j}^{1}$ is $\left\{{2}^{j/2}{\varphi}^{1}\left({2}^{j}-k\right)\right\}$ and that of ${V}_{j}^{2}$ is $\left\{{2}^{j/2}{\varphi}^{2}\left({2}^{j}-l\right)\right\}$ .

Two-dimensional functions are written in the form

${f}_{j,k,l}\left(x,y\right)={2}^{j/2}f\left({2}^{j}x-k,{2}^{j}y-l\right)$

$\varphi \left(x,y\right)={\varphi}^{1}\left(x\right){\varphi}^{2}\left(y\right)$ (5)

The
$\left\{{\varphi}_{j,k,l}\left(x,y\right);k,l\in Z\right\}$ is the span of
${V}_{j}$ and
$\left\{{V}_{j}\right\}$ generates a multi-resolution analysis of
${L}^{2}\left({R}^{2}\right)$ and
$\varphi \left(x,y\right)$ are scaling functions correspondingly. The 3^{rd} order B-spline function
${N}_{4}\left(x\right)$ was selected as the basis, then the two dimensional scaling function is

$\varphi \left(x,y\right)={\varphi}^{1}\left(x\right){\varphi}^{2}\left(y\right)={N}_{4}\left(x\right){N}_{4}\left(y\right)$ (6)

2.3. Construct of the Basis Function

We consider two dimensional functions $f\left(x,y\right)$ and select the two dimensional scaling functions as the basis functions. A square domain $\left[0,1\right]\times \left[0,1\right]$ is separated by a uniform grid with intervals $N={2}^{j}$ , the grid sizes are denoted by $h=1/{2}^{j},\left(j\in Z\right)$ , and the grid points are denoted by

${x}_{m}=mh,\text{\hspace{0.17em}}\text{\hspace{0.17em}}m=0,1,2,\cdots ,{2}^{j}$ (7)

${y}_{n}=nh,\text{\hspace{0.17em}}\text{\hspace{0.17em}}n=0,1,2,\cdots ,{2}^{j}$ (8)

The approximated numerical values of u at the grid point $\left({x}_{m},{y}_{n}\right)$ are denoted by ${u}_{m,n}$ $\left(m,n\in Z\right)$

The basis function is defined as

$\varphi \left(x,y\right)={\varphi}^{1}\left(x\right){\varphi}^{2}\left(y\right)={N}_{4}\left(\frac{x-{x}_{i}}{h}\right){N}_{4}\left(\frac{y-{y}_{i}}{h}\right)$ (9)

2.4. Solve an Elliptic Singularly Perturbed Problem

In the proposed algorithm, the 3^{rd} order B-spline function
${N}_{4}\left(x,y\right)$ is used as a single mother wavelet, i.e.
$\varphi \left(x,y\right)={N}_{4}\left(x,y\right)$ and dilation and translation of mother wavelet functions can construct any function of
${L}^{2}\left({R}^{2}\right)$ .

$S\left(x,y\right)={\displaystyle \underset{{j}_{1}=-1}{\overset{N+1}{\sum}}{\displaystyle \underset{{j}_{2}=-1}{\overset{N+1}{\sum}}{C}_{{j}_{1},{j}_{2}}{N}_{4}\left(\frac{x-{x}_{{j}_{1}}}{h}\right){N}_{4}\left(\frac{y-{y}_{{j}_{2}}}{h}\right)}}$ (10)

The approximated numerical values of u at the grid point $\left({x}_{m},{y}_{n}\right)$ are denoted by

$S\left({x}_{m},{y}_{n}\right)={\displaystyle \underset{{j}_{1}=-1}{\overset{N+1}{\sum}}{\displaystyle \underset{{j}_{2}=-1}{\overset{N+1}{\sum}}{C}_{{j}_{1},{j}_{2}}{N}_{4}\left(\frac{{x}_{m}-{x}_{{j}_{1}}}{h}\right){N}_{4}\left(\frac{{y}_{n}-{y}_{{j}_{2}}}{h}\right)}}$ (11)

Substituting (11) into Equation (1) for all the nodes, we can obtain the following linear equations

$\begin{array}{l}\frac{-{\epsilon}_{1}}{{h}^{2}}{\displaystyle \underset{{j}_{1}=-1}{\overset{N+1}{\sum}}{\displaystyle \underset{{j}_{2}=-1}{\overset{N+1}{\sum}}{C}_{{j}_{1},{j}_{2}}}}\left[{{N}^{\u2033}}_{4}\left(\frac{{x}_{m}-{x}_{{j}_{1}}}{h}\right){N}_{4}\left(\frac{{y}_{n}-{y}_{{j}_{2}}}{h}\right)+{N}_{4}\left(\frac{{x}_{m}-{x}_{{j}_{1}}}{h}\right){{N}^{\u2033}}_{4}\left(\frac{{y}_{n}-{y}_{{j}_{2}}}{h}\right)\right]\\ \text{\hspace{0.05em}}+\frac{1}{h}{\displaystyle \underset{{j}_{1}=-1}{\overset{N+1}{\sum}}{\displaystyle \underset{{j}_{2}=-1}{\overset{N+1}{\sum}}{C}_{{j}_{1},{j}_{2}}}}[{\epsilon}_{2}a\left(mh\right){{N}^{\prime}}_{4}\left(\frac{{x}_{m}-{x}_{{j}_{1}}}{h}\right){N}_{4}\left(\frac{{y}_{n}-{y}_{{j}_{2}}}{h}\right)\\ \text{\hspace{0.05em}}+b\left(mh\right){N}_{4}\left(\frac{{x}_{m}-{x}_{{j}_{1}}}{h}\right){{N}^{\prime}}_{4}\left(\frac{{y}_{n}-{y}_{{j}_{2}}}{h}\right)]\\ \text{\hspace{0.05em}}+c\left(mh\right){\displaystyle \underset{{j}_{1}=-1}{\overset{N+1}{\sum}}{\displaystyle \underset{{j}_{2}=-1}{\overset{N+1}{\sum}}{C}_{{j}_{1},{j}_{2}}{N}_{4}\left(\frac{{x}_{m}-{x}_{{j}_{1}}}{h}\right){N}_{4}\left(\frac{{y}_{n}-{y}_{{j}_{2}}}{h}\right)}}=f\left({x}_{m},{y}_{n}\right)\text{in}\text{\hspace{0.17em}}\Omega \end{array}$ (12)

$\underset{{j}_{1}=-1}{\overset{N+1}{\sum}}{\displaystyle \underset{{j}_{2}=-1}{\overset{N+1}{\sum}}{C}_{{j}_{1},{j}_{2}}{N}_{4}\left(\frac{{x}_{m}-{x}_{{j}_{1}}}{h}\right){N}_{4}\left(\frac{{y}_{n}-{y}_{{j}_{2}}}{h}\right)}}=0\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{on}\text{\hspace{0.17em}}\partial \Omega $ (13)

Above linear equations are written in matrix form as

$B\cdot C=F$ (14)

The B-spline function is a useful wavelet basis function, the stiffness matrix is sparse. When it is used as trial functions, which leads to a tri-diagonal linear system. Hence the wavelet collocation method using the 3^{rd} order B-spline function
${N}_{4}\left(x,y\right)$ as a basis function applied to an elliptic singularly perturbed problem has a unique solution
$S\left(x,y\right)$ given by Equation (10).

3. Numerical Results

In the section, we illustrate the numerical techniques discussed in the previous section by the following problems.

The point-wise errors are given by

$E\left({x}_{i}\right)=|S\left({x}_{i}\right)-u\left({x}_{i}\right)|$

For every $\epsilon $ the computed maximum point-wise errors are given by

${E}^{N}=\underset{0\le i\le N}{\mathrm{max}}\left|u\left({x}_{i}\right)-S\left({x}_{i}\right)\right|$

A test problem [6] is given by

$Lu:=-{\epsilon}_{1}\Delta u+{\epsilon}_{2}\left(3-x\right){u}_{x}+u=f\left(x,y\right),\text{in}\text{\hspace{0.17em}}\Omega =\left(0,1\right)\times \left(0,1\right)$

with the boundary conditions

$u=0$ on $\partial \Omega $

The analytical solution is given by

$u\left(x,y\right)=\frac{1}{4}\left(1-{\text{e}}^{\frac{-{\epsilon}_{2}{k}_{1}x}{2{\epsilon}_{1}}}\right)\left(1-{\text{e}}^{\frac{-{\epsilon}_{2}{k}_{2}\left(1-x\right)}{2{\epsilon}_{1}}}\right)\left(1-{\text{e}}^{\frac{-y}{\sqrt{{\epsilon}_{1}}}}\right)\left(1-{\text{e}}^{\frac{y-1}{\sqrt{{\epsilon}_{1}}}}\right)$ ,

Figure 1. Relation of maximum point-wise errors and values of ε.

Figure 2. Relation of maximum point-wise errors and values of N.

where ${k}_{1}=-1+\sqrt{1+16{\epsilon}_{1}/{\epsilon}_{2}^{2}},{k}_{2}=1+\sqrt{1+16{\epsilon}_{1}/{\epsilon}_{2}^{2}}$ ,

Relation of maximum point-wise errors and values of $\epsilon $ and N is given in Figure 1 and Figure 2.

It observed that

1) when ${\epsilon}_{1}\in \left(0,0.01\right]$ increases for fixed ${\epsilon}_{2}$ and N, the maximum point-wise errors decrease rapidly;

when ${\epsilon}_{1}\in \left(0.01,1\right)$ increases for fixed ${\epsilon}_{2}$ and N, the maximum point-wise errors decreases slowly to 0;

2) when $N<50$ increase for fixed ${\epsilon}_{1}$ and ${\epsilon}_{2}$ , the maximum point-wise errors decreases rapidly;

when $N>50$ increase for fixed ${\epsilon}_{1}$ and ${\epsilon}_{2}$ , the maximum point-wise errors decreases slowly to 0;

4. Conclusion

The numerical results show clearly the effect of ε and N on the solution of an elliptic singularly perturbed problem and the present method is relatively simple and it is applicable technique and approximates the exact solution very well.

Acknowledgements

The authors would like to thank the editor and the reviewers for their valuable comments and suggestions to improve the results of this paper.

This work was supported by the Natural Science Foundation of Guangdong (No. 2015A030313827) and the Key Subject Program of Lingnan Normal University [No. 1171518004].

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

Cite this paper

Lin, B. (2019) Wavelet Collocation Method for Solving Elliptic Singularly Perturbed Problem. Journal of Applied Mathematics and Physics, 7, 166-171. https://doi.org/10.4236/jamp.2019.71014

References

- 1. Jain, P.C., Shankar, R. and Bhardwaj, D. (1997) Numerical Solution of the Korteweg-Devries (KdV) Equation. Chaos, Solitons & Fractals, 8, 943-951.
- 2. Schlichting, H. (1979) Boundary Layer Theory. 7th Edition, McGraw-Hill, New York.
- 3. López, J.L., Sinusía, E.P. and Temme, N.M. (2006) First Order Approximation of an Elliptic 3D Singular Perturbation Problem. Studies in Applied Mathematics, 116, 303-319.
- 4. Shih, S.D. (1996) A Novel Uniform Expansion for a Singularly Perturbed Parabolic Problem with Corner Singularity. Methods and Applications of Analysis, 3, 203-227. https://doi.org/10.4310/MAA.1996.v3.n2.a3
- 5. O’Riordan, E., Pickett, M.L. and Shishkin, G.I. (2006) Numerical Methods for Singularly Perturbed Elliptic Problems Containing Two Perturbation Parameters. Mathematical Modelling and Analysis, 11, 199-212.
- 6. Teofanov, L.J. and Roos, H.-G. (2008) An Elliptic Singularly Perturbed Problem with Two Parameters II: Robust Finite Element Solution. Journal of Computational and Applied Mathematics, 212, 374-389. https://doi.org/10.1016/j.cam.2006.12.013