intruction
stringclasses 1
value | input
stringlengths 19
1.7k
| output
stringlengths 38
5.51k
|
---|---|---|
Solve the following problem: | Rational numbers $a$ and $b$ are chosen at random among all rational numbers in the interval $[0,2)$ that can be written as fractions $\frac{n}{d}$ where $n$ and $d$ are integers with $1 \le d \le 5$. What is the probability that \[(\text{cos}(a\pi)+i\text{sin}(b\pi))^4\]is a real number? | There are 20 possible values of $a$ and $b,$ namely
\[S = \left\{ 0, 1, \frac{1}{2}, \frac{3}{2}, \frac{1}{3}, \frac{2}{3}, \frac{4}{3}, \frac{5}{3}, \frac{1}{4}, \frac{3}{4}, \frac{5}{4}, \frac{7}{4}, \frac{1}{5}, \frac{2}{5}, \frac{3}{5}, \frac{4}{5}, \frac{6}{5}, \frac{7}{5}, \frac{8}{5}, \frac{9}{5} \right\}.\]Let $x = \cos a \pi$ and $y = \sin b \pi.$ We want to see when
\[(x + yi)^4 = x^4 + 4ix^3 y - 6x^2 y^2 - 4ixy^3 + y^4\]is real. This occurs exactly when $4x^3 y - 4xy^3 = 4xy(x^2 - y^2) = 0,$ so either $x = 0,$ $y = 0,$ $x = y,$ or $x = -y.$ In other words, $\cos a \pi = 0,$ $\sin b \pi = 0,$ $\cos a \pi = \sin b \pi,$ or $\cos a \pi = -\sin b \pi.$
If $\cos a \pi = 0,$ then $a = \frac{1}{2}$ or $a = \frac{3}{2},$ and $b$ can be any value in $S.$ This gives us 40 pairs $(a,b).$
If $\sin b \pi = 0,$ then $b = 0$ or $b = 1,$ and $a$ can be any value in $S.$ This gives us 40 pairs $(a,b),$ but the four pairs $\left( \frac{1}{2}, 0 \right),$ $\left( \frac{1}{2}, 1 \right),$ $\left( \frac{3}{2}, 0 \right),$ and $\left( \frac{3}{2}, 1 \right)$ have already been counted, so it gives us only 36 additional pairs.
If $\cos a \pi = \sin b \pi,$ then
\[\cos a \pi = \cos \left( \frac{\pi}{2} - b \pi \right),\]which implies $a \pi - \left( \frac{\pi}{2} - b \pi \right) = 2 \pi k$ for some integer $k,$ or $a \pi + \left( \frac{\pi}{2} - b \pi \right) = 2 \pi k'$ for some integer $k'.$ These lead to $a + b - \frac{1}{2} = 2k$ or $a - b + \frac{1}{2} = 2k'.$ We have already counted the pairs where $b = 0$ or $b = 1,$ so we exclude these values. We can check that if the denominator of $b$ is 3 or 5, then there are no possible values of $a.$
If $b = \frac{1}{2},$ then $a = 0$ for either equation. If $b = \frac{3}{2},$ then $a = 1$ for either equation. Finally, we can check that if $b \in \left\{ \frac{1}{4}, \frac{3}{4}, \frac{5}{4}, \frac{7}{4} \right\},$ then there is exactly one solution for $a$ for the equation $a + b - \frac{1}{2} = 2k$ (which lies in $\left\{ \frac{1}{4}, \frac{3}{4}, \frac{5}{4}, \frac{7}{4} \right\}$), and one solution for $a$ for the equation $a - b + \frac{1}{2} = 2k'$ (which lies in $\left\{ \frac{1}{4}, \frac{3}{4}, \frac{5}{4}, \frac{7}{4} \right\}$). Furthermore, if $a + b - \frac{1}{2} = 2k$ and $a - b + \frac{1}{2} = 2k',$ then subtracting these equations, we get
\[2b - 1 = 2k - 2k',\]so $b = k - k' + \frac{1}{2}.$ Thus, $b = \frac{1}{2}$ or $b = \frac{3}{2},$ and we count these values just once. This gives us $2 + 8 = 10$ pairs $(a,b).$
Similarly, if $\cos a \pi = -\sin b \pi,$ then
\[\cos a \pi = -\sin b \pi = \sin (-b \pi) = \cos \left( \frac{\pi}{2} + b \pi \right),\]which implies $a \pi - \left( \frac{\pi}{2} + b \pi \right) = 2 \pi k$ for some integer $k,$ or $a \pi + \left( \frac{\pi}{2} + b \pi \right) = 2 \pi k'$ for some integer $k'.$ These lead to $a - b - \frac{1}{2} = 2k$ or $a + b + \frac{1}{2} = 2k'.$ We have already counted the pairs where $b = 0$ or $b = 1,$ so we exclude these values. We can check that if the denominator of $b$ is 3 or 5, then there are no possible values of $a.$
If $b = \frac{1}{2},$ then $a = 1$ for either equation. If $b = \frac{3}{2},$ then $a = 0$ for either equation. Finally, we can check that if $b \in \left\{ \frac{1}{4}, \frac{3}{4}, \frac{5}{4}, \frac{7}{4} \right\},$ then there is exactly one solution for $a$ for the equation $a - b - \frac{1}{2} = 2k$ (which lies in $\left\{ \frac{1}{4}, \frac{3}{4}, \frac{5}{4}, \frac{7}{4} \right\}$), and one solution for $a$ for the equation $a + b + \frac{1}{2} = 2k'$ (which lies in $\left\{ \frac{1}{4}, \frac{3}{4}, \frac{5}{4}, \frac{7}{4} \right\}$). Furthermore, if $a - b - \frac{1}{2} = 2k$ and $a + b + \frac{1}{2} = 2k',$ then subtracting these equations, we get
\[2b + 1 = 2k' - 2k,\]so $b = k' - k - \frac{1}{2}.$ Thus, $b = \frac{1}{2}$ or $b = \frac{3}{2},$ and we count these values just once. We can also confirm that all of the pairs in this case are different from the pairs in the previous case. This gives us $2 + 8 = 10$ pairs $(a,b).$
Thus, there are a total of $40 + 36 + 10 + 10 = 96$ possible pairs $(a,b).$ There are $20^2 = 400$ ways to choose the pair $(a,b),$ which gives us a probability of $\frac{96}{400} = \boxed{\frac{6}{25}}.$ |
Solve the following problem: | Let $a_0$, $a_1$, $a_2$, $\dots$ be an infinite sequence of real numbers such that $a_0 = \frac{5}{13}$ and
\[
a_{n} = 2 a_{n-1}^2 - 1
\]for every positive integer $n$. Let $c$ be the smallest number such that for every positive integer $n$, the product of the first $n$ terms satisfies the inequality
\[|a_0 a_1 \dotsm a_{n - 1}| \le \frac{c}{2^n}.\]What is the value of $100c$, rounded to the nearest integer? | Define the sequence $(\theta_n)$ by $\theta_0 = \arccos \frac{5}{13}$ and
\[\theta_n = 2 \theta_{n - 1}.\]Then $\cos \theta_0 = \frac{5}{13},$ and
\begin{align*}
\cos \theta_n &= \cos (2 \theta_{n - 1}) \\
&= 2 \cos^2 \theta_{n - 1} - 1.
\end{align*}Since the sequences $(a_n)$ and $(\cos \theta_n)$ have the same initial term, and the same recursion, they coincide.
We have that
\[\sin^2 \theta_0 = 1 - \cos^2 \theta_0 = \frac{144}{169}.\]Since $\theta_0$ is acute, $\sin \theta_0 = \frac{12}{13}.$
Now,
\begin{align*}
a_0 a_1 \dotsm a_{n - 1} &= \cos \theta_0 \cos \theta_1 \dotsm \cos \theta_{n - 1} \\
&= \cos \theta_0 \cos 2 \theta_0 \dotsm \cos 2^{n - 1} \theta_0.
\end{align*}Multiplying both sides by $\sin \theta_0 = \frac{12}{13},$ we get
\begin{align*}
\frac{12}{13} a_0 a_1 \dotsm a_{n - 1} &= \sin \theta_0 \cos \theta_0 \cos 2 \theta_0 \cos 4 \theta_0 \dotsm \cos 2^{n - 1} \theta_0 \\
&= \frac{1}{2} \sin 2 \theta_0 \cos 2 \theta_0 \cos 4 \theta_0 \dotsm \cos 2^{n - 1} \theta_0 \\
&= \frac{1}{4} \sin 4 \theta_0 \dotsm \cos 2^{n - 1} \theta_0 \\
&= \dotsb \\
&= \frac{1}{2^n} \sin 2^n \theta_0.
\end{align*}Hence,
\[|a_0 a_2 \dotsm a_{n - 1}| = \frac{1}{2^n} \cdot \frac{13}{12} |\sin 2^n \theta_0| \le \frac{1}{2^n} \cdot \frac{13}{12}.\]This tells us $c \le \frac{13}{12}.$
We can compute that $a_1 = 2a_0^2 - 1 = 2 \left( \frac{5}{13} \right)^2 - 1 = -\frac{119}{169},$ so
\[\frac{5}{13} \cdot \frac{119}{169} \le \frac{c}{4}.\]Then $c \ge \frac{2380}{2197}.$ The bound
\[\frac{2380}{2197} \le c \le \frac{13}{12}\]tells us that the integer closest to $100c$ is $\boxed{108}.$ |
Solve the following problem: | There exist two distinct unit vectors $\mathbf{v}$ such that the angle between $\mathbf{v}$ and $\begin{pmatrix} 2 \\ 2 \\ -1 \end{pmatrix}$ is $45^\circ,$ and the angle between $\mathbf{v}$ and $\begin{pmatrix} 0 \\ 1 \\ -1 \end{pmatrix}$ is $60^\circ.$ Let $\mathbf{v}_1$ and $\mathbf{v}_2$ be these vectors. Find $\|\mathbf{v}_1 - \mathbf{v}_2\|.$ | Let $\mathbf{v} = \begin{pmatrix} x \\ y \\ z \end{pmatrix}.$ Since $\mathbf{v}$ is a unit vector, $x^2 + y^2 + z^2 = 1.$
Since the angle between $\mathbf{v}$ and $\begin{pmatrix} 2 \\ 2 \\ -1 \end{pmatrix}$ is $45^\circ,$
\[\frac{2x + 2y - z}{\sqrt{2^2 + 2^2 + (-1)^2}} = \cos 45^\circ = \frac{1}{\sqrt{2}}.\]Then $2x + 2y - z = \frac{3}{\sqrt{2}}.$
Since the angle between $\mathbf{v}$ and $\begin{pmatrix} 0 \\ 1 \\ -1 \end{pmatrix}$ is $60^\circ,$
\[\frac{y - z}{\sqrt{0^2 + 1^2 + (-1)^2}} = \cos 60^\circ = \frac{1}{2}.\]Then $y - z = \frac{\sqrt{2}}{2}.$
Hence, $y = z + \frac{\sqrt{2}}{2}.$ From the equation $2x + 2y - z = \frac{3}{\sqrt{2}},$
\begin{align*}
x &= -y + \frac{z}{2} + \frac{3}{2 \sqrt{2}} \\
&= -\left( z + \frac{\sqrt{2}}{2} \right) + \frac{z}{2} + \frac{3}{2 \sqrt{2}} \\
&= -\frac{z}{2} + \frac{1}{2 \sqrt{2}}.
\end{align*}Substituting into the equation $x^2 + y^2 + z^2 = 1,$ we get
\[\left( -\frac{z}{2} + \frac{1}{2 \sqrt{2}} \right)^2 + \left( z + \frac{\sqrt{2}}{2} \right)^2 + z^2 = 1.\]This simplifies to $6z^2 + 2z \sqrt{2} - 1 = 0.$ The solutions are $z = \frac{1}{3 \sqrt{2}}$ and $z = -\frac{1}{\sqrt{2}}.$ The possible vectors $\mathbf{v}$ are then
\[\begin{pmatrix} \frac{1}{3 \sqrt{2}} \\ \frac{4}{3 \sqrt{2}} \\ \frac{1}{3 \sqrt{2}} \end{pmatrix} \quad \text{and} \quad \begin{pmatrix} \frac{1}{\sqrt{2}} \\ 0 \\ -\frac{1}{\sqrt{2}} \end{pmatrix},\]and the distance between these vectors is $\boxed{\sqrt{2}}.$ |
Solve the following problem: | The function
\[f(z) = \frac{(-1 + i \sqrt{3}) z + (-2 \sqrt{3} - 18i)}{2}\]represents a rotation around some complex number $c$. Find $c$. | Since a rotation around $c$ fixes $c$, the complex number $c$ must satisfy $f(c) = c$. In other words,
\[c = \frac{(-1 + i \sqrt{3}) c + (-2 \sqrt{3} - 18i)}{2}\]Then $2c = (-1 + i \sqrt{3}) c + (-2 \sqrt{3} - 18i)$, so
\[(3 - i \sqrt{3}) c = -2 \sqrt{3} - 18i.\]Then
\begin{align*}
c &= \frac{-2 \sqrt{3} - 18i}{3 - i \sqrt{3}} \\
&= \frac{(-2 \sqrt{3} - 18i)(3 + i \sqrt{3})}{(3 - i \sqrt{3})(3 + i \sqrt{3})} \\
&= \frac{-6 \sqrt{3} - 6i - 54i + 18 \sqrt{3}}{12} \\
&= \frac{12 \sqrt{3} - 60i}{12} \\
&= \boxed{\sqrt{3} - 5i}.
\end{align*} |
Solve the following problem: | Let $\mathbf{v} = \begin{pmatrix} 2 \\ 1 \\ -1 \end{pmatrix}$ and $\mathbf{w} = \begin{pmatrix} 1 \\ 0 \\ 3 \end{pmatrix}.$ The columns of a matrix are $\mathbf{u},$ $\mathbf{v},$ and $\mathbf{w},$ where $\mathbf{u}$ is a unit vector. Find the largest possible determinant of the matrix. | The determinant of the matrix is given by the scalar triple product
\[\mathbf{u} \cdot (\mathbf{v} \times \mathbf{w}) = \mathbf{u} \cdot \begin{pmatrix} 3 \\ -7 \\ -1 \end{pmatrix}.\]In turn, this is equal to
\[\mathbf{u} \cdot \begin{pmatrix} 3 \\ -7 \\ -1 \end{pmatrix} = \|\mathbf{u}\| \left\| \begin{pmatrix} 3 \\ -7 \\ -1 \end{pmatrix} \right\| \cos \theta = \sqrt{59} \cos \theta,\]where $\theta$ is the angle between $\mathbf{u}$ and $\begin{pmatrix} 3 \\ -7 \\ -1 \end{pmatrix}.$
Hence, the maximum value of the determinant is $\boxed{\sqrt{59}},$ and this is achieved when $\mathbf{u}$ is the unit vector pointing in the direction of $\begin{pmatrix} 3 \\ -7 \\ -1 \end{pmatrix}.$ |
Solve the following problem: | There exist real numbers $t$ and $s$ such that
\[\begin{pmatrix} 2 \\ 0 \end{pmatrix} + t \begin{pmatrix} 7 \\ -5 \end{pmatrix} = \begin{pmatrix} 1 \\ -1 \end{pmatrix} + s \begin{pmatrix} -2 \\ 3 \end{pmatrix}.\]Enter the ordered pair $(t,s).$ | We see that
\[\begin{pmatrix} 2 \\ 0 \end{pmatrix} + t \begin{pmatrix} 7 \\ -5 \end{pmatrix} = \begin{pmatrix} 2 \\ 0 \end{pmatrix} + \begin{pmatrix} 7t \\ -5t \end{pmatrix} = \begin{pmatrix} 7t + 2 \\ -5t \end{pmatrix}\]and
\[\begin{pmatrix} 1 \\ -1 \end{pmatrix} + s \begin{pmatrix} -2 \\ 3 \end{pmatrix} = \begin{pmatrix} 1 \\ -1 \end{pmatrix} + \begin{pmatrix} -2s \\ 3s \end{pmatrix} = \begin{pmatrix} 1 - 2s \\ -1 + 3s \end{pmatrix}.\]Thus, we want $s$ and $t$ to satisfy the system of equations
\begin{align*}
7t + 2 &= 1 - 2s, \\
-5t &= -1 + 3s.
\end{align*}Solving, we find $(t,s) = \boxed{\left( -\frac{5}{11}, \frac{12}{11} \right)}.$ |
Solve the following problem: | There are infinitely many positive integers $k$ which satisfy the equation
\[\cos^2 (k^2 + 6^2)^\circ = 1.\]Enter the two smallest solutions, separated by commas. | Note that $\cos^2 \theta = 1$ if and only if $\theta$ is a multiple of $180^\circ.$ Thus, we seek $k$ so that
\[k^2 + 36 = 180n\]for some nonnegative integer $n.$ Then
\[k^2 = 180n - 36 = 36 (5n - 1).\]Hence, $k$ must be a multiple of 6. We see that $k = 6$ does not work, but $k = \boxed{12}$ and $k = \boxed{18}$ work, so these are the two smallest solutions. |
Solve the following problem: | In triangle $ABC$, we have $AB=1$ and $AC=2$. Side $\overline{BC}$ and the median from $A$ to $\overline{BC}$ have the same length. What is $BC$? Express your answer in simplest radical form. | Let $M$ be the midpoint of $\overline{BC}$, let $AM = 2a$, and let $\theta =\angle AMB$. Then $\cos \angle AMC = -\cos \theta.$ Applying the Law of Cosines to triangles $ABM$ and $AMC$ yields, respectively, $$
a^2+4a^2-4a^2\cos \theta = 1
$$and $$
a^2+4a^2+4a^2\cos \theta = 4.
$$Adding, we obtain $10a^2 = 5$, so $a=\frac{\sqrt{2}}{2}$ and $BC = 2a = \boxed{\sqrt{2}}$.
[asy]
unitsize(1.5 cm);
pair A,B,C,M;
A=(0,0);
C=(4,0);
B=(1.5,1.5);
M=(2.75,0.75);
draw(A--B--C--cycle,linewidth(0.7));
draw(A--M,linewidth(0.7));
label("$a$",(2.13,1.04),NE);
label("$a$",(3.3,0.38),NE);
label("$2a$",(1.4,0.38),N);
label("2",(2,0),S);
label("1",(A + B)/2,NW);
label("$A$",A,SW);
label("$C$",C,SE);
label("$B$",B,N);
label("$M$",(B+ C)/2,NE);
[/asy] |
Solve the following problem: | Evaluate
\[\begin{vmatrix} \cos \alpha \cos \beta & \cos \alpha \sin \beta & -\sin \alpha \\ -\sin \beta & \cos \beta & 0 \\ \sin \alpha \cos \beta & \sin \alpha \sin \beta & \cos \alpha \end{vmatrix}.\] | We can expand the determinant as follows:
\begin{align*}
\begin{vmatrix} \cos \alpha \cos \beta & \cos \alpha \sin \beta & -\sin \alpha \\ -\sin \beta & \cos \beta & 0 \\ \sin \alpha \cos \beta & \sin \alpha \sin \beta & \cos \alpha \end{vmatrix} &= \cos \alpha \cos \beta \begin{vmatrix} \cos \beta & 0 \\ \sin \alpha \sin \beta & \cos \alpha \end{vmatrix} \\
&\quad - \cos \alpha \sin \beta \begin{vmatrix} -\sin \beta & 0 \\ \sin \alpha \cos \beta & \cos \alpha \end{vmatrix} - \sin \alpha \begin{vmatrix} -\sin \beta & \cos \beta \\ \sin \alpha \cos \beta & \sin \alpha \sin \beta \end{vmatrix} \\
&= \cos \alpha \cos \beta (\cos \beta \cos \alpha) - \cos \alpha \sin \beta (-\sin \beta \cos \alpha) \\
&\quad - \sin \alpha ((-\sin \beta)(\sin \alpha \sin \beta) - (\cos \beta)(\sin \alpha \cos \beta)) \\
&= \cos^2 \alpha \cos^2 \beta + \cos^2 \alpha \sin^2 \beta + \sin^2 \alpha \sin^2 \beta + \sin^2 \alpha \cos^2 \beta \\
&= (\cos^2 \alpha + \sin^2 \alpha)(\cos^2 \beta + \sin^2 \beta) \\
&= \boxed{1}.
\end{align*} |
Solve the following problem: | Evaluate
\[\begin{vmatrix} y + 1 & y & y \\ y & y + 1 & y \\ y & y & y + 1 \end{vmatrix}.\] | We can expand the determinant as follows:
\begin{align*}
\begin{vmatrix} y + 1 & y & y \\ y & y + 1 & y \\ y & y & y + 1 \end{vmatrix} &= (y + 1)\begin{vmatrix} y + 1 & y \\ y & y + 1 \end{vmatrix} - y \begin{vmatrix} y & y \\ y & y + 1 \end{vmatrix} + y \begin{vmatrix} y & y + 1 \\ y & y \end{vmatrix} \\
&= (y + 1)((y + 1)(y + 1) - y^2) - y(y(y + 1) - y^2) + y(y^2 - y(y + 1)) \\
&= \boxed{3y + 1}.
\end{align*} |