## How many idempotent elements are in Z_m [closed]

### Remember to vote up questions/answers you find interesting or helpful (requires 15 reputation points)

How many idempotent elements are in Z_m or How many roots have this polynomial in Z_m

f(x)=x^2 +x procedure of proof is important for me.

-

That looks too much like homework: -1. – Julien Puydt Nov 14 2011 at 6:43
maybe you meant x^2-x? Also, by Z_m do you mean Z/mZ or p-adics?(or something else entirely? – B. Bischof Nov 14 2011 at 6:43

## 1 Answer

Idempotent elements are roots of $g(x)=x^2-x$; my answer will apply equally well to $f(x)=x^2+x$.

The important step is the Chinese Remainder Theorem: one way of stating it is that if $m=p_1^{r_1}\times\cdots\times p_k^{r_k}$ is factored into powers of distinct primes, then the ring $Z_m$ is equal to the direct product of rings $Z_{p_1^{r_1}} \times \cdots \times Z_{p_k^{r_k}}$. So it suffices to count the number of roots in each ring $Z_{p_i^{r_i}}$ and then multiply those numbers together to obtain the number of roots in $Z_m$.

I think it will be easy to convince yourself that the polynomial $g(x)=x^2-x$ has exactly two roots in any ring of the form $Z_{p^r}$.

(By the way, the isomorphism between $Z_m$ and $Z_{p_1^{r_1}} \times \cdots \times Z_{p_k^{r_k}}$ is completely explicit, so this even gives a way to construct the idempotent elements, not just count them.)

-

why polynomial g(x)=x 2 −x  has exactly has two roots in any ring of the form Z p r   ?  – david Nov 14 2011 at 7:05
@george martin: please don't answer homework here. – Martin Brandenburg Nov 14 2011 at 10:00
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 11, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9253841042518616, "perplexity_flag": "middle"}