Introduction

Every year, millions of tons of colored wastewater are discharged from various sources such as textile, plastic, cosmetics, printing, leather, paper-making, and dye manufacturing industries [13]. It is essential to treat the colored synthetic compounds as they are often harmful to humans and the environment [1]. Dyes are one of the most abundant pollutants that in aquatic systems they can cause various problems such as reduced light penetration, carcinogenic and mutagenic changes, and increase in chemical oxygen demand (COD) and biochemical oxygen demand (BOD) of water systems that reflect its low quality [4]. Methylene blue [3,7-bis(dimethylamino)phenothiazin-5-ium chloride], a thiazine cationic dye (Table S1, see Electronic Supplementary Material, ESM), causes injury to human and animal eyes and skin [57]. Conventional and most applicable protocols for removal of dyes from wastewaters include adsorption [813], flocculation [14], membrane filtration [15], electrolysis [16], biological treatments [17], and oxidation [18]. Among these, adsorption of dye molecules onto a substrate (adsorbent) is considered a simple, efficient, and cost-effective method for wastewater treatment [19]. Nanoparticle-based adsorbents possess high surface area along with various non-saturated reactive surface atoms that allow for selective and reversible binding of dye molecules [4, 20, 21].

Cloud point extraction (CPE) methodology is simple, cheap, highly efficient, and low-toxicity method compared to the conventional extraction systems [2228]. CPE is based on the phase behavior of nonionic surfactants in aqueous solutions, which exhibit phase separation after an increase in temperature or the addition of a chelating agent [29]. As the CPE is primarily based on the hydrophobic interaction between the solutes and surfactant, other hydrophobic species can be extracted into the surfactant rich-phase and may interfere with the analysis of the analytes of interest [30].

Surface enhance methodology (RSM) is a collection of statistical and mathematical methods that are useful for modeling and analyzing engineering problems [31]. The main objective of RSM is to optimize the response surface that is influenced by various process parameters. RSM also quantifies the relationship between the controllable input parameters and the obtained response surfaces [31, 32].

To the best of our knowledge, there are only a few published articles regarding combined CPE and solid phase extraction (SPE) [3336], and only one of those [33] developed a new synthesized adsorbent. In this work, we first synthesized Cu(OH)2 nanoflakes using a simple, fast, and low-cost method. We then applied the synthesized Cu(OH)2 nanoflakes as solid nanosubstrates for adsorption of methylene blue dye (MB) and for carrying out the CPE procedure for preconcentration/separation of Cu(OH)2–nanoflakes–MB from aqueous solutions in a micellar medium. After separating the Cu(OH)2–nanoflakes–MB from the micellar medium by centrifugation and eluting using a suitable eluant, we measured the resulting absorbance by UV–vis spectrophotometry. Finally, we used RSM and central composite design (CCD) to model the influence of some operating parameters on the performance of the MB extraction.

Experimental

Materials and chemicals

All chemicals used were analytical grade and solutions were prepared with distilled water. Triton X-114 was purchased from prepared Sigma-Aldrich, Steinheim, Germany. All the other chemicals used were purchased from Merck, Darmstadt, Germany.

Materials characterization

X-ray diffraction (XRD)

XRD measurements were conducted using a Bruker AXS–D8 Advance model system. The diffracted intensity of the Cu Kα radiation (0.154 nm, 40 kV, and 40 mA) was measured over a 2θ range between 5.0 and 80.

Field emission scanning electron microscopy (FESEM)

FESEM was performed on a Zeiss Supra, model 55VP, Germany.

Fourier transform infrared spectroscopy (FTIR)

A PerkinElmer FTIR spectrophotometer equipped with an attenuated total reflectance accessory configured with a KSR–5 crystal (ATR) was used to record IR spectra in the region 4000–400 cm–1.

Dynamic light scattering

The particle size and size distribution of the Cu(OH)2 nanoflakes were measured by dynamic light scattering using a Zetasizer Nanoseries system (Malvern Instruments Co., Malvern, UK). The material absorption unit was 0.001 w/v %.

UV–Vis spectroscopy

