Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Wolfram Alpha gives following results for $\cos(i x)$ and $\sin(i x)$ ,where $x\in\mathbb{R}$:



What is a reason why the first number is real while the second is complex ?

Definition of the $\cosh(x)$ and $\sinh(x)$ may be found here.

share|cite|improve this question
Say that $f$ is real if $\overline{f(z)}=f(\overline z)$. Then, if $f$ is real and even, it's real on $i\mathbb R$, and if $f$ is real and odd, it's imaginary on $i\mathbb R$. - That's basically what Zev spelled out. – Pierre-Yves Gaillard Oct 30 '11 at 15:58
Any particular reason why you're using dotless i's for the imaginary unit? Just curious. – Henning Makholm Oct 30 '11 at 16:00
@Henning,no special may edit and put $\mathrm{i}$ if you like so... – pedja Oct 30 '11 at 16:06
up vote 5 down vote accepted

Note that, using Euler's formula, we can conclude that $$\cos(x)=\frac{e^{ix}+e^{-ix}}{2}$$ and $$\sin(x)=\frac{e^{ix}-e^{-ix}}{2i}.$$ Thus, $$\cos(ix)=\frac{e^{-x}+e^{x}}{2}=\cosh(x)$$ and $$\sin(ix)=\frac{e^{-x}-e^{x}}{2i}=i\left(\frac{e^{x}-e^{-x}}{2}\right)=i\sinh(x),$$ and it is clear from the definitions that $\sinh(x)$ and $\cosh(x)$ are both real for any $x\in\mathbb{R}$. Thus, $\cos(ix)$ is real for any $x\in\mathbb{R}$, and $\sin(ix)$ is imaginary for any $x\in\mathbb{R}$.

share|cite|improve this answer

It is directly related to the graphs of cosh and sinh: cosh is parabolic, while sinh drops off to negative y values when x is negative: This (-x,-y) portion of the sin graph could be taken as suggestive toward the role sin plays in representing imaginary numbers. Conversly the (-x,+y) values of cosh is representative of the role it plays as a carrier of positive/real numbers. If cosh had (-x,-y) values it would likely also carry imaginary components.

enter image description here

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.