1 Introduction

In both human nature and real-world situations, uncertainty, vagueness, inconsistency, and imprecision seem to be prevalent. Fuzzy sets (FSs) and their extensions, including intuitionistic fuzzy sets (IFSs) and interval-valued intuitionistic fuzzy sets (IVIFSs), were designed to cope with imprecise or ambiguous scenarios. In Duan and Li (2021), Garg and Singh (2020), using those same tools, numerous methodologies for dealing with uncertainty have already been devised. Zadeh (1965) became the first to invent fuzzy sets in 1965. The belongingness within each component through fuzzy sets has so far been determined by the degree of association or membership, whereas IFSs (formed by Atanassov (1986)) as well as IVIFSs (generated by Atanassov and Gargov (1989)) are assessed by the reference value or membership as well as non-membership degree intervals, respectively. IVIFSs have become formed by combining intervals for membership and non-membership degrees, making them more versatile and extensively relevant to working with actual instances. The increasing complexities of society and insufficient knowledge or information about the problem domains may both be addressed by IVIFSs. They are defined by membership and non-membership functions, the values of which have always been intervals instead of real numbers. Following that, various researchers have actively started working on FSs and their expansions, as well as trying to apply them to a variety of real-world issues (Bakbak et al. 2019; Gao and Zhang 2021; Ulucay et al. 2018, 2019). A few of the relevant papers are as follows:

Joshi (2020) created an innovative multi-criteria decision-making system based on intuitionistic fuzzy data, which she then implemented for machine fault detection. Further to that, adopting IFSs with histogram equalization, Jebadass and Balasubramaniam (2022) developed a low-light enhancement technique for color images. At the age of COVID-19, Ecer published an augmented MAIRCA technique for coronavirus vaccine identification in which it exploits IFSs (Ecer 2022). Based on the Pythagorean fuzzy similarity measure, Premalatha and Dhanalakshmi (2022) developed a significant strategy for image enhancement as well as the categorization of the COVID-19 virus. The importance of a ranking system was then constructed by Bharati, employing IVIFSs to handle a transportation problem (Bharati 2021). Meanwhile, implementing IVIFSs, the author, Percin (2021), presented a circular supplier selection. Then, Wei et al. (2021) examined the use of an information-based score function for IVIFSs in multiattribute decision making.

On the other hand, a similarity measure is indeed a beneficial tool for predicting the degree of resemblance between two objects (Chai et al. 2021; Ye and Du 2019). A measure of similarity is among the ideal tools for identifying a pattern in many disciplines where the optimum decision or optimality criteria have been specified (Singh and Ganie 2021). Due to its extensive potential applications in many sectors, including machine learning, medical diagnosis, medical image processing, decision-making, pattern recognition, and so on (Nguyen 2021; Xue and Deng 2021), there has been fast progress in the investigation of similarity measures in recent decades. Through the analysis of fuzzy sets and their expansions (Chen and Liu 2022; Gohain et al. 2022; Song et al. 2019), many distinct similarity measures within the IFSs were thoroughly investigated. Boran and Akay (2014) invented a new sort of IFS similarity measure that includes two parameters describing the L\(_p\) norm and the amount of uncertainty, respectively. Besides, the similarity measure of IFSs was defined axiomatically by Li and Deng (2012). The connection between entropy and the IFS similarity measure was fully explored in the aforementioned study. It seemed that the similarity measure and the entropy of IFS might be turned into each other by utilizing respective axiomatic definitions. In addition, Garg and Rani (2021) designed a new similarity measure based on modified right-angled triangles among IFSs, including its implementations. The entropy and similarity measures have been suggested by Saeed et al. (2021), and they were applied to the problem of MCDM. Likewise, Ganie and Singh (2021) formed a picture fuzzy similarity measure due to direct operations as well as a new multi-attribute decision-making mechanism. With multi-granular imbalanced linguistic terms, Zhang et al. (2021) built a consensus-reaching scheme for group decision making. The author, Bakbak and Ulucay (2019), Ulucay (2020) recommended the new similarity measures based on trapezoidal fuzzy multi-numbers, which have been applied to solve the MCDM problems. Thao and Chou (2022) announced a new similarity measure, the entropy of IFSs, and its use in software quality assessment. Depending on the IFS, weighted similarity measure, and extended TOPSIS Method, Lee et al. (2021) presented a hybrid MCDM scheme. Additionally, the authors, Thao and Duong (2019), recommended a target market selection based on similar measures from within the IVIFSs. Mishra et al. (2021) built an IVIFS additive ratio evaluation framework based on similarity measures for evaluating and selecting low-carbon tourism.

A cosine similarity measure (CSM) depending upon Bhattacharya’s distance (Bhattacharya 1946; Salton and McGill 1983), which may be stated as the inner product of those two vectors divided by the product of their lengths, has one of the plenty of other similarity measures. This is simply the cosine of an angle made up of two fuzzy set vector representations. Later, the author, Ye (2011), made a similar comparison of available IFS similarity measures and developed a cosine similarity measure and even a weighted cosine similarity measure. Harish (2018) and Rajkumar and Merigo (2020) recently developed and improved a CSM for IVIFSs, as well as implemented it to address decision-making challenges. Thereafter, Liu et al. (2017) offered an IVIFS-based WCSM and devised a strategy for solving group decision-making tasks. CSMs were often established by Singh (2012) and Ye (2013) to assess the degree of similarity between two IVIFSs.

Looking more closely at the current IVIFS similarity measures, we can see that creating a robust IVIFS similarity measure is quite difficult. Few among those are unable to fully meet the axiomatic definition of similarity in yielding counterintuitive cases, as evidenced by researchers’ finding of counterintuitive examples for many available measures. Also, other similarity measures have included a lack of defined physical meaning and highly complicated expressions. When most existing measures were introduced, they were initially and foremost considered at the “formula” level. As a consequence, it would be preferable to define an easier-to-understand similarity measure for IVIFS. Moreover, it seems to be noticed that the aforementioned studies (Singh 2012; Ye 2013) did not employ the middle and boundary points of the intervals. Hence, the formulation of a similarity measure remains an open problem that is attracting greater attention. Due to these shortcomings, the measurement procedure cannot accommodate the decision maker’s attitude. It illustrates the incapacity and rigidity of measures in dealing with real-world problems. So, in an IVIFS setting, we require a resilient CSM to accommodate the decision maker’s attitude preferences in the measurement method.

Inspired by the above thoughts, we first propose a new cosine similarity measure for IVIFSs based on the CSM between IVIFSs. Secondly, using the definition of a similarity measure, we verified a proposed similarity measure’s basic and essential properties. Further, the applicability of the proposed approach is studied in various real-life problems with interval-valued intuitionistic fuzzy information. Then, the numerical examples of the proposed measure and other sophisticated measures are compared to show the effectiveness of the proposed one.

The paper is organized as follows. Section 2 briefly reviews the basic concepts related to fuzzy sets, intuitionistic fuzzy sets, interval-valued intuitionistic fuzzy sets, operations on IVIFSs, and similarity measures. In Sect. 3, some existing similarity measures are reviewed. In Sect. 4, we propose the interval-valued intuitionistic fuzzy cosine similarity (IVIFCS) measure between two IVIFSs. And, some properties of the IVIFCS measure are also analyzed. Section 5, uses the IVIFCS measure to solve real-world problems, include pattern recognition, medical diagnosis, and MCDM with interval-valued intuitionistic fuzzy information, as well as illustrative with a numerical example. Section 6 summarizes the main results and conclusions of the paper.

2 Preliminaries

The basic concepts connected with IVIFSs that have been used in our study are addressed in this section.

Definition 1

(Zadeh 1965) In the universe of discourse, \(X= \{x_1, x_2,\ldots , x_n\}\) a fuzzy set (FS) \({\tilde{P}}\) is stated as follows:

$$\begin{aligned} {\tilde{P}}=\{(x, \mu _{{\tilde{P}}}(x)): x \in X\} \end{aligned}$$
(1)

where \(\mu _{{\tilde{P}}}(x):X \rightarrow [0,1]\) is the membership degree.

Definition 2

(Atanassov 1986) In the universe of discourse, \(X= \{x_1, x_2,\ldots , x_n\}\) a intuitionistic fuzzy set (IFS) \({\tilde{P}}\) is interpreted as follow:

$$\begin{aligned} {\tilde{P}}=\{(x, \mu _{{\tilde{P}}}(x),\nu _{{\tilde{P}}}(x)): x \in X\} \end{aligned}$$
(2)

where \(\mu _{{\tilde{P}}}(x),\nu _{{\tilde{P}}}(x):X \rightarrow [0,1]\) is the membership and non-membership degrees with the condition \(0 \le \mu _{{\tilde{P}}}(x)+\nu _{{\tilde{P}}}(x) \le 1\). The third parameter within the IFS \({\tilde{P}}\) is: \(\pi _{{\tilde{P}}}(x)=1-\mu _{{\tilde{P}}}(x)-\nu _{{\tilde{P}}}(x)\), often referred to as the hesitancy degree of whether x is in \({\tilde{P}}\) or not. It can clearly be seen that \(0 \le \pi _{{\tilde{P}}}(x) \le 1\).

Definition 3

(Atanassov and Gargov 1989) In the universe of discourse, \(X= \{x_1, x_2,\ldots , x_n\}\) a interval-valued intuitionistic fuzzy set (IVIFS) \({\tilde{P}}\) is expressed as follow:

$$\begin{aligned} {\tilde{P}}&=\{(x, \mu _{{\tilde{P}}}(x),\nu _{{\tilde{P}}}(x)): x \in X\} \end{aligned}$$
(3)
$$\begin{aligned}&=\{(x, [\mu _{{\tilde{P}}}^-(x), \mu _{{\tilde{P}}}^+(x)], [\nu _{{\tilde{P}}}^-(x), \nu _{{\tilde{P}}}^+(x)]):x \in X\} \end{aligned}$$
(4)

Here, \(\mu _{{\tilde{P}}}(x) \subseteq [0,1]\) and \(\nu _{{\tilde{P}}}(x) \subseteq [0,1]\), which satisfies \(0 \le \mu _{{\tilde{P}}}(x)+\nu _{{\tilde{P}}}(x) \le 1\). Further, the intervals \(\mu _{{\tilde{P}}}(x)\) and \(\nu _{{\tilde{P}}}(x)\) signify the degrees of both membership and non-membership, respectively. Furthermore, for any \(x \in X\), we will determine the degree of hesitancy is: \(\pi _{{\tilde{P}}}(x)=[\pi _{{\tilde{P}}}^-(x),\pi _{{\tilde{P}}}^+(x)]\)=\([1-\mu _{{\tilde{P}}}^+(x)-\nu _{{\tilde{P}}}^+(x), 1-\mu _{{\tilde{P}}}^-(x)-\nu _{{\tilde{P}}}^-(x)]\).

Definition 4

(Luo and Liang 2018) For any two IVIFSs, \({\tilde{P}}\) and \({\tilde{Q}}\), we have the following relations in the finite universe X:

  1. 1.

    \({\tilde{P}} \subseteq {\tilde{Q}}\) iff (for all \(x \in X\)) \(\mu _{{\tilde{P}}}^-(x) \le \mu _{{\tilde{Q}}}^-(x)\), \(\mu _{{\tilde{P}}}^+(x) \le \mu _{{\tilde{Q}}}^+(x)\), \(\nu _{{\tilde{P}}}^-(x) \le \nu _{{\tilde{Q}}}^-(x)\), and \(\nu _{{\tilde{P}}}^+(x) \le \nu _{{\tilde{Q}}}^+(x)\).

  2. 2.

    \({\tilde{P}} = {\tilde{Q}}\) iff (for all \(x \in X\)) \(\mu _{{\tilde{P}}}^-(x)=\mu _{{\tilde{Q}}}^-(x)\), \(\mu _{{\tilde{P}}}^+(x)=\mu _{{\tilde{Q}}}^+(x)\), \(\nu _{{\tilde{P}}}^-(x)=\nu _{{\tilde{Q}}}^-(x)\), and \(\nu _{{\tilde{P}}}^+(x)=\nu _{{\tilde{Q}}}^+(x)\).

  3. 3.

    \({\tilde{P}}^c=\{x,[\nu _{{\tilde{P}}}^-(x), \nu _{{\tilde{P}}}^+(x)], [\mu _{{\tilde{P}}}^-(x), \mu _{{\tilde{P}}}^+(x)]\}\)

Definition 5

(Singh 2012) Suppose \({\tilde{P}}\) and \({\tilde{Q}}\) are IVIFSs in the finite universe X, and then a map** \(S: IVIFS(X) \times IVIFS(X) \rightarrow [0,1]\), \(S({\tilde{P}},{\tilde{Q}})\), is termed a similarity measure between \({\tilde{P}}\) and \({\tilde{Q}}\) if \(S({\tilde{P}},{\tilde{Q}})\) meets the following criteria:

  1. 1.

    \(0 \le S({\tilde{P}},{\tilde{Q}}) \le 1\),

  2. 2.

    \(S({\tilde{P}},{\tilde{Q}})=1\) iff \({\tilde{P}}={\tilde{Q}}\),

  3. 3.

    \(S({\tilde{P}},{\tilde{Q}})\)=\(S({\tilde{Q}},{\tilde{P}})\)

  4. 4.

    If \({\tilde{P}} \subseteq {\tilde{Q}} \subseteq {\tilde{R}}\), then \(S({\tilde{P}},{\tilde{R}}) \le S({\tilde{P}},{\tilde{Q}})\), and \(S({\tilde{P}},{\tilde{R}}) \le S({\tilde{Q}},{\tilde{R}})\)

3 Some existing similarity measures

In this section, we review some existing similarity measures. Let \({\tilde{P}}=\{(x_i, [\mu _{{\tilde{P}}}^-(x_i),\mu _{{\tilde{P}}}^+(x_i)], [\nu _{{\tilde{P}}}^-(x_i),\nu _{{\tilde{P}}}^+(x_i)]):x_i \in X\}\) and \({\tilde{Q}}=\{(x_i, [\mu _{{\tilde{Q}}}^-(x_i),\mu _{{\tilde{Q}}}^+(x_i)]\), \([\nu _{{\tilde{Q}}}^-(x_i),\nu _{{\tilde{Q}}}^+(x_i)]):x_i \in X\}\) are two IVIFSs defined in the universe \(X=\{x_1,x_2,\ldots ,x_n\}\). The following Formulas (5)- (10) are similarity measures based on IVIFSs:

Singh’s cosine similarity measure (Singh 2012)

$$\begin{aligned} S_C({\tilde{P}},{\tilde{Q}})=\frac{1}{n}\sum _{i=1}^{n}\frac{\alpha _1\beta _1+\delta _1\gamma _1}{\sqrt{\alpha _1^2+\delta _1^2}\sqrt{\beta _1^2+\gamma _1^2}} \end{aligned}$$
(5)

\(\alpha _1=(\mu _{{\tilde{P}}}^-(x_i)+\mu _{{\tilde{P}}}^+(x_i))\), \(\beta _1=(\mu _{{\tilde{Q}}}^-(x_i)+\mu _{{\tilde{Q}}}^+(x_i))\), \(\delta _1=(\nu _{{\tilde{P}}}^-(x_i)+\nu _{{\tilde{P}}}^+(x_i))\), \(\gamma _1=(\nu _{{\tilde{Q}}}^-(x_i)+\nu _{{\tilde{Q}}}^+(x_i))\).

Xu’s similarity measure (Xu and Chen 2008)

$$\begin{aligned}&S_1({\tilde{P}}, {\tilde{Q}})=1-\root p \of {\frac{1}{4n}\sum _{i=1}^{n}\left( \begin{aligned}&|\mu ^-_{{\tilde{P}}}(x_i)-\mu ^-_{{\tilde{Q}}}(x_i)|^p+\\&|\mu ^+_{{\tilde{P}}}(x_i)-\mu ^+_{{\tilde{Q}}}(x_i)|^p+\\&|\nu ^-_{{\tilde{P}}}(x_i)-\nu ^-_{{\tilde{Q}}}(x_i)|^p+\\&|\nu ^+_{{\tilde{P}}}(x_i)-\nu ^+_{{\tilde{Q}}}(x_i)|^p \end{aligned} \right) } \end{aligned}$$
(6)
$$\begin{aligned}&S_2({\tilde{P}}, {\tilde{Q}})=1-\root p \of {\frac{1}{4n}\sum _{i=1}^{n} \text{ max } \left\{ \begin{aligned}&|\mu ^-_{{\tilde{P}}}(x_i)-\mu ^-_{{\tilde{Q}}}(x_i)|^p,\\&|\mu ^+_{{\tilde{P}}}(x_i)-\mu ^+_{{\tilde{Q}}}(x_i)|^p,\\&|\nu ^-_{{\tilde{P}}}(x_i)-\nu ^-_{{\tilde{Q}}}(x_i)|^p,\\&|\nu ^+_{{\tilde{P}}}(x_i)-\nu ^+_{{\tilde{Q}}}(x_i)|^p \end{aligned} \right\} } \end{aligned}$$
(7)

Wei’s similarity measure (Wei et al. 2011)

$$\begin{aligned} S_W({\tilde{P}},{\tilde{Q}})=\frac{1}{n}\sum _{i=1}^{n}\frac{2- \text{ min } (\mu _{i}^-, \nu _{i}^-)- \text{ min } (\mu _{i}^+, \nu _{i}^+) }{2+ \text{ max } (\mu _{i}^-, \nu _{i}^-)+ \text{ max } (\mu _{i}^+, \nu _{i}^+)} \end{aligned}$$
(8)

where \(\mu _i^-=|\mu _{{\tilde{P}}}^-(x_i)-\mu _{{\tilde{Q}}}^-(x_i)|, \mu _i^+=|\mu _{{\tilde{P}}}^+(x_i)-\mu _{{\tilde{Q}}}^+(x_i)|, \nu _i^-=|\nu _{{\tilde{P}}}^-(x_i)-\nu _{{\tilde{Q}}}^-(x_i)|, \nu _i^+=|\nu _{{\tilde{P}}}^+(x_i)-\nu _{{\tilde{Q}}}^+(x_i)|\).

Dhivya’s similarity measure (Dhivya and Sridevi 2018)

