# How to distribute product sign across base and exponent terms

1. Jun 26, 2009

### Devon79

I am calculating the likelihood of a hierarchical model and am having trouble distributing the product sign.

Here are the two expressions that I'm interested in:

Product from j=1 to j_k of: (t_jk)^(sum(Z_ijk) + a_k - 1)

and

Product from k=1 to K of: (b_k)^(j_k*a_k).

The tricky part for me is distributing the product sign across the base and the exponent terms simultaneously. Is it possible?

Devon

2. Jun 28, 2009

### daviddoria

This does not answer your question, but if you use "tex" tags around the equation you can use latex syntax and it is much easier for everyone to read: e.g.
$$\sum_{j=1}^{j_k}t_{jk}^{\sum Z_{ijk} + a_k - 1}$$