1. ទំព័រដើម
  2. ប្រឡងអន្តរជាតិ
  3. Canada Math Olympiad
  4. ឆ្នាំ ២០០៨

វិញ្ញាសា Canada Math Olympiad — ២០០៨

40th Canadian Mathematical Olympiad (2008) · ៥ លំហាត់វិចារបញ្ជាក់ពេញលេញ ជា HTML/KaTeX ទំព័រដើម និងកូដ LaTeX (.tex)។

🌐 បកប្រែផ្ទាល់ (4 ភាសា)៖
ប្រធាន និងដំណោះស្រាយ ៖
១
$ABCD$ is a convex quadrilateral for which $AB$ is the longest side. Points $M$ and $N$ are located on sides $AB$ and $BC$ respectively, so that each of the segments $AN$ and $CM$ divides the quadrilateral into two parts of equal area. Prove that the segment $MN$ bisects the diagonal $BD$.
💡មើលដំណោះស្រាយផ្លូវការ▾
💡 ដំណោះស្រាយលំហាត់ទី ១
Since $[MADC] = \frac{1}{2}[ABCD] = [NADC]$, it follows that $[ANC] = [AMC]$, so that $MN \parallel AC$.
Let $m$ be a line through $D$ parallel to $AC$ and $MN$, and let $BA$ produced meet $m$ at $P$ and $BC$ produced meet $m$ at $Q$. Then
$$[MPC] = [MAC] + [CAP] = [MAC] + [CAD] = [MADC] = [BMC]$$
whence $BM = MP$. Similarly $BN = NQ$, so that $MN$ is a midline of triangle $BPQ$ and must bisect $BD$.
🖼️ មើលទំព័រដំណោះស្រាយ PDF ដើម (រូបភាពស្កេន)
CMO 2008 Official Solution Scan · s01.webp
CMO 2008 Solution Problem 1
២
Determine all functions $f$ defined on the set of rational numbers that take rational values for which
$$f(2f(x) + f(y)) = 2x + y$$
for each $x$ and $y$.
💡មើលដំណោះស្រាយផ្លូវការ▾
💡 ដំណោះស្រាយលំហាត់ទី ២
Solution 1: The only solutions are $f(x) = x$ for all rational $x$ and $f(x) = -x$ for all rational $x$. Both of these readily check out.
Setting $y = x$ yields $f(3f(x)) = 3x$ for all rational $x$. Replacing $x$ by $3f(x)$, we find that $f(9x) = f(3f(3f(x))) = 3[3f(x)] = 9f(x)$ for all rational $x$. Setting $x = 0$ yields $f(0) = 9f(0)$, whence $f(0) = 0$.
Setting $x = 0$ in the given functional equation yields $f(f(y)) = y$ for all rational $y$. Thus $f$ is one-to-one and onto. Applying $f$ to the functional equation yields $2f(x) + f(y) = f(2x + y)$ for every rational pair $(x, y)$. Setting $y = 0$ yields $f(2f(x)) = 2x$, whence $2f(x) = f(2x)$. Therefore $f(2x) + f(y) = f(2x + y)$, so $f(u + v) = f(u) + f(v)$ for every rational pair $(u, v)$.
Since $0 = f(0) = f(-1) + f(1)$, we have $f(-1) = -f(1)$. By induction, $f(nx) = nf(x)$ for each integer $n$ and rational $x$. Setting $k = f(1)$, we obtain $f(m/n) = mk/n$ for each integer pair $(m, n)$, so $f(x) = kx$ for all rational $x$. Since $f(f(x)) = x$, $k^2 = 1$, giving $f(x) = x$ or $f(x) = -x$.
Solution 2: Let $x = y = 2f(z) + f(w)$ to obtain $f(x) = f(y) = 2z + w$ and $f(6z + 3w) = 6f(z) + 3f(w)$ for all rationals $z, w$. Setting $(z, w) = (0, 0)$ gives $f(0) = 0$; $w = 0$ gives $f(6z) = 6f(z)$; $z = 0$ gives $f(3w) = 3f(w)$. Thus $f(u + v) = f(u) + f(v)$, so $f(x) = kx$ with $k = f(1)$. Substituting $(x, y) = (1, 1)$ gives $3 = 3k^2$, so $k = \pm 1$.
🖼️ មើលទំព័រដំណោះស្រាយ PDF ដើម (រូបភាពស្កេន)
CMO 2008 Official Solution Scan · s01.webp
CMO 2008 Solution Problem 2
CMO 2008 Official Solution Scan · s02.webp
CMO 2008 Solution Problem 2
៣
Let $a, b, c$ be positive real numbers for which $a + b + c = 1$. Prove that
$$\frac{a - bc}{a + bc} + \frac{b - ca}{b + ca} + \frac{c - ab}{c + ab} \le \frac{3}{2}.$$
💡មើលដំណោះស្រាយផ្លូវការ▾
💡 ដំណោះស្រាយលំហាត់ទី ៣
Solution 1: Using $a + b + c = 1$, note that
$$1 - \frac{a - bc}{a + bc} = \frac{2bc}{1 - b - c + bc} = \frac{2bc}{(1 - b)(1 - c)}.$$
Thus the inequality is equivalent to
$$\frac{2bc}{(1 - b)(1 - c)} + \frac{2ca}{(1 - c)(1 - a)} + \frac{2ab}{(1 - a)(1 - b)} \ge \frac{3}{2}.$$
Clearing denominators and simplifying yields $ab + bc + ca \ge 9abc$, or equivalently $\frac{1}{a} + \frac{1}{b} + \frac{1}{c} \ge 9$, which follows directly from the Harmonic–Arithmetic Mean inequality: $(a + b + c)\left(\frac{1}{a} + \frac{1}{b} + \frac{1}{c}\right) \ge 9$.
Solution 2: Observe that $a + bc = a(a + b + c) + bc = (a + b)(a + c)$ and $a + b = 1 - c$ symmetrically. Putting the left side over the common denominator $(b + c)(c + a)(a + b)$ gives
$$\frac{(a - bc)(1 - a) + (b - ac)(1 - b) + (c - ab)(1 - c)}{(b + c)(c + a)(a + b)} = 1 + \frac{4abc}{(a + b)(b + c)(c + a)}.$$
By AM-GM, $(a + b)(b + c)(c + a) = (a^2b + b^2c + c^2a) + (ab^2 + bc^2 + ca^2) + 2abc \ge 3abc + 3abc + 2abc = 8abc$, so $\frac{4abc}{(a + b)(b + c)(c + a)} \le \frac{1}{2}$, proving the inequality with equality when $a = b = c = \frac{1}{3}$.
🖼️ មើលទំព័រដំណោះស្រាយ PDF ដើម (រូបភាពស្កេន)
CMO 2008 Official Solution Scan · s02.webp
CMO 2008 Solution Problem 3
CMO 2008 Official Solution Scan · s03.webp
CMO 2008 Solution Problem 3
៤
Determine all functions $f$ defined on the natural numbers that take values among the natural numbers for which
$$(f(n))^p \equiv n \pmod{f(p)}$$
for all $n \in \mathbb{N}$ and all prime numbers $p$.
💡មើលដំណោះស្រាយផ្លូវការ▾
💡 ដំណោះស្រាយលំហាត់ទី ៤
The substitution $n = p$ (a prime) yields $p \equiv (f(p))^p \equiv 0 \pmod{f(p)}$, so $p$ is divisible by $f(p)$. Hence, for each prime $p$, $f(p) = 1$ or $f(p) = p$.
Let $S = \{p : p \text{ is prime and } f(p) = p\}$. If $S$ is infinite, then $f(n)^p \equiv n \pmod{p}$ for infinitely many primes $p$. By Fermat's Little Theorem, $n \equiv f(n)^p \equiv f(n) \pmod{p}$, so $f(n) - n$ is divisible by infinitely many primes $p$. Hence $f(n) = n$ for all $n \in \mathbb{N}$ (which checks out).
If $S$ is empty, then $f(p) = 1$ for all primes $p$, and every function satisfying this condition checks out trivially.
Now suppose $S$ is finite and non-empty, and let $q$ be the largest prime in $S$. If $q \ge 3$, then every prime $p > q$ satisfies $f(p) = 1$, so setting $n = p$ in $(f(n))^q \equiv n \pmod{f(q)}$ gives $p \equiv 1^q = 1 \pmod q$ for all primes $p > q$. However, if $Q$ is the product of all odd primes up to $q$, then $Q + 2$ has a prime factor $p > q$, and not all prime factors of $Q + 2$ can be $\equiv 1 \pmod q$ (or by Bertrand's postulate there is a prime in $(q, 2q)$ not $\equiv 1 \pmod q$), contradiction.
The only remaining case is $S = \{2\}$, so $f(2) = 2$ and $f(p) = 1$ for all odd primes $p$. Taking $p = 2$ gives $f(n)^2 \equiv n \pmod 2$, so $f(n)$ and $n$ have the same parity. Therefore the only solutions are: (1) $f(n) = n$ for all $n$; (2) any $f$ with $f(p) = 1$ for all primes $p$; (3) any $f$ with $f(2) = 2$, $f(p) = 1$ for odd primes $p$, and $f(n) \equiv n \pmod 2$ for all $n$.
🖼️ មើលទំព័រដំណោះស្រាយ PDF ដើម (រូបភាពស្កេន)
CMO 2008 Official Solution Scan · s03.webp
CMO 2008 Solution Problem 4
៥
A self-avoiding rook walk on a chessboard (a rectangular grid of unit squares) is a path traced by a sequence of moves parallel to an edge of the board from one unit square to another, such that each begins where the previous move ended and such that no move ever crosses a square that has previously been crossed, i.e., the rook's path is non-self-intersecting.
Let $R(m, n)$ be the number of self-avoiding rook walks on an $m \times n$ ($m$ rows, $n$ columns) chessboard which begin at the lower-left corner and end at the upper-left corner. For example, $R(m, 1) = 1$ for all natural numbers $m$; $R(2, 2) = 2$; $R(3, 2) = 4$; $R(3, 3) = 11$. Find a formula for $R(3, n)$ for each natural number $n$.
💡មើលដំណោះស្រាយផ្លូវការ▾
💡 ដំណោះស្រាយលំហាត់ទី ៥
Solution 1: Let $r_n = R(3, n)$, with $r_1 = 1$ and $r_2 = 4$. Label cell $(i, j)$ in row $i$ from bottom and column $j$ from left; walks go from $(1, 1)$ to $(3, 1)$. For $n \ge 3$, walks split into 6 disjoint categories:
(1) The single walk $(1, 1) \to (2, 1) \to (3, 1)$ ($1$ walk). (2) Walks avoiding $(2, 1)$, which start $(1, 1) \to (1, 2)$ and end $(3, 2) \to (3, 1)$ ($r_{n-1}$ walks). (3) Walks starting $(1, 1) \to (2, 1) \to (2, 2)$ without returning to row 1 ($n - 1$ walks). (4) Walks returning to row 1 after reaching $(2, k)$ ($2 \le k \le n - 1$), giving $r_{n-2} + \cdots + r_1$ walks. (5)–(6) Horizontal reflections of (3) and (4), contributing another $(n - 1) + (r_{n-2} + \cdots + r_1)$ walks.
Hence $r_n = 2n - 1 + r_{n-1} + 2(r_{n-2} + \cdots + r_1)$. Taking differences $r_{n+1} - r_n = 2 + r_n + r_{n-1}$ yields
$$r_{n+1} + 1 = 2(r_n + 1) + (r_{n-1} + 1).$$
Solving the characteristic equation $t^2 - 2t - 1 = 0$ ($t = 1 \pm \sqrt{2}$) with $r_1 + 1 = 2$ and $r_2 + 1 = 5$ gives
$$R(3, n) = r_n = \frac{1}{2\sqrt{2}}\left[(1 + \sqrt{2})^{n+1} - (1 - \sqrt{2})^{n+1}\right] - 1.$$
🖼️ មើលទំព័រដំណោះស្រាយ PDF ដើម (រូបភាពស្កេន)
CMO 2008 Official Solution Scan · s04.webp
CMO 2008 Solution Problem 5
CMO 2008 Official Solution Scan · s05.webp
CMO 2008 Solution Problem 5
CMO 2008 Official Solution Scan · s06.webp
CMO 2008 Solution Problem 5
⬇️ ទាញយក CMO_2008.tex
% !TEX program = pdflatex
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb,amsthm}
\usepackage[margin=2.2cm]{geometry}
\usepackage{enumitem}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt}

\title{40th Canadian Mathematical Olympiad (2008) \\ \large Problems and Official Solutions}
\author{Canadian Mathematical Society (CMS) --- Archive curated by Edu-Plus Cambodia}
\date{2008}

\begin{document}
\maketitle

\section*{Problems}
\subsection*{Problem 1}
$ABCD$ is a convex quadrilateral for which $AB$ is the longest side. Points $M$ and $N$ are located on sides $AB$ and $BC$ respectively, so that each of the segments $AN$ and $CM$ divides the quadrilateral into two parts of equal area. Prove that the segment $MN$ bisects the diagonal $BD$.

\subsection*{Problem 2}
Determine all functions $f$ defined on the set of rational numbers that take rational values for which

\[
f(2f(x) + f(y)) = 2x + y
\]

for each $x$ and $y$.

\subsection*{Problem 3}
Let $a, b, c$ be positive real numbers for which $a + b + c = 1$. Prove that

\[
\frac{a - bc}{a + bc} + \frac{b - ca}{b + ca} + \frac{c - ab}{c + ab} \le \frac{3}{2}.
\]

\subsection*{Problem 4}
Determine all functions $f$ defined on the natural numbers that take values among the natural numbers for which

\[
(f(n))^p \equiv n \pmod{f(p)}
\]

for all $n \in \mathbb{N}$ and all prime numbers $p$.

\subsection*{Problem 5}
A self-avoiding rook walk on a chessboard (a rectangular grid of unit squares) is a path traced by a sequence of moves parallel to an edge of the board from one unit square to another, such that each begins where the previous move ended and such that no move ever crosses a square that has previously been crossed, i.e., the rook's path is non-self-intersecting.

Let $R(m, n)$ be the number of self-avoiding rook walks on an $m \times n$ ($m$ rows, $n$ columns) chessboard which begin at the lower-left corner and end at the upper-left corner. For example, $R(m, 1) = 1$ for all natural numbers $m$; $R(2, 2) = 2$; $R(3, 2) = 4$; $R(3, 3) = 11$. Find a formula for $R(3, n)$ for each natural number $n$.

\newpage
\section*{Official Solutions}
\subsection*{Solution to Problem 1}
Since $[MADC] = \frac{1}{2}[ABCD] = [NADC]$, it follows that $[ANC] = [AMC]$, so that $MN \parallel AC$.

Let $m$ be a line through $D$ parallel to $AC$ and $MN$, and let $BA$ produced meet $m$ at $P$ and $BC$ produced meet $m$ at $Q$. Then

\[
[MPC] = [MAC] + [CAP] = [MAC] + [CAD] = [MADC] = [BMC]
\]