$$\begin{aligned} S_{D}({\tilde{P}}, {\tilde{Q}})=1-\frac{1}{n}\sum _{i=1}^{n}\left\{ \begin{array}{c} \left( \begin{array}{c} \frac{1}{2}|\chi _{{\tilde{p}}}^-(x_i)-\chi _{{\tilde{Q}}}^-(x_i)|+\\ |\chi _{{\tilde{p}}}^+(x_i)-\chi _{{\tilde{Q}}}^+(x_i)|\end{array}\right) \\ \left( 1-\frac{\sigma _{{\tilde{P}}}(x_i)+ \sigma _{{\tilde{Q}}}(x_i)}{2}\right) \\ +\left|\sigma _{{\tilde{P}}}(x_i)+\sigma _{{\tilde{Q}}}(x_i)\right|\\ \left( \frac{\sigma _{{\tilde{P}}}(x_i)+\sigma _{{\tilde{Q}}}(x_i)}{2}\right) \end{array} \right\} \end{aligned}$$
(9)

where \(\chi _{{\tilde{P}}}^-=\left( {\mu _{{\tilde{P}}}^-(x_i)+1-\nu _{{\tilde{P}}}^-(x_i)}\right) /{2}\),\(\chi _{{\tilde{P}}}^+=\left( {\mu _{{\tilde{P}}}^+(x_i)+1-\nu _{{\tilde{P}}}^+(x_i)}\right) /{2}\), \(\chi _{{\tilde{Q}}}^-=\frac{\mu _{{\tilde{Q}}}^-(x_i)+1-\nu _{{\tilde{Q}}}^-(x_i)}{2},\) \(\chi _{{\tilde{Q}}}^+=\left( {\mu _{{\tilde{Q}}}^+(x_i)+1-\nu _{{\tilde{Q}}}^+(x_i)}\right) /{2}\), \(\sigma _{{\tilde{P}}}(x_i)= 1-\frac{1}{2}\left( \mu _{{\tilde{P}}}^-(x_i)+\mu _{{\tilde{P}}}^+(x_i)+\nu _{{\tilde{P}}}^-(x_i)+\nu _{{\tilde{P}}}^+(x_i)\right)\), \(\sigma _{{\tilde{Q}}}(x_i)=1-\frac{\left( \mu _{{\tilde{Q}}}^-(x_i)+\mu _{{\tilde{Q}}}^+(x_i)+\nu _{{\tilde{Q}}}^-(x_i)+\nu _{{\tilde{Q}}}^+(x_i)\right) }{2}\).

Luo’s similarity measure (Luo and Liang 2018)

$$\begin{aligned} S_P({\tilde{P}}, {\tilde{Q}})=1- \left\{ \begin{aligned} \frac{1}{2n}\sum _{i=1}^{n}&\begin{aligned} \frac{\left|\begin{aligned}&t_1(\mu _{{\tilde{P}}}^-(x_i)-\mu _{{\tilde{Q}}}^-(x_i))+\\&(\mu _{{\tilde{P}}}^+(x_i)-\mu _{{\tilde{Q}}}^+(x_i))-\\&(\nu _{{\tilde{P}}}^-(x_i)-\nu _{{\tilde{Q}}}^-(x_i))+\\&(\nu _{{\tilde{P}}}^+(x_i)-\nu _{{\tilde{Q}}}^+(x_i))\\ \end{aligned} \right|^p}{\left|2(t_1+1)\right|^p} \end{aligned}\\&\begin{aligned} \frac{\left|\begin{aligned}&t_2(\nu _{{\tilde{P}}}^-(x_i)-\nu _{{\tilde{Q}}}^-(x_i))+\\&(\nu _{{\tilde{P}}}^+(x_i)-\nu _{{\tilde{Q}}}^+(x_i))-\\&(\mu _{{\tilde{P}}}^-(x_i)-\mu _{{\tilde{Q}}}^-(x_i))+\\&(\mu _{{\tilde{P}}}^+(x_i)-\mu _{{\tilde{Q}}}^+(x_i))\\ \end{aligned} \right|^p}{\left|2(t_2+1)\right|^p} \end{aligned} \end{aligned} \right\} ^{1/p} \end{aligned}$$
(10)

where \(t_1, t_2, p \in [1,+\infty )\). Here, three parameters: p is the \(L_p\)-norm.

Fig. 1
figure 1

Flowchart of the proposed method

4 Mathematical formulation of a new similarity measure based on IVIFSs

In this section, we propose an innovative mechanism for formulating IVIFS similarity measure that enables one to create an IVIFS similarity measure by modifying an existing IVIFS measure. The similarity measure of IVIFSs given by the article (Singh 2012), in particular, promotes a novel similarity measure of IVIFSs. Then, the flowchart of the proposed study is presented in Fig. 1.

Definition 6

Let \({\tilde{P}}=\{(x_i, [\mu _{{\tilde{P}}}^-(x_i),\mu _{{\tilde{P}}}^+(x_i)], [\nu _{{\tilde{P}}}^-(x_i),\nu _{{\tilde{P}}}^+(x_i)]):x_i \in X\}\) and \({\tilde{Q}}=\{(x_i, [\mu _{{\tilde{Q}}}^-(x_i),\mu _{{\tilde{Q}}}^+(x_i)]\), \([\nu _{{\tilde{Q}}}^-(x_i),\nu _{{\tilde{Q}}}^+(x_i)]):x_i \in X\}\) are two IVIFSs defined in the universe \(X=\{x_1,x_2,\ldots ,x_n\}\). The new similarity measure among the IVIFSs \({\tilde{P}}\) and \({\tilde{Q}}\) (\(S_{IVIFS}({\tilde{P}},{\tilde{Q}})\)) is specified as follows:

$$\begin{aligned} \begin{aligned} S_{IVIFS}({\tilde{P}},{\tilde{Q}})&=\frac{1}{3}\left( \begin{aligned}&S^1_{IVIFS}({\tilde{P}},{\tilde{Q}})+S^2_{IVIFS}({\tilde{P}},{\tilde{Q}})+\\&S^3_{IVIFS}({\tilde{P}},{\tilde{Q}}) \end{aligned}\right) \\&=\frac{1}{3}\left( \begin{aligned}&\frac{1}{n}\sum _{i=1}^{n}\frac{\alpha _1\beta _1+\delta _1\gamma _1}{\sqrt{\alpha _1^2+\delta _1^2}\sqrt{\beta _1^2+\gamma _1^2}}+\\&\frac{1}{n}\sum _{i=1}^{n}\frac{\alpha _2\beta _2+\delta _2\gamma _2}{\sqrt{\alpha _2^2+\delta _2^2}\sqrt{\beta _2^2+\gamma _2^2}}+\\&\frac{1}{n}\sum _{i=1}^{n}\frac{\alpha _3\beta _3+\delta _3\gamma _3}{\sqrt{\alpha _3^2+\delta _3^2}\sqrt{\beta _3^2+\gamma _3^2}} \end{aligned}\right) \end{aligned} \end{aligned}$$
(11)

Here, \(S_{IVIFS}^1\) is the existing similarity measure presented by Singh (2012), \(S_{IVIFS}^2\) means the middle term of \(S_{IVIFS}^1\), and \(S_{IVIFS}^3\) signifies the complement of \(S_{IVIFS}^1\). In this, \(\alpha _1=(\mu _{{\tilde{P}}}^-(x_i)+\mu _{{\tilde{P}}}^+(x_i))\), \(\beta _1=(\mu _{{\tilde{Q}}}^-(x_i)+\mu _{{\tilde{Q}}}^+(x_i))\), \(\delta _1=(\nu _{{\tilde{P}}}^-(x_i)+\nu _{{\tilde{P}}}^+(x_i))\), \(\gamma _1=(\nu _{{\tilde{Q}}}^-(x_i)+\nu _{{\tilde{Q}}}^+(x_i))\), \(\alpha _2=\left( \frac{\mu _{{\tilde{P}}}^-(x_i)+1-\nu _{{\tilde{P}}}^-(x_i)}{2}+\frac{\mu _{{\tilde{P}}}^+(x_i)+1-\nu _{{\tilde{P}}}^+(x_i)}{2}\right)\), \(\beta _2=\left( \frac{\mu _{{\tilde{Q}}}^-(x_i)+1-\nu _{{\tilde{Q}}}^-(x_i)}{2}+\frac{\mu _{{\tilde{Q}}}^+(x_i)+1-\nu _{{\tilde{Q}}}^+(x_i)}{2}\right)\), \(\delta _2=(\nu _{{\tilde{P}}}^-(x_i)+\nu _{{\tilde{P}}}^+(x_i))\), \(\gamma _2=(\nu _{{\tilde{Q}}}^-(x_i)+\nu _{{\tilde{Q}}}^+(x_i))\), \(\alpha _3=((1-\mu _{{\tilde{P}}}^-(x_i))+(1-\mu _{{\tilde{P}}}^+(x_i)))\), \(\beta _3=((1-\mu _{{\tilde{Q}}}^-(x_i))+(1-\mu _{{\tilde{Q}}}^+(x_i)))\), \(\delta _3=((1-\nu _{{\tilde{P}}}^-(x_i))+(1-\nu _{{\tilde{P}}}^+(x_i)))\), and \(\gamma _3=((1-\nu _{{\tilde{Q}}}^-(x_i))+(1-\nu _{{\tilde{Q}}}^+(x_i)))\).

