Skip to main content

A chemometric approach based on response surface methodology for optimization of antibiotic and organic dyes removal from water samples


In this study, the Fe3O4/rGO/Ag magnetic nanocomposite was synthesized and employed as an adsorbent for the removal of tetracycline (TC), crystal violet (CV), and methylene blue (MB) from water samples. The influential parameters in the removal process were identified and optimized using response surface methodology (RSM). Characterization of the product was performed through field emission scanning electron microscopy (FE-SEM), Fourier-transform infrared spectroscopy (FTIR), energy dispersive X-ray spectroscopy (EDX), vibrating-sample magnetometer (VSM), and X-ray diffraction (XRD) analysis. XRD and SEM analysis revealed the successful synthesis of the Fe3O4/rGO/Ag nanocomposite. EDX analysis elucidated the accuracy and clarity of the chemical composition of the magnetic nanocomposite structure. Additionally, the separation of the nano-adsorbent from the solution can be achieved using a magnetic field. Maximum removal of analytes was obtained at pH of 6, amount of nanocomposite 0.014 g, ultrasonic time of 8 min and concentration of 21 mg L−1. Under optimal conditions, the removal efficiencies for TC, CV, and MB were 91.33, 95.82, and 98.19%, respectively. Also, it was observed that after each adsorption–desorption cycle, Fe3O4/rGO/Ag magnetic nanocomposite had good stability to remove TC, CV, and MB. Achieving nearly 98% removal efficiency in optimal conditions showed that Fe3O4/rGO/Ag magnetic nanocomposite is an effective adsorbent for removing TC, CV, and MB from wastewater samples.

Peer Review reports


Access to safe and hygienic drinking water is essential to improve public health [1]. With the rapid growth of urbanization and industrialization of cities, the release of antibiotics and aromatic hydrocarbons in the ecosystem, even at very low concentrations, has increased concerns [2, 3]. Therefore, in order to deal with the contamination of water and living organisms, it is necessary to find ways to remove these substances from the aquatic environment.

Tetracycline (TC) is used as an antibiotic for the treatment of bacterial infections. Over 80% of this substance is excreted from the human body through urine within 2 h of its consumption [4, 5]. Considering the direct biological impact of this chemical compound on microorganisms and the development of antibiotic-resistant bacteria, it poses a significant potential threat [6, 7]. Additionally, the bioaccumulation potential of this compound along the food chain can intensify its toxicity.

The presence of dyes in wastewater creates serious environmental problems due to their high toxicity for aquatic microorganisms and unfavorable aesthetic effects [8, 9]. Crystal violet (CV) and methylene blue (MB) dyes enter the water environment via different sources such as textile industries, printing, fish farming, and cosmetics and hygiene products [10, 11]. Dyes not only give an undesirable color to the water but, in some cases, are harmful compounds that can produce toxic by-products through oxidation, hydrolysis, or other chemical reactions in water [12, 13].

Various methods have been proposed for the removal of antibiotics and dyes, including chemical oxidation, precipitation, distillation, ion exchange, membrane processes, reverse osmosis, and adsorption processes [14,15,16,17,18,19]. These methods, however, come with challenges and drawbacks such as high costs, low efficiency, prolonged processing times, generation of secondary pollutants, and more [20, 21]. To overcome these issues, research is underway to find more suitable methods, among which surface adsorption processes stand out. The use of surface adsorption processes for purifying different types of wastewaters has been on the rise, holding significant importance in the field of wastewater treatment [22, 23].

The adsorption method can be employed using various materials such as activated carbon, magnetic nanoparticles, modified nanoparticles, modified silica nanoparticles, metal oxide nanoparticles, and carbon nanotubes [24,25,26]. In the past two decades, extensive research has been dedicated to advancing nanotechnology and nanomaterials. Magnetic nanoparticles have multifaceted applications in various fields, and due to their high surface area, favorable separation characteristics in external magnetic fields, and enhanced adsorption capabilities through surface modification, they have garnered significant attention in the removal of antibiotics and dyes [27, 28]. Among magnetic nanoparticles, metal oxide magnetic nanoparticles are highly regarded for their ease of separation by creating a magnetic field. Additionally, magnetically combined nanoparticles with support matrices facilitate separating and recovering these particles from aqueous solutions [29]. This separation and recovery contribute to reducing the costs of water and wastewater treatment processes. Extensive laboratory studies have shown that iron nanoparticles can be utilized for the removal of dye and antibiotics from contaminated wastewater [30, 31].

Rouhani et al. [32] investigated the removal of tetracycline from water and wastewater samples using the Fe3O4/Clinoptilolite nanocomposite. The study focused on examining the parameters of contaminant concentration, adsorbent, and pH in a batch system. The maximum efficiency of tetracycline removal by Fe3O4/Clinoptilolite nanocomposite was 98.6% at pH 7 [32].

In another study, Lin et al. [33] utilized iron oxide nanoparticles synthesized from the extract of Excoecaria cochinchinensis leaf as an adsorbent for the removal of Cd (II). The research explored the effects of pH, temperature, adsorbent dosage, and ionic strength. The maximum Cd (II) removal efficiency reached 98.50% under the conditions of an ionic strength of 0.07 M, pH of 8.07, temperature of 45 °C, and an absorbent dosage of 2.5 g L−1 [33].

The method of experimental design and analysis of experimental results using response surface methodology (RSM) has been widely employed in many studies. RSM is highly beneficial for designing experiments and analyzing data in a way that enables targeted and reliable conclusions [34]. Essentially, RSM is a specific set of mathematical and statistical methods used for experiment design, model construction, evaluating optimal conditions, and assessing the effects of independent variables on dependent variables [35]. RSM has been applied in various studies concerning removing pollutants such as dyes, heavy metals, and antibiotics from aquatic environments [36, 37].

In the present study, the removal efficiency of TC, CV, and MB by the Fe3O4/rGO/Ag magnetic nanocomposite was investigated. Additionally, the impact of four factors, namely process time, pH, pollutant concentration, and adsorbent amount, on the adsorption efficiency was examined. Subsequently, experiments were designed using the Response Surface Methodology (RSM) in the Design Expert software, and the optimal conditions for the variables were calculated.