A double beam spectrophotometer (UV–1800, Shimadzu, Japan) was used to determine the concentration of MB at 675 nm.

Surface area analysis

The surface area and pore size distribution of the sorbent were determined from the corresponding nitrogen adsorption–desorption isotherms at 77 K using a Micromeritics ASAP 2020 system. The surface area was determined by the Brunauer–Emmett–Teller (BET), Langmuir, and Barrett–Joyner–Halendathe (BJH) equations, and pore size distribution was calculated by using the BET and BJH equations.

Preparation of Cu(OH)2 nanoflakes

Cu(OH)2 nanoflakes were synthesized by a precipitation method using CuCl as the initial chemical reagent and ammonium as the precipitation agent. First, 0.5 g of CuCl was dissolved in 35 mL NH3 (2.0 M) in a 100-mL flask. Next, 1 mL of tetrahydrofuran (THF) and 0.5 mL oleic acid (as surfactant) were added, and the mixture was stirred strongly at 80 °C (pH ≤ 10) using a magnetic stirrer. The dark blue suspension remained under constant and strong stirring for 120 min. Subsequently, the suspension was filtered and washed several times with a mixture of distilled water and ethanol to remove impurities. Finally, the obtained precipitate was dried at ambient temperature in a vacuum oven at 0.1 MPa for 7 h before characterization.

Analytical methods

A 0.0055 g portion of Cu(OH)2 nanoflakes was added to 3 mL of 3 % (v/v) of Triton X-114. In order to completely disperse the Cu(OH)2 nanoflakes, the mixture of nanoparticles and nonionic surfactant was stirred for 2 min. Then, the following reagents were added to the above mixture: an aliquot of MB solution, 2 mL of phthalate buffer solution, and 1 mL of Na2SO4 (1 M), (50 mL final solution). The mixture was placed in a water bath at 45 °C for 20 min to allow phase separation. Then, the flask was put in an ice bath for 5 min, so the supernatant (aqueous phase) was easily decanted. Subsequent centrifugation at 4000 rpm for 5 min allowed the Cu(OH)2 nanoflakes to be separated from the surfactant rich-phase medium. In order to wash the nanoflakes and separate the MB adsorbed onto nanoflakes, 500 μL of a mixture of HNO3 (1 M) and methanol (1:1 ratio) was added to Cu(OH)2 nanoflakes and centrifuged for 2.5 min. Finally, the supernatant solution (eluate) was collected in a 700 μL cuvette and its absorbance was determined by UV–Vis spectrophotometer at 675 nm. The blank solution was prepared using the same procedures but in the absence of MB.

Samples preparation

The developed method was applied to different samples including domestic wastewater, water from Karoon river (located in an industrial city, Ahvaz), and water from Beshaar river (Yasouj city). All samples were filtered through a 0.22 μm membrane to remove the suspended and floating particles.

Experimental design

RSM was used for the modeling and analysis of the effects of experimental variables in order to optimize them [37]. A CCD was used to determine the optimal conditions for the critical factors [38]. For the CPE/SPE process, effective variables such as pH, Cu(OH)2 nanoflakes dose, the volume of 3 % Triton X-114 (v/v), and temperature were chosen as independent variables and designated as X 1X 4, respectively. As shown in Table 1, the pH (X 1) ranged from 4 to 8, Cu(OH)2 nanoflakes dose (X 2) ranged from 0.001 to 0.01 g, Triton X-114 volume (X 3) ranged from 1.0 to 5.0 mL of 3 % (v/v), and the temperature (X 4) ranged from 25 to 65 °C. According to Eq. (1), setting the lowest values as –2 and the highest values as +2, the real values of the independent variables (X i ) were coded as Z i [39]:

$$ {Z}_i=\frac{X_i-{X}_0}{\varDelta {X}_i} $$
(1)

where z i is the dimensionless value of an independent variables, x i represents the real value of the independent variable, x 0 is the real value of the independent variable at the center point, and Δx i is the step change [39, 40]. According to Eq. (2), the total number of experimental points needed (N) is determined [37]:

$$ N={2}^k+2k+{C}_{\mathrm{o}} $$
(2)
Table 1 Design matrix for the central composite designs

