1 Introduction

The field of nanotechnology is considered as one of the most important areas of research in the field of materials science and engineering in the twenty-first century. There has been tremendous effort to develop cost-effective and environment friendly technique for the synthesis of nanoparticles by controlling their size and shape. The applications are wide dependent on the size and shape of the nanoparticles. Recently, the importance has been placed on the synthesis of noble metal nanoparticles due to their applications in the field of electronics, optoelectronics, magnetic, information storage, catalysis, medicine, biotechnology and material sciences [1,2,3,4,5,6,7,8,9]. Also various plasmonic nanostructures have been used for achieving optimal localized surface plasmon resonance (LSPR) nanosensors [10, 11].

Over the last decade, noble metal nanoparticles like gold, silver, platinum, and palladium were synthesized using algae, fungi, bacteria, and plant extracts [12,13,14,15,16]. It is known to be advantageous over conventional physical and chemical methods. Physical methods, such as physical vapor deposition, thermal decomposition, irradiation, etc., require maintenance of high temperature and pressure, and chemical methods involve the use of hazardous chemicals and so the biocompatibility of the resulting NPs is too low for application in biological systems. The use of plant extracts is found to be potentially advantageous over microorganisms due to the ease of improvement, the less biohazard and elaborate process of maintaining cell cultures [17]. Plant extracts are believed to act as reducing agent and stabilizing agent in the nanoparticles’ synthesis. As different plant extracts contain different concentrations of biochemical reducing agents, the source of plant extract plays the most vital role in the morphology, time, and yield of the synthesized nanoparticles [18, 19].

Among the noble metal nanoparticles, silver nanoparticles have received wide attention due to their unique antibacterial, antifungal, antiviral, and anticancer activities [20,21,22,23,24,25,26]. Silver is an attractive material because of its unique properties such as catalytic activity, good conductivity, chemical stability and optical properties [27]. The antibacterial activity of silver nanoparticles is well known from many literatures [22,23,24,25,26,27,28]. The AgNPs has applications in various fields like medical, water filtration and air purification [29]. In this work, silver nanoparticles were prepared using Decalepis hamiltonii root extract and the synthesized nanoparticles were characterized by UV–visible, FTIR, XRD, and TEM analysis, and in addition, its optical limiting behavior and antibacterial activity have been studied. The Decalepis hamiltonii root is a medicinal plant which is useful as a blood purifier, preservative, and also as a source of bioinsecticide for stored food grains [30, 31]. The previous studies have shown that the Decalepis hamiltonii root extract (DHRE) contains aldehyde, inositol, saponins, amyrinsandlupeols as well as volatile compounds such as 2-hydroxy-4-methoxybenzaldehyde, vanillin, 2-phenyl ethyl alcohol, benzaldehyde and others [32, 33].

2 Experimental methods

2.1 The preparation of Decalepis hamiltonii root extract

Decalepis hamiltonii was purchased from local market, and cleaned thoroughly using distilled water and cut into small pieces. It was allowed to shade dry for few days and powdered. A 5 g of root powder was taken in a 100 ml beaker containing 50 ml of distilled water; the mixture was boiled at 75 °C for 30 min and then filtered using a Whatman filter paper. The filtrate was used for the synthesis of silver nanoparticles and stored in refrigerator at 4 °C for future use.

2.2 Synthesis of silver nanoparticles

About 45 ml of 1 mM AgNO3 solution was taken in a 250 ml conical flask containing 5 ml of D. hamiltonii root extract. The formation of AgNPs can be seen by the color of the solution which slowly turns from light yellow to dark brown and becomes intense after 2 days  is shown in Fig. 1. This is due to the surface Plasmon resonance and it was further confirmed by the UV–visible spectroscopy. The phytochemicals present in root extract slowly reduce the silver ions (Ag+) to form silver atoms (Ag0) and the efficiency of yield was found to be 80%.

Fig. 1
figure 1

Color change of the synthesized silver nanoparticles

3 Results and discussion

3.1 UV–visible spectroscopy

The formation of silver nanoparticles was primarily confirmed by the color change of the solution and then from the UV–visible absorption spectroscopy. DHRE is the only source that acts as both reducing and stabilizing agent. After the addition of root extract, the color of the solution turned pale yellow, but the color intensified after few days, and finally, it reached dark brown color which indicates the reduction of AgNPs. UV–visible absorption spectra shown in Fig. 2 clearly predict the absorption peak which arises due to the surface plasmon excitation [34]. A well-defined broad absorption peak around 436 nm was observed which may be due to poly-dispersed nanoparticles [35, 36].

Fig. 2
figure 2

UV–visible absorbance spectra of silver nanoparticles

3.2 X-ray diffraction studies

The X-ray diffraction pattern for the prepared silver nanoparticles is shown in Fig. 3. The XRD analysis shows that the synthesized AgNPs are crystalline in nature. The 2θ values were taken from 20° to 70° and the Bragg reflections were observed at 38, 44.2, and 64.2 which correspond to the indexed planes of crystals of Ag (111), (200), and (220). The average crystallite size was found to be 22.4 nm, calculated from the Scherrer formula, and it exhibits cubic face-centered structure with space group fm \(\bar{3}\) m. The cell parameter was found to be in good agreement with the database of JCPDS Card no. 04-0783 [36, 37].