Materials and methods

Materials and instrumentation

All chemicals used in the experiments were of laboratory-grade purity and were employed without prior preparation. The utilized chemicals included ethanol, tetracycline, hydrochloric acid, iron(II) chloride tetrahydrate, sodium hydroxide, sodium nitrate, acetonitrile, crystal violet dye, potassium permanganate, graphite, iron(III) chloride hexahydrate, silver nitrate, hydrogen peroxide, sodium borohydride, and methanol, all procured from Merck, Germany. Deionized water was used in all experiments. The pH was determined using a pH meter, and sample agitation was performed with a shaker. Analysis of samples containing antibiotic and dye was carried out using UV–Vis spectrophotometer. The morphology, structure, and composition properties of Fe3O4/rGO/Ag magnetic nanocomposite were explored using field emission scanning electron microscopy (FE-SEM), Fourier-transform infrared spectroscopy (FTIR), energy dispersive X-ray spectroscopy (EDX), vibrating-sample magnetometer (VSM), and X-ray diffraction (XRD).

Synthesis of graphene oxide (GO)

Graphene oxide (GO) was synthesized using the modified Hummers method [38]. To achieve this, 1 g of graphite and 1.5 g of sodium nitrate were added to 54 mL of concentrated sulfuric acid and placed in an ice bath. Subsequently, 4 g of potassium permanganate were gradually added to the mixture with vigorous stirring. The ice bath was then removed, and the suspension was allowed to reach a temperature of 35 °C. The solution was held in this state for 45 min. Following this, 150 mL of distilled water was added to the mixture with stirring, and the temperature was increased until the color changed to brown. The mixture was stirred for 24 h at room temperature. Then, 3.5 mL of 30% hydrogen peroxide was gradually added to the solution with stirring to convert the remaining permanganate and manganese dioxide to manganese sulfate. At this stage, a black precipitate formed. The resulting suspension was filtered and washed three times with 3% hydrochloric acid to remove metal impurities. The wash was then continued with water until the pH of the liquid obtained from centrifugation reached approximately 7. To disperse the graphene layers, the final wash of the precipitates was carried out with water for 30 min in an ultrasonic bath. Finally, the precipitate was separated and dried at 40 °C for 24 h.

Synthesis of Fe3O4/rGO/Ag magnetic nanocomposite

To synthesize the Fe3O4/rGO/Ag magnetic nanocomposite, 50 mg of prepared graphene oxide were added to 150 mL of deionized water and sonicated for 2 h. Then, 176 mg of FeCl3.6H2O and 130 mg of FeCl2.4H2O were added to the mixture, and the solution’s pH was adjusted to 11 using 1 M NaOH. The temperature of the resulting mixture was raised to 80 °C, and it was stirred for 2 h under these conditions. Subsequently, the obtained precipitate was separated using a magnet, washed several times with deionized water, and then dispersed in 150 mL of deionized water. In the next step, 79 mg of AgNO3 were added to the mixture under vigorous stirring. After 15 min, 2 mL of 0.05 M NaBH4 solution was slowly added dropwise to the mixture, and the resulting mixture was stirred again at 80 °C for 2 h. The precipitate obtained was then separated by the magnet after reaching room temperature, washed multiple times with deionized water, and finally, the magnetic nanocomposite (Fe3O4/rGO/Ag) was dried at 60 °C [39].

The pH of the point of zero charge (pH pzc ) of adsorbent

To investigate the removal mechanism of dyes and antibiotics more precisely, the pH of the point of zero charge (pHpzc) was determined. The pHpzc, where the adsorbent surface is electrically neutral and uncharged. The pHpzc measurement was conducted in 10 flasks containing a solution with 0.1 M NaCl. The initial pH of the solution was adjusted from 1 to 10 using 0.01 M NaOH and 0.01 M HCl. Subsequently, 0.1 g of the adsorbent material was added to each solution, and the electrolyte solution was stirred with the adsorbent for 24 h. After reaching equilibrium, the pH of the solutions was measured. The ∆pH versus initial pH curve was plotted, and the pHpzc value was estimated.

Experiment design

Various parameters play a role in the surface adsorption process. Therefore, optimizing these parameters is crucial for achieving a high surface adsorption rate of analytes. Among the different protocols and methods available, RSM has gained strength in recent years as the most efficient statistical technique for analyzing and optimizing the parameters of various processes. RSM includes a set of statistical and mathematical techniques to build an experimental model and its purpose is to optimize the response by carefully designing experiments to simultaneously understand the interactive effects between variables [40]. This analysis begins with designing a series of experiments to obtain sufficient predictions of a response. Then, fitting a hypothetical (empirical) model to the data obtained in the selected design and finally determining the optimal conditions on the input variables of the model, leading to maximizing or minimizing the study’s response, can determine the impact of different factors on the effectiveness of the result [41]. Furthermore, by examining parametric effects and interactions, it can identify a combination of factors and values needed to maximize effectiveness (pollutant removal). The design and optimization of reaction parameters were conducted using RSM testing and the Design Expert v.12 software.

In this regard, effective parameters in the removal of pollutants during the surface adsorption process, including time, the amount of nanocomposite, analyte concentration, and pH, were investigated using the Box–Behnken Design (BBD) method. This method not only predicts reliable results as a function of other variables but also introduces the best mathematical model. Other advantages include estimating the second-degree model parameters, and design points, the need for fewer experiments, creating sequential designs, detecting the lack of fit in the model, and utilizing blocks. The impact of these four studied variables, their ranges, and coded levels are also shown in Table 1. Based on this, a second-order model is fitted to predict the optimal point for determining the correlation between independent variables and responses better. For these four variables, the prediction model is expressed as Eq. 1.

$$ {\text{Y}}\, = \,\beta_{0} + \,\sum\nolimits_{i = 1}^{k} {\beta_{i} X_{i} } \, + \,\sum\nolimits_{i = 1}^{k} {\beta_{ii} X_{i}^{2} } \, + \,\sum\nolimits_{i \le j}^{k} {\sum\nolimits_{j}^{k} {\beta_{ij} X_{i} } } X_{j} \, + \,e $$
Table 1 The design matrix

