1 Introduction

There has been an immense amount of interest in studying strongly coupled systems using one of the most fascinating developments in modern theoretical physics, the gauge/gravity correspondence. The correspondence [1,2,3,4] gives an exact duality between a gravity theory living in a \((d+1)\)-dimensional AdS spacetime with a field theory having conformal invariance sitting on the d-dimensional boundary of this spacetime. In recent years, it was first demonstrated in [5] that the formation of a scalar field condensate near the horizon of a black hole is possible below a certain critical temperature for a charged AdS black hole coupled minimally to a complex scalar field. The gauge/gravity duality then implies that the scalar operator dual to the scalar field in the bulk acquires a non-zero vacuum expectation value in the boundary field theory. This is what is known as the holographic superconductor phase transition [6,7,8]. Thereafter, a lot of work has been done to study the properties of the holographic Fermi liquid [9, 10], holographic insulator/superconductor phase transition [11], transport properties of holographic superconductor both in the probe limit and away from the probe limit, that is, including the effects of back reaction of matter fields on the background spacetime [12,13,14,15,16,17,18].

Another interesting development that has taken place recently is the association of a geometrical structure with thermodynamic systems in equilibrium. This was first realized through the work in [19,20,21]. It was shown that one can get a Riemannian metric with an Euclidean signature from the equilibrium state of a thermodynamic system. The Riemannian scalar curvature can then be computed and captures the details of interactions of the thermodynamic system. It turns out that this framework based on a geometrical structure gives a handle to study critical phenomena [21].

In this paper, we set out to study the properties of \(2+1\)-dimensional holographic superconductors using the formalism of the thermodynamic geometry. We employ the matching method [16, 22] to obtain the behaviour of the matter fields near the horizon of the black hole. This in turn is used to compute the critical temperature and the condensation operator. We obtain the critical temperature for a set of values of the matching point where the near horizon and boundary values of the fields are matched. The analysis is based on the probe limit approximation (which neglects the back reaction of the matter fields on the background spacetime geometry) and is carried out for two sets of boundary conditions for the condensation operator, namely \(\psi _{-}\ne 0\), \(\psi _{+}=0\) and \(\psi _{+}\ne 0\), \(\psi _{-}=0\). The choice \(\psi _{+}=0\) essentially implies that \(\psi _{-}\) is dual to the expectation value of the condensation operator at the boundary. The requirement \(\psi _{+}=0\) is necessary because we want to turn the condensate on without it being sourced. We then proceed to compute the free energy of this \(2+1\)-dimensional holographic superconductor. The trick here is to relate the free energy of the theory on the boundary to the value of the on-shell action of the Abelian Higgs sector of the full Euclidean action with proper boundary terms [23, 24]. From this, we compute the thermodynamic metric using the formalism of [21]. The computation is once again carried out for both sets of boundary conditions for the condensation operator as mentioned earlier. The scalar curvature is computed next and the temperature at which the scalar curvature diverges is said to be the critical temperature in this approach. This temperature is then compared with that obtained from the matching method. The analysis gives us yet another way of comparing the results with those obtained from other analytical techniques, namely, the Sturm–Liouville eigenvalue method [25,26,27,28,29,30] and the matching method [15, 16, 22, 31].

This paper is organized as follows. In Sect. 2, we provide the basic set up for the holographic superconductors in the background of a \(3+1\)-dimensional electrically charged black hole in anti-de Sitter spacetime. In Sect. 3, using the probe limit approximation, we compute the critical temperature using the matching method, where the matching has been carried out at several points between the boundary and the horizon. In Sect. 4, we analytically obtain free energy expression in terms of the chemical potential and the charge density. In Sect. 5, we calculate the thermodynamic metric and the scalar curvature. We conclude finally in Sect. 6.

2 Basic set up

The model for a holographic superconductor needs a complex scalar field coupled to a U(1) gauge field in anti-de Sitter spacetime. In \(3+1\) dimensions, the action for this reads

$$\begin{aligned} S= & {} \int \mathrm{d}^{4}x \sqrt{-g}\nonumber \\&\times \left[ \frac{1}{2 \kappa ^2} \left( R -2\Lambda \right) -\frac{1}{4}F^{\mu \nu } F_{\mu \nu } -(D_{\mu }\psi )^{*} D^{\mu }\psi -m^2 \psi ^{*}\psi \right] \nonumber \\ \end{aligned}$$
(1)

where \(\Lambda =-\frac{3}{L^2}\) is the cosmological constant, \(\kappa ^2 = 8\pi G \), G being the Newton universal gravitational constant, \(A_{\mu }\) and \( \psi \) represent the gauge field and scalar fields, \(F_{\mu \nu }=\partial _{\mu }A_{\nu }-\partial _{\nu }A_{\mu }\); (\(\mu ,\nu =0,1,2,3,4\)) is the field strength tensor, \(D_{\mu }\psi =\partial _{\mu }\psi -iqA_{\mu }\psi \) is the covariant derivative.

Assuming that the plane-symmetric black hole metric can be put in the form

$$\begin{aligned} \mathrm{d}s^2=-f(r)\mathrm{d}t^2+\frac{1}{f(r)}\mathrm{d}r^2+ r^2 (\mathrm{d}x^2 + \mathrm{d}y^2) \end{aligned}$$
(2)

where \(f(r) = r^2 ( 1 - \frac{r^{3}_{+}}{r^3} ) \) and \(r_{+}\) is the horizon radius and making the ansatz for the gauge field and the scalar field to be [6]

$$\begin{aligned} A_{\mu } = (\phi (r),0,0,0),\quad \psi =\psi (r), \end{aligned}$$
(3)

leads to the following equations of motion for the matter fields [30]:

$$\begin{aligned}&\phi ^{\prime \prime }(r) + \frac{2}{r} \phi ^{\prime }(r) - \frac{2 q^2 \psi ^{2}(r) \phi (r)}{f(r)} = 0 \end{aligned}$$
(4)
$$\begin{aligned}&\psi ^{\prime \prime }(r) + \left( \frac{2}{r} + \frac{f^{\prime }(r)}{f(r)}\right) \psi ^{\prime }(r) + \left( \frac{q^2 \phi ^{2}(r)}{f(r)^2}- \frac{m^{2}}{f(r)}\right) \psi (r)\nonumber \\&\quad = 0 \end{aligned}$$
(5)