Moreover, the proposed similarity measure satisfies the following axiomatic requirements:

  1. 1.

    \(0 \le S({\tilde{P}},{\tilde{Q}}) \le 1\),

  2. 2.

    \(S({\tilde{P}},{\tilde{Q}})=1\) iff \({\tilde{P}}={\tilde{Q}}\),

  3. 3.

    \(S({\tilde{P}},{\tilde{Q}})\)=\(S({\tilde{Q}},{\tilde{P}})\)

  4. 4.

    If \({\tilde{P}} \subseteq {\tilde{Q}} \subseteq {\tilde{R}}\), then \(S({\tilde{P}},{\tilde{R}}) \le S({\tilde{P}},{\tilde{Q}})\), and \(S({\tilde{P}},{\tilde{R}}) \le S({\tilde{Q}},{\tilde{R}})\)

Theorem 1

\(0\le S_{IVIFS}({\tilde{P}},{\tilde{Q}}) \le 1\)

Proof

By induction hypothesis, for any \(\epsilon ^1 \ge 0\), \(\epsilon ^2 \ge 0\), \(\vartheta ^1\ge 0\), \(\vartheta ^2\ge 0\), we have \((\epsilon ^1 \vartheta ^2-\epsilon ^2 \vartheta ^1)^2 \ge 0\) iff \((\epsilon ^1 \vartheta ^1 +\epsilon ^2 \vartheta ^2)^2\le ((\epsilon ^1)^2+(\epsilon ^2)^2)((\vartheta ^1)^2+(\vartheta ^2)^2)\) iff \(0\le (\epsilon ^1 \vartheta ^1+\epsilon ^2 \vartheta ^2)\le \sqrt{(\epsilon ^1)^2+(\epsilon ^2)^2}\sqrt{(\vartheta ^1)^2+(\vartheta ^2)^2}\) iff \(0 \le \dfrac{\epsilon ^1 \vartheta ^1+\epsilon ^2 \vartheta ^2}{\sqrt{(\epsilon ^1)^2+(\epsilon ^2)^2}\sqrt{(\vartheta ^1)^2+(\vartheta ^2)^2}}\le 1\). Also, the membership and non-membership intervals of \({\tilde{P}}\) and \({\tilde{Q}}\) are all in the range [0,1]. Hence, it is simply demonstrated that \(0\le S_{IVIFS}^1({\tilde{P}},{\tilde{Q}})\le 1\). Similarly, \(0\le S^{2}_{IVIFS} ({\tilde{P}},{\tilde{Q}}) \le 1\) as well as \(0 \le S^{3}_{IVIFS}({\tilde{P}},{\tilde{Q}})\le 1\) are also proved. Based on the fact, we obtain \(0\le S_{IVIFS}({\tilde{P}},{\tilde{Q}})\le 1\). \(\square\)

Theorem 2

\(S_{IVIFS}({\tilde{P}},{\tilde{Q}})=1\) if and only if \({\tilde{P}}={\tilde{Q}}\).

Proof

Let us now consider the following induction, \(S_{IVIFS}({\tilde{P}},{\tilde{Q}})=1\) iff \((S_{IVIFS}^1({\tilde{P}},{\tilde{Q}})+S^{2}_{IVIFS}({\tilde{P}},{\tilde{Q}})+S^{3}_{IVIFS}({\tilde{P}},{\tilde{Q}}))=3\) if and only if \(S^{1}_{IVIFS} ({\tilde{P}},{\tilde{Q}})=1\), \(S^{2}_{IVIFS}({\tilde{P}},{\tilde{Q}})=1\) and \(S^{3}_{IVIFS}({\tilde{P}},{\tilde{Q}})= 1\) if and only if \(\Leftrightarrow [\mu _{{\tilde{P}}}^-(x_i)+\mu _{{\tilde{P}}}^+(x_i)]\times [\nu _{{\tilde{Q}}}^-(x_i)+\nu _{{\tilde{Q}}}^+(x_i)]=[\nu _{{\tilde{P}}}^-(x_i)+\nu _{{\tilde{P}}}^+(x_i)]\times [\mu _{{\tilde{Q}}}^-(x_i)+\mu _{{\tilde{Q}}}^+(x_i)]\) \(\Leftrightarrow \left[ \left( \frac{\mu _{{\tilde{P}}}^-(x_i)+1-\nu _{{\tilde{P}}}^-(x_i)}{2}\right) +\left( \frac{\mu _{{\tilde{P}}}^+(x_i)+1-\nu _{{\tilde{P}}}^+(x_i)}{2}\right) \right] \times \left[ \nu _{{\tilde{Q}}}^-(x_i)+\nu _{{\tilde{Q}}}^+(x_i)\right]\)= \(\left[ \nu _{{\tilde{P}}}^-(x_i)+\nu _{{\tilde{P}}}^+(x_i)\right] \times\)

\(\left[ \left( \frac{\mu _{{\tilde{Q}}}^-(x_i)+1-\nu _{{\tilde{Q}}}^-(x_i)}{2}\right) +\left( \frac{\mu _{{\tilde{Q}}}^+(x_i)+1-\nu _{{\tilde{Q}}}^+(x_i)}{2}\right) \right]\) \(\Leftrightarrow [(1-\mu _{{\tilde{P}}}^-(x_i))+(1-\mu _{{\tilde{P}}}^+(x_i))]\times [(1-\nu _{{\tilde{Q}}}^-(x_i))+(1-\nu _{{\tilde{Q}}}^+(x_i))]= [(1-\nu _{{\tilde{P}}}^-(x_i))+(1-\nu _{{\tilde{P}}}^+(x_i))]\times \left[ (1-\nu _{{\tilde{Q}}}^-(x_i))+(1-\nu _{{\tilde{Q}}}^+(x_i))\right]\)

if and only if \(\mu _{{\tilde{P}}}^-(x_i)=\mu _{{\tilde{Q}}}^-(x_i)\), \(\nu _{{\tilde{P}}}^-(x_i)=\nu _{{\tilde{Q}}}^-(x_i)\), \(\mu _{{\tilde{P}}}^+(x_i)=\mu _{{\tilde{Q}}}^+(x_i)\) and \(\nu _{{\tilde{P}}}^+(x_i)=\nu _{{\tilde{Q}}}^+(x_i)\) if and only if \({\tilde{P}}={\tilde{Q}}\). Since, \(S_{IVIFS}({\tilde{P}},{\tilde{Q}})=\frac{1}{3}\left( S^{1}_{IVIFS}({\tilde{P}},{\tilde{Q}})+S^{2}_{IVIFS}({\tilde{P}},{\tilde{Q}})+S^{3}_{IVIFS}({\tilde{P}},{\tilde{Q}})\right)\), then \(S_{IVIFS} ({\tilde{P}},{\tilde{Q}})=1\) if and only if \({\tilde{P}}={\tilde{Q}}\). \(\square\)

Theorem 3

\(S_{IVIFS}({\tilde{P}},{\tilde{Q}})=S_{IVIFS}({\tilde{Q}},{\tilde{P}})\)

Proof

By symmetry, \(S^{1}_{IVIFS}({\tilde{P}},{\tilde{Q}})=S^{1}_{IVIFS}({\tilde{Q}},{\tilde{P}})\), \(S^{2}_{IVIFS}({\tilde{P}},{\tilde{Q}})\)=\(S^{2}_{IVIFS}({\tilde{Q}},{\tilde{P}})\) and \(S^{3}_{IVIFS}({\tilde{P}},{\tilde{Q}})\)= \(S^{3}_{IVIFS}({\tilde{Q}},{\tilde{P}})\). Since \(S_{IVIFS}({\tilde{P}},{\tilde{Q}})=\frac{1}{3}(S^{1}_{IVIFS}({\tilde{P}},{\tilde{Q}})+S^{2}_{IVIFS}({\tilde{P}},{\tilde{Q}})+S^{3}_{IVIFS}({\tilde{P}},{\tilde{Q}}))\) then \(S_{IVIFS}({\tilde{P}},{\tilde{Q}})\)=\(S_{IVIFS}({\tilde{Q}},{\tilde{P}})\). \(\square\)

Theorem 4

\(S_{IVIFS}({\tilde{P}},{\tilde{R}})\le S_{IVIFS}({\tilde{P}},{\tilde{Q}})\) and \(S_{IVIFS}({\tilde{P}},{\tilde{R}})\le S_{IVIFS}({\tilde{Q}},{\tilde{R}})\) if \({\tilde{P}}\subseteq {\tilde{Q}} \subseteq {\tilde{R}}\).

Proof

