1 Introduction

With successful applications in medicine (John and Innocent 2005; Garibaldi et al. 2012; Mazandarani and Kamyad 2011; Najariyan et al. 2011), control theory (Najariyan and Farahi 2015), food science (Zolfaghari et al. 2014), mathematics (Najariyan and Mazandarani 2015), computing with words (Mendel 2016), decision making (Wang et al. 2016; Das et al. 2016), fuzzy logic is well known as an effective tool for dealing with uncertainty in modeling processes. Generalization of concepts and achievements already obtained in the field of mathematics using fuzzy logic have recently captured much attention. Fuzzy linear systems (FLSs) can be regarded as a case of the generalization. By definition, FLSs are systems of linear equations in which coefficients and/or variables are uncertain and this uncertainty is expressed using fuzzy numbers. Simply put, the crisp linear equation system is a special form of an FLS when uncertainty vanishes. Just as the application of linear equations system as a model has been used in various areas (e.g., electrical engineering, chemical, physics), FLS can also enable us to model process and phenomenon more effectively.

FLS was first studied in 1991 (Buckley and QU 1991) and the general framework of FLSs originated in 1998 (Friedman et al. 1998). With the use of the parametric form of Type-1 Fuzzy Numbers (T1FNs)—which are a class of possibility distribution functions—and by replacing the original fuzzy \(n \times n\) linear system by a crisp \(2n \times 2n\) linear system proposed, Friedman et al. (1998) solved FLS whose coefficients matrix was crisp and the right-hand side column was an arbitrary T1FN vector. Moreover, it was derived that a unique fuzzy solution does not exist whenever the crisp linear system is not uniquely solved. Then, they continued studying the so-called duality in FLSs (Ming et al. 2000) by considering the linear system as \(AX=BX+Y\) in which A and B are real \(n\times n\) matrices, X and Y are unknown and known vectors of T1FNs, respectively. It was demonstrated that the dual FLS has a unique fuzzy solution on conditions that the inverse matrix of \(A-B\) exists and has only non-negative entries.

Since then, extensive research was conducted on the issue with several methods for solving FLSs presented, such as the steepest descent method (Abbasbandy and Jafarian 2006), LU decomposition method (Abbasbandy et al. 2006), perturbation analysis (Tian et al. 2010), and the linear programming problem approach (Ghanbari 2015). In addition, some studies were dedicated to investigate different forms of FLSs. In (Wang et al. 2001), solving FLS \(X=AX+U\), where A is a crisp square matrix, and U a vector of fuzzy numbers was considered. A method for solving fuzzy linear systems of the form \(A_1 X+b_1=A_2 X+b_2\)—in which \(A_1\) and \(A_2\) are fuzzy square matrices, and \(b_1\) and \(b_2\) are fuzzy numbers vectors—was proposed in Muzzioli and Reynaerts (2006). Furthermore, obtaining a solution to fuzzy complex system of linear equations was investigated in Behera and Chakraverty (2014).

To date, all studies dealing with FLSs are restricted to those where uncertainty is considered as a T1FN. In other words, it has been assumed that the uncertainty can be determined using a precise membership function. However, it may not be possible for a decision maker to consider such an exact form based on different experts’ interpretations of the uncertainty in real applications. To illustrate, suppose a number of electrical engineers—as the experts—are asked about the amount of output voltage of a specific amplifier system. All the subjects mention “approximately 10 volts”. Nevertheless, if each individual subject is asked to show the ”approximately 10 volts membership function” as T1FN, different T1FNs are likely to be presented, even if the T1FNs are all of the same kind (e.g., triangular). This issue recalls the statement that words can mean different things to different people (Mendel 2007). The motivation for this paper comes from this observation that determining an exact form of one single possibility distribution function of an uncertain value may not be always possible based on different experts’ interpretations about the value.

In 1975 (Zadeh 1975), Zadeh presented Type-2 Fuzzy Sets (T2FSs) which are a more general concept than Type-1 Fuzzy Sets (T1FSs). By definition, a T2FS is a set in which membership grades are a T1FS each. This paper aims at investigating FLSs in which uncertainty is considered as a special class of T2FSs called triangular perfect quasi-type-2 fuzzy numbers (Mazandarani and Najariyan 2014b). This system has a solution which includes not only different interpretations of experts, but also provides information about uncertainty dispersion. This paper also presents conditions for the existence of a unique fuzzy solution to the \(n \times n\) linear system. Furthermore, the applicability of the proposed model is illustrated using examples in the pulp and paper industry, and electrical engineering.

2 Preliminaries

This section presents some necessary definitions and theorems which will be used in this paper.

Throughout this paper, the set of all real numbers is denoted by \(\mathbb {R}\), the set of all T1FNs on \(\mathbb {R}\) by \(E_1\), and the set of all perfect T2FNs on \(\mathbb {R}\) by \(E_2\). The left and right endpoints of \(\alpha\)-cut of a fuzzy set A, \(A^{\alpha }\), are denoted by \(\underline{A}^{\alpha }\) and \(\overline{A}^{\alpha }\), respectively. The transpose of a matrix \(Y=[y_{ij}]_{n\times n}\) is denoted by \(Y^T\).

Definition 1

(Zimmermann 2001) The T1FS \(u: \; \mathbb {R} \rightarrow [0, 1]\) is called a T1FN if it is normal, fuzzy convex, upper semi-continuous and compactly supported fuzzy subsets of the real numbers.

The T1FN \(u \in E_1\) can be represented in a parametric form by the ordered pair of functions \((\underline{u}^{\alpha }, \overline{u}^{\alpha })\), \(0 \le \alpha \le 1\) satisfying the following properties:

  1. 1.

    \(\underline{u}^{\alpha }\) is a bounded non-decreasing left continuous function;

  2. 2.

    \(\overline{u}^{\alpha }\) is a bounded non-increasing left continuous function;

  3. 3.

    \(\underline{u}^{\alpha } \le \overline{u}^{\alpha }, \alpha \in [0, 1]\).

Definition 2

(Mendel 2008; Coupland and John 2007) A T2FS, \(\tilde{A}\), can be characterized by the so-called point-valued representation as follows:

$$\begin{aligned} \tilde{A}=\{((x,u), \mu _{\tilde{A}}(x,u))| \forall x \in X, \forall u \in J_x \subseteq [0, 1]\}, \end{aligned}$$

where \(\mu _{\tilde{A}}(x,u)\) and u are called type-2 membership function and primary grade—or secondary variable—of \(\tilde{A}\), respectively, x is the primary variable, X is the domain of the fuzzy set, and \(J_x\) is the domain of the secondary membership function at x (see Fig. 1).

Fig. 1
figure 1

Triangular type-2 fuzzy set with Lower Membership Function (LMF), Upper Membership Function (UMF), and Principle Set (PS). Top insert depicts the secondary membership function, i.e., vertical slice at \(x_0\)

Definition 3

(Mendel and John 2002). Let \(\tilde{A}\) be a T2FS. A vertical slice of \(\tilde{A}\) at \(x_0 \in X\), \(\mu _{\tilde{A}}(x_0)\), is a T1FS and the membership function of secondary domain at the fixed point \(x_0\). It is identified as

$$\begin{aligned} \mu _{\tilde{A}}(x_0)=\int _{u \in J_{x_0}}{f_{x_0}(u)/u} \end{aligned}$$

where is called secondary grade.

It should be noted that the integral sign stands for the union over all admissible x and/or u is not standard integration. In addition, the sign “/” stands for association (or a marker) does not imply division.

Definition 4

(Mazandarani and Najariyan 2014a). An \(\tilde{\alpha }\)-cut set of the vertical slice of \(\tilde{A}\) at point \(x_0 \in X\) is defined as