where prime denotes derivative with respect to r. Since we shall carry out our analysis in the probe limit, we are allowed to set \(q=1\) [13].

The Hawking temperature of this black hole is

$$\begin{aligned} T_{h} = \frac{f^{\prime }(r_{+})}{4\pi } =\frac{3}{4\pi } r_{+}. \end{aligned}$$
(6)

This is interpreted as the temperature of the conformal field theory on the boundary.

For the matter fields to be regular, one requires \(\phi (r_+)=0\) and \(\psi (r_{+})\) to be finite at the horizon.

Near the boundary of the bulk, the matter fields obey [16]

$$\begin{aligned} \phi _{b}(r)= & {} \mu -\frac{\rho }{r},\end{aligned}$$
(7)
$$\begin{aligned} \psi _{b}(r)= & {} \frac{\psi _{-}}{r^{\Delta _{-}}}+\frac{\psi _{+}}{r^{\Delta _{+}}} \end{aligned}$$
(8)

where the conformal dimension \(\Delta _{\pm } \) is given by

$$\begin{aligned} \Delta _{\pm } = \frac{3\pm \sqrt{9+4m^2 }}{2}. \end{aligned}$$
(9)

The parameters \(\mu \) and \(\rho \) are interpreted to be dual to the chemical potential and charge density of the conformal field theory on the boundary.

At this point, we make the change of coordinates \(z=\frac{1}{r}\). Under this transformation, the metric (2) takes the form

$$\begin{aligned} \mathrm{d}s^{2}= & {} \frac{1}{z^2}\left( -F(z)\mathrm{d}t^{2} +\frac{\mathrm{d}z^{2}}{F(z)} + \mathrm{d}x^{2} + \mathrm{d}y^{2}\right) , \nonumber \\ f(z)= & {} \frac{1}{z^2}\left( 1 - \frac{z^3}{z^{3}_{h}} \right) = \frac{1}{z^2} F(z) \end{aligned}$$
(10)

where \(F(z) = (1 - \frac{z^3}{z^{3}_{h}})\) and \(z_{h}=\frac{1}{r_+}\).

The Hawking temperature becomes \( T_{h}=\frac{3}{4\pi z_{h}}\) and the field equations (4) and (5) becomeFootnote 1

$$\begin{aligned}&\phi ^{\prime \prime }(z) - \frac{2 \psi ^{2}(z)}{z^2 F(z)} \phi (z) = 0 \end{aligned}$$
(11)
$$\begin{aligned}&\psi ^{\prime \prime }(z) + \left( \frac{F^{\prime }(z)}{F(z)} - \frac{2}{z}\right) \psi ^{\prime }(z) + \left( \frac{\phi ^{2}(z)}{F^{2}(z)}- \frac{m^{2}}{z^2 F(z)}\right) \psi (z)\nonumber \\&\quad = 0 \end{aligned}$$
(12)

where prime now denotes derivative with respect to z. In the next section we shall employ the matching method in the interval \((0, z_h)\) to obtain the critical temperature below which the scalar field condensation takes place. The boundary condition \(\phi (r_+)=0\) in z-coordinate translates to \(\phi (z=z_h)=0\). The asymptotic behaviour of the fields read

$$\begin{aligned} \phi _{b}(z)= & {} \mu - \rho z ,\end{aligned}$$
(13)
$$\begin{aligned} \psi _{b}(z)= & {} \psi _{-} z^{\Delta _{-}}~ +~ \psi _{+} z^{\Delta _{+}}. \end{aligned}$$
(14)

3 Critical temperature from matching method

To apply the matching method, we require the fields to be finite at the horizon. The Taylor series expansions of these fields near the horizon read

$$\begin{aligned} \phi _{h}(z)= & {} \phi (z_{h}) + \phi ^{\prime }(z_h)(z-z_h) + \frac{\phi ^{\prime \prime }(z_h)}{2}(z-z_h)^2 +\ldots , \nonumber \\ \end{aligned}$$
(15)
$$\begin{aligned} \psi _{h}(z)= & {} \psi (z_{h}) + \psi ^{\prime }(z_h)(z-z_h) + \frac{\psi ^{\prime \prime }(z_h)}{2}(z-z_h)^2 + \ldots \nonumber \\ \end{aligned}$$
(16)

To compute the undetermined coefficients, we use the boundary condition \(\phi (z_h) = 0\) along with \(f(z_h) = 0\) and Eqs. (11) and (12). This yieldsFootnote 2

$$\begin{aligned}&\phi ^{\prime \prime }(z_h) = -\frac{2}{3 z_h} \phi ^{\prime }(z_h) \psi ^{2}(z_h) ,\end{aligned}$$
(17)
$$\begin{aligned}&\psi ^{\prime }(z_h) = -\frac{m^2}{3 z_h} \psi (z_h);\nonumber \\&\psi ^{\prime \prime }(z_h) = \frac{\psi (z_h)}{18 z^{2}_{h}}[m^4 + 6 m^2 - z^4 \phi ^{\prime 2}(z_h)] . \end{aligned}$$
(18)

In the rest of our analysis, we shall set \(m^2 = -2\), which in turn implies \(\Delta _{-}=1\) and \(\Delta _{+}=2\). This is consistent with the Breitenlohner–Freedman bound [32, 33]. Hence the near horizon expansions of these fields up to \(\mathcal {O}(z^2)\) read

$$\begin{aligned}&\phi _{h}(z) = \phi ^{\prime }(z_h) \left[ (z-z_h) - \frac{\psi ^{2}(z_h)}{3 z_h}(z-z_h)^{2} \right] ,\end{aligned}$$
(19)
$$\begin{aligned}&\psi _{h}(z) = \psi (z_h) \left[ 1 + \frac{2}{3 z_h}(z - z_h) - \frac{(8 + z^{4}_{h} \phi ^{\prime 2}(z_h) )}{36 z^{2}_{h}}(z-z_h)^{2} \right] .\nonumber \\ \end{aligned}$$
(20)