Therefore, a total of 30 experiments (k = 4, C 0 = 6) were performed. The following second-order polynomial equation was used to analyze the experimental results:

$$ Y={\beta}_0+{\displaystyle {\sum}_{i=1}^n{\beta}_i{X}_i+{\displaystyle {\sum}_{i=1}^n{\beta}_{ii}{X}_i^2+{\displaystyle \sum {\displaystyle {\sum}_{i<j=1}^n{\beta}_{ij}{X}_i{X}_j+\varepsilon }}}} $$
(3)

where Y is the predicted response, β 0 is the coefficient for intercept, β i is the coefficient of linear effect, β ii is the coefficient of quadratic effect, β ij is the coefficient of interaction effect, ε is the term that represents other sources of variability not accounted for by the response function, and X i and X j are coded independent variables (Table 2).

Table 2 Experimental design matrix for the CCD

Analysis of variance (ANOVA) as the most powerful numerical method for model validation was performed to estimate the different causes of variation. ANOVA can determine to what extent altering a controlled factor leads to a significant difference between the mean values obtained [37]. Also, it checks the adequacy of the regression model (R 2) in terms of lack-of-fit test, i.e., non-modeled variation in response [37]. The validated model can be plotted as a three-dimensional graph to generate a surface response corresponding to a response function that allows one to determine the best operating conditions. The significance of each process variable was checked by p value and F value.

Results and discussion

Characterization of Cu(OH)2 nanoflakes

Optical absorption

The measurement of the band gap of materials is important in semiconductor, nanomaterial, and solar industries. From the absorption spectrum (Fig. S1, see ESM), band gap energy of Cu(OH)2 nanoflakes was obtained using the following relation [41]:

$$ {\left(\alpha h\upsilon \right)}^2=A\left(h\upsilon {\textstyle \hbox{-} }{E}_{\mathrm{g}}\right) $$
(4)

where E g is the band gap energy, A is a constant related to the material and matrix element of the transition, ʋ is the frequency of the incident radiation, h is Planck’s constant, α is the absorption coefficient in reciprocal centimeters (cm–1) [42]. The band gap energy was determined by plotting (αhʋ)2 versus energy () and extrapolating the linear portion of the respective curve to (αhʋ)2 = 0 [43]. According to ESM Fig. S1, the absorption edge of Cu(OH)2 nanoflakes (ca. 282 nm) is 4.4 eV, which agrees with the reported values for Cu(OH)2 [44].

FESEM

Figures S2a and S2b (see ESM) show images of the Cu(OH)2 nanoflakes at different magnifications. From ESM Fig. S2a, it can be seen that the sample contains plenty of flake-like morphology. Interestingly, the Cu(OH)2 nanoflakes possess a huge porous surface with numerous boundaries that can improve the adsorption efficiency of MB dye. ESM Fig. 2Sb reveals that each “flake” comprises a large number of nanosheets, which look like “flakes”. The nanoflakes have an average thickness of less than 50 nm. The flake structures are approximately regular and uniform and exhibit almost the same shape and size in Fig. 2Sb (ESM).

XRD

The XRD pattern of the flower-like Cu(OH)2 nanoflakes is presented in Fig. S3 (see ESM). According to the reference (JCPDS card no. 00-035-0505), the nanoflakes have an orthorhombic crystal system and a 63 space group number. The peaks around 16.73°, 23.76°, 33.95°, 35.88, 38.06°, 39.78°, and 53.28° reveal tetragonal structure and are assigned to the (020), (021), (002), (111), (041), (130), and (150) crystalline planes of the Cu(OH)2 nanostructure, respectively. No diffracted peaks due to impurities were observed. The mean crystal size was calculated using the Debye–Scherrer formula represented in Eq. (5) [9]:

$$ D=0.9\lambda /\beta \cos \theta $$
(5)

From the equation, the mean crystal size of nanoflakes was ascertained to be 32.818 nm, which is in agreement with the FESEM image (ESM Fig. 2Sc). The obtained mean crystal size is comparable with previous works reported in the literature [44, 45].

Dynamic light scattering

