Interactive · 2 questions

Euler's famous identity states that: eix=cos⁡x+isin⁡xe^{ix} = \cos x + i\sin x Replacing xx with −x-x, we get: e−ix=cos⁡x−isin⁡xe^{-ix} = \cos x - i\sin x We can then combine these 22 equations to obtain the following: cos⁡x=eix+e−ix2\cos x = \frac{e^{ix}+e^{-ix}}{2} sin⁡x=eix−e−ix2i\sin x = \frac{e^{ix}-e^{-ix}}{2i} The key here is that the trigonometric functions can be written in terms of exponential functions. When you combine trigonometric functions, things can often get very messy, but exponentials are generally far less messy when put together.

One can also make use of the real and imaginary parts of a complex number: cos⁡x=Re(eix)\cos x = Re(e^{ix}) sin⁡x=Im(eix)\sin x = Im(e^{ix})

It may seem ironic, but introducing complex numbers can actually make many integration and summation problems simpler.

Let's look at an example. We wish to evaluate ∫excos⁡xdx\int e^x\cos x dx.

Which of the following do you think we should use?

Choose all correct answers

Read · 1 min

Submitted by Sujay Kazi

Define f(x)f(x) as follows: f(x)=∑n=0∞sin⁡(nx)n!.f(x) = \sum_{n=0}^{\infty}\frac{\sin(nx)}{n!}. Evaluate f(π3)f\left(\frac{\pi}{3}\right).

(This is not actually an integration, but it is a very nice problem that employs the same principles taught in the above lesson. Also, the answer is too complicated to type into an answer box nicely, so just write down your answer and look at the solution when you are ready.)

Source: Stanford Math Tournament 2013: Calculus Tiebreaker, #3

[Click Continue for the first hint.]

Hint 1

Use the fact that sin⁡(nx)=Im(einx)\sin(nx) = Im(e^{inx}).

[Click Continue for the second hint.]

Hint 2

Use the following Maclaurin series to simplify the summation: ex=∑n=0∞xnn!.e^x = \sum_{n=0}^{\infty}\frac{x^n}{n!}.

[Click Continue for the solution.]

We use the fact that sin⁡(nx)=Im(einx)\sin(nx) = Im(e^{inx}) and that ex=∑n=0∞xnn!e^x = \sum_{n=0}^{\infty}\frac{x^n}{n!}. It follows that

f(x)=∑n=0∞sin⁡(nx)n!=Im∑n=0∞(eix)nn!=Im(eeix)=Im(ecos⁡x+isin⁡x)=ecos⁡xsin⁡(sin⁡x)\begin{align}f(x) = \sum_{n=0}^{\infty}\frac{\sin(nx)}{n!} &= Im\sum_{n=0}^{\infty}\frac{(e^{ix})^n}{n!} \\&= Im\left(e^{e^{ix}}\right) \\&= Im\left(e^{\cos x + i\sin x}\right)\\& = e^{\cos x}\sin(\sin x)\end{align}

Plugging in x=π3x = \frac{\pi}{3} gives us our answer: f(π3)=e1/2sin⁡(32).f\left(\frac{\pi}{3}\right)=e^{1/2}\sin\left(\frac{\sqrt{3}}{2}\right).

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems