Abstract

We present two collocation algorithms based on interpolating and approximating subdivision schemes for the solution of fourth order boundary value problems arising in the mathematical modeling of viscoelastic, and inelastic flows, deformation of beams, arches, and load bearing members like street lights and robotic arms in multipurpose engineering systems. Numerical examples are given to illustrate the algorithms. We conclude that approximating schemes based collocation algorithms give better solution than interpolating schemes based collocation algorithms. Main purpose of this paper is to explore and seek the applications of interpolating and approximating subdivision schemes in the field of boundary value problems along with intrinsic comparison of the results obtained by algorithms based on these schemes. A comparison with other approaches of this type of boundary value problems in order to see the advantages of the proposed methods is also given.

1. Introduction

Subdivision schemes propose consistent and efficient iterative algorithms to produce smooth curves and surfaces from a discrete set of control points by subdividing them according to some refining rules, recursively. In recent years, subdivision techniques have become an integral part of computer graphics due to their wide range of applications in many areas such as engineering, medical science, graphic visualization, and image processing. The idea of subdivision has been initiated by de Rham [1]. Later on, Dyn et al. [2] studied a family of schemes with mask of size four, indexed by a tension parameter. Subdivision schemes can be classified into two important branches, approximating and interpolating ones. Approximating scheme means that the limit curve approximates the initial polygon and that, after subdivision, only the newly generated control points are in the limit curve, while interpolating scheme means that, after subdivision, the control points of the original control polygon and the newly generated control points both lie on the limit curve. Mustafa and Rehman [3] unified existing even-point interpolating and approximating schemes by offering general formula for the mask of -point even-ary subdivision scheme. Aslam et al. [4] presented an explicit formula which unified the mask of -point interpolating as well as approximating schemes. Mustafa et al. [5, 6] presented an explicit formula for the mask of odd-points -ary interpolating subdivision schemes. Following are the advantages and disadvantages of interpolating and approximating subdivision schemes in the field of geometric modeling:(i)Interpolating schemes are more useful for engineering applications, especially the schemes with the shape control but approximating schemes do not satisfy the shape control property.(ii)Interpolating subdivision schemes have the drawback that, in order to create smoother curves, it is necessary to enlarge the support of the mask. The designers in geometric modeling require subdivision schemes to have their masks with a possibly smaller support and to create good smooth curves.(iii)Approximating schemes yield smoother curves with smaller support as compared to the interpolating schemes.In this paper, we want to find the answers of the following questions. Are there attractive characteristics of these schemes in the context of solution of boundary value problems? Do approximating (interpolating) schemes play better role than interpolating (approximation) schemes in this case? To seek answers of these questions, we consider the following interpolating [79] and approximating [10] subdivision schemes:with order of continuity . Schemes (1) and (2) reproduce polynomial curves of degree nine and three by [11] and [10], respectively. Cardinal supports of these schemes are and , respectively.

We construct collocation algorithms by using the basis functions of the above interpolating and approximating subdivision schemes for the numerical solution of linear fourth order boundary value problems arising in the mathematical modeling of viscoelastic and inelastic flows, deformation of beams, arches, and load bearing members like street lights and robotic arms in multipurpose engineering systems, where elastic members serve as key elements for shedding or transmitting loads and in plate deflection theory and many other areas of engineering and applied mathematics. The mathematical form of these types of problems is given bysubject to the boundary conditionwhere and are continuous and on . Analytic solution of such type of boundary value problem is possible only in very rare cases. Qu and Agarwal [12, 13] solved this type of problems by interpolatory subdivision scheme based collocation algorithm. But they have computed the solution of second order boundary value problems using 6-point interpolating scheme based collocation algorithm. Mustafa and Ejaz [14] solved third order boundary value problems by using 8-point interpolatory subdivision scheme based collocation algorithm. Until now fourth order boundary value problems have not been solved by subdivision based collocation algorithms. This motivates us to find numerical solution of fourth order boundary value problems by interpolating and approximating subdivision schemes based collocation algorithms.

The outline of the paper is as follows. In Section 2, we construct subdivision matrices of subdivision schemes (1) and (2) for the computation of eigenvalues and their corresponding (right and left) eigenvectors. Basis functions and their derivatives have been also discussed in this section. In Section 3, subdivision based collocation algorithms for solution of (3) are formulated. Approximation properties of these algorithms are also given in Section 3. In Section 4, numerical examples are presented. Comparison of approximate solutions by interpolating and approximating schemes based collocation algorithms is also given. Conclusion is given in Section 5.

2. Basic Properties of the Schemes

In this section, we construct subdivision matrices of the schemes defined in (1) and (2) for the computation of eigenvalues and their corresponding eigenvectors. Basis functions of these schemes and their derivatives have also been discussed in this section.

