Edited after answer: Let $G$ be a group acts trivially on an abelian group $A$. Let $\varepsilon $ be a normalized 2-cocycle in $ Z^{2}(G,A)$. Assume that $G=G_{1} \times G_{2}$ be the direct product of $G_{1}$ and $G_{2}$.
- Is it true that $\varepsilon $ can be expressed as $$\varepsilon((h,g),(h',g'))=\varepsilon_{1}(h,h')\times \varepsilon_{2}(g,g')\times \alpha(g,h')$$ such that $\varepsilon_{1}=res_{G_{1}\times G_{1}}(\varepsilon) \in Z^{2}(G_{1},A)$, $\varepsilon_{2}=res_{G_{2}\times G_{2}}(\varepsilon) \in Z^{2}(G_{2},A)$ and $\alpha\in Hom(G_{2}\times G_{1},A)$.
- If the answer is No, what is the possible expressions of $\varepsilon$ depending on $\varepsilon_{1}$ and $\varepsilon_{2}$.
The reader can see (Tahara, Proposition 1)
Any help would be appreciated so much. Thank you all.
Let $P(G_{1},G_{2},A)$ denotes the abelian group of pairings $G_{1} \times G_{2}\rightarrow A$ (maps that are homomorphisms in both variables). Then, by Theorem 2.3 (See Kar), we have $$H^2(G_{1} \times G_{2}, A) \cong H^2(G_{1}, A) \times H^2(G_{2}, A) \times P(G_{1},G_{2},A)$$ Hence, $$\varepsilon((h,g),(h',g'))=\varepsilon_{1}(h,h')\times \varepsilon_{2}(g,g')\times \alpha_{\varepsilon}(h,g')$$ such that $\alpha_{\varepsilon}$ is given by $$\alpha_{\varepsilon}(h,g')=\varepsilon(h,g')\varepsilon(g',h)^{-1} $$