Skip to content

Commit ac5065d

Browse files
committed
finish q7 and step iii 2019. the diagrams took soooo long but they look nice.
1 parent a8b74a3 commit ac5065d

4 files changed

Lines changed: 174 additions & 1 deletion

File tree

tex/2019/3/7-diag1.tex

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
\begin{tikzpicture}
2+
\draw[->] (-5.5, 0) -- (5.5, 0) node[right] {\(x\)};
3+
\draw[->] (0, -5.5) -- (0, 5.5) node[above] {\(y\)};
4+
\draw (-5, -5) -- (5, 5) node [above right] {\(y = x\)};
5+
\draw (-5, 5) -- (5, -5) node [below right] {\(y = -x\)};
6+
\draw (0, 0) circle (3);
7+
\node at (2, 3.2) {\(x^2 + y^2 = a^2\)};
8+
\node at (3, 0) [below right] {\(a\)};
9+
\node at (-3, 0) [below left] {\(-a\)};
10+
\node at (0, 3) [above right] {\(a\)};
11+
\node at (0, -3) [below right] {\(-a\)};
12+
\end{tikzpicture}

tex/2019/3/7-diag2.tex

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
\begin{tikzpicture}[scale=1.5]
2+
\draw[->] (-0.5, 0) -- (5.5, 0) node[right] {\(x\)};
3+
\draw[->] (0, -0.5) -- (0, 5.5) node[above] {\(y\)};
4+
\draw[smooth, samples=200, domain=0:1] plot ({sqrt(sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x) -- ({sqrt(2)}, 1);
5+
\draw[smooth, samples=200, domain=0:1] plot ({sqrt(-sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x) -- ({sqrt(2)}, 1);
6+
\draw[smooth, samples=200, domain=2:sqrt(5)] plot ({sqrt(-sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x) -- (0, {sqrt(5)});
7+
\draw[smooth, samples=200, domain=2:5] plot ({sqrt(sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x);
8+
\draw[dotted] ({sqrt(2)}, 0) -- ({sqrt(2)}, 2) -- (0, 2);
9+
\draw[dotted] ({sqrt(2)}, 1) -- (0, 1);
10+
\node at (0, 0) [below left] {\(O\)};
11+
\node at (2, 0) [below] {\(2\)};
12+
\node at ({sqrt(2)}, 0) [below] {\(\sqrt{2}\)};
13+
\node at (0, 1) [left] {\(1\)};
14+
\node at (0, 2) [left] {\(2\)};
15+
\node at (0, {sqrt(5)}) [left] {\(\sqrt{5}\)};
16+
\draw[dashed] (0, 0) -- (5, 5) node[right] {\(y = x\)};
17+
\draw[dashed] (0, 0) -- (5, {2*sqrt(5)}) node [right] {\(y = \frac{2}{\sqrt{5}}x\)};
18+
\end{tikzpicture}

tex/2019/3/7-diag3.tex

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
\begin{tikzpicture}[scale=1.2]
2+
\draw[->] (-5.5, 0) -- (5.5, 0) node[right] {\(x\)};
3+
\draw[->] (0, -5.5) -- (0, 5.5) node[above] {\(y\)};
4+
5+
% 1st Quardrant (x, y)
6+
\draw[smooth, samples=200, domain=0:1] plot ({sqrt(sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x) -- ({sqrt(2)}, 1);
7+
\draw[smooth, samples=200, domain=0:1] plot ({sqrt(-sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x) -- ({sqrt(2)}, 1);
8+
\draw[smooth, samples=200, domain=2:sqrt(5)] plot ({sqrt(-sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x) -- (0, {sqrt(5)});
9+
\draw[smooth, samples=200, domain=2:5] plot ({sqrt(sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x);
10+
11+
% 2nd Quardrant (-x, y)
12+
\draw[smooth, samples=200, domain=0:1] plot ({-sqrt(sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x) -- ({-sqrt(2)}, 1);
13+
\draw[smooth, samples=200, domain=0:1] plot ({-sqrt(-sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x) -- ({-sqrt(2)}, 1);
14+
\draw[smooth, samples=200, domain=2:sqrt(5)] plot ({-sqrt(-sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x) -- (0, {sqrt(5)});
15+
\draw[smooth, samples=200, domain=2:5] plot ({-sqrt(sqrt(\x^4 - 5*\x^2 + 4) + 2)}, \x);
16+
17+
% 3rd Quardrant (-x, -y)
18+
\draw[smooth, samples=200, domain=0:1] plot ({-sqrt(sqrt(\x^4 - 5*\x^2 + 4) + 2)}, -\x) -- ({-sqrt(2)}, -1);
19+
\draw[smooth, samples=200, domain=0:1] plot ({-sqrt(-sqrt(\x^4 - 5*\x^2 + 4) + 2)}, -\x) -- ({-sqrt(2)}, -1);
20+
\draw[smooth, samples=200, domain=2:sqrt(5)] plot ({-sqrt(-sqrt(\x^4 - 5*\x^2 + 4) + 2)}, -\x) -- (0, {-sqrt(5)});
21+
\draw[smooth, samples=200, domain=2:5] plot ({-sqrt(sqrt(\x^4 - 5*\x^2 + 4) + 2)}, -\x);
22+
23+
% 4th Quardrant (x, -y)
24+
\draw[smooth, samples=200, domain=0:1] plot ({sqrt(sqrt(\x^4 - 5*\x^2 + 4) + 2)}, -\x) -- ({sqrt(2)}, -1);
25+
\draw[smooth, samples=200, domain=0:1] plot ({sqrt(-sqrt(\x^4 - 5*\x^2 + 4) + 2)}, -\x) -- ({sqrt(2)}, -1);
26+
\draw[smooth, samples=200, domain=2:sqrt(5)] plot ({sqrt(-sqrt(\x^4 - 5*\x^2 + 4) + 2)}, -\x) -- (0, {-sqrt(5)});
27+
\draw[smooth, samples=200, domain=2:5] plot ({sqrt(sqrt(\x^4 - 5*\x^2 + 4) + 2)}, -\x);
28+
29+
\draw[dotted] ({sqrt(2)}, 2) -- ({sqrt(2)}, -2) -- (-{sqrt(2)}, -2) -- (-{sqrt(2)}, 2) -- cycle;
30+
\draw[dotted] ({-sqrt(2)}, 1) -- ({sqrt(2)}, 1);
31+
\draw[dotted] ({-sqrt(2)}, -1) -- ({sqrt(2)}, -1);
32+
33+
\node at (0, 0) [below left] {\(O\)};
34+
35+
\filldraw (2, 0) circle (0.8pt) node [below right] {\(2\)};
36+
\filldraw ({sqrt(2)}, 0) circle (0.8pt) node [below left] {\(\sqrt{2}\)};
37+
38+
\filldraw (-2, 0) circle (0.8pt) node [below left] {\(-2\)};
39+
\filldraw ({-sqrt(2)}, 0) circle (0.8pt) node [below right] {\(-\sqrt{2}\)};
40+
41+
\filldraw (0, 1) circle (0.8pt) node [above left] {\(1\)};
42+
\filldraw (0, 2) circle (0.8pt) node [below left] {\(2\)};
43+
\filldraw (0, {sqrt(5)}) circle (0.8pt) node [above left] {\(\sqrt{5}\)};
44+
45+
\filldraw (0, -1) circle (0.8pt) node [below left] {\(-1\)};
46+
\filldraw (0, -2) circle (0.8pt) node [above left] {\(-2\)};
47+
\filldraw (0, {-sqrt(5)}) circle (0.8pt) node [below left] {\(-\sqrt{5}\)};
48+
49+
\draw[dashed] (-5, -5) -- (5, 5) node[right] {\(y = x\)};
50+
\draw[dashed] (-5, 5) -- (5, -5) node[right] {\(y = -x\)};
51+
52+
\draw[dashed] (-5, {-2*sqrt(5)}) -- (5, {2*sqrt(5)}) node [right] {\(y = \frac{2}{\sqrt{5}}x\)};
53+
\draw[dashed] (-5, {2*sqrt(5)}) -- (5, {-2*sqrt(5)}) node [right] {\(y = -\frac{2}{\sqrt{5}}x\)};
54+
\end{tikzpicture}

tex/2019/3/7.tex

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,91 @@
11
\Question{\currfilebase}
2-
\WorkInProgress
2+
3+
\begin{enumerate}
4+
\item When \(a = b\),
5+
\begin{align*}
6+
y^2 (y^2 - a^2) & = x^2 (x^2 - a^2) \\
7+
x^4 - y^4 - a^2 x^2 + a^2 y^2 & = 0 \\
8+
(x^2 + y^2 - a^2) (x^2 - y^2) & = 0 \\
9+
(x^2 + y^2 - a^2) (x + y) (x - y) & = 0,
10+
\end{align*}
11+
so the Devil's Curve in this case consists of the line \(x + y = 0\), the line \(x - y = 0\), and the circle \(x^2 + y^2 = a^2\).
12+
13+
The curve is shown as follows.
14+
\begin{center}
15+
\input{\currfiledir 7-diag1}
16+
\end{center}
17+
18+
\item When \(a = 2\) and \(b = \sqrt{5}\),
19+
\[
20+
y^2 (y^2 - 5) = x^2 (x^2 - 4).
21+
\]
22+
\begin{enumerate}
23+
\item Rearrangement gives us
24+
\[
25+
(x^2)^2 - 4x^2 - y^2 (y^2 - 5) = 0,
26+
\]
27+
and considering the discriminant, we have
28+
\[
29+
(-4)^2 + 4 y^2 (y^2 - 5) \geq 0,
30+
\]
31+
i.e.
32+
\[
33+
\left(y^2 - 1\right) \left(y^2 - 4\right) \geq 0.
34+
\]
35+
36+
This gives \(y^2 \leq 1\) or \(y^2 \geq 4\), and in the case where \(y \geq 0\), this must give \(0 \leq y \leq 1\) or \(y \geq 2\), as desired.
37+
\item When the curve is very close to the origin, we must have \(x^4, y^4 \ll x^2, y^2\), and hence \(4x^2 \approx 5y^2\), which means \(y \approx \frac{2}{\sqrt{5}}x\).
38+
39+
When the curve is very far from the origin, we must have \(x^4, y^4 \gg x^2, y^2\), and hence \(x^4 \approx y^4\), which means \(y \approx x\).
40+
41+
\item Using implicit differentiation, we have
42+
\begin{align*}
43+
y^2 (y^2 - 5) & = x^2 (x^2 - 4) \\
44+
(4y^3 - 10y) \DiffFrac{y}{x} & = 4x^3 - 8x \\
45+
(2y^2 - 5)y \DiffFrac{y}{x} & = 2x(x^2 - 2).
46+
\end{align*}
47+
48+
When \(\DiffFrac{y}{x} = 0\), the tangent to the curve is parallel to the \(x\)-axis, and hence
49+
\[
50+
2x(x^2 - 2) = 0,
51+
\]
52+
giving \(x = 0\) or \(x = \sqrt{2}\).
53+
54+
For \(x = 0\), \(y^2 (y^2 - 5) = 0\), and therefore \(y = 0\) or \(y = \sqrt{5}\). The case where \(y = 0\) does not necessarily give that \(\DiffFrac{y}{x} = 0\), but the case where \(y = \sqrt{5}\) does.
55+
56+
For \(x = \sqrt{2}\), \(y^2 (y^2 - 5) = -4\), \(y = 2\) or \(y = 1\). Both cases give \(\DiffFrac{y}{x} = 0\).
57+
58+
So the tangent to the curve is parallel to the \(x\)-axis at points
59+
\[
60+
\left(0, \sqrt{5}\right), \left(\sqrt{2}, 1\right), \left(\sqrt{2}, 2\right).
61+
\]
62+
63+
We must have
64+
\[
65+
(2y^2 - 5)y = 2x(x^2 - 2) \DiffFrac{x}{y},
66+
\]
67+
and when \(\DiffFrac{x}{y} = 0\), the tangent to the curve is parallel to the \(y\)-axis.
68+
69+
This gives \((2y^2 - 5)y = 0\), and hence \(y = 0\) or \(y = \sqrt{\frac{5}{2}}\).
70+
71+
For \(y = 0\), \(x = 0\) or \(x = 2\). The case \(x = 0\) does not necessarily give \(\DiffFrac{x}{y} = 0\), but the case where \(x = 2\) does.
72+
73+
For \(y = \sqrt{\frac{5}{2}}\), \(x^2 (x^2 - 4) = - \frac{25}{4}\), and hence
74+
\[
75+
4x^4 - 16x^2 + 25 = 4 (x^2 - 2)^2 + 9 = 0,
76+
\]
77+
which is not possible.
78+
79+
Hence, the tangent to the curve is parallel to the \(y\)-axis only at \((2, 0)\).
80+
\end{enumerate}
81+
82+
Therefore, from the analysis in the previous parts, the curve looks as follows for \(x \geq 0\) and \(y \geq 0\):
83+
\begin{center}
84+
\input{\currfiledir 7-diag2}
85+
\end{center}
86+
87+
\item All \(x\) terms in the curve is in \(x^2\), so the graph is symmetric in the \(y\)-axis since \(x^2 = (-x)^2\). Similarly, the graph is symmetric in the \(x\)-axis as well. Hence, the complete graph looks as follows.
88+
\begin{center}
89+
\input{\currfiledir 7-diag3}
90+
\end{center}
91+
\end{enumerate}

0 commit comments

Comments
 (0)