# Thread:

1. ## Finding the real parts of this equation

Finding the real parts to both sides of this equation
I am really stuck trying to find the real parts to both sides of this equation.
1 + exp(theta(i)) + exp(2theta(i)) + .... + exp((n-1)theta(i)) = (exp(ntheta(i)) - 1) / (exp(theta(i)) -1)

I think that the real part of the left hand side is
1 + cos(theta) + cos(2theta) + ..... + cos((n-1)theta)

i have no idea what the real part is for the right.

2. ## Re: Finding the real parts of this equation

Originally Posted by Matt1993
Finding the real parts to both sides of this equation
I am really stuck trying to find the real parts to both sides of this equation.
1 + exp(theta(i)) + exp(2theta(i)) + .... + exp((n-1)theta(i)) = (exp(ntheta(i)) - 1) / (exp(theta(i)) -1)

I think that the real part of the left hand side is
1 + cos(theta) + cos(2theta) + ..... + cos((n-1)theta)

i have no idea what the real part is for the right.

$\displaystyle \begin{align*} \frac{e^{n\theta i} - 1}{e^{\theta i} - 1} &= \frac{\cos{(n\theta)} + i\sin{(n\theta)} - 1}{\cos{(\theta)} + i\sin{(\theta)} - 1} \\ &= \frac{\left[ \cos{(n\theta)} - 1 + i\sin{(n\theta )} \right] \left[\cos{(\theta)} - 1 - i\sin{(\theta)}\right]}{\left[ \cos{(\theta )} - 1 + i\sin{(\theta )} \right] \left[ \cos{(\theta )} - 1 - i\sin{(\theta )} \right]} \end{align*}$
{"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": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 1, "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.8664016127586365, "perplexity_flag": "middle"}