The matching method involves matching the near horizon expression of the fields with the asymptotic solution of these field at any arbitrary point between the horizon and the boundary, say \(z=\frac{z_{h}}{2}\). In our analysis, we shall match the solution at \(z = \frac{z_h}{\lambda }\), where \( \lambda \) lies between \( [1 , \infty ]\). We shall later on set specific values of \(\lambda \). The matching conditions are

$$\begin{aligned}&\phi _{h}\left( \frac{z_h}{\lambda }\right) = \phi _{b}\left( \frac{z_h}{\lambda }\right) ,\quad \phi ^{\prime }_{h}\left( \frac{z_h}{\lambda }\right) = \phi ^{\prime }_{b}\left( \frac{z_h}{\lambda }\right) ,\end{aligned}$$
(21)
$$\begin{aligned}&\psi _{h}\left( \frac{z_h}{\lambda }\right) = \psi _{b}\left( \frac{z_h}{\lambda }\right) ,\quad \psi ^{\prime }_{h}\left( \frac{z_h}{\lambda }\right) = \psi ^{\prime }_{b}\left( \frac{z_h}{\lambda }\right) . \end{aligned}$$
(22)

From Eq. (21), we obtain the following relations:

$$\begin{aligned}&\psi ^{2}(z_h) = \frac{3\lambda }{1 - \lambda ^2} \left( \frac{\mu }{z_{h} \phi ^{\prime }(z_h)} + 1 \right) ,\end{aligned}$$
(23)
$$\begin{aligned}&\rho = \frac{\lambda }{z_{h}(\lambda + 1)}\left[ 2\mu + z_{h}\phi ^{\prime }(z_h)\left( 1 - \frac{1}{\lambda } \right) \right] . \end{aligned}$$
(24)

Similarly, from Eq. (22), we get

$$\begin{aligned} \psi _{-/+}&= \left[ 1 - \frac{(\lambda -1)}{3\lambda }\frac{(3\lambda \Delta + 2)}{\Delta (\lambda - 1) + 2} \right] \left( \frac{\lambda }{z_{h}}\right) ^{\Delta } \psi (z_h) ,\nonumber \\ \end{aligned}$$
(25)
$$\begin{aligned} \phi ^{\prime 2}(z_h)&= \frac{1}{z^{4}_{h}}\left[ \frac{12\lambda }{(\lambda - 1)}\frac{\lambda \Delta -2 (1-\Delta )}{\Delta (\lambda -1) +2} -8 \right] ~~\nonumber \\&\Rightarrow ~ \phi ^{\prime }(z_{h}) = -\frac{\chi (\lambda ,\Delta )}{z^{2}_{h}} \end{aligned}$$
(26)

where

$$\begin{aligned} \chi (\lambda ,\Delta ) = \sqrt{\frac{12\lambda }{(\lambda - 1)}\frac{\lambda \Delta -2 (1-\Delta )}{\Delta (\lambda -1) +2} -8}. \end{aligned}$$
(27)

In Eq. (25), \(\psi _{-}\) is for \(\Delta = \Delta _{-} = 1 \) and \(\psi _{+}\) is for \(\Delta =\Delta _{+} = 2\). Note that we consider the negative sign before the square root of \(\phi ^{\prime }(z_h)\) because \(\phi ^{\prime } (z_h)\) is the electric field due to the charge of the black hole.

Substituting \(\phi ^{\prime }(z_h)\) from Eq. (26) in Eqs. (23) and (24), we obtain

$$\begin{aligned}&\psi (z_h) = \sqrt{ \frac{3\lambda }{\lambda ^2 - 1} \left( \frac{\mu z_h}{\chi (\lambda , \Delta )} - 1 \right) } ,\end{aligned}$$
(28)
$$\begin{aligned}&\rho = \frac{\lambda }{z_{h}(\lambda + 1)}\left[ 2\mu -\frac{\chi (\lambda ,\Delta )}{z_h}\left( 1 - \frac{1}{\lambda } \right) \right] . \end{aligned}$$
(29)

Using Eqs. (23)–(26) and \(T = \frac{3}{4\pi z_h}\), we obtain the condensation operator and the critical temperature in terms of the chemical potential and the charge density

$$\begin{aligned} \langle \mathcal {O}\rangle = \gamma _{(\mu )} T^{\Delta }_{c} \left( 1 - \frac{T}{T_{c}}\right) ^{1/2}; \quad T_{c}= & {} \xi _{(\mu )} \mu ,\end{aligned}$$
(30)
$$\begin{aligned} \langle \mathcal {O}\rangle = \gamma _{(\rho )} T^{\Delta }_{c} \left( 1 - \frac{T}{T_{c}}\right) ^{1/2}; \quad T_{c}= & {} \xi _{(\rho )} \sqrt{\rho } \end{aligned}$$
(31)

where

$$\begin{aligned}&\gamma _{(\mu )} = \sqrt{\frac{3\lambda ^2}{\lambda ^2 -1}}\left[ 1 - \frac{(\lambda -1)}{3\lambda }\frac{(3\lambda \Delta + 2)}{\Delta (\lambda - 1) + 2} \right] \left( \frac{4\pi \lambda }{3}\right) ^{\Delta },\nonumber \\&\quad \xi _{(\mu )} = \frac{3}{4\pi \chi (\lambda ,\Delta )} ,\end{aligned}$$
(32)
$$\begin{aligned}&\gamma _{(\rho )} = \sqrt{\frac{3\lambda }{\lambda -1}}\left[ 1 - \frac{(\lambda -1)}{3\lambda }\frac{(3\lambda \Delta + 2)}{\Delta (\lambda - 1) + 2} \right] \left( \frac{4\pi \lambda }{3}\right) ^{\Delta },\nonumber \\&\quad \xi _{(\rho )} = \frac{3}{4\pi \sqrt{\chi (\lambda ,\Delta )}}. \end{aligned}$$
(33)

Equations (30)–(33) present the general expressions relating the condensation operator and the critical temperature in terms of the parameter \(\lambda \). We shall now study the above equations for two different boundary conditions, namely, \(\psi _{-} \ne 0 ,~\psi _{+}=0 \) and \(\psi _{+} \ne 0 ,~\psi _{-}=0 \). Let us first consider the case \(\psi _{-}= \langle \mathcal {O}\rangle , ~ \psi _{+}= 0\). As mentioned earlier setting \(\psi _{+}=0\) implies that the condensate \(\psi _{-}\) forms in the absence of the source term \(\psi _{+}\). For simplicity, we choose the matching point to be the middle point between the horizon and the boundary, that is, \(z=\frac{z_h}{2}\), which implies setting \(\lambda =2\) in the above expressions. This gives \(\chi = \sqrt{8} \) for the value of \(\Delta =\Delta _{-}=1\). Hence the relation between the condensation operator and the critical temperature reads

$$\begin{aligned} \langle \mathcal {O}_{-}\rangle _{(\mu )}= & {} \frac{80\pi }{27}T_{c} \left( 1 - \frac{T}{T_{c}}\right) ^{1/2},\quad T_{c} = 0.084 \mu ,\end{aligned}$$
(34)
$$\begin{aligned} \langle \mathcal {O}_{-}\rangle _{(\rho )}= & {} \frac{40\pi \sqrt{6}}{27}T_{c} \left( 1 - \frac{T}{T_{c}}\right) ^{1/2},\quad T_{c} = 0.142 \sqrt{\rho }.\nonumber \\ \end{aligned}$$
(35)

We also carry out our calculations for other values of the matching point by choosing different values of \(\lambda \). For example, \(z=0.10 z_{h}\) (that is, \(\lambda = 10\)), we obtain \(T_{c} =0.169 \sqrt{\rho }\), which agrees fairly well with the numerical result \(T_{c} = 0.225 \sqrt{\rho }\) [15]. For the other case, that is, \(\psi _{+}= \langle \mathcal {O}\rangle , ~ \psi _{-}= 0\), we once again choose the matching point to be the middle point between the horizon and the boundary, that is, \(z=\frac{z_h}{2}\). This gives \(\chi = \sqrt{28} \). Hence the relation between the condensation operator and the critical temperature reads

$$\begin{aligned}&\langle \mathcal {O}_{+}\rangle _{(\mu )} = \frac{160\pi ^2}{27}T^{2}_{c} \left( 1 - \frac{T}{T_{c}}\right) ^{1/2},\quad T_{c} = 0.0451 \mu ,\nonumber \\ \end{aligned}$$
(36)
$$\begin{aligned}&\langle \mathcal {O}_{+}\rangle _{(\rho )} = \frac{80\pi ^{2}\sqrt{6}}{27}T^{2}_{c} \left( 1 - \frac{T}{T_{c}}\right) ^{1/2},\quad T_{c} = 0.104 \sqrt{\rho }.\nonumber \\ \end{aligned}$$
(37)

As before we carry out our analysis for other values of the matching point by choosing different values of \(\lambda \). For example, \(z=0.33 z_{h}\) (that is, \(\lambda = 3\)), we obtain \(T_{c} =0.119 \sqrt{\rho }\), which is in very good agreement with the numerical \(T_{c} = 0.118\sqrt{\rho }\) [6]. The analytical results for different values of \(\lambda \) are presented in Tables 1 and 2. We therefore observe that the results from the matching method depends crucially on the matching point. We would like to mention that there is a priori no way to determine a suitable matching point. This is a lacuna of this method in contrast to the more analytically sound Sturm–Liouville approach [15, 27].

4 Free energy of the holographic superconductor

We now proceed to compute the free energy at a finite temperature of the field theory living on the boundary of the \(3+1\)- bulk theory. To do this the holographic approach is used in relating the free energy \((\Omega )\) of the boundary field theory to the product of the temperature (T) and the on-shell value of the Abelian Higgs sector of the Euclidean action \((S_\mathrm{E})\) [23].

To proceed further, we first write down the action for the action for the Abelian Higgs sector

$$\begin{aligned} S_{M}= & {} \int \mathrm{d}^{4}x \sqrt{-g} \left[ -\frac{1}{4}F^{\mu \nu } F_{\mu \nu } -(D_{\mu }\psi )^{*} D^{\mu }\psi -m^2 \psi ^{*}\psi \right] .\nonumber \\ \end{aligned}$$
(38)

Using the ansatz, \(m^{2}=-2\) and \(q=1\), we get

$$\begin{aligned} S_{M}= & {} \int \mathrm{d}^{4}x \left[ \frac{\phi ^{\prime 2}(z)}{2} - \frac{F(z)\psi ^{\prime 2}(z)}{z^{2}} + \frac{\phi ^{2}(z)\psi ^{2}(z)}{z^{2}F(z)} +\frac{2\psi ^{2}(z)}{z^4} \right] .\nonumber \\ \end{aligned}$$
(39)

Applying the boundary condition (\(\phi (z_{h}) = 0\)) and the equations of motion (11), (12), we obtain the on-shell value of the action \(S_{E}\) to be

$$\begin{aligned} S_{o}= & {} \int \mathrm{d}^{3}x\left[ -\frac{1}{2}\phi (z)\phi ^{\prime }(z) \mid _{z=0} + \frac{F(z)\psi (z)\psi ^{\prime }(z)}{z^{2}}\mid _{z=0}\right. \nonumber \\&\left. - \int ^{z_{h}}_{0} \mathrm{d}z \frac{\phi ^{2}(z)\psi ^{2}(z)}{z^{2}F(z)} \right] . \end{aligned}$$
(40)

Substituting the asymptotic behaviour of \(\phi (z)\) and \(\psi (z)\) in the above action, we get

$$\begin{aligned} S_{o}= & {} \int \mathrm{d}^{3}x \left[ \frac{\mu \rho }{2} + 3\psi _{+}\psi _{-} +\left( \frac{\psi ^{2}_{-}}{z}\right) \mid _{z=0} \right. \nonumber \\&\left. - \int ^{z_{h}}_{0} \mathrm{d}z \frac{\phi ^{2}(z)\psi ^{2}(z)}{z^{2}(1-z^{3}/z^{3}_{h})} \right] . \end{aligned}$$
(41)

Note that the term \((\frac{\psi ^{2}_{-}}{z})\mid _{z=0}\) diverges and therefore one needs to add a counter term at the boundary to cancel this divergence. For the boundary condition \(\psi _{-}=0\), \(\psi _{+}\ne 0\), the counter term comes from the counter action [23, 24]

$$\begin{aligned} S_{c} = -\int \mathrm{d}^{3}x (\sqrt{-h} \psi ^{2}(z))\mid _{z=0} \end{aligned}$$
(42)

where h is the determinant of the induced metric on the AdS boundary. Using the asymptotic behaviour of \(\psi (z)\) (Eq. 14) and evaluating this term, we obtain

$$\begin{aligned} S_{c} = -\int \mathrm{d}^{3}x \left[ 2\psi _{+}\psi _{-} + \left( \frac{\psi ^{2}_{-}}{z}\right) \mid _{z=0} \right] . \end{aligned}$$
(43)

The free energy of the \(2+1\)-boundary field theory can now be obtained by adding \(S_o\) and \(S_c\). This yields

$$\begin{aligned} \Omega= & {} -T (S_{o} + S_{c})\nonumber \\= & {} \beta T V_{2} \left[ -\frac{\mu \rho }{2} -\psi _{+}\psi _{-} + I\right] \nonumber \\ {}= & {} \beta T V_{2} \left[ -\frac{\mu \rho }{2} + I\right] \end{aligned}$$
(44)

where in the second equality we have set \(\int \mathrm{d}^{3}x = \beta V_{2}\), \(V_{2}\) being the volume of the 2-dimensional space of the boundary and in the last equality we have used the fact that \(\psi _{-}=0\). The integral I reads

$$\begin{aligned} I= & {} \int ^{z_h}_{0} \mathrm{d}z \frac{\phi ^{2}(z)\psi ^{2}(z)}{z^{2}(1- z^{3}/z^{3}_{h})} = \int ^{z_{h}/\lambda }_{0} \mathrm{d}z \frac{\phi ^{2}_{b}(z)\psi ^{2}_{b}(z)}{z^{2}(1- z^{3}/z^{3}_{h})}\nonumber \\&+ \int ^{z_h}_{z_{h}/\lambda } \mathrm{d}z \frac{\phi ^{2}_{h}(z)\psi ^{2}_{h}(z)}{z^{2}(1- z^{3}/z^{3}_{h})} \equiv \mathcal {I}_{1} + \mathcal {I}_{2}. \end{aligned}$$
(45)

For the other boundary condition, namely, \(\psi _{+} = 0\), \(\psi _{-}\ne 0\), the counter action reads [23, 24, 34]

$$\begin{aligned} S_{c}= & {} -\int \mathrm{d}^{3}x \left( \sqrt{-h} z \psi (z) \psi ^{\prime }(z) \right) \mid _{z=0}\nonumber \\= & {} -\int \mathrm{d}^{3}x \left[ 3\psi _{+}\psi _{-} + \left( \frac{\psi ^{2}_{-}}{z}\right) \mid _{z=0} \right] . \end{aligned}$$
(46)

This cancels the divergence term of the on-shell action (41) and yields

$$\begin{aligned} \Omega = \beta T V_{2} \left[ -\frac{\mu \rho }{2} + I \right] . \end{aligned}$$
(47)

To evaluate the integral, we rewrite the matter field in the following form:

$$\begin{aligned} \psi (z_h) = \chi _{1}\sqrt{\frac{\mu z_h}{\chi } - 1},\quad \psi _{-/+} = \chi _{2}\frac{\psi (z_h)}{z^{\Delta }_{h}} \end{aligned}$$
(48)

where \(\chi _{1} = \sqrt{\frac{3\lambda ^2}{\lambda ^2 -1}}\) and \(\chi _{2} = \lambda ^{\Delta } \left[ 1 - \frac{(\lambda -1)}{3\lambda }\frac{3\lambda \Delta + 2 }{\Delta (\lambda -1) +2 } \right] \). Now using the substitution \(z=z_{h} l\), we obtain

$$\begin{aligned} \mathcal {I}_{1}= & {} \int ^{z_{h}/\lambda }_{0} \mathrm{d}z \frac{\phi ^{2}_{b}(z)\psi ^{2}_{b}(z)}{z^{2}(1- z^{3}/z^{3}_{h})}\nonumber \\= & {} \int ^{z_{h}/\lambda }_{0} \mathrm{d}z \frac{(\mu - \rho z)^2 \psi ^{2}_{-/+} z^{2\Delta }}{z^{2}(1- z^{3}/z^{3}_{h})} \nonumber \\= & {} \psi ^{2}_{-/+} z^{2\Delta -1}_{h} [\mu ^{2} \mathcal {A}_{1} + \rho ^{2} z^{2}_{h} \mathcal {A}_2 - 2\mu \rho z_h \mathcal {A}_3] \nonumber \\= & {} \chi ^{2}_{2}\frac{\psi ^{2}(z_h)}{z_h} \left[ B_{1}\mu ^{2} + B_{2}\frac{\mu }{z_h} + B_{3}\frac{1}{z^{2}_{h}} \right] \nonumber \\= & {} \chi ^{2}_{1}\chi ^{2}_{2} \left[ C_{1}\mu ^{3} + C_{2}\frac{\mu ^2}{z_h} + C_{3}\frac{\mu }{z^{2}_h} + C_{4}\frac{1}{z^{3}_h} \right] \end{aligned}$$
(49)

where the constants are given by the following relations:

$$\begin{aligned} \mathcal {A}_{1}= & {} \int ^{1/\lambda }_{0} \frac{l^{2\Delta -2} dl}{(1-l^3)};\quad \mathcal {A}_{2}= \int ^{1/\lambda }_{0} \frac{l^{2\Delta } dl}{(1-l^3)};\quad \nonumber \\ \mathcal {A}_{3}= & {} \int ^{1/\lambda }_{0} \frac{l^{2\Delta -1} dl}{(1-l^3)} ,\nonumber \\ B_{1}= & {} \mathcal {A}_{1}+ \frac{4\mathcal {A}_{2}\lambda ^2}{(1+\lambda )^{2}} - \frac{4\mathcal {A}_{3}\lambda }{(1+\lambda )} , \nonumber \\ B_{2}= & {} \frac{2\chi \mathcal {A}_{3} (\lambda -1)}{(1+\lambda )} - \frac{4\chi \mathcal {A}_{2}(1-1/\lambda )}{(1+1/\lambda )^{2}} , \nonumber \\ B_{3}= & {} \frac{\mathcal {A}_{2}\chi ^{2}(\lambda -1)^2}{(\lambda +1)^2} ,\nonumber \\ C_{1}= & {} \frac{B_{1}}{\chi };\quad C_{2}=\frac{B_2}{\chi } -B_1;\quad C_{3}= \frac{B_3}{\chi } - B_2;\quad C_{4} = -B_3.\nonumber \\ \end{aligned}$$
(50)

The evaluation of the integral \(\mathcal {I}_{2}\) can be done in a similar way and yields

$$\begin{aligned} \mathcal {I}_{2}= & {} \int ^{z_h}_{z_{h}/\lambda } \mathrm{d}z \frac{\phi ^{2}_{h}(z)\psi ^{2}_{h}(z)}{z^{2}(1- z^{3}/z^{3}_{h})} = \phi ^{\prime 2}(z_h)\psi ^{2}(z_h) z_h \left[ \mathcal {A}_{4} + \left( \frac{4}{3} - \frac{2\psi ^{2}(z_h)}{3} \right) \mathcal {A}_{5} \right. \nonumber \\&\left. + \left( \frac{\psi ^{4}(z_h)}{9} + \frac{4}{9} - \frac{8+\chi ^2}{18} -\frac{8\psi ^{2}(z_h)}{9} \right) \mathcal {A}_{6} + \left( \frac{4\psi ^{4}(z_h)}{27} -\frac{2\psi ^{2}(z_h)}{3}\left( \frac{4}{9}-\frac{8+\chi ^2}{18}\right) -\frac{8+\chi ^{2}}{27}\right) \mathcal {A}_{7} \right. \nonumber \\&\left. + \left( \frac{(8+\chi ^{2})^2}{36^2} +\left( \frac{4}{9}-\frac{8+\chi ^2}{18}\right) \frac{\psi ^{4}(z_h)}{9} +\frac{2(8+\chi ^2)\psi ^{2}(z_h)}{81} \right) \mathcal {A}_{8} + \frac{(8+\chi ^2)^{2}\psi ^{4}(z_h)}{9(36)^2}\mathcal {A}_{10} \right. \nonumber \\&\left. + \left( \frac{-(8+\chi ^2)\psi ^{4}(z_h)}{243}-\frac{2(8+\chi ^2)^{2}\psi ^{2}(z_h)}{3(36)^2} \right) \mathcal {A}_{9} \right] \end{aligned}$$
(51)

where the constants \(\mathcal {A}_{n}\) (\(n=4,~5,~6,~7,~8,~9,~10\)) are given by the following relations:

$$\begin{aligned} \mathcal {A}_{n} = \int ^{1}_{1/\lambda }\frac{(l-1)^{n-2} \mathrm{d}l}{l^2 (1-l^3)}. \end{aligned}$$
(52)

After simplification of the above expression, we get

$$\begin{aligned} \mathcal {I}_{2}= & {} \phi ^{\prime 2}(z_h)\psi ^{2}(z_h) z_{h}[B_4 + B_{5}\psi ^{2}(z_h) +B_{6}\psi ^{4}(z_h) ] \nonumber \\= & {} \phi ^{\prime 2}(z_h)\psi ^{2}(z_h) z_{h}[C_5 + C_{6}\mu z_h +C_{7}\mu ^{2}z^{2}_{h}] \nonumber \\= & {} \chi ^{2}_{1}\chi ^{2}_{3} \left[ D_{1}\mu ^3 + D_{2}\frac{\mu ^2}{z_h} + D_{3}\frac{\mu }{z^{2}_{h}} + D_{4}\frac{1}{z^{3}_{h}} \right] \end{aligned}$$
(53)

where the constants in the above expression are given by the following relations:

$$\begin{aligned} B_{4}= & {} \mathcal {A}_{4} + \frac{4}{3}\mathcal {A}_{5} + \left( \frac{4}{9} - \frac{8+\chi ^2}{18} \right) \nonumber \\&\mathcal {A}_{6} -\frac{8+\chi ^2}{27}\mathcal {A}_{7} + \frac{(8+\chi ^2)^{2}}{36^{2}}\mathcal {A}_{8} , \nonumber \\ B_{5}= & {} -\frac{2}{3}\mathcal {A}_{5} - \frac{8}{9}\mathcal {A}_{6} -\frac{2}{3} \left( \frac{4}{9} - \frac{8+\chi ^2}{18} \right) \nonumber \\&\mathcal {A}_{7} +\frac{16+2\chi ^2}{81}\mathcal {A}_{8} -\frac{2}{3} \frac{(8+\chi ^2)^{2}}{36^{2}}\mathcal {A}_{9}, \nonumber \\ B_{6}= & {} \frac{1}{9}\mathcal {A}_{6} + \frac{4}{27}\mathcal {A}_{7} + \left( \frac{4}{9} - \frac{8+\chi ^2}{18} \right) \nonumber \\&\frac{\mathcal {A}_{8}}{9} -\frac{8+\chi ^2}{243}\mathcal {A}_{9} + \frac{(8+\chi ^2)^{2}}{36^{2}}\frac{\mathcal {A}_{10}}{9} ,\nonumber \\ C_{5}= & {} B_{4} - \chi ^2_{1}B_{5} + \chi ^{4}_{1}B_{6} ~~;\nonumber \\&C_{6}= \frac{\chi ^{2}_{1}}{\chi }B_{5} -\frac{2\chi ^{4}_{1}}{\chi }B_{6},\quad C_{7}= \frac{\chi ^{4}_{1}}{\chi ^2}B_{6} , \nonumber \\ D_{1}= & {} \frac{C_{7}}{\chi },\quad D_{2}=\frac{C_6}{\chi } -C_7;\nonumber \\&D_{3}= \frac{C_5}{\chi } - C_6,\quad D_{4} = -C_5. \end{aligned}$$
(54)

Adding \(\mathcal {I}_{1}\) and \(\mathcal {I}_{2}\), we finally get

$$\begin{aligned} I = E_{1} \mu ^3 + E_{2} \frac{\mu ^2}{z_h} + E_{3}\frac{\mu }{z^{2}_{h}} + E_{4} \frac{1}{z^{3}_{h}} \end{aligned}$$
(55)

where

$$\begin{aligned} E_{1}= & {} \chi ^{2}_{1} \chi ^{2}_{2} C_{1} + \chi ^{2}_{1} \chi ^{2}_{3} D_{1} ,\quad E_{2}= \chi ^{2}_{1} \chi ^{2}_{2} C_{2} + \chi ^{2}_{1} \chi ^{2}_{3} D_{2} ,\nonumber \\ E_{3}= & {} \chi ^{2}_{1} \chi ^{2}_{2} C_{3} + \chi ^{2}_{1} \chi ^{2}_{3} D_{3} ,\quad E_{4}= \chi ^{2}_{1} \chi ^{2}_{2} C_{4} + \chi ^{2}_{1} \chi ^{2}_{3} D_{4}.\nonumber \\ \end{aligned}$$
(56)

Hence the analytical expression for the free energy in terms of the chemical potential reads

$$\begin{aligned} \frac{\Omega }{V_2}= & {} -\frac{\lambda }{\lambda +1}\frac{\mu ^2}{z_h} + \frac{(\lambda -1)\chi }{2(\lambda +1)}\frac{\mu }{z^{2}_{h}} + I \nonumber \\\equiv & {} G_{1}\mu ^3 + G_{2}\mu ^2 T + G_{3}\mu T^2 + G_{4} T^3 \end{aligned}$$
(57)

where

$$\begin{aligned} G_{1}= & {} E_{1},\quad G_{2}=\left( E_{2} - \frac{\lambda }{\lambda +1} \right) \frac{4\pi }{3} ,\nonumber \\ G_{3}= & {} \left( E_{3} - \frac{(\lambda -1)\chi }{2(\lambda +1)} \right) \frac{16\pi ^2}{9},\quad G_{4}=\frac{64\pi ^3}{27} E_{4}. \end{aligned}$$
(58)

This expression for the free energy can also be written in terms of the charge density as

$$\begin{aligned} \frac{\Omega }{V_2} = H_{1}\frac{\rho ^3}{T^3} + H_{2}\frac{\rho ^2}{T} + H_{3}\rho T + H_{4} T^3 \end{aligned}$$
(59)

where

$$\begin{aligned} H_{1}= & {} \frac{G_{1}}{8}\left( 1+\frac{1}{\lambda }\right) ^{3} \left( \frac{3}{4\pi }\right) ^{3} ,\nonumber \\ H_{2}= & {} \frac{G_{2}}{4}\left( 1+\frac{1}{\lambda }\right) ^{2} \left( \frac{3}{4\pi }\right) ^{2}\nonumber \\&+\frac{3\chi G_{1}}{8}\left( 1+\frac{1}{\lambda }\right) ^{2} \left( 1-\frac{1}{\lambda }\right) \left( \frac{3}{4\pi }\right) ,\nonumber \\ H_{3}= & {} \frac{G_{3}}{2}\left( 1+\frac{1}{\lambda }\right) \left( \frac{3}{4\pi }\right) + \frac{\chi G_{2}}{2}\left( 1-\frac{1}{\lambda ^2}\right) \nonumber \\&+\frac{3\chi ^2 G_{1}}{8}\left( 1+\frac{1}{\lambda }\right) \left( 1-\frac{1}{\lambda }\right) ^{2} \left( \frac{4\pi }{3}\right) ,\nonumber \\ H_{4}= & {} \frac{\chi G_{3}}{2}\left( 1-\frac{1}{\lambda }\right) \left( \frac{4\pi }{3}\right) + \frac{\chi ^2 G_{2}}{4}\left( 1-\frac{1}{\lambda }\right) ^{2} \left( \frac{4\pi }{3}\right) ^{2}\nonumber \\&+\frac{\chi ^3 G_{1}}{8}\left( 1-\frac{1}{\lambda }\right) ^{3} \left( \frac{4\pi }{3}\right) ^{3} + G_{4}. \nonumber \\ \end{aligned}$$
(60)

In the next section, we shall make use of these results to investigate the thermodynamic geometry of this model in the grand canonical ensemble.

Table 1 For \(\Delta = \Delta _{+} =2\), the critical temperature \(T_{c}=\xi _{(\rho )}\sqrt{\rho }\) with numerical value \(\xi _{(\rho )} = 0.118\) [6]
Table 2 For \(\Delta = \Delta _{-}=1\), the critical temperature \(T_{c}=\xi _{(\rho )}\sqrt{\rho }\) with numerical value \(\xi _{(\rho )}=0.225\) [15]

5 Thermodynamic geometry

With the above results in hand, we now proceed to investigate the thermodynamic geometry of this holographic superconductor. The thermodynamic metric is defined as [19, 20]