2.1. Subdivision Matrices

If and are subdivision matrices of schemes (1) and (2), then these matrices are defined aswhere , , , , , andwhere , , , , , , , and .

The first ten real eigenvalues of matrices and are the same which are given as follows: The remaining eigenvalues are complex which are not required. For above eigenvalues , the eigenvectors and that satisfies and are called right and left eigenvectors of the matrix , respectively. We can also define the right and left eigenvectors of in a similar way. The normalized left and right eigenvectors corresponding to first five eigenvalues of and are given in Tables 1 and 2, respectively.

2.2. Basis Functions

The basis functions for the convergent subdivision schemes (1) and (2) are the limit curves and generated from the cardinal data . and are also known as fundamental solutions of the subdivision schemes, soFurthermore, satisfies the following two-scale equation:The th derivative of basis function at integers satisfies the relationSince and for and otherwise, then, by [16], we get the following result.

Lemma 1. The fundamental solution (cardinal basis) of the subdivision scheme (1) is four times continuously differentiable, supported on , and its derivatives at integers are given bywhere , , are defined in Table 1; the function of a real number is defined as’s are the column matrices defined as where and

Lemma 2. The fundamental solution of subdivision scheme (2) defined in (9) is four times continuously differentiable, supported on , and its derivatives at integers are defined aswhere for are defined in Table 2; the function of a real number is defined by (12); ’s are the column matrices defined aswhere are defined by (14).

From (11) and (15), we get values of derivatives at the integers given in Tables 3 and 4, respectively.

3. Description of Numerical Algorithms

In this section, first we formulate two collocation algorithms which are based on interpolating (1) and approximating (2) subdivision schemes for the solution of (3). Then we settle down the boundary conditions to get unique solution.

3.1. Collocation Algorithms

Here we formulate two collocation algorithms based on two subdivision schemes. These collocation algorithms are defined in coming subsections.

3.1.1. Interpolating Collocation Algorithm

The collocation algorithm based on interpolating scheme (1), say, interpolating collocating algorithm, is given below. In this algorithm, we assume approximate solution of (3) aswhere is the positive integer , and , and are the unknown to be determined for the solution of (3). The collocation algorithm, together with the boundary conditions to be discussed, is given bywith the following type of boundary conditions:where , , , and are constants. Let , ; then (18) can be written aswhereUsing (17) and (21) in (20), we get the following system of equations:

3.1.2. Approximating Collocation Algorithm

In approximating collocating algorithm (i.e., algorithm based on approximating scheme (2)), we assume approximate solution of (3) aswhere is the positive integer , and , and are the unknown to be determined for the solution of (3). The collocation algorithm, together with the boundary conditions to be discussed, is given bywith the following type of boundary conditions:Equation (24) can be written aswhereUsing (23) and (27) in (26), we get the following system of equations:Now we simplify systems (22) and (28) in the following theorems.

Theorem 3 (interpolating collocation algorithm). For by (22), one getswhere and .

Proof. Substituting in (22), we getFor , , this impliesSince the cardinal support of basis function is , so , , , and are zero outside the interval ; also, by Table 3, we getIf , thenAs we observe from Table 3, ; we have For , we get (29). This completes the proof.

Theorem 4 (interpolating collocation algorithm). For , system (22) is equivalent to

Proof. By expanding (22), we getFor , , we getThis implies If , for , thenAs we observe from Table 3, , ; then the above equation can be written as Since , , , and are zero outside the interval , then by Table 3, we get (35).

Theorem 5 (approximating collocation algorithm). For , by (28), one getswhere and .

Proof. Substituting in (28), we getFor , , this impliesSince the cardinal support of basis function is , so , , , and are zero outside the interval ; also, by Table 4, we getIf , thenAs we observe from Table 4, ; we haveFor , we get (41). This completes the proof.

Theorem 6 (approximating collocation algorithm). For , system (28) is equivalent to

Proof. By expanding (28), we getFor , , we getThis implies If , for , thenAs we observe from Table 4, , ; then the above equation can be written as Since , , , and are zero outside the interval , then, by Table 4, we get (47).

3.2. Boundary Conditions at End Points

We have two different systems of equations defined by (22) and (28). In order to get unique solution of these systems, we need sixteen more conditions for system (22) and twelve more conditions for system (28). Four conditions can be achieved from boundary conditions given in (4) for both systems of linear equations in which first order derivatives are involved and remaining conditions are achieved by some extrapolation method at the end points. First we find the approximation of the first derivative by difference operators and after that we define the extrapolation method at end points for both systems of linear equations.

3.2.1. Approximation of Derivative Boundary Conditions