Fig. 3
figure 3

XRD pattern of silver nanoparticles

3.3 Fourier transform infrared spectroscopy analysis

FTIR studies were undergone to identify the presence of biomolecules responsible for the synthesis of AgNPs. The FTIR analysis of AgNPs is shown in Fig. 4. The absorption is observed at different wave numbers indicating the biomolecules responsible for the reduction of AgNPs. The peaks appeared at 1025 and 3398 are referred as the strong bands. The band at 1025 assigned as absorption peaks of C–O–C– [38]. The absorption peak at 3398 indicates the N–H stretching. The absorption band present at 1378 corresponds to N=O symmetric stretching. The peaks at 2924 cm−1 give the aldehydic C–H stretching. The medium absorption band at 1637 is due to the C–N and C–C stretching which proves the presence of proteins [39, 40].

Fig. 4
figure 4

FTIR spectra of AgNPs

3.4 Transmission electron microscopy analysis

The transmission electron microscopy (TEM) analysis is carried out using the instrument JEOL JEM 2100. TEM study clearly predicts the size, shape and morphology of the silver nanoparticles. Figure 5 represents the TEM image of the silver nanoparticles. From the figure, spherical-shaped silver nanoparticles of size ranging from 5 to 20 nm with slight agglomeration are observed. The SAED pattern proves that the particle is in circular ring like pattern which is shown in Fig. 5d. It confirms the crystalline nature of the prepared nanoparticles and the d spacing value is calculated to be 0.229 nm. Figure 6 shows the energy-dispersive X-ray analysis (EDAX) spectrum of synthesized silver nanoparticles. The present investigation of synthesized silver nanoparticles shows strong absorption peak in the range 2.5–3.0 keV. Earlier studies have reported that the formation of silver nanoparticles was in the range 2.5–3.5 keV [41].

Fig. 5
figure 5

TEM image of AgNPs: a 50 nm, b 5 nm, c 100 nm, and d SAED pattern of AgNPs

Fig. 6
figure 6

EDAX pattern of AgNPs

3.5 Antibacterial studies

The minimum inhibitory concentration (MIC) describes that the lowest concentration of materials inhibits the growth of an organism which was evaluated based on batch cultures containing varying concentration (100%, 50%, 25%, 12.5%, 6.2%, 3.1%, and 1.5%) of AgNPs in suspensions. Minimum bactericidal concentration (MBC) which reports the lowest concentration of nanoparticles that inhibits 99.9% of the bacteria was also determined from the batch culture studies. To one row, each well received 100 µl of S. aureus culture and to the other row culture of E. coli was added. The plate was incubated for 24 h and the growth of organisms was noted to obtain MIC. Subcultures were made from these wells on to NA plates and the plates incubated for 24–48 h to get the colony growth. The growth was noted to get the MBC. The Gram-positive bacteria and Gram-negative E. coli were grown in culture tube and it was sealed tightly. AgNPs solution was added in the grown culture tubes. From the results, it was observed that there was a zone inhibition at two different concentrations, i.e., at 50% and 100% concentrations. Furthermore, it was also found that the inhibition zone is more in Gram-negative E. coli than Gram-positive S. aureus. This may be due to the membrane thickness [42, 43]. This result confirms that silver nanoparticles have good bactericidal effect. The minimum bactericidal concentration is 100% of the original solution for S. aureus and 50% of the original solution for E. coli, respectively (Fig. 7).

Fig. 7
figure 7

Antibacterial study of AgNPs

3.6 Nonlinear optical studies (z-scan)

Nonlinear optical (NLO) materials play a major role in the technology and research areas because of their potential applications in various fields such as new frequency generation, different wavelength laser from the same source, information processing, optical computing, telecommunication [44,45,46,47], and optical power limiting [48]. The nonlinear optical property was studied by Z-scan technique developed by Sheik-Bahae et al. [49]. In this technique, the intensity varies along the axis of the convex lens and is maximum at the focus. This technique is highly sensitive and useful tool for determining the sign and magnitude of nonlinear refractive index (n2) from the closed aperture and nonlinear absorption coefficient (β) from the open aperture. The colloidal silver nanoparticles have been subjected to nonlinear optical studies using 532 nm Nd:YAG (CW) laser beam. The sample was mounted on a translation stage and moved across the focal region (+ z to − z) along the direction of propagation of the laser beam and the corresponding normalized transmission was measured with and without aperture in the far field of the lens as the samples moved through the focal point.

The transmission difference between peak and valley, linear transmittance aperture, the third-order nonlinear refractive index (n2) of the crystal, the nonlinear absorption coefficient (β), and the third-order nonlinear optical susceptibility (χ3) were determined as the procedure given in the literature [50]. The real part Re(χ3) is proportional to the nonlinear refractive index of the nanoparticles, while the imaginary part Im(χ3) is proportional to the nonlinear absorption coefficient (β).

