# How to get the imaginary part of a complex number Z [closed]

Suppose that $Z = x + iy$, we know that $x= \frac{z +\bar{z}}{2}$

Is that a similar way to get y?(Only use Z and real numbers)

## closed as unclear what you're asking by Namaste, user223391, Daniel W. Farlow, Vladhagen, ShaileshFeb 2 '17 at 0:04

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• $y=\frac{z-\bar z}{2i}$ – Tim B. Feb 1 '17 at 15:19
• Is that possible only use Z and real number? – Parting Feb 1 '17 at 15:26
• Consider $Z-x$? – Piotr Benedysiuk Feb 1 '17 at 15:31
• @Parting What is $\bar z$ when $z=x+iy$? – Error 404 Feb 1 '17 at 15:32
• Your followup question "Is that possible only use Z and real number" is too vague, because you have not specified what kind of formulas you would allow. For example, you could ask more specifically whether it is possible to find real values $a,b$ such that $aZ+b=y$, in which case the definitive answer is "no", unless you use $a=0$ and $b=y$. – Lee Mosher Feb 1 '17 at 15:42

Just juggle the variables. Do it $$z=x+iy\Rightarrow z-x=iy$$ We know that $x=\frac{z+\bar{z}}{2}$. Then $$z-x=iy\Rightarrow z-\frac{z+\bar{z}}{2}=iy \Rightarrow \frac{2z}{2}-\frac{z+\bar{z}}{2}=iy$$ $$\Rightarrow iy=\frac{z-\bar{z}}{2}\Rightarrow y=\frac{z-\bar{z}}{2i}.$$
Hint: $\require{cancel} z=x+iy \;\implies\; \bar z = x - iy \;\implies\; z-\bar z = \bcancel{x}+iy-(\bcancel{x}-iy)=2iy\,$.