Let us consider the function g with g \((\vartheta ^1)=\dfrac{\epsilon ^1 \vartheta ^1+\epsilon ^2 \vartheta ^2}{\sqrt{(\vartheta ^1)^2+(\vartheta ^2)^2}}\). Taking the derivative of g with respect to \(\vartheta ^1\), then we have \(\dfrac{d}{d\vartheta ^1} g(\vartheta ^1)=\dfrac{\vartheta ^2(\epsilon ^1 \vartheta ^2-\epsilon ^2 \vartheta ^1)}{((\vartheta ^1)^2+(\vartheta ^2)^2)^{3/2}}\), where \(\epsilon ^1=[\mu _{{\tilde{P}}}^-(x_i)+\mu _{{\tilde{P}}}^+(x_i)]\), \(\epsilon ^2=[\nu _{{\tilde{P}}}^-(x_i)+\nu _{{\tilde{P}}}^+(x_i)]\), \(\vartheta ^1=[\mu _{{\tilde{Q}}}^-(x_i)+\mu _{{\tilde{Q}}}^+(x_i)]\) and \(\vartheta ^2=[\nu _{{\tilde{Q}}}^-(x_i)+\nu _{{\tilde{Q}}}^+(x_i)]\). If \(\dfrac{d}{d\vartheta ^1} g(\vartheta ^1)<0\), then \(g(\vartheta ^1)\) is an decreasing function of \(\vartheta ^1\). Let us consider the another function h with \(h(\vartheta ^2)=\dfrac{\epsilon ^1 \vartheta ^1+\epsilon ^2 \vartheta ^2}{\sqrt{(\vartheta ^1)^2+(\vartheta ^2)^2}}\). Taking the derivative of h with respect to \(\vartheta ^2\), then we have \(\dfrac{d}{d\vartheta ^2} h(\vartheta ^2)=\dfrac{\vartheta ^1(\epsilon ^2 \vartheta ^1-\epsilon ^1 \vartheta ^2)}{((\vartheta ^1)^2+(\vartheta ^2)^2)^{3/2}}\). If \(\dfrac{d}{d\vartheta ^2} h(\vartheta ^2)>0\), then \(h(\vartheta ^2)\) is an increasing function of \(\vartheta ^2\). Now, let X be the finite universal set. It has been divided into two disjoint sets, such as \(X_1\) and \(X_2\) with \(X_1 \cup X_2=X\). Let us now consider that all \(x_i \in X_1\) are managed by the condition \((\mu _{{\tilde{P}}}^-(x_i)+ \mu _{{\tilde{P}}}^+(x_i))\le (\mu _{{\tilde{Q}}}^-(x_i)+\mu _{{\tilde{Q}}}^+(x_i)) \le (\mu _{{\tilde{R}}}^-(x_i)+\mu _{{\tilde{R}}}^+(x_i))\le (\nu _{{\tilde{R}}}^-(x_i)+\nu _{{\tilde{R}}}^+(x_i))\le (\nu _{{\tilde{Q}}}^-(x_i)+\nu _{{\tilde{Q}}}^+(x_i)) \le (\nu _{{\tilde{P}}}^-(x_i)+\nu _{{\tilde{P}}}^+(x_i))\) while for all \(x_i\in X_2\), \((\mu _{{\tilde{P}}}^-(x_i)+\mu _{{\tilde{P}}}^+(x_i))\ge (\mu _{{\tilde{Q}}}^-(x_i)+\mu _{{\tilde{Q}}}^+(x_i)) \ge (\mu _{{\tilde{R}}}^-(x_i)+\mu _{{\tilde{R}}}^+(x_i)) \ge (\nu _{{\tilde{R}}}^-(x_i)+\nu _{{\tilde{R}}}^+(x_i)) \ge (\nu _{{\tilde{Q}}}^-(x_i)+\nu _{{\tilde{Q}}}^+(x_i)) \ge (\nu _{{\tilde{P}}}^-(x_i)+\nu _{{\tilde{P}}}^+(x_i))\). Therefore,

$$\begin{aligned} S^{1}_{IVIFS}({\tilde{P}},{\tilde{R}})&=\frac{\Delta E+Z T}{\sqrt{\Delta ^2+Z^2}\sqrt{E^2+T^2}} \\&\le \frac{\alpha _1 \beta _1+\delta _1 \gamma _1}{\sqrt{\alpha _1^2+\delta _1^2}\sqrt{\beta _1^2+\gamma _1^2}}\\&=S^{1}_{IVIFS}({\tilde{P}},{\tilde{Q}}) \end{aligned}$$

where \(\Delta =(\mu _{{\tilde{P}}}^-(x_i)+ \mu _{{\tilde{P}}}^+(x_i))\), \(E=(\mu _{{\tilde{R}}}^-(x_i)+\mu _{{\tilde{R}}}^+(x_i))\), \(Z=(\nu _{{\tilde{P}}}^-(x_i)+\nu _{{\tilde{P}}}^+(x_i))\) and \(T=(\nu _{{\tilde{R}}}^-(x_i)+ \nu _{{\tilde{R}}}^+(x_i))\). Similarly, we can show that \(S^{1}_{IVIFS}({\tilde{P}},{\tilde{R}}) \le S^{1}_{IVIFS}({\tilde{Q}},{\tilde{R}})\). We know that \(S^{2}_{IVIFS}\) and \(S^{3}_{IVIFS}\) have a similar form as \(S^{1}_{IVIFS}\). If \({\tilde{P}} \subseteq {\tilde{Q}} \subseteq {\tilde{R}}\), we can claim that \(S^{2}_{IVIFS}({\tilde{P}},{\tilde{R}}) \le S^{2}_{IVIFS} ({\tilde{P}},{\tilde{Q}})\), \(S^{2}_{IVIFS}({\tilde{P}},{\tilde{R}}) \le S^{2}_{IVIFS}({\tilde{Q}},{\tilde{R}})\), \(S^{3}_{IVIFS}({\tilde{P}},{\tilde{R}}) \le S^{3}_{IVIFS} ({\tilde{P}},{\tilde{Q}})\) and \(S^{3}_{IVIFS}({\tilde{P}},{\tilde{R}}) \le S^{3}_{IVIFS}({\tilde{Q}},{\tilde{R}})\). Hence, we have \(S_{IVIFS}({\tilde{P}},{\tilde{R}}) \le S_{IVIFS}({\tilde{P}},{\tilde{Q}})\) and \(S_{IVIFS}({\tilde{P}},{\tilde{R}}) \le S_{IVIFS}({\tilde{Q}},{\tilde{R}})\) if \(P \subseteq Q \subseteq R\). Therefore, \(S_{IVIFS}(P,Q)\) is a similarity measure. \(\square\)

Remark 1

Consider \({\tilde{P}}=\{x,[0,0.1],[0,0.1]\}\) and \({\tilde{Q}}=\{x,[0.1,0.3],[0,0.4]\}\) are the two IVIFSs, the CSM for IVIFSs \({\tilde{P}}\) and \({\tilde{Q}}\) that is \(S^1_{IVIFS}({\tilde{P}},{\tilde{Q}})=1\). Since \({\tilde{P}} \ne {\tilde{Q}}\), but the degree of similarity is equal to 1. Therefore, the condition (ii) in Definition 5 is not satisfied. On the other hand, \(S_{IVIFS}\) between IVIFSs \({\tilde{P}}\) and \({\tilde{Q}}\) as \(S_{IVIFS}({\tilde{P}},{\tilde{Q}})=0.9869\). Hence, it satisfies the condition (ii) in Definition 5.

Remark 2

If \({\tilde{P}}=\{x,[0.0,0.0],[0.1,0.2]\}\) and \({\tilde{Q}}=\{x,[0.1,0.2],[0.0,0.0]\}\) are two IVIFSs, then the CSM between IVIFSs \({\tilde{P}}\) and \({\tilde{Q}}\) is equal to zero. This is the unreasonable result. Meanwhile, applying the proposed similarity measure can obtained the result \(S_{IVIFS}({\tilde{P}},{\tilde{Q}})=0.6433\), it is reasonable.

Note 1 From Remarks 1 and 2, it shows that \(S_{IVIFS}\) between IVIFSs is more effective and reasonable than CSM between IVIFSs.

Example 1

Supposing that \({\tilde{P}}_i\) and \({\tilde{Q}}_i\) are two IVIFSs, we can compute the similarity measures between \({\tilde{P}}_i\) and \({\tilde{Q}}_i\) by different similarity measures listed in Table 1.

Table 1 Comparison of similarity measures in the environment of IVIFSs

In Table 1, by comparing the first column and the second column, we can find that \(S_i({\tilde{P}}_1,{\tilde{Q}}_1)=S_i({\tilde{P}}_2,{\tilde{Q}}_2)\) (i = 1, 2) when \({\tilde{P}}_1={\tilde{P}}_2\), \({\tilde{Q}}_1 \ne {\tilde{Q}}_2\). Similarly, by comparing the third column and the fourth column, we can find \(S_2({\tilde{P}}_4,{\tilde{Q}}_4)=S_2({\tilde{P}}_3,{\tilde{Q}}_3)\) when \({\tilde{P}}_3={\tilde{P}}_4\), \({\tilde{Q}}_3 \ne {\tilde{Q}}_4\). Therefore, we can determine that the similarity measure \(S_1\) and \(S_2\) is not reasonable. Meanwhile, we find that \(S_D({\tilde{P}}_1,{\tilde{Q}}_1)=1\) when \({\tilde{P}}_1 \ne {\tilde{Q}}_1\), which is not satisfy the second axiom of the definition for similarity measure. Most importantly, we can observe that the proposed similarity measure \(S_{IVIFS}\) and the other measure \(S_P\) can overcome these drawbacks. But, from the Table 1, the proposed measure value is highly compared to other sophisticated techniques. Therefore, our novel similarity measure for IVIFSs is more reasonable than other measures.

5 Applications

In this section, the suggested similarity measure has been widely applied to various problems in the IVIFS environment, and the findings were also compared to those of other similarity measures.

5.1 Pattern recognition

5.1.1 Algorithms for pattern recognition