In this equation, Y represents the calculated response, β0 is the model constant coefficient, Xi and Xj are independent variables, βi and βj are linear coefficients, βij is the interaction coefficient, and βii is the second-degree coefficient.

Experimental procedure

In the current study, initial experiments were conducted on laboratory samples, and ultimately, after obtaining the optimal conditions, experiments were performed on industrial wastewater. For each trial, 50 mL of prepared solutions with different concentrations were poured into Erlens. Then, 0.01 M HCl and 0.01 M NaOH solutions were used to adjust the desired pH. In the next step, 0.014 g of the adsorbent was weighed and added to the solution. Subsequently, containers containing the samples were placed in an ultrasonic bath for a specific period. After the desired time, the Erlens were removed from the ultrasonic bath and placed next to a magnet. After the magnetic nanoparticles were absorbed by the magnet and separated from the aqueous solution, an appropriate amount of the sample was poured into a sample container. In the next step, the remaining concentration of dye and antibiotics was analyzed using a UV–Vis spectrophotometer. The removal efficiency was calculated using Eq. 2.

$$\%R =\frac{{C}_{0}-{C}_{e}}{{C}_{0}} \times 100$$

where %R is the percentage of analyte removal by the Fe3O4/rGO/Ag magnetic nanocomposite, C0 is the initial concentration, and Ce is the final concentration.

Results and discussion

Characterization of the Fe 3 O 4 /rGO/Ag nanocomposite

FT-IR spectroscopy was employed to determine the nature and confirm the presence of functional groups in the structure of the materials. The FT-IR spectra of magnetic graphene oxide (Fe3O4/GO) and magnetic nanocomposite Fe3O4/rGO/Ag are shown in Fig. 1a. In both spectra, a broad peak at 3419 cm−1 corresponds to the stretching mode of hydroxyl groups present in the graphene layers. The peaks at 17301, 1617, 1035, 1430, and 1260 cm−1 represent the stretching modes of the C=O group in carboxyl, the C=C group, the C-O-C group, the C-OH group, and the C-O vibration in the epoxy group, respectively. Additionally, a peak observed in the region of 580 cm−1 corresponds to the stretching mode of the Fe-O bond.

Fig. 1
figure 1

a FTIR, b XRD, c VSM, d SEM e EDX, and f pHpzc of Fe3O4/rGO/Ag nanocomposite

Figure 1b illustrates the X-ray diffraction (XRD) patterns of reduced graphene oxide (rGO) and magnetic nanocomposite Fe/rGO/Ag in the 2θ range of 10–80°. The diffraction patterns in Fig. 1b exhibit four peaks at 37.89, 44.25, 64.43, and 78.61°, corresponding to the crystalline surfaces (111), (200), (220), and (311), respectively, which are characteristic of the crystal structure of silver nanoparticles. This diffraction pattern aligns well with reported data (JCPDS no. 0783–04) [42]. The XRD pattern related to magnetic iron oxide nanoparticles shows seven peaks at 21.97, 30.18, 35.64, 42.83, 54.51, 57.15, and 63.09°, confirming the crystalline surfaces (111), (220), (311), (400), (422), (511), and (440) of these nanoparticles. This observation is in good agreement with patterns reported in the literature [43]. The XRD pattern of the synthesized nanocomposite clearly displays all peaks corresponding to the structures of silver nanoparticles and magnetic nanoparticles.

The magnetic behavior of Fe3O4 and Fe3O4/rGO/Ag was measured under an applied magnetic field ranging from 10 to 10 kOe at room temperature. According to the results presented in Fig. 1c, the maximum magnetic saturation of Fe3O4 nanoparticles and Fe3O4/rGO/Ag nanocomposite is 57.5 and 30.1 emu g−1, respectively. As the results indicate, the addition of silver nanoparticles and graphene sheets to the nanocomposite reduces the magnetic saturation of Fe3O4 nanoparticles. However, this level of magnetic saturation is sufficient for separating the nano-adsorbent from the solution using a magnet.

The FE-SEM image of the Fe3O4/rGO/Ag magnetic nanocomposite is provided in Fig. 1d. The structure of this nanocomposite appears as reduced graphene oxide sheets with magnetic Fe3O4 and silver nanoparticles forming accumulations of spherical and quasi-spherical nanoparticles with an average size below 50 nm on its surface. The silver nanoparticles, depicted with a brighter color and larger dimensions than the dark-colored magnetic Fe3O4 nanoparticles, exhibit a clustered and semi-aggregated morphology in the images.

EDX has been utilized for elemental analysis and precise determination of the chemical composition of the Fe3O4/rGO/Ag magnetic nanocomposite. The results are presented in Table 2 and Fig. 1e. As observed, the elemental analysis accurately elucidates the presumed chemical composition for the Fe3O4/rGO/Ag magnetic nanocomposite structure.

Table 2 Results of elemental analysis of Fe3O4/rGO/Ag magnetic nanocomposite

Also, the pH of Fe3O4/rGO/Ag adsorbent was studied and the obtained results can be seen in Fig. 1f. According to the results shown in Fig. 1f, the pHpzc for the Fe3O4/rGO/Ag adsorbent was found to be 5.3. Therefore, the surface of Fe3O4/rGO/Ag adsorbent at pH values lower than and higher than 5.3 has a positive surface charge and a negative surface charge, respectively.

Investigation of the efficiency of adsorbents in TC, CV, and MB removal

After preparing the nanocomposite and identifying its characteristics, the efficiency of various adsorbents, including rGO, Fe3O4, and Fe3O4/rGO/Ag, was investigated for the removal of TC, CV, and MB. The results obtained are reported in Fig. 2. According to the results, rGO possesses the necessary capability for removing TC, CV, and MB from water samples. However, for better dispersion of graphene sheets and the use of a magnet for easy and rapid separation of the adsorbent from the solution, magnetic nanoparticles were employed. Therefore, among the examined adsorbents, Fe3O4/rGO/Ag was selected for further studies.

Fig. 2
figure 2

Efficiency of adsorbent type in removing TC, CV, and MB

Optimization of TC, CV, and MB removal conditions using the BBD method

