#### Abstract

Boundary value problems arise while modeling various physical and engineering reality. In this communication we investigate windowed Fourier frames focusing two-point BVPs. We approximate BVPs using windowed Fourier frames. We present some numerical results to demonstrate the efficiency of such frame functions to approximate BVPs.

#### 1. Introduction

Numerical approximation of various ordinary and partial differential equations is of ongoing interest [1–5]. There are several popular schemes to approximate such models. Schemes based on special functions are increasingly popular [6].

The windowed Fourier transform (Gabor transform) has been a widely used tool in signal processing. This technique uses a single window function to Fourier-transform a signal locally. This process is repeated while shifting the window through the real line. This single window shifting and modulation mechanism of the Gabor transform produces some undesirable effects [5]. A set of frame functions, the windowed Fourier frames (WFFs), have been used to serve such purpose as well [5].

In recent time, WFFs have been popularly used for solving partial differential equations (PDE) [7]. In [7], the authors consider an elliptic PDE and develop an efficient solver using a combination of the symbol of the operator and WFFs. They discuss window functions, discretisation, and implementations in detail. They also study the efficiency of using such functions.

The author develops a general recipe for higher order BVPs in [2]. He considers Tchebychev polynomials to approximate BVPs by reducing the order. In fact, the higher order BVPs problems have been converted to first-order BVPs to approximate the problem using global polynomials efficiently. The author exhibits some numerical results to demonstrate the efficiency of the proposed scheme.

Here, in this paper, we focus on approximating the solutions of two-point boundary value problems using windowed Fourier frames. We motivate ourselves to develop a scheme based on windowed frame functions to approximate various operators in a spare way for one-dimensional academic problems (with an aim to approximate higher dimensional operators using WFFs in the near future). One needs a single window function to generate a family of windowed Fourier frame functions. Thus presentation of the operator becomes neat and simple. The advantage of using windowed frame functions is that they have a flexibility to use for various purpose; the windowed Fourier transformation operator generates a spare differential operator which is easy to store; as a result computations become simple (compared to the spectral collocation/global polynomial approximations for the differential operator). The superiority of the technique has been well discussed in [5, 8]. In this paper we use tight frames to approximate a function, its derivatives, as well as various inner products. Then we apply the frame representations to approximate the solutions of the BVPs.

This paper is organized as follows.(i)We start by discussing WFFs with some properties, followed by an approximation of a function using WFFs in Section 2.(ii)We discuss representation of various operators using WFFs in Section 3.(iii)In Section 4 we approximate some two-point BVPs using WFFs.(iv)We finish with a conclusion in Section 5.

#### 2. A Short Review of Frames

In this section we review in short frames, windowed Fourier frame functions, and the windowed Fourier frame transformation (WFFT) (to approximate any function ). We start by discussing frames and windowed Fourier frames. Then we discuss construction of an efficient window function briefly and use this function to construct windowed Fourier frames.

A frame is a family of vectors that characterizes any function from its inner product . It is possible to recover a vector in a Hilbert space from its inner products with a family of vectors . The index set might be finite or infinite and one can define a frame operator so that

Theorem 1. *The sequence is a frame of if there exist two constants , such that for any **
If this condition is satisfied then is called a frame operator. When the frame is said to be tight [5, 9].*

It is well established that it is possible to reconstruct a signal from its frame transformation using the concept of pseudo inverse which is a bounded operator expressed with a dual frame [5]. Note that a pseudo inverse is denoted by and satisfies where is the adjoint of . If is a frame operator with frame bounds and then . The pseudo inverse of a frame operator is related to a dual fame family, which is expressed by the following result.

Theorem 2 (see [5]). *Let be a frame with bounds and . The dual frame defined by
**
satisfies
**
Then the frame is tight (i.e., ). Here is adjoint of and is the pseudo inverse of .*

We discuss windowed Fourier frame and its transformation next. For , the translation can be defined by and modulation operator can be defined as . Operators of the form or are called time-frequency shifts. Given a nonzero window function and lattice parameters , the set of time-frequency shifts is called a Gabor system. If is a frame for , it is called Gabor frame, Weyl-Heisenberg frame, or windowed Fourier frame [8]. From now we will be denoting such frames by the windowed Fourier frames. Figure 1 shows a sample window function and its Fourier transform. Gabor frame can be constructed using A detailed construction process of window functions can be found in [7].

Theorem 3 (see [5]). *Let be a window whose support is included in , . If
**
for all , then is a tight frame with a frame bound equal to .*

Thus construction of a window function is important. So we aim to present some ideas to design window functions. Let us first give a brief explanation of forming a window function. Consider an interval , and . We want to form a function so that if and there exists such that we have the following. Property 1 is increasing monotonically in . Property 2 in . Property 3 is decreasing monotonically in . Property 4 for all .

##### 2.1. Computation of a Function and Sparsity