If we take \(X=\{x_1, x_2, \ldots , x_n\}\) to become a finite universe of discourse, we can see that there are m patterns labeled by IVIFSs \({\tilde{P}}_j=\{(x_1, [\mu _{{\tilde{P}}_j}^-(x_1), \mu _{{\tilde{P}}_j}^+(x_1)], [\nu _{{\tilde{P}}_j}^-(x_1), \nu _{{\tilde{P}}_j}^+(x_1)]), \ldots , (x_n, [\mu _{{\tilde{P}}_j}^-(x_n), \mu _{{\tilde{P}}_j}^+(x_n)]\), \([\nu _{{\tilde{P}}_j}^-(x_n), \nu _{{\tilde{P}}_j}^+(x_n)]) :x_1, \ldots , x_n \in X\}\) (j=1,2,...,n) and a test sample that was classified with an IVIFS \({\tilde{Q}}=\{(x_1, [\mu _{{\tilde{Q}}}^-(x_1), \mu _{{\tilde{Q}}}^+(x_1)], [\nu _{{\tilde{Q}}}^-(x_1), \nu _{{\tilde{Q}}}^+(x_1)]), \ldots , (x_n, [\mu _{{\tilde{Q}}}^-(x_n), \mu _{{\tilde{Q}}}^+(x_n)], [\nu _{{\tilde{Q}}}^-(x_n), \nu _{{\tilde{Q}}}^+(x_n)]) : x_1, \ldots , x_n \in X\}\). The procedure for recognition is as described in the following:

Step 1. Compute the \(S({\tilde{P}}_j,{\tilde{Q}})\) measure of similarity with \({\tilde{P}}_j (j = 1, \ldots ,m)\) and \({\tilde{Q}}\).

Step 2. Select the highest \(S({\tilde{P}}_{j_0},{\tilde{Q}})\) value from \(S({\tilde{P}}_j,{\tilde{Q}})\) (j = 1, 2, ...,m), i.e., \(S({\tilde{P}}_{j_0},{\tilde{Q}})= \text{ max } \{S({\tilde{P}}_1,{\tilde{Q}}), \ldots , S({\tilde{P}}_m,{\tilde{Q}})\}\). Following that, the test sample \({\tilde{Q}}\) becomes classified to it in the pattern \({\tilde{P}}_{j_0}\).

5.1.2 Applications for pattern recognition

Example 2

Suppose that in the area formed by the coal mine company, there were four kinds of ores \(P_i\)(i=1,2,3,4), in which the corresponding feature information would be indicated by IVIFSs and \({\tilde{P}}_j\)=\(\{(x_1, [\mu _{{\tilde{P}}_j}^-(x_1), \mu _{{\tilde{P}}_j}^+(x_1)], [\nu _{{\tilde{P}}_j}^-(x_1), \nu _{{\tilde{P}}_j}^+(x_1)]), \ldots , (x_4, [\mu _{{\tilde{P}}_j}^-(x_4), \mu _{{\tilde{P}}_j}^+(x_4)], [\nu _{{\tilde{P}}_j}^-(x_4), \nu _{{\tilde{P}}_j}^+(x_4)]):x_1,\ldots ,x_4\) \(\in X\}\), as can be seen in Table 2. Now there is an unknown ore, \({\tilde{Q}}\), so our goal is just to categorize \({\tilde{Q}}\) under one of the four types of ores described above.

Table 2 Feature matrix of \({\tilde{P}}_1\), \({\tilde{P}}_2\), \({\tilde{P}}_3\), \({\tilde{P}}_4\) and \({\tilde{Q}}\)

Estimate the \(S({\tilde{P}}_i, {\tilde{Q}})\) measure of similarity among both \({\tilde{P}}_i\) and \({\tilde{Q}}\). By examining the obtained results in Table 3, we will clearly determine that if \(S_1\) is employed in pattern recognition, authors can get \(S1({\tilde{P}}_1, {\tilde{Q}})\) = \(S1({\tilde{P}}_2, {\tilde{Q}})\) = \(S1({\tilde{P}}_4, {\tilde{Q}})>\) \(S1({\tilde{P}}_3, {\tilde{Q}})\). As a consequence, we are unable to properly classify the sample \({\tilde{Q}}\) into a specific pattern. \(S_W({\tilde{P}}_2, {\tilde{Q}})\)=\(S_W({\tilde{P}}_4, {\tilde{Q}})>\) \(S_W({\tilde{P}}_1, {\tilde{Q}})\) = \(S_W({\tilde{P}}_3, {\tilde{Q}})\) can be acquired if \(S_W\) has become applied in pattern recognition. In this way, we cannot be certain whether the sample \({\tilde{Q}}\) belongs to \({\tilde{P}}_2\) and \({\tilde{P}}_4\). We can also achieve \(S_D({\tilde{P}}_3, {\tilde{Q}})\) = \(S_D({\tilde{P}}_4, {\tilde{Q}})>\) \(S_D({\tilde{P}}_2, {\tilde{Q}})>\) \(S_D({\tilde{P}}_1, {\tilde{Q}})\) if we implement \(S_D\) for pattern recognition. In such a way, we cannot categorize the sample \({\tilde{Q}}\) as one of \({\tilde{P}}_3\) and \({\tilde{P}}_4\). Furthermore, we get another results as \(S_C({\tilde{P}}_4, {\tilde{Q}})<\) \(S_C({\tilde{P}}_1, {\tilde{Q}})=\) \(S_C({\tilde{P}}_2, {\tilde{Q}})<\) \(S_C({\tilde{P}}_3, {\tilde{Q}})\) when implementing \(S_C\) for pattern recognition. Therefore, we cannot identify the sample \({\tilde{Q}}\) as one of \(\tilde{P_1}\) and \(\tilde{P_2}\). Similarly, from the Table 3, we will get \(S_P({\tilde{P}}_1, {\tilde{Q}})>\) \(S_P({\tilde{P}}_2, {\tilde{Q}})<\) \(S_P({\tilde{P}}_3, {\tilde{Q}})>\) \(S_P({\tilde{P}}_4, {\tilde{Q}})\) as well as \(S_{IVIFS}(\tilde{P_1},{\tilde{Q}})>\) \(S_{IVIFS}(\tilde{P_2},{\tilde{Q}})<\) \(S_{IVIFS}(\tilde{P_3},{\tilde{Q}})>\) \(S_{IVIFS}(\tilde{P_4},{\tilde{Q}})\) when using \(S_P\) and \(S_{IVIFS}\) for pattern recognition. As per the recognition principle, \(S_2\) and \(S_P\) may achieve similar recognition outcomes, i.e., sample \({\tilde{Q}}\) can indeed be categorized as pattern \({\tilde{P}}_3\). When applying \(S_2\) to generate the similarity measure, however, we have been unable to distinguish which of \({\tilde{P}}_2\) and \({\tilde{P}}_4\) is larger. Based on Table 3 and Fig. 2, we conclude that, the measures \(S_P\) and \(S_{IVIFS}\) are mostly give the same results, but \(S_{IVIFS}\) value is high than \(S_P\) measure. Hence, the pattern \({\tilde{P}}_3\) can sometimes be assigned to sample \({\tilde{Q}}\).

Table 3 Pattern recognition results under different similarity measures
Fig. 2
figure 2

Comparison graph of pattern recognition problem

Example 3

To exemplify the suggested similarity measure, a pattern recognition application involving the categorization of building materials is utilized. Assuming that here in the feature space \(X=\{x_1, x_2, \ldots , x_{12}\}\), there have been four major classes of building materials designated by the IVIFSs \({\tilde{P}}_j\)=\(\{(x_1, [\mu _{{\tilde{P}}_j}^-(x_1), \mu _{{\tilde{P}}_j}^+(x_1)], [\nu _{{\tilde{P}}_j}^-(x_1), \nu _{{\tilde{P}}_j}^+(x_1)]), ...\), \((x_{12}, [\mu _{{\tilde{P}}_j}^-(x_{12}), \mu _{{\tilde{P}}_j}^+(x_{12})], [\nu _{{\tilde{P}}_j}^-(x_{12}), \nu _{{\tilde{P}}_j}^+(x_{12})]) :x_1, \ldots , x_{12} \in X\}\) (j = 1, ..., 12) and that there is an unknown pattern \({\tilde{Q}}\):