To achieve the best conditions for the removal of TC, CV, and MB, effective parameters in the process were studied using the Box–Behnken Design (BBD) method. As mentioned earlier, four factors, including time (min), adsorbent dosage (g), analyte concentration (mg L−1), and pH, were selected. A total of 29 experiments were designed using the Design Expert v.12 software based on the BBD method. According to the design, experiments were conducted by the software to find the optimal range of variables, and the results of TC, CV, and MB removal percentages are presented in Table 3.

Table 3 The results of BBD

ANOVA was employed to assess the significance and validity of second-degree models that were predicted, and the Fisher statistical test was used to examine the influence of factors on the response variables. The software determined the importance and impact of the estimated coefficients for each variable and all possible interactions between them on the response variables. To identify important factors and create a model for optimization, a second-degree model incorporating all terms in Eq. 1 was utilized in the experimental design.

Effects with less importance than 95% or, in other words, effects with p-values greater than 0.05 (p > 0.05) were considered errors and were eliminated [44]. Subsequently, a new analysis of variance was performed for the reduced model. Replicating central points (n = 5) in the experimental design was done to estimate the amount of experimental error. On the other hand, the coefficients of determination (R2), adjusted R2 (Adj-R2), and predicted R2 (Pred-R2) can serve as quick and easy tools to assess the model's conformity to the predictive power, especially when removing one of the data. These three parameters should not differ significantly for an appropriate model. Some features of the reduced model obtained for TC, CV, and MB are observable in Tables 4, 5, 6, respectively.

Table 4 ANOVA for removal of TC
Table 5 ANOVA for removal of CV
Table 6 ANOVA for removal of MB

Regression analysis of the model equations indicates that the significant parameters and their interactions are highly meaningful (p-value < 0.0001). The Prob˃F values identified first-order effects, square effects, and interactions between variables as crucial model terms. The F-values of the model are 1643.04, 549.86, and 200.93 for TC, CV, and MB, respectively. Moreover, the p-value < 0.0001 signifies the significance of the models. The responses of TC, CV, and MB removal process after removing ineffective terms were predicted at a 95% confidence level by Eqs. 35.

$$ \% {\text{R}} - {\text{TC }} = \, + {83}.{32 } + {8}.{\text{425A }} - {1}.{\text{46B }} + {3}.{\text{12C }} - {4}.{\text{21D }} - {6}.{\text{87AB }} - {24}.{\text{84AC }} - {1}.0{\text{2AD 16}}.{\text{46BC }} - {12}.0{\text{1BD }} - {7}.{\text{42CD }} - {25}.{\text{16A}}^{2} \, - {25}.{\text{55B}}^{2} \, - {1}.{\text{85C}}^{2} \, - {17}.{\text{27D}}^{2} $$
$$ \% {\text{R}} - {\text{CV}} = \, + {89}.{462 } + {3}.{\text{47A }} - {2}.{\text{57B }} + {6}.{\text{73C }} - {5}.{3}0{\text{D }} - {2}.0{\text{2AB }} - {17}.{6}0{\text{AC }} + {3}.{\text{61AD }} + {9}.{\text{76BC }} - {4}.0{\text{5BD }} - {1}.{\text{85CD }} - {18}.{7}0{\text{A}}^{2} \, - {15}.{\text{86B}}^{2} \, - {6}.{\text{16C}}^{2} \, - {12}.{\text{75D}}^{2} $$
$$ \% {\text{R}} - {\text{MB}} = \, + {93}.{48} \, + {4}.{2}0{\text{A }} + {4}.{5}0{\text{B }} + {4}.{\text{36C }} - {4}.{\text{66D }} - {9}.00{\text{AB }} - {2}0.{\text{47AC }} + {2}.{\text{98AD }} + {13}.{\text{82BC }} - {4}.{5}0{\text{BD }} - {5}.{\text{95CD }} - {17}.{\text{71A}}^{2} \, - {14}.{\text{65B}}^{2} \, - {5}.{\text{51C}}^{2} \, - {14}.{\text{58D}}^{2} $$

According to the ANOVA results, the R2 values for TC, CV, and MB are 0.9994, 0.9982, and 0.9950, respectively. These high R2 values ensure a satisfactory fit of the models to the experimental data. Furthermore, the Lack of Fit (LOF) corresponding to the F-value of the model (0.4632, 0.9591, and 0.9180 for TC, CV, and MB) indicates that the data variability around the predicted model is not significantly meaningful compared to the pure error. The efficiency and accuracy of the model, with R2 values exceeding 0.99, demonstrate excellent agreement between actual and predicted values for TC, CV, and MB removal, as illustrated in Fig. 3a–c using the Fe3O4/rGO/Ag nanocomposite.

Fig. 3
figure 3

Plot of predicted values versus actual values for a TC, b CV, and c MB

3D response surface analysis

Three-dimensional (3D) plots depicting the predicted responses of the model are presented in Fig. 4a–c, aiming to achieve a surface response for each variable. The response surface plots illustrate the correlation and interaction between two variables and the extent of TC, CV, and MB removal while keeping other variables at central levels. The results reveal a nonlinear relationship between the response and the four variables, demonstrating the dependence of the removal percentage on all examined variables. Optimal conditions were determined based on the response surface plots.

Fig. 4
figure 4

The three-dimensional (3D) plots of removal of a TC, b CV, and c MB

Considering the significant influence of the solution pH in the removal process, this factor was investigated concerning the removal of TC, CV, and MB. The effect of pH on the removal process of TC, CV, and MB was examined within the pH range of 4–10. The obtained results (Fig. 4a) indicate that the adsorption behavior on the surface of the Fe3O4/rGO/Ag nanocomposite is influenced by the solution pH. Additionally, the pHpzc (point of zero charge) of the Fe3O4/rGO/Ag nanocomposite was determined to be 5.3. Consequently, the nano-adsorbent surface possesses a positive surface charge at pH values below 5.3 and a negative charge at pH values above 5.3. Increasing the pH beyond the pHpzc and the concentration of hydroxide ions in the solution leads to the creation of a negative charge on the adsorbent surface. In the presence of cations in the solution, electrostatic attraction between the negative charge of the adsorbent surface and the positive charge of cations occurs, enhancing the adsorption of cations from the solution by the adsorbent. Therefore, in the subsequent stages of the research, the optimum pH for the adsorption of analytes onto the Fe3O4/rGO/Ag adsorbent was determined to be 6.

The impact of CV concentration on the efficiency of surface adsorption removal was investigated by varying the initial concentration from 10 to 30 mg L−1 while keeping other parameters constant. As illustrated in Fig. 4b, the removal efficiency of the dye by the employed adsorbent decreases with the increase in dye concentration, which is a natural occurrence. This reduction can be attributed to the fact that, as the dye concentration rises, its remaining amount also increases. Consequently, the removal efficiency decreases, and another contributing factor is the saturation of the adsorbent surface at higher dye concentrations.

Furthermore, based on the results presented in Fig. 4c, it is evident that the MB removal efficiency distinctly increases as a quadratic function with the rise in the adsorbent amount and contact time. This observation can be attributed to the increased availability of active sites for dye interactions due to the elevated amount of the nano-adsorbent. Additionally, the extended contact time provides the necessary opportunity for the adsorption of the analyte by the nano-adsorbent. Therefore, both factors contribute to an increase in the percentage of dye removal. The highest removal efficiency of MB, 98.19%, was achieved under optimal conditions, including a contact time of 8 min and an adsorbent amount of 0.014 g.


The optimization of the model and determination of optimal variable values in the TC, CV, and MB removal process by Fe3O4/rGO/Ag magnetic nanoparticles was carried out using the software. Essentially, the software determined the optimization conditions for each variable and the corresponding response. To achieve this, all parameters were set within the design range, maximizing the removal efficiency. Experiments were conducted under specified conditions (concentration of 21 mg/L, pH 6, time of 8 min, and a nanocomposite amount of 0.014 g) as outlined in Table 7. The experimental removal efficiencies under these optimal conditions for TC, CV, and MB were 91.33, 95.82, and 98.19%, respectively. Additionally, with the assistance of Design Expert software, the removal percentages were predicted under optimal conditions, resulting in 88.16, 93.25, and 98.41% removal for TC, CV, and MB, respectively.

Table 7 Optimum variables of removal of pollutants (n = 3)

Desorption studies

In the surface adsorption process, the use of an appropriate solvent for complete desorption of the adsorbed analyte from the surface of the adsorbent is essential for the reuse of the adsorbent. For desorption of analytes from the surface of the Fe3O4/rGO/Ag nanocomposite, solvents including ethanol, acetonitrile, hydrochloric acid, and methanol were investigated as desorbing agents. Figure 5 illustrates the results of this investigation and the impact of each solvent on the removal percentage of TC, CV, and MB from the adsorbent surface. According to the obtained results, hydrochloric acid is suitable for the complete desorption of TC, CV, and MB from the nano-adsorbent surface. Therefore, hydrochloric acid was employed as the desorbing solvent in subsequent experiments.

Fig. 5
figure 5

The effect of solvent on the desorption process

The reusability of Fe 3 O 4 /rGO/Ag nanocomposite

The efficiency and stability of the Fe3O4/rGO/Ag magnetic adsorbent were investigated. The Fe3O4/rGO/Ag magnetic nanocomposite, employed for the removal of TC, CV, and MB, demonstrated sustained performance even after purification in two stages with 2 mL of hydrochloric acid and 2 mL of distilled water (repeated three times). The results, as depicted in Fig. 6, indicate that the magnetic adsorbent remains stable for at least 7 cycles, showing no significant reduction in analyte removal efficiency and magnetic properties.

Fig. 6
figure 6

The reusability of Fe3O4/rGO/Ag nanocomposite for removal of TC, CV, and MB

Real samples analysis

The proposed method for the removal of TC, CV, and MB in environmental water samples was employed to assess the method's efficiency. The studied water samples initially lacked measurable amounts of TC, CV, and MB. Therefore, specific amounts of TC, CV, and MB standard solutions were added to the samples, and the removal efficiency of the analytes was examined. The results of the water sample analysis are presented in Table 8. The obtained results indicated that the efficiency of the proposed method for TC, CV, and MB removal in water samples ranged from 87.05 to 98.08% with RSD% < 4. The achieved removal values suggest that the proposed method can be used with high accuracy for the removal of TC, CV, and MB in water samples.

Table 8 Results of real samples under the optimum conditions (n = 3)

Comparison Fe 3 O 4 /rGO/Ag nanocomposite with other adsorbents

The results indicated that Fe3O4/rGO/Ag magnetic nanocomposite could be used as high-efficiency adsorbents in removing TC, CV, and MB from different water samples. Besides, Fe3O4/rGO/Ag magnetic nanocomposite were compared with other adsorbents used to remove TC, CV, and MB in different studies (Table 9). As depicted in this table, Fe3O4/rGO/Ag magnetic nanocomposite are extremely capable of removing TC, CV, and MB in a short time with high efficiency compared to other adsorbents. Moreover, RSM reduced the number of tests, process time, and economic savings compared to other methods available in the literature.

Table 9 Comparison of the Fe3O4/rGO/Ag nanocomposite with other adsorbents


This study aimed to investigate TC, CV, and MB removal from water and wastewater samples by the Fe3O4/rGO/Ag magnetic nanoparticles. After the synthesis of magnetic nanocomposite, their morphology and crystalline nature were investigated by several techniques including XRD, EDX, VSM, FTIR, and FE-SEM. Investigations showed that Fe3O4/rGO/Ag magnetic nanocomposite provide high removal efficiency for TC, CV, and MB. In order to optimize the removal conditions of TC, CV, and MB, various influencing parameters such as concentration, contact time, adsorbent amount, and pH were evaluated. Modeling the removal of TC, CV, and MB using the Fe3O4/rGO/Ag magnetic nanocomposite was performed using the RSM based on the BBD. The influence of parameters on the removal process was investigated with a second-degree model. Considering the high values of R2 (0.99) and adjusted R2 (0.99), it can be concluded that the obtained model was suitable for analyzing the data of TC, CV, and MB removal by the Fe3O4/rGO/Ag magnetic nanocomposite. The optimal conditions for maximum removal of TC, CV, and MB were determined to be pH 6, a concentration of 21 mg L−1, a time of 8 min, and a nanocomposite amount of 0.014 g. The removal efficiencies obtained in experiments conducted at optimum conditions were 91.33, 95.82, and 98.19% for TC, CV, and MB, respectively. Also, adsorbent reusability tests showed that Fe3O4/rGO/Ag magnetic nanocomposite can be reused for more than seven cycles without significantly decreasing performance. The results demonstrated that the synthesized Fe3O4/rGO/Ag magnetic nanocomposite significantly possesses the capability to remove TC, CV, and MB from aqueous solutions in a short period. Therefore, it can be effectively utilized as an adsorbent for the removal of TC, CV, and MB. The findings also indicate that the adsorbent exhibits excellent separation ability after adsorption from the solution.

