Lösung 3.3:6

Aus Online Mathematik Brückenkurs 2

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K
Zeile 1: Zeile 1:
-
We take up the exercise's challenge and solve the equation both in polar form and in the form a+ib.
+
We take up the exercise's challenge and solve the equation both in polar form and in the form <math>a+ib</math>.
-
Polar form
+
 
 +
'''Polar form'''
In polar form,
In polar form,
-
 
+
{{Displayed math||<math>\begin{align}
-
<math>\begin{align}
+
z &= r\,(\cos\alpha + i\sin\alpha)\,,\\[5pt]
-
& z=r\left( \cos \alpha +i\sin \alpha \right) \\
+
1+i &= \sqrt{2}\Bigl(\cos\frac{\pi}{4} + i\sin\frac{\pi}{4}\Bigr)\,,
-
& 1+i=\sqrt{2}\left( \cos \frac{\pi }{4}+i\sin \frac{\pi }{4} \right) \\
+
\end{align}</math>}}
-
\end{align}</math>
+
-
 
+
and, using de Moivre's formula, the equation becomes
and, using de Moivre's formula, the equation becomes
 +
{{Displayed math||<math>r^2(\cos 2\alpha + i\sin 2\alpha) = \sqrt{2}\Bigl(\cos \frac{\pi}{4} + i\sin\frac{\pi}{4}\Bigr)\,\textrm{.}</math>}}
-
<math>r^{2}\left( \cos 2\alpha +i\sin 2\alpha \right)=\sqrt{2}\left( \cos \frac{\pi }{4}+i\sin \frac{\pi }{4} \right)</math>
+
If both sides are to be equal, their magnitudes must be equal and their arguments must be equal, other than for multiples of <math>2\pi</math>,
-
 