Dynamic light scattering (DLS) is the most suitable technique for estimation of the sizes of nanoparticles dispersed or dissolved in solvents [46]. DLS histograms of Cu(OH)2 nanoflakes are given in Fig. S4 (see ESM). The average hydrodynamic diameter for Cu(OH)2 nanoflakes was less than 400 nm with a size distribution of 0.389 polydispersity (ESM Fig. S4).

Surface area analysis

The BET method was utilized to further analyze the surface area properties and nitrogen adsorption–desorption isotherm (Fig. S5, see ESM). According to Fig. S5, the isotherm is convex naturally up to P/P 0 = 1, and the corresponding pore size distributions reveal the mesoporous nature of the sample. The BET surface area of Cu(OH)2 nanoflakes was calculated to be 16.6 m2 g–1 with respective pore volumes of 0.019 cm3 g–1 nm–1. The calculated surface area is better or comparable to the previous studies [47].

FTIR characterization

The FTIR spectrum in Fig. S6 (see ESM) provides information about interactions between the Cu(OH)2 nanoflakes. The IR bands at 3443 and 1618 cm–1 are assigned to the stretching vibrations of OH groups and physically adsorbed H2O, respectively [47, 48]. The bands at 1025 and 888 cm-1correspond to the C − O stretching vibration (probably related to trace amount of oleic acid used as a precusor) coordinating to metal cations (Cu2+) in Cu(OH)2[4750]. The medium band at 435 cm−1 is assigned to the Cu − O stretching mode [48, 51].

Central composite design (CCD)

Model fitting and statistical analysis

Four independent variables were selected in this study to evaluate the influence of operating parameters on the removal efficiency of MB dye. As shown in Table 1, the variables are pH (X 1) in the range 4–8, Cu(OH)2 nanoflakes dose (X 2) in the range 0.001–0.01 g, Triton X-114 volume (X 3) in the range 1–5 mL of 3 % (v/v), and temperature (X 4) in the range 25–65 °C. The variables were assigned one of three levels (low, basal, and high) with coded value (–1, 0, +1) and their star points of +2 and –2 for + α and –α respectively were selected for each set of experiments. A total of 30 experiments this work were used for the response surface modelling. ANOVA was also used to identify significant factors. Table 3 presents ANOVA results for MB removal by combined solid phase–cloud point extraction using the dispersion of Cu(OH)2 nanoflakes. ANOVA was applied to examine the fitness and accuracy of the model, effects of single variables, and interaction effects on the response [52]. The larger the magnitude of F value and, correspondingly, the smaller the “Prob. > F” value is, the more significant the corresponding coefficient [53]. The model F value is 46.08 with lower probability (<0.0001) indicating that the model is significant. There was only a 0.01 % possibility that the model F value could happen due to noise. As can be seen in Table 3, among the four variables studied, pH (X 1) has the largest effect on the removal of MB owing to the maximum F value followed in order by adsorbent dose (X 2), Triton X-114 volume (X 3), and temperature (X 4). The lack-of-fit for F value of 1.78 (p = 0.2721) indicates that this term is not significant to the pure error. The “Pred-R 2” of 0.8906 is in reasonable agreement with the “Adj-R2” of 0.9561. Based on data analysis (Table 3), an empirical second-order polynomial equation was obtained, which in terms of coded factors is as follows:

$$ \begin{array}{l}{y}_{\mathrm{Abs}}=+1.07+0.23{X}_1+0.15{X}_2+0.075{X}_3+0.054{X}_4+0.11{X}_1{X}_2-0.044{X}_2{X}_3+\hfill \\ {}0.037{X}_2{X}_4-0.086{X}_1^2-0.074{X}_3^2-0.036{X}_4^2\hfill \end{array} $$
(6)

where y is absorption of MB and X 1, X 2, X 3, and X 4 are the variables as mentioned above and presented in Table 1. In addition, the final equation in terms of actual factors is as follows:

$$ \begin{array}{l}{y}_{\mathrm{Abs}}=-3.330+0.926{X}_1-197.942{X}_2+0.6634{X}_3+2.813E-003{X}_4+50.000{X}_1{X}_2-19.444{X}_2{X}_3+\hfill \\ {}1.666{X}_2{X}_4-0.0864{X}_1^2-0.0740{X}_3^2-3.646E-004{X}_4^2\hfill \end{array} $$
(7)
Table 3 Analysis of variance for central composite design for MB dye analysis

The estimated regression coefficients, t values, and P values are given in Table 4. The significance of each model term was checked using P values. P values smaller than 0.05 indicate that the model is statistically significant, while values greater than 0.1000 indicate the model terms are not significant [52]. In this case all the linear model terms (X 1, X 2, X 3, and X 4), the three quadratic model terms (X 1 2, X 3 2, and X 4 2), and the one interaction term (X 1 X 2, X 2 X 2, X 2 X 4) are significant. The rest do not have a significant effect on the adsorption of MB because the p value is more than 0.05 (X 1 X 3, X 1 X 4, X 3 X 4, and X 2 2).

Table 4 Estimated regression coefficients

Figure 1a shows the comparison of predicted and experimental absorption of MB dye. The nearness of the points to the diagonal line indicates the good fit of the model, because the value of predicted R 2 of 0.8906 is in good agreement with the adjusted R 2 of 0.9561. Figure 1b shows the relationship between the normal probability (%) and the internally studentized residuals, and the high linearity shows that neither response transformation was required nor was there an apparent problem with normality [52, 54]. Adequate precision measures the signal to noise ratio. A ratio greater than 4 is desirable. Interestingly, our result is 27.296 indicating an adequate signal. Therefore, this model can be successfully used to navigate the design space.

Fig. 1
figure 1

a Comparison of predicted and experimental absorption MB dye. b Relationship between the normal probability (%) and the internally studentized residuals

Response surface methodology analysis

In order to gain a better understanding of the interaction effects of variables on recovery as well as the relationship between the variables and responses, three-dimensional (3D) and two-dimensional (2D) plots were drawn. The nature and extent of the effects of the interactions between the experimental factors on the response are understandable from the shape of the contour plot [55]. In fact, when the shape of contour plot is circular, it shows negligible interaction between the equivalent variables. On the other hand, an elliptical or saddle-type contour plot indicates significant interaction between the equivalent variables [56].

As mentioned above, the roles of pH and adsorbent dose are considered to be the most influencing variables in the absorption process. Figure 2 describes the effect of the combination of pH and adsorbent dose at constant values of temperature and Triton X-114 volume (concentration). The absorption efficiency of MB dye increases with increasing the pH just above 7 because of increasing the OH concentration on the surface of the adsorbent that preferably attracts positively charged ions like MB dye [9]. However, beyond this pH value the absorption efficiency starts to decrease which because at pH values higher than 7 the surface of the adsorbent gets highly negative charged because OH ions can occupy the free sites on the adsorbent. At pHs lower than 7, the surface of the adsorbent has positive charge due to protonation of functional groups of Cu(OH)2 in highly acidic solution which disfavors the adsorption of cationic ions like MB [9]. The amount of adsorbent is another important parameter to control the capacity of the adsorbent. On the basis of Fig. 8, the adsorption efficiency remarkably increases with increasing the amount of adsorbent at constant pH value as a result of increasing the available surface area for adsorption. After that, it does not affect the absorption efficiency.

Fig. 2
figure 2

Response surfaces for the MB extraction: a 3D surface X 1X 2; b 2D contour X 1X 2

At constant pH value (pH 7), the MB absorption efficiency increases with increasing the Triton X-114 concentration (volume) (Fig. 3). At lower Triton X-114 concentrations, the extraction yield is slightly lower probably because of the inadequacy of assemblies to entrap the hydrophobic analyte quantitatively [57]. On the other hand, adding extra amounts of Triton X-114 above the optimum value causes a decrease in the extraction efficiency which leads to an increase in the viscosity of the surfactant-rich phase, which may increase the turbidity of the sample solutions especially the blank solution [57].

Fig. 3
figure 3

Response surfaces for the MB extraction: a 3D surface X 1X 3; b 2D contour X 1X 3