Now we can define as where are the Fourier windowed frames and are frame coefficients given by . Here many of the frame coefficients are very close to (see an example in Figure 2) and thus the coefficient matrix is sparse if we use frames. To define windowed Fourier frames we consider the following steps. We fix(i)the number of windows ,(ii)the number of points on each window ,(iii),(iv)the window function , where .We plot a cartoon of an original function and recovered () from its frame coefficients with sparsity set up in Figure 3. From this computation we notice at the approximation is accuracy as , . We notice that a large number of windowed Fourier frame coefficients are numerically zero or very small. This result motivates us to perform further study on the computation of operators using WFF functions.

#### 3. Computation of Operators Using Windowed Fourier Frames

Here we intend to define and compute the solution of a differential equation using the frame transformation of the initial function over a bounded interval . Actually we intend to present some operators over a bounded interval to facilitate the approximation of several BVPs with boundary conditions at and . Let us approximate functions and by where are frame coefficients and where are frame coefficients, respectively. We define where is an operator. It is our goal to find the matrix that maps to and to find a way to compute the matrices. Here and thus the frame coefficients to approximate can be defined as and the first approach of is simpler since we need to compute the integral over the support of the window function only. In practice, we are interested in the following operators: (1)multiplication by a function,(2)differentiation operator (derivative as an operator),which are used to formulate PDEs and to present solutions.

##### 3.1. as Multiplication:

We define as multiplication operator , where is an arbitrary function. Then the matrix elements of (11) can be written as where is a function which depends on . Thus we can think of the following three cases.(1)When , both the windows have identical support, and so the integral can be written as (2)When , then the windows do not have overlapping support, and so (3)When , then two successive windows overlap and we can compute the elements by Thus the computation of the elements becomes the frame transformation of the functions , , .

##### 3.2. as Differential Operators and

Let us start with computing using windowed Fourier frames. Consider and we find frame coefficients where is defined by (9). Then we can define Thus the computation that needs to be focused on is . Now where the integral is exactly the same as the integral (12) we discussed above. is also of the same form and can be computed similarly to once we know . Here we have to define two matrices, one with a derivative () and the other integral that needs to be multiplied by frequencies ().

Now where and for each and , computation of can be performed as of if the window and its derivative have the same support.

Next we consider where the frame coefficients are defined by and is defined by (9). Thus can be presented using frames following similar steps as of . Figure 4 shows a window function and its first and second derivatives computed using central difference formula.

##### 3.3. Inner Product of Two Derivatives

There are some cases when the second derivative is replaced by its variational form. Now with appropriate boundary conditions the variational form can be written as where is a test function. We replace by and by , respectively. Thus we are interested in computing for all or , where

#### 4. Numerical Solution of Two-Point BVPs

In the previous section we discuss the frame representation of various functions and operators. Here we aim to use the representations to approximate two-point boundary value problems. We consider for all with some boundary conditions . Let be a test function; then the variational form of the solutions can be written as and we consider . Now considering and replacing by Thus we need to find of (29).

Now we aim to display some computational results obtained with the scheme discussed in this paper. Here we solve some one-dimensional BVPs of the form (26) to demonstrate the scheme.

*Example 4. *Let , , , and where . The variational form (29) is then
which can be written as a system of linear equations with unknowns as
We present the approximate solution in Figure 5. We compare the result with that of the exact solution.

*Example 5. *Consider the BVP
with , if , and , if . Using similar steps as of the previous discussion we present the approximate solution in Figure 6.

*Example 6. *Consider the BVP
We present the approximate solution in Figure 7. We compare the result with that of an approximation using a standard finite difference scheme.

From Figures 5, 6, and 7 we see that the approximate solutions agree with the exact solutions, which show the efficiency of the numerical scheme presented in this paper.

#### 5. Conclusion

In the paper windowed Fourier frames have been used to approximate two-point BVPs. From the approximation of functions we notice that the results agree with the exact solutions. We also note that a small amount of WFF coefficients is needed to reconstruct a function, and huge storage costs can be minimized. The scheme also does not require a lot of knowledge concerning the behavior of the solutions. The illustrative examples have been included to demonstrate the validity and applicability of the technique. These examples also exhibit the efficiency of the present method. There are some drawbacks: design of an efficient window function is very important. For one-dimensional problems the advantage of using the method is not very highly visible compared to the other existing numerical schemes, but we have a conjecture (our computational experiences) that this scheme can be used for higher dimensional problem where storage is a real problem for numerical computations. A multidimensional approximation using WFF would be of interest which is left as an open problem.

In this study we apply WFFs to some second-order linear BVPs. WFFs are not limited to these problems only. There are many linear higher order BVPs and nonlinear BVPs modeling scientific and engineering problems where WFFs can be applied to approximate the solutions which are left as open research problems.

#### Disclosure

Samir Kumar Bhowmik is on leave from the Department of Mathematics, University of Dhaka, Dhaka, Bangladesh.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgment

Samir Kumar Bhowmik would like to thank Chris C. Stolk of University of Amsterdam for his kind and cordial help.