+
{{Displayed math||<math>\left\{\begin{align}
-
If both sides are to be equal, their magnitudes must be equal and their arguments must be equal, other than for multiples of
+
r^2 &= \sqrt{2}\,,\\[5pt]
-
<math>2\pi </math>,
+
2\alpha &= \frac{\pi}{4}+2n\pi\,,\quad\text{(n is an arbitrary integer).}
-
 
+
\end{align}\right.</math>}}
-
 
+
-
<math>\left\{ \begin{array}{*{35}l}
+
-
r^{2}=\sqrt{2} \\
+
-
2\alpha =\frac{\pi }{4}+2n\pi \quad \left( n\text{ an arbitrary integer} \right)\text{ } \\
+
-
\end{array} \right.</math>
+
This gives
This gives
 +
{{Displayed math||<math>\left\{\begin{align}
 +
r &= \sqrt{\sqrt{2}} = \bigl(2^{1/2}\bigr)^{1/2} = 2^{1/4} = \sqrt[4]{2}\,,\\[5pt]
 +
\alpha &= \frac{\pi}{8}+n\pi\,,\quad\text{(n is an arbitrary integer),}
 +
\end{align}\right.</math>}}
-
<math>\left\{ \begin{array}{*{35}l}
+
which corresponds two solutions, because all even values of <math>n</math> give the argument <math>\pi/8</math>, to within multiples of <math>2\pi</math>, and all odd values of <math>n</math> give the argument <math>9\pi/8</math>, to within a multiple of <math>2\pi</math>.
-
r=\sqrt{\sqrt{2}}=\left( 2^{{1}/{2}\;} \right)^{{1}/{2}\;}=2^{{1}/{4}\;}=\sqrt[4]{2} \\
+
-
\alpha =\frac{\pi }{8}+n\pi \quad \left( n\text{ an arbitrary integer} \right)\text{ } \\
+
-
\end{array} \right.</math>
+
-
 
+
-
which corresponds two solutions, because all even values of
+
-
<math>n</math>
+
-
give the argument
+
-
<math>\frac{\pi }{8}</math>, to within multiples of
+
-
<math>2\pi </math>, and all odd values of
+
-
<math>n</math>
+
-
give the argument
+
-
<math>\frac{9\pi }{8}</math>, to within a multiples of
+
-
<math>2\pi </math>.
+
Thus, in polar form, we have the solutions,
Thus, in polar form, we have the solutions,
 +
{{Displayed math||<math>z = \left\{\begin{align}
 +
&\sqrt[4]{2}\Bigl(\cos\frac{\pi}{8} + i\sin\frac{\pi}{8}\Bigr)\,,\\[5pt]
 +
&\sqrt[4]{2}\Bigl(\cos\frac{9\pi}{8} + i\sin\frac{9\pi}{8}\Bigr)\,\textrm{.}
 +
\end{align}\right.</math>}}
-
<math>z=\left\{ \begin{array}{*{35}l}
+
One solution <math>z=\sqrt[4]{2}(\cos (\pi/8) + i\sin (\pi/8)</math> lies in the first quadrant and the second solution <math>z=\sqrt[4]{2}(\cos (9\pi/8) + i\sin (9\pi/8))</math> lies in the third quadrant.
-
\sqrt[4]{2}\left( \cos \frac{\pi }{8}+i\sin \frac{\pi }{8} \right) \\
+
-
\sqrt[4]{2}\left( \cos \frac{9\pi }{8}+i\sin \frac{9\pi }{8} \right)\text{ } \\
+
-
\end{array} \right.</math>
+
-
 
+
-
One solution
+
-
<math>z=\sqrt[4]{2}\left( \cos \frac{\pi }{8}+i\sin \frac{\pi }{8} \right)</math>
+
-
lies in the first quadrant and the second solution
+
-
<math>z=\sqrt[4]{2}\left( \cos \frac{9\pi }{8}+i\sin \frac{9\pi }{8} \right)</math>
+
-
lies in the third quadrant.
+
-
 
+
-
 
+
[[Image:3_3_6.gif|center]]
[[Image:3_3_6.gif|center]]
-
Rectangular form
 
-
The alternative way to solve the equation is to put
+
'''Rectangular form'''
-
<math>z=x+iy</math>
+
-
and to try to solve the equation for
+
-
<math>x</math>
+
-
and
+
-
<math>y</math>.
+
-
If
+
The alternative way to solve the equation is to put <math>z=x+iy</math> and to try to solve the equation for <math>x</math> and <math>y</math>.
-
<math>z=x+iy</math>, the equation becomes
+
 +
If <math>z=x+iy</math>, the equation becomes
-
<math>\begin{align}
+
{{Displayed math||<math>\begin{align}
-
& \left( x+iy \right)^{2}=1+i \\
+
(x+iy)^2 &= 1+i\,,\\[5pt]
-
& x^{2}-y^{2}+2xyi=1+i \\
+
x^2-y^2+2xyi &= 1+i\,\textrm{.}
-
\end{align}</math>
+
\end{align}</math>}}
 +
Because both sides' real and imaginary parts must equal each other we have that
-
Because both sides' real and imaginary parts must equal each other,
+
{{Displayed math||<math>\left\{\begin{align}
 +
x^2 - y^2 &= 1\,,\\[5pt]
 +
2xy &= 1\,\textrm{.}
 +
\end{align}\right.</math>}}
 +
All the information we need for determining <math>x</math> and <math>y</math> is in these two equations, but it will make things easier if we include an extra relation: the magnitude of both sides should be equal,
-
<math>\begin{align}
+
{{Displayed math||<math>x^2 + y^2 = \sqrt{1^2+1^2} = \sqrt{2}\,\textrm{.}</math>}}
-
& x^{2}-y^{2}=1 \\
+
-
& 2xy=1 \\
+
-
\end{align}</math>
+
-
 
+
-
 
+
-
All the information for determining
+
-
<math>x</math>
+
-
and
+
-
<math>y</math>
+
-
is in these two equations, but it will make things easier if we include an extra relation: the magnitude of both sides should be equal,
+
-
 
+
-
 
+
-
<math>x^{2}+y^{2}=\sqrt{1^{2}+1^{2}}=\sqrt{2}</math>
+
-
 
+
Therefore, we have in total three equations,
Therefore, we have in total three equations,
-
 
+
{{Displayed math||<math>\left\{\begin{align}
-
<math>\left\{ \begin{array}{*{35}l}
+
x^2 -y^2 &= 1\,,\\[5pt]
-
x^{2}-y^{2}=1\, \\
+
2xy &= 1\,,\\[5pt]
-
2xy=1 \\
+
x^2 + y^2 &= \sqrt{2}\,\textrm{.}
-
x^{2}+y^{2}=\sqrt{2} \\
+
\end{align}\right.</math>}}
-
\end{array} \right.</math>
+
-
 
+
If we add the first and the third equations,
If we add the first and the third equations,
 +
{| align="center" style="padding:10px 0px 10px 0px;"
 +
||
 +
|align="right"|<math>x^2</math>
 +
||<math>{}-{}</math>
 +
|align="right"|<math>y^2</math>
 +
||<math>{}={}</math>
 +
|align="left"|<math>1</math>
 +
|-
 +
|align="left"|<math>+\ \ </math>
 +
|align="right"|<math>x^2</math>
 +
||<math>{}+{}</math>
 +
||<math>y^2</math>
 +
||<math>{}={}</math>
 +
|align="left"|<math>\sqrt{2}</math>
 +
|-
 +
|colspan="6"|<hr>
 +
|-
 +
||
 +
|align="right"|<math>2x^2</math>
 +
||
 +
||
 +
||<math>{}={}</math>
 +
|align="right"|<math>\sqrt{2}+1</math>
 +
|}
-
EQ1
+
we get that <math>x</math> must be equal to
-
 
+
-
we get that
+
-
<math>x</math>
+
-
must be equal to
+
-
 
+
-
 
+
-
<math>x=\pm \sqrt{\frac{\sqrt{2}+1}{2}}</math>
+
 +
{{Displayed math||<math>x=\pm \sqrt{\frac{\sqrt{2}+1}{2}}\,\textrm{.}</math>}}
If we subtract the first equation from the third equation,
If we subtract the first equation from the third equation,
 +
{| align="center" style="padding:10px 0px 10px 0px;"
 +
||
 +
|align="right"|<math>x^2</math>
 +
||<math>{}+{}</math>
 +
|align="right"|<math>y^2</math>
 +
||<math>{}={}</math>
 +
|align="left"|<math>\sqrt{2}</math>
 +
|-
 +
|align="left"|<math>-\ \ </math>
 +
|align="right"|<math>\bigl(x^2</math>
 +
||<math>{}-{}</math>
 +
|align="right"|<math>y^2</math>
 +
||<math>{}={}</math>
 +
|align="left"|<math>1\bigr)</math>
 +
|-
 +
|colspan="6"|<hr>
 +
|-
 +
||
 +
||
 +
||
 +
|align="right"|<math>2y^2</math>
 +
||<math>{}={}</math>
 +
|align="right"|<math>\sqrt{2}-1</math>
 +
|}
-
EQ2
+
we obtain that <math>y</math> must be equal to
-
 
+
-
we obtain that
+
-
<math>y</math>
+
-
must be equal to
+
-
 
+
-
 
+
-
<math>y=\pm \sqrt{\frac{\sqrt{2}-1}{2}}</math>
+
 +
{{Displayed math||<math>y=\pm \sqrt{\frac{\sqrt{2}-1}{2}}\,\textrm{.}</math>}}
All in all, this gives us four possible solutions
All in all, this gives us four possible solutions
-
 
+
{{Displayed math||<math>\left\{\begin{align}
-
<math>\left\{ \begin{array}{*{35}l}
+
x &= \sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt]
-
x=\sqrt{\frac{\sqrt{2}+1}{2}} \\
+
y &= \sqrt{\frac{\sqrt{2}-1}{2}}
-
y=\sqrt{\frac{\sqrt{2}-1}{2}} \\
+
\end{align}\right.
-
\end{array} \right.\quad \left\{ \begin{array}{*{35}l}
+
\quad
-
x=\sqrt{\frac{\sqrt{2}+1}{2}} \\
+
\left\{\begin{align}
-
y=-\sqrt{\frac{\sqrt{2}-1}{2}} \\
+
x &= \sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt]
-
\end{array} \right.\quad \left\{ \begin{array}{*{35}l}
+
y &= -\sqrt{\frac{\sqrt{2}-1}{2}}
-
x=-\sqrt{\frac{\sqrt{2}+1}{2}} \\
+
\end{align}\right.
-
y=\sqrt{\frac{\sqrt{2}-1}{2}} \\
+
\quad
-
\end{array} \right.\quad \left\{ \begin{array}{*{35}l}
+
\left\{\begin{align}
-
x=-\sqrt{\frac{\sqrt{2}+1}{2}} \\
+
x &= -\sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt]
-
y=-\sqrt{\frac{\sqrt{2}-1}{2}} \\
+
y &= \sqrt{\frac{\sqrt{2}-1}{2}}
-
\end{array} \right.</math>
+
\end{align}\right.
-
 
+
\quad
 +
\left\{\begin{align}
 +
x &= -\sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt]
 +
y &= -\sqrt{\frac{\sqrt{2}-1}{2}}
 +
\end{align} \right.</math>}}
although we have only taken account of the first and third equations.
although we have only taken account of the first and third equations.
-
The second equation says that the product
+
The second equation says that the product <math>xy</math> should be positive and then we can directly get rid of solutions in which <math>x</math> and <math>y</math>
-
<math>xy</math>
+
-
should be positive and then we can directly get rid of solutions in which
+
-
<math>x</math>
+
-
and
+
-
<math>y</math>
+
have different signs. Thus, all that is left is
have different signs. Thus, all that is left is
-
 
+
{{Displayed math||<math>\left\{\begin{align}
-
<math>\left\{ \begin{array}{*{35}l}
+
x &= \sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt]
-
x=\sqrt{\frac{\sqrt{2}+1}{2}} \\
+
y &= \sqrt{\frac{\sqrt{2}-1}{2}}
-
y=\sqrt{\frac{\sqrt{2}-1}{2}} \\
+
\end{align}\right.
-
\end{array} \right.\quad \quad \text{and}\quad \quad \left\{ \begin{array}{*{35}l}
+
\qquad\text{and}\qquad
-
x=-\sqrt{\frac{\sqrt{2}+1}{2}} \\
+
\left\{\begin{align}
-
y=-\sqrt{\frac{\sqrt{2}-1}{2}} \\
+
x &= -\sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt]
-
\end{array} \right.</math>
+
y &= -\sqrt{\frac{\sqrt{2}-1}{2}}
-
 
+
\end{align}\right.</math>}}
Now, we know already that the equation has two solutions, so we can draw the conclusion that these are
Now, we know already that the equation has two solutions, so we can draw the conclusion that these are
-
 
+
{{Displayed math||<math>z = \left\{\begin{align}
-
<math>z=\left\{ \begin{array}{*{35}l}
+
\sqrt{\frac{\sqrt{2}+1}{2}} + i\sqrt{\frac{\sqrt{2}-1}{2}}\,,\\[5pt]
-
\sqrt{\frac{\sqrt{2}+1}{2}}+i\sqrt{\frac{\sqrt{2}-1}{2}} \\
+
-\sqrt{\frac{\sqrt{2}+1}{2}} - i\sqrt{\frac{\sqrt{2}-1}{2}}\,\textrm{.}
-
-\sqrt{\frac{\sqrt{2}+1}{2}}-i\sqrt{\frac{\sqrt{2}-1}{2}} \\
+
\end{align}\right.</math>}}
-
\end{array} \right.</math>
+
-
 
+
If we compare the solution in the first quadrant when it is expressed in polar and rectangular forms, we have
If we compare the solution in the first quadrant when it is expressed in polar and rectangular forms, we have
-
 
+
{{Displayed math||<math>\sqrt[4]{2}\Bigl(\cos\frac{\pi}{8} + i\sin\frac{\pi}{8} \Bigr) = \sqrt{\frac{\sqrt{2}+1}{2}} + i\sqrt{\frac{\sqrt{2}-1}{2}}</math>}}
-
<math>\sqrt[4]{2}\left( \cos \frac{\pi }{8}+i\sin \frac{\pi }{8} \right)=\sqrt{\frac{\sqrt{2}+1}{2}}+i\sqrt{\frac{\sqrt{2}-1}{2}}</math>
+
and therefore we must have that
and therefore we must have that
-
 
+
{{Displayed math||<math>\begin{align}
-
 
+
\cos\frac{\pi}{8} &= \frac{1}{\sqrt[4]{2}}\sqrt{\frac{\sqrt{2}+1}{2}}\,,\\[5pt]
-
<math>\begin{align}
+
\sin\frac{\pi}{8} &= \frac{1}{\sqrt[4]{2}}\sqrt{\frac{\sqrt{2}-1}{2}}\,\textrm{.}
-
& \cos \frac{\pi }{8}=\frac{1}{\sqrt[4]{2}}\sqrt{\frac{\sqrt{2}+1}{2}} \\
+
\end{align}</math>}}
-
& \sin \frac{\pi }{8}=\frac{1}{\sqrt[4]{2}}\sqrt{\frac{\sqrt{2}-1}{2}} \\
+
-
\end{align}</math>
+
Thus, we have
Thus, we have
 +
{{Displayed math||<math>\tan\frac{\pi}{8} = \frac{\sin\dfrac{\pi}{8}}{\cos\dfrac{\pi}{8}} = \frac{\dfrac{1}{\sqrt[4]{2}}\sqrt{\dfrac{\sqrt{2}-1}{2}}}{\dfrac{1}{\sqrt[4]{2}}\sqrt{\dfrac{\sqrt{2}+1}{2}}} = \sqrt{\dfrac{\sqrt{2}-1}{\sqrt{2}+1}}\,\textrm{.}</math>}}
-
<math>\tan \frac{\pi }{8}=\frac{\sin \frac{\pi }{8}}{\cos \frac{\pi }{8}}=\frac{\frac{1}{\sqrt[4]{2}}\sqrt{\frac{\sqrt{2}-1}{2}}}{\frac{1}{\sqrt[4]{2}}\sqrt{\frac{\sqrt{2}+1}{2}}}=\sqrt{\frac{\sqrt{2}-1}{\sqrt{2}+1}}</math>
+
We can simplify the expression under the square root sign by multiplying top and bottom by the conjugate of the denominator,
-
 
+
-
 
+
-
 
+
-
We can simplify the expression under the root sign by multiplying top and bottom by the conjugate of the denominator:
+
-
 
+
{{Displayed math||<math>\begin{align}
-
 
+
\tan\frac{\pi}{8}
-
<math>\begin{align}
+
&= \sqrt{\frac{(\sqrt{2}-1)(\sqrt{2}-1)}{(\sqrt{2}+1)(\sqrt{2}-1)}}
-
& \tan \frac{\pi }{8}=\sqrt{\frac{\left( \sqrt{2}-1 \right)\left( \sqrt{2}-1 \right)}{\left( \sqrt{2}+1 \right)\left( \sqrt{2}-1 \right)}}=\sqrt{\frac{\left( \sqrt{2}-1 \right)^{2}}{\left( \sqrt{2} \right)^{2}-1^{2}}} \\
+
= \sqrt{\frac{(\sqrt{2}-1)^2}{(\sqrt{2})^2-1^2}}\\[5pt]
-
& =\sqrt{\frac{\left( \sqrt{2}-1 \right)^{2}}{2-1}}=\sqrt{\left( \sqrt{2}-1 \right)^{2}}=\sqrt{2}-1 \\
+
&= \sqrt{\frac{(\sqrt{2}-1)^2}{2-1}}
-
\end{align}</math>
+
= \sqrt{(\sqrt{2}-1)^2}
 +
= \sqrt{2}-1\,\textrm{.}
 +
\end{align}</math>}}

Version vom 08:53, 3. Nov. 2008

We take up the exercise's challenge and solve the equation both in polar form and in the form \displaystyle a+ib.


Polar form

In polar form,

\displaystyle \begin{align}

z &= r\,(\cos\alpha + i\sin\alpha)\,,\\[5pt] 1+i &= \sqrt{2}\Bigl(\cos\frac{\pi}{4} + i\sin\frac{\pi}{4}\Bigr)\,, \end{align}

and, using de Moivre's formula, the equation becomes

\displaystyle r^2(\cos 2\alpha + i\sin 2\alpha) = \sqrt{2}\Bigl(\cos \frac{\pi}{4} + i\sin\frac{\pi}{4}\Bigr)\,\textrm{.}

If both sides are to be equal, their magnitudes must be equal and their arguments must be equal, other than for multiples of \displaystyle 2\pi,

\displaystyle \left\{\begin{align}

r^2 &= \sqrt{2}\,,\\[5pt] 2\alpha &= \frac{\pi}{4}+2n\pi\,,\quad\text{(n is an arbitrary integer).} \end{align}\right.

This gives

\displaystyle \left\{\begin{align}

r &= \sqrt{\sqrt{2}} = \bigl(2^{1/2}\bigr)^{1/2} = 2^{1/4} = \sqrt[4]{2}\,,\\[5pt] \alpha &= \frac{\pi}{8}+n\pi\,,\quad\text{(n is an arbitrary integer),} \end{align}\right.

which corresponds two solutions, because all even values of \displaystyle n give the argument \displaystyle \pi/8, to within multiples of \displaystyle 2\pi, and all odd values of \displaystyle n give the argument \displaystyle 9\pi/8, to within a multiple of \displaystyle 2\pi.

Thus, in polar form, we have the solutions,

\displaystyle z = \left\{\begin{align}

&\sqrt[4]{2}\Bigl(\cos\frac{\pi}{8} + i\sin\frac{\pi}{8}\Bigr)\,,\\[5pt] &\sqrt[4]{2}\Bigl(\cos\frac{9\pi}{8} + i\sin\frac{9\pi}{8}\Bigr)\,\textrm{.} \end{align}\right.

One solution \displaystyle z=\sqrt[4]{2}(\cos (\pi/8) + i\sin (\pi/8) lies in the first quadrant and the second solution \displaystyle z=\sqrt[4]{2}(\cos (9\pi/8) + i\sin (9\pi/8)) lies in the third quadrant.


Rectangular form

The alternative way to solve the equation is to put \displaystyle z=x+iy and to try to solve the equation for \displaystyle x and \displaystyle y.

If \displaystyle z=x+iy, the equation becomes

\displaystyle \begin{align}

(x+iy)^2 &= 1+i\,,\\[5pt] x^2-y^2+2xyi &= 1+i\,\textrm{.} \end{align}

Because both sides' real and imaginary parts must equal each other we have that

\displaystyle \left\{\begin{align}

x^2 - y^2 &= 1\,,\\[5pt] 2xy &= 1\,\textrm{.} \end{align}\right.

All the information we need for determining \displaystyle x and \displaystyle y is in these two equations, but it will make things easier if we include an extra relation: the magnitude of both sides should be equal,

\displaystyle x^2 + y^2 = \sqrt{1^2+1^2} = \sqrt{2}\,\textrm{.}

Therefore, we have in total three equations,

\displaystyle \left\{\begin{align}

x^2 -y^2 &= 1\,,\\[5pt] 2xy &= 1\,,\\[5pt] x^2 + y^2 &= \sqrt{2}\,\textrm{.} \end{align}\right.

If we add the first and the third equations,

\displaystyle x^2 \displaystyle {}-{} \displaystyle y^2 \displaystyle {}={} \displaystyle 1
\displaystyle +\ \ \displaystyle x^2 \displaystyle {}+{} \displaystyle y^2 \displaystyle {}={} \displaystyle \sqrt{2}

\displaystyle 2x^2 \displaystyle {}={} \displaystyle \sqrt{2}+1

we get that \displaystyle x must be equal to

\displaystyle x=\pm \sqrt{\frac{\sqrt{2}+1}{2}}\,\textrm{.}

If we subtract the first equation from the third equation,

\displaystyle x^2 \displaystyle {}+{} \displaystyle y^2 \displaystyle {}={} \displaystyle \sqrt{2}
\displaystyle -\ \ \displaystyle \bigl(x^2 \displaystyle {}-{} \displaystyle y^2 \displaystyle {}={} \displaystyle 1\bigr)

\displaystyle 2y^2 \displaystyle {}={} \displaystyle \sqrt{2}-1

we obtain that \displaystyle y must be equal to

\displaystyle y=\pm \sqrt{\frac{\sqrt{2}-1}{2}}\,\textrm{.}

All in all, this gives us four possible solutions

\displaystyle \left\{\begin{align}

x &= \sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt] y &= \sqrt{\frac{\sqrt{2}-1}{2}} \end{align}\right. \quad \left\{\begin{align} x &= \sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt] y &= -\sqrt{\frac{\sqrt{2}-1}{2}} \end{align}\right. \quad \left\{\begin{align} x &= -\sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt] y &= \sqrt{\frac{\sqrt{2}-1}{2}} \end{align}\right. \quad \left\{\begin{align} x &= -\sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt] y &= -\sqrt{\frac{\sqrt{2}-1}{2}} \end{align} \right.

although we have only taken account of the first and third equations.

The second equation says that the product \displaystyle xy should be positive and then we can directly get rid of solutions in which \displaystyle x and \displaystyle y have different signs. Thus, all that is left is

\displaystyle \left\{\begin{align}

x &= \sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt] y &= \sqrt{\frac{\sqrt{2}-1}{2}} \end{align}\right. \qquad\text{and}\qquad \left\{\begin{align} x &= -\sqrt{\frac{\sqrt{2}+1}{2}}\\[5pt] y &= -\sqrt{\frac{\sqrt{2}-1}{2}} \end{align}\right.

Now, we know already that the equation has two solutions, so we can draw the conclusion that these are

\displaystyle z = \left\{\begin{align}

\sqrt{\frac{\sqrt{2}+1}{2}} + i\sqrt{\frac{\sqrt{2}-1}{2}}\,,\\[5pt] -\sqrt{\frac{\sqrt{2}+1}{2}} - i\sqrt{\frac{\sqrt{2}-1}{2}}\,\textrm{.} \end{align}\right.

If we compare the solution in the first quadrant when it is expressed in polar and rectangular forms, we have

\displaystyle \sqrt[4]{2}\Bigl(\cos\frac{\pi}{8} + i\sin\frac{\pi}{8} \Bigr) = \sqrt{\frac{\sqrt{2}+1}{2}} + i\sqrt{\frac{\sqrt{2}-1}{2}}

and therefore we must have that

\displaystyle \begin{align}

\cos\frac{\pi}{8} &= \frac{1}{\sqrt[4]{2}}\sqrt{\frac{\sqrt{2}+1}{2}}\,,\\[5pt] \sin\frac{\pi}{8} &= \frac{1}{\sqrt[4]{2}}\sqrt{\frac{\sqrt{2}-1}{2}}\,\textrm{.} \end{align}

Thus, we have

\displaystyle \tan\frac{\pi}{8} = \frac{\sin\dfrac{\pi}{8}}{\cos\dfrac{\pi}{8}} = \frac{\dfrac{1}{\sqrt[4]{2}}\sqrt{\dfrac{\sqrt{2}-1}{2}}}{\dfrac{1}{\sqrt[4]{2}}\sqrt{\dfrac{\sqrt{2}+1}{2}}} = \sqrt{\dfrac{\sqrt{2}-1}{\sqrt{2}+1}}\,\textrm{.}

We can simplify the expression under the square root sign by multiplying top and bottom by the conjugate of the denominator,

\displaystyle \begin{align}

\tan\frac{\pi}{8} &= \sqrt{\frac{(\sqrt{2}-1)(\sqrt{2}-1)}{(\sqrt{2}+1)(\sqrt{2}-1)}} = \sqrt{\frac{(\sqrt{2}-1)^2}{(\sqrt{2})^2-1^2}}\\[5pt] &= \sqrt{\frac{(\sqrt{2}-1)^2}{2-1}} = \sqrt{(\sqrt{2}-1)^2} = \sqrt{2}-1\,\textrm{.} \end{align}