# An elementary proof in matrix algebra

If $A$ and $B$ are two conformable matrices,and $AB = A$ and $BA = B$ then prove that A and B are idempotent matrices.

This may be trivial but I am not sure how to proceed on this.

-

$$Ax = ABx = A(BA)x = (AB)Ax = AAx$$
Tell me if I do something like this :$A = AB = A(BA) = (AB)A = AA = A^2$, any problem? :) – VelvetThunder Dec 26 '10 at 13:33
{"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": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.7841975688934326, "perplexity": 258.22420071309585}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "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": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2015-48/segments/1448398455246.70/warc/CC-MAIN-20151124205415-00110-ip-10-71-132-137.ec2.internal.warc.gz"}