$$\begin{aligned} \tilde{P_1}=&\{(x_1,[0.1,0.2],[0.5,0.6]),(x_2,[0.1,0.2],[0.7,0.8]),(x_3,[0.5,0.6],[0.3,0.4]),\\&(x_4,[0.8,0.9],[0.0,0.1]),(x_5,[0.4,0.5],[0.3,0.4]),(x_6,[0.0,0.1],[0.8,0.9]),\\&(x_7,[0.3,0.4],[0.5,0.6]),(x_8,[1.0,1.0],[0.0,0.0]),(x_9,[0.2,0.3],[0.6,0.7]),\\&(x_{10},[0.4,0.5],[0.4,0.5]),(x_{11},[0.7,0.8],[0.1,0.2]),(x_{12},[0.4,0.5],[0.4,0.5])\} \\ \tilde{P_2}=&\{(x_1,[0.5,0.6],[0.3,0.4]),(x_2,[0.6,0.7],[0.1,0.2]),(x_3,[1.0,1.0],[0.0,0.0]),\\&(x_4,[0.1,0.2],[0.6,0.7]),(x_5,[0.0,0.1],[0.8,0.9]),(x_6,[0.7,0.8],[0.1,0.2]),\\&(x_7,[0.5,0.6],[0.3,0.4]),(x_8,[0.6,0.7],[0.2,0.3]),(x_9,[1.0,1.0],[0.0,0.0]), \\&(x_{10},[0.1,0.2],[0.7,0.8]),(x_{11},[0.0,0.1],[0.8,0.9]),(x_{12},[0.7,0.8],[0.1,0.2])\} \\ \tilde{P_3}=&\{(x_1,[0.4,0.5],[0.3,0.4]),(x_2,[0.6,0.7],[0.2,0.3]),(x_3,[0.9,1.0],[0.0,0.0]),\\& (x_4,[0.0,0.1],[0.8,0.9]),(x_5,[0.0,0.1],[0.8,0.9]),(x_6,[0.6,0.7],[0.2,0.3]),\\&(x_7,[0.1,0.2],[0.7,0.8]),(x_8,[0.2,0.3],[0.6,0.7]),(x_9,[0.5,0.6],[0.2,0.4]),\\& (x_{10},[1.0,1.0],[0.0,0.0]),(x_{11},[0.3,0.4],[0.4,0.5]),(x_{12},[0.0,0.1],[0.8,0.9])\} \\ \tilde{P_4}=&\{(x_1,[1.0,1.0],[0.0,0.0]),(x_2,[1.0,1.0],[0.0,0.0]),(x_3,[0.8,0.9],[0.0,0.1]),\\&(x_4,[0.7,0.8],[0.1,0.2]),(x_5,[0.0,0.1],[0.7,0.9]),(x_6,[0.0,0.1],[0.8,0.9]),\\&(x_7,[0.1,0.2],[0.7,0.8]),(x_8,[0.1,0.2],[0.7,0.8]),(x_9,[0.4,0.5],[0.3,0.4]),\\&(x_{10},[1.0,1.0],[0.0,0.0]),(x_{11},[0.3,0.4],[0.4,0.5]),(x_{12},[0.0,0.1],[0.8,0.9])\}\\ {\tilde{Q}}=&\{(x1, [0.9, 1.0], [0.0, 0.0]),(x2, [0.9, 1.0], [0.0, 0.0]), (x3, [0.7, 0.8], [0.1, 0.2]), \\& (x4, [0.6, 0.7], [0.1, 0.2]),(x5, [0.0, 0.1], [0.8, 0.9]), (x6, [0.1, 0.2], [0.7, 0.8]),\\& (x7, [0.1, 0.2], [0.7, 0.8]), (x8, [0.1, 0.2], [0.7, 0.8])(x9, [0.4, 0.5], [0.3, 0.4]),\\& (x10, [1.0, 1.0], [0.0, 0.0]), (x11, [0.3, 0.4], [0.4, 0.5]), (x12, [0.0, 0.1], [0.7, 0.9])\} \end{aligned}$$

Subsequently, implementing the proposed measure formula, we evaluate the similarity measure \(S({\tilde{P}}_j, {\tilde{Q}})\) among IVIFSs \({\tilde{P}}_j\) (j = 1, 2, 3, 4) and \({\tilde{Q}}\). The similarity measure is seen in the literature (Luo and Liang 2018) as a special feature of \(S_1\) and \(S_2\), as well as the quantified outcome being identical to (Luo and Liang 2018). However, according to the recognition principle, Table 4 and Fig. 3, the unknown pattern in \({\tilde{P}}_4\) may be properly classified by finding the similarity measure. This finding is consistent with that of Luo and Liang (2018).

Table 4 Pattern recognition results under different similarity measures
Fig. 3
figure 3

Comparison graph of pattern recognition problem

5.2 Medical diagnosis

5.2.1 Application for medical diagnosis

Researchers proposed a variety of approaches from various perspectives to address medical diagnosis issues. In this part, pattern recognition algorithms have been employed to tackle medical diagnosis challenges, i.e., patients represent unknown test samples, diseases are different patterns, and the symptom set seems to be the set universe of discourse. Our intention is to classify patients as having one of the disorders.

Example 4

Letting \({\tilde{P}} =\{{\tilde{P}}_1, {\tilde{P}}_2, {\tilde{P}}_3, {\tilde{P}}_4\}\) where \({\tilde{P}}_1\)=Viral fever, \({\tilde{P}}_2\)=Typhoid, \({\tilde{P}}_3\)=Pneumonia, and \({\tilde{P}}_4\)=Stomach problem represent a set of diagnoses and \(X = \{x_1 (\text{ Temperature}), x_2 (\text{ Cough}), x_3 (\text{ Headache})\), \(x_4 (\text{ Stomach } \text{ pain})\}\) symbolize a collection of symptoms. After that, Table 5 lists the disease-symptom matrix with IVIFSs representation. Suppose that the patient \({\tilde{Q}}\) may be described as the following: \({\tilde{Q}} = \{(x1,[0.4,0.5], [0.1, 0.2]), (x2,[0.7,0.8], [0.1,0.2] )\), \((x3,[0.9, 0.9], [0.0,0.1]),(x4, [0.3,0.5], [0.2,0.4])\}\).

Table 5 Disease-symptom matrix

Our goal is to determine whether or not patient \({\tilde{Q}}\) has one of the diseases \({\tilde{P}}_1\), \({\tilde{P}}_2\), \({\tilde{P}}_3\) and \({\tilde{P}}_4\). Thereafter, in the context of IVIFSs, we may expect the following outcomes, as shown by Table 6. Further, the tabulated values are plotted as graphical form, which is shown in Fig. 4.

Table 6 Computed results under different similarity measures

By implementing the maximum similarity principle, we may deduce that the similarity measure among both \({\tilde{P}}_2\) and \({\tilde{Q}}\) seems to be the biggest. Meanwhile, the similarity measures \(S_2\) were unable to determine which would have been high among both \({\tilde{P}}_1\) and \({\tilde{P}}_4\). As a consequence of the recognition principle, we may identify that patient \({\tilde{Q}}\) has sickness \({\tilde{P}}_2\). Therefore, we may conclude that the patient has typhoid. Finally, the mentioned Table 6 and Fig. 4 shows the performance of the proposed measure.

Fig. 4
figure 4

Comparison graph of medical diagnosis problem

5.3 Multi-criteria decision making problems

5.3.1 Algorithm for MCDM

In this subsection, we proposed similarity measure is to solve a multiple criteria decision making problem. Let \({\tilde{H}}=\{\tilde{H_1}, \tilde{H_2},\ldots , \tilde{H_m}\}\) be the set of alternative, \({\tilde{C}}=\{\tilde{C_1}, \tilde{C_2},\ldots , \tilde{C_n}\}\) be the set of criteria. The alternative \({\tilde{H}}_i\) of the criteria \({\tilde{C}}\), represented by IVIFS as follows: \({\tilde{H}}_i=\{({\tilde{C}}_j, [\mu _{ij}^-, \mu _{ij}^+], [\nu _{ij}^-, \nu _{ij}^+]): {\tilde{C}}_j \in {\tilde{C}}\}, i=1,2,\ldots ,m\).

Using the proposed measure (11), we present the following algorithm to solve multiple criteria decision making problem:

Step 1: Determine the both positive ideal solution \((\tilde{H^+})\) and negative ideal solution \((\tilde{H^-})\):

$$\begin{aligned} {\tilde{H}}^+=&\{([\mu _{1+}^-,\mu _{1+}^+],[\nu _{1+}^-,\nu _{1+}^+]), ([\mu _{2+}^-,\mu _{2+}^+],[\nu _{2+}^-,\nu _{2+}^+]) ,\ldots , ([\mu _{n+}^-,\mu _{n+}^+],[\nu _{n+}^-,\nu _{n+}^+])\} \\ {\tilde{H}}^-=&\{([\mu _{1-}^-,\mu _{1-}^+],[\nu _{1-}^-,\nu _{1-}^+]), ([\mu _{2-}^-,\mu _{2-}^+],[\nu _{2-}^-,\nu _{2-}^+]),\ldots , ([\mu _{n-}^-,\mu _{n-}^+],[\nu _{n-}^-,\nu _{n-}^+])\} \end{aligned}$$

where, \(j=1,2,\ldots ,n\), \(([\mu _{j+}^-, \mu _{j+}^+], [\nu _{j+}^-, \nu _{j+}^+])\)= \(([max_i\mu _{ij}^-, max_i\mu _{ij}^+], [min_i\nu _{ij}^-, min_i\nu _{ij}^+])\), \([\mu _{j-}^-, \mu _{j-}^+]\), \([\nu _{j-}^-,\nu _{j-}^+]\) = \(([max_i\mu _{ij}^-, max_i\mu _{ij}^+], [min_i\nu _{ij}^-, min_i\nu _{ij}^+])\).

Step 2: Estimate the degree of similarity for both positive ideal solution \(S(\tilde{H_i}, \tilde{H^+})\) and negative ideal solution \(S(\tilde{H_i}, \tilde{H^-})\) by using the formula as follows:

$$\begin{aligned}&\begin{aligned} S(\tilde{H_i},{\tilde{H}}^+)=\frac{1}{3}(&S^1_{IVIFS}(\tilde{H_i},{\tilde{H}}^+)+S^2_{IVIFS}(\tilde{H_i},{\tilde{H}}^+)+S^3_{IVIFS}(\tilde{H_i},{\tilde{H}}^+)) \end{aligned}\end{aligned}$$
(12)
$$\begin{aligned}&\begin{aligned} S(\tilde{H_i},{\tilde{H}}^-)=\frac{1}{3}(&S^1_{IVIFS}(\tilde{H_i},{\tilde{H}}^-)+S^2_{IVIFS}(\tilde{H_i},{\tilde{H}}^-) +S^3_{IVIFS}(\tilde{H_i},{\tilde{H}}^-)) \end{aligned} \end{aligned}$$
(13)

Step 3: Employ Eqs. (12)–(13), to calculate the relative similarity measure \(S(\tilde{H_i})\) of \(\tilde{H_i}\) with respect to \(\tilde{H^+}\) and \(\tilde{H^-}\) as follows:

$$\begin{aligned} S(\tilde{H_i})=\frac{S(\tilde{H_i}, \tilde{H^+})}{S(\tilde{H_i}, \tilde{H^-})+S(\tilde{H_i}, \tilde{H^+})} \end{aligned}$$
(14)

where \(i=1,2,\ldots ,n\).

Step 4: Select the maximum degree of similarity \(S(\tilde{H_t})\) from \(S(\tilde{H_i})\) where \(i=1,2,\ldots ,n\). Conclusively, \(S(\tilde{H_t})\) is the best choice.

5.3.2 Application for MCDM

Example 5

Assume that the problem of distributor selection for a product. Six evaluating indexes are consider by the company for the problem. They are price \(({\tilde{T}}_1)\), deadline \(({\tilde{T}}_2)\), quality \(({\tilde{T}}_3)\), the level of technology \(({\tilde{T}}_4)\), service \(({\tilde{T}}_5)\) and the future cooperation \(({\tilde{T}}_6)\). Given there are five distributors for this problem \({\tilde{H}}_i\) (i = 1,2,3,4,5). By using (Wei et al. 2011) above indexes, suppliers are analysed by experts and the analysed results are given as follows :

$$\begin{aligned} \tilde{H_1}=&\{(\tilde{T_1},[0.4, 0.5],[0.2, 0.3]), (\tilde{T_2},[0.6, 0.8],[0.1, 0.2]),(\tilde{T_3},[0.4, 0.5],[0.2, 0.4]),\\& (\tilde{T_4},[0.8, 0.9],[0.1, 0.1]), (\tilde{T_5},[0.2, 0.6],[0.2, 0.3]), (\tilde{T_6},[0.5, 0.7],[0.1, 0.2])\} \\ \tilde{H_2}=&\{(\tilde{T_1},[0.5, 0.7],[0.1, 0.2]), (\tilde{T_2},[0.6, 0.8],[0.1, 0.2]),(\tilde{T_3},[0.3, 0.4],[0.4, 0.6]), \\& (\tilde{T_4},[0.8, 0.9],[0.0, 0.1]),(\tilde{T_5},[0.2, 0.5],[0.3, 0.4]), (\tilde{T_6},[0.1, 0.2],[0.4, 0.5])\} \\ \tilde{H_3}=&\{(\tilde{T_1},[0.2, 0.3],[0.6, 0.7]), (\tilde{T_2},[0.4, 0.5],[0.3, 0.4]),(\tilde{T_3},[0.7, 0.8],[0.1, 0.2]), \\& (\tilde{T_4},[0.2, 0.5],[0.1, 0.2]),(\tilde{T_5},[0.7, 0.8],[0.0, 0.1]), (\tilde{T_6},[0.5, 0.6],[0.2, 0.4])\} \\ \tilde{H_4}=&\{(\tilde{T_1},[0.5, 0.6],[0.1, 0.2]), (\tilde{T_2},[0.3, 0.4],[0.2, 0.3]),(\tilde{T_3},[0.5, 0.8],[0.1, 0.2]), \\& (\tilde{T_4},[0.6, 0.7],[0.1, 0.2]),(\tilde{T_5},[0.3, 0.4],[0.3, 0.4]), (\tilde{T_6},[0.1, 0.2],[0.7, 0.8])\} \\ \tilde{H_5}=&\{(\tilde{T_1},[0.4, 0.5],[0.3, 0.4]), (\tilde{T_2},[0.8, 0.9],[0.0, 0.1]),(\tilde{T_3},[0.6, 0.8],[0.1, 0.2]),\\& (\tilde{T_4},[0.8, 0.9],[0.0, 0.1]), (\tilde{T_5},[0.7, 0.8],[0.1, 0.2]), (\tilde{T_6},[0.5, 0.6],[0.1, 0.2])\} \end{aligned}$$

Using above step 1, we find out the both positive ideal solution \(\tilde{H^+}\) and negative ideal solution \(\tilde{H^-}\):

$$\begin{aligned} \tilde{H^+}=&\{(\tilde{T_1},[0.5,0.7],[0.1,0.2]), (\tilde{T_2},[0.8,0.9],[0.0,0.1]),(\tilde{T_3},[0.7,0.8],[0.1,0.2]),\\& (\tilde{T_4},[0.8,0.9],[0.0,0.1]),(\tilde{T_5},[0.7,0.8],[0.0,0.1]), (\tilde{T_6},[0.5,0.7],[0.1,0.2])\} \\ \tilde{H^-}=&\{(\tilde{T_1},[0.2,0.3],[0.6,0.7]), (\tilde{T_2},[0.3,0.4],[0.3,0.4]),(\tilde{T_3},[0.3,0.4],[0.4,0.6]), \\& (\tilde{T_4},[0.2,0.5],[0.1,0.2]),(\tilde{T_5},[0.2,0.4],[0.3,0.4]), (\tilde{T_6},[0.1,0.2],[0.7,0.8])\} \end{aligned}$$
Table 7 MCDM results under different similarity measures
Fig. 5
figure 5

Comparison graph of MCDM problem

We acquire the values of the suggested similarity measures and decision outcomes by using derived Eqs. (12)–(13), that are reported in Table 7 for comparison. The tabulated findings are then presented in a graphical format, as illustrated in Fig. 5. Besides, Table 7 reveals that a few of the ranking results have become consistent, with the best being \(\tilde{H_5}\), demonstrating the efficiency of the devised MCDM process based on a recommended similarity measure. The majority of the ranking orders in Table 7 are similar to the specific case of the illustrated example in the IVIFS environment. The rank ordering predicated on the suggested MCDM approach implementing IVIFS similarity measures in Table 7 varies from some of those depending on the MCDM method utilizing IVIFS similarity measures in Table 7. As a result, the influence on alternative ranking reflects its significance in proposed MCDM applications.

However, although many state-of-the-art decision-making processes in IVIFS settings (Dhivya and Sridevi 2018; Luo and Liang 2018; Singh 2012; Wei et al. 2011; Xu and Chen 2008) have not yet been able to handle MCDM issues with IVIFS data, the latest sophisticated approaches do not include middle and complementary terms for membership and non-membership degrees. Also, they have not yet been included in the measure. Then, Table 7 and Fig. 5 evidenced that the proposed MCDM framework based on the similarity measure of IVIFSs may be applied to the MCDM issues with IVIFSs and which makes the decision findings more valuable and realistic in decision making implementations.

5.3.2.1 Merits of the proposed method

The following are typical benefits of working in the context of an IVIFS-based similarity measure:

  1. 1.

    IVIFS improves the reliability measure of intervals of membership and nonmembership degrees, which makes IFS more trustworthy. As a consequence, the recommended IVIFS incorporates far more valuable information than IFS.

  2. 2.

    The pattern recognition, medical diagnosis, and MCDM problems solved using the suggested similarity measure of IVIFSs in this work strengthen the validity and subjectivity of pattern, medical, and decision-making outcomes as well as illustrate its effectiveness over existing IVIFS-based similarity measures.

  3. 3.

    The benefit of this technique is that it seems to be uncomplicated to compute the similarity degree. Likewise, the strengths of this study include a higher degree of resemblance to real-world situations.

  4. 4.

    Moreover, the fundamental benefit of this strategy is that the degree of similarity is derived by taking into account the terms’ intervals of degrees of membership, non-membership, middle of both, and complement of both terms, respectively. Therefore, our suggested technique may be more accurate than other advanced procedures.

6 Conclusion

In this study, we developed a novel and resilient technique for analyzing the similarity of IVIFSs. Using the idea of an existing CSM, the study found a new interval-valued intuitionistic fuzzy cosine similarity measure as well as demonstrated some of its fundamental and crucial characteristics. Further, the newly established similarity measure has been employed to address a wide variety of real-world challenges such as pattern recognition, medical diagnosis, as well as MCDM. Furthermore, numerical examples have been furnished to demonstrate the stated application process. In each application, the existing and addressed similarity measures were analyzed. Finally, we can notice that the proposed technique delivers more information for all of the applications listed since it returns higher values than other similarity measures owing to the maximum similarity principle.

Also, the suggested method has a few drawbacks as well. The suggested similarity measure may be used in cases where its degrees of membership and non-membership have numerical values on an interval scale. However, linguistic variables are employed to express qualitative information in many real-life situations. This similarity measure cannot be used in a linguistic context. Further research into this similarity measure involving linguistic interval-valued intuitionistic fuzzy information is required.

More advanced formulations, including probabilities, power averages, moving averages, and so on, are expected to be applied for future research. Social network decision-making, consensus, medical imaging, and large-scale decision-making are all relevant topics to examine. Since we all know, consensus measures are extremely important in group decision-making problems. Before a solution can be reached, there must be broad consensus among specialists. We will also concentrate on the creation of several consensus measures based on the suggested similarity measure, as well as their applications in social network decision-making and large-scale decision-making challenges in various uncertain circumstances. Based on the prior studies (Gao and Zhang 2021; Zhang et al. 2021), we are keen to implement the recommended measure to cope with consensus-reaching challenges in group decision making via IVIFSs.