In this section, we approximate the derivative boundary conditions by difference operators. Since approximation order of interpolating scheme (1) and approximating scheme (2) is ten and four, respectively, so we approximate derivative boundary conditions at end points with approximation orders ten and four for interpolating and approximating collocation algorithms.

If we use interpolating collocation algorithm for the solution of (3), then approximation of derivative conditions at ends point is defined asand if we use approximating collocation algorithm for the solution of (3), then approximation of derivative conditions at end points is defined as

3.2.2. Adjustment of Boundary Conditions

Still we need twelve and eight more conditions for systems (22) and (28), respectively, to get stable systems for the solution of (3). For this we made some adjustment of boundary conditions for systems (22) and (28), which are defined below.

Case 1. If we use interpolating collocation algorithm for the approximate solution of (3), then we define six conditions at left end points and six conditions at the right end points. Since subdivision scheme (1) reproduces nine-degree (i.e., tenth order) polynomials, so we define boundary conditions of order ten for solution of (22). For simplicity only left end points are discussed and the values of right end points can be treated similarly.
The values can be determined by the nonic polynomial interpolating , . Precisely, we havewhere Since by (17) for , then, by replacing by , we haveHence the following boundary conditions can be employed at the left end:Similarly, for the right end, we can define , , , , , , , andSo we have the following boundary conditions at the right end:Finally, we get the following new system of linear equations with unknowns , in which equations are obtained from (29) and (35), four equations from boundary conditions (19), and twelve from boundary conditions (60) and (62).

Case 2. If we use approximating collocation algorithm (28) for the solution of (3) then we need eight more conditions. So in this case, we define four extra conditions at the left end points and four conditions at the right end points by some extrapolation method. Since the subdivision scheme reproduces cubic (i.e., fourth order) polynomial, so we define quartic polynomial for the adjustment of boundary treatment. The values are determined by the quartic polynomial interpolating . This polynomial is defined aswhere Since by (23) for , then, by replacing by , we have Hence the following boundary conditions can be employed at the left end:Similarly, for the right end, we can define , , and So we have the following boundary conditions at the right end:Finally, we get a following new system of linear equations with unknowns , in which equations are obtained from (41) and (47), four equations from boundary conditions (25), and eight from boundary conditions (66) and (68).

3.3. Stable Systems of Linear Equations

In this section, we present stable systems of linear equations for both interpolating and approximating collocation algorithms.

3.3.1. Stable System for Interpolating Collocation Algorithm

From (29) and (35), we get the following undetermined system of equations with unknowns :where the matrices , , and of orders , , and , respectively, are given bywhere and .

For obtaining the unique solution of (69), we made some adjustment of boundary conditions in previous section which is defined in (53), (54), (60), and (62). By using this adjustment, we get the following system of linear equations with unknowns , defined aswhere the coefficient matrix is defined by (70); and are defined asFirst six rows of are obtained from (60), second last row is obtained from (53), and last row is taken from given boundary conditions which is defined in (19) andFirst row of is obtained from which is defined in (19), second row is obtained from (54), and the last six rows are obtained from (62) and which is defined in (71) and is defined as where is defined by (72).

3.3.2. Stable System for Approximating Collocation Algorithm

From (41) and (47), we get the following undetermined system of equations with unknowns :where the matrices , , and of orders , , and , respectively, are given bywhere and .

In order to get the unique solution of system (78), we have defined some extra conditions in (55), (56), (66), and (68). By using these extra conditions we get the following system of linear equations with unknowns :where the coefficient matrix is defined by (79); and are defined asFirst four rows of are obtained from (66), second last row is obtained from (55), and the last row is taken from the given boundary conditions which is defined in (25) andFirst row of is obtained from which is defined in (25), second row is obtained from (56), and the last four rows are obtained from (68); is defined in (80) and is defined as where is defined by (81). Hence to obtain the approximate solution of the fourth order boundary value problem (3) by interpolating and approximating collocation algorithms we need to solve systems (73) and (82), respectively.

3.4. Existence of the Solution

In this section, we discuss the nonsingularity of the coefficient matrices and defined in (74) and (83), respectively. We observe that the coefficient matrices and are neither symmetric nor diagonally dominant. However it can be shown that and are nonsingular. Since and are band matrices with half bandwidth and , numerical complexities for solving the linear systems using Gaussian elimination are about and multiplications, respectively. For large , the matrices are almost symmetric except the first and last eight rows and columns of and first and last four rows and columns of due to the boundary conditions. Therefore we first consider their symmetric part, that is, square symmetric matrices and of orders defined asSo and are symmetric matrices obtained from and , respectively. It can be shown that and are nonsingular when increase. The nonsingularity of the matrices and is shown in Table 5 by finding their determinants. The matrices and remain nonsingular for and , respectively. For large the determinants of the matrices may or may not be equal to zero. The nonsingularity of the matrices and has been checked by finding their eigenvalues for and for , respectively. Since the eigenvalues for both the matrices are nonzero, then by [17] matrices and are nonsingular. However the matrices for and for may or may not be nonsingular. Therefore we claim that systems of (73) and (82) are stable.