$$\begin{aligned} S_{\tilde{A}}(x_0 | \tilde{\alpha })=\left\{ \begin{array}{ll} \{u \in J_{x_0} | f_{x_0}(u) \ge \tilde{\alpha } \},&{}\quad 0< \tilde{\alpha }\le 1,\\ cl\{u \in J_{x_0} | f_{x_0}(u)> \tilde{\alpha } \},&{}\quad \tilde{\alpha }=0, \end{array} \right. \end{aligned}$$

where cl(.) denotes the closure of the set, and it is compact.

Definition 5

(Liu 2008) Let \(\tilde{A}\) be a T2FS. The union of all secondary domains of the T2FS, whose secondary grades are greater or equal to \(\tilde{\alpha } \in [0,1]\), is called \(\tilde{\alpha }\)-plane of \(\tilde{A}\) and denoted by \(\tilde{A}_{\tilde{\alpha }}\) as

$$\begin{aligned} \tilde{A}_{\tilde{\alpha }}=\int _{x \in X}{\int _{u \in J_x}{\{(x,u) | S_{\tilde{A}}(x|\tilde{\alpha })\}}} \end{aligned}$$
$$\begin{aligned} \tilde{A}_{\tilde{\alpha }}=\int _{x \in X}{\int _{u \in J_x}{\{(x,u) | f_{x}(u) \ge \tilde{\alpha }\}}} \end{aligned}$$

Theorem 1

(Liu 2008) \(\tilde{\alpha }\)-plane representation theorem: A T2FS, \(\tilde{A}\), can be represented as the union of its \(\tilde{\alpha }\)-planes, i.e., \(\tilde{A}=\bigcup _{\tilde{\alpha }\in [0,1]}\tilde{\alpha }\tilde{A}_{\tilde{\alpha }}\).

Definition 6

(Mazandarani and Najariyan 2014a; Hung and Yang 2004). Let \(\tilde{A}\) and \(\tilde{B}\) be two type-2 fuzzy sets, and \(d_H\) denote the well-known Hausdorff distance. A metric on the space of type-2 fuzzy sets is defined as follows:

$$\begin{aligned} d_2(\tilde{A}, \tilde{B})= \int _a^b{H_f(\mu _{\tilde{A}}(x), \mu _{\tilde{B}}(x))dx} \end{aligned}$$

where

$$\begin{aligned} H_f(\mu _{\tilde{A}}(x), \mu _{\tilde{B}}(x))=2 \int _0^1 {\tilde{\alpha } \ d_H(S_{\tilde{A}}(x|\tilde{\alpha }),S_{\tilde{B}}(x|\tilde{\alpha }))d\tilde{\alpha }} \end{aligned}$$

Definition 7

(Mazandarani and Najariyan 2014a; Mendel et al. 2009) Suppose \(\tilde{A}\) is a T2FS. The \(\tilde{\alpha }\)-plane of the set at \(\tilde{\alpha }=0\), \(\tilde{A}_0\), is called Footprint of Uncertainty of \(\tilde{A}\), FOU\((\tilde{A})\). In other words, FOU\((\tilde{A})\) is a bounded region of the set when it is mapped on two-dimensional plane in the x and u axes.

Note 1

The \(\tilde{\alpha }\)-plane of a T2FS, \(\tilde{A}_{\tilde{\alpha }}\), is an interval valued fuzzy set, i.e., it is a set all of whose elements have interval membership grades (Hamrawi 2011). That is, the T2FS at level \(\tilde{\alpha }\) ,\(\tilde{A}_{\tilde{\alpha }}\) , can be characterized in a parametric form by the pair \((\underline{A}_{\tilde{\alpha }}, \overline{A}_{\tilde{\alpha }})\), where \(\underline{A}_{\tilde{\alpha }}\) is called Lower Membership Function [LMF], and \(\overline{A}_{\tilde{\alpha }}\) is called Upper Membership Function [UMF], and they are both T1FSs (Mazandarani and Najariyan 2014a).

Definition 8

(Hamrawi 2011) Let \(\tilde{A}\) be a T2FS. The \(\tilde{\alpha }\)-plane of the set at \(\tilde{\alpha }=1\), \(\tilde{A}_1\), is called Principle Set [PS] of \(\tilde{A}\), and its membership function is defined as

$$\begin{aligned} \mu _{PS}(x)=\int _{x \in X} u/x s.t. f_x(u)=1. \end{aligned}$$

Definition 9

(Hamrawi 2011; Hamrawi et al. 2010) Suppose \(\tilde{A}\) is a T2FS and its \(\tilde{\alpha }\)-plane is \(\tilde{A}_{\tilde{\alpha }}=(\underline{A}_{\tilde{\alpha }}, \overline{A}_{\tilde{\alpha }})\). The \(\alpha\)-cut of the \(\tilde{\alpha }\)-plane, \(\tilde{A}_{\tilde{\alpha }}^{\alpha }\), is the \(\alpha\)-cut of its LMF and UMF, i.e., \(\tilde{A}_{\tilde{\alpha }}^{\alpha }=(\underline{A}_{\tilde{\alpha }}^{\alpha }, \overline{A}_{\tilde{\alpha }}^{\alpha })\).

Theorem 2

(Hamrawi 2011; Hamrawi et al. 2010) A T2FS, \(\tilde{A}\), can be represented by the union of all its \(\alpha\)-cuts as follows:

$$\begin{aligned} \tilde{A}=\bigcup _{\tilde{\alpha }\in [0,1]}\tilde{\alpha }\bigcup _{\alpha \in [0,1]}\alpha \ \tilde{A}_{\tilde{\alpha }}^{\alpha }. \end{aligned}$$
Fig. 2
figure 2

Triangular perfect QT2FN, \(\tilde{w}\), with \(\underline{L}_{w_0}\), \(\underline{R}_{w_0}\) as the left and right endpoints of the support of LMF, \(\overline{L}_{w_0}\), \(\overline{R}_{w_0}\) as the left and right endpoints of the support of UMF, \(L_{w_1}\), \(R_{w_1}\) as the left and right endpoints of the support of PS and m as the core of the set

3 Triangular perfect quasi-type-2 fuzzy numbers

Definition 10

(Hamrawi 2011; Hamrawi et al. 2016; Mazandarani and Najariyan 2014b) A T2FS, \(\tilde{A}\), is called a perfect T2FN if the following conditions are satisfied:

  1. 1.

    UMF and LMF of FOU\((\tilde{A})\) are T1FNs themselves;

  2. 2.

    UMF and LMF of PS of \(\tilde{A}\) are T1FNs themselves.

Definition 11

(Hamrawi 2011; Hamrawi et al. 2016) A perfect QT2FN is a perfect T2FN, whose all vertical slices are T1FNs and piecewise functions are of the same kind (e.g., linear).

Note 2

(Hamrawi 2011) A perfect QT2FN can be completely determined using its FOU and PS.

A class of triangular perfect QT2FNs was introduced for the first time by Mazandarani and Najariyan in Mazandarani and Najariyan (2014b) as the septuple:

$$\begin{aligned} \tilde{w}=(\overline{L}_{w_0}, L_{w_1}, \underline{L}_{w_0}, m, \underline{R}_{w_0}, R_{w_1}, \overline{R}_{w_0}) \end{aligned}$$
(1)

where \(\overline{L}_{w_0} \le L_{w_1} \le \underline{L}_{w_0} \le m \le \underline{R}_{w_0} \le R_{w_1} \le \overline{R}_{w_0}\). Figure 2 shows the triangular perfect QT2FNs. The triangular perfect QT2FN, \(\tilde{w}\), in the levels \(\alpha\) and \(\tilde{\alpha }\), \(\tilde{w}_{\tilde{\alpha }}^{\alpha }=(\underline{w}_{\tilde{\alpha }}^{\alpha }, \overline{w}_{\tilde{\alpha }}^{\alpha })\), is determined as

$$\begin{aligned} \left\{ \begin{array}{ll} &{}\overline{w}_{\tilde{\alpha }}^{\alpha }=[\overline{L}_{ w_{\tilde{\alpha }}}^{\alpha }, \overline{R}_{w_{\tilde{\alpha }}}^{\alpha }] \\ &{}\overline{L}_{w_{\tilde{\alpha }}}^{\alpha }=L_{w_1}^{\alpha } -(1-\tilde{\alpha })(L_{w_1}^{\alpha }-\overline{L}_{w_0}^{\alpha }) \\ &{} \overline{R}_{w_{\tilde{\alpha }}}^{\alpha }=R_{w_1}^{\alpha }-(1 -\tilde{\alpha })(R_{w_1}^{\alpha }-\overline{R}_{w_0}^{\alpha }) \end{array} \right. \end{aligned}$$
(2)

and

$$\begin{aligned} \left\{ \begin{array}{ll} &{} \underline{w}_{\tilde{\alpha }}^{\alpha }=[\underline{L}_{ w_{\tilde{\alpha }}}^{\alpha }, \underline{R}_{w_{\tilde{\alpha }}}^{\alpha }] \\ &{} \underline{L}_{w_{\tilde{\alpha }}}^{\alpha }=L_{w_1}^{\alpha } -(1-\tilde{\alpha })(L_{w_1}^{\alpha }-\underline{L}_{w_0}^{\alpha }) \\ &{} \underline{R}_{w_{\tilde{\alpha }}}^{\alpha }=R_{w_1}^{\alpha }-(1 -\tilde{\alpha })(R_{w_1}^{\alpha }-\underline{R}_{w_0}^{\alpha }) \end{array} \right. \end{aligned}$$
(3)

where \(\overline{L}_{w_0}^{\alpha } \le L_{w_1}^{\alpha } \le \underline{L}_{w_0}^{\alpha } \le \underline{R}_{w_0}^{\alpha } \le R_{w_1}^{\alpha } \le \overline{R}_{w_0}^{\alpha }\), and they are characterized as

$$\begin{aligned} \left\{ \begin{array}{ll} &{} \underline{L}_{w_0}^{\alpha }=m-(1-\alpha )(m-\underline{L}_{w_0}) \\ &{} \underline{R}_{w_0}^{\alpha }=m-(1-\alpha )(m-\underline{R}_{w_0}) \\ &{} \overline{L}_{w_0}^{\alpha }=m-(1-\alpha )(m-\overline{L}_{w_0}) \\ &{} \overline{R}_{w_0}^{\alpha }=m-(1-\alpha )(m-\overline{R}_{w_0}) \\ &{} L_{w_1}^{\alpha }=m-(1-\alpha )(m-L_{w_1}) \\ &{} R_{w_1}^{\alpha }=m-(1-\alpha )(m-R_{w_1}). \end{array} \right. \end{aligned}$$
(4)

In the following, some of the arithmetic operations on the triangular perfect QT2FNs are given. Let \(\tilde{w}=(\overline{L}_{w_0}, L_{w_1}, \underline{L}_{w_0}, m, \underline{R}_{w_0}, R_{w_1}, \overline{R}_{w_0})\) and \(\tilde{z}=(\overline{L}_{z_0},\) \(L_{z_1}, \underline{L}_{z_0},n, \underline{R}_{z_0}, R_{z_1}, \overline{R}_{z_0})\) be two triangular perfect QT2FNs. The addition, \(\tilde{w}+\tilde{z}\), and scalar multiplication by \(k \in \mathbb {R}\), \(k\tilde{w}\), are defined as follows:

$$\begin{aligned} \tilde{w}+\tilde{z}=&\;(\overline{L}_{w_0}+\overline{L}_{z_0}, L_{w_1}+L_{z_1}, \underline{L}_{w_0}+\underline{L}_{z_0}, m+n, \\&\underline{R}_{w_0}+ \underline{R}_{z_0}, R_{w_1}+R_{z_1}, \overline{R}_{w_0}+\overline{R}_{w_0}) \end{aligned}$$
$$\begin{aligned}&k\tilde{w}= (k\overline{L}_{w_0}, kL_{w_1}, k\underline{L}_{w_0}, km, k\underline{R}_{w_0}, kR_{w_1}, k\overline{R}_{w_0}) \\&\text {for} \ \ k \ge 0,\\&k\tilde{w}=(k\overline{R}_{w_0}, kR_{w_1}, k\underline{R}_{w_0}, km, k\underline{L}_{w_0}, kL_{w_1}, k\overline{L}_{w_0}) \\&\text {for} \ \ k<0. \end{aligned}$$

Moreover, the scalar multiplication by \(k \in \mathbb {R}\), addition, subtraction, and multiplication, in the levels \(\alpha\) and \(\tilde{\alpha }\) is characterized as

$$\begin{aligned}{}[k\tilde{w}]^{\alpha }_{\tilde{\alpha }}= \left\{ \begin{array}{ll} ([k\underline{L}_{w_{\tilde{\alpha }}}^{\alpha },k\underline{R}_{ w_{\tilde{\alpha }}}^{\alpha }],[k\overline{L}_{w_{\tilde{\alpha }}}^{\alpha }, k\overline{R}_{w_{\tilde{\alpha }}}^{\alpha }]),&{}k \ge 0,\\ ([k\underline{R}_{w_{\tilde{\alpha }}}^{\alpha },k\underline{L}_{ w_{\tilde{\alpha }}}^{\alpha }],[k\overline{R}_{w_{\tilde{\alpha }}}^{\alpha }, k\overline{L}_{w_{\tilde{\alpha }}}^{\alpha }]),&{} k<0 \end{array} \right. \end{aligned}$$

and

$$\begin{aligned}{}[\tilde{w} \circ \tilde{z}]_{\tilde{\alpha }}^{\alpha }=([\underline{w}_{\tilde{\alpha }}^{\alpha } \circ \underline{z}_{\tilde{\alpha }}^{\alpha }],[\overline{w}_{\tilde{\alpha }}^{\alpha } \circ \overline{z}_{\tilde{\alpha }}^{\alpha }]) \end{aligned}$$

where \(\tilde{w}\; \circ \; \tilde{z}\) means \(\tilde{w}+ \tilde{z}\) or \(\tilde{w}- \tilde{z}\) or \(\tilde{w}\times \tilde{z}\) and

$$\begin{aligned}{}[\underline{w}_{\tilde{\alpha }}^{\alpha }\; \circ \; \underline{z}_{\tilde{\alpha }}^{\alpha }]=[&\min \{\underline{L}_{w_{\tilde{\alpha }}}^{\alpha }\; \circ \; \underline{L}_{z_{\tilde{\alpha }}}^{\alpha }, \underline{L}_{w_{\tilde{\alpha }}}^{\alpha }\; \circ \; \underline{R}_{z_{\tilde{\alpha }}}^{\alpha }, \underline{R}_{w_{\tilde{\alpha }}}^{\alpha }\; \circ \; \underline{L}_{z_{\tilde{\alpha }}}^{\alpha }, \\&\underline{R}_{w_{\tilde{\alpha }}}^{\alpha }\; \circ \; \underline{R}_{z_{\tilde{\alpha }}}^{\alpha }\}, \\&\max \{\underline{L}_{w_{\tilde{\alpha }}}\; \circ \; \underline{L}_{z_{\tilde{\alpha }}}, \underline{L}_{w_{\tilde{\alpha }}}\; \circ \; \underline{R}_{z_{\tilde{\alpha }}}, \underline{R}_{w_{\tilde{\alpha }}}\; \circ \; \underline{L}_{z_{\tilde{\alpha }}}, \\&\underline{R}_{w_{\tilde{\alpha }}}\; \circ \; \underline{R}_{z_{\tilde{\alpha }}}\}] \end{aligned}$$
$$\begin{aligned}{}[\overline{w}_{\tilde{\alpha }}^{\alpha } \circ \overline{z}_{\tilde{\alpha }}^{\alpha }]=[&\min \{\overline{L}_{w_{\tilde{\alpha }}}^{\alpha }\circ \overline{L}_{z_{\tilde{\alpha }}}^{\alpha }, \overline{L}_{w_{\tilde{\alpha }}}^{\alpha }\circ \overline{R}_{z_{\tilde{\alpha }}}^{\alpha }, \overline{R}_{w_{\tilde{\alpha }}}^{\alpha }\circ \overline{L}_{z_{\tilde{\alpha }}}^{\alpha },\\&\overline{R}_{w_{\tilde{\alpha }}}^{\alpha }\circ \overline{R}_{z_{\tilde{\alpha }}}^{\alpha }\} , \\&\max \{\overline{L}_{w_{\tilde{\alpha }}}\circ \overline{L}_{z_{\tilde{\alpha }}}, \overline{L}_{w_{\tilde{\alpha }}}\circ \overline{R}_{z_{\tilde{\alpha }}}, \overline{R}_{w_{\tilde{\alpha }}}\circ \overline{L}_{z_{\tilde{\alpha }}},\\&\overline{R}_{w_{\tilde{\alpha }}}\circ \overline{R}_{z_{\tilde{\alpha }}}\}]. \end{aligned}$$

4 Type-2 fuzzy linear system

This section presents a class of T2FLS in which the coefficients are real crisp numbers and the variables are the triangular perfect QT2FNs. An approach, similar to what was proposed in Friedman et al. (1998), is introduced for obtaining the solution of T2FLS. In order for ideas to flow better and easier to follow the notations used in this section are tried to be compatible with that used in Friedman et al. (1998). Moreover, a definition of the type-2 fuzzy solution is presented.

A system of linear equations as

$$\begin{aligned} \left\{ \begin{array}{l} a_{11}\tilde{x}_1+a_{12}\tilde{x}_2+\cdots +a_{1n}\tilde{x}_n=\tilde{y}_1\\ a_{21}\tilde{x}_1+a_{22}\tilde{x}_2+\cdots +a_{2n}\tilde{x}_n=\tilde{y}_2\\ \vdots \\ a_{n1}\tilde{x}_1+a_{n2}\tilde{x}_2+\cdots +a_{nn}\tilde{x}_n=\tilde{y}_n \end{array} \right. \end{aligned}$$
(5)

where \(a_{ij} \in \mathbb {R}, \ 1\le i,j\le n\) and \(\tilde{x}_i, \ \tilde{y}_i \in E_2\) is called a T2FLS. T2FLS shown in Eq. (5) is expressed in the matrix form as \(A\tilde{X}=\tilde{Y}\) in which

$$\begin{aligned} A=[a_{ij}]_{n\times n}, \ \ \tilde{X}=[\tilde{x}_1 \ \tilde{x}_2 \ \cdots \tilde{x}_n]^T \end{aligned}$$

and

$$\begin{aligned} \tilde{Y}=[\tilde{y}_1 \ \tilde{y}_2 \ \cdots \tilde{y}_n]^T. \end{aligned}$$

According to Definition 9, we have

$$\begin{aligned} (\underline{x}_{i\tilde{\alpha }}^{\alpha }, \overline{x}_{i\tilde{\alpha }}^{\alpha })=([\underline{L}_{ x_{i\tilde{\alpha }}}^{\alpha }, \underline{R}_{x_{i\tilde{\alpha }}}^{\alpha }], [\overline{L}_{x_{i\tilde{\alpha }}}^{\alpha }, \overline{R}_{x_{i\tilde{\alpha }}}^{\alpha }]) \end{aligned}$$

and

$$\begin{aligned} (\underline{y}_{i\tilde{\alpha }}^{\alpha }, \overline{y}_{i\tilde{\alpha }}^{\alpha })=([\underline{L}_{ y_{i\tilde{\alpha }}}^{\alpha }, \underline{R}_{y_{i\tilde{\alpha }}}^{\alpha }], [\overline{L}_{y_{i\tilde{\alpha }}}^{\alpha }, \overline{R}_{y_{i\tilde{\alpha }}}^{\alpha }]). \end{aligned}$$

Based on Theorem 2, solving T2FLS shown in Eq. (5) is equivalent to obtaining a solution of the following equations system:

$$\begin{aligned} \left\{ \begin{array}{l} \underline{L}^{\alpha }_{\big [\sum _{j=1}^n {a_{ij}\tilde{x}_j}\big ]_{\tilde{\alpha }}}=\sum _{j=1}^n{\underline{L}^{\alpha }_{\big [ a_{ij}\tilde{x}_j\big ]_{\tilde{\alpha }}}}=\underline{L}_{y_{i\tilde{\alpha }}}^{\alpha }\\ \underline{R}^{\alpha }_{\big [\sum _{j=1}^n {a_{ij}\tilde{x}_j}\big ]_{\tilde{\alpha }}}=\sum _{j=1}^n{\underline{R}^{\alpha }_{\big [ a_{ij}\tilde{x}_j\big ]_{\tilde{\alpha }}}}=\underline{R}_{y_{i\tilde{\alpha }}}^{\alpha }\\ \overline{L}^{\alpha }_{\big [\sum _{j=1}^n {a_{ij}\tilde{x}_j}\big ]_{\tilde{\alpha }}}=\sum _{j=1}^n{\overline{L}^{\alpha }_{\big [ a_{ij}\tilde{x}_j\big ]_{\tilde{\alpha }}}}=\overline{L}_{y_{i\tilde{\alpha }}}^{\alpha }\\ \overline{R}^{\alpha }_{\big [\sum _{j=1}^n {a_{ij}\tilde{x}_j}\big ]_{\tilde{\alpha }}}=\sum _{j=1}^n{\overline{R}^{\alpha }_{\big [ a_{ij}\tilde{x}_j\big ]_{\tilde{\alpha }}}}=\overline{R}_{y_{i\tilde{\alpha }}}^{\alpha }. \end{array} \right. \end{aligned}$$
(6)

The system given by equations shown in Eq. (6) is a \(4n \times 4n\) crisp linear system, where the right-hand side column is the \(4n\times 1\) matrix:

$$\begin{aligned} \big [&\underline{L}_{y_{1\tilde{\alpha }}}^{\alpha } \ \cdots \ \underline{L}_{y_{n\tilde{\alpha }}}^{\alpha } \ \underline{R}_{y_{1\tilde{\alpha }}}^{\alpha } \ \cdots \ \underline{R}_{y_{n\tilde{\alpha }}}^{\alpha } \ \overline{L}_{y_{1\tilde{\alpha }}}^{\alpha } \ \cdots \ \overline{L}_{y_{n\tilde{\alpha }}}^{\alpha } \ \overline{R}_{y_{1\tilde{\alpha }}}^{\alpha } \\&\cdots \ \overline{R}_{y_{n\tilde{\alpha }}}^{\alpha }\big ]^T. \end{aligned}$$

System shown in Eq. (6) can be rewritten in order that the \(4n\times 1\) matrix

$$\begin{aligned} X_{\alpha , \tilde{\alpha }}=\big [&\underline{L}_{x_{1\tilde{\alpha }}}^{\alpha } \ \cdots \ \underline{L}_{x_{n\tilde{\alpha }}}^{\alpha } \ -\underline{R}_{x_{1\tilde{\alpha }}}^{\alpha } \ \cdots \ -\underline{R}_{x_{n\tilde{\alpha }}}^{\alpha } \ \overline{L}_{x_{1\tilde{\alpha }}}^{\alpha } \\&\cdots \ \overline{L}_{x_{n\tilde{\alpha }}}^{\alpha } \ -\overline{R}_{x_{1\tilde{\alpha }}}^{\alpha } \ \cdots \ -\overline{R}_{x_{n\tilde{\alpha }}}^{\alpha }\big ]^T \end{aligned}$$

includes the unknown variables, and the \(4n\times 1\) matrix, including the known variables in the right-hand side, is

$$\begin{aligned} Y_{\alpha , \tilde{\alpha }}=\big [&\underline{L}_{y_{1\tilde{\alpha }}}^{\alpha } \ \cdots \ \underline{L}_{y_{n\tilde{\alpha }}}^{\alpha } \ -\underline{R}_{y_{1\tilde{\alpha }}}^{\alpha } \ \cdots \ -\underline{R}_{y_{n\tilde{\alpha }}}^{\alpha } \nonumber \\&\overline{L}_{y_{1\tilde{\alpha }}}^{\alpha } \ \cdots \ \overline{L}_{y_{n\tilde{\alpha }}}^{\alpha } \ -\overline{R}_{y_{1\tilde{\alpha }}}^{\alpha } \ \cdots \ -\overline{R}_{y_{n\tilde{\alpha }}}^{\alpha }\big ]^T. \end{aligned}$$
(7)

This rearranging leads to the system \(SX_{\alpha , \tilde{\alpha }}=Y_{\alpha , \tilde{\alpha }}\), where S is a real \(4n \times 4n\) square matrix in the form of

$$\begin{aligned} S=\left[ \begin{array}{llll} B &{} C &{} \mathbf 0 &{} \mathbf 0 \\ C &{} B &{} \mathbf 0 &{}\mathbf 0 \\ \mathbf 0 &{}\mathbf 0 &{}B&{}C\\ \mathbf 0 &{}\mathbf 0 &{}C&{}B \end{array} \right] \end{aligned}$$
(8)

in which \(\mathbf 0\) denotes an \(n \times n\) zero matrix and the matrices \(B=[b_{ij}]_{n\times n}\), \(C=[c_{ij}]_{n\times n}\), are non-negative matrices, whose entries are determined as

$$\begin{aligned} b_{ij}=\left\{ \begin{array}{ll} a_{ij} &{} a_{ij}>0\\ 0 &{} a_{ij}\le 0 \end{array} \right. c_{ij}=\left\{ \begin{array}{ll} -a_{ij} &{} a_{ij}< 0\\ 0 &{} a_{ij}\ge 0. \end{array} \right. \end{aligned}$$
(9)

It is easy to see that \(A=B-C\). It should be noted; if system shown in Eq. (6) does not have a unique solution, then T2FLS shown in Eq. (5) does not have a unique solution either. The unique solution to system shown in Eq. (6) can be found if and only if the matrix S is invertible.

Theorem 3

The matrix S is invertible if and only if the matrices A and \(B+C\) are both invertible.

Proof

It is similar to the proof of Theorem 1 in (Friedman et al. 1998). \(\square\)

Based on Theorem 3 presented in Friedman et al. (1998), a special case of T1FLSs has a unique fuzzy solution. What follows is a corollary of the Theorem 3 in the context of T2FLSs.

Corollary 1

T2FLS shown in Eq. (5) has a type-2 fuzzy solution, belonging to the triangular perfect QT2FNs, providing that matrix S has an inverse matrix, \(S^{-1}\) , whose entries are non-negative.

Proof

For the proof of this theorem, what is needed is to prove that \(\overline{L}_{x_{i\tilde{\alpha }}}^{\alpha } \le \underline{L}_{x_{i\tilde{\alpha }}}^{\alpha } \le \underline{R}_{x_{i\tilde{\alpha }}}^{\alpha } \le \overline{R}_{x_{i\tilde{\alpha }}}^{\alpha }\). It is straightforward and hence omitted. \(\square\)

Although the conditions in Corollary 1 are sufficient conditions, and assure us that the unique type-2 fuzzy solution can be obtained, there is scarcely any matrix S which satisfies the conditions. As a result, the following definition of solution is given.

Definition 12

Suppose \(S^{-1}\) is the inverse of matrix S, and \(Z_{\alpha , \tilde{\alpha }}=[z_l(\alpha , \tilde{\alpha })]_{4n \times 1}\), \(l=1, 2,\ldots , 4n\), is a solution of \(SZ_{\alpha , \tilde{\alpha }}=Y_{\alpha , \tilde{\alpha }}\), i.e., \(Z_{\alpha , \tilde{\alpha }}=S^{-1}Y_{\alpha , \tilde{\alpha }}\). We say that \(\tilde{X}=[\tilde{x}_1 \ \tilde{x}_2 \ \cdots \tilde{x}_n]^T\) is the type-2 fuzzy solution of T2FLS shown in Eq. (5) provided that

$$\begin{aligned} \tilde{x}_i=\bigcup _{\tilde{\alpha }\in [0,1]}\tilde{\alpha }\bigcup _{\alpha \in [0,1]}\alpha \ \tilde{x}_{i\tilde{\alpha }}^{\alpha } \quad { for\; all} \; i=1, 2,\ldots , n \end{aligned}$$

represents the triangular perfect QT2FN, where

$$\begin{aligned} \tilde{x}_{i\tilde{\alpha }}^{\alpha }=(\underline{x}_{i\tilde{\alpha }}^{\alpha }, \overline{x}_{i\tilde{\alpha }}^{\alpha })=([\underline{L}_{x_{i\tilde{ \alpha }}}^{\alpha }, \underline{R}_{x_{i\tilde{\alpha }}}^{\alpha }], [\overline{L}_{x_{i\tilde{\alpha }}}^{\alpha }, \overline{R}_{x_{i\tilde{\alpha }}}^{\alpha }]), \end{aligned}$$

and

$$\begin{aligned} \left\{ \begin{array}{l} \underline{L}_{x_{i\tilde{\alpha }}}^{\alpha }=z_i(\alpha , \tilde{\alpha })\\ -\underline{R}_{x_{i\tilde{\alpha }}}^{\alpha }=z_{i+n}(\alpha , \tilde{\alpha })\\ \overline{L}_{x_{i\tilde{\alpha }}}^{\alpha }=z_{i+2n}(\alpha , \tilde{\alpha })\\ -\overline{R}_{x_{i\tilde{\alpha }}}^{\alpha }=z_{i+3n}(\alpha , \tilde{\alpha }). \end{array} \right. \end{aligned}$$
(10)

Based on the aforementioned, the following steps can be considered for obtaining the unique fuzzy solution of T2FLS shown in Eq. (5).

Step 1 Set up the matrices \(Y_{\alpha , \tilde{\alpha }}\) and S according to the relations shown in Eqs. (7), (8), and (9), respectively.

Step 2 Check whether the matrix S is invertible or not. If the determinant of the matrix S is nonzero, i.e., \(|S|\ne 0\), then \(S^{-1}\) exists, and go to the next step. If the determinant of the matrix S is zero, i.e., \(|S|=0\), then \(S^{-1}\) does not exist, and therefore, the problem does not have a unique fuzzy solution.

Step 3 Obtain \(Z_{\alpha , \tilde{\alpha }}=[z_l(\alpha , \tilde{\alpha })]_{4n \times 1}\), \(l=1, 2,\ldots, 4n\) using \(Z_{\alpha , \tilde{\alpha }}=S^{-1}Y_{\alpha , \tilde{\alpha }}\).

Step 4 Using Eq. (10), determine \(\underline{L}_{x_{i\tilde{\alpha }}}^{\alpha }\), \(\underline{R}_{x_{i\tilde{\alpha }}}^{\alpha }\), \(\overline{L}_{x_{i\tilde{\alpha }}}^{\alpha }\), and \(\overline{R}_{x_{i\tilde{\alpha }}}^{\alpha }\) for each \(\tilde{x}_{i\tilde{\alpha }}^{\alpha }\).

Step 5 Check whether \(([\underline{L}_{x_{i\tilde{\alpha }}}^{\alpha }, \underline{R}_{x_{i\tilde{\alpha }}}^{\alpha }], [\overline{L}_{x_{i\tilde{\alpha }}}^{\alpha }, \overline{R}_{x_{i\tilde{\alpha }}}^{\alpha }])\), \(i=1, 2,\ldots , n\) represents a T2FN or not. To do that, we need to check whether the LMF, i.e., \([\underline{L}_{x_{i\tilde{\alpha }}}^{\alpha }, \underline{R}_{x_{i\tilde{\alpha }}}^{\alpha }]\), and UMF, i.e., \([\overline{L}_{x_{i\tilde{\alpha }}}^{\alpha }, \overline{R}_{x_{i\tilde{\alpha }}}^{\alpha }]\), are T1FNs them selves or not. If the LMF and UMF are T1FNs for each \(i=1, 2,\ldots , n\) and \(\overline{L}_{w_{\tilde{\alpha }}}^{\alpha } \le \underline{L}_{w_{\tilde{\alpha }}}^{\alpha } \le \underline{R}_{w_{\tilde{\alpha }}}^{\alpha } \le \overline{R}_{w_{\tilde{\alpha }}}^{\alpha }\), then according to Definition 10

$$\begin{aligned} \tilde{x}_{i\tilde{\alpha }}^{\alpha }=(\underline{x}_{i\tilde{\alpha }}^{\alpha }, \overline{x}_{i\tilde{\alpha }}^{\alpha })=([\underline{L}_{ x_{i\tilde{\alpha }}}^{\alpha }, \underline{R}_{x_{i\tilde{\alpha }}}^{\alpha }], [\overline{L}_{x_{i\tilde{\alpha }}}^{\alpha }, \overline{R}_{x_{i\tilde{\alpha }}}^{\alpha }]) \end{aligned}$$

represents a T2FN. Moreover, based on Definition 12, \(\tilde{x}_{i\tilde{\alpha }}^{\alpha }=(\underline{x}_{i\tilde{\alpha }}^{\alpha }, \overline{x}_{i\tilde{\alpha }}^{\alpha })\) is the unique fuzzy solution of T2FLS shown in Eq. (5) which can be characterized in the form of the septuple shown in Eq. (1).

Step 6 The unique fuzzy solution of T2FLS shown in Eq. (5) can be represented in the septuple form shown in Eq. (1) as

$$\begin{aligned} \tilde{x}_i=&\big (\overline{L}_{x_{i0}}, L_{x_{i1}}, \underline{L}_{x_{i0}}, m, \underline{R}_{x_{i0}}, R_{x_{i1}},\overline{R}_{x_{i0}}\big ) \end{aligned}$$

where based on the relations shown in Eqs. (2), (3), and (4)

$$\begin{aligned}&\overline{L}_{x_{i0}}=\overline{L}_{x_{i\tilde{\alpha }}}^{\alpha }\big |_{\tilde{\alpha }, \alpha =0}, \ \ L_{x_{i1}}=\overline{L}_{x_{i\tilde{\alpha }}}^{\alpha }\big |_{\tilde{\alpha }=1,\alpha =0}, \\&\underline{L}_{x_{i0}}=\underline{L}_{x_{i\tilde{\alpha }}}^{\alpha }\big |_{\tilde{\alpha },\alpha =0}, \ \ m=\underline{L}_{x_{i\tilde{\alpha }}}^{\alpha }\big |_{\tilde{\alpha },\alpha =1}, \\&\overline{R}_{x_{i0}}=\overline{R}_{x_{i\tilde{\alpha }}}^{\alpha }\big |_{\tilde{\alpha }, \alpha =0}, \ \ R_{x_{i1}}=\overline{R}_{x_{i\tilde{\alpha }}}^{\alpha }\big |_{\tilde{\alpha }=1,\alpha =0}, \\&\underline{R}_{x_{i0}}=\underline{R}_{x_{i\tilde{\alpha }}}^{\alpha }\big |_{\tilde{\alpha },\alpha =0}. \end{aligned}$$

5 Examples

Fig. 3
figure 3

Process of pulp washing. Originally published in Patino and Nunez (1998) under CC BY-NC-SA 3.0 license. Available from: http://dx.doi.org/10.5772/20882

Example 1

A stage in the retrofit strategy for the reduction of water and energy in pulp and paper processes is considered as an application of type-2 fuzzy linear system. The stage corresponds to pulp washing process. Pulp and paper are manufactured from raw materials containing cellulose fibers, generally wood, recycled paper, and agricultural residues (Bajpai 2012). The process of pulp washing has been shown in Fig. 3 which has been adopted from (Patino and Nunez 1998).

In this case, we are going to obtain the values of the pulp flowing out from filter 1, 2 and the wastewater from filter 2. The unknowns are concentrations. The information has been obtained by the aim of the experiences of an expert and others with a level lower than that of the expert. Depending on their experience and expertise, the experts mention different uncertainty for the concentration values of pulp flowing into the blow tank, wastewater flowing out filter 1, and pulp flowing into filter 3. If it is not possible to present an exact form of a type-1 fuzzy number for each of the values, in which the specialized experience of all the experts with different levels of expertise is reflected hierarchically, then type-2 fuzzy numbers may prove helpful in this case. This could be considered in the way that the more reliable an expert’s experience, compared to all of the others’, the higher \(\tilde{\alpha }\)-plane includes his/her membership functions. Using the mass balance for each species, the following equations are obtained:

$$\begin{aligned} \left[ \begin{array}{lll} 280 &{} 30 &{} 50\\ 0 &{} 30 &{} 50\\ 280 &{} 0 &{} 50 \end{array}\right] \left[ \begin{array}{l} \tilde{c}_6\\ \tilde{c}_8\\ \tilde{c}_9 \end{array}\right] = \left[ \begin{array}{l} 83 \ \tilde{c}_1\\ 65 \ \tilde{c}_5\\ 785 \ \tilde{c}_{12} \end{array}\right] \end{aligned}$$
(11)

where

$$\begin{aligned} \left\{ \begin{array}{l} \tilde{c}_1=(5,7,8,10,12,13,15),\\ \tilde{c}_5=(1.5,1.7,1.8,2,2.2,2.3,2.5),\\ \tilde{c}_{12}=(0.5,0.7,0.8,1,1.2,1.3,1.5). \end{array}\right. \end{aligned}$$
(12)

According to the steps expressed in the previous section, we have:

Step 1 According to the relation shown in Eq. (7), we have

$$\begin{aligned} Y_{\alpha , \tilde{\alpha }}=&\Big [83\underline{L}_{c_{1\tilde{\alpha }}}^{\alpha } \ 65\underline{L}_{c_{5\tilde{\alpha }}}^{\alpha } \ 785\underline{L}_{c_{12\tilde{\alpha }}}^{\alpha } \ -83\underline{R}_{c_{1\tilde{\alpha }}}^{\alpha } \ -65\underline{R}_{c_{5\tilde{\alpha }}}^{\alpha } \\&-785\underline{R}_{c_{12\tilde{\alpha }}}^{\alpha } \ 83\overline{L}_{c_{1\tilde{\alpha }}}^{\alpha } \ 65\overline{L}_{c_{5\tilde{\alpha }}}^{\alpha } \ 785\overline{L}_{c_{12\tilde{\alpha }}}^{\alpha } \ -83\overline{R}_{c_{1\tilde{\alpha }}}^{\alpha } \\&-65\overline{R}_{c_{5\tilde{\alpha }}}^{\alpha } \ -785\overline{R}_{c_{12\tilde{\alpha }}}^{\alpha }\Big ]^T \end{aligned}$$

where based on the relations shown in Eqs. (2), (3), and (4)

$$\begin{aligned} \begin{array}{l} \underline{L}_{c_{1\tilde{\alpha }}}^{\alpha }=7+3\alpha -(1 -\tilde{\alpha })(\alpha -1) \\ \underline{R}_{c_{1\tilde{\alpha }}}^{\alpha }=13-3\alpha -(1 -\tilde{\alpha })(1-\alpha )\\ \overline{L}_{c_{1\tilde{\alpha }}}^{\alpha }=7+3\alpha -(1 -\tilde{\alpha })(2-2\alpha ) \\ \overline{R}_{c_{1\tilde{\alpha }}}^{\alpha }=13-3\alpha -(1 -\tilde{\alpha })(2\alpha -2)\\ \underline{L}_{c_{5\tilde{\alpha }}}^{\alpha }=1.7+0.3\alpha -(1 -\tilde{\alpha })(0.1\alpha -0.1) \\ \underline{R}_{c_{5\tilde{\alpha }}}^{\alpha }=2.3-0.3\alpha -(1 -\tilde{\alpha })(0.1-0.1\alpha )\\ \overline{L}_{c_{5\tilde{\alpha }}}^{\alpha }=1.7+0.3\alpha -(1 -\tilde{\alpha })(0.2-0.2\alpha ) \\ \overline{R}_{c_{5\tilde{\alpha }}}^{\alpha }=2.3-0.3\alpha -(1 -\tilde{\alpha })(0.2\alpha -0.2)\\ \underline{L}_{c_{12\tilde{\alpha }}}^{\alpha }=0.7+0.3\alpha -(1 -\tilde{\alpha })(0.1\alpha -0.1) \\ \underline{R}_{c_{12\tilde{\alpha }}}^{\alpha }=1.3-0.3\alpha -(1 -\tilde{\alpha })(0.1-0.1\alpha )\\ \overline{L}_{c_{12\tilde{\alpha }}}^{\alpha }=0.7+0.3\alpha -(1 -\tilde{\alpha })(0.2-0.2\alpha ) \\ \overline{R}_{c_{12\tilde{\alpha }}}^{\alpha }=1.3-0.3\alpha -(1 -\tilde{\alpha })(0.2\alpha -0.2) \end{array} \end{aligned}$$

and by the use of the relations shown in Eqs. (8) and (9), we have

$$\begin{aligned} S=\left[ \begin{array}{llll} B &{} \mathbf 0 &{} \mathbf 0 &{} \mathbf 0 \\ \mathbf 0 &{} B &{} \mathbf 0 &{}\mathbf 0 \\ \mathbf 0 &{}\mathbf 0 &{}B&{}\mathbf 0 \\ \mathbf 0 &{}\mathbf 0 &{}\mathbf 0 &{}B \end{array} \right] \end{aligned}$$

in which

$$\begin{aligned} \ B=\left[ \begin{array}{lll} 280 &{} 30 &{} 50\\ 0 &{} 30 &{} 50\\ 280 &{} 0 &{} 50 \end{array}\right] . \end{aligned}$$

Step 2 The determinant of the matrix S is \(|S|=|B|^4\ne 0\), then S is invertible and we go to the next step.

Step 3 The matrix \(Z_{\alpha , \tilde{\alpha }}=[z_l(\alpha , \tilde{\alpha })]_{12 \times 1}\), is obtained as

$$\begin{aligned} \begin{array}{l} z_1(\alpha , \tilde{\alpha })=1.68+0.82\alpha -(1-\tilde{\alpha })(0.27\alpha -0.27) \\ z_2(\alpha , \tilde{\alpha })=1.05+0.45\alpha -(1-\tilde{\alpha })(0.15\alpha -0.15)\\ z_3(\alpha , \tilde{\alpha })=1.58+0.12\alpha -(1-\tilde{\alpha })(0.04\alpha -0.04) \\ z_4(\alpha , \tilde{\alpha })=-3.32+0.82\alpha -(1-\tilde{\alpha })(0.27\alpha -0.27)\\ z_5(\alpha , \tilde{\alpha })=-1.95+0.45\alpha -(1-\tilde{\alpha })(0.15\alpha -0.15) \\ z_6(\alpha , \tilde{\alpha })=-1.82+0.12\alpha -(1-\tilde{\alpha })(0.04\alpha -0.04)\\ z_7(\alpha , \tilde{\alpha })=1.68+0.82\alpha -(1-\tilde{\alpha })(0.55-0.55\alpha ) \\ z_8(\alpha , \tilde{\alpha })=1.05+0.45\alpha -(1-\tilde{\alpha })(0.3-0.3\alpha )\\ z_9(\alpha , \tilde{\alpha })=1.58+0.12\alpha -(1-\tilde{\alpha })(0.08-0.08\alpha ) \\ z_{10}(\alpha , \tilde{\alpha })=-3.32+0.82\alpha -(1-\tilde{\alpha })(0.55-0.55\alpha )\\ z_{11}(\alpha , \tilde{\alpha })=-1.95+0.45\alpha -(1-\tilde{\alpha })(0.3-0.3\alpha ) \\ z_{12}(\alpha , \tilde{\alpha })=-1.82+0.12\alpha -(1-\tilde{\alpha })(0.08-0.08\alpha ). \end{array} \end{aligned}$$

Step 4 Using the relation shown in Eq. (10), we have

$$\begin{aligned} \begin{array}{l} \underline{L}_{c_{6\tilde{\alpha }}}^{\alpha }=1.68+0.82\alpha -(1 -\tilde{\alpha })(0.27\alpha -0.27) \\ \underline{R}_{c_{6\tilde{\alpha }}}^{\alpha }=3.32-0.82\alpha +(1 -\tilde{\alpha })(0.27\alpha -0.27)\\ \overline{L}_{c_{6\tilde{\alpha }}}^{\alpha }=1.68+0.82\alpha -(1 -\tilde{\alpha })(0.55-0.55\alpha ) \\ \overline{R}_{c_{6\tilde{\alpha }}}^{\alpha }=3.32-0.82\alpha +(1 -\tilde{\alpha })(0.55-0.55\alpha ) \\ \underline{L}_{c_{8\tilde{\alpha }}}^{\alpha }=1.05+0.45\alpha -(1 -\tilde{\alpha })(0.15\alpha -0.15) \\ \underline{R}_{c_{8\tilde{\alpha }}}^{\alpha }=1.95-0.45\alpha +(1 -\tilde{\alpha })(0.15\alpha -0.15)\\ \overline{L}_{c_{8\tilde{\alpha }}}^{\alpha }=1.05+0.45\alpha -(1 -\tilde{\alpha })(0.3-0.3\alpha ) \\ \overline{R}_{c_{8\tilde{\alpha }}}^{\alpha }=1.95-0.45\alpha +(1 -\tilde{\alpha })(0.3-0.3\alpha )\\ \underline{L}_{c_{9\tilde{\alpha }}}^{\alpha }=1.58+0.12\alpha -(1 -\tilde{\alpha })(0.04\alpha -0.04) \\ \underline{R}_{c_{9\tilde{\alpha }}}^{\alpha }=1.82-0.12\alpha +(1 -\tilde{\alpha })(0.04\alpha -0.04)\\ \overline{L}_{c_{9\tilde{\alpha }}}^{\alpha }=1.58+0.12\alpha -(1 -\tilde{\alpha })(0.08-0.08\alpha ) \\ \overline{R}_{c_{9\tilde{\alpha }}}^{\alpha }=1.82-0.12\alpha +(1 -\tilde{\alpha })(0.08-0.08\alpha ). \end{array} \end{aligned}$$

Step 5 It is easy to see that \([\underline{L}_{c_{6\tilde{\alpha }}}^{\alpha },\underline{R}_{c_{ 6\tilde{\alpha }}}^{\alpha }]\) represents the \(\alpha\)-level sets of a T1FN for each \(\tilde{\alpha } \in [0,1]\), and \([\overline{L}_{c_{6\tilde{\alpha }}}^{\alpha },\overline{R}_{c_{ 6\tilde{\alpha }}}^{\alpha }]\) does too. In addition, since \(\overline{L}_{c_{6\tilde{\alpha }}}^{\alpha } \le \underline{L}_{c_{6\tilde{\alpha }}}^{\alpha } \le \underline{R}_{c_{6\tilde{\alpha }}}^{\alpha } \le \overline{R}_{c_{6\tilde{\alpha }}}^{\alpha }\), then

$$\begin{aligned}{}[\tilde{c}_6]_{\tilde{\alpha }}^{\alpha }=([\underline{L}_{c_{ 6\tilde{\alpha }}}^{\alpha }, \underline{R}_{c_{6\tilde{\alpha }}}^{\alpha }], [\overline{L}_{c_{6\tilde{\alpha }}}^{\alpha }, \overline{R}_{c_{6\tilde{\alpha }}}^{\alpha }]) \end{aligned}$$

represents a T2FN. In a similar way, it can be investigated that \([\tilde{c}_8]_{\tilde{\alpha }}^{\alpha }=([\underline{L}_{c_{ 8\tilde{\alpha }}}^{\alpha }, \underline{R}_{c_{8\tilde{\alpha }}}^{\alpha }], [\overline{L}_{c_{8\tilde{\alpha }}}^{\alpha }, \overline{R}_{c_{8\tilde{\alpha }}}^{\alpha }])\) and \([\tilde{c}_9]_{\tilde{\alpha }}^{\alpha }=([\underline{L}_{c_{ 9\tilde{\alpha }}}^{\alpha }, \underline{R}_{c_{9\tilde{\alpha }}}^{\alpha }], [\overline{L}_{c_{9\tilde{\alpha }}}^{\alpha }, \overline{R}_{c_{9\tilde{\alpha }}}^{\alpha }])\) also represent two T2FNs. Step 6 Consequently, the fuzzy solution of the system shown in Eq. (11) can be characterized in the septuple form as

$$\begin{aligned} \left\{ \begin{array}{l} \tilde{c}_6=(1.13,1.68,1.95,2.5,3.05,3.32,3.87),\\ \tilde{c}_8=(0.75,1.05,1.2,1.5,1.8,1.95,2.25), \\ \tilde{c}_9=(1.5,1.58,1.62,1.7,1.78,1.82,1.9). \end{array}\right. \end{aligned}$$

As a result, based on the multiplication of a scalar by a T2FN defined in Sect. 3, the values of the pulp flowing out from filter 1, 2 and the wastewater from filter 2 are obtained by the multiplication of \(f_6\) by \(\tilde{c}_6\), \(f_8\) by \(\tilde{c}_8\) and \(f_9\) by \(\tilde{c}_9\), respectively, as

$$\begin{aligned}&f_6 \ \tilde{c}_6=(316.4,470.4,546,700,854,929.6,1083.6), \\&f_8 \ \tilde{c}_8=(22.5,31.5,36,45,54,58.5,67.5), \\&\text {and} \\&f_9 \ \tilde{c}_9=(75,79,81,85,89,91,95) \end{aligned}$$

which mean approximately 700, 45, and 85. It should be noted that using the obtained results, approximately 700 also means the T1FN (470.4, 700, 929.6), whose uncertainty dispersion can be considered by its UMF and LMF as (316.4, 700, 1083.6) and (546,  700, 854), respectively. The uncertainty dispersion for approximately 45 and 85 can also be expressed in a similar way. Needless to pinpoint once more that, unlike T2FLSs, T1FLSs cannot provide any information about the uncertainty dispersion of the results.

Fig. 4
figure 4

Electrical circuit considered in Example 2

Example 2

Consider the electrical circuit shown in Fig. 4, where \(\tilde{v}_1\) and \(\tilde{v}_2\) are the input voltages, and \(\tilde{v}_3\) and \(\tilde{v}_4\) are the output voltages. The circuit is a kind of summing amplifier with two inputs and two outputs. The relationship between input and output voltages is as follows:

$$\begin{aligned} \left[ \begin{array}{ll} 3 &{} 0.5\\ -2 &{} -3 \end{array}\right] \left[ \begin{array}{l} \tilde{v}_1\\ \tilde{v}_2 \end{array}\right] = \left[ \begin{array}{l} \tilde{v}_3\\ \tilde{v}_4 \end{array}\right] . \end{aligned}$$
(13)

What we are investigating is determining the input voltages on condition that the output voltages are known but uncertain. That is, e.g., \(\tilde{v}_3\) is “about 16(volt)”, and \(\tilde{v}_4\) is “about \(-16 (volt)\)”. Assume, the engineers’ expert ideas about the uncertainty of output voltages differ. If we prefer to consider the interpretation of just one, not all of the experts, the linear system shown in Eq. (13) will be a T1FLS one, failing to consider the interpretation or experience of the other experts. Alternatively, we may consider a form of T1FN for each of the output voltages, based on the experiences of the experts that, in turn, leads to the presentation of T1FLS. Even this model of system fails to hierarchically reflect the specialized experience of all the experts with different levels of expertise. However, each of the output voltages may be determined using a triangular perfect QT2FN, as shown in Figs. 5 and 6. For determining the input voltages, the matrix \(Z_{\alpha , \tilde{\alpha }}=[z_l(\alpha , \tilde{\alpha })]_{8 \times 1}\) is needed to be obtained. Then, according to the steps expressed in the previous section, we have:

Step 1 The matrices S and \(Y_{\alpha , \tilde{\alpha }}\) can be gained according to the relations shown in Eqs. (7), (8), and (9), respectively, as follows:

$$\begin{aligned} S=\left[ \begin{array}{cccccccc} 3 &{} 0.5 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0\\ 0 &{} 0 &{} -2 &{} -3 &{} 0 &{} 0 &{} 0 &{} 0\\ 0 &{} 0 &{} 3 &{} 0.5 &{} 0 &{} 0 &{} 0 &{} 0\\ -2 &{} -3 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0\\ 0 &{} 0 &{} 0 &{} 0 &{} 3 &{} 0.5 &{} 0 &{} 0\\ 0 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0 &{} -2 &{} -3\\ 0 &{} 0 &{} 0 &{} 0 &{} 0 &{} 0 &{} 3 &{} 0.5\\ 0 &{} 0 &{} 0 &{} 0 &{} -2 &{} -3 &{} 0 &{} 0 \end{array}\right] \end{aligned}$$
$$\begin{aligned} Y_{\alpha , \tilde{\alpha }}=&\big [\underline{L}_{v_{3\tilde{\alpha }}}^{\alpha } \ \underline{L}_{v_{4\tilde{\alpha }}}^{\alpha } \ -\underline{R}_{v_{3\tilde{\alpha }}}^{\alpha } \ -\underline{R}_{v_{4\tilde{\alpha }}}^{\alpha } \ \overline{L}_{v_{3\tilde{\alpha }}}^{\alpha } \\&\overline{L}_{v_{4\tilde{\alpha }}}^{\alpha } \ -\overline{R}_{v_{3\tilde{\alpha }}}^{\alpha } \ -\overline{R}_{v_{4\tilde{\alpha }}}^{\alpha } \big ]^T \end{aligned}$$

where based on the relations shown in Eqs. (2), (3), and (4)

$$\begin{aligned} \begin{array}{ll} \underline{L}_{v_{3\tilde{\alpha }}}^{\alpha }=14+2\alpha -(1 -\tilde{\alpha })(\alpha -1),&{} \underline{L}_{v_{4\tilde{\alpha }}}^{\alpha }=-\underline{R}_{v_{ 3\tilde{\alpha }}}^{\alpha }\\ \underline{R}_{v_{3\tilde{\alpha }}}^{\alpha }=18-2\alpha -(1 -\tilde{\alpha })(1-\alpha ),&{} \underline{R}_{v_{4\tilde{\alpha }}}^{\alpha }=-\underline{L}_{v_{ 3\tilde{\alpha }}}^{\alpha }\\ \overline{L}_{v_{3\tilde{\alpha }}}^{\alpha }=14+2\alpha -(1 -\tilde{\alpha })(1-\alpha ), &{} \overline{L}_{v_{4\tilde{\alpha }}}^{\alpha }=-\overline{R}_{v_{ 3\tilde{\alpha }}}^{\alpha }\\ \overline{R}_{v_{3\tilde{\alpha }}}^{\alpha }=18-2\alpha -(1 -\tilde{\alpha })(\alpha -1),&{} \overline{R}_{v_{4\tilde{\alpha }}}^{\alpha }=-\overline{L}_{v_{ 3\tilde{\alpha }}}^{\alpha }. \end{array} \end{aligned}$$

Step 2 The determinant of the matrix S is \(|S|=4096\), then the matrix S is invertible and we go to the next step.

Step 3 The matrix \(Z_{\alpha , \tilde{\alpha }}=[z_l(\alpha , \tilde{\alpha })]_{8 \times 1}\) is determined as

$$\begin{aligned} \begin{array}{l} z_1(\alpha , \tilde{\alpha })=4.37+0.63\alpha -(1-\tilde{\alpha })(0.32\alpha -0.32) \\ z_2(\alpha , \tilde{\alpha })=1.75+0.25\alpha -(1-\tilde{\alpha })(0.13\alpha -0.13)\\ z_3(\alpha , \tilde{\alpha })=-5.63+0.63\alpha -(1-\tilde{\alpha })(0.32\alpha -0.32) \\ z_4(\alpha , \tilde{\alpha })=-2.25+0.25\alpha -(1-\tilde{\alpha })(0.13\alpha -0.13)\\ z_5(\alpha , \tilde{\alpha })=4.37+0.63\alpha -(1-\tilde{\alpha })(0.31-0.31\alpha ) \\ z_6(\alpha , \tilde{\alpha })=1.75+0.25\alpha -(1-\tilde{\alpha })(0.12-0.12\alpha )\\ z_7(\alpha , \tilde{\alpha })=-5.63+0.63\alpha -(1-\tilde{\alpha })(0.31-0.31\alpha ) \\ z_8(\alpha , \tilde{\alpha })=-2.25+0.25\alpha -(1-\tilde{\alpha })(0.12-0.12\alpha )\\ . \end{array} \end{aligned}$$

Step 4 Using the relation shown in Eq. (10), we have

$$\begin{aligned} \begin{array}{l} \underline{L}_{v_{1\tilde{\alpha }}}^{\alpha }=4.37+0.63\alpha -(1 -\tilde{\alpha })(0.32\alpha -0.32),\\ \underline{R}_{v_{1\tilde{\alpha }}}^{\alpha }=5.63-0.63\alpha +(1 -\tilde{\alpha })(0.32\alpha -0.32),\\ \overline{L}_{v_{1\tilde{\alpha }}}^{\alpha }=4.37+0.63\alpha -(1 -\tilde{\alpha })(0.31-0.31\alpha ),\\ \overline{R}_{v_{1\tilde{\alpha }}}^{\alpha }=5.63-0.63\alpha +(1 -\tilde{\alpha })(0.31-0.31\alpha ),\\ \underline{L}_{v_{2\tilde{\alpha }}}^{\alpha }=1.75+0.25\alpha -(1 -\tilde{\alpha })(0.13\alpha -0.13)\\ \underline{R}_{v_{2\tilde{\alpha }}}^{\alpha }=2.25-0.25\alpha +(1 -\tilde{\alpha })(0.13\alpha -0.13)\\ \overline{L}_{v_{2\tilde{\alpha }}}^{\alpha }=1.75+0.25\alpha -(1 -\tilde{\alpha })(0.12-0.12\alpha )\\ \overline{R}_{v_{2\tilde{\alpha }}}^{\alpha }=2.25-0.25\alpha +(1 -\tilde{\alpha })(0.12-0.12\alpha ). \end{array} \end{aligned}$$

Step 5 It is easy to see that \([\underline{L}_{v_{1\tilde{\alpha }}}^{\alpha },\underline{R}_{v_{ 1\tilde{\alpha }}}^{\alpha }]\) represents the \(\alpha\)-level sets of a T1FN for each \(\tilde{\alpha } \in [0,1]\), and \([\overline{L}_{v_{1\tilde{\alpha }}}^{\alpha },\overline{R}_{v_{ 1\tilde{\alpha }}}^{\alpha }]\) does too. In addition, since \(\overline{L}_{v_{1\tilde{\alpha }}}^{\alpha } \le \underline{L}_{v_{1\tilde{\alpha }}}^{\alpha } \le \underline{R}_{v_{1\tilde{\alpha }}}^{\alpha } \le \overline{R}_{v_{1\tilde{\alpha }}}^{\alpha }\), then

$$\begin{aligned}{}[\tilde{v}_1]_{\tilde{\alpha }}^{\alpha }=([\underline{L}_{v_{1 \tilde{\alpha }}}^{\alpha }, \underline{R}_{v_{1\tilde{\alpha }}}^{\alpha }], [\overline{L}_{v_{1\tilde{\alpha }}}^{\alpha }, \overline{R}_{v_{1\tilde{\alpha }}}^{\alpha }]) \end{aligned}$$

represents a T2FN. In a similar way, it can be investigated that \([\tilde{v}_2]_{\tilde{\alpha }}^{\alpha }=([\underline{L}_{v_{ 2\tilde{\alpha }}}^{\alpha }, \underline{R}_{v_{2\tilde{\alpha }}}^{\alpha }], [\overline{L}_{v_{2\tilde{\alpha }}}^{\alpha }, \overline{R}_{v_{2\tilde{\alpha }}}^{\alpha }])\) also represents a T2FN.

Step 6 Eventually, the input voltages can be expressed as

$$\begin{aligned} \tilde{v}_1=(4.06,4.37,4.69,5,5.31,5.63,5.94), \end{aligned}$$
$$\begin{aligned} \tilde{v}_2=(1.63,1.75,1.88,2,2.12,2.25,2.37). \end{aligned}$$

The input voltages \(\tilde{v}_1\) and \(\tilde{v}_2\) are two T2FNs, whose cores are 5 and 2, respectively. Due to uncertainty, they are not exactly 5 and 2, but they can be interpreted as approximately 5 and approximately 2. As a result, one can interpret that the circuit amplifies approximately 5 and 2 (volt) to approximately 16 and −16 (volt), respectively.

Fig. 5
figure 5

Output voltage, \(\tilde{v}_3\), corresponding to the electrical circuit

Fig. 6
figure 6

Output voltage, \(\tilde{v}_4\), corresponding to the electrical circuit

6 Conclusion

In this paper, a model of fuzzy linear system called T2FLS has been established that enables us to model linear systems in which in addition to data, the membership function itself is uncertain. T2FLS, unlike T1FLS, provides information about uncertainty dispersion. It was shown that how an \(n\times n\) T2FLS is replaced by a \(4n \times 4n\) crisp linear system. Furthermore, the conditions for the existence of a unique type-2 fuzzy solution to the \(n \times n\) T2FLS were given. Since the conditions may not always occur, a definition of type-2 fuzzy solution has been defined. Using two examples in the pulp and paper industry and electrical engineering, we showed that how the T2FLSs enable the decision maker to model the system with different interpretations of uncertainty expressed by experts in different levels. Due to the fact that T2FLSs with the help of T2FNs model higher levels uncertainty than those do the T1FLSs, this opens up an efficient way for modeling linear system and human decision making. We believe that what have been presented in this paper can be used to extend many existing T1FLSs result to T2FLSs. The next step in the research direction proposed here is to investigate T2FLSs in which all the variables and coefficients are T2FNs.