Availability of data and materials

The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.


  1. Kanyangarara M, Allen S, Jiwani SS, Fuente D. Access to water, sanitation and hygiene services in health facilities in sub-Saharan Africa 2013–2018: results of health facility surveys and implications for COVID-19 transmission. BMC Health Serv Res. 2021;21(1):601.

    Article  PubMed  PubMed Central  Google Scholar 

  2. Azzaoui K, Jodeh S, Mejdoubi E, Hammouti B, Taleb M, Ennabety G, Berisha A, Aaddouz M, Youssouf MH, Shityakov S, Sabbahi R. Synthesis of hydroxyapatite/polyethylene glycol 6000 composites by novel dissolution/precipitation method: optimization of the adsorption process using a factorial design: DFT and molecular dynamic. BMC Chem. 2023;17(1):150.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  3. Liu H, Gong B, Zhou Y, Sun Z, Wang X, Zhao S. Preparation of high-capacity magnetic polystyrene sulfonate sodium material based on SI-ATRP method and its adsorption property research for sulfonamide antibiotics. BMC Chem. 2020;14:1–11.

    Article  CAS  Google Scholar 

  4. Leichtweis J, Vieira Y, Welter N, Silvestri S, Dotto GL, Carissimi E. A review of the occurrence, disposal, determination, toxicity and remediation technologies of the tetracycline antibiotic. Process Saf Environ Prot. 2022;160:25–40.

    Article  CAS  Google Scholar 

  5. Dai Y, Liu M, Li J, Yang S, Sun Y, Sun Q, Wang W, Lu L, Zhang K, Xu J, Zheng W. A review on pollution situation and treatment methods of tetracycline in groundwater. Sep Sci Technol. 2020;55(5):1005–21.

    Article  CAS  Google Scholar 

  6. Hossain A, Habibullah-Al-Mamun M, Nagano I, Masunaga S, Kitazawa D, Matsuda H. Antibiotics, antibiotic-resistant bacteria, and resistance genes in aquaculture: risks, current concern, and future thinking. Environ Sci Pollut Res. 2022.

    Article  Google Scholar 

  7. Amarasiri M, Sano D, Suzuki S. Understanding human health risks caused by antibiotic resistant bacteria (ARB) and antibiotic resistance genes (ARG) in water environments: current knowledge and questions to be answered. Crit Rev Environ Sci Technol. 2020;50(19):2016–59.

    Article  CAS  Google Scholar 

  8. Alsukaibi AK. Various approaches for the detoxification of toxic dyes in wastewater. Processes. 2022;10(10):1968.

    Article  CAS  Google Scholar 

  9. Al-Tohamy R, Ali SS, Li F, Okasha KM, Mahmoud YAG, Elsamahy T, Jiao H, Fu Y, Sun J. A critical review on the treatment of dye-containing wastewater: ecotoxicological and health concerns of textile dyes and possible remediation approaches for environmental safety. Ecotoxicol Environ Saf. 2022;231:113160.

    Article  CAS  PubMed  Google Scholar 

  10. Abas KM, Attia AAM. Thermoplastic starch (TPS)-based composite films for wastewater treatment: synthesis and fundamental characterization. BMC Chem. 2023;17(1):84.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  11. Hakami AAH, Wabaidur SM, Ali Khan M, Alothman ZA, Rafatullah M, Siddiqui MR. Development of ultra-performance liquid chromatography–mass spectrometry method for simultaneous determination of three cationic dyes in environmental samples. Molecules. 2020;25(19):4564.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  12. Nachiyar CV, Rakshi AD, Sandhya S, Jebasta NBD, Nellore J. Developments in treatment technologies of dye-containing effluent: a review. Case Stud Chem Environ Eng. 2023.

    Article  Google Scholar 

  13. Kumar PS, Joshiba GJ, Femina CC, Varshini P, Priyadharshini S, Karthick MA, Jothirani R. A critical review on recent developments in the low-cost adsorption of dyes from wastewater. Desalin Water Treat. 2019;172:395–416.

    Article  Google Scholar 

  14. Hosny NM, Gomaa I, Elmahgary MG. Adsorption of polluted dyes from water by transition metal oxides: a review. Appl Surf Sci Adv. 2023;15:100395.

    Article  Google Scholar 

  15. Imwene KO, Ngumba E, Kairigo PK. Emerging technologies for enhanced removal of residual antibiotics from source-separated urine and wastewaters: a review. J Environ Manage. 2022;322:116065.

    Article  CAS  PubMed  Google Scholar 

  16. Jodeh S, Jaber A, Hanbali G, Massad Y, Safi ZS, Radi S, Mehmeti V, Berisha A, Tighadouini S, Dagdag O. Experimental and theoretical study for removal of trimethoprim from wastewater using organically modified silica with pyrazole-3-carbaldehyde bridged to copper ions. BMC Chem. 2022;16(1):17.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  17. Kavitha E, Poonguzhali E, Nanditha D, Kapoor A, Arthanareeswaran G, Prabhakar S. Current status and future prospects of membrane separation processes for value recovery from wastewater. Chemosphere. 2022;291:132690.

    Article  CAS  PubMed  Google Scholar 

  18. Khan S, Naushad M, Al-Gheethi A, Iqbal J. Engineered nanoparticles for removal of pollutants from wastewater: current status and future prospects of nanotechnology for remediation strategies. J Environ Chem Eng. 2021;9(5):106160.

    Article  CAS  Google Scholar 

  19. Oluwole AO, Omotola EO, Olatunji OS. Pharmaceuticals and personal care products in water and wastewater: a review of treatment processes and use of photocatalyst immobilized on functionalized carbon in AOP degradation. BMC Chem. 2020;14(1):1–29.

    Article  Google Scholar 

  20. Saravanan A, Kumar PS, Jeevanantham S, Karishma S, Tajsabreen B, Yaashikaa PR, Reshma B. Effective water/wastewater treatment methodologies for toxic pollutants removal: processes and applications towards sustainable development. Chemosphere. 2021;280:130595.

    Article  CAS  PubMed  Google Scholar 

  21. Ouyang W, Chen T, Shi Y, Tong L, Chen Y, Wang W, Yang J, Xue J. Physico-chemical processes. Water Environ Res. 2019;91(10):1350–77.

    Article  CAS  PubMed  Google Scholar 

  22. Yang J, Shojaei S, Shojaei S. Removal of drug and dye from aqueous solutions by graphene oxide: adsorption studies and chemometrics methods. NPJ Clean Water. 2022;5(1):5.

    Article  CAS  Google Scholar 

  23. Kumari P, Alam M, Siddiqi WA. Usage of nanoparticles as adsorbents for waste water treatment: an emerging trend. Sustainable Mater Technol. 2019;22:e00128.

    Article  CAS  Google Scholar 

  24. Shojaei S, Shojaei S, Band SS, Farizhandi AAK, Ghoroqi M, Mosavi A. Application of Taguchi method and response surface methodology into the removal of malachite green and auramine-O by NaX nanozeolites. Sci Rep. 2021;11(1):16054.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  25. Abdullah NH, Shameli K, Abdullah EC, Abdullah LC. Solid matrices for fabrication of magnetic iron oxide nanocomposites: synthesis, properties, and application for the adsorption of heavy metal ions and dyes. Compos B. 2019;162:538–68.

    Article  CAS  Google Scholar 

  26. Dave PN, Chopda LV. Application of iron oxide nanomaterials for the removal of heavy metals. J Nanotechnol. 2014.

    Article  Google Scholar 

  27. Almomani F, Bhosale R, Khraisheh M, Almomani T. Heavy metal ions removal from industrial wastewater using magnetic nanoparticles (MNP). Appl Surf Sci. 2020;506:144924.

    Article  CAS  Google Scholar 

  28. Anastopoulos I, Hosseini-Bandegharaei A, Fu J, Mitropoulos AC, Kyzas GZ. Use of nanoparticles for dye adsorption. J Dispersion Sci Technol. 2018;39(6):836–47.

    Article  CAS  Google Scholar 

  29. Wu K, Su D, Liu J, Saha R, Wang JP. Magnetic nanoparticles in nanomedicine: a review of recent advances. Nanotechnology. 2019;30(50):502003.

    Article  CAS  PubMed  Google Scholar 

  30. Borth KW, Galdino CW, de Carvalho Teixeira V, Anaissi FJ. Iron oxide nanoparticles obtained from steel waste recycling as a green alternative for congo red dye fast adsorption. Appl Surf Sci. 2021;546:149126.

    Article  CAS  Google Scholar 

  31. Weng X, Cai W, Owens G, Chen Z. Magnetic iron nanoparticles calcined from biosynthesis for fluoroquinolone antibiotic removal from wastewater. J Cleaner Prod. 2021;319:128734.

    Article  CAS  Google Scholar 

  32. Rouhani M, Ashrafi SD, Taghavi K, Joubani MN, Jaafari J. Evaluation of tetracycline removal by adsorption method using magnetic iron oxide nanoparticles (Fe3O4) and clinoptilolite from aqueous solutions. J Mol Liq. 2022;356:119040.

    Article  CAS  Google Scholar 

  33. Lin J, Su B, Sun M, Chen B, Chen Z. Biosynthesized iron oxide nanoparticles used for optimized removal of cadmium with response surface methodology. Sci Total Environ. 2018;627:314–21.

    Article  CAS  PubMed  Google Scholar 

  34. Arabkhani P, Sadegh N, Asfaram A. Nanostructured magnetic graphene oxide/UIO-66 sorbent for ultrasound-assisted dispersive solid-phase microextraction of food colorants in soft drinks, candies, and pastilles prior to HPLC analysis. Microchem J. 2023;184:108149.

    Article  CAS  Google Scholar 

  35. Tamandani M, Hashemi SH, Kaykhaii M, Jamali Keikha A, Nasiriyan A. Determination of profenofos in seawater and foodstuff samples after its molecularly imprinted polymer pipette-tip micro solid phase extraction optimized by response surface methodology. BMC Chem. 2022;16(1):1–11.

    Article  Google Scholar 

  36. Chen WH, Uribe MC, Kwon EE, Lin KYA, Park YK, Ding L, Saw LH. A comprehensive review of thermoelectric generation optimization by statistical approach: taguchi method, analysis of variance (ANOVA), and response surface methodology (RSM). Renew Sustain Energy Rev. 2022;169:112917.

    Article  Google Scholar 

  37. Elkady EF, Fouad MA, Mozayad AN. Application of Box-Behnken experimental design and response surface methodology for selecting the optimum RP-HPLC conditions for the simultaneous determination of methocarbamol, indomethacin and betamethasone in their pharmaceutical dosage form. BMC Chem. 2022;16(1):114.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  38. Hummers WS Jr, Offeman RE. Preparation of graphitic oxide. J Am Chem Soc. 1958;80(6):1339–1339.

    Article  CAS  Google Scholar 

  39. Abdolmohammad-Zadeh H, Zamani A, Shamsi Z. Preconcentration of morphine and codeine using a magnetite/reduced graphene oxide/silver nano-composite and their determination by high-performance liquid chromatography. J Chromatogr A. 2019;1590:2–9.

    Article  CAS  PubMed  Google Scholar 

  40. Ekka B, Sahu MK, Patel RK, Dash P. Titania coated silica nanocomposite prepared via encapsulation method for the degradation of Safranin-O dye from aqueous solution: optimization using statistical design. Water Resour Ind. 2019;22:100071.

    Article  Google Scholar 

  41. Jagaba AH, Kutty SRM, Naushad M, Lawal IM, Noor A, Affam AC, Birniwa AH, Abubakar S, Soja UB, Abioye KJ, Bathula C. Removal of nutrients from pulp and paper biorefinery effluent: operation, kinetic modelling and optimization by response surface methodology. Environ Res. 2022;214:114091.

    Article  CAS  PubMed  Google Scholar 

  42. Yao Z, Yang X, Liu X, Yang Y, Hu Y, Zhao Z. Electrochemical quercetin sensor based on a nanocomposite consisting of magnetized reduced graphene oxide, silver nanoparticles and a molecularly imprinted polymer on a screen-printed electrode. Microchim Acta. 2018;185(1):70–83.

    Article  Google Scholar 

  43. Thu TV, Ko PJ, Nguyen TV, Vinh NT, Khai DM, Lu LT. Green synthesis of reduced graphene oxide/Fe3O4/Ag ternary nanohybrid and its application as magnetically recoverable catalyst in the reduction of 4-nitrophenol. Appl Organomet Chem. 2017;31(11):3781–90.

    Article  Google Scholar 

  44. Greenland S, Senn SJ, Rothman KJ, Carlin JB, Poole C, Goodman SN, Altman DG. Statistical tests, P values, confidence intervals, and power: a guide to misinterpretations. Eur J Epidemiol. 2016;31:337–50.

    Article  PubMed  PubMed Central  Google Scholar 

  45. El Messaoudi N, El Khomri M, Ablouh EH, Bouich A, Lacherai A, Jada A, Lima EC, Sher F. Biosynthesis of SiO2 nanoparticles using extract of Nerium oleander leaves for the removal of tetracycline antibiotic. Chemosphere. 2022;287:132453.

    Article  PubMed  Google Scholar 

  46. Dehghan A, Zarei A, Jaafari J, Shams M, Khaneghah AM. Tetracycline removal from aqueous solutions using zeolitic imidazolate frameworks with different morphologies: a mathematical modeling. Chemosphere. 2019;217:250–60.

    Article  CAS  PubMed  Google Scholar 

  47. Nguyen VT, Nguyen TB, Chen CW, Hung CM, Huang CP, Dong CD. Cobalt-impregnated biochar (Co-SCG) for heterogeneous activation of peroxymonosulfate for removal of tetracycline in water. Bioresour Technol. 2019;292:121954.

    Article  CAS  PubMed  Google Scholar 

  48. Wang Y, Gong S, Li Y, Li Z, Fu J. Adsorptive removal of tetracycline by sustainable ceramsite substrate from bentonite/red mud/pine sawdust. Sci Rep. 2020;10(1):2960.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  49. Oloo CM, Onyari JM, Wanyonyi WC, Wabomba JN, Muinde VM. Adsorptive removal of hazardous crystal violet dye form aqueous solution using Rhizophora mucronata stem-barks: Equilibrium and kinetics studies. Environ Chem Ecotoxicol. 2020;2:64–72.

    Article  Google Scholar 

  50. Karimi R, Yousefi F, Ghaedi M, Rezaee Z. Comparison the behavior of ZnO–NP–AC and Na, K doped ZnO–NP–AC for simultaneous removal of crystal violet and quinoline yellow dyes: modeling and optimization. Polyhedron. 2019;170:60–9.

    Article  CAS  Google Scholar 

  51. Ahmad R, Ansari K. Fabrication of alginate@ silver nanoparticles (Alg@ AgNPs) bionanocomposite for the sequestration of crystal violet dye from aqueous solution. Int J Biol Macromol. 2022;218:157–67.

    Article  CAS  PubMed  Google Scholar 

  52. Essekri A, Aarab N, Hsini A, Ajmal Z, Laabd M, El Ouardi M, Ait Addi A, Lakhmiri R, Albourine A. Enhanced adsorptive removal of crystal violet dye from aqueous media using citric acid modified red-seaweed: experimental study combined with RSM process optimization. J Dispersion Sci Technol. 2022;43(9):1359–72.

    Article  CAS  Google Scholar 

  53. Hevira L, Ighalo JO, Aziz H, Zein R. Terminalia catappa shell as low-cost biosorbent for the removal of methylene blue from aqueous solutions. J Ind Eng Chem. 2021;97:188–99.

    Article  CAS  Google Scholar 

  54. Mashkoor F, Nasar A. Magnetized Tectona grandis sawdust as a novel adsorbent: preparation, characterization, and utilization for the removal of methylene blue from aqueous solution. Cellulose. 2020;27:2613–35.

    Article  CAS  Google Scholar 

  55. Ghaedi M, Kokhdan SN. Removal of methylene blue from aqueous solution by wood millet carbon optimization using response surface methodology. Spectrochim Acta Part A. 2015;136:141–8.

    Article  CAS  Google Scholar 

  56. Maia LS, da Silva AI, Carneiro ES, Monticelli FM, Pinhati FR, Mulinari DR. Activated carbon from palm fibres used as an adsorbent for methylene blue removal. J Polym Environ. 2021;29:1162–75.

    Article  CAS  Google Scholar 

Download references


The authors are grateful to Tehran University of Medical Sciences for their kind support.


Authors haven’t received any funding for this study.

Author information

Authors and Affiliations



MFR, NKM, AAA, and MBT: Data Analysis, Interpretation; AA, EA, HFS AS, and AA: Data Acquisition; LB: Project administration; CYH: Methodology; AQM, UKR and SJA-S: Review and editing.

Corresponding author

Correspondence to Leila Baharinikoo.

Ethics declarations

Ethics approval and consent to participate

This declaration is not applicable for this study.

Consent for publication

Not applicable.

Competing interests

The authors declare no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Hsu, CY., Ali, E., Al-Saedi, H.F.S. et al. A chemometric approach based on response surface methodology for optimization of antibiotic and organic dyes removal from water samples. BMC Chemistry 18, 5 (2024).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: