1 Introduction

The progress in the study of scattering amplitudes in the past decade has revealed deep physical insights in quantum field theory and inspired efficient methods for practical calculation. Recently, an effort has been made to connect the amplitudes program to the physics of gravitational waves, which were discovered at LIGO/Virgo [1, 2]. More explicitly, the modern tools for calculating scattering amplitudes at loop level provide a powerful new way to evaluate post-Newtonian and post-Minkowskian expansions in classical general relativity, giving rise to effective two-body Hamiltonians [3,4,5,6,7,8,9,10,11,12,13,14,15,16].

In this interesting new direction, an essential step is to calculate the scattering of two massive objects interacting with gravitons, at n-loop order. To achieve the goal, the tree level amplitudes with two massive scalars and \(n+1\) gravitons are required, due to the so-called unitarity method. Among several methods proposed to calculate these tree amplitudes, one remarkable approach based on the CHY formalism was suggested by Naculich [17]. The advantage of this method is that the CHY formalism is valid in arbitrary space-time dimensions [18,19,20,21,22]; thus the obtained results are more suitable for the dimensional regularization at intermediate steps. More recently, another more efficient way has made use of the CHY formalism and its extension to a double cover [23,24,25,26,27,28]; it was proposed by Bjerrum-Bohr, Cristofoli, Damgaard and Gomez [16]. Using their method, one can evaluate the desired amplitudes recursively, thus avoiding the treatments of contour integrals in the CHY formalism.

One can also consider the classical system including two charged massive objects, such as two charged black holes, interacting through both gravity and the electromagnetic field. Via an idea similar to that described above, one can seek the effective two-body Hamiltonian by calculating the scattering of two massive particles that interact with gravitons and photons, at loop level. Then the unitarity method motivated us to consider the tree level amplitudes whose external states include two massive scalars, gravitons, and photons, as shown in Fig. 1.

In this short note, we propose an algorithm based on the expansions of amplitudes [29,30,31,32,33,34,35,36,37,38,39,40,41]; we use the differential operators constructed by Cheung et al. [42,43,44], or equivalently the dimensional reduction technique [17, 22], to calculate the tree level scalar–graviton (SG) amplitudes with two massive scalars and the tree level scalar–photon–graviton (SPG) amplitudes with two massive scalars and one photon. The first step of the algorithm is to compute the gravity (GR) amplitude with two massive gravitons by expanding it to the bi-adjoint scalar (BAS) amplitudes. The methods for calculating basis and coefficients in the expansion will be discussed in Sect. 2. The SG amplitude with two massive scalars can be generated from the GR amplitude by converting two massive gravitons to scalars, via dimensional reduction manipulation, or applying the differential operators. The SPG amplitude with two massive scalars and one photon can be obtained by transmuting the GR amplitude to the single trace Einstein–Yang–Mills (EYM) amplitude with two massive and one massless gluons, then converting two massive gluons to scalars, and identifying the remaining massless gluon as a photon. Our approach is also regardless of the space-time dimensions, and can be easily implemented in MATHEMATICA. As will be explained, the SPG amplitudes with more than one photons is hard to compute by the method developed in this paper. We leave this problem to future work.

The remainder of this note is organized as follows. In Sect. 2, we introduce our algorithm in detail. In Sect. 3, we compute the SG examples via this algorithm and give the results, which coincide with those obtained in [16]. In Sect. 4, the SPG examples are considered. The full expressions of the 5-point SG and SPG amplitudes are exhibited in Appendix A.

Fig. 1
figure 1

Unitarity method for the scattering of two massive particles interact with gravitons and photons, at loop level. The straight lines represent the charged massive objects, the wavy lines stand for photons, and the double-wavy lines stand for gravitons

2 The algorithm

Our algorithm evaluates tree level GR amplitudes with two massive gravitons via the expansion obtained in [31], then converts gravitons to massive scalars and massless photons through the dimensional reduction procedure [17, 22], or by applying differential operators [42,43,44], to obtain the desired scalar–graviton (SG) or scalar–photon–graviton (SPG) amplitudes. In Sect. 2.1, we will discuss the calculation of the GR amplitudes, including the techniques for computing coefficients in the expansion, and the BAS amplitudes which serve as a basis. In Sect. 2.2, we will study how to transmute gravitons to scalars or photons.

2.1 Calculating GR amplitude

When all external legs are massless, the tree level GR amplitude in D space-time dimensions can be expanded in terms of BAS amplitudes in D dimensions, in the following double copy formula [31]:

$$\begin{aligned} {{\mathcal {A}}}_{\mathrm{GR}}(1,\cdots ,n)=\sum _{\sigma }\sum _{\sigma '}\,C^\epsilon (\sigma ){{\mathcal {A}}}_{\mathrm{BAS}}(1\sigma n|1\sigma 'n)C^{{\widetilde{\epsilon }}}(\sigma ')\,,~~~~\nonumber \\ \end{aligned}$$
(1)

where \(\sigma ,\sigma '\in S_{n-2}\) are permutations of \(n-2\) elements in \(\{2,\ldots ,n-1\}\). Each basis \({{\mathcal {A}}}_{\mathrm{BAS}}(1\sigma n|1\sigma 'n)\) carries two color-orderings \((1\sigma n)\) and \((1\sigma 'n)\). We have chosen \((1\ldots n)\) to denote legs with a color-ordering, and \((1,\ldots ,n)\) to denote legs without any color-ordering. This convention will be used for all amplitudes throughout this paper. Coefficients \(C^\epsilon (\sigma )\) and \(C^{{\widetilde{\epsilon }}}(\sigma ')\) are just Bern–Carrasco–Johansson (BCJ) numerators for Yang–Mills amplitudes [45,46,47,48]. The superscripts \(\epsilon \) and \({\widetilde{\epsilon }}\) indicate the dependence on polarization vectors in two sets \(\{\epsilon _i\}\) and \(\{{\widetilde{\epsilon }}_i\}\), respectively. The GR amplitude carries two independent sets of polarization vectors as understood in a generalized version of the gravity theory, i.e., Einstein gravity couples to a dilaton and 2-form. It can be reduced to the amplitude for pure Einstein gravity, by setting all \({\widetilde{\epsilon }}_i=\epsilon _i\). For our purpose, we want to seek the SP and SPG amplitudes including gravitons for pure Einstein gravity. However, at intermediate steps, we will keep \(\{\epsilon _i\}\) and \(\{{\widetilde{\epsilon }}_i\}\) to be different, to make manifest the double copy structure. This structure ensures that the dimensional reduction procedure, or differential operators, act only on one piece, while keeping another one un-altered. After finishing these manipulations, we will turn all \({\widetilde{\epsilon }}_i\) to \(\epsilon _i\), to exclude the contributions from the dilaton and 2-form.

Now we use the CHY formula to explain that such an expansion is also correct when two external legs are massive (both GR and BAS amplitudes containing two massive legs). In the CHY formula, the GR and BAS amplitudes for massless external legs arise as the contour integrals [18,19,20,21,22]

$$\begin{aligned} {{\mathcal {A}}}^{\epsilon ,{\widetilde{\epsilon }}}_{\mathrm{GR}}(1,\ldots ,n)= & {} \int \,d\mu _n\,\mathbf{Pf}'\Psi _n^\epsilon \mathbf{Pf}'\Psi _n^{{\widetilde{\epsilon }}}\,,\nonumber \\ {{\mathcal {A}}}_{\mathrm{BAS}}(1\sigma n|1\sigma 'n)= & {} \int \,\mathrm{d}\mu _n\,PT_n(1\sigma n) PT_n(1\sigma 'n)\,, \end{aligned}$$
(2)

with the universal measure \(d\mu _n\) given by

$$\begin{aligned} \mathrm{d}\mu _n\equiv {\big (\prod ^n_{j=1,j\ne p,q,r}\,\mathrm{d}z_j\big )|pqr|^2\over \prod _{i=1,i\ne p,q,r}^n\,{{\mathcal {E}}}_i(z)}\,, \end{aligned}$$
(3)

where \(|pqr|\equiv z_{pq}z_{qr}z_{rp}\), with \(z_{ij}\equiv z_i-z_j\). The poles of the contour are determined by the so-called scattering equations \({{\mathcal {E}}}_i(z)\), which are given by

$$\begin{aligned} {{\mathcal {E}}}_i(z)\equiv \sum _{j\ne i}\,{2k_i\cdot k_j\over z_{ij}}=0\,. \end{aligned}$$
(4)

To define the reduced Pfaffian \(\mathbf{Pf}'\Psi _n^\epsilon \), the three matrices A, B and C are introduced as follows:

$$\begin{aligned} A_{ij}= & {} {\left\{ \begin{array}{ll} \displaystyle {k_{i}\cdot k_j+\Delta _{ij}\over z_{ij}} &{} i\ne j\,,\\ \displaystyle ~~~ 0 &{} i=j\,,\end{array}\right. } \qquad \qquad \qquad \qquad \nonumber \\ B_{ij}= & {} {\left\{ \begin{array}{ll} \displaystyle {\epsilon _i\cdot \epsilon _j\over z_{ij}} &{} i\ne j\,,\\ \displaystyle ~~~ 0 &{} i=j\,,\end{array}\right. } \nonumber \\ C_{ij}= & {} {\left\{ \begin{array}{ll} \displaystyle {k_i \cdot \epsilon _j+\eta _{ij}\over z_{ij}} &{}\quad i\ne j\,,\\ \displaystyle -\sum _{l=1,\,l\ne j}^n\quad C_{li} &{}\quad i=j\,.\end{array}\right. } \end{aligned}$$
(5)

The \(2n\times 2n\) antisymmetric matrix \(\Psi _n^\epsilon \) can be constructed from the matrices A, B and C, in the following form:

$$\begin{aligned} \Psi _n^\epsilon = \left( \begin{array}{c|c} ~~A~~ &{} ~~C~~ \\ \hline -C^{\mathrm{T}} &{} B \\ \end{array} \right) \,. \end{aligned}$$
(6)

The reduced Pfaffian of \(\Psi _n^\epsilon \) is defined as \(\mathbf{Pf}'\Psi _n^\epsilon ={(-)^{i+j}\over z_{ij}}\mathbf{Pf}(\Psi _n^\epsilon )^{ij}_{ij}\), where the notation \((\Psi _n^\epsilon )^{ij}_{ij}\) means the \(i{\mathrm{th}}\) and \(j{\mathrm{th}}\) rows and columns in the matrix \(\Psi \) have been removed (with \(1\le i<j\le n\)), and \(\mathbf{Pf}(\Psi _n^\epsilon )^{ij}_{ij}\) stands for the Pfaffian of the antisymmetric matrix \((\Psi _n^\epsilon )^{ij}_{ij}\). Analogous notation holds for \(\mathbf{Pf}'\Psi _n^{{\widetilde{\epsilon }}}\). The Parke–Taylor factor for the ordering \((1\sigma n)\) is given by

$$\begin{aligned} PT_n(1\sigma n)={1\over z_{1\sigma _2}z_{\sigma _2\sigma _3}\dots z_{\sigma _{n-1}n}z_{n1}}\,. \end{aligned}$$
(7)

From the CHY point of view, expanding the GR amplitude to BAS ones can be understood as the expansions

$$\begin{aligned} \mathbf{Pf}'\Psi _n^\epsilon= & {} \sum _\sigma \,C^\epsilon (\sigma )PT_n(1\sigma n)\,,~~~~\nonumber \\ \mathbf{Pf}'\Psi _n^{{\widetilde{\epsilon }}}= & {} \sum _{\sigma '}\,C^{{\widetilde{\epsilon }}}(\sigma ')PT_n(1\sigma 'n)\,.~~~~ \end{aligned}$$
(8)

When two external legs are massive, the Parke–Taylor factors \(PT_n(1\sigma n)\) and \(PT_n(1\sigma 'n)\) will not be altered [16, 17, 49]. On the other hand, if one chooses the removed rows and columns for the reduced Pfaffians \(\mathbf{Pf}'\Psi _n^{\epsilon }\) and \(\mathbf{Pf}'\Psi _n^{{\widetilde{\epsilon }}}\) to be two massive legs, two reduced Pfaffians are also un-modified [16, 17, 49]. Thus one can conclude that the expansions in (8) still hold. When two external legs are massive, the measure part \(d\mu _n\) will be altered due to the modification for the scattering equations [16, 17, 49]. But it is still universal if the massive legs have the same nodes, i.e., if the \(i{\mathrm{th}}\) and \(j{\mathrm{th}}\) legs are massive gravitons for the GR amplitude, where i and j also denote massive scalars for the BAS amplitudes. Combining this fact with the expansions in (8), we arrive at the conclusion that the expansion in (1) is valid for amplitudes with two massive legs, if the massive legs have the same nodes.

Thus, one can use the expansion in (1) to compute the GR amplitude. To do so, one needs to calculate the BAS amplitudes which serve as the basis and the coefficients \(C^{\epsilon }(\sigma )\) and \(C^{{\widetilde{\epsilon }}}(\sigma ')\) in the expansion.

To calculate BAS amplitudes with two massive legs, we employ the method proposed by Cachazo, He and Yuan in [20]. For a BAS amplitude whose double color-orderings are given, this method provides the corresponding Feynman diagrams and the overall sign directly from the color-orderings. We find this method to be effective, since the Feynman diagrams for scalar theory carry no gauge redundancy. Furthermore, the double color-orderings reduce the number of diagrams greatly, since only configurations satisfy two orderings simultaneously are allowed. To see how the double color-orderings restrict the number of diagrams, let us consider the 5-point example \({{\mathcal {A}}}_{\mathrm{BAS}}(12345|14235)\). In Fig. 2, the first diagram satisfies both two color-orderings (12345) and (14235), while the second one satisfies the ordering (12345) but not (14235). Thus, the first diagram is allowed by the double color-orderings (12345|14235), while the second one is not. It is easy to see that other diagrams are also forbidden by the ordering (14235); thus the first diagram in Fig. 2 is the only diagram that contributes to the amplitude \({{\mathcal {A}}}_{\mathrm{BAS}}(12345|14235)\). Therefore, in this example, the number of Feynman diagrams is markedly reduced by two color-orderings.

Fig. 2
figure 2

Two 5-point diagrams

The Feynman diagrams for a given BAS amplitude can be obtained via a systematic diagrammatic rule. For the above example, one can draw a disk diagram as follows.

  • Draw points on the boundary of the disk according to the first ordering (12345).

  • Draw a loop of line segments connecting the points according to the second ordering (14235).

The obtained disk diagram is shown in Fig. 3. From the diagram, one can see that two orderings share the boundaries \(\{1,5\}\) and \(\{2,3\}\). These co-boundaries indicate channels \({1\over s_{15}}\) and \({1\over s_{23}}\); therefore we have the first Feynman diagram in Fig. 2. Then the BAS amplitude \({{\mathcal {A}}}_{\mathrm{BAS}}(12345|14235)\) can be computed as

$$\begin{aligned} {{\mathcal {A}}}_{\mathrm{BAS}}(12345|14235)={1\over s_{23}}{1\over s_{15}}\,, \end{aligned}$$
(9)

up to an overall sign. In this paper the kinematic variables \(s_{ij\ldots k}\) are defined as

$$\begin{aligned} s_{ij\ldots k}=(k_i+k_j+\ldots +k_k)^2-(k_i^2+k_j^2+\ldots +k_k^2)\,.\nonumber \\ \end{aligned}$$
(10)

The advantage of this definition is that the propagators expressed by \({1\over s_{ij\ldots k}}\) are valid for both massless amplitudes and amplitudes with two massive external legs, in which we are interested, as can be seen through the following discussion. The typical Feynman diagram for BAS amplitudes with two massive scalars is shown in Fig. 4. Legs 1 and n are assumed to be massive, with \(P_1^2=P_n^2=m^2\). To distinguish them from massless particles, we have introduced \(P_1\) and \(P_n\) to denote two massive momenta. From Fig. 4, one can observe that each massive virtual particle provides the propagator in the form

$$\begin{aligned}&{1\over (P_1+k_2+k_3+\ldots )^2-m^2}\nonumber \\&\quad ={1\over (P_1+k_2+k_3+\ldots )^2-P_1^2}={1\over s_{123\cdots }}\,. \end{aligned}$$
(11)

Thus, the formula \({1\over s_{ij\ldots k}}\) is the correct expression for any propagator in the case of two massive scalars. Notice that when two massive legs belong to \({\varvec{\alpha }}\) where \({\varvec{\alpha }}\) is a subset of external legs \(\{1,\ldots ,n\}\), we must use \(s_{\{1,\ldots ,n\}{\setminus }{\varvec{\alpha }}}\) rather than \(s_{\varvec{\alpha }}\), since the second one cannot reproduce the correct propagator corresponding to the channel \({\varvec{\alpha }}\). For the other cases, it is easy to prove that \(s_{\varvec{\alpha }}=s_{\{1,\ldots ,n\}{\setminus }{\varvec{\alpha }}}\).

Fig. 3
figure 3

Diagram for \({{\mathcal {A}}}_{\mathrm{BAS}}(1,2,3,4,5|1,4,2,3,5)\)

Fig. 4
figure 4

Typical diagram for BAS amplitudes with two massive scalars, the bold line representing the massive particle

As another example, let us consider the BAS amplitude \({{\mathcal {A}}}_{\mathrm{BAS}}(12345|12435)\). The corresponding disk diagram is shown in Fig. 5, and one can see that two orderings have co-boundaries \(\{3,4\}\) and \(\{5,1,2\}\). The co-boundary \(\{3,4\}\) indicates the channel \({1\over s_{34}}\). The co-boundary \(\{5,1,2\}\) indicates the channel \({1\over s_{512}}\), as well as sub-channels \({1\over s_{12}}\) and \({1\over s_{51}}\) (\({1\over s_{52}}\) is forbidden by both two orderings). Notice that the channel \({1\over s_{512}}\) is equivalent to \({1\over s_{34}}\). Using the above decomposition, one can calculate \({{\mathcal {A}}}_{\mathrm{BAS}}(12345|12435)\) as

$$\begin{aligned} {{\mathcal {A}}}_{\mathrm{BAS}}(12345|12435)={1\over s_{34}}\Big ({1\over s_{12}}+{1\over s_{234}}\Big )\,, \end{aligned}$$
(12)

up to an overall sign.

The overall sign can be fixed by the following rule.

  • Each polygon with an odd number of vertices contributes a plus sign if its orientation is the same as that of the disk and a minus sign if opposite.

  • Each polygon with an even number of vertices always contributes a minus sign.

  • Each intersection point contributes a minus sign.

We can apply this rule to the previous examples. In Fig. 3, the polygons are three triangles, namely 51A, A4B and B23, which contribute \(+\), −, \(+\), respectively, while two intersection points A and B contribute two −. In Fig. 5, the polygons are 512A and A43, which contribute two −, while the intersection point A contributes −. Then we arrive at the full results:

$$\begin{aligned} {{\mathcal {A}}}_{\mathrm{BAS}}(12345|14235)= & {} -{1\over s_{23}}{1\over s_{234}}\,,\nonumber \\ {{\mathcal {A}}}_{\mathrm{BAS}}(12345|12435)= & {} -{1\over s_{34}}\Big ({1\over s_{12}}+{1\over s_{234}}\Big )\,. \end{aligned}$$
(13)
Fig. 5
figure 5

Diagram for

The BCJ numerators \(C^\epsilon (\sigma )\) and \(C^{{\widetilde{\epsilon }}}(\sigma ')\) in (1) can be obtained by the rule provided in [31, 38, 39]. To explain this rule, we chose a reference ordering \(n\prec j_2\prec \cdots \prec j_n\), with n being fixed at the lowest position. We denote the reference ordering as \(\varvec{{\mathcal {R}}}\), and denote the color-ordering \((1\sigma n)\) as \(1\dot{<} \sigma _2\dot{<}\cdots \dot{<} \sigma _{n-1}\dot{<}n\). Then the so-called ordered splittings for the ordering \((1\sigma n)\) can be constructed via the following procedure.

  • At the first step, we construct all possible ordered subsets \(\varvec{{\alpha }}_0=\{1,\alpha ^0_2,\ldots ,\alpha ^0_{|0|-1},n\}\), which satisfy two conditions, (1) \(\varvec{{\alpha }}_0\subset \{1,\ldots ,n\}\), (2) \(\alpha ^0_2\dot{<}\alpha ^0_3\dot{<}\cdots \dot{<}\alpha ^0_{|0|-1}\), respecting to the color-ordering \(1\dot{<} \sigma _2\dot{<}\cdots \dot{<} \sigma _{n-1}\dot{<}n\). Here |i| stands for the length of the set \(\varvec{\alpha }_i\). We call each ordered subset \(\varvec{{\alpha }}_0\) a root.

  • For each root \(\varvec{{\alpha }}_0\), we eliminate its elements in \(\{1,\ldots ,n\}\) and \(\varvec{{\mathcal {R}}}\), resulting in a reduced set \(\{1,\ldots ,n\}{\setminus }\varvec{{\alpha }}_0\), and a reduced reference ordering \(\varvec{{\mathcal {R}}}{\setminus }\varvec{{\alpha }}_0\). Suppose \(R_1\) is the lowest element in the reduce reference ordering \(\varvec{{\mathcal {R}}}{\setminus }\varvec{{\alpha }}_0\); we construct all possible ordered subsets \(\varvec{{\alpha }}_1\) as \(\varvec{{\alpha }}_1=\{\alpha _1^1,\alpha _2^1,\ldots ,\alpha _{|1|-1}^1,R_1\}\), with \(\alpha _1^1\dot{<}\alpha _2^1\dot{<}\cdots \dot{<}\alpha _{|1|-1}^1\dot{<}R_1\), with regard to the color-ordering.

  • By iterating the second step, one can construct \(\varvec{{\alpha }}_2,\varvec{{\alpha }}_3,\ldots \), until \(\varvec{\alpha }_0\cup \varvec{\alpha }_1\cup \cdots \cup \varvec{\alpha }_r=\{1,\ldots ,n\}\).

Each ordered splitting is given as an ordered set \(\{\varvec{{\alpha }}_0,\varvec{{\alpha }}_1,\ldots ,\varvec{{\alpha }}_r\}\), where the ordered sets \(\varvec{{\alpha }}_i\) serve as elements. For a given ordered splitting, the root \(\varvec{{\alpha }}_0\) corresponds to the kinematic factor

$$\begin{aligned} (-)^{|\varvec{\alpha }_0|}(\epsilon _1\cdot f_{\alpha ^0_2}\cdot f_{\alpha ^0_3}\cdots f_{\alpha ^0_{|0|-1}}\cdot \epsilon _n)\,, \end{aligned}$$
(14)

wile the other ordered sets \(\varvec{{\alpha }}_i\) with \(i\ne 0\) correspond to

$$\begin{aligned} \epsilon _{R_i}\cdot f_{\alpha ^i_{|i|-1}}\cdots f_{\alpha ^i_2}\cdot f_{\alpha ^i_1}\cdot Z_{\alpha ^i_1}\,. \end{aligned}$$
(15)

In the above factors, the tensor \(f_i^{\mu \nu }\) is defined by

$$\begin{aligned} f_i^{\mu \nu }\equiv k_i^\mu \epsilon _i^\nu -\epsilon _i^\mu k_i^\nu \,. \end{aligned}$$
(16)

The combined momentum \(Z_{\alpha ^i_1}\) is the sum of momenta of external legs satisfying two conditions: (1) legs at the LHS of \(\alpha ^i_1\) in the color-ordering, (2) legs belonging to \(\varvec{{\alpha }}_j\) at the LHS of \(\varvec{{\alpha }}_i\) in the ordered splitting, i.e., \(j<i\). The coefficient \(C^\epsilon (\sigma )\) is the sum of contributions from all correct ordered splittings. An analogous algorithm holds for evaluating \(C^{{\widetilde{\epsilon }}}(\sigma ')\).

To illustrate the procedure more clearly, let us consider the 4-point BCJ numerator \(C^\epsilon (32)\) for the color-ordering \(1\dot{<}3\dot{<}2\dot{<}4\). The reference ordering is chosen to be \(4\prec 3\prec 2\prec 1\). The roots \(\varvec{{\alpha }}_0\) have the following candidates: \(\{1,4\}\), \(\{1,2,4\}\), \(\{1,3,4\}\), \(\{1,3,2,4\}\). The ordered set \(\{1,2,3,4\}\) violates the color-ordering \(3\dot{<}2\) and therefore can be excluded. For the root \(\varvec{{\alpha }}_0=\{1,4\}\), the lowest element in the reduced reference ordering \(3\prec 2\) is 3; then one can construct \({\varvec{\alpha }}_1=\{3\}\) or \(\varvec{{\alpha }}_1=\{2,3\}\). However, the ordered set \(\{2,3\}\) violates the color-ordering \(3\dot{<}2\) and therefore is forbidden. Thus, we obtain the ordered splitting \(\{\{1,4\},\{3\},\{2\}\}\) for the root \(\{1,4\}\). Similarly, one can get \(\{\{1,2,4\},\{3\}\}\), \(\{\{1,3,4\},\{2\}\}\) and \(\{\{1,3,2,4\}\}\) for the other roots. After giving kinematic factors for each of these splittings, the BCJ numerator \(C^\epsilon (32)\) is found to be

$$\begin{aligned}&(\epsilon _1\cdot \epsilon _4)(\epsilon _3\cdot Z_3)(\epsilon _2\cdot Z_2)-(\epsilon _1\cdot f_2\cdot \epsilon _4)(\epsilon _3\cdot Z_3)\nonumber \\&\quad -(\epsilon _1\cdot f_3\cdot \epsilon _4)(\epsilon _2\cdot Z_2)+(\epsilon _1\cdot f_3\cdot f_2\cdot \epsilon _4)\,. \end{aligned}$$
(17)

The coefficients \(C^\epsilon (\sigma )\) and \(C^{{\widetilde{\epsilon }}}(\sigma ')\), together with the BAS amplitudes \({{\mathcal {A}}}_{\mathrm{BAS}}(1\sigma n|1\sigma 'n)\) with two massive scalars, provide the GR amplitude \({{\mathcal {A}}}^{\epsilon ,{\widetilde{\epsilon }}}_{\mathrm{GR}}(1,\ldots ,n)\) with two massive gravitons, via the expansion in (1).

2.2 Converting gravitons to scalars or photons

After obtaining the GR amplitude with two massive gravitons, one can convert gravitons to scalars or photons through the dimensional reduction procedure, or by applying differential operators to the GR amplitude, to get the desired SG and SPG amplitudes.

To get the SG amplitude with two massive scalars in D dimensions, an effective way is to consider the GR amplitude with two massive gravitons in \(D+1\) dimensions. Roughly speaking, this method is to choose the polarization vectors of two massive gravitons to be in the extra dimension, while all other Lorentz vectors lie in D dimensions [17, 22]. More explicitly, one can set the momenta and polarization vectors of the external legs for the GR amplitude to be

$$\begin{aligned} P_1^\mu= & {} (P_1^0,P_1^1,\ldots ,P_1^{D-1}|0)\,,~~\epsilon _1^\mu =(0,0,\ldots ,0|1)\,,~~\nonumber \\ {\widetilde{\epsilon }}_1^\mu= & {} (0,0,\ldots ,0|1)\,,\nonumber \\ P_n^\mu= & {} (P_n^0,P_n^1,\ldots ,P_n^{D-1}|0)\,,~~\epsilon _n^\mu =(0,0,\ldots ,0|1)\,,~~\nonumber \\ {\widetilde{\epsilon }}_n^\mu= & {} (0,0,\ldots ,0|1)\,,\nonumber \\ k_a^\mu= & {} (k_a^0,k_a^1,\ldots ,k_a^{D-1}|0)\,,~~\nonumber \\ \epsilon _a^\mu= & {} (\epsilon _a^0,\epsilon _a^1,\ldots ,\epsilon _a^{D-1}|0)\,,\nonumber \\ {\widetilde{\epsilon }}_a^\mu= & {} ({\widetilde{\epsilon }}_a^0,{\widetilde{\epsilon }}_a^1,\ldots ,{\widetilde{\epsilon }}_a^{D-1}|0)\,, \end{aligned}$$
(18)

where \(P_1\) and \(P_n\) are massive momenta satisfying \(P_1^2=P_n^2=m^2\), \(k_a\) are massless momenta with \(a\in \{2,\ldots ,n-1\}\). For each vector, the components at the LHS of | lie in D dimensions, while the component at the RHS of | lies in the extra dimension. Under the above choices, two massive gravitons behave as two massive scalars in D dimensions, thus the goal is achieved. This procedure is called dimensional reduction. An equivalent approach is to apply differential operators:

$$\begin{aligned} {{\mathcal {T}}}^\epsilon [1n]\equiv {\partial \over \partial (\epsilon _1\cdot \epsilon _n)}\,,~~~~{{\mathcal {T}}}^{{\widetilde{\epsilon }}}[1n]\equiv {\partial \over \partial ({\widetilde{\epsilon }}_1\cdot {\widetilde{\epsilon }}_n)} \end{aligned}$$
(19)

to the GR amplitude, as proposed in [42] and proved in [43, 44]. To exclude contributions from the dilaton and 2-form, one needs to turn all \({\widetilde{\epsilon }}_i\) to \(\epsilon _i\) at the final step.

Fig. 6
figure 6

Converting two massive gluons to scalars when the number of gluons is 3

To obtain the SPG amplitude with two massive scalars and one massless photon, we first apply the operator

$$\begin{aligned} {{\mathcal {T}}}^{{\widetilde{\epsilon }}}[1bn] \equiv \Big ({\partial \over \partial (P_1\cdot {\widetilde{\epsilon }}_b)}-{\partial \over \partial (P_n\cdot {\widetilde{\epsilon }}_b)}\Big ){{\mathcal {T}}}^{{\widetilde{\epsilon }}}[1n] \end{aligned}$$
(20)

to the GR amplitude, to generate the single trace EYM amplitude \({{\mathcal {A}}}^{\epsilon ,{\widetilde{\epsilon }}}_{\mathrm{EYM}}(1bn;\{1,\ldots ,n\}{\setminus }\{1,b,n\})\), with two massive gluons \(1\,,\,n\) and one massless gluon b, as well as \(n-3\) gravitons in the set \(\{1,\ldots ,n\}{\setminus }\{1,b,n\}\). Then we use the operator \({{\mathcal {T}}}^\epsilon [1n]\) to convert the massive gluons \(1\,,\,n\) to scalars. After this manipulation, the remaining gluon b can be identified as a photon. The reason is that, after converting two massive gluons to scalars, the vector boson b attached to the vertex including two scalars and b, bears the same structure as the photon–scalar vertex, as shown in Fig. 6 (The color-ordered partial amplitude does not contain any group-theoretic factor). When there is only one external gluon, the self-interaction of gluons does not occur. Thus, from the angle of scattering amplitudes, a gluon cannot be distinguished from a photon before adding the coupling constants. Consequently, we arrive at the SPG amplitude whose external particles are two scalars, one photon and \(n-3\) gravitonsFootnote 1.

For the SPG amplitude with two massive scalars and one photon, it is hard to find a dimensional reduction manipulation which is equivalent to applying the differential operators, since the insertion operator

$$\begin{aligned} {{\mathcal {I}}}^{{\widetilde{\epsilon }}}_{1bn}\equiv {\partial \over \partial (P_1\cdot {\widetilde{\epsilon }}_b)}-{\partial \over \partial (P_n\cdot {\widetilde{\epsilon }}_b)} \end{aligned}$$
(21)

cannot be interpreted directly by dimensional reduction.

It is worth to emphasize that the dimensional reduction technique and the method of applying differential operators, which are originally proposed for massless amplitudes, are also valid for amplitudes with two massive legs, as explained in [50].

Fig. 7
figure 7

Converting two massive gluons to scalars when the number of gluons is larger than 3

Let us explain why it is hard to calculate the SPG amplitude with more than one photons by the method mentioned above. Suppose we naively apply this method, i.e., perform the trace operator \({{\mathcal {T}}}^{{\widetilde{\epsilon }}}[1bc\cdots n]\) to the GR amplitude to create the single tace EYM amplitude with more gluons; the self-interactions of gluons cannot then be removed by converting two gluons to scalars, as shown in Fig. 7. This fact indicates that the remaining external gluons can never be identified as photons. But one can ask if there are other ways to turn gravitons to photons. As is well known, the photon–graviton amplitude can be generated from the GR amplitude by dimensional reduction [22], or by applying the operator [43]

$$\begin{aligned} {{\mathcal {T}}}^{{\widetilde{\epsilon }}}_{X_{2m}}\equiv & {} \sum _{\rho \in \mathrm{pair}}\,\prod _{i_k,j_k\in \rho }\,{{\mathcal {T}}}^{{\widetilde{\epsilon }}}[i_k,j_k]\,.~~~~ \end{aligned}$$
(22)

Here the set

$$\begin{aligned} \rho =\{(i_1,j_1),\ldots ,(i_m,j_m)\} \end{aligned}$$
(23)

is a partition of the length-2m set including two massive scalars and all photons into pairs, with \(i_1<i_2<\cdots <i_m\) and \(i_t<j_t\), \(\forall \,t\). The summation is over all partitions \(\rho \). For the case under consideration in this paper, it is hard to use the above manipulation to achieve the desired amplitude with correct coupling constants. On using the above method, the contributions from vertices describing that two photons interact with one graviton will occur, as shown in Fig. 8, a problem arises. For two types of vertices which include photons, as shown in Fig. 9, the coupling constants are different. Then different diagrams with the same external legs can carry different coupling constants, for instance two diagrams in Fig. 10. Since our method only concerns external states of amplitudes, and the coupling constants are omitted, how to separate different pieces with different coupling constants from a full amplitude becomes a difficult question. This is why we do not employ the dimensional reduction or the operator \({{\mathcal {T}}}^{{\widetilde{\epsilon }}}_{X_{2m}}\) to convert gravitons to photons.Footnote 2

Fig. 8
figure 8

Photons interact with gravitons

Before ending this section, we point out there are alternative choices of expansions. For example, one can calculate the EYM amplitude with two massive and one massless gluons by expanding it to BAS amplitudes, then convert two massive gluons to scalars, to get the SPG amplitude with two massive scalars, one photon and \(n-3\) gravitons. The algorithm for evaluating coefficients for the EYM amplitude can be generated from the algorithm for computing coefficients for the GR amplitude via the differential operator \({{\mathcal {T}}}^{{\widetilde{\epsilon }}}[1bn]\), as can be found in [31]. Thus, the two methods are totally equivalent, since the differential operators only act on coefficients rather than the basis in the expanded formula of the GR amplitude (1).

Fig. 9
figure 9

Two vertices which contain photons

Fig. 10
figure 10

Two diagrams with the same external legs and different coupling constants

3 Scalar–graviton examples

In this section, we use the method introduced in the previous section, to calculate SG amplitudes with two massive scalars and \(n-2\) gravitons. Before going to examples, let us do a little simplification of the algorithm. The dimensional reduction manipulation and the differential operators only act on two coefficients in the expanded GR amplitude in (1). The effect of them is turning all \(\epsilon _1\cdot \epsilon _n\) and \({\widetilde{\epsilon }}_1\cdot {\widetilde{\epsilon }}_n\) to 1, while annihilating all other terms that do not contain both \(\epsilon _1\cdot \epsilon _n\) and \({\widetilde{\epsilon }}_1\cdot {\widetilde{\epsilon }}_n\). Thus, one only needs to consider ordered splittings with the root \(\{1,n\}\), and turn the corresponding terms in \(C^\epsilon (\sigma )\) and \(C^{{\widetilde{\epsilon }}}(\sigma ')\) to \({{\mathcal {C}}}^\epsilon (\sigma )\) and \({{\mathcal {C}}}^{{\widetilde{\epsilon }}}(\sigma ')\), by setting \(\epsilon _1\cdot \epsilon _n=1\), \({\widetilde{\epsilon }}_1\cdot {\widetilde{\epsilon }}_n=1\), respectively. Then we arrive at

$$\begin{aligned}&{{\widetilde{\mathcal {A}}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,\ldots ,(n-1)_h,\mathbf{n}_\varphi )\nonumber \\&\quad =\sum _\sigma \,\sum _{\sigma '}\,{{\mathcal {C}}}^\epsilon (\sigma ){{\mathcal {A}}}_{\mathrm{BAS}}(\mathbf{1}\sigma \mathbf{n}|\mathbf{1}\sigma '\mathbf{n}){{\mathcal {C}}}^{{\widetilde{\epsilon }}}(\sigma ')\,.~~~~ \end{aligned}$$
(24)

In this and the next sections, we use a bold number to denote massive external particles. The notation \({{\widetilde{\mathcal {A}}}}_{\mathrm{SG}}\) stands for the SG amplitude, which includes contributions from the dilaton and 2-form. The last step is turning all \({\widetilde{\epsilon }}_i\) to \(\epsilon _i\), to obtain the result

$$\begin{aligned}&{{\mathcal {A}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,\ldots ,(n-1)_h,\mathbf{n}_\varphi )\nonumber \\&\quad =\sum _\sigma \,\sum _{\sigma '}\,{{\mathcal {C}}}^\epsilon (\sigma ){{\mathcal {A}}}_{\mathrm{BAS}}(\mathbf{1}\sigma \mathbf{n}|\mathbf{1}\sigma '\mathbf{n}){{\mathcal {C}}}^{\epsilon }(\sigma ')\,.~~~~ \end{aligned}$$
(25)

3.1 4-Point amplitude \({{\mathcal {A}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,3_h,\mathbf{4}_\varphi )\)

The simplest example is the 4-point amplitude \({{\mathcal {A}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,3_h,\mathbf{4}_\varphi )\) with two massive scalars \(\mathbf{1}_\varphi \), \(\mathbf{4}_\varphi \), and two massless gravitons \(2_h\), \(3_h\). This amplitude has been calculated in [16]. Our method leads to the equivalent expression.

According to the expansion in (25), we need to calculate the 4-point BAS amplitudes \({{\mathcal {A}}}_{\mathrm{BAS}}(\mathbf{1}\sigma \mathbf{4}|\mathbf{1}\sigma '\mathbf{4})\) and the coefficients \({{\mathcal {C}}}^\epsilon (\sigma )\) and \({{\mathcal {C}}}^{{\widetilde{\epsilon }}}(\sigma ')\). Using the diagrammatic technique introduced in Sect. 2, the 4-point BAS amplitudes with two massive scalars \(\mathbf{1}\) and \(\mathbf{4}\) fixed at two ends in the color-orderings can be calculated as

(26)

The coefficients can be computed by finding all correct ordered splittings, as discussed in Sect. 2. The expressions for the coefficients are given by

$$\begin{aligned} {{\mathcal {C}}}^\epsilon (23)= & {} (\epsilon _3\cdot P_1)(\epsilon _2\cdot P_1)+\epsilon _3\cdot f_2\cdot P_1\,,\nonumber \\ {{\mathcal {C}}}^{\epsilon }(32)= & {} (\epsilon _3\cdot P_1)(\epsilon _2\cdot P_{13})\,,~~~~ \end{aligned}$$
(27)

with the reference ordering \(4\prec 3\prec 2\prec 1\). Substituting these ingredients into the expansion (24), we get the desired SG amplitude expressed as

$$\begin{aligned}&{{\mathcal {A}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,3_h,\mathbf{4}_\varphi )\nonumber \\&\quad =-\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_1)+\epsilon _3\cdot f_2\cdot P_1\Big )^2 \Big ({1\over s_{12}}+{1\over s_{23}}\Big )\nonumber \\&\qquad + {2\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_1)+\epsilon _3\cdot f_2\cdot P_1\Big )\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_{13})\Big )\over s_{23}}\nonumber \\&\qquad -\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_{13})\Big )^2\Big ({1\over s_{13}}+{1\over s_{23}}\Big )\,. \end{aligned}$$
(28)

It is straightforward to verify the equivalence between this expression and the formula obtained in [16].

3.2 5-Point amplitude \({{\mathcal {A}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,3_h,4_h,\mathbf{5}_\varphi )\)

Then we consider the 5-point example \({{\mathcal {A}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,3_h,4_h,{} \mathbf{5}_\varphi )\), with two massive scalars \(\mathbf{1}_\varphi \), \(\mathbf{5}_\varphi \), and three massless gravitons \(2_h\), \(3_h\), \(4_h\). The 5-point BAS amplitudes with two massive legs \(\mathbf{1}\), \(\mathbf{5}\) and color-orderings \(({\mathbf{1}}{{234}}{\mathbf{5}}|\mathbf{1}\sigma \mathbf{5})\) can be computed as

(29)

Other 5-point BAS amplitudes can be obtained from them by changing nodes, for example, \({{\mathcal {A}}}_{\mathrm{BAS}}({\mathbf {1}}324{\mathbf {5}}|{\mathbf{1}}243{\mathbf {5}})\) can be generated from \({{\mathcal {A}}}_{\mathrm{BAS}}({{\mathbf {1}}}234{{\mathbf {5}}}|{\mathbf {1}}342{\mathbf {5}})\) via the replacement \(2\rightarrow 3\,,\,3\rightarrow 2\). The coefficients \({{\mathcal {C}}}^\epsilon (\sigma )\) can be calculated as

$$\begin{aligned} {{\mathcal {C}}}^\epsilon (234)= & {} (\epsilon _4\cdot P_1)(\epsilon _3\cdot P_1)(\epsilon _2\cdot P_1)\nonumber \\&+(\epsilon _4\cdot P_1)(\epsilon _3\cdot f_2\cdot P_1)\nonumber \\&+(\epsilon _4\cdot f_3\cdot P_1)(\epsilon _2\cdot P_1)\nonumber \\&+(\epsilon _4\cdot f_2\cdot P_1)(\epsilon _3\cdot P_{12})\nonumber \\&+(\epsilon _4\cdot f_3\cdot f_2\cdot P_1)\,,\nonumber \\ {{\mathcal {C}}}^\epsilon (243)= & {} (\epsilon _4\cdot P_1)(\epsilon _3\cdot P_{14})(\epsilon _2\cdot P_1)\nonumber \\&+(\epsilon _4\cdot f_2\cdot P_1)(\epsilon _3\cdot P_{124})\,,\nonumber \\ {{\mathcal {C}}}^\epsilon (324)= & {} (\epsilon _4\cdot P_1)(\epsilon _3\cdot P_1)(\epsilon _2\cdot P_{13}) \nonumber \\&+(\epsilon _4\cdot f_2\cdot P_1)(\epsilon _3\cdot P_1)\nonumber \\&+(\epsilon _4\cdot f_3\cdot P_1)(\epsilon _2\cdot P_{13})\nonumber \\&+(\epsilon _4\cdot f_2\cdot f_3\cdot P_1)\,,\nonumber \\ {{\mathcal {C}}}^\epsilon (342)= & {} (\epsilon _4\cdot P_1)(\epsilon _3\cdot P_1)(\epsilon _2\cdot P_{134})\nonumber \\&+(\epsilon _4\cdot f_3\cdot P_1)(\epsilon _2\cdot P_{134})\,,\nonumber \\ {{\mathcal {C}}}^\epsilon (423)= & {} (\epsilon _4\cdot P_1)(\epsilon _3\cdot P_{14})(\epsilon _2\cdot P_{14})\nonumber \\&+(\epsilon _4\cdot P_1)(\epsilon _3\cdot f_2\cdot P_{14})\,,\nonumber \\ {{\mathcal {C}}}^\epsilon (432)= & {} (\epsilon _4\cdot P_1)(\epsilon _3\cdot P_{14})(\epsilon _2\cdot P_{134})\,,~~~~ \end{aligned}$$
(30)

with the reference ordering \(5\prec 4\prec 3\prec 2\prec 1\). Substituting (29) and (30) into (25), we arrive at the SG amplitude with two massive scalars, as exhibited in Appendix A.

Higher point SG amplitudes with two massive scalars follow by the same method. Although the lengths of the expressions for higher points amplitudes are large, the calculation can be easily realized in MATHEMATICA.

4 Scalar–photon–graviton examples

In this section we consider SPG amplitudes with two massive scalars, one massless photon and \(n-3\) massless gravitons. As discussed in Sect. 2, such amplitudes can be obtained by applying \({{\mathcal {T}}}^\epsilon [1n]\) and \({{\mathcal {T}}}^{{\widetilde{\epsilon }}}[1bn]\equiv {{\mathcal {I}}}^{{\widetilde{\epsilon }}}_{1bn}{{\mathcal {T}}}^{{\widetilde{\epsilon }}}[1n]\) to the GR amplitude, then turning all \({\widetilde{\epsilon }}_i\) to \(\epsilon _i\). Performing \({{\mathcal {T}}}^\epsilon [1n]\) and \({{\mathcal {T}}}^{{\widetilde{\epsilon }}}[1n]\) to the GR amplitude gives rise to the SG amplitude \({{\widetilde{\mathcal {A}}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,\ldots ,(n-1)_h,\mathbf{n}_\varphi )\) discussed in the previous section, thus a more efficient way is to apply the insertion operator \({{\mathcal {I}}}^{{\widetilde{\epsilon }}}_{1bn}\) to \({{\widetilde{\mathcal {A}}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,\ldots ,(n-1)_h,\mathbf{n}_\varphi )\), and then turn all \({\widetilde{\epsilon }}_i\) to \(\epsilon _i\).

4.1 4-point amplitude \({{\mathcal {A}}}_{\mathrm{SPG}}(\mathbf{1}_\varphi ,2_p,3_h,\mathbf{4}_\varphi )\)

Our first example is the 4-Point amplitude \({{\mathcal {A}}}_{\mathrm{SPG}}(\mathbf{1}_\varphi ,2_p,3_h,{} \mathbf{4}_\varphi )\), with two massive scalars \(\mathbf{1}_\varphi \), \(\mathbf{4}_\varphi \), one massless photon \(2_p\), and one massless graviton \(3_h\). As discussed above, we will apply the operator

$$\begin{aligned} {{\mathcal {I}}}^{{\widetilde{\epsilon }}}_{124}\equiv {\partial \over \partial ({\widetilde{\epsilon }}_2\cdot P_1)}-{\partial \over \partial ({\widetilde{\epsilon }}_2\cdot k_4)}\,, \end{aligned}$$
(31)

to the amplitude \({{\widetilde{\mathcal {A}}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,3_h,\mathbf{4}_\varphi )\). Using the BAS amplitudes in (26) and the coefficients in (27) (coefficients \({{\mathcal {C}}}^{{\widetilde{\epsilon }}}(\sigma )\) can be generated from \({{\mathcal {C}}}^{\epsilon }(\sigma )\) by turning all \(\epsilon _i\) to \({\widetilde{\epsilon }}_i\)), we have

$$\begin{aligned}&{{\widetilde{\mathcal {A}}}}_{\mathrm{SG}}(\mathbf{1}_\varphi ,2_h,3_h,\mathbf{4}_\varphi )\nonumber \\&\quad =-\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_1)+\epsilon _3\cdot f_2\cdot P_1\Big ) \Big ({1\over s_{12}}+{1\over s_{23}}\Big )\nonumber \\&\qquad \Big (({\widetilde{\epsilon }}_3\cdot P_1)({\widetilde{\epsilon }}_2\cdot P_1)+{\widetilde{\epsilon }}_3\cdot \widetilde{f}_2\cdot P_1\Big )\nonumber \\&\qquad + {\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_1)+\epsilon _3\cdot f_2\cdot P_1\Big )\Big (({\widetilde{\epsilon }}_3\cdot P_1)({\widetilde{\epsilon }}_2\cdot P_{13})\Big )\over s_{23}}\nonumber \\&\qquad + {\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_{13})\Big )\Big (({\widetilde{\epsilon }}_3\cdot P_1)({\widetilde{\epsilon }}_2\cdot P_1)+{\widetilde{\epsilon }}_3\cdot \widetilde{f}_2\cdot P_1\Big )\over s_{23}}\nonumber \\&\qquad -\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_{13})\Big )\Big ({1\over s_{13}}+{1\over s_{23}}\Big )\Big (({\widetilde{\epsilon }}_3\cdot P_1)({\widetilde{\epsilon }}_2\cdot P_{13})\Big )\,.\nonumber \\ \end{aligned}$$
(32)

After applying \({{\mathcal {I}}}^{{\widetilde{\epsilon }}}_{124}\), and turning all \({\widetilde{\epsilon }}_i\) to \(\epsilon _i\), we get the result

$$\begin{aligned} {{\mathcal {A}}}_{\mathrm{SPG}}(\mathbf{1}_\varphi ,2_p,3_h,\mathbf{4}_\varphi )&=-\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_1)+\epsilon _3\cdot f_2\cdot P_1\Big ) \Big ({1\over s_{12}}+{1\over s_{23}}\Big )\Big ((\epsilon _3\cdot P_1)+\epsilon _3\cdot k_2\Big )\nonumber \\&\quad + {\Big ((\epsilon _3\cdot P_1)+\epsilon _3\cdot k_2\Big )\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_{13})\Big )+\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_1)+\epsilon _3\cdot f_2\cdot P_1\Big )(\epsilon _3\cdot P_1)\over s_{23}}\nonumber \\&\quad -\Big ((\epsilon _3\cdot P_1)(\epsilon _2\cdot P_{13})\Big )\Big ({1\over s_{13}}+{1\over s_{23}}\Big )(\epsilon _3\cdot P_1)\,. \end{aligned}$$
(33)

4.2 5-Point amplitude \({{\mathcal {A}}}_{\mathrm{SPG}}(\mathbf{1}_\varphi ,2_p,3_h,4_h,\mathbf{5}_\varphi )\)

The next example is the 5-point amplitude \({{\mathcal {A}}}_{\mathrm{SPG}}(\mathbf{1}_\varphi ,2_p,3_h,4_h,\mathbf{5}_\varphi )\), with two massive scalars \(\mathbf{1}_\varphi \), \(\mathbf{5}_\varphi \), one massless photon \(2_p\), and two massless gravitons \(3_h\), \(4_h\). The computation of this amplitude follows in a similar way. Substituting BAS amplitudes in (29) and the coefficients in (30) into (24), one can get the SG amplitude \({{\widetilde{\mathcal {A}}}}_{\mathrm{SG}}(\mathbf{1}_\varphi , 2_h,3_h,4_h,\mathbf{5}_\varphi )\). Then the amplitude \({{\mathcal {A}}}_{\mathrm{SPG}}(\mathbf{1}_\varphi ,2_p,3_h,4_h,\mathbf{5}_\varphi )\) can be obtained by applying the insertion operator \({{\mathcal {I}}}^{{\widetilde{\epsilon }}}_{125}\) to \({{\widetilde{\mathcal {A}}}}_{\mathrm{SG}}(\mathbf{1}_\varphi , 2_h,3_h,4_h,\mathbf{5}_\varphi )\) and turning all \({\widetilde{\epsilon }}_i\) to \(\epsilon _i\). The full result of \({{\mathcal {A}}}_{\mathrm{SPG}}(\mathbf{1}_\varphi ,2_p,3_h,4_h,\mathbf{5}_\varphi )\) is shown in Appendix A. Higher point SPG amplitudes with two massive scalars and one photon can be calculated by the same method.