3.5. Error Estimation

In this section, we discuss the approximation properties of the interpolating and approximating collocation algorithms. Since schemes (1) and (2) reproduce polynomial curves of degree nine and three, so by [10] schemes have approximation orders ten and four, respectively. Here we present our main results for error estimation. Proof of these results is similar to the proof of Proposition [12, 14].

Proposition 7. Suppose the exact solution and are obtained by (73); then absolute error by interpolating collocation algorithm is where denotes the order of derivative.

Proposition 8. Suppose the exact solution and are obtained by (82); then absolute error by approximating collocation algorithm is

4. Numerical Examples and Comparison

In this section, the interpolating and approximating collocation algorithms described in Section 3 are tested on the problems given below. Absolute errors between exact and approximate solutions are also calculated. For the sake of comparisons, we also tabulated the results in this section. Graphical illustrations of solutions are presented.

4.1. Numerical Examples

Here we find the numerical solutions of some of the boundary value problems arising in the mathematical modeling of viscoelastic and inelastic flows and so forth.

Example 1. Consider the fourth order linear boundary value problemsubject to the boundary conditionsBy comparing the above problem with (3), we have and . The exact solution for the above problem is
Here we present the numerical solution of the above problem by interpolating and approximating collocation algorithms.
Solution by Interpolating Collocation Algorithm. In this method, by solving the system of linear equations (73) at , we obtain the approximate solution (17) of (90) where , , are

Solution by Approximating Collocation Algorithm. In this method, we solve the system of linear equations (82) at and get solution (23) of (90) where , , are

Example 2. Consider the following fourth order linear boundary value problem,withcorresponds to the bending of a thin beam clamped at both ends. The unique solution of (94) is

Solution by Interpolating Collocation Algorithm. By using this method, we solve system (73) at and get solution (17) of (94) where , , are

Solution by Approximating Collocation Algorithm. In this method, by solving system of linear equations (82) at , we obtain the approximate solution (23) of (94) where , , are

Example 3. Consider the boundary value problemwith boundary conditionsThe exact solution of this problem is .
Solution by Interpolating Collocation Algorithm. Here, we solve system (73) at and get solution (17) of (99) where , , are

Solution by Approximating Collocation Algorithm. By solving system of linear equations (82) at , we obtain the approximate solution (23) of (99) where , , are

4.2. Comparison

The numerical results of Examples 1, 2, and 3 by interpolating and approximating collocation algorithms are presented in Tables 6, 7, and 8, respectively. The maximum absolute errors in the solution of Examples 1, 2, and 3 obtained by interpolating and approximating collocation algorithms are given in Table 9. Graphical representation of these results is shown in Figures 1, 2, and 3. In these figures solid curve represents the exact solutions, dashed lines represent approximate solutions obtained by (73), and dotted lines represent the approximate solutions obtained by (82). Following is the comparison of the numerical solutions obtained by proposed algorithms and other approaches of this type of boundary value problems:(i)From the above results we see that approximating schemes based collocation algorithms give better results than interpolating schemes based collocation algorithms.(ii)Example 1 is also solved by [15]. He solved this problem by second order finite difference method and obtained the maximum absolute errors at different step sizes . We observe that the maximum absolute error at the step size by the proposed approximating collocation algorithm is better than the maximum absolute error obtained by [15] at step size . The comparison of proposed methods with second order finite difference method of [15] at difference step sizes is shown in Table 10.(iii)Example 2 is also solved by [18] by quintic spline based collocation methods. We observe that order of error approximation obtained by [18] and proposed approximating collocation algorithm is the same.

5. Conclusion

In this paper, we have presented interpolating and approximating collocation algorithms based on interpolating and approximating subdivision schemes for the solution of linear fourth order boundary value problems. The proposed algorithms have been applied on different linear fourth order boundary value problems. Results show that the approximating collocation algorithm gives better results comparative to interpolating collocation algorithm. We have also observed that the accuracy of the solution can be improved by choosing different subdivision schemes with the proper adjustment of boundary conditions.

Approximating subdivision scheme based collocation algorithm gives better results comparative to second order finite difference method. However, approximating subdivision scheme based collocation algorithm and quintic spline based collocation algorithm have the same order of approximation.

Conflict of Interests

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

Acknowledgments

The authors would like to thank the referees for their helpful suggestions and comments which showed the way to improve this work. This work is supported by NRPU (P. no. 3183) and Indigenous Ph.D. Scholarship Scheme of HEC Pakistan.