Skip to content

Commit fb84a94

Browse files
committed
finish the pure questions from step ii 2017
1 parent a40e073 commit fb84a94

15 files changed

Lines changed: 747 additions & 12 deletions

File tree

tex/2017.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
\Year{\currfilebase}
22
% \input{\currfiledir\currfilebase/1}
3-
% \input{\currfiledir\currfilebase/2}
3+
\input{\currfiledir\currfilebase/2}
44
\input{\currfiledir\currfilebase/3}

tex/2017/2.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
\input{\currfiledir\currfilebase/6}
88
\input{\currfiledir\currfilebase/7}
99
\input{\currfiledir\currfilebase/8}
10-
\input{\currfiledir\currfilebase/9}
11-
\input{\currfiledir\currfilebase/10}
12-
\input{\currfiledir\currfilebase/11}
10+
% \input{\currfiledir\currfilebase/9}
11+
% \input{\currfiledir\currfilebase/10}
12+
% \input{\currfiledir\currfilebase/11}
1313
\input{\currfiledir\currfilebase/12}
1414
\input{\currfiledir\currfilebase/13}

tex/2017/2/1.tex

Lines changed: 97 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,98 @@
11
\Question{\currfilebase}
2-
\WorkInProgress
2+
3+
\begin{enumerate}
4+
\item Using integration by parts, we notice that
5+
\begin{align*}
6+
(n + 1) I_n & = (n + 1) \int_{0}^{1} x^n \arctan x \Diff x \\
7+
& = \int_{0}^{1} \arctan x \Diff x^{n + 1} \\
8+
& = \left[\arctan x \cdot x^{n + 1}\right]_{0}^{1} - \int_{0}^{1} x^{n + 1} \Diff \arctan x \\
9+
& = \arctan 1 \cdot 1^{n + 1} - \arctan 0 \cdot 0^{n + 1} - \int_{0}^{1} \frac{x^{n + 1}}{1 + x^2} \Diff x \\
10+
& = \frac{\pi}{4} - \int_{0}^{1} \frac{x^{n + 1}}{1 + x^2} \Diff x.
11+
\end{align*}
12+
13+
Set \(n = 0\), and we have
14+
\begin{align*}
15+
I_0 & = (0 + 1) I_0 \\
16+
& = \frac{\pi}{4} - \int_{0}^{1} \frac{x}{1 + x^2} \Diff x \\
17+
& = \frac{\pi}{4} - \frac{1}{2} \cdot \left[\ln(1 + x^2)\right]_{0}^{1} \\
18+
& = \frac{\pi}{4} - \frac{1}{2} \cdot \left[\ln 2 - \ln 1\right] \\
19+
& = \frac{\pi}{4} - \frac{\ln 2}{2}.
20+
\end{align*}
21+
22+
\item Using the result in the previous part,
23+
\begin{align*}
24+
(n + 3) I_{n + 2} + (n + 1) I_n & = \left(\frac{\pi}{4} - \int_{0}^{1} \frac{x^{n + 3}}{1 + x^2} \Diff x\right) + \left(\frac{\pi}{4} - \int_{0}^{1} \frac{x^{n + 1}}{1 + x^2} \Diff x\right) \\
25+
& = \frac{\pi}{2} - \int_{0}^{1} \frac{x^{n + 1} + x^{n + 3}}{1 + x^2} \Diff x \\
26+
& = \frac{\pi}{2} - \int_{0}^{1} \frac{x^{n + 1} \left(1 + x^2\right)}{1 + x^2} \Diff x \\
27+
& = \frac{\pi}{2} - \int_{0}^{1} x^{n + 1} \Diff x \\
28+
& = \frac{\pi}{2} - \frac{1}{n + 2} \left[x^{n + 2}\right]_{0}^{1} \\
29+
& = \frac{\pi}{2} - \frac{1}{n + 2}.
30+
\end{align*}
31+
32+
Letting \(n = 0\), and we have
33+
\[
34+
3 I_2 + I_0 = \frac{\pi}{2} - \frac{1}{2}.
35+
\]
36+
37+
38+
Letting \(n = 2\), and we have
39+
\[
40+
5 I_4 + 3 I_2 = \frac{\pi}{2} - \frac{1}{4}.
41+
\]
42+
43+
Subtracting the first one from the second one, and hence
44+
\[
45+
5 I_4 - I_0 = \frac{1}{4}.
46+
\]
47+
48+
Hence,
49+
\[
50+
I_4 = \frac{1}{5} \cdot \left[\frac{1}{4} + \left(\frac{\pi}{4} - \frac{\ln 2}{2}\right)\right] = \frac{1}{20} + \frac{\pi}{20} - \frac{\ln 2}{10}.
51+
\]
52+
53+
\item Let \(n = 1\), and the statement says
54+
\begin{align*}
55+
(4n + 1) I_{4n} & = 5 I_4 \\
56+
& = A - \frac{1}{2} \sum_{r = 1}^{2 \cdot 1}(-1)^r \frac{1}{r} \\
57+
& = A - \frac{1}{2} \left(- \frac{1}{1} + \frac{1}{2}\right) \\
58+
& = A + \frac{1}{4}.
59+
\end{align*}
60+
61+
Comparing to the previous expression, we claim that
62+
\[
63+
A = \frac{\pi}{4} - \frac{\ln 2}{2}.
64+
\]
65+
66+
This shows the base case for \(n = 1\). For the induction step, we first introduce a lemma. Since
67+
\[
68+
(n + 5) I_{n + 4} + (n + 3) I_{n + 2} = \frac{\pi}{2} - \frac{1}{n + 4}, (n + 3) I_{n + 2} + (n + 1) I_{n} = \frac{\pi}{2} - \frac{1}{n + 2},
69+
\]
70+
subtracting the second one from the first one will give us
71+
\[
72+
(n + 5) I_{n + 4} - (n + 1) I_{n} = \frac{1}{n + 2} - \frac{1}{n + 4}.
73+
\]
74+
75+
Setting \(n = 4m\), we have
76+
\begin{align*}
77+
(4(m + 1) + 1) I_{4 (m + 1)} & = (4m + 1) I_{4m} + \frac{1}{4m + 2} - \frac{1}{4m + 4} \\
78+
& = (4m + 1) I_{4m} - \frac{1}{2} \cdot \left(-\frac{1}{2m + 1} + \frac{1}{2m + 2}\right) \\
79+
& = (4m + 1) I_{4m} - \frac{1}{2} \cdot \left[(-1)^{2m + 1} \frac{1}{2m + 1} + (-1)^{2m + 2} \frac{1}{2m + 2}\right].
80+
\end{align*}
81+
82+
Now we show the inductive step. Assume the statement is true for some \(n = k \geq 1\), i.e.
83+
\[
84+
(4k + 1) I_{4k} = A - \frac{1}{2} \sum_{r = 1}^{2n} (-1)^r \frac{1}{r}.
85+
\]
86+
87+
Using the identity above, we have
88+
\begin{align*}
89+
(4(k + 1) + 1) I_{4 (k + 1)} & = (4k + 1) I_{4k} - \frac{1}{2} \cdot \left[(-1)^{2k + 1} \frac{1}{2k + 1} + (-1)^{2k + 2} \frac{1}{2k + 2}\right] \\
90+
& = A - \frac{1}{2} \sum_{r = 1}^{2k} (-1)^r \frac{1}{r} - \frac{1}{2} \cdot \left[(-1)^{2k + 1} \frac{1}{2k + 1} + (-1)^{2k + 2} \frac{1}{2k + 2}\right] \\
91+
& = A - \frac{1}{2} \sum_{r = 1}^{2(k + 1)} (-1)^r \frac{1}{r}.
92+
\end{align*}
93+
94+
Hence, the original statement is true for \(n = 1\) (as shown when determining the value of \(A\)), and given the original statement holds for some \(n = k \geq 1\), it holds for \(n = k + 1\). By the principle of mathematical induction, this statement holds for all \(n \geq 1\), where
95+
\[
96+
A = \frac{\pi}{4} - \frac{\ln 2}{2}.
97+
\]
98+
\end{enumerate}

tex/2017/2/2.tex

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,65 @@
11
\Question{\currfilebase}
2-
\WorkInProgress
2+
3+
We have
4+
\begin{align*}
5+
x_{n + 2} & = \frac{a x_{n + 1} - 1}{x_{n + 1} + b} \\
6+
& = \frac{a \cdot \frac{a x_n - 1}{x_n + b} - 1}{\frac{a x_n - 1}{x_n + b} + b} \\
7+
& = \frac{a (a x_n - 1) - (x_n + b)}{(a x_n - 1) + b (x_n + b)} \\
8+
& = \frac{(a^2 - 1) x_n - (a + b)}{(a + b) x_n + (b^2 - 1)}.
9+
\end{align*}
10+
11+
\begin{enumerate}
12+
\item If the sequence is periodic with period \(2\), then for all integers \(n \geq 0\), we have
13+
\begin{align*}
14+
x_{n + 2} = x_n & \iff x_n \left[(a + b) x_n + (b^2 - 1)\right] = (a^2 - 1) x_n - (a + b) \\
15+
& \iff (a + b) x_n^2 - (a + b) (a - b) x_n + (a + b) = 0 \\
16+
& \iff (a + b) (x_n^2 - (a - b) x_n + 1) = 0.
17+
\end{align*}
18+
19+
We also have
20+
\begin{align*}
21+
x_{n + 1} = x_n & \iff x_n (x_n + b) = a x_n - 1 \\
22+
& \iff x_n^2 - (a - b) x_b + 1 = 0,
23+
\end{align*}
24+
and this means that for some \(n = k \geq 0\), we must have \(x_n^2 - (a - b) x_n + 1 \neq 0\) (otherwise, the sequence will have period \(1\)).
25+
26+
Therefore, for such \(n = k\), we must have \(a + b = 0\) for the first condition to be true, and hence this is a necessary condition.
27+
28+
\item Using the formula between \(x_{n + 4}\) and \(x_n\), we have
29+
\begin{align*}
30+
x_{n + 4} & = \frac{(a^2 - 1) x_{n + 2} - (a + b)}{(a + b) x_{n + 2} + (b^2 - 1)} \\
31+
& = \frac{(a^2 - 1) \cdot \frac{(a^2 - 1) x_n - (a + b)}{(a + b) x_n + (b^2 - 1)} - (a + b)}{(a + b) \cdot \frac{(a^2 - 1) x_n - (a + b)}{(a + b) x_n + (b^2 - 1)} + (b^2 - 1)} \\
32+
& = \frac{(a^2 - 1) \cdot \left[(a^2 - 1) x_n - (a + b)\right] - (a + b) \cdot \left[(a + b) x_n + (b^2 - 1)\right]}{(a + b) \cdot \left[(a^2 - 1) x_n - (a + b)\right] + (b^2 - 1) \cdot \left[(a + b) x_n + (b^2 - 1)\right]} \\
33+
& = \frac{\left[(a^2 - 1)^2 - (a + b)^2\right] x_n - \left[(a^2 - 1)(a + b) + (a + b)(b^2 - 1)\right]}{(a + b)\left[(a^2 - 1) + (b^2 - 1)\right] x_n + \left[(b^2 - 1)^2 - (a + b)^2\right]}.
34+
\end{align*}
35+
36+
If sequence has period \(4\), we have \(x_{n + 4} = x_n\) for all integers \(n \geq 0\), and the sequence does not have period \(1\), \(2\) or \(3\).
37+
38+
We notice
39+
\begin{align*}
40+
x_{n + 4} = x_n & \iff x_n \cdot \left[(a + b)\left[(a^2 - 1) + (b^2 - 1)\right] x_n + \left[(b^2 - 1)^2 - (a + b)^2\right]\right] \\
41+
& \phantom{\iff} = \left[(a^2 - 1)^2 - (a + b)^2\right] x_n - \left[(a^2 - 1)(a + b) + (a + b)(b^2 - 1)\right] \\
42+
& \iff (a + b) (a^2 + b^2 - 2) \left(x_n^2 - (a - b)x_n + 1 \right) = 0.
43+
\end{align*}
44+
45+
From the previous part, we know that for some \(n = k \geq 0\), we must have
46+
\[
47+
(a + b) \left(x_k^2 - (a - b)x_k + 1 \right) \neq 0,
48+
\]
49+
which means \(a + b \neq 0\) and \(x_k^2 - (a - b) x_k + 1 \neq 0\). Hence, we must have \(a^2 + b^2 - 2 = 0\).
50+
51+
On the other hand, if \(a^2 + b^2 - 2 = 0\), \(a + b \neq 0\) and \(x_k^2 - (a - b) x_k + 1 \neq 0\) for some \(n = k \geq 0\), we know that the sequence does not satisfy \(x_{n + 1} = x_n\), does not satisfy \(x_{n + 2} = x_n\), and it satisfies \(x_{n + 4} = x_n\).
52+
53+
If \(x_{n + 3} = x_n\), then we have \(x_{n + 3} = x_{n + 4}\) which contradicts with not satisfying \(x_{n + 1} = x_n\). Hence, the sequence does not satisfy \(x_{n + 3} = x_n\), and it must have period \(4\).
54+
55+
Therefore, the sequence has period \(4\), if and only if
56+
\[
57+
\left\{
58+
\begin{aligned}
59+
a + b & \neq 0, \\
60+
a^2 + b^2 - 2 & = 0, \\
61+
x_k^2 - (a - b)x_k + 1 & \neq 0 \text{ for some } n = k \geq 0.
62+
\end{aligned}
63+
\right.
64+
\]
65+
\end{enumerate}

tex/2017/2/3-diag1.tex

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

tex/2017/2/3-diag2.tex

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
\begin{tikzpicture}[trig format=rad, scale=3]
2+
\draw[->] (-0.5, 0) -- ({pi / 6 + 0.5}, 0) node[right] {\(x\)};
3+
\draw[->] (0, -0.5) -- (0, {pi / 2 + 0.5}) node[right] {\(y\)};
4+
\draw [smooth, samples=200, domain=0:pi/2] plot (\x, {asin(0.5*sin(\x))});
5+
\draw[dashed] (0, pi / 6) -- (pi / 2, pi / 6) -- (pi / 2, 0);
6+
\node at (0, 0) [below right] {\(O\)};
7+
\node at (pi / 2, 0) [below] {\(\pi / 2\)};
8+
\node at (0, pi / 6) [left] {\(\pi / 6\)};
9+
\end{tikzpicture}

tex/2017/2/3-diag3.tex

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
\begin{tikzpicture}[trig format=rad]
2+
\draw[->] (-pi - 0.5, 0) -- (pi + 0.5, 0) node[right] {\(x\)};
3+
\draw[->] (0, -pi - 0.5) -- (0, pi + 0.5) node[right] {\(y\)};
4+
\draw [smooth, samples=200, domain=-pi:pi] plot (\x, {asin(0.5*sin(\x))});
5+
\draw [smooth, samples=200, domain=0:pi] plot (\x, {pi - asin(0.5*sin(\x))});
6+
\draw [smooth, samples=200, domain=-pi:0] plot (\x, {-pi - asin(0.5*sin(\x))});
7+
\draw[dashed] (0, pi / 6) -- (pi / 2, pi / 6) -- (pi / 2, 0);
8+
\draw[dashed] (0, -pi / 6) -- (-pi / 2, -pi / 6) -- (-pi / 2, 0);
9+
\draw[dashed] (0, pi) -- (pi, pi) -- (pi, 0);
10+
\draw[dashed] (0, 5 * pi / 6) -- (pi / 2, 5 * pi / 6) -- (pi / 2, pi / 6);
11+
\draw[dashed] (0, -pi) -- (-pi, -pi) -- (-pi, 0);
12+
\draw[dashed] (0, -5 * pi / 6) -- (-pi / 2, -5 * pi / 6) -- (-pi / 2, -pi / 6);
13+
14+
\node at (0, 0) [below right] {\(O\)};
15+
\node at (-pi, 0) [above] {\(-\pi\)};
16+
\node at (-pi / 2, 0) [above] {\(-\pi / 2\)};
17+
\node at (pi / 2, 0) [below] {\(\pi / 2\)};
18+
\node at (pi, 0) [below] {\(\pi\)};
19+
20+
\node at (0, -pi) [right] {\(-\pi\)};
21+
\node at (0, -5 * pi / 6) [right] {\(-5 \pi / 6\)};
22+
\node at (0, -pi / 6) [right] {\(-\pi / 6\)};
23+
\node at (0, pi / 6) [left] {\(\pi / 6\)};
24+
\node at (0, 5 * pi / 6) [left] {\(5 \pi / 6\)};
25+
\node at (0, pi) [left] {\(\pi\)};
26+
\end{tikzpicture}

tex/2017/2/3-diag4.tex

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
\begin{tikzpicture}[trig format=rad]
2+
\draw[->] (-pi - 0.5, 0) -- (pi + 0.5, 0) node[right] {\(x\)};
3+
\draw[->] (0, -pi - 0.5) -- (0, pi + 0.5) node[right] {\(y\)};
4+
\draw [smooth, samples=200, domain=-pi:pi] plot (\x, {acos(0.5*sin(\x))});
5+
\draw [smooth, samples=200, domain=-pi:pi] plot (\x, {- acos(0.5*sin(\x))});
6+
7+
\draw [dashed] (-pi, pi / 2) -- (-pi, -pi / 2) -- (pi, -pi / 2) -- (pi, pi / 2) -- cycle;
8+
\draw [dashed] (0, pi / 3) -- (pi / 2, pi / 3) -- (pi / 2, -pi / 3) -- (0, -pi / 3);
9+
\draw [dashed] (0, 2 * pi / 3) -- (-pi / 2, 2 * pi / 3) -- (-pi / 2, -2 * pi / 3) -- (0, -2 * pi / 3);
10+
11+
\node at (0, 0) [below right] {\(O\)};
12+
\node at (-pi, 0) [above right] {\(-\pi\)};
13+
\node at (-pi / 2, 0) [above right] {\(-\pi / 2\)};
14+
\node at (pi / 2, 0) [below left] {\(\pi / 2\)};
15+
\node at (pi, 0) [below left] {\(\pi\)};
16+
17+
\node at (0, -2 * pi / 3) [right] {\(-2\pi / 3\)};
18+
\node at (pi, -pi / 2) [right] {\(-\pi / 2\)};
19+
\node at (0, -pi / 3) [left] {\(-\pi / 3\)};
20+
\node at (0, pi / 3) [left] {\(\pi / 3\)};
21+
\node at (pi, pi / 2) [right] {\(\pi / 2\)};
22+
\node at (0, 2 * pi / 3) [right] {\(2\pi / 3\)};
23+
\end{tikzpicture}

tex/2017/2/3.tex

Lines changed: 71 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,72 @@
11
\Question{\currfilebase}
2-
\WorkInProgress
2+
3+
\begin{enumerate}
4+
\item Since \(\sin y = \sin x\), we must have
5+
\[
6+
y = x + 2 k \pi
7+
\]
8+
where \(k \in \ZZ\), or
9+
\[
10+
y = (2k + 1) \pi - x
11+
\]
12+
where \(k \in \ZZ\).
13+
14+
For the first case, since \(x \in [-\pi, \pi]\) and \(y \in [-\pi, \pi]\), we must have simply \(x = y\).
15+
16+
For the second case, within this range, we can have \(y = \pi - x\), and \(y = - \pi - x\).
17+
18+
Hence, the sketch looks as follows.
19+
20+
\begin{center}
21+
\input{\currfiledir 3-diag1}
22+
\end{center}
23+
24+
\item Differentiating with respect to \(x\), we have
25+
\[
26+
\cos y \DiffFrac{y}{x} = \frac{1}{2} \cos x.
27+
\]
28+
29+
Since \(\sin y = \frac{1}{2} \sin x\), \(\cos y = \pm \sqrt{1 - \sin^2 y} = \pm \sqrt{1 - \frac{1}{4} \sin^2 x}\). Since \(0 \leq y \leq \frac{1}{2} \pi\), \(\cos y > 0\), and hence \(\cos y = \frac{1}{2} \sqrt{4 - \sin^2 x}\). Hence,
30+
\[
31+
\DiffFrac{y}{x} = \frac{\frac{1}{2} \cos x}{\frac{1}{2} \sqrt{4 - \sin^2 x}} = \frac{\cos x}{\sqrt{4 - \sin^2 x}}.
32+
\]
33+
34+
Differentiating this again gives us
35+
\begin{align*}
36+
\NdiffFrac{2}{y}{x} & = \frac{(- \sin x) \sqrt{4 - \sin^2 x} - \frac{1}{2} \cdot (-2 \sin x) \cdot \cos x \cdot \frac{1}{\sqrt{4 - \sin^2 x}} \cdot \cos x}{4 - \sin^2 x} \\
37+
& = \frac{(- \sin x) (4 - \sin^2 x) + \sin x \cos^2 x}{(4 - \sin^2 x)^{\frac{3}{2}}} \\
38+
& = \frac{-4 \sin x + \sin^3 x + \sin x (1 - \sin^2 x)}{(4 - \sin^2 x)^{\frac{3}{2}}} \\
39+
& = -\frac{3 \sin x}{(4 - \sin^2 x)^{\frac{3}{2}}},
40+
\end{align*}
41+
as desired.
42+
43+
Within this range of \(x\) and \(y\), we have
44+
\[
45+
y = \arcsin \left(\frac{1}{2} \sin x\right),
46+
\]
47+
and hence this is a function, and each \(x\) corresponds to a unique \(y\).
48+
49+
At \(x = 0\),
50+
\[
51+
y = 0, y' = \frac{\cos 0}{\sqrt{4 - \sin^2 0}} = \frac{1}{2},
52+
\]
53+
and at \(x = \frac{\pi}{2}\),
54+
\[
55+
y = \frac{\pi}{6}, y' = -\frac{\cos \frac{\pi}{2}}{\sqrt{4 - \sin^2 \frac{\pi}{2}}} = 0.
56+
\]
57+
58+
Since \(y'' = - \frac{3 \sin x}{(4 - \sin^2 x)^{\frac{3}{2}}} < 0\) for \(x \in \left[0, \frac{\pi}{2}\right]\), this function is concave, and hence the graph looks as follows.
59+
\begin{center}
60+
\input{\currfiledir 3-diag2.tex}
61+
\end{center}
62+
63+
Hence, for \((x, y) \in [-\pi, \pi]^2\), the graph looks as follows, by symmetry.
64+
\begin{center}
65+
\input{\currfiledir 3-diag3.tex}
66+
\end{center}
67+
68+
\item The graph is as follows.
69+
\begin{center}
70+
\input{\currfiledir 3-diag4.tex}
71+
\end{center}
72+
\end{enumerate}

0 commit comments

Comments
 (0)