$$\begin{aligned} g_{ij} = -\frac{1}{T}\frac{\partial ^2 \omega (T,\rho )}{\partial x^{i} \partial x^{j}} = -\frac{1}{T}\frac{\partial ^2 \omega (T,\mu )}{\partial x^{i} \partial x^{j}} \end{aligned}$$
(61)

where \(\omega = \frac{\Omega }{V_{2}},~ x^1 = T \) and \(x^2= \rho ~\) or \(\mu \). Hence the components of the metric in terms of \(\mu \) read

$$\begin{aligned} g_{TT}= & {} -\left[ 2G_{3}\frac{\mu }{T} + 6G_{4} \right] ,\nonumber \\ g_{T\mu }= & {} g_{\mu T} = -\left[ 2G_{2}\frac{\mu }{T} + 2G_{3} \right] , \nonumber \\ g_{\mu \mu }= & {} -\left[ 6G_{1}\frac{\mu }{T} + 2G_{2} \right] , \end{aligned}$$
(62)

and in terms of \(\rho \) they read

$$\begin{aligned} g_{TT}= & {} -\left[ 12 H_{1}\frac{\rho ^3}{T^6} + 2 H_{2}\frac{\rho ^2}{T^4} + 6 H_{4} \right] ,\nonumber \\ g_{T\rho }= & {} g_{\rho T} =\left[ 9 H_{1}\frac{\rho ^2}{T^5} + 2 H_{2}\frac{\rho }{T^3} -H_{3}\frac{1}{T} \right] ,\nonumber \\ g_{\rho \rho }= & {} -\left[ 6 H_{1}\frac{\rho }{T^4} + 2 H_{2} \frac{1}{T^2}\right] . \end{aligned}$$
(63)

The scalar curvature of a general metric

$$\begin{aligned} \mathrm{d}s^{2}_\mathrm{th} = g_{11} (\mathrm{d}x^{1})^{2} + 2 g_{12} \mathrm{d}x^{1} \mathrm{d}x^{2} + g_{22} (\mathrm{d}x^{2})^2 \end{aligned}$$
(64)

is given by [21]

$$\begin{aligned} R= & {} \frac{-1}{\sqrt{g}}\left[ \frac{\partial }{\partial x^{1}}\left( \frac{g_{12}}{g_{11}\sqrt{g}}\frac{\partial g_{11}}{\partial x^{2}} - \frac{1}{\sqrt{g}}\frac{\partial g_{22}}{\partial x^{1}}\right) \right. \nonumber \\&\left. + \frac{\partial }{\partial x^{2}}\left( \frac{2}{\sqrt{g}}\frac{\partial g_{22}}{\partial x^{2}} - \frac{1}{\sqrt{g}}\frac{\partial g_{11}}{\partial x^{2}} -\frac{g_{12}}{g_{11}\sqrt{g}}\frac{\partial g_{11}}{\partial x^{1}}\right) \right] .\nonumber \\ \end{aligned}$$
(65)

To look for any singularity in R, one has to see whether the denominator of the right hand side of Eq. (65) vanishes. The condition of the divergence of R is \( \mathrm{det} g_{ij} = 0\). For the metric (62), this gives

$$\begin{aligned}&4\Bigg [(3G_{2}G_{4} -G^{2}_{3}) + (9G_{1}G_{4} -G_{2}G_{3})\frac{\mu }{T} \nonumber \\&\quad \left. +\, (3G_{1}G_{3} -G^{2}_{2})\frac{\mu ^2}{T^2}\right] = 0, \end{aligned}$$
(66)

and for the metric (63), this gives

$$\begin{aligned}&\left[ -9H^{2}_{1}\frac{\rho ^4}{T^{10}} +18 H_{1}H_{3}\frac{\rho ^2}{T^6} + (36H_{1}H_{4} +4H_{2}H_{3})\frac{\rho }{T^4}\right. \nonumber \\&\quad \left. +\, (12H_{2}H_{4} -H^{2}_{3})\frac{1}{T^2} \right] =0. \end{aligned}$$
(67)

The temperature for which the scalar curvature vanishes can be obtained by solving these equations. We obtain this critical temperature for the two different boundary conditions \(\psi _{-} \ne 0 ,~\psi _{+}=0 \) and \(\psi _{+} \ne 0 ,~\psi _{-}=0 \) for a set of values of \(\lambda \) and compare them with the results which have been obtained from the matching method. The Tables 1 and 2 give the results for \(\Delta =\Delta _{+}\) and \(\Delta =\Delta _{-}\) obtained from the matching method and the thermodynamic geometry for a set of values of the matching point for these two different boundary conditions, respectively.

Considering the boundary condition \(\psi _{+} \ne 0 ,~\psi _{-}=0 \) (which implies \(\Delta = \Delta _{+}=2\)) and setting \(\lambda = 2\), the above equations yield \(T_{c} = 0.084 \mu \). This does not agree with the result in [24]. For \(\lambda =3\) (that is, \(z=0.33z_{h}\)), we obtain \(T_{c}=0.118 \sqrt{\rho }\) from the divergence of the scalar curvature. This turns out to agree very well with the numerical value \(T_{c}=0.118 \sqrt{\rho }\) [6].

6 Conclusions

We now summarize our findings. We obtain the value of the critical temperature and the condensation operator of a holographic superconductor living in a \(2+1\) dimensions for two different sets of boundary conditions of the condensation operator using the formalism of thermodynamic geometry. The results are compared with those obtained from the matching method. The matching point is taken to be anywhere between the horizon and the boundary and the results are obtained for a set of values of the matching point. The near horizon expressions obtained by the matching method plays a crucial role in obtaining the free energy of the holographic superconductor. This in turn is used to compute the thermodynamic geometry. It is observed that the results for the critical temperature (in terms of the charge density) from the two approaches, namely, the thermodynamic geometry approach and the matching method are exactly equal with the numerical value \(T_{c}=0.118 \sqrt{\rho }\) when the matching point for the near horizon and the boundary behaviour of the fields is taken to be the \(z=z_h/3\) between the horizon and the boundary for the \(\psi _{+} \ne 0 ,~\psi _{-}=0 \) case.