Abstract

In this paper, the fuzzy polynomial is introduced and applied to investigate the least squares approximation problem based on LR fuzzy numbers. A new and simple approach to solve the original problem is constructed by using approximate fuzzy polynomial. Two numerical examples are given to illustrate the proposed method. Since a large number of data exist as an uncertain property and need a function relation to reflect the laws between different variables, our results enrich fuzzy numerical approximation theory.

1. Introduction

There are many systems in which part or all parameters may be uncertain and can be represented and computed by the fuzzy numbers in real world. So, both theory and applications of fuzzy mathematics have been paid more attention by many scholars in the past decades, see [124].

In production practice, it is often necessary to conduct statistics and analysis on a large number of data. Due to equipment or technology and other reasons, many measurement or experimental data are uncertain. Sometimes, this property can be expressed and processed by means of fuzzy numbers. Therefore, the problem of numerical approximation based on the uncertainty of fuzzy numbers has attracted more and more attention of scholars in the field of fuzzy mathematics in recent years. Since a large number of data exist as an uncertain property and need a function relation to reflect the laws between different variables, the fuzzy interpolation and approximation problem has been getting more and more important. However, the research work to fuzzy interpolation and approximation was little in the past two decades. In 1990, Lowen [25] firstly introduced the fuzzy Lagrange interpolation theorem. In 1994, fuzzy interpolation was investigated by Kaleva [18] again. Later, a few researchers proposed other ways to construct fuzzy approximation functions. For instance, in 2005, Allahviranloo et al. [5] studied the method of fuzzy number approximation. In 2006, Allahviranloo et al. [1] researched numerical approximation of fuzzy function by using the fuzzy polynomials.

In this paper, we propose the fuzzy least squares problem and find a polynomial function to approximate the given data. The structure of this paper is organized as follows.

In Section 2, we introduce the basic concepts of LR fuzzy numbers. In Section 3, we propose fuzzy least squares approximation problem and present a model to solve fuzzy least squares approximate. In Section 4, we obtain a method which is made of three steps to approximate a fuzzy function. Two numerical examples are given in Section 5.

2. Preliminaries

There are several definitions for the concept of fuzzy numbers (see [10, 2528]).

Definition 1. A fuzzy number is a fuzzy set like which satisfies(1) is upper semicontinuous(2) is fuzzy convex, i.e., , for all (3) is normal, i.e., there exists such that (4)supp is the support of , and its closure cl(supp) is compactLet be the set of all fuzzy numbers on .

Definition 2. A fuzzy number is said to be a LR fuzzy number ifwhere and and are called the mean value and left and right spreads of , respectively. The function , which is called left shape function, satisfies(1)(2) and (3) is nonincreasing on The definition of a right shape function is similar to that of .
Clearly, two LR fuzzy numbers, and , are said to be equal if and only if , and . Also, is positive (negative) if and only if .

Definition 3. For arbitrary LR fuzzy numbers, and , we have the following.(1)Addition:(2)Subtraction:(3)Scalar multiplication:

3. Fuzzy Least Squares Approximation

Definition 4. A fuzzy number value function is said to be a LR fuzzy number value function ifwhere and and are called the mean value and left and right spreads of , respectively. The function , which is called left shape function, satisfies(1)(2) and (3) is nonincreasing on The definition of a right shape function is similar to that of .

Lemma 1 (see [25, 2931]). Least squares principle.
Least squares method is using curve to approximate data . The standard is that you want to choose , and it makes the difference between the function at and the measured data are very small. If you want to do that, you have to minimize the sum of squares of deviation, which is a minimum.
Minimum square error:Maximum deviation:

3.1. LR Fuzzy Least Squares Approximation Problem

Consider the following set of data for and , where , , are LR numbers, and .

Select a function class in , i.e.,

Meanwhile, let be a set of points in R, and . We suppose

We seek , makingwhere are the weight function, and .

Therefore, is the solution of fuzzy least squares approximation.

Lemma 2 (see [25]). The canonical system has an unique solution , and the corresponding function is satisfied with equation (11); therefore, is the least squares solution of the data set .

Theorem 1. The three canonical systems have a unique solution , separately, and the corresponding function are satisfied with equations (11)–(13); therefore, are the least squares solution of the data set .

Proof. Suppose ; then,Based on least squares solution, is satisfied with equation (11). If we want to get the least squares solution, we must resolve the coefficient .
In fact, we will solve the coefficient , and it can transform into solve the minimum points of the multivariate functions :and we can obtain :According to the inner product symbol of the discrete point set, equation (16) can be written asThe matrix form can be expressed as , i.e.,when are linearly independent, due to the Gram matrix, ; therefore, there is unique solution . It can be seen the least squares solution exists. So, are the unique solution with equation (18). It proved that a unique function can be obtained .
Let us prove the latter part. For any , thenFrom equation (16), we knowand thus,i.e.,Therefore, is the least squares solution of data set , and it is satisfied with equation (10).
In the same way, can solve the which are the unique solutions of , and is the least squares solution of data set , and they are also satisfied with equation (10).
At last, we can get the fuzzy least squares approximation:Minimum square error:Maximum deviation:

4. Solving Fuzzy Least Squares Approximation

In order to solve the fuzzy least squares approximation polynomials, we use the least squares principle to approximate each polynomial, where .

In particular, we generally choose the basis in

to be , and the weight coefficient is .

Solve the fuzzy least squares approximation polynomial , which satisfies

Because of , can be converted to solve three polynomials by least squares approximation, that is, . We can divide it into three steps:Step 1: solve .At first, letThen, calculateLast, by solving normal equation,we get the solution , i.e., .Step 2: solve .At first, letThen, calculateLast, by solving the normal equation,we get the solution , i.e., .Step 3: solve .At first, letThen, calculateLast, by solving normal equation,we get the solution , i.e., .

From the above steps, we can get the fuzzy least squares approximation polynomial:

Remark 1. Sometimes the fitting function can be of hyperbolic,or exponential type,By means of variable substitution,orwe transform the fitting problem into a polynomial fitting of low order,to complete it.

5. Numerical Examples

Example 1. Consider the following data.
Step 1: solve .Let :Then,We get the solution , i.e., .Step 2: solve .Let :Then,We get the solution , i.e., .Step 3: solve .Let :Then,We get the solution , i.e., .Therefore, the fuzzy least squares approximation polynomial is
The allowable minimum square error and maximum deviation:

Example 2. Consider the following data.

Let :and then,We get the solution , i.e., .Step 1: solve .Let :Then,We get the solution , i.e., .Step 2: solve .Let :Then,We get the solution , i.e., .Therefore, the fuzzy least squares approximation polynomial is
The allowable minimum square error and maximum deviation:

Remark 2. Sometimes, we can choose different types of fitting functions for the same set of data. There is only a criterion to decide which function has the best fitting effect, that is, whose error is the minimum.

6. Conclusion

In this work, we investigated the fuzzy least squares approximation problem based on LR fuzzy numbers and proposed an approach to solve the fuzzy least squares approximation by using fuzzy polynomial approximation. The total deviation between the obtained approximation function and the known function is minimized. Numerical examples show that our method is feasible. This idea and method can be applied to the case in which the fitting function is of other types such as hyperbolic or exponential form.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

The work was supported by the Young Doctor Foundation Project of Department of Education of Gansu Province (no. 2021QB-121), the National Natural Science Foundation of PR China (nos. 61967014 and 11861059), and the Scientific Research Project of Gansu Province Colleges and Universities (no. 2019A-004).