whence $BM = MP$. Similarly $BN = NQ$, so that $MN$ is a midline of triangle $BPQ$ and must bisect $BD$.

\subsection*{Solution to Problem 2}
\textbf{Solution 1:} The only solutions are $f(x) = x$ for all rational $x$ and $f(x) = -x$ for all rational $x$. Both of these readily check out.

Setting $y = x$ yields $f(3f(x)) = 3x$ for all rational $x$. Replacing $x$ by $3f(x)$, we find that $f(9x) = f(3f(3f(x))) = 3[3f(x)] = 9f(x)$ for all rational $x$. Setting $x = 0$ yields $f(0) = 9f(0)$, whence $f(0) = 0$.

Setting $x = 0$ in the given functional equation yields $f(f(y)) = y$ for all rational $y$. Thus $f$ is one-to-one and onto. Applying $f$ to the functional equation yields $2f(x) + f(y) = f(2x + y)$ for every rational pair $(x, y)$. Setting $y = 0$ yields $f(2f(x)) = 2x$, whence $2f(x) = f(2x)$. Therefore $f(2x) + f(y) = f(2x + y)$, so $f(u + v) = f(u) + f(v)$ for every rational pair $(u, v)$.

Since $0 = f(0) = f(-1) + f(1)$, we have $f(-1) = -f(1)$. By induction, $f(nx) = nf(x)$ for each integer $n$ and rational $x$. Setting $k = f(1)$, we obtain $f(m/n) = mk/n$ for each integer pair $(m, n)$, so $f(x) = kx$ for all rational $x$. Since $f(f(x)) = x$, $k^2 = 1$, giving $f(x) = x$ or $f(x) = -x$.

\textbf{Solution 2:} Let $x = y = 2f(z) + f(w)$ to obtain $f(x) = f(y) = 2z + w$ and $f(6z + 3w) = 6f(z) + 3f(w)$ for all rationals $z, w$. Setting $(z, w) = (0, 0)$ gives $f(0) = 0$; $w = 0$ gives $f(6z) = 6f(z)$; $z = 0$ gives $f(3w) = 3f(w)$. Thus $f(u + v) = f(u) + f(v)$, so $f(x) = kx$ with $k = f(1)$. Substituting $(x, y) = (1, 1)$ gives $3 = 3k^2$, so $k = \pm 1$.

\subsection*{Solution to Problem 3}
\textbf{Solution 1:} Using $a + b + c = 1$, note that

\[
1 - \frac{a - bc}{a + bc} = \frac{2bc}{1 - b - c + bc} = \frac{2bc}{(1 - b)(1 - c)}.
\]

Thus the inequality is equivalent to

\[
\frac{2bc}{(1 - b)(1 - c)} + \frac{2ca}{(1 - c)(1 - a)} + \frac{2ab}{(1 - a)(1 - b)} \ge \frac{3}{2}.
\]

Clearing denominators and simplifying yields $ab + bc + ca \ge 9abc$, or equivalently $\frac{1}{a} + \frac{1}{b} + \frac{1}{c} \ge 9$, which follows directly from the Harmonic–Arithmetic Mean inequality: $(a + b + c)\left(\frac{1}{a} + \frac{1}{b} + \frac{1}{c}\right) \ge 9$.

\textbf{Solution 2:} Observe that $a + bc = a(a + b + c) + bc = (a + b)(a + c)$ and $a + b = 1 - c$ symmetrically. Putting the left side over the common denominator $(b + c)(c + a)(a + b)$ gives

\[
\frac{(a - bc)(1 - a) + (b - ac)(1 - b) + (c - ab)(1 - c)}{(b + c)(c + a)(a + b)} = 1 + \frac{4abc}{(a + b)(b + c)(c + a)}.
\]

By AM-GM, $(a + b)(b + c)(c + a) = (a^2b + b^2c + c^2a) + (ab^2 + bc^2 + ca^2) + 2abc \ge 3abc + 3abc + 2abc = 8abc$, so $\frac{4abc}{(a + b)(b + c)(c + a)} \le \frac{1}{2}$, proving the inequality with equality when $a = b = c = \frac{1}{3}$.

\subsection*{Solution to Problem 4}
The substitution $n = p$ (a prime) yields $p \equiv (f(p))^p \equiv 0 \pmod{f(p)}$, so $p$ is divisible by $f(p)$. Hence, for each prime $p$, $f(p) = 1$ or $f(p) = p$.

Let $S = \{p : p \text{ is prime and } f(p) = p\}$. If $S$ is infinite, then $f(n)^p \equiv n \pmod{p}$ for infinitely many primes $p$. By Fermat's Little Theorem, $n \equiv f(n)^p \equiv f(n) \pmod{p}$, so $f(n) - n$ is divisible by infinitely many primes $p$. Hence $f(n) = n$ for all $n \in \mathbb{N}$ (which checks out).

If $S$ is empty, then $f(p) = 1$ for all primes $p$, and every function satisfying this condition checks out trivially.

Now suppose $S$ is finite and non-empty, and let $q$ be the largest prime in $S$. If $q \ge 3$, then every prime $p > q$ satisfies $f(p) = 1$, so setting $n = p$ in $(f(n))^q \equiv n \pmod{f(q)}$ gives $p \equiv 1^q = 1 \pmod q$ for all primes $p > q$. However, if $Q$ is the product of all odd primes up to $q$, then $Q + 2$ has a prime factor $p > q$, and not all prime factors of $Q + 2$ can be $\equiv 1 \pmod q$ (or by Bertrand's postulate there is a prime in $(q, 2q)$ not $\equiv 1 \pmod q$), contradiction.

The only remaining case is $S = \{2\}$, so $f(2) = 2$ and $f(p) = 1$ for all odd primes $p$. Taking $p = 2$ gives $f(n)^2 \equiv n \pmod 2$, so $f(n)$ and $n$ have the same parity. Therefore the only solutions are: (1) $f(n) = n$ for all $n$; (2) any $f$ with $f(p) = 1$ for all primes $p$; (3) any $f$ with $f(2) = 2$, $f(p) = 1$ for odd primes $p$, and $f(n) \equiv n \pmod 2$ for all $n$.

\subsection*{Solution to Problem 5}
\textbf{Solution 1:} Let $r_n = R(3, n)$, with $r_1 = 1$ and $r_2 = 4$. Label cell $(i, j)$ in row $i$ from bottom and column $j$ from left; walks go from $(1, 1)$ to $(3, 1)$. For $n \ge 3$, walks split into 6 disjoint categories:

(1) The single walk $(1, 1) \to (2, 1) \to (3, 1)$ ($1$ walk). (2) Walks avoiding $(2, 1)$, which start $(1, 1) \to (1, 2)$ and end $(3, 2) \to (3, 1)$ ($r_{n-1}$ walks). (3) Walks starting $(1, 1) \to (2, 1) \to (2, 2)$ without returning to row 1 ($n - 1$ walks). (4) Walks returning to row 1 after reaching $(2, k)$ ($2 \le k \le n - 1$), giving $r_{n-2} + \cdots + r_1$ walks. (5)–(6) Horizontal reflections of (3) and (4), contributing another $(n - 1) + (r_{n-2} + \cdots + r_1)$ walks.

Hence $r_n = 2n - 1 + r_{n-1} + 2(r_{n-2} + \cdots + r_1)$. Taking differences $r_{n+1} - r_n = 2 + r_n + r_{n-1}$ yields

\[
r_{n+1} + 1 = 2(r_n + 1) + (r_{n-1} + 1).
\]

Solving the characteristic equation $t^2 - 2t - 1 = 0$ ($t = 1 \pm \sqrt{2}$) with $r_1 + 1 = 2$ and $r_2 + 1 = 5$ gives

\[
R(3, n) = r_n = \frac{1}{2\sqrt{2}}\left[(1 + \sqrt{2})^{n+1} - (1 - \sqrt{2})^{n+1}\right] - 1.
\]

\end{document}