# Integration with a matrix as the the integrand [closed]

How can I calculate the following integral (wisely) in Mathematica?

$\qquad \int^{2\pi}_0 \int^{\pi}_0 \int^{2\pi}_0 \mathbf{A}\,d\alpha\,d\beta\,d\gamma$,

where $\mathbf{A}$ is a vector defined as:

$\qquad \left( \begin{array}{c} -\cos(\beta)*\cos(\gamma)*\sin(\alpha)-\cos(\alpha)*\sin(\gamma) \\ \cos(\alpha)*\cos(\beta)*\cos(\gamma)-\sin(\alpha)*\sin(\gamma) \\ \cos(\gamma)*\sin(\beta) \end{array} \right)$

and how when $\mathbf{A}$ becomes a 3x3 matrix (all elements depend only on $\alpha,\beta,\gamma$).

## closed as off-topic by Michael E2, m_goldberg, Artes, MarcoB, JensJul 21 '16 at 5:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Michael E2, m_goldberg, Artes, MarcoB, Jens
If this question can be reworded to fit the rules in the help center, please edit the question.

• "Wisely" is a bit ambiguous, since it is obvious the integral should be 0 because both Sin and Cos have period 2Pi and every component is integrated over 2Pi. By the way, it seems you have never tried to integrate anything with Mathematica. – Artes Jul 20 '16 at 14:57
• Code, at least for the matrix, would make it convenient for those who are interested to test their ideas. Otherwise people who don't have time might just skip it. – Michael E2 Jul 20 '16 at 17:19

A = {-Cos[b] Cos[g] Sin[a] - Cos[a] Sin[g],Cos[a] Cos[b] Cos[g] - Sin[a] Sin[g], Cos[g] Sin[b]};