The closed aperture and open aperture Z-scan curves are illustrated in Fig. 8a, b. In the closed Z-scan curve, there is a peak followed by a valley and it corresponds to the signature of negative nonlinearity. Figure 8c gives the ratio of closed-to-open aperture scan.

Fig. 8
figure 8

a Z-scan open aperture curve for AgNPs. b Z-scan closed aperture for the prepared. c Ratio of closed-to-open aperture

The measurable quantity ΔTp–v can be defined as the difference between the normalized peak and valley transmittances, TpTv. The variation of this quantity as a function of |Δϕ0| is given by the following:

$$\Delta T_{{{\text{p}} - {\text{v}}}} = 0.406(1 - S)^{0.25} \left| {\Delta \phi_{0} } \right|,$$
(1)

where Δϕ0 is the on-axis phase shift at the focus. S, the aperture linear transmittance, is given by

$$S = 1{-}\exp \left( {{-}2r^{2} a/\omega_{\text{a}}^{2} } \right),$$
(2)

with ra denoting the aperture radius and ωa denoting the radius of the laser spot before the aperture.

The on-axis phase shift is related to the third-order nonlinear refractive index (n2) by the following:

$$\Delta \phi_{0} | = kn_{2} L_{\text{eff}} I_{0} ,$$
(3)

where \(L_{\text{eff}} = (1 - {\text{e}}^{ - \alpha L} )/\alpha\), with L the sample length, α is the linear absorption coefficient, I0 is the intensity of the laser beam at focus z = 0, and k is the wave number (k = 2π/λ)

The imaginary parts of the third-order nonlinear optical susceptibility [\(\chi^{3}\)] are estimated using the value of the nonlinear absorption coefficient β obtained from the open aperture Z-scan data and using the relations:

$$q_{o} (z) = \frac{{\beta \times I_{0} \times L_{\text{eff}} }}{{\left( {1 + \frac{{Z^{2} }}{{Z_{0}^{2} }}} \right)}}$$
(4)
$$\beta = \frac{2\sqrt 2 \times \Delta T}{{I_{0} \times L_{\text{eff}} }},$$
(5)

\(Z_{\text{R}} = k\omega_{0}^{2} /2\) is the diffraction length of the beam and ω0 is the beam waist radius at the focal point.

Experimentally determined nonlinear refractive index n2 and nonlinear absorption coefficient β can be used in finding the real and imaginary parts of the third-order nonlinear optical susceptibility [\(\chi^{3}\)] according to the following relations:

$$\text{Re} \chi^{3} \;({\text{esu}}) = 10^{ - 4} \frac{{\varepsilon_{0} c^{2} n_{0}^{2} }}{\pi }n_{2} \;({\text{cm}}^{2} /{\text{W}}),$$
(6)
$$\text{Im} \chi^{3} \;({\text{esu}}) = 10^{ - 2} \frac{{\varepsilon_{0} c^{2} n_{0}^{2} \lambda }}{{4\pi^{2} }}\beta \;({\text{cm}}/{\text{W}}),$$
(7)

where ε0 is the vacuum permittivity and c is the light velocity in vacuum.

The absolute value of the third-order nonlinear optical susceptibility [51] is given by the relation:

$$\left| {\chi^{3} } \right| = \left[ {(\text{Re} (\chi^{3} ))^{2} + (\text{Im} (\chi^{3} ))^{2} } \right]^{1/2} .$$
(8)

The calculated value of the nonlinear refractive index n2 is 7.15 × 10−8 cm2/W. The value of nonlinear absorption coefficient (β) estimated from the open aperture Z-scan curve is 0.04 × 10−4 cm/W and the third-order susceptibility (χ3) is 4.30 × 10−6 esu.

In optical limiting, the negative nonlinear property of silver nanoparticles is utilized, and in this process, the transmittance of a material remains constant with increase in incident light intensity. Figure 9 shows the optical limiting behavior in which transmitted output power is found to vary linearly with the incident input power. With further increase of input power, the transmitted power reaches saturation at a point defined as the limiting amplitude, i.e., the maximum output intensity. This shows that silver nanoparticles have good optical limiting property. These materials protect human eye and optical sensors from intense radiation fields [52].

Fig. 9
figure 9

Optical limiting profile for the prepared silver nanoparticles

4 Conclusion

In essence, synthesis of AgNPs using D. hamiltonii root extract by eco-friendly, non toxic and inexpensive green method is presented here. The as-synthesized nanoparticles show good stability for a period of more than 3 months at room temperature. The synthesized nanoparticles were characterized using UV–visible, XRD, FTIR, and TEM spectroscopic techniques. Using Z-scan techniques, the nonlinear refraction and absorption coefficient were measured. The nonlinear refractive index n2 is found to be 7.15 × 10−8 cm2/W, the nonlinear absorption coefficient (β) is 0.04 × 10−4 cm/W, and the third-order nonlinear susceptibility (χ3) is obtained as 4.30 × 10−6 esu. Efficient antibacterial activity was also proved by the synthesized AgNPs. From the present investigation, we conclude that the optical nonlinearity of silver nanoparticles is comparable or superior to those synthesized through other methods.