The maximum extraction efficiency of analytes occures when the CPE process is carried out at the equilibrium temperature higher than the cloud point temperature of the surfactant (Triton X-114) [58]. Figure 4 shows the combined influence of pH and temperature under constant adsorbent dose and initial dye concentration conditions. At constant pH value, the MB absorption efficiency increases from 25 °C to 45 °C. At temperatures below 45 °C, the extraction efficiency decreases. That decrease is likely due to the insufficient separation of the surfactant and the aqueous phases resulting from the incomplete dissolution of Triton X-114 at those temperatures [59]. However, at temperatures higher than 45 °C, there is no remarkable change in the extraction efficiency.

Fig. 4
figure 4

Response surfaces for the MB extraction: a 3D surface X 1X 4; b 2D contour X 1X 4

The combined effects of Triton X-114 volume and adsorbent dose at constant temperature (45 °C) and pH 7 are given in Fig. 5. The increase of adsorbent dose is directly proportional to the increase in the extraction efficiency. Furthermore, at constant value of adsorbent dose, the extraction efficiency increases by increasing Triton X-114 concentration or volume up to 3 mL of 3 % (v/v) followed by a decrease thereafter.

Fig. 5
figure 5

Response surfaces for the MB extraction: a 3D surface X 2X 3; b 2D contour X 2X 3

Figure 6 shows the effect of both adsorbent dose and temperature on the extraction efficiency at constant pH 7 and Triton X-114 volume (3 mL of 3 % (v/v)). Increasing the temperature up to 45 °C at pH 7 increases the absorbance and becomes nearly constant thereafter.

Fig. 6
figure 6

Response surfaces for the MB extraction: a 3D surface X 2X 4; b 2D contour X 2X 4

Figure 7 displays the effect of the combination of Triton X-114 volume (concentration) and temperature at constant values of the pH 7 and adsorbent dose (0.0055 g). The extraction efficiency improves by increasing the temperature up to 45 °C and Triton X-114 concentration 3 mL of 3 % (v/v). A decline in absorbance value was observed by adding extra Triton X-114 volume after the optimum point.

Fig. 7
figure 7

Response surfaces for the MB extraction: a 3D surface X 3X 4; b 2D contour X 3X 4

Conformation of optimal conditions

The extraction efficiency and the operation conditions for maximum absorbance of MB dye from aqueous solution were calculated from the second-order equation obtained from the experimental data. The first-order partial differential equations obtained from Eq. (7) for X i are

$$ \frac{\partial Y}{\partial {X}_1}=+0.926+50.00{X}_2-0.0864{X}_1 $$
(8)
$$ \frac{\partial Y}{\partial {X}_2}=-197.942+50.00{X}_1-19.444{X}_3+1.666{X}_4 $$
(9)
$$ \frac{\partial Y}{\partial {X}_3}=+0.6634-19.444{X}_2-0.0740{X}_3 $$
(10)
$$ \frac{\partial Y}{\partial {X}_4}=+2.813E-003+1.666{X}_2-3.646E-004{X}_4 $$
(11)

The second-order differential equations are

$$ \frac{\partial^2Y}{\partial {X}_1^2}=-0.0864 $$
(12)
$$ \frac{\partial^2Y}{\partial {X}_2^2}=00.00 $$
(13)
$$ \frac{\partial^2Y}{\partial {X}_3^2}=-0.0740 $$
(14)
$$ \frac{\partial^2Y}{\partial {X}_4^2}=-3.646E-004 $$
(15)

By considering \( \frac{\partial Y}{\partial {\mathrm{x}}_i}=0 \) resulting in maximum value of Y (absorbance) for Eqs. (8)–(11), the value of X i (X 1, X 2, X 3, and X 4) could be obtained. The solutions of Eqs. (8)–(11) were found to be X 1 = 8.266, X 2 = –0.00424, X 3 = 10.078, and X 4 = –11.643. These values were then converted to actual values of X 1 (pH) = 7, X 2 (adsorbent dose) = 0.0055 g, X 3 (Triton X-114 concentration) = 3 mL of 3 % (v/v), and X 4 (temperature) = 45 °C (Table 1). Under the optimum conditions, the maximum predicted absorbance was 1.2094 with satisfactory desirability of 0.946 as shown in Fig. 8.

Fig. 8
figure 8

Contour plot obtained from RSM optimization for optimum extraction efficiency

Adsorption capacity of Cu(OH)2 nanoflakes

The adsorption capacity is an important parameter for the evaluation of an adsorbent, because it determines how much sorbent is required for the quantitative removal of an analyte in solution [60]. A batch method was adopted for the evaluation of the adsorption capacity of Cu(OH)2 nanoflakes. The concentrations of MB were estimated using the linear regression equation obtained by plotting its calibration curve. The removal percentage (R %) was calculated using the following equation:

$$ R\%=\left(\frac{C_0{\textstyle \hbox{-} }{C}_{\mathrm{t}}}{C_0}\right)\times 100 $$
(16)

where C 0 (mg L–1) and C t (mg L–1) are the initial concentration of dye and that after time t, respectively [8]. The dye adsorption capacities of the adsorbent were estimated for the two doses (0.0055 and 0.01 g) at room temperature, pH 7, and different initial MB dye concentration in a 50-mL tube for 30 min. The amount of adsorbed MB at equilibrium (q e (mg g–1)) was calculated using Eq. (2):

$$ {q}_{\mathrm{e}}=\left({C}_0-{C}_{\mathrm{e}}\right)\frac{V}{W} $$
(17)

where q e is the amount of adsorbed MB per gram adsorbent at equilibrium (mg g–1) and C 0 and C e are the concentrations of the MB before and after adsorption (mg L–1), V and W are the volume of the aqueous phase (L) and the mass of the adsorbent (g), respectively [61]. The removal process by a homogenous identical site surface with negligible interaction is described by the Langmuir equation [10]:

$$ \frac{C_{\mathrm{e}}}{q_{\mathrm{e}}}=\frac{1}{K_{\mathrm{L}}{Q}_{\mathrm{m}}}+\frac{C_{\mathrm{e}}}{Q_{\mathrm{m}}} $$
(18)

where C e is the equilibrium molar concentration of the dye (mg L–1), q e is the number of moles of solute adsorbed per unit weight at concentration C (mol g–1), Q m is the maximum adsorption capacity, and K L is the Langmuir constant or adsorption equilibrium constant (L mg–1) that is related to the apparent energy of sorption [8]. The Langmuir plot (C e/q e vs. C e) for MB adsorption at room temperatures is a straight line, and the values of Q m and K L constants and the correlation coefficients for this model are presented in Table 5 and Fig. 9.

Table 5 Langmuir isotherm constant and correlation coefficient calculated for the adsorption of MB onto the adsorbent
Fig. 9
figure 9

Langmuir isotherm for the extraction of MB for 0.0055 and 0.010 g of Cu(OH)2 nanoflakes in 50 mL of different initial MB concentrations at pH 7 and 30 min as contact time

Reusability of Cu(OH)2 nanoflakes sorbent

In order to evaluate the reusability of the sorbent, MB–Cu(OH)2–nanoflakes were eluted with a mixture of methanol and nitric acid solution and then washed with water. The sorbent was reused several times. Our results showed that each 0.0055 g of the sorbent can be used five times without any significant change in its properties and sorption capacity.

Interferences study

In order to assess the selectivity of the method, the effect of common matrix ions and some dyes which may interfere with the determination of MB was examined under the optimum conditions (Table 6). To carry out an interference study, the absorbance of a constant MB concentration (100 μg L–1) was measured before and after adding interfering ions and dyes. A relative error of ±5 % in the absorbance measurement was considered as interference. Our results demonstrated that the most common coexisting ions did not show a serious effect on the determination and separation of the MB dye. The two cationic dyes interfered more than the other anionic dyes. This can be attributed to the effect of pH value because the cationic dyes are more extractable than anionic dyes at this pH.

Table 6 Effect of interfering ions and dyes on the determination of 100 μg L–1 of MB

Analytical figures and merit

The analytical characteristic data for the present dispersive CPE–SPE system are shown in Table 7. Under the optimum conditions, a calibration graph was constructed that was linear in the range of 2.0–350.0 μg L–1 of MB dye with a correlation coefficient (R) of 0.9996 indicating its good linearity. The equation of the line for MB was A = 0.0159C + 0.0040, where A is the absorbance and C is the concentration of MB in micrograms per liter in the initial solution. The limits of detection (\( \mathrm{L}\mathrm{O}\mathrm{D}=3{\partial}_{\raisebox{1ex}{$y$}\!\left/ \!\raisebox{-1ex}{$x$}\right.}/b \)) and quantification (\( \mathrm{L}\mathrm{O}\mathrm{Q}=10{\partial}_{\raisebox{1ex}{$y$}\!\left/ \!\raisebox{-1ex}{$x$}\right.}/b \)) [62] were found to be 0.65 and 2.05 μg L–1, respectively where \( {\partial}_{\raisebox{1ex}{$y$}\!\left/ \!\raisebox{-1ex}{$x$}\right.} \) is the standard deviation of y residual and b is the slope of the calibration plot [62]. In addition, the relative standard deviation (RSD) for ten replicates of 20 and 100 μg L–1 of MB dye was 1.05 and 1.65, respectively. A preconcentration factor (V Aqueous/V Surfactant-rich phase) of 100.0 was achieved, thereby confirming the sensitivity of the developed dispersive SPE–CPE method. An enrichment factor (EF) of 120.0 was achieved; EF is defined as the ratio the analyte concentration in the sedimented phase to its initial concentration in the sample. The analytical characteristic obtained by the proposed method is better or, at least, comparable to the previously reported methods for removal of MB dye [63, 64].

Table 7 Analytical characteristics of the proposed method

Application to real samples (scalability)

The developed method was applied to different samples including domestic wastewater, water from Karoon river (located in an industrial city, Ahvaz), and water from Beshar river (Yasouj city) to evaluate the applicability and scalability of the method. Standard additions calibration was utilized to analyze the accuracy of the method (Table 8). Our results confirmed that the developed method provided satisfactory recoveries ranging from 96.00 to 103.35 %. Statistical analysis of these results using Student’s t test showed that there is no significant difference between the actual and measured concentrations at the 95 % confidence level.

Table 8 Determination of MB in different water samples

Role of Cu(OH)2 nanoflakes

Cu(OH)2 nanoflakes have two crucial properties that affect the adsorption efficiency: (1) they have a relatively high surface area and large number of active sites leading to high adsorption capacity and efficiency (adsorption capacity > 122 mg g−1); (2) they cause very rapid adsorption to the vessel, only by using a very low amount of them (0.0055 g).

Comparison with other adsorbents

The comparison between Cu(OH)2 nanoflakes and the other sorbents previously studied for the adsorption of MB on the basis of some important analytical parameters, especially maximum adsorption capacity, are given in Table 9. As can be seen in Table 9, the MB adsorption capacity of Cu(OH)2 nanoflakes at room temperature (ca. 298 K) is 122.68 mg/g, which is comparable to or higher than those reported previously. In addition, by comparison of the amount of adsorbent used in Table 9, it is observed the amount of adsorbent in our study is very negligible (0.0055 g of sorbent, ca. 0.11 g/L) and is better than or comparable to previous studies. The two aforementioned facts prove the efficiency of our method for removal of MB from contaminated water.

Table 9 Comparison of removal efficiency of Cu(OH)2 nanoflakes with some previously reported MB adsorption onto various sorbents

Conclusions

This article presents a new efficient method for removal of MB dye in wastewater. The new method developed in this study is based on a combined dispersive solid phase and cloud point extraction using Cu(OH)2 nanoflakes as sorbent for spectrophotometric determination of MB dye. RSM with CCD was used for the performance evaluation of the parameters affecting the extraction efficiency. The developed method showed remarkable advantages for efficient removal of MB from different wastewater resources including high preconcentration factor, low LOD, very negligible amount of sorbent and solvent, and high accuracy. Unlike most previous studies on SPE–CPE (which used commercial nanoparticles), we successfully synthesized a new efficient sorbent (Cu(OH)2 nanoflakes) for MB removal.