problem
stringlengths
22
1.61k
level
stringclasses
5 values
solution
stringlengths
44
6.77k
type
stringclasses
3 values
The projection of $\begin{pmatrix} 0 \\ 3 \\ z \end{pmatrix}$ onto $\begin{pmatrix} -3 \\ 5 \\ -1 \end{pmatrix}$ is \[\frac{12}{35} \begin{pmatrix} -3 \\ 5 \\ -1 \end{pmatrix}.\]Find $z.$
Level 2
The projection of $\begin{pmatrix} 0 \\ 3 \\ z \end{pmatrix}$ onto $\begin{pmatrix} -3 \\ 5 \\ -1 \end{pmatrix}$ is \[\frac{\begin{pmatrix} 0 \\ 3 \\ z \end{pmatrix} \cdot \begin{pmatrix} -3 \\ 5 \\ -1 \end{pmatrix}}{\begin{pmatrix} -3 \\ 5 \\ -1 \end{pmatrix} \cdot \begin{pmatrix} -3 \\ 5 \\ -1 \end{pmatrix}} \begin{pmatrix} -3 \\ 5 \\ -1 \end{pmatrix} = \frac{-z + 15}{35} \begin{pmatrix} 1 \\ -2 \\ 1 \end{pmatrix}.\]Then $-z + 15 = 12,$ so $z = \boxed{3}.$
Precalculus
Find $\sec \frac{5 \pi}{3}.$
Level 1
Converting to degrees, \[\frac{5 \pi}{3} = \frac{180^\circ}{\pi} \cdot \frac{5 \pi}{3} = 300^\circ.\]Then \[\sec 300^\circ = \frac{1}{\cos 300^\circ}.\]Since the cosine function has period $360^\circ,$ \[\cos 300^\circ = \cos (300^\circ - 360^\circ) = \cos (-60^\circ) = \cos 60^\circ = \frac{1}{2},\]so $\sec 300^\circ = \boxed{2}.$
Precalculus
Find the number of solutions to \[\cos 4x + \cos^2 3x + \cos^3 2x + \cos^4 x = 0\]for $-\pi \le x \le \pi.$
Level 5
We can express all the terms in terms of $\cos 2x$: \begin{align*} \cos 4x &= 2 \cos^2 2x - 1, \\ \cos^2 3x &= \frac{\cos 6x + 1}{2} = \frac{4 \cos^3 2x - 3 \cos 2x + 1}{2}, \\ \cos^3 2x &= \cos^3 2x, \\ \cos^4 x &= (\cos^2 x)^2 = \left( \frac{\cos 2x + 1}{2} \right)^2 = \frac{\cos^2 2x + 2 \cos 2x + 1}{4}. \end{align*}Thus, \[2 \cos^2 2x - 1 + \frac{4 \cos^3 2x - 3 \cos 2x + 1}{2} + \cos^3 2x + \frac{\cos^2 2x + 2 \cos 2x + 1}{4} = 0.\]This simplifies to \[12 \cos^3 2x + 9 \cos^2 2x - 4 \cos 2x - 1 = 0.\]We can factor this as \[(\cos 2x + 1)(12 \cos^2 2x - 3 \cos 2x - 1) = 0.\]If $\cos 2x + 1 = 0,$ then $\cos 2x = -1.$ There are 2 solutions, namely $\pm \frac{\pi}{2}.$ Otherwise, \[12 \cos^2 2x - 3 \cos 2x - 1 = 0.\]By the quadratic formula, \[\cos 2x = \frac{3 \pm \sqrt{57}}{12}.\]Both values lie between $-1$ and $1,$ so for each value, there are 4 solutions. This gives us a total of $2 + 4 + 4 = \boxed{10}$ solutions.
Precalculus
Find the range of the function \[f(x) = \left( \arccos \frac{x}{2} \right)^2 + \pi \arcsin \frac{x}{2} - \left( \arcsin \frac{x}{2} \right)^2 + \frac{\pi^2}{12} (x^2 + 6x + 8).\]
Level 5
First, we claim that $\arccos x + \arcsin x = \frac{\pi}{2}$ for all $x \in [-1,1].$ Note that \[\cos \left( \frac{\pi}{2} - \arcsin x \right) = \cos (\arccos x) = x.\]Furthermore, $-\frac{\pi}{2} \le \arcsin x \le \frac{\pi}{2},$ so $0 \le \frac{\pi}{2} - \arcsin x \le \pi.$ Therefore, \[\frac{\pi}{2} - \arcsin x = \arccos x,\]so $\arccos x + \arcsin x = \frac{\pi}{2}.$ In particular, \begin{align*} f(x) &= \left( \arccos \frac{x}{2} \right)^2 + \pi \arcsin \frac{x}{2} - \left( \arcsin \frac{x}{2} \right)^2 + \frac{\pi^2}{12} (x^2 + 6x + 8) \\ &= \left( \arccos \frac{x}{2} \right)^2 - \left( \arcsin \frac{x}{2} \right)^2 + \pi \arcsin \frac{x}{2} + \frac{\pi^2}{12} (x^2 + 6x + 8) \\ &= \left( \arccos \frac{x}{2} + \arcsin \frac{x}{2} \right) \left( \arccos \frac{x}{2} - \arcsin \frac{x}{2} \right) + \pi \arcsin \frac{x}{2} + \frac{\pi^2}{12} (x^2 + 6x + 8) \\ &= \frac{\pi}{2} \arccos \frac{x}{2} - \frac{\pi}{2} \arcsin \frac{x}{2} + \pi \arcsin \frac{x}{2} + \frac{\pi^2}{12} (x^2 + 6x + 8) \\ &= \frac{\pi}{2} \arccos \frac{x}{2} + \frac{\pi}{2} \arcsin \frac{x}{2} + \frac{\pi^2}{12} (x^2 + 6x + 8) \\ &= \frac{\pi^2}{4} + \frac{\pi^2}{12} (x^2 + 6x + 8) \\ &= \frac{\pi^2}{6} + \frac{\pi^2}{12} (x + 3)^2. \end{align*}The function $f(x)$ is defined for $-2 \le x \le 2,$ so the range is $\boxed{\left[ \frac{\pi^2}{4}, \frac{9 \pi^2}{4} \right]}.$
Precalculus
Compute $\tan 75^\circ.$
Level 1
From the angle addition formula, \begin{align*} \tan 75^\circ &= \tan (45^\circ + 30^\circ) \\ &= \frac{\tan 45^\circ + \tan 30^\circ}{1 - \tan 45^\circ \tan 30^\circ} \\ &= \frac{1 + \frac{1}{\sqrt{3}}}{1 - \frac{1}{\sqrt{3}}} \\ &= \frac{\sqrt{3} + 1}{\sqrt{3} - 1} \\ &= \frac{(\sqrt{3} + 1)(\sqrt{3} + 1)}{(\sqrt{3} - 1)(\sqrt{3} + 1)} \\ &= \frac{3 + 2 \sqrt{3} + 1}{2} \\ &= \boxed{2 + \sqrt{3}}. \end{align*}
Precalculus
The projection of $\begin{pmatrix} 0 \\ 1 \\ 4 \end{pmatrix}$ onto a certain vector $\mathbf{w}$ is $\begin{pmatrix} 1 \\ -1/2 \\ 1/2 \end{pmatrix}.$ Find the projection of $\begin{pmatrix} 3 \\ 3 \\ -2 \end{pmatrix}$ onto $\mathbf{w}.$
Level 4
Since the projection of $\begin{pmatrix} 0 \\ 1 \\ 4 \end{pmatrix}$ onto $\mathbf{w}$ is $\begin{pmatrix} 1 \\ -1/2 \\ 1/2 \end{pmatrix},$ $\mathbf{w}$ must be a scalar multiple of $\begin{pmatrix} 1 \\ -1/2 \\ 1/2 \end{pmatrix}.$ Furthermore, the projection of a vector onto $\mathbf{w}$ is the same as the projection of the same vector onto any nonzero scalar multiple of $\mathbf{w}$ (because this projection depends only on the direction of $\mathbf{w}$). Thus, the projection of $\begin{pmatrix} 3 \\ 3 \\ -2 \end{pmatrix}$ onto $\mathbf{w}$ is the same as the projection of $\begin{pmatrix} 3 \\ 3 \\ -2 \end{pmatrix}$ onto $2 \begin{pmatrix} 1 \\ -1/2 \\ 1/2 \end{pmatrix} = \begin{pmatrix} 2 \\ -1 \\ 1 \end{pmatrix},$ which is \[\frac{\begin{pmatrix} 3 \\ 3 \\ -2 \end{pmatrix} \cdot \begin{pmatrix} 2 \\ -1 \\ 1 \end{pmatrix}}{\begin{pmatrix} 2 \\ -1 \\ 1 \end{pmatrix} \cdot \begin{pmatrix} 2 \\ -1 \\ 1 \end{pmatrix}} \begin{pmatrix} 2 \\ -1 \\ 1 \end{pmatrix} = \frac{1}{6} \begin{pmatrix} 2 \\ -1 \\ 1 \end{pmatrix} = \boxed{\begin{pmatrix} 1/3 \\ -1/6 \\ 1/6 \end{pmatrix}}.\]
Precalculus
The equation of the line joining the complex numbers $-2 + 3i$ and $1 + i$ can be expressed in the form \[az + b \overline{z} = 10\]for some complex numbers $a$ and $b$. Find the product $ab$.
Level 5
Solution 1: Let $u = -2 + 3i$ and $v = 1 + i$, and let $z$ lie on the line joining $u$ and $v.$ Then \[\frac{z - u}{v - u}\]is real. But a complex number is real if and only if it is equal to its conjugate, which gives us the equation \[\frac{z - u}{v - u} = \frac{\overline{z} - \overline{u}}{\overline{v} - \overline{u}}.\]Substituting $u = -2 + 3i$ and $v = 1 + i$, we get \[\frac{z + 2 - 3i}{3 - 2i} = \frac{\overline{z} + 2 + 3i}{3 + 2i}.\]Cross-multiplying, we get \[(3 + 2i)(z + 2 - 3i) = (3 - 2i)(\overline{z} + 2 + 3i).\]This simplifies to \[(3 + 2i) z + (-3 + 2i) = 10i.\]Multiplying both sides by $-i$, we get \[(2 - 3i) z + (2 + 3i) \overline{z} = 10.\]Hence, $a = 2 - 3i$ and $b = 2 + 3i$, so $ab = (2 - 3i)(2 + 3i) = \boxed{13}$. Solution 2: Substituting $z = -2 + 3i$ and $z = 1 + i$ in the given equation, we obtain the system of equations \begin{align*} (-2 + 3i) a + (-2 - 3i) b &= 10, \\ (1 + i) a + (1 - i) b &= 10. \end{align*}Subtracting these equations, we get \[(3 - 2i) a + (3 + 2i) b = 0,\]so \[b = -\frac{3 - 2i}{3 + 2i} a.\]Substituting into the first equation, we get \[(-2 + 3i) a - (-2 - 3i) \cdot \frac{3 - 2i}{3 + 2i} a = 10.\]Solving for $a$, we find $a = 2 - 3i.$ Then $b = 2 + 3i$, so $ab = (2 - 3i)(2 + 3i) = \boxed{13}$.
Precalculus
Simplify $(1 + \tan 20^\circ)(1 + \tan 25^\circ).$
Level 2
From the angle addition formula, \[1 = \tan 45^\circ = \tan (20^\circ + 25^\circ) = \frac{\tan 20^\circ + \tan 25^\circ}{1 - \tan 20^\circ \tan 25^\circ},\]so $\tan 20^\circ + \tan 25^\circ = 1 - \tan 20^\circ \tan 25^\circ.$ Then \[(1 + \tan 20^\circ)(1 + \tan 25^\circ) = 1 + \tan 20^\circ + \tan 25^\circ + \tan 20^\circ \tan 25^\circ = \boxed{2}.\]
Precalculus
In right triangle $BCD$ with $\angle D = 90^\circ$, we have $BC = 9$ and $BD = 4$. Find $\sin B$.
Level 1
The triangle is shown below: [asy] pair B,C,D; C = (0,0); D = (sqrt(65),0); B = (sqrt(65),4); draw(B--C--D--B); draw(rightanglemark(B,D,C,13)); label("$C$",C,SW); label("$B$",B,NE); label("$D$",D,SE); label("$9$",(B+C)/2,NW); label("$4$",(B+D)/2,E); [/asy] The Pythagorean Theorem gives us $CD = \sqrt{BC^2 - BD^2} = \sqrt{81 - 16} = \sqrt{65}$, so $\sin B = \frac{CD}{BC} = \boxed{\frac{\sqrt{65}}{9}}$.
Precalculus
If \[\mathbf{A} = \begin{pmatrix} 1 & 3 \\ 2 & 1 \end{pmatrix},\]then compute $\det (\mathbf{A}^2 - 2 \mathbf{A}).$
Level 3
One way to compute $\det (\mathbf{A}^2 - 2 \mathbf{A})$ is to compute the matrix $\mathbf{A}^2 - 2 \mathbf{A},$ and then take its determinant. Another way is to write $\mathbf{A^2} - 2 \mathbf{A} = \mathbf{A} (\mathbf{A} - 2 \mathbf{I}).$ Then \begin{align*} \det (\mathbf{A^2} - 2 \mathbf{A}) &= \det (\mathbf{A} (\mathbf{A} - 2 \mathbf{I})) \\ &= \det (\mathbf{A}) \det (\mathbf{A} - 2 \mathbf{I}) \\ &= \det \begin{pmatrix} 1 & 3 \\ 2 & 1 \\ \end{pmatrix} \det \begin{pmatrix} -1 & 3 \\ 2 & -1 \end{pmatrix} \\ &= (1 - 6)(1 - 6) = \boxed{25}. \end{align*}
Precalculus
Compute \[ \begin{vmatrix} \cos 1 & \cos 2 & \cos 3 \\ \cos 4 & \cos 5 & \cos 6 \\ \cos 7 & \cos 8 & \cos 9 \end{vmatrix} .\]All the angles are in radians.
Level 2
The entries in each row are $\cos n,$ $\cos (n + 1),$ and $\cos (n + 2)$ for some integer $n.$ From the angle addition formula, \[\cos n + \cos (n + 2) = 2 \cos (n + 1) \cos 1.\]Then \[\cos (n + 2) = 2 \cos 1 \cos (n + 1) - \cos n.\]Thus, we can obtain the third column of the matrix by multiplying the second column by $2 \cos 1,$ and subtracting the first column. In other words, the third column is a linear combination of the first two columns. Therefore, the determinant is $\boxed{0}.$
Precalculus
A projection takes $\begin{pmatrix} 4 \\ 4 \end{pmatrix}$ to $\begin{pmatrix} \frac{60}{13} \\ \frac{12}{13} \end{pmatrix}.$ Which vector does the projection take $\begin{pmatrix} -2 \\ 2 \end{pmatrix}$ to?
Level 5
Since the projection of $\begin{pmatrix} 4 \\ 4 \end{pmatrix}$ is $\begin{pmatrix} \frac{60}{13} \\ \frac{12}{13} \end{pmatrix},$ the vector being projected onto is a scalar multiple of $\begin{pmatrix} \frac{60}{13} \\ \frac{12}{13} \end{pmatrix}.$ Thus, we can assume that the vector being projected onto is $\begin{pmatrix} 5 \\ 1 \end{pmatrix}.$ [asy] usepackage("amsmath"); unitsize(1 cm); draw((-3,0)--(5,0)); draw((0,-1)--(0,4)); draw((0,0)--(4,4),Arrow(6)); draw((0,0)--(60/13,12/13),Arrow(6)); draw((4,4)--(60/13,12/13),dashed,Arrow(6)); draw((0,0)--(-2,2),Arrow(6)); draw((0,0)--(-20/13,-4/13),Arrow(6)); draw((-2,2)--(-20/13,-4/13),dashed,Arrow(6)); label("$\begin{pmatrix} 4 \\ 4 \end{pmatrix}$", (4,4), NE); label("$\begin{pmatrix} \frac{60}{13} \\ \frac{12}{13} \end{pmatrix}$", (60/13,12/13), E); label("$\begin{pmatrix} -2 \\ 2 \end{pmatrix}$", (-2,2), NW); [/asy] Thus, the projection of $\begin{pmatrix} -2 \\ 2 \end{pmatrix}$ is \[\operatorname{proj}_{\begin{pmatrix} 5 \\ 1 \end{pmatrix}} \begin{pmatrix} -2 \\ 2 \end{pmatrix} = \frac{\begin{pmatrix} -2 \\ 2 \end{pmatrix} \cdot \begin{pmatrix} 5 \\ 1 \end{pmatrix}}{\begin{pmatrix} 5 \\ 1 \end{pmatrix} \cdot \begin{pmatrix} 5 \\ 1 \end{pmatrix}} \begin{pmatrix} 5 \\ 1 \end{pmatrix} = \frac{-8}{26} \begin{pmatrix} 5 \\ 1 \end{pmatrix} = \boxed{\begin{pmatrix} -20/13 \\ -4/13 \end{pmatrix}}.\]
Precalculus
Let \[\mathbf{A} = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & -1 \\ 0 & 1 & 0 \end{pmatrix}.\]Compute $\mathbf{A}^{95}.$
Level 3
Note that \[\mathbf{A}^2 = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & -1 \\ 0 & 1 & 0 \end{pmatrix} \begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & -1 \\ 0 & 1 & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & -1 \end{pmatrix}.\]Then \[\mathbf{A}^4 = \mathbf{A}^2 \mathbf{A}^2 = \begin{pmatrix} 0 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & -1 \end{pmatrix} \begin{pmatrix} 0 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & -1 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix}.\]Since $\mathbf{A}^4$ is a diagonal matrix, any power of $\mathbf{A}^4$ is \begin{align*} (\mathbf{A}^4)^{k} = \begin{pmatrix} 0^k & 0 & 0 \\ 0 & 1^k & 0 \\ 0 & 0 & 1^k \end{pmatrix} = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} = \mathbf{A}^4. \end{align*}Hence, \begin{align*} \mathbf{A}^{95} &= (\mathbf{A}^4)^{23} \mathbf{A}^3 = \mathbf{A}^4 \mathbf{A} \mathbf{A}^2 \\ &= \begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & -1 \\ 0 & 1 & 0 \end{pmatrix} \begin{pmatrix} 0 & 0 & 0 \\ 0 & -1 & 0 \\ 0 & 0 & -1 \end{pmatrix} \\ &= \begin{pmatrix} 0 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & -1 & 0 \end{pmatrix} \\ &= \boxed{\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 1 \\ 0 & -1 & 0 \end{pmatrix}} \end{align*}
Precalculus
In equilateral triangle $ABC,$ let points $D$ and $E$ trisect $\overline{BC}$. Find $\sin \angle DAE.$
Level 3
Without loss of generality, let the triangle sides have length 6. [asy] pair A = (1, sqrt(3)), B = (0, 0), C= (2, 0); pair M = (1, 0); pair D = (2/3, 0), E = (4/3, 0); draw(A--B--C--cycle); label("$A$", A, N); label("$B$", B, SW); label("$C$", C, SE); label("$D$", D, S); label("$E$", E, S); label("$M$", M, S); draw(A--D); draw(A--E); draw(A--M);[/asy] Let $M$ be the midpoint of $\overline{DE}$. Then triangle $ACM$ is a $30^\circ$-$60^\circ$-$90^\circ$ triangle with $MC = 3$, $AC = 6,$ and $AM = 3\sqrt{3}.$ Since triangle $AME$ is right, we use the Pythagorean Theorem to find $AE = 2 \sqrt{7}$. The area of triangle $DAE$ is \[\frac{1}{2} \cdot DE \cdot AM = \frac{1}{2} \cdot 2 \cdot 3 \sqrt{3} = 3 \sqrt{3}.\]The area of triangle $DAE$ is also \[\frac{1}{2} \cdot AD \cdot AE \cdot \sin \angle DAE = 14 \sin \angle DAE.\]Therefore, $\sin \angle DAE = \boxed{\frac{3 \sqrt{3}}{14}}.$
Precalculus
Suppose that the angles of triangle $ABC$ satisfy \[\cos 3A + \cos 3B + \cos 3C = 1.\]Two sides of the triangle have lengths 10 and 13. Find the maximum length of the third side.
Level 4
The condition $\cos 3A + \cos 3B + \cos 3C = 1$ implies \begin{align*} 0 &= 1 - \cos 3A - (\cos 3B + \cos 3C) \\ &= 2 \sin^2 \frac{3A}{2} - 2 \cos \frac{3B + 3C}{2} \cos \frac{3B - 3C}{2} \\ &= 2 \sin^2 \frac{3A}{2} - 2 \cos \left( 270^\circ - \frac{3A}{2} \right) \cos \frac{3B - 3C}{2} \\ &= 2 \sin^2 \frac{3A}{2} + 2 \sin \frac{3A}{2} \cos \frac{3B - 3C}{2} \\ &= 2 \sin \frac{3A}{2} \left( \sin \frac{3A}{2} + \cos \frac{3B - 3C}{2} \right) \\ &= 2 \sin \frac{3A}{2} \left( \sin \left( 270^\circ - \frac{3B + 3C}{2} \right) + \cos \frac{3B - 3C}{2} \right) \\ &= 2 \sin \frac{3A}{2} \left( \cos \frac{3B - 3C}{2} - \cos \frac{3B + 3C}{2} \right) \\ &= 2 \sin \frac{3A}{2} \cdot \left( -2 \sin \frac{3B}{2} \sin \left( -\frac{3C}{2} \right) \right) \\ &= 4 \sin \frac{3A}{2} \sin \frac{3B}{2} \sin \frac{3C}{2}. \end{align*}Therefore, one of $\frac{3A}{2},$ $\frac{3B}{2},$ $\frac{3C}{2}$ must be $180^\circ,$ which means one of $A,$ $B,$ $C$ must be $120^\circ.$ Then the maximum length is obtained when the $120^\circ$ is between the sides of length 10 and 13. By the Law of Cosines, this length is \[\sqrt{10^2 + 10 \cdot 13 + 13^2} = \boxed{\sqrt{399}}.\]
Precalculus
If \[\begin{pmatrix} 1 & 2 & a \\ 0 & 1 & 4 \\ 0 & 0 & 1 \end{pmatrix}^n = \begin{pmatrix} 1 & 18 & 2007 \\ 0 & 1 & 36 \\ 0 & 0 & 1 \end{pmatrix},\]then find $a + n.$
Level 3
Let $\mathbf{A} = \begin{pmatrix} 1 & 2 & a \\ 0 & 1 & 4 \\ 0 & 0 & 1 \end{pmatrix}.$ Then we can write $\mathbf{A} = \mathbf{I} + \mathbf{B},$ where \[\mathbf{B} = \begin{pmatrix} 0 & 2 & a \\ 0 & 0 & 4 \\ 0 & 0 & 0 \end{pmatrix}.\]Note that \[\mathbf{B}^2 = \begin{pmatrix} 0 & 2 & a \\ 0 & 0 & 4 \\ 0 & 0 & 0 \end{pmatrix} \begin{pmatrix} 0 & 2 & a \\ 0 & 0 & 4 \\ 0 & 0 & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 8 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix}\]and \[\mathbf{B}^3 = \mathbf{B} \mathbf{B}^2 = \begin{pmatrix} 0 & 2 & a \\ 0 & 0 & 4 \\ 0 & 0 & 0 \end{pmatrix} \begin{pmatrix} 0 & 0 & 8 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} = \mathbf{0}.\]Then by the Binomial Theorem, \begin{align*} \mathbf{A}^n &= (\mathbf{I} + \mathbf{B})^n \\ &= \mathbf{I}^n + \binom{n}{1} \mathbf{I}^{n - 1} \mathbf{B} + \binom{n}{2} \mathbf{I}^{n - 2} \mathbf{B}^2 + \binom{n}{3} \mathbf{I}^{n - 3} \mathbf{B}^3 + \dots + \mathbf{B}^n \\ &= \mathbf{I} + n \mathbf{B} + \frac{n(n - 1)}{2} \mathbf{B}^2 \\ &= \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} + n \begin{pmatrix} 0 & 2 & a \\ 0 & 0 & 4 \\ 0 & 0 & 0 \end{pmatrix} + \frac{n(n - 1)}{2} \begin{pmatrix} 0 & 0 & 8 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} \\ &= \begin{pmatrix} 1 & 2n & an + 4n(n - 1) \\ 0 & 1 & 4n \\ 0 & 0 & 1 \end{pmatrix}. \end{align*}Hence, $2n = 18,$ $an + 4n(n - 1) = 2007,$ and $4n = 36.$ Solving, we find $a = 191$ and $n = 9,$ so $a + n = \boxed{200}.$ Note: We can expand $(\mathbf{I} + \mathbf{B})^{2016}$ using the Binomial Theorem because the matrices $\mathbf{B}$ and $\mathbf{I}$ commute, i.e. $\mathbf{B} \mathbf{I} = \mathbf{I} \mathbf{B}.$ In general, expanding a power of $\mathbf{A} + \mathbf{B}$ is difficult. For example, \[(\mathbf{A} + \mathbf{B})^2 = \mathbf{A}^2 + \mathbf{A} \mathbf{B} + \mathbf{B} \mathbf{A} + \mathbf{B}^2,\]and without knowing more about $\mathbf{A}$ and $\mathbf{B},$ this cannot be simplified.
Precalculus
Compute the least positive value of $t$ such that \[\arcsin (\sin \alpha), \ \arcsin (\sin 2 \alpha), \ \arcsin (\sin 7 \alpha), \ \arcsin (\sin t \alpha)\]is a geometric progression for some $\alpha$ with $0 < \alpha < \frac{\pi}{2}.$
Level 5
Let $r$ be the common ratio. Since $0 < \alpha < \frac{\pi}{2},$ both $\arcsin (\sin \alpha)$ and $\arcsin (\sin 2 \alpha)$ are positive, so $r$ is positive. The positive portions of the graphs of $y = \arcsin (\sin x),$ $y = \arcsin (2 \sin x),$ and $y = \arcsin (7 \sin x)$ are shown below. (Note that each graph is piece-wise linear.) [asy] unitsize(4 cm); draw((0,0)--(pi/2,pi/2),red); draw((0,0)--(pi/4,pi/2)--(pi/2,0),green); draw((0,0)--(pi/14,pi/2)--(pi/7,0),blue); draw((2*pi/7,0)--(5/14*pi,pi/2)--(3*pi/7,0),blue); draw((0,0)--(pi/2,0)); draw((0,0)--(0,pi/2)); draw((1.8,1.2)--(2.2,1.2),red); draw((1.8,1.0)--(2.2,1.0),green); draw((1.8,0.8)--(2.2,0.8),blue); label("$0$", (0,0), S); label("$\frac{\pi}{2}$", (pi/2,0), S); label("$\frac{\pi}{7}$", (pi/7,0), S); label("$\frac{2 \pi}{7}$", (2*pi/7,0), S); label("$\frac{3 \pi}{7}$", (3*pi/7,0), S); label("$0$", (0,0), W); label("$\frac{\pi}{2}$", (0,pi/2), W); label("$y = \arcsin (\sin x)$", (2.2,1.2), E); label("$y = \arcsin (\sin 2x)$", (2.2,1.0), E); label("$y = \arcsin (\sin 7x)$", (2.2,0.8), E); [/asy] Note that $\arcsin (\sin x) = x.$ If $0 < x \le \frac{\pi}{4},$ then \[\arcsin (\sin 2x) = 2x,\]and if $\frac{\pi}{4} \le x < \frac{\pi}{2},$ then \[\arcsin (\sin 2x) = \pi - 2x.\]If $0 < x \le \frac{\pi}{14},$ then \[\arcsin (\sin 7x) = 7x.\]The first three terms become $x,$ $2x,$ $7x,$ which cannot form a geometric progression. If $\frac{\pi}{14} \le x \le \frac{\pi}{7},$ then \[\arcsin (\sin 7x) = \pi - 7x.\]The first three terms become $x,$ $2x,$ $\pi - 7x.$ If these form a geometric progression, then \[(2x)^2 = x(\pi - 7x).\]Solving, we find $x = \frac{\pi}{11}.$ The common ratio $r$ is then 2, and the fourth term is \[2^3 \cdot \frac{\pi}{11} = \frac{8 \pi}{11}.\]But this is greater than $\frac{\pi}{2},$ so this case is not possible. If $\frac{2 \pi}{7} \le x \le \frac{5 \pi}{14},$ then \[\arcsin (\sin 7x) = 7 \left( x - \frac{2 \pi}{7} \right) = 7x - 2 \pi.\]The first three terms become $x,$ $\pi - 2x,$ $7x - 2 \pi.$ If these form a geometric progression, then \[(\pi - 2x)^2 = x(7x - 2 \pi).\]This simplifies to $3x^2 + 2 \pi x - \pi^2 = 0,$ which factors as $(3x - \pi)(x + \pi) = 0.$ Hence, $x = \frac{\pi}{3}.$ The common ratio $r$ is then 1, and the smallest $t$ such that $\arcsin \left( \sin \left( t \cdot \frac{\pi}{3} \right) \right) = \frac{\pi}{3}$ is 1. Finally, if $\frac{5 \pi}{14} \le x \le \frac{3 \pi}{7},$ then \[\arcsin (\sin 7x) = -7 \left( x - \frac{3 \pi}{7} \right) = -7x + 3 \pi.\]The first three terms become $x,$ $\pi - 2x,$ $-7x + 3 \pi.$ If these form a geometric progression, then \[(\pi - 2x)^2 = x (-7x + 3 \pi).\]This simplifies to $11x^2 - 7 \pi x + \pi^2 = 0.$ By the quadratic formula, \[x = \frac{(7 \pm \sqrt{5}) \pi}{22}.\]For $x = \frac{(7 - \sqrt{5}) \pi}{22},$ both the second and third term are greater than $\frac{\pi}{2}.$ For $x = \frac{(7 + \sqrt{5}) \pi}{22},$ the common ratio $r$ is \[\frac{\pi - 2x}{x} = \frac{\pi}{x} - 2 = \frac{3 - \sqrt{5}}{2},\]so the fourth term is \[x \cdot r^3 = x \cdot \left( \frac{3 - \sqrt{5}}{2} \right)^3 = (9 - 4 \sqrt{5}) x.\]The smallest $t$ such that $\arcsin (\sin tx) = (9 - 4 \sqrt{5}) x$ is $t = \boxed{9 - 4 \sqrt{5}},$ and this is the smallest possible value of $t.$
Precalculus
Determine the number of solutions to \[2\sin^3 x - 5 \sin^2 x + 2 \sin x = 0\]in the range $0 \le x \le 2 \pi.$
Level 3
The given equation factors as \[\sin x (2 \sin x - 1)(\sin x - 2) = 0,\]so $\sin x = 0,$ $\sin x = \frac{1}{2},$ or $\sin x = 2.$ The solutions to $\sin x = 0$ are $x = 0,$ $x = \pi,$ and $x = 2 \pi.$ The solutions to $\sin x = \frac{1}{2}$ are $x = \frac{\pi}{6}$ and $x = \frac{5 \pi}{6}.$ The equation $\sin x = 2$ has no solutions. Thus, the solutions are $0,$ $\pi,$ $2 \pi,$ $\frac{\pi}{6},$ and $\frac{5 \pi}{6},$ for a total of $\boxed{5}$ solutions.
Precalculus
Solve $\arcsin x + \arcsin (1 - x) = \arccos x.$
Level 4
Taking the sine of both sides, we get \[\sin (\arcsin x + \arcsin (1 - x)) = \sin (\arccos x).\]Then from the angle addition formula, \[\sin (\arcsin x) \cos (\arcsin (1 - x)) + \cos (\arcsin x) \sin (\arcsin (1 - x)) = \sin (\arccos x),\]or \[x \sqrt{1 - (1 - x)^2} + \sqrt{1 - x^2} (1 - x) = \sqrt{1 - x^2}.\]Then \[x \sqrt{1 - (1 - x)^2} = x \sqrt{1 - x^2}.\]Squaring both sides, we get \[x^2 (1 - (1 - x)^2) = x^2 (1 - x^2).\]This simplifies to $2x^3 - x^2 = x^2 (2x - 1) = 0.$ Thus, $x = 0$ or $x = \frac{1}{2}.$ Checking, we find both solutions work, so the solutions are $\boxed{0, \frac{1}{2}}.$
Precalculus
Find the number of positive solutions to \[\sin (\arccos( \tan (\arcsin x) ) ) ) = x.\]
Level 2
Let $\theta = \arcsin x,$ so $0 < \theta < \frac{\pi}{2}$ and $\sin \theta = x.$ Then \[\cos \theta = \sqrt{1 - x^2},\]so \[\tan \theta = \frac{\sin \theta}{\cos \theta} = \frac{x}{\sqrt{1 - x^2}}.\]Thus, \[\sin (\arccos (\tan (\arcsin x) ) ) ) = \sin \left( \arccos \frac{x}{\sqrt{1 - x^2}} \right).\]Let $\psi = \arccos \frac{x}{\sqrt{1 - x^2}},$ so $0 < \psi < \frac{\pi}{2}$ and $\cos \psi = \frac{x}{\sqrt{1 - x^2}}.$ Then \[\sin \psi = \sqrt{1 - \cos^2 \psi} = \sqrt{1 - \frac{x^2}{1 - x^2}} = \sqrt{\frac{1 - 2x^2}{1 - x^2}} = x.\]Squaring both sides, we get \[\frac{1 - 2x^2}{1 - x^2} = x^2.\]Then $1 - 2x^2 = x^2 - x^4,$ so $x^4 - 3x^2 + 1 = 0.$ By the quadratic formula, \[x^2 = \frac{3 \pm \sqrt{5}}{2}.\]The positive solutions are then $\sqrt{\frac{3 + \sqrt{5}}{2}}$ and $\sqrt{\frac{3 - \sqrt{5}}{2}}.$ However, $\arcsin x$ is defined only for $-1 \le x \le 1,$ so there is only $\boxed{1}$ positive solution, namely \[x = \sqrt{\frac{3 - \sqrt{5}}{2}}.\]
Precalculus
Consider the line parameterized by \begin{align*} x&= 4t + 2,\\ y& = t+2. \end{align*}Find a vector $\begin{pmatrix}a \\ b \end{pmatrix}$ pointing from the origin to this line that is parallel to $\begin{pmatrix}2 \\1 \end{pmatrix}$.
Level 3
Here is a plot of the line: [asy] size(200); import TrigMacros; //Gives the maximum line that fits in the box. path maxLine(pair A, pair B, real xmin, real xmax, real ymin, real ymax) { pair[] endpoints = intersectionpoints(A+10(B-A) -- A-10(B-A), (xmin, ymin)--(xmin, ymax)--(xmax, ymax)--(xmax, ymin)--cycle); if (endpoints.length >= 2) return endpoints[0]--endpoints[1]; else return nullpath; } rr_cartesian_axes(-3, 9, -3, 6,complexplane=false,usegrid=true); pair A = (2, 2); pair B = (6,3); draw(maxLine(A, B, -3, 9, -3, 6)); [/asy] We need a vector pointing from the origin to the line in the direction of $\begin{pmatrix}2\\1\end{pmatrix}$. That means that the tail of the vector will be at the origin, and the head of the vector will be somewhere on this blue line: [asy] size(200); import TrigMacros; //Gives the maximum line that fits in the box. path maxLine(pair A, pair B, real xmin, real xmax, real ymin, real ymax) { pair[] endpoints = intersectionpoints(A+10(B-A) -- A-10(B-A), (xmin, ymin)--(xmin, ymax)--(xmax, ymax)--(xmax, ymin)--cycle); if (endpoints.length >= 2) return endpoints[0]--endpoints[1]; else return nullpath; } rr_cartesian_axes(-3,9,-3,6,complexplane=false,usegrid=true); pair A = (2, 2); pair B = (6,3); draw(maxLine(A, B, -3, 9, -3, 6)); draw(maxLine((0,0), B, -3, 9, -3, 6), blue); [/asy] Since the head of the vector needs to be on the black line as well, it must be the intersection point of the two lines. The lines intersect when \[\begin{pmatrix} x \\ y \end{pmatrix} = k \begin{pmatrix} 2 \\ 1 \end{pmatrix} = \begin{pmatrix} 2k \\ k \end{pmatrix}\]for some real number $k.$ In other words, $4t + 2 = 2k$ and $t + 2 = k.$ Solving, we find $t = 1$ and $k = 3.$ Therefore, the lines intersect at $\boxed{\begin{pmatrix}6\\3\end{pmatrix}}.$ [asy] size(200); import TrigMacros; //Gives the maximum line that fits in the box. path maxLine(pair A, pair B, real xmin, real xmax, real ymin, real ymax) { pair[] endpoints = intersectionpoints(A+10(B-A) -- A-10(B-A), (xmin, ymin)--(xmin, ymax)--(xmax, ymax)--(xmax, ymin)--cycle); if (endpoints.length >= 2) return endpoints[0]--endpoints[1]; else return nullpath; } rr_cartesian_axes(-3,9,-3,6,complexplane=false,usegrid=true); pair A = (2, 2); pair B = (6,3); draw(maxLine(A, B, -3, 9, -3, 6)); draw((0,0)--B, red, Arrow(size = 0.3cm)); [/asy]
Precalculus
Let $A,$ $B,$ $C$ be the angles of a triangle. Evaluate \[\begin{vmatrix} \sin^2 A & \cot A & 1 \\ \sin^2 B & \cot B & 1 \\ \sin^2 C & \cot C & 1 \end{vmatrix}.\]
Level 2
We can expand the determinant as follows: \begin{align*} \begin{vmatrix} \sin^2 A & \cot A & 1 \\ \sin^2 B & \cot B & 1 \\ \sin^2 C & \cot C & 1 \end{vmatrix} &= \sin^2 A \begin{vmatrix} \cot B & 1 \\ \cot C & 1 \end{vmatrix} - \cot A \begin{vmatrix} \sin^2 B & 1 \\ \sin^2 C & 1 \end{vmatrix} + \begin{vmatrix} \sin^2 B & \cot B \\ \sin^2 C & \cot C \end{vmatrix} \\ &= \sin^2 A (\cot B - \cot C) - \cot A (\sin^2 B - \sin^2 C) + (\sin^2 B \cot C - \cot B \sin^2 C) \\ &= \sin^2 A (\cot B - \cot C) + \sin^2 B (\cot C - \cot A) + \sin^2 C (\cot A - \cot B). \end{align*}In general, \begin{align*} \cot x - \cot y &= \frac{\cos x}{\sin x} - \frac{\cos y}{\sin y} \\ &= \frac{\cos x \sin y - \sin x \cos y}{\sin x \sin y} \\ &= \frac{\sin (y - x)}{\sin x \sin y}. \end{align*}Then the determinant is equal to \begin{align*} &\sin^2 A (\cot B - \cot C) + \sin^2 B (\cot C - \cot A) + \sin^2 C (\cot A - \cot B) \\ &= \sin^2 A \cdot \frac{\sin (C - B)}{\sin B \sin C} + \sin^2 B \cdot \frac{\sin (A - C)}{\sin A \sin C} + \sin^2 C \cdot \frac{\sin (B - A)}{\sin A \sin B} \\ &= \frac{\sin^3 A \sin (C - B) + \sin^3 B \sin (A - C) + \sin^3 C \sin (B - A)}{\sin A \sin B \sin C}. \end{align*}Now, \begin{align*} \sin^3 A &= \sin A \sin^2 A \\ &= \sin (180^\circ - B - C) \sin^2 A \\ &= \sin (B + C) \sin^2 A, \end{align*}so $\sin^3 A \sin (C - B) = \sin^2 A \sin (C - B) \sin (B + C).$ Then \begin{align*} \sin (C - B) \sin (B + C) &= (\sin C \cos B - \cos C \sin B)(\sin B \cos C + \cos B \sin C) \\ &= \cos B \sin B \cos C \sin C + \cos^2 B \sin^2 C - \sin^2 B \cos^2 C - \cos B \sin B \cos C \sin C \\ &= \cos^2 B \sin^2 C - \sin^2 B \cos^2 C \\ &= (1 - \sin^2 B) \sin^2 C - \sin^2 B (1 - \sin^2 C) \\ &= \sin^2 C - \sin^2 B \sin^2 C - \sin^2 B + \sin^2 B \sin^2 C \\ &= \sin^2 C - \sin^2 B, \end{align*}so \[\sin^3 A \sin (C - B) = \sin^2 A (\sin^2 C - \sin^2 B).\]Similarly, \begin{align*} \sin^3 B \sin (A - C) &= \sin^2 B (\sin^2 A - \sin^2 C), \\ \sin^3 C \sin (B - A) &= \sin^2 C (\sin^2 B - \sin^2 A). \end{align*}Therefore, \begin{align*} &\sin^3 A \sin (C - B) + \sin^3 B \sin (A - C) + \sin^3 C \sin (B - A) \\ &= \sin^2 A (\sin^2 C - \sin^2 B) + \sin^2 B (\sin^2 A - \sin^2 C) + \sin^2 C (\sin^2 B - \sin^2 A) \\ &= 0, \end{align*}which means the determinant is equal to $\boxed{0}.$
Precalculus
Given vectors $\mathbf{a}$ and $\mathbf{b},$ let $\mathbf{p}$ be a vector such that \[\|\mathbf{p} - \mathbf{b}\| = 2 \|\mathbf{p} - \mathbf{a}\|.\]Among all such vectors $\mathbf{p},$ there exists constants $t$ and $u$ such that $\mathbf{p}$ is at a fixed distance from $t \mathbf{a} + u \mathbf{b}.$ Enter the ordered pair $(t,u).$
Level 5
From $\|\mathbf{p} - \mathbf{b}\| = 2 \|\mathbf{p} - \mathbf{a}\|,$ \[\|\mathbf{p} - \mathbf{b}\|^2 = 4 \|\mathbf{p} - \mathbf{a}\|^2.\]This expands as \[\|\mathbf{p}\|^2 - 2 \mathbf{b} \cdot \mathbf{p} + \|\mathbf{b}\|^2 = 4 \|\mathbf{p}\|^2 - 8 \mathbf{a} \cdot \mathbf{p} + 4 \|\mathbf{a}\|^2,\]which simplifies to $3 \|\mathbf{p}\|^2 = 8 \mathbf{a} \cdot \mathbf{p} - 2 \mathbf{b} \cdot \mathbf{p} - 4 \|\mathbf{a}\|^2 + \|\mathbf{b}\|^2.$ Hence, \[\|\mathbf{p}\|^2 = \frac{8}{3} \mathbf{a} \cdot \mathbf{p} - \frac{2}{3} \mathbf{b} \cdot \mathbf{p} - \frac{4}{3} \|\mathbf{a}\|^2 + \frac{1}{3} \|\mathbf{b}\|^2.\]We want $\|\mathbf{p} - (t \mathbf{a} + u \mathbf{b})\|$ to be constant, which means $\|\mathbf{p} - t \mathbf{a} - u \mathbf{b}\|^2$ is constant. This expands as \begin{align*} \|\mathbf{p} - t \mathbf{a} - u \mathbf{b}\|^2 &= \|\mathbf{p}\|^2 + t^2 \|\mathbf{a}\|^2 + u^2 \|\mathbf{b}\|^2 - 2t \mathbf{a} \cdot \mathbf{p} - 2u \mathbf{b} \cdot \mathbf{p} + 2tu \mathbf{a} \cdot \mathbf{b} \\ &= \frac{8}{3} \mathbf{a} \cdot \mathbf{p} - \frac{2}{3} \mathbf{b} \cdot \mathbf{p} - \frac{4}{3} \|\mathbf{a}\|^2 + \frac{1}{3} \|\mathbf{b}\|^2 \\ &\quad + t^2 \|\mathbf{a}\|^2 + u^2 \|\mathbf{b}\|^2 - 2t \mathbf{a} \cdot \mathbf{p} - 2u \mathbf{b} \cdot \mathbf{p} + 2tu \mathbf{a} \cdot \mathbf{b} \\ &= \left( \frac{8}{3} - 2t \right) \mathbf{a} \cdot \mathbf{p} - \left( \frac{2}{3} + 2u \right) \mathbf{b} \cdot \mathbf{p} \\ &\quad + \left( t^2 - \frac{4}{3} \right) \|\mathbf{a}\|^2 + \left( u^2 + \frac{1}{3} \right) \|\mathbf{b}\|^2 + 2tu \mathbf{a} \cdot \mathbf{b}. \end{align*}The only non-constant terms in this expression are $\left( \frac{8}{3} - 2t \right) \mathbf{a} \cdot \mathbf{p}$ and $\left( \frac{2}{3} + 2u \right) \mathbf{b} \cdot \mathbf{p}.$ We can them make them equal 0 by setting $2t = \frac{8}{3}$ and $2u = -\frac{2}{3}.$ These lead to $t = \frac{4}{3}$ and $u = -\frac{1}{3},$ so $(t,u) = \boxed{\left( \frac{4}{3}, -\frac{1}{3} \right)}.$
Precalculus
Solve $\arcsin x + \arcsin (1 - x) = \arccos x.$
Level 4
Taking the sine of both sides, we get \[\sin (\arcsin x + \arcsin (1 - x)) = \sin (\arccos x).\]Then from the angle addition formula, \[\sin (\arcsin x) \cos (\arcsin (1 - x)) + \cos (\arcsin x) \sin (\arcsin (1 - x)) = \sin (\arccos x),\]or \[x \sqrt{1 - (1 - x)^2} + \sqrt{1 - x^2} (1 - x) = \sqrt{1 - x^2}.\]Then \[x \sqrt{1 - (1 - x)^2} = x \sqrt{1 - x^2}.\]Squaring both sides, we get \[x^2 (1 - (1 - x)^2) = x^2 (1 - x^2).\]This simplifies to $2x^3 - x^2 = x^2 (2x - 1) = 0.$ Thus, $x = 0$ or $x = \frac{1}{2}.$ Checking, we find both solutions work, so the solutions are $\boxed{0, \frac{1}{2}}.$
Precalculus
The point $(1,1,1)$ is rotated $180^\circ$ about the $y$-axis, then reflected through the $yz$-plane, reflected through the $xz$-plane, rotated $180^\circ$ about the $y$-axis, and reflected through the $xz$-plane. Find the coordinates of the point now.
Level 3
After $(1,1,1)$ is rotated $180^\circ$ about the $y$-axis, it goes to $(-1,1,-1).$ After $(-1,1,-1)$ is reflected through the $yz$-plane, it goes to $(1,1,-1).$ After $(1,1,-1)$ is reflected through the $xz$-plane, it goes to $(1,-1,-1).$ After $(1,-1,-1)$ is rotated $180^\circ$ about the $y$-axis, it goes to $(-1,-1,1).$ Finally, after $(-1,-1,1)$ is reflected through the $xz$-plane, it goes to $\boxed{(-1,1,1)}.$ [asy] import three; size(250); currentprojection = perspective(6,3,2); triple I = (1,0,0), J = (0,1,0), K = (0,0,1), O = (0,0,0); triple P = (1,1,1), Q = (-1,1,-1), R = (1,1,-1), S = (1,-1,-1), T = (-1,-1,1), U = (-1,1,1); draw(O--2*I, Arrow3(6)); draw((-2)*J--2*J, Arrow3(6)); draw(O--2*K, Arrow3(6)); draw(O--P); draw(O--Q); draw(O--R); draw(O--S); draw(O--T); draw(O--U); draw(P--Q--R--S--T--U,dashed); label("$x$", 2.2*I); label("$y$", 2.2*J); label("$z$", 2.2*K); dot("$(1,1,1)$", P, N); dot("$(-1,1,-1)$", Q, SE); dot("$(1,1,-1)$", R, dir(270)); dot("$(1,-1,-1)$", S, W); dot("$(-1,-1,1)$", T, NW); dot("$(-1,1,1)$", U, NE); [/asy]
Precalculus
The set of points with spherical coordinates of the form \[(\rho, \theta, \phi) = \left( 1, \theta, \frac{\pi}{6} \right)\]forms a circle. Find the radius of this circle.
Level 4
If $P = \left( 1, \theta, \frac{\pi}{6} \right),$ and $P$ has rectangular coordinates $(x,y,z),$ then \[\sqrt{x^2 + y^2} = \sqrt{\rho^2 \sin^2 \phi \cos^2 \theta + \rho^2 \sin^2 \phi \sin^2 \theta} = |\rho \sin \phi| = \frac{1}{2}.\]Hence, the radius of the circle is $\boxed{\frac{1}{2}}.$ [asy] import three; size(180); currentprojection = perspective(6,3,2); triple sphericaltorectangular (real rho, real theta, real phi) { return ((rho*Sin(phi)*Cos(theta),rho*Sin(phi)*Sin(theta),rho*Cos(phi))); } real t; triple O, P; path3 circ; O = (0,0,0); P = sphericaltorectangular(1,60,30); circ = sphericaltorectangular(1,0,30); for (t = 0; t <= 360; t = t + 5) { circ = circ--sphericaltorectangular(1,t,30); } draw(circ,red); draw((0,0,0)--(1,0,0),Arrow3(6)); draw((0,0,0)--(0,1,0),Arrow3(6)); draw((0,0,0)--(0,0,1),Arrow3(6)); draw(surface(O--P--(P.x,P.y,0)--cycle),gray(0.7),nolight); draw(O--P--(P.x,P.y,0)--cycle); draw((0,0,0.5)..sphericaltorectangular(0.5,60,15)..sphericaltorectangular(0.5,60,30),Arrow3(6)); draw((0.4,0,0)..sphericaltorectangular(0.4,30,90)..sphericaltorectangular(0.4,60,90),Arrow3(6)); label("$x$", (1.1,0,0)); label("$y$", (0,1.1,0)); label("$z$", (0,0,1.1)); label("$\phi$", (0.2,0.2,0.6)); label("$\theta$", (0.6,0.3,0)); label("$P$", P, N); [/asy]
Precalculus
Let $\mathbf{A}$ be a matrix such that \[\mathbf{A} \begin{pmatrix} 5 \\ -2 \end{pmatrix} = \begin{pmatrix} -15 \\ 6 \end{pmatrix}.\]Find $\mathbf{A}^5 \begin{pmatrix} 5 \\ -2 \end{pmatrix}.$
Level 4
Note that \[\mathbf{A} \begin{pmatrix} 5 \\ -2 \end{pmatrix} = \begin{pmatrix} -15 \\ 6 \end{pmatrix} = -3 \begin{pmatrix} 5 \\ -2 \end{pmatrix}.\]Then \begin{align*} \mathbf{A}^2 \begin{pmatrix} 5 \\ -2 \end{pmatrix} &= \mathbf{A} \mathbf{A} \begin{pmatrix} 5 \\ -2 \end{pmatrix} \\ &= \mathbf{A} \left( -3 \begin{pmatrix} 5 \\ -2 \end{pmatrix} \right) \\ &= -3 \mathbf{A} \begin{pmatrix} 5 \\ -2 \end{pmatrix} \\ &= -3 \left( -3 \begin{pmatrix} 5 \\ -2 \end{pmatrix} \right) \\ &= (-3)^2 \begin{pmatrix} 5 \\ -2 \end{pmatrix}. \end{align*}In the same way, we can compute that \begin{align*} \mathbf{A}^3 \begin{pmatrix} 5 \\ -2 \end{pmatrix} &= (-3)^3 \begin{pmatrix} 5 \\ -2 \end{pmatrix}, \\ \mathbf{A}^4 \begin{pmatrix} 5 \\ -2 \end{pmatrix} &= (-3)^4 \begin{pmatrix} 5 \\ -2 \end{pmatrix}, \\ \mathbf{A}^5 \begin{pmatrix} 5 \\ -2 \end{pmatrix} &= (-3)^5 \begin{pmatrix} 5 \\ -2 \end{pmatrix} = \boxed{\begin{pmatrix} -1215 \\ 486 \end{pmatrix}}. \end{align*}
Precalculus
Evaluate \[\begin{vmatrix} 1 & x & y \\ 1 & x + y & y \\ 1 & x & x + y \end{vmatrix}.\]
Level 4
We can expand the determinant as follows: \begin{align*} \begin{vmatrix} 1 & x & y \\ 1 & x + y & y \\ 1 & x & x + y \end{vmatrix} &= \begin{vmatrix} x + y & y \\ x & x + y \end{vmatrix} - x \begin{vmatrix} 1 & y \\ 1 & x + y \end{vmatrix} + y \begin{vmatrix} 1 & x + y \\ 1 & x \end{vmatrix} \\ &= ((x + y)^2 - xy) - x((x + y) - y) + y(x - (x + y)) \\ &= \boxed{xy}. \end{align*}
Precalculus
Let $\mathbf{a},$ $\mathbf{b},$ $\mathbf{c}$ be unit vectors such that \[\mathbf{a} \times (\mathbf{b} \times \mathbf{c}) = \frac{\mathbf{b} + \mathbf{c}}{\sqrt{2}},\]and such that $\{\mathbf{a}, \mathbf{b}, \mathbf{c}\}$ is a linearly independent set. Find the angle between $\mathbf{a}$ and $\mathbf{b},$ in degrees.
Level 4
By the vector triple product identity, \[\mathbf{a} \times (\mathbf{b} \times \mathbf{c}) = (\mathbf{a} \cdot \mathbf{c}) \mathbf{b} - (\mathbf{a} \cdot \mathbf{b}) \mathbf{c},\]so \[(\mathbf{a} \cdot \mathbf{c}) \mathbf{b} - (\mathbf{a} \cdot \mathbf{b}) \mathbf{c} = \frac{\mathbf{b} + \mathbf{c}}{\sqrt{2}}.\]Hence, \[\left( \mathbf{a} \cdot \mathbf{c} - \frac{1}{\sqrt{2}} \right) \mathbf{b} = \left( \mathbf{a} \cdot \mathbf{b} + \frac{1}{\sqrt{2}} \right) \mathbf{c}.\]If neither side represents the zero vector, then this means one of $\mathbf{b},$ $\mathbf{c}$ is a scalar multiple of the other, which means that the set $\{\mathbf{a}, \mathbf{b}, \mathbf{c}\}$ is linearly dependent. Therefore, both sides must be equal to the zero vector. Furthermore, we must have \[\mathbf{a} \cdot \mathbf{b} = -\frac{1}{\sqrt{2}}.\]If $\theta$ is the angle between $\mathbf{a}$ and $\mathbf{b},$ then \[\cos \theta = \frac{\mathbf{a} \cdot \mathbf{b}}{\|\mathbf{a}\| \|\mathbf{b}\|} = -\frac{1}{\sqrt{2}}.\]Hence, $\theta = \boxed{135^\circ}.$
Precalculus
Points $A$, $B$, $C$, $D$, and $E$ are located in 3-dimensional space with $AB= BC= CD= DE= EA= 2$ and $\angle ABC = \angle CDE = \angle DEA = 90^\circ$. The plane of triangle $ABC$ is parallel to $\overline{DE}$. What is the area of triangle $BDE$?
Level 4
In coordinate space, let $D = (0,0,1)$ and $E = (0,0,-1).$ Since $CD = EA = 2,$ $C$ lies on a circle centered at $D$ with radius 2, and $A$ lies on a circle centered at $E$ with radius 2. Furthermore, $\angle CDE = \angle DEA = 90^\circ,$ so these circles lies in planes that are perpendicular to $\overline{DE}.$ [asy] import three; size(200); currentprojection = perspective(4,3,2); triple A, B, Bp, C, D, E; real t; A = (sqrt(3),1,-1); B = (sqrt(3),-1,-1); Bp = (sqrt(3),1,1); C = (sqrt(3),-1,1); D = (0,0,1); E = (0,0,-1); path3 circ = (2,0,-1); for (t = 0; t <= 2*pi + 0.1; t = t + 0.1) { circ = circ--((0,0,-1) + (2*cos(t),2*sin(t),0)); } draw(circ); path3 circ = (2,0,1); for (t = 0; t <= 2*pi + 0.1; t = t + 0.1) { circ = circ--((0,0,1) + (2*cos(t),2*sin(t),0)); } draw(circ); draw(C--D--E--A); dot("$A$", A, S); dot("$C$", C, W); dot("$D$", D, NE); dot("$E$", E, dir(0)); [/asy] We can rotate the diagram so that $D$ and $E$ have the same $x$-coordinates. Let $A = (x,y_1,-1)$ and $C = (x,y_2,1).$ Since $EA = CD = 2,$ \[x^2 + y_1^2 = x^2 + y_2^2 = 4.\]Then $y_1^2 = y_2^2,$ so $y_1 = \pm y_2.$ Furthermore, since $AB = BC = 2$ and $\angle ABC = 90^\circ,$ $AC = 2 \sqrt{2}.$ Hence, \[(y_1 - y_2)^2 + 4 = 8,\]so $(y_1 - y_2)^2 = 4.$ We cannot have $y_1 = y_2,$ so $y_1 = -y_2.$ Then $4y_1^2 = 4,$ so $y_1^2 = 1.$ Without loss of generality, we can assume that $y_1 = 1,$ so $y_2 = -1.$ Also, $x^2 = 3.$ Without loss of generality, we can assume that $x = \sqrt{3},$ so $A = (\sqrt{3},1,-1)$ and $C = (\sqrt{3},-1,1).$ Finally, we are told that the plane of triangle $ABC$ is parallel to $\overline{DE}.$ Since both $A$ and $C$ have $x$-coordinates of $\sqrt{3},$ the equation of this plane is $x = \sqrt{3}.$ The only points $B$ in this plane that satisfy $AB = BC = 2$ are the vertices $B_1$ and $B_2$ of the rectangle shown below, where $B_1 = (\sqrt{3},-1,-1)$ and $B_2 = (\sqrt{3},1,1).$ [asy] import three; size(200); currentprojection = perspective(4,3,2); triple A, B, Bp, C, D, E; real t; A = (sqrt(3),1,-1); B = (sqrt(3),-1,-1); Bp = (sqrt(3),1,1); C = (sqrt(3),-1,1); D = (0,0,1); E = (0,0,-1); path3 circ = (2,0,-1); for (t = 0; t <= 2*pi + 0.1; t = t + 0.1) { circ = circ--((0,0,-1) + (2*cos(t),2*sin(t),0)); } draw(circ); draw(surface(A--B--C--Bp--cycle),paleyellow,nolight); path3 circ = (2,0,1); for (t = 0; t <= 2*pi + 0.1; t = t + 0.1) { circ = circ--((0,0,1) + (2*cos(t),2*sin(t),0)); } draw(circ); draw(C--D--E--A); draw(A--B--C--Bp--cycle); dot("$A$", A, S); dot("$B_1$", B, W); dot("$B_2$", Bp, N); dot("$C$", C, W); dot("$D$", D, NE); dot("$E$", E, dir(0)); [/asy] In either case, triangle $BDE$ is a right triangle where the legs are both 2, so its area is $\frac{1}{2} \cdot 2 \cdot 2 = \boxed{2}.$
Precalculus
Given that $\log_{10}\sin x + \log_{10}\cos x= -1$ and that $\log_{10}(\sin x+\cos x)=\frac{1}{2}(\log_{10}n-1)$, find $n$.
Level 4
Use logarithm properties to obtain $\log_{10} (\sin x \cos x)= -1$, and then $\sin x \cos x = \frac{1}{10}$. Note that \[(\sin x+\cos x)^2 = \sin^2 x +\cos^2 x+2\sin x\cos x=1+{2\over10}={12\over10}.\]Thus \[2\log_{10} (\sin x+\cos x)= \log_{10} [(\sin x + \cos x)^2] = \log_{10} {12\over10}=\log_{10} 12-1,\]so \[\log_{10} (\sin x+\cos x)={1\over2}(\log_{10} 12-1),\]and $n=\boxed{12}$.
Precalculus
Find the distance between the points $(2,1,-4)$ and $(5,8,-3).$
Level 2
The distance between $(2,1,-4)$ and $(5,8,-3)$ is \[\sqrt{(2 - 5)^2 + (1 - 8)^2 + (-4 + 3)^2} = \boxed{\sqrt{59}}.\]
Precalculus
For real numbers $t,$ the point of intersection of the lines $tx - 2y - 3t = 0$ and $x - 2ty + 3 = 0$ is plotted. All the plotted points lie on what kind of curve? (A) Line (B) Circle (C) Parabola (D) Ellipse (E) Hyperbola Enter the letter of the correct option.
Level 4
Solving for $x$ and $y$ in the equations $tx - 2y - 3t = 0$ and $x - 2ty + 3 = 0,$ we find \[x = \frac{3t^2 + 3}{t^2 - 1}, \quad y = \frac{3t}{t^2 - 1}.\]Then \[x^2 = \frac{(3t^2 + 3)^2}{(t^2 - 1)^2} = \frac{9t^4 + 18t^2 + 9}{t^4 - 2t^2 + 1},\]and \[y^2 = \frac{9t^2}{(t^2 - 1)^2} = \frac{9t^2}{t^4 - 2t^2 + 1}.\]Thus, \begin{align*} x^2 - 4y^2 &= \frac{9t^2 + 18t^2 + 9}{t^4 - 2t^2 + 1} - \frac{36t^2}{t^4 - 2t^2 + 1} \\ &= \frac{9t^4 - 18t^2 + 9}{t^4 - 2t^2 + 1} \\ &= 9, \end{align*}so \[\frac{x^2}{9} - \frac{y^2}{\frac{9}{4}} = 1.\]Thus, all the plotted points lie on a hyperbola. The answer is $\boxed{\text{(E)}}.$
Precalculus
Given that $\cos x - 4 \sin x = 1,$ find all possible values of $\sin x + 4 \cos x.$
Level 4
From the equation $\cos x - 4 \sin x = 1,$ \[\cos x - 1 = 4 \sin x.\]Squaring both sides, we get \[\cos^2 x - 2 \cos x + 1 = 16 \sin^2 x = 16 - 16 \cos^2 x.\]This simplifies to $17 \cos^2 x - 2 \cos x - 15 = 0,$ which factors as \[(\cos x - 1)(17 \cos x + 15) = 0.\]Hence, $\cos x = 1$ or $\cos x = -\frac{15}{17}.$ If $\cos x = 1,$ then $\sin x = \frac{\cos x - 1}{4} = 0,$ so \[\sin x + 4 \cos x = 0 + 4(1) = \boxed{4}.\]If $\cos x = -\frac{15}{17},$ then $\sin x = \frac{\cos x - 1}{4} = -\frac{8}{17},$ so \[\sin x + 4 \cos x = -\frac{8}{17} + 4 \left( -\frac{15}{17} \right) = \boxed{-4}.\]
Precalculus
Let $\mathcal{C}$ be the hyperbola $y^2 - x^2 = 1$. Given a point $P_0$ on the $x$-axis, we construct a sequence of points $(P_n)$ on the $x$-axis in the following manner: let $\ell_n$ be the line with slope 1 passing passing through $P_n$, then $P_{n+1}$ is the orthogonal projection of the point of intersection of $\ell_n$ and $\mathcal C$ onto the $x$-axis. (If $P_n = 0$, then the sequence simply terminates.) Find the number of starting positions $P_0$ on the $x$-axis such that $P_0 = P_{2008}$. Your answer should use exponential notation, in simplest form.
Level 5
Let $P_n = (x_n, 0)$. Then the $\ell_n$ meet $\mathcal{C}$ at $(x_{n+1}, x_{n+1} - x_n)$. Since this point lies on the hyperbola, we have $(x_{n+1} - x_n)^2 - x_{n+1}^2 = 1$. Rearranging this equation gives \[ x_{n+1} = \frac{x_n^2 - 1}{2x_n}. \]Choose a $\theta_0 \in (0, \pi)$ with $\cot\theta_0 = x_0$, and define $\theta_n = 2^n \theta_0$. Using the double-angle formula, we have \[ \cot \theta_{n+1} = \cot( 2 \theta_n ) = \frac{\cot^2 \theta_n - 1}{2 \cot \theta_n}. \]It follows by induction that $x_n = \cot \theta_n$. Then, $P_0 = P_{2008}$ corresponds to $\cot \theta_0 = \cot ( 2^{2008} \theta_0 )$ (assuming that $P_0$ is never at the origin, or equivalently, $2^{n} \theta$ is never an integer multiple of $\pi$). So, we need to find the number of $\theta_0 \in (0, \pi)$ with the property that $2^{2008} \theta_0 - \theta_0 = k \pi$ for some integer $k$. We have $\theta_0 = \frac{k \pi}{2^{2008} - 1}$, so $k$ can be any integer between $1$ and $2^{2008}-2$ inclusive (and note that since the denominator is odd, the sequence never terminates). It follows that the number of starting positions is $\boxed{2^{2008} -2}$.
Precalculus
Find the range of the function $f(x) = \arcsin x + \arccos x + \arctan x.$ All functions are in radians.
Level 4
Note that $f(x)$ is defined only for $-1 \le x \le 1.$ First, we claim that $\arccos x + \arcsin x = \frac{\pi}{2}$ for all $x \in [-1,1].$ Note that \[\cos \left( \frac{\pi}{2} - \arcsin x \right) = \cos (\arccos x) = x.\]Furthermore, $-\frac{\pi}{2} \le \arcsin x \le \frac{\pi}{2},$ so $0 \le \frac{\pi}{2} - \arcsin x \le \pi.$ Therefore, \[\frac{\pi}{2} - \arcsin x = \arccos x,\]so $\arccos x + \arcsin x = \frac{\pi}{2}.$ The range of $\arctan x$ on $[-1,1]$ is $\left[ -\frac{\pi}{4}, \frac{\pi}{4} \right],$ so the range of $f(x)$ is $\boxed{\left[ \frac{\pi}{4}, \frac{3 \pi}{4} \right]}.$
Precalculus
For real numbers $t,$ the point of intersection of the lines $tx - 2y - 3t = 0$ and $x - 2ty + 3 = 0$ is plotted. All the plotted points lie on what kind of curve? (A) Line (B) Circle (C) Parabola (D) Ellipse (E) Hyperbola Enter the letter of the correct option.
Level 4
Solving for $x$ and $y$ in the equations $tx - 2y - 3t = 0$ and $x - 2ty + 3 = 0,$ we find \[x = \frac{3t^2 + 3}{t^2 - 1}, \quad y = \frac{3t}{t^2 - 1}.\]Then \[x^2 = \frac{(3t^2 + 3)^2}{(t^2 - 1)^2} = \frac{9t^4 + 18t^2 + 9}{t^4 - 2t^2 + 1},\]and \[y^2 = \frac{9t^2}{(t^2 - 1)^2} = \frac{9t^2}{t^4 - 2t^2 + 1}.\]Thus, \begin{align*} x^2 - 4y^2 &= \frac{9t^2 + 18t^2 + 9}{t^4 - 2t^2 + 1} - \frac{36t^2}{t^4 - 2t^2 + 1} \\ &= \frac{9t^4 - 18t^2 + 9}{t^4 - 2t^2 + 1} \\ &= 9, \end{align*}so \[\frac{x^2}{9} - \frac{y^2}{\frac{9}{4}} = 1.\]Thus, all the plotted points lie on a hyperbola. The answer is $\boxed{\text{(E)}}.$
Precalculus
Compute $\cos \left( \arcsin \frac{2}{3} \right).$
Level 1
Consider a right triangle where the opposite side is 2 and the hypotenuse is 3. [asy] unitsize (1 cm); draw((0,0)--(sqrt(5),0)--(sqrt(5),2)--cycle); label("$\sqrt{5}$", (sqrt(5)/2,0), S); label("$3$", (sqrt(5)/2,1), NW); label("$2$", (sqrt(5),1), E); label("$\theta$", (0.7,0.3)); [/asy] Then $\sin \theta = \frac{2}{3},$ so $\theta = \arcsin \frac{2}{3}.$ By Pythagoras, the adjacent side is $\sqrt{5},$ so $\cos \theta = \boxed{\frac{\sqrt{5}}{3}}.$
Precalculus
Find the inverse of the matrix \[\begin{pmatrix} 9 & 18 \\ -6 & -12 \end{pmatrix}.\]If the inverse does not exist, then enter the zero matrix.
Level 1
Since the determinant is $(9)(-12) - (18)(-6) = 0,$ the inverse does not exist, so the answer is the zero matrix $\boxed{\begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}}.$
Precalculus
The projection of $\begin{pmatrix} 0 \\ 3 \end{pmatrix}$ onto a certain vector $\mathbf{w}$ is $\begin{pmatrix} -9/10 \\ 3/10 \end{pmatrix}.$ Find the projection of $\begin{pmatrix} 4 \\ 1 \end{pmatrix}$ onto $\mathbf{w}.$
Level 4
Since the projection of $\begin{pmatrix} 0 \\ 3 \end{pmatrix}$ onto $\mathbf{w}$ is $\begin{pmatrix} -9/10 \\ 3/10 \end{pmatrix},$ $\mathbf{w}$ must be a scalar multiple of $\begin{pmatrix} -9/10 \\ 3/10 \end{pmatrix}.$ Furthermore, the projection of a vector onto $\mathbf{w}$ is the same as the projection of the same vector onto any nonzero scalar multiple of $\mathbf{w}$ (because this projection depends only on the direction of $\mathbf{w}$). Thus, the projection of $\begin{pmatrix} 4 \\ 1 \end{pmatrix}$ onto $\mathbf{w}$ is the same as the projection of $\begin{pmatrix} 4 \\ 1 \end{pmatrix}$ onto $-\frac{10}{3} \begin{pmatrix} -9/10 \\ 3/10 \end{pmatrix} = \begin{pmatrix} 3 \\ -1 \end{pmatrix},$ which is \[\frac{\begin{pmatrix} 4 \\ 1 \end{pmatrix} \cdot \begin{pmatrix} 3 \\ -1 \end{pmatrix}}{\begin{pmatrix} 3 \\ -1 \end{pmatrix} \cdot \begin{pmatrix} 3 \\ -1 \end{pmatrix}} \begin{pmatrix} 3 \\ -1 \end{pmatrix} = \frac{11}{10} \begin{pmatrix} 3 \\ -1 \end{pmatrix} = \boxed{\begin{pmatrix} 33/10 \\ -11/10 \end{pmatrix}}.\]
Precalculus
What is the matrix $\mathbf{M}$ that performs the transformation which sends square $ABCD$ to square $A'B'C'D'$? (In particular, $A$ goes to $A',$ and so on.) [asy] size(200); import graph; pair Z=(0,0), A=(2,3), B=(-3,2), C=(-4,1), D=(-1,-4); Label f; f.p=fontsize(6); xaxis(-1.5,1.5,Ticks(f, 1.0)); yaxis(-0.5,2.5,Ticks(f, 1.0)); draw((0,0)--(1,0)--(1,1)--(0,1)--(0,0),red); dot((0,0)); label("$A=A'$", (0,0), SE); dot((1,0)); label("$D$", (1,0), NE); dot((1,1)); label("$C=D'$", (1,1), E); dot((0,1)); label("$B$", (0,1), NE); draw((0,0)--(1,1)--(0,2)--(-1,1)--(0,0), blue); dot((0,2)); label("$C'$", (0,2), NE); dot((-1,1)); label("$B'$", (-1,1), W); [/asy]
Level 3
Note that we're rotating $ABCD$ by $45^\circ$ and scaling by $\sqrt 2$ so that $$ \mathbf M = \sqrt 2\begin{pmatrix} \cos 45^\circ & -\sin 45^\circ \\ \sin 45^\circ & \phantom -\cos 45^\circ \end{pmatrix} = \boxed{\begin{pmatrix} 1 & -1 \\ 1 & \phantom -1 \end{pmatrix}}. $$Alternatively, we note that $\mathbf M \begin{pmatrix} 1 \\ 0 \end{pmatrix} = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$ and $\mathbf M \begin{pmatrix} 0 \\ 1 \end{pmatrix} = \begin{pmatrix} -1 \\ 1 \end{pmatrix}.$ Since $\mathbf{M} \begin{pmatrix} 1 \\ 0 \end{pmatrix}$ and $\mathbf{M} \begin{pmatrix} 0 \\ 1 \end{pmatrix}$ determine the first and second columns of $\mathbf M,$ respectively, we know this is our answer.
Precalculus
Find all $a,$ $0^\circ < a < 360^\circ,$ such that $\cos a,$ $\cos 2a,$ and $\cos 3a$ form an arithmetic sequence, in that order. Enter the solutions, separated by commas, in degrees.
Level 4
We want $a$ to satisfy \[\cos a + \cos 3a = 2 \cos 2a.\]By the double-angle and triple-angle formula, this becomes \[\cos a + (4 \cos^3 a - 3 \cos a) = 2 \cdot (2 \cos^2 a - 1).\]This simplifies to \[4 \cos^3 a - 4 \cos^2 a - 2 \cos a + 2 = 0,\]which factors as $2 (\cos a - 1)(2 \cos^2 a - 1) = 0.$ Hence, $\cos a = 1,$ $\cos a = \frac{1}{\sqrt{2}},$ or $\cos a = -\frac{1}{\sqrt{2}}.$ The equation $\cos a = 1$ has no solutions for $0^\circ < a < 360^\circ.$ The equation $\cos a = \frac{1}{\sqrt{2}}$ has solutions $45^\circ$ and $315^\circ.$ The equation $\cos a = -\frac{1}{\sqrt{2}}$ has solutions $135^\circ$ and $225^\circ.$ Thus, the solutions are $\boxed{45^\circ, 135^\circ, 225^\circ, 315^\circ}.$
Precalculus
Let $\mathbf{R}$ be the matrix for reflecting over the vector $\begin{pmatrix} 3 \\ 1 \end{pmatrix}.$ Find $\mathbf{R}^2.$
Level 4
Let $\mathbf{v}$ be an arbitrary vector, and let $\mathbf{r}$ be the reflection of $\mathbf{v}$ over $\begin{pmatrix} 3 \\ 1 \end{pmatrix},$ so $\mathbf{r} = \mathbf{R} \mathbf{v}.$ [asy] unitsize(1 cm); pair D, P, R, V; D = (3,1); V = (1.5,2); R = reflect((0,0),D)*(V); P = (V + R)/2; draw((-1,0)--(4,0)); draw((0,-1)--(0,3)); draw((0,0)--D,Arrow(6)); draw((0,0)--V,red,Arrow(6)); draw((0,0)--R,blue,Arrow(6)); draw(V--R,dashed); label("$\mathbf{v}$", V, NE); label("$\mathbf{r}$", R, SE); [/asy] Then the reflection of $\mathbf{r}$ is $\mathbf{v},$ so $\mathbf{R} \mathbf{r} = \mathbf{v}.$ Thus, \[\mathbf{v} = \mathbf{R} \mathbf{r} = \mathbf{R}^2 \mathbf{v}.\]Since this holds for all vectors $\mathbf{v},$ $\mathbf{R}^2 = \mathbf{I} = \boxed{\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}}.$
Precalculus
In coordinate space, $A = (1,2,3),$ $B = (5,3,1),$ and $C = (3,4,5).$ Find the orthocenter of triangle $ABC.$
Level 4
Let $D,$ $E,$ $F$ be the feet of the altitudes from $A,$ $B,$ and $C,$ respectively. Let $H$ be the orthocenter. [asy] unitsize (0.6 cm); pair A, B, C, D, E, F, H; A = (2,5); B = (0,0); C = (8,0); D = (A + reflect(B,C)*(A))/2; E = (B + reflect(C,A)*(B))/2; F = (C + reflect(A,B)*(C))/2; H = extension(A,D,B,E); draw(A--B--C--cycle); draw(A--D); draw(B--E); draw(C--F); label("$A$", A, N); label("$B$", B, SW); label("$C$", C, SE); label("$D$", D, S); label("$E$", E, NE); label("$F$", F, NW); label("$H$", H, SE, UnFill); [/asy] Note that \[\overrightarrow{BA} = \begin{pmatrix} 1 - 5 \\ 2 - 3 \\ 3 - 1 \end{pmatrix} = \begin{pmatrix} -4 \\ -1 \\ 2 \end{pmatrix} \quad \text{and} \quad \overrightarrow{BC} = \begin{pmatrix} 3 - 5 \\ 4 - 3 \\ 5 - 1 \end{pmatrix} = \begin{pmatrix} -2 \\ 1 \\ 4 \end{pmatrix}.\]Then the projection of $\overrightarrow{BA}$ onto $\overrightarrow{BC}$ is \[\overrightarrow{BD} = \frac{\overrightarrow{AB} \cdot \overrightarrow{BC}}{\overrightarrow{BC} \cdot \overrightarrow{BC}} \overrightarrow{BC} = \frac{\begin{pmatrix} -4 \\ -1 \\ 2 \end{pmatrix} \cdot \begin{pmatrix} -2 \\ 1 \\ 4 \end{pmatrix}}{\left\| \begin{pmatrix} -4 \\ -1 \\ 2 \end{pmatrix} \right\| \left\| \begin{pmatrix} -2 \\ 1 \\ 4 \end{pmatrix} \right\|} \begin{pmatrix} -2 \\ 1 \\ 4 \end{pmatrix} = \frac{15}{21} \begin{pmatrix} -2 \\ 1 \\ 4 \end{pmatrix} = \begin{pmatrix} -10/7 \\ 5/7 \\ 20/7 \end{pmatrix}.\]It follows that \[\overrightarrow{AD} = \overrightarrow{AB} + \overrightarrow{BD} = \begin{pmatrix} 4 \\ 1 \\ -2 \end{pmatrix} + \begin{pmatrix} -10/7 \\ 5/7 \\ 20/7 \end{pmatrix} = \begin{pmatrix} 18/7 \\ 12/7 \\ 6/7 \end{pmatrix}.\]Note that this is proportional to $\begin{pmatrix} 3 \\ 2 \\ 1 \end{pmatrix}.$ So, line $AD$ can be parameterized by \[\begin{pmatrix} 1 + 3t \\ 2 + 2t \\ 3 + t \end{pmatrix}.\]Setting this to $H,$ we find \[\overrightarrow{CH} = \begin{pmatrix} 1 + 3t \\ 2 + 2t \\ 3 + t \end{pmatrix} - \begin{pmatrix} 3 \\ 4 \\ 5 \end{pmatrix} = \begin{pmatrix} -2 + 3t \\ -2 + 2t \\ -2 + t \end{pmatrix}.\]This vector will be orthogonal to $\overrightarrow{BA},$ so \[\begin{pmatrix} -2 + 3t \\ -2 + 2t \\ -2 + t \end{pmatrix} \cdot \begin{pmatrix} -4 \\ -1 \\ 2 \end{pmatrix} = 0.\]Then $(-2 + 3t)(-4) + (-2 + 2t)(-1) + (-2 + t)(2) = 0.$ Solving, we find $t = \frac{1}{2}.$ Therefore, $H = \boxed{\left( \frac{5}{2}, 3, \frac{7}{2} \right)}.$
Precalculus
The dilation, centered at $-1 + 4i,$ with scale factor $-2,$ takes $2i$ to which complex number?
Level 3
Let $z$ be the image of $2i$ under the dilation. [asy] unitsize(0.5 cm); pair C, P, Q; C = (-1,4); P = (0,2); Q = (-3,8); draw((-5,0)--(5,0)); draw((0,-1)--(0,10)); draw(P--Q,dashed); dot("$-1 + 4i$", C, SW); dot("$2i$", P, E); dot("$-3 + 8i$", Q, NW); [/asy] Since the dilation is centered at $-1 + 4i,$ with scale factor $-2,$ \[z - (-1 + 4i) = (-2)(2i - (-1 + 4i)).\]Solving, we find $z = \boxed{-3 + 8i}.$
Precalculus
Find the projection of $\begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix}$ onto the plane $3x - y + 4z = 0.$
Level 4
Let $P$ be the plane $3x - y + 4z = 0.$ We can take $\mathbf{n} = \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix}$ as the normal vector of plane $P.$ Let $\mathbf{v} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix},$ and let $\mathbf{p}$ be its projection onto plane $P.$ Note that $\mathbf{v} - \mathbf{p}$ is parallel to $\mathbf{n}.$ [asy] import three; size(160); currentprojection = perspective(6,3,2); triple I = (1,0,0), J = (0,1,0), K = (0,0,1); triple O = (0,-0.5,0), V = (0,1.5,1), P = (0,1.5,0); draw(surface((2*I + 2*J)--(2*I - 2*J)--(-2*I - 2*J)--(-2*I + 2*J)--cycle),paleyellow,nolight); draw((2*I + 2*J)--(2*I - 2*J)--(-2*I - 2*J)--(-2*I + 2*J)--cycle); draw((P + 0.1*(O - P))--(P + 0.1*(O - P) + 0.2*(V - P))--(P + 0.2*(V - P))); draw(O--P,green,Arrow3(6)); draw(O--V,red,Arrow3(6)); draw(P--V,blue,Arrow3(6)); draw((1,-0.8,0)--(1,-0.8,0.2)--(1,-1,0.2)); draw((1,-1,0)--(1,-1,2),magenta,Arrow3(6)); label("$\mathbf{v}$", V, N, fontsize(10)); label("$\mathbf{p}$", P, S, fontsize(10)); label("$\mathbf{n}$", (1,-1,1), dir(180), fontsize(10)); label("$\mathbf{v} - \mathbf{p}$", (V + P)/2, E, fontsize(10)); [/asy] Thus, $\mathbf{v} - \mathbf{p}$ is the projection of $\mathbf{v}$ onto $\mathbf{n}.$ Hence, \[\mathbf{v} - \mathbf{p} = \frac{\begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} \cdot \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix}}{\begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix} \cdot \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix}} \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix} = \frac{13}{26} \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix} = \begin{pmatrix} 3/2 \\ -1/2 \\ 2 \end{pmatrix}.\]Then \[\mathbf{p} = \mathbf{v} - \begin{pmatrix} 3/2 \\ -1/2 \\ 2 \end{pmatrix} = \boxed{\begin{pmatrix} -1/2 \\ 5/2 \\ 1 \end{pmatrix}}.\]
Precalculus
Let $\mathbf{a} = \begin{pmatrix} 3 \\ 4 \\ 0 \end{pmatrix}$ and $\mathbf{b} = \begin{pmatrix} -1 \\ 1 \\ -1 \end{pmatrix}.$ Find the unit vector $\mathbf{v}$ so that $\mathbf{b}$ bisects the angle between $\mathbf{a}$ and $\mathbf{v}.$
Level 5
Note that $\|\mathbf{a}\| = 5,$ so $\mathbf{b}$ is collinear with the midpoint of $\mathbf{a}$ and $5 \mathbf{v}.$ In other words, \[\mathbf{b} = k \cdot \frac{\mathbf{a} + 5 \mathbf{v}}{2}\]for some scalar $k.$ [asy] import three; size(180); currentprojection = perspective(3,6,2); triple I = (1,0,0), J = (0,1,0), K = (0,0,1), O = (0,0,0); triple A = (3,4,0), B = (-1,1,-1), V = (-11/15,-10/15,-2/15); draw(O--3*I, Arrow3(6)); draw(O--3*J, Arrow3(6)); draw(O--3*K, Arrow3(6)); draw(O--A,Arrow3(6)); draw(O--B,Arrow3(6)); draw(O--V,Arrow3(6)); draw(O--5*V,dashed,Arrow3(6)); draw(A--5*V,dashed); label("$x$", 3.2*I); label("$y$", 3.2*J); label("$z$", 3.2*K); label("$\mathbf{a}$", A, S); label("$\mathbf{b}$", B, S); label("$\mathbf{v}$", V, N); label("$5 \mathbf{v}$", 5*V, NE); [/asy] Then \[5k \mathbf{v} = 2 \mathbf{b} - k \mathbf{a} = 2 \begin{pmatrix} -1 \\ 1 \\ -1 \end{pmatrix} - k \begin{pmatrix} 3 \\ 4 \\ 0 \end{pmatrix} = \begin{pmatrix} -2 - 3k \\ 2 - 4k \\ -2 \end{pmatrix}.\]Since $\|5k \mathbf{v}\| = 5 |k|,$ \[(-2 - 3k)^2 + (2 - 4k)^2 + (-2)^2 = 25k^2.\]This simplifies to $k = 3.$ Hence, \[\mathbf{v} = \frac{2 \mathbf{b} - 3 \mathbf{a}}{15} = \boxed{\begin{pmatrix} -11/15 \\ -2/3 \\ -2/15 \end{pmatrix}}.\]
Precalculus
For real numbers $t,$ the point \[(x,y) = (2^t - 3, 4^t - 5 \cdot 2^t - 1)\]is plotted. All the plotted points lie on what kind of curve? (A) Line (B) Circle (C) Parabola (D) Ellipse (E) Hyperbola Enter the letter of the correct option.
Level 1
Let $x = 2^t - 3.$ Then $2^t = x + 3,$ and \begin{align*} y &= 4^t - 5 \cdot 2^t - 1 \\ &= (2^t)^2 - 5 \cdot 2^t - 1 \\ &= (x + 3)^2 - 5(x + 3) - 1 \\ &= x^2 + x - 7. \end{align*}Thus, all the plotted points lie on a parabola. The answer is $\boxed{\text{(C)}}.$
Precalculus
Let $P$ be a point inside triangle $ABC$ such that \[\overrightarrow{PA} + 2 \overrightarrow{PB} + 3 \overrightarrow{PC} = \mathbf{0}.\]Find the ratio of the area of triangle $ABC$ to the area of triangle $APC.$
Level 4
We let $\mathbf{a} = \overrightarrow{A},$ etc. Then the equation $\overrightarrow{PA} + 2 \overrightarrow{PB} + 3 \overrightarrow{PC} = \mathbf{0}$ becomes \[\mathbf{a} - \mathbf{p} + 2 (\mathbf{b} - \mathbf{p}) + 3 (\mathbf{c} - \mathbf{p}) = \mathbf{0}.\]Solving for $\mathbf{p},$ we find \[\mathbf{p} = \frac{\mathbf{a} + 2 \mathbf{b} + 3 \mathbf{c}}{6}.\]Let lines $BP$ and $AC$ intersect at $E.$ [asy] unitsize(0.6 cm); pair A, B, C, E, P; A = (2,5); B = (0,0); C = (6,0); P = (A + 2*B + 3*C)/6; E = extension(B,P,A,C); draw(A--B--C--cycle); draw(A--P); draw(B--P); draw(C--P); draw(P--E); label("$A$", A, N); label("$B$", B, SW); label("$C$", C, SE); label("$E$", E, NE); label("$P$", P, S); [/asy] From the equation $\mathbf{p} = \frac{\mathbf{a} + 2 \mathbf{b} + 3 \mathbf{c}}{6},$ $6 \mathbf{p} - 2 \mathbf{b} = \mathbf{a} + 3 \mathbf{c},$ so \[\frac{6}{4} \mathbf{p} - \frac{2}{4} \mathbf{b} = \frac{1}{4} \mathbf{a} + \frac{3}{4} \mathbf{c}.\]Since the coefficients on both sides of the equation add up to 1, the vector on the left side lies on line $BP,$ and the vector on the right side lies on line $AC.$ Therefore, this common vector is $\mathbf{e}$: \[\mathbf{e} = \frac{6}{4} \mathbf{p} - \frac{2}{4} \mathbf{b} = \frac{3}{2} \mathbf{p} - \frac{1}{2} \mathbf{b}.\]Isolating $\mathbf{p},$ we find \[\mathbf{p} = \frac{1}{3} \mathbf{b} + \frac{2}{3} \mathbf{e}.\]Therefore, $BP:PE = 2:1.$ Triangles $ABE$ and $APE$ have the same height with respect to base $\overline{BE},$ so \[\frac{[ABE]}{[APE]} = \frac{BE}{PE} = 3.\]Similarly, triangles $CBE$ and $CPE$ have the same height with respect to base $\overline{BE}$, so \[\frac{[CBE]}{[CPE]} = \frac{BE}{PE} = 3.\]Therefore, \[\frac{[ABC]}{[APC]} = \frac{[ABE] + [CBE]}{[APE] + [CPE]} = \boxed{3}.\]
Precalculus
If triangle $ABC$ has sides of length $AB = 6,$ $AC = 5,$ and $BC = 4,$ then calculate \[\frac{\cos \frac{A - B}{2}}{\sin \frac{C}{2}} - \frac{\sin \frac{A - B}{2}}{\cos \frac{C}{2}}.\]
Level 4
We can write the expression as \[\frac{\cos \frac{A - B}{2} \cos \frac{C}{2} - \sin \frac{A - B}{2} \sin \frac{C}{2}}{\sin \frac{C}{2} \cos \frac{C}{2}}.\]The numerator is \[\cos \left (\frac{A - B}{2} + \frac{C}{2} \right) = \cos \frac{A - B + C}{2} = \cos \frac{(180^\circ - B) - B}{2} = \cos (90^\circ - B) = \sin B,\]and the denominator is $\frac{1}{2} \sin C,$ so by the Law of Sines, the expression is \[\frac{2 \sin B}{\sin C} = \frac{2AC}{AB} = \frac{10}{6} = \boxed{\frac{5}{3}}.\]
Precalculus
The matrices \[\begin{pmatrix} a & 2 \\ 1 & 4 \end{pmatrix} \quad \text{and} \quad \begin{pmatrix} -\frac{2}{7} & \frac{1}{7} \\ b & \frac{3}{14} \end{pmatrix}\]are inverses. Enter the ordered pair $(a,b).$
Level 2
The product of the matrices is \[\begin{pmatrix} a & 2 \\ 1 & 4 \end{pmatrix} \begin{pmatrix} -\frac{2}{7} & \frac{1}{7} \\ b & \frac{3}{14} \end{pmatrix} = \begin{pmatrix} 2b - \frac{2a}{7} & \frac{a + 3}{7} \\ 4b - \frac{2}{7} & 1 \end{pmatrix}.\]We want this to be the identity matrix, so $2b - \frac{2a}{7} = 1,$ $\frac{a + 3}{7} = 0,$ and $4b - \frac{2}{7} = 0.$ Solving, we find $(a,b) = \boxed{\left( -3, \frac{1}{14} \right)}.$
Precalculus
Find the number of solutions to the equation \[\tan (5 \pi \cos \theta) = \cot (5 \pi \sin \theta)\]where $\theta \in (0, 2 \pi).$
Level 5
From the given equation, \[\tan (5 \pi \cos \theta) = \frac{1}{\tan (5 \pi \sin \theta)},\]so $\tan (5 \pi \cos \theta) \tan (5 \pi \sin \theta) = 1.$ Then from the angle addition formula, \begin{align*} \cot (5 \pi \cos \theta + 5 \pi \sin \theta) &= \frac{1}{\tan (5 \pi \cos \theta + 5 \pi \sin \theta)} \\ &= \frac{1 - \tan (5 \pi \cos \theta) \tan (5 \pi \sin \theta)}{\tan (5 \pi \cos \theta) + \tan (5 \pi \sin \theta)} \\ &= 0. \end{align*}Hence, $5 \pi \cos \theta + 5 \pi \sin \theta$ must be an odd multiple of $\frac{\pi}{2}.$ In other words, \[5 \pi \cos \theta + 5 \pi \sin \theta = (2n + 1) \cdot \frac{\pi}{2}\]for some integer $n.$ Then \[\cos \theta + \sin \theta = \frac{2n + 1}{10}.\]Using the angle addition formula, we can write \begin{align*} \cos \theta + \sin \theta &= \sqrt{2} \left( \frac{1}{\sqrt{2}} \cos \theta + \frac{1}{\sqrt{2}} \sin \theta \right) \\ &= \sqrt{2} \left( \sin \frac{\pi}{4} \cos \theta + \cos \frac{\pi}{4} \sin \theta \right) \\ &= \sqrt{2} \sin \left( \theta + \frac{\pi}{4} \right). \end{align*}so \[\sin \left( \theta + \frac{\pi}{4} \right) = \frac{2n + 1}{10 \sqrt{2}}.\]Thus, we need \[\left| \frac{2n + 1}{10 \sqrt{2}} \right| \le 1.\]The integers $n$ that work are $-7,$ $-6,$ $-5,$ $\dots,$ $6,$ giving us a total of 14 possible values of $n.$ Furthermore, for each such value of $n,$ the equation \[\sin \left( \theta + \frac{\pi}{4} \right) = \frac{2n + 1}{10 \sqrt{2}}.\]has exactly two solutions in $\theta.$ Therefore, there are a total of $\boxed{28}$ solutions $\theta.$
Precalculus
Let \[\mathbf{A} = \renewcommand{\arraystretch}{1.5} \begin{pmatrix} \frac{\sqrt{3}}{2} & 0 & -\frac{1}{2} \\ 0 & -1 & 0 \\ \frac{1}{2} & 0 & \frac{\sqrt{3}}{2} \end{pmatrix} \renewcommand{\arraystretch}{1}.\]Compute $\mathbf{A}^{2018}.$
Level 4
We compute the first few powers of $\mathbf{A}$: \begin{align*} \mathbf{A}^2 &= \renewcommand{\arraystretch}{1.5} \begin{pmatrix} \frac{\sqrt{3}}{2} & 0 & -\frac{1}{2} \\ 0 & -1 & 0 \\ \frac{1}{2} & 0 & \frac{\sqrt{3}}{2} \end{pmatrix} \renewcommand{\arraystretch}{1} \renewcommand{\arraystretch}{1.5} \begin{pmatrix} \frac{\sqrt{3}}{2} & 0 & -\frac{1}{2} \\ 0 & -1 & 0 \\ \frac{1}{2} & 0 & \frac{\sqrt{3}}{2} \end{pmatrix} \renewcommand{\arraystretch}{1} = \renewcommand{\arraystretch}{1.5} \begin{pmatrix} \frac{1}{2} & 0 & -\frac{\sqrt{3}}{2} \\ 0 & 1 & 0 \\ \frac{\sqrt{3}}{2} & 0 & \frac{1}{2} \end{pmatrix} \renewcommand{\arraystretch}{1}, \\ \mathbf{A}^3 &= \mathbf{A} \mathbf{A}^2 = \renewcommand{\arraystretch}{1.5} \begin{pmatrix} \frac{\sqrt{3}}{2} & 0 & -\frac{1}{2} \\ 0 & -1 & 0 \\ \frac{1}{2} & 0 & \frac{\sqrt{3}}{2} \end{pmatrix} \renewcommand{\arraystretch}{1} \renewcommand{\arraystretch}{1.5} \begin{pmatrix} \frac{1}{2} & 0 & -\frac{\sqrt{3}}{2} \\ 0 & 1 & 0 \\ \frac{\sqrt{3}}{2} & 0 & \frac{1}{2} \end{pmatrix} \renewcommand{\arraystretch}{1} = \begin{pmatrix} 0 & 0 & -1 \\ 0 & -1 & 0 \\ 1 & 0 & 0 \end{pmatrix}. \end{align*}Then \[\mathbf{A}^6 = \mathbf{A}^3 \mathbf{A}^3 = \begin{pmatrix} 0 & 0 & -1 \\ 0 & -1 & 0 \\ 1 & 0 & 0 \end{pmatrix} \begin{pmatrix} 0 & 0 & -1 \\ 0 & -1 & 0 \\ 1 & 0 & 0 \end{pmatrix} = \begin{pmatrix} -1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & -1 \end{pmatrix}\]and \[\mathbf{A}^{12} = \mathbf{A}^6 \mathbf{A}^6 = \begin{pmatrix} -1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & -1 \end{pmatrix} \begin{pmatrix} -1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & -1 \end{pmatrix} = \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} = \mathbf{I}.\]Therefore, \[\mathbf{A}^{2018} = (\mathbf{A}^{12})^{168} \mathbf{A}^2 = \mathbf{A}^2 = \renewcommand{\arraystretch}{1.5} \boxed{\begin{pmatrix} \frac{1}{2} & 0 & -\frac{\sqrt{3}}{2} \\ 0 & 1 & 0 \\ \frac{\sqrt{3}}{2} & 0 & \frac{1}{2} \end{pmatrix}} \renewcommand{\arraystretch}{1}.\]
Precalculus
There exist vectors $\mathbf{a}$ and $\mathbf{b}$ such that \[\mathbf{a} + \mathbf{b} = \begin{pmatrix} 6 \\ -3 \\ -6 \end{pmatrix},\]where $\mathbf{a}$ is parallel to $\begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix},$ and $\mathbf{b}$ is orthogonal to $\begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix}.$ Find $\mathbf{b}.$
Level 4
Since $\mathbf{a}$ is parallel to $\begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix},$ \[\mathbf{a} = t \begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix} = \begin{pmatrix} t \\ t \\ t \end{pmatrix}\]for some scalar $t.$ Then \[\mathbf{b} = \begin{pmatrix} 6 \\ -3 \\ -6 \end{pmatrix} - \begin{pmatrix} t \\ t \\ t \end{pmatrix} = \begin{pmatrix} 6 - t \\ -3 - t \\ -6 - t \end{pmatrix}.\]We want this to be orthogonal to $\begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix},$ so \[\begin{pmatrix} 6 - t \\ -3 - t \\ -6 - t \end{pmatrix} \cdot \begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix} = 0.\]Then $(6 - t)(1) + (-3 - t)(1) + (-6 - t)(1) = 0.$ Solving, we find $t = -1.$ Then $\mathbf{b} = \boxed{\begin{pmatrix} 7 \\ -2 \\ -5 \end{pmatrix}}.$
Precalculus
Let $\theta$ be the angle between the planes $2x + y - 2z + 3 = 0$ and $6x + 3y + 2z - 5 = 0.$ Find $\cos \theta.$
Level 3
The two planes intersect at a line, as shown below. [asy] unitsize(0.4 cm); pair[] A, B, C, P; pair M; A[1] = (3,3); A[2] = (13,3); A[3] = (10,0); A[4] = (0,0); P[1] = (A[1] + A[2])/2; P[2] = (A[3] + A[4])/2; B[1] = P[1] + 4*dir(-45); B[4] = B[1] + P[2] - P[1]; B[2] = 2*P[1] - B[1]; B[3] = 2*P[2] - B[4]; C[1] = P[1] + 4*dir(75); C[4] = C[1] + P[2] - P[1]; C[2] = 2*P[1] - C[1]; C[3] = 2*P[2] - C[4]; M = (P[1] + P[2])/2; draw((M + 2*dir(75))--M--(M + (2,0))); draw(P[1]--P[2]); draw(extension(P[2],C[4],A[1],A[2])--A[1]--A[4]--A[3]--A[2]--P[1]); draw(P[1]--C[1]--C[4]--C[3]--C[2]--extension(C[2],C[1],A[3],P[2])); label("$\theta$", M + (1,1), UnFill); [/asy] Then the angle between the planes is equal to the angle between their normal vectors. [asy] unitsize(0.8 cm); draw((-0.5,0)--(3,0)); draw(-0.5*dir(75)--3*dir(75)); draw((2,0)--(2,2.5),Arrow(6)); draw(2*dir(75)--(2*dir(75) + 2.5*dir(-15)),Arrow(6)); draw(rightanglemark((0,0),(2,0),(2,2),10)); draw(rightanglemark((0,0),2*dir(75),2*dir(75) + 2*dir(-15),10)); label("$\theta$", (0.5,0.4)); label("$\theta$", (1.7,2)); [/asy] The direction vectors of the planes are $\begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix}$ and $\begin{pmatrix} 6 \\ 3 \\ 2 \end{pmatrix},$ so \[\cos \theta = \frac{\begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix} \cdot \begin{pmatrix} 6 \\ 3 \\ 2 \end{pmatrix}}{\left\| \begin{pmatrix} 2 \\ 1 \\ -2 \end{pmatrix} \right\| \left\| \begin{pmatrix} 6 \\ 3 \\ 2 \end{pmatrix} \right\|} = \boxed{\frac{11}{21}}.\]
Precalculus
Let $\mathbf{a} = \begin{pmatrix} 7 \\ -4 \\ -4 \end{pmatrix}$ and $\mathbf{c} = \begin{pmatrix} -2 \\ -1 \\ 2 \end{pmatrix}.$ Find the vector $\mathbf{b}$ such that $\mathbf{a},$ $\mathbf{b},$ and $\mathbf{c}$ are collinear, and $\mathbf{b}$ bisects the angle between $\mathbf{a}$ and $\mathbf{c}.$ [asy] unitsize(0.5 cm); pair A, B, C, O; A = (-2,5); B = (1,3); O = (0,0); C = extension(O, reflect(O,B)*(A), A, B); draw(O--A,Arrow(6)); draw(O--B,Arrow(6)); draw(O--C,Arrow(6)); draw(interp(A,C,-0.1)--interp(A,C,1.1),dashed); label("$\mathbf{a}$", A, NE); label("$\mathbf{b}$", B, NE); label("$\mathbf{c}$", C, NE); [/asy]
Level 5
The line through $\mathbf{a}$ and $\mathbf{c}$ can be parameterized by \[\begin{pmatrix} 7 - 9t \\ -4 + 3t \\ -4 + 6t \end{pmatrix}.\]Then $\mathbf{b}$ is of this form. Furthermore, the angle between $\mathbf{a}$ and $\mathbf{b}$ is equal to the angle between $\mathbf{b}$ and $\mathbf{c}.$ Hence, \[\frac{\mathbf{a} \cdot \mathbf{b}}{\|\mathbf{a}\| \|\mathbf{b}\|} = \frac{\mathbf{b} \cdot \mathbf{c}}{\|\mathbf{b}\| \|\mathbf{c}\|}.\]We can cancel the factors of $\|\mathbf{b}\|,$ to get \[\frac{\begin{pmatrix} 7 \\ -4 \\ -4 \end{pmatrix} \cdot \begin{pmatrix} 7 - 9t \\ -4 + 3t \\ -4 + 6t \end{pmatrix}}{\left\| \begin{pmatrix} 7 \\ -4 \\ -4 \end{pmatrix} \right\|} = \frac{\begin{pmatrix} 7 - 9t \\ -4 + 3t \\ -4 + 6t \end{pmatrix} \cdot \begin{pmatrix} -2 \\ -1 \\ 2 \end{pmatrix}}{\left\| \begin{pmatrix} -2 \\ -1 \\ 2 \end{pmatrix} \right\|}.\]Then \[\frac{(7)(7 - 9t) + (-4)(-4 + 3t) + (-4)(-4 + 6t)}{9} = \frac{(7 - 9t)(-2) + (-4 + 3t)(-1) + (-4 + 6t)(2)}{3}\]Solving, we find $t = \frac{3}{4}.$ Therefore, $\mathbf{b} = \boxed{\begin{pmatrix} 1/4 \\ -7/4 \\ 1/2 \end{pmatrix}}.$
Precalculus
For $\mathbf{v} = \begin{pmatrix} -10 \\ 6 \end{pmatrix}$ and $\mathbf{w} = \begin{pmatrix} 15 \\ -9 \end{pmatrix}$, compute $\text{proj}_{\mathbf{w}} \mathbf{v}$.
Level 3
Since \[\bold{v} = \begin{pmatrix} -10 \\ 6 \end{pmatrix} = -\frac{2}{3} \begin{pmatrix} 15 \\ -9 \end{pmatrix} = -\frac{2}{3} \bold{w}\]is a scalar multiple of $\bold{w}$, \[\text{proj}_{\bold{w}} \bold{v} = \bold{v} = \boxed{\begin{pmatrix} -10 \\ 6 \end{pmatrix}}.\]
Precalculus
Let $v$ and $w$ be distinct, randomly chosen roots of the equation $z^{1997}-1=0.$ Find the probability that \[\sqrt{2+\sqrt{3}}\le\left|v+w\right|.\]
Level 4
The solutions of the equation $z^{1997} = 1$ are the $1997$th roots of unity and are equal to $\cos\left(\frac {2\pi k}{1997}\right) + i\sin\left(\frac {2\pi k}{1997}\right)$ for $k = 0,1,\ldots,1996.$ They are also located at the vertices of a regular $1997$-gon that is centered at the origin in the complex plane. By rotating around the origin, we can assume that $v = 1.$ Then \begin{align*} |v + w|^2 & = \left|\cos\left(\frac {2\pi k}{1997}\right) + i\sin\left(\frac {2\pi k}{1997}\right) + 1 \right|^2 \\ & = \left|\left[\cos\left(\frac {2\pi k}{1997}\right) + 1\right] + i\sin\left(\frac {2\pi k}{1997}\right)\right|^2 \\ & = \cos^2\left(\frac {2\pi k}{1997}\right) + 2\cos\left(\frac {2\pi k}{1997}\right) + 1 + \sin^2\left(\frac {2\pi k}{1997}\right) \\ & = 2 + 2\cos\left(\frac {2\pi k}{1997}\right). \end{align*}We want $|v + w|^2\ge 2 + \sqrt {3}.$ From what we just obtained, this is equivalent to $\cos\left(\frac {2\pi k}{1997}\right)\ge \frac {\sqrt {3}}2.$ This occurs when $\frac {\pi}6\ge \frac {2\pi k}{1997}\ge - \frac {\pi}6$ which is satisfied by $k = 166,165,\ldots, - 165, - 166$ (we don't include 0 because that corresponds to $v$). So out of the $1996$ possible $k$, $332$ work. Thus, the desired probability is $\frac{332}{1996} = \boxed{\frac{83}{499}}.$
Precalculus
A projection takes $\begin{pmatrix} 1 \\ -2 \end{pmatrix}$ to $\begin{pmatrix} \frac{3}{2} \\ -\frac{3}{2} \end{pmatrix}.$ Which vector does the projection take $\begin{pmatrix} -4 \\ 1 \end{pmatrix}$ to?
Level 4
Since the projection of $\begin{pmatrix} 1 \\ -2 \end{pmatrix}$ is $\begin{pmatrix} \frac{3}{2} \\ -\frac{3}{2} \end{pmatrix},$ the vector being projected onto is a scalar multiple of $\begin{pmatrix} \frac{3}{2} \\ -\frac{3}{2} \end{pmatrix}.$ Thus, we can assume that the vector being projected onto is $\begin{pmatrix} 1 \\ -1 \end{pmatrix}.$ [asy] usepackage("amsmath"); unitsize(1 cm); pair A, B, O, P, Q; O = (0,0); A = (1,-2); P = (3/2,-3/2); B = (-4,1); Q = (-5/2,5/2); draw((-4,0)--(2,0)); draw((0,-2)--(0,3)); draw(O--A,Arrow(6)); draw(O--P,Arrow(6)); draw(A--P,dashed,Arrow(6)); draw(O--B,Arrow(6)); draw(O--Q,Arrow(6)); draw(B--Q,dashed,Arrow(6)); label("$\begin{pmatrix} 1 \\ -2 \end{pmatrix}$", A, S); label("$\begin{pmatrix} \frac{3}{2} \\ -\frac{3}{2} \end{pmatrix}$", P, SE); label("$\begin{pmatrix} -4 \\ 1 \end{pmatrix}$", B, W); [/asy] Thus, the projection of $\begin{pmatrix} -4 \\ 1 \end{pmatrix}$ is \[\operatorname{proj}_{\begin{pmatrix} 1 \\ -1 \end{pmatrix}} \begin{pmatrix} -4 \\ 1 \end{pmatrix} = \frac{\begin{pmatrix} -4 \\ 1 \end{pmatrix} \cdot \begin{pmatrix} 1 \\ -1 \end{pmatrix}}{\begin{pmatrix} 1 \\ -1 \end{pmatrix} \cdot \begin{pmatrix} 1 \\ -1 \end{pmatrix}} \begin{pmatrix} 1 \\ -1 \end{pmatrix} = \frac{-5}{2} \begin{pmatrix} 1 \\ -1 \end{pmatrix} = \boxed{\begin{pmatrix} -5/2 \\ 5/2 \end{pmatrix}}.\]
Precalculus
If $\det \mathbf{M} = -2,$ then find $ \det (\mathbf{M}^4).$
Level 1
We have that $\det (\mathbf{M}^4) = (\det \mathbf{M})^4 = \boxed{16}.$
Precalculus
Evaluate \[\begin{vmatrix} y + 1 & y & y \\ y & y + 1 & y \\ y & y & y + 1 \end{vmatrix}.\]
Level 4
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*}
Precalculus
Find the projection of $\begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix}$ onto the plane $3x - y + 4z = 0.$
Level 4
Let $P$ be the plane $3x - y + 4z = 0.$ We can take $\mathbf{n} = \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix}$ as the normal vector of plane $P.$ Let $\mathbf{v} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix},$ and let $\mathbf{p}$ be its projection onto plane $P.$ Note that $\mathbf{v} - \mathbf{p}$ is parallel to $\mathbf{n}.$ [asy] import three; size(160); currentprojection = perspective(6,3,2); triple I = (1,0,0), J = (0,1,0), K = (0,0,1); triple O = (0,-0.5,0), V = (0,1.5,1), P = (0,1.5,0); draw(surface((2*I + 2*J)--(2*I - 2*J)--(-2*I - 2*J)--(-2*I + 2*J)--cycle),paleyellow,nolight); draw((2*I + 2*J)--(2*I - 2*J)--(-2*I - 2*J)--(-2*I + 2*J)--cycle); draw((P + 0.1*(O - P))--(P + 0.1*(O - P) + 0.2*(V - P))--(P + 0.2*(V - P))); draw(O--P,green,Arrow3(6)); draw(O--V,red,Arrow3(6)); draw(P--V,blue,Arrow3(6)); draw((1,-0.8,0)--(1,-0.8,0.2)--(1,-1,0.2)); draw((1,-1,0)--(1,-1,2),magenta,Arrow3(6)); label("$\mathbf{v}$", V, N, fontsize(10)); label("$\mathbf{p}$", P, S, fontsize(10)); label("$\mathbf{n}$", (1,-1,1), dir(180), fontsize(10)); label("$\mathbf{v} - \mathbf{p}$", (V + P)/2, E, fontsize(10)); [/asy] Thus, $\mathbf{v} - \mathbf{p}$ is the projection of $\mathbf{v}$ onto $\mathbf{n}.$ Hence, \[\mathbf{v} - \mathbf{p} = \frac{\begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} \cdot \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix}}{\begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix} \cdot \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix}} \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix} = \frac{13}{26} \begin{pmatrix} 3 \\ -1 \\ 4 \end{pmatrix} = \begin{pmatrix} 3/2 \\ -1/2 \\ 2 \end{pmatrix}.\]Then \[\mathbf{p} = \mathbf{v} - \begin{pmatrix} 3/2 \\ -1/2 \\ 2 \end{pmatrix} = \boxed{\begin{pmatrix} -1/2 \\ 5/2 \\ 1 \end{pmatrix}}.\]
Precalculus
Point $P$ is located inside triangle $ABC$ so that angles $PAB, PBC,$ and $PCA$ are all congruent. The sides of the triangle have lengths $AB=13, BC=14,$ and $CA=15.$ Find $\tan \angle PAB.$
Level 4
Let $\omega = \angle PAB = \angle PBC = \angle PCA,$ and let $x = AP,$ $y = BP,$ and $z = CP.$ [asy] unitsize(0.4 cm); pair A, B, C, P; int a, b, c; a = 14; b = 15; c = 13; A = (5,12); B = (0,0); C = (14,0); P = (c^2*a^2*A + a^2*b^2*B + b^2*c^2*C)/(c^2*a^2 + a^2*b^2 + b^2*c^2); draw(anglemark(B,A,P,40),red); draw(anglemark(C,B,P,40),red); draw(anglemark(A,C,P,40),red); draw(A--B--C--cycle); draw(A--P); draw(B--P); draw(C--P); label("$A$", A, N); label("$B$", B, SW); label("$C$", C, SE); label("$P$", P, NE); label("$13$", (A + B)/2, NW); label("$14$", (B + C)/2, S); label("$15$", (A + C)/2, NE); label("$x$", (A + P)/2, W); label("$y$", (B + P)/2, NW); label("$z$", (C + P)/2, NE); [/asy] Then by the Law of Cosines applied to triangles $ABP,$ $BCP,$ $CAP,$ we get \begin{align*} y^2 &= x^2 + 169 - 26x \cos \omega, \\ z^2 &= y^2 + 196 - 28y \cos \omega, \\ x^2 &= z^2 + 225 - 30z \cos \omega. \end{align*}Adding these, we get $x^2 + y^2 + z^2 = x^2 + y^2 + z^2 + 590 - (26x + 28y + 30z) \cos \omega.$ Then \[(26x + 28y + 30z) \cos \omega = 590,\]or $(13x + 14y + 15z) \cos \omega = 295.$ Also, $[ABP] + [BCP] + [CAP] = [ABC].$ By Heron's formula, $[ABC] = 84,$ so \[\frac{1}{2} \cdot 13 \cdot x \sin \omega + \frac{1}{2} \cdot 14 \cdot y \sin \omega + \frac{1}{2} \cdot 15 \cdot z \sin \omega = 84.\]Then $(13x + 14y + 15z) \sin \omega = 168.$ Dividing the equations $(13x + 14y + 15z) \sin \omega = 168$ and $(13x + 14y + 15z) \cos \omega = 295,$ we get $\tan \omega = \boxed{\frac{168}{295}}.$
Precalculus
In triangle $ABC,$ $M$ is the midpoint of $\overline{BC},$ $AB = 12,$ and $AC = 16.$ Let $E$ be on $\overline{AC},$ and $F$ be on $\overline{AB},$ and let $G$ be the intersection of $\overline{EF}$ and $\overline{AM}.$ If $AE = 2AF,$ then find $\frac{EG}{GF}.$ [asy] unitsize(0.3 cm); pair A, B, C, E, F, G, M; real x = 4; B = (0,0); C = (18,0); A = intersectionpoint(arc(B,12,0,180),arc(C,16,0,180)); M = (B + C)/2; F = interp(A,B,x/12); E = interp(A,C,2*x/16); G = extension(E,F,A,M); draw(A--B--C--cycle); draw(E--F); draw(A--M); label("$A$", A, N); label("$B$", B, SW); label("$C$", C, SE); label("$E$", E, NE); label("$F$", F, NW); label("$G$", G, SW); label("$M$", M, S); [/asy]
Level 4
Let $x = AF,$ so $AE = 2x.$ Then $BF = 12 - x$ and $CE = 16 - 2x.$ [asy] unitsize(0.3 cm); pair A, B, C, E, F, G, M; real x = 4; B = (0,0); C = (18,0); A = intersectionpoint(arc(B,12,0,180),arc(C,16,0,180)); M = (B + C)/2; F = interp(A,B,x/12); E = interp(A,C,2*x/16); G = extension(E,F,A,M); draw(A--B--C--cycle); draw(E--F); draw(A--M); label("$A$", A, N); label("$B$", B, SW); label("$C$", C, SE); label("$E$", E, NE); label("$F$", F, NW); label("$G$", G, SW); label("$M$", M, S); label("$x$", (A + F)/2, NW, red); label("$2x$", (A + E)/2, NE, red); label("$12 - x$", (B + F)/2, NW, red); label("$16 - 2x$", (C + E)/2, NE, red); [/asy] Let $\mathbf{a}$ denote $\overrightarrow{A},$ etc. Then \[\mathbf{f} = \frac{x \mathbf{b} + (12 - x) \mathbf{a}}{12},\]so \[\mathbf{b} = \frac{12 \mathbf{f} - (12 - x) \mathbf{a}}{x}.\]Also, \[\mathbf{e} = \frac{2x \mathbf{c} + (16 - 2x) \mathbf{a}}{16} = \frac{x \mathbf{c} + (8 - x) \mathbf{a}}{8},\]so \[\mathbf{c} = \frac{8 \mathbf{e} - (8 - x) \mathbf{a}}{x}.\]Then \[\mathbf{m} = \frac{\mathbf{b} + \mathbf{c}}{2} = \frac{8 \mathbf{e} + 12 \mathbf{f} - (20 - 2x) \mathbf{a}}{2x} = \frac{4 \mathbf{e} + 6 \mathbf{f} - (10 - x) \mathbf{a}}{x}.\]Hence, $x \mathbf{m} + (10 - x) \mathbf{a} = 4 \mathbf{e} + 6 \mathbf{f},$ so \[\frac{x}{10} \mathbf{m} + \frac{10 - x}{10} \mathbf{a} = \frac{4}{10} \mathbf{e} + \frac{6}{10} \mathbf{f}.\]Since the coefficients on both sides of the equation add up to 1, the vector on the left side lies on line $AM,$ and the vector on the right side lies on line $EF.$ Therefore, this common vector is $\mathbf{g}.$ Furthermore, $\frac{EG}{GF} = \frac{6}{4} = \boxed{\frac{3}{2}}.$
Precalculus
Let $f$ be the function defined by $f(x) = -2 \sin(\pi x)$. How many values of $x$ such that $-2 \le x \le 2$ satisfy the equation $f(f(f(x))) = f(x)$?
Level 5
The graph of $y = f(x)$ is shown below. [asy] unitsize(1.5 cm); real func (real x) { return (-2*sin(pi*x)); } draw(graph(func,-2,2),red); draw((-2.5,0)--(2.5,0)); draw((0,-2.5)--(0,2.5)); draw((1,-0.1)--(1,0.1)); draw((2,-0.1)--(2,0.1)); draw((-1,-0.1)--(-1,0.1)); draw((-2,-0.1)--(-2,0.1)); draw((-0.1,1)--(0.1,1)); draw((-0.1,2)--(0.1,2)); draw((-0.1,-1)--(0.1,-1)); draw((-0.1,-2)--(0.1,-2)); label("$1$", (1,-0.1), S, UnFill); label("$2$", (2,-0.1), S, UnFill); label("$-1$", (-1,-0.1), S, UnFill); label("$-2$", (-2,-0.1), S, UnFill); label("$1$", (-0.1,1), W, UnFill); label("$2$", (-0.1,2), W, UnFill); label("$-1$", (-0.1,-1), W, UnFill); label("$-2$", (-0.1,-2), W, UnFill); label("$y = f(x)$", (2.8,1), red); [/asy] The equation $f(x) = 0$ has five solutions in $[-2,2].$ For a fixed nonzero real number $y,$ where $-2 < y < 2,$ the equation $f(x) = y$ has four solutions in $[-2,2].$ We want to solve the equation \[f(f(f(x))) = f(x).\]Let $a = f(x),$ so \[a = f(f(a)).\]Let $b = f(a),$ so $a = f(b).$ Thus, both $(a,b)$ and $(b,a)$ lie on the graph of $y = f(x).$ In other words, $(a,b)$ lie on the graph of $y = f(x)$ and $x = f(y).$ [asy] unitsize(1.5 cm); real func (real x) { return (-2*sin(pi*x)); } draw(graph(func,-2,2),red); draw(reflect((0,0),(1,1))*(graph(func,-2,2)),blue); draw((-2.5,0)--(2.5,0)); draw((0,-2.5)--(0,2.5)); draw((1,-0.1)--(1,0.1)); draw((2,-0.1)--(2,0.1)); draw((-1,-0.1)--(-1,0.1)); draw((-2,-0.1)--(-2,0.1)); draw((-0.1,1)--(0.1,1)); draw((-0.1,2)--(0.1,2)); draw((-0.1,-1)--(0.1,-1)); draw((-0.1,-2)--(0.1,-2)); label("$y = f(x)$", (2.8,0.6), red); label("$x = f(y)$", (2.8,-0.5), blue); [/asy] Apart from the origin, there are 14 points of intersection, all of which have different $x$-coordinates, strictly between $-2$ and 2. So if we set $(a,b)$ to be one of these points of intersection, then $a = f(b)$ and $b = f(a).$ Also, the equation $f(x) = a$ will have four solutions. For the origin, $a = b = 0.$ The equation $f(x) = 0$ has five solutions. Therefore, the equation $f(f(f(x))) = f(x)$ has a total of $14 \cdot 4 + 5 = \boxed{61}$ solutions.
Precalculus
Let $\mathbf{R}$ be the matrix for rotating about the origin counter-clockwise by an angle of $58^\circ.$ Find $\det \mathbf{R}.$
Level 2
The matrix corresponding to rotating about the origin counter-clockwise by an angle of $\theta$ is given by \[\begin{pmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{pmatrix}.\]The determinant of this matrix is then \[\cos^2 \theta - (-\sin \theta)(\sin \theta) = \cos^2 \theta + \sin^2 \theta = \boxed{1}.\](Why does this make sense geometrically?)
Precalculus
Let $S$ be a region in the plane with area 10. When we apply the matrix \[\begin{pmatrix} 2 & 1 \\ 7 & -3 \end{pmatrix}\]to $S,$ we obtain the region $S'.$ Find the area of $S'.$
Level 3
Note that \[\begin{vmatrix} 2 & 1 \\ 7 & -3 \end{vmatrix} = (2)(-3) - (1)(7) = -13,\]so the matrix scales the area of any region by a factor of $|-13| = 13.$ In particular, the area of $S'$ is $13 \cdot 10 = \boxed{130}.$
Precalculus
Compute $3 \begin{pmatrix} 2 \\ -8 \end{pmatrix} - 2 \begin{pmatrix} 1 \\ -7 \end{pmatrix}$.
Level 1
We see that \[3 \begin{pmatrix} 2 \\ -8 \end{pmatrix} - 2 \begin{pmatrix} 1 \\ -7 \end{pmatrix} = \begin{pmatrix} 6 \\ -24 \end{pmatrix} - \begin{pmatrix} 2 \\ -14 \end{pmatrix} = \boxed{\begin{pmatrix} 4 \\ -10 \end{pmatrix}}.\]
Precalculus
Given that $\sec x + \tan x = \frac{4}{3},$ enter all possible values of $\sin x.$
Level 3
We can re-write the given equation as $\frac{1}{\cos x} + \frac{\sin x}{\cos x} = \frac{4}{3},$ so \[3 + 3 \sin x = 4 \cos x.\]Squaring both sides, we get \[9 + 18 \sin x + 9 \sin^2 x = 16 \cos^2 x = 16 (1 - \sin^2 x).\]Then $25 \sin^2 x + 18 \sin x - 7 = 0,$ which factors as $(\sin x + 1)(25 \sin x - 7) = 0.$ Hence, $\sin x = -1$ or $\sin x = \frac{7}{25}.$ If $\sin x = -1,$ then $\cos^2 x = 1 - \sin^2 x = 0,$ so $\cos x = 0.$ But this makes $\sec x$ and $\tan x$ undefined. So the only possible value of $\sin x$ is $\boxed{\frac{7}{25}}.$
Precalculus
Convert the point $( -2, -2 \sqrt{3}, -1)$ in rectangular coordinates to cylindrical coordinates. Enter your answer in the form $(r,\theta,z),$ where $r > 0$ and $0 \le \theta < 2 \pi.$
Level 4
We have that $r = \sqrt{(-2)^2 + (-2 \sqrt{3})^2} = 4.$ We want $\theta$ to satisfy \begin{align*} -2 &= 4 \cos \theta, \\ -2 \sqrt{3} &= 4 \sin \theta. \end{align*}Thus, $\theta = \frac{4 \pi}{3},$ so the cylindrical coordinates are $\boxed{\left( 4, \frac{4 \pi}{3}, -1 \right)}.$
Precalculus
Parallelepiped $ABCDEFGH$ is generated by vectors $\overrightarrow{AB},$ $\overrightarrow{AD},$ and $\overrightarrow{AE},$ as shown below. [asy] import three; size(220); currentprojection = orthographic(0.5,0.3,0.2); triple I = (1,0,0), J = (0,1,0), K = (0,0,1), O = (0,0,0); triple V = (-1,0.2,0.5), W = (0,3,0.7), U = (-0.8,0.5,2); draw(surface(O--W--(W + U)--U--cycle),gray(0.7),nolight); draw(surface(U--(V + U)--(U + V + W)--(W + U)--cycle),gray(0.9),nolight); draw(surface(W--(V + W)--(U + V + W)--(W + U)--cycle),gray(0.5),nolight); draw(O--(-3*I), dashed, Arrow3(6)); draw(O--3*J, Arrow3(6)); draw(O--3*K, Arrow3(6)); draw(U--(V + U)--(U + V + W)--(V + W)--W); draw(U--(W + U)--(U + V + W)); draw((W + U)--W); draw((V + U)--V--(V + W),dashed); draw(O--V,dashed,Arrow3(6)); draw(O--W,Arrow3(6)); draw(O--U,Arrow3(6)); label("$x$", -3.2*I); label("$y$", 3.2*J); label("$z$", 3.2*K); label("$A$", (0,0,0), SW, fontsize(10)); label("$E$", U, NW, fontsize(10)); label("$B$", V, NW, fontsize(10)); label("$D$", W, S, fontsize(10)); label("$F$", U + V, N, fontsize(10)); label("$H$", U + W, NW, fontsize(10)); label("$C$", V + W, SE, fontsize(10)); label("$G$", U + V + W, NE, fontsize(10)); [/asy] Compute \[\frac{AG^2 + BH^2 + CE^2 + DF^2}{AB^2 + AD^2 + AE^2}.\]
Level 3
Let $\mathbf{u} = \overrightarrow{AE},$ $\mathbf{v} = \overrightarrow{AB},$ and $\mathbf{w} = \overrightarrow{AD}.$ Also, assume that $A$ is a at the origin. Then \begin{align*} \overrightarrow{C} &= \mathbf{v} + \mathbf{w}, \\ \overrightarrow{F} &= \mathbf{u} + \mathbf{v}, \\ \overrightarrow{G} &= \mathbf{u} + \mathbf{v} + \mathbf{w}, \\ \overrightarrow{H} &= \mathbf{u} + \mathbf{w}, \end{align*}so \begin{align*} AG^2 &= \|\mathbf{u} + \mathbf{v} + \mathbf{w}\|^2 \\ &= (\mathbf{u} + \mathbf{v} + \mathbf{w}) \cdot (\mathbf{u} + \mathbf{v} + \mathbf{w}) \\ &= \mathbf{u} \cdot \mathbf{u} + \mathbf{v} \cdot \mathbf{v} + \mathbf{w} \cdot \mathbf{w} + 2 \mathbf{u} \cdot \mathbf{v} + 2 \mathbf{u} \cdot \mathbf{w} + 2 \mathbf{v} \cdot \mathbf{w}. \end{align*}Similarly, \begin{align*} BH^2 &= \|\mathbf{u} - \mathbf{v} + \mathbf{w}\|^2 = \mathbf{u} \cdot \mathbf{u} + \mathbf{v} \cdot \mathbf{v} + \mathbf{w} \cdot \mathbf{w} - 2 \mathbf{u} \cdot \mathbf{v} + 2 \mathbf{u} \cdot \mathbf{w} - 2 \mathbf{v} \cdot \mathbf{w}, \\ CE^2 &= \|-\mathbf{u} + \mathbf{v} + \mathbf{w}\|^2 = \mathbf{u} \cdot \mathbf{u} + \mathbf{v} \cdot \mathbf{v} + \mathbf{w} \cdot \mathbf{w} - 2 \mathbf{u} \cdot \mathbf{v} - 2 \mathbf{u} \cdot \mathbf{w} + 2 \mathbf{v} \cdot \mathbf{w}, \\ DF^2 &= \|\mathbf{u} + \mathbf{v} - \mathbf{w}\|^2 = \mathbf{u} \cdot \mathbf{u} + \mathbf{v} \cdot \mathbf{v} + \mathbf{w} \cdot \mathbf{w} + 2 \mathbf{u} \cdot \mathbf{v} - 2 \mathbf{u} \cdot \mathbf{w} - 2 \mathbf{v} \cdot \mathbf{w}, \end{align*}so \[AG^2 + BH^2 + CE^2 + DF^2 = 4 (\mathbf{u} \cdot \mathbf{u} + \mathbf{v} \cdot \mathbf{v} + \mathbf{w} \cdot \mathbf{w}).\]Also, $AB^2 + AD^2 + AE^2 = \|\mathbf{u}\|^2 + \|\mathbf{v}\|^2 + \|\mathbf{w}\|^2 = \mathbf{u} \cdot \mathbf{u} + \mathbf{v} \cdot \mathbf{v} + \mathbf{w} \cdot \mathbf{w},$ so \[\frac{AG^2 + BH^2 + CE^2 + DF^2}{AB^2 + AD^2 + AE^2} = \boxed{4}.\]
Precalculus
The side of a triangle are 2, $\sqrt{6},$ and $1 + \sqrt{3}.$ Enter the angles of the triangle in degrees, separated by commas.
Level 2
By the Law of Cosines, the cosine of one angle is \[\frac{2^2 + (1 + \sqrt{3})^2 - (\sqrt{6})^2}{2 \cdot 2 \cdot (1 + \sqrt{3})} = \frac{2 + 2 \sqrt{3}}{4 + 4 \sqrt{3}} = \frac{1}{2},\]so this angle is $\boxed{60^\circ}.$ The cosine of another angle is \[\frac{(1 + \sqrt{3})^2 + (\sqrt{6})^2 - 2^2}{2 (1 + \sqrt{3})(\sqrt{6})} = \frac{6 + 2 \sqrt{3}}{6 \sqrt{2} + 2 \sqrt{6}} = \frac{1}{\sqrt{2}},\]so this angle is $\boxed{45^\circ}.$ Then the third angle is $180^\circ - 60^\circ - 45^\circ = \boxed{75^\circ}.$
Precalculus
Convert the point $(\rho,\theta,\phi) = \left( 12, \frac{7 \pi}{6}, \frac{\pi}{3} \right)$ in spherical coordinates to rectangular coordinates.
Level 3
We have that $\rho = 12,$ $\theta = \frac{7 \pi}{6},$ and $\phi = \frac{\pi}{3},$ so \begin{align*} x &= \rho \sin \phi \cos \theta = 12 \sin \frac{\pi}{3} \cos \frac{7 \pi}{6} = -9, \\ y &= \rho \sin \phi \sin \theta = 12 \sin \frac{\pi}{3} \sin \frac{7 \pi}{6} = -3 \sqrt{3}, \\ z &= \rho \cos \phi = 12 \cos \frac{\pi}{3} = 12 \cdot \frac{1}{2} = 6. \end{align*}Therefore, the rectangular coordinates are $\boxed{(-9, -3 \sqrt{3}, 6)}.$
Precalculus
A curve is described parametrically by \[(x,y) = (2 \cos t - \sin t, 4 \sin t).\]The graph of the curve can be expressed in the form \[ax^2 + bxy + cy^2 = 1.\]Enter the ordered triple $(a,b,c).$
Level 4
Since $x = 2 \cos t - \sin t$ and $y = 4 \sin t,$ \begin{align*} ax^2 + bxy + cy^2 &= a (2 \cos t - \sin t)^2 + b (2 \cos t - \sin t)(4 \sin t) + c (4 \sin t)^2 \\ &= a (4 \cos^2 t - 4 \cos t \sin t + \sin^2 t) + b (8 \cos t \sin t - 4 \sin^2 t) + c (16 \sin^2 t) \\ &= 4a \cos^2 t + (-4a + 8b) \cos t \sin t + (a - 4b + 16c) \sin^2 t. \end{align*}To make this simplify to 1, we set \begin{align*} 4a &= 1, \\ -4a + 8b &= 0, \\ a - 4b + 16c &= 1. \end{align*}Solving this system, we find $(a,b,c) = \boxed{\left( \frac{1}{4}, \frac{1}{8}, \frac{5}{64} \right)}.$
Precalculus
Evaluate \[\begin{vmatrix} y + 1 & y & y \\ y & y + 1 & y \\ y & y & y + 1 \end{vmatrix}.\]
Level 4
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*}
Precalculus
Let $a$ and $b$ be angles such that $\cos a + \cos b = \frac{1}{2}$ and $\sin a + \sin b = \frac{3}{11}.$ Find \[\tan \left( \frac{a + b}{2} \right).\]
Level 4
From the equation $\cos a + \cos b = \frac{1}{2},$ by sum-to-product, \[2 \cos \left( \frac{a + b}{2} \right) \cos \left( \frac{a - b}{2} \right) = \frac{1}{2}.\]Similarly, from the equation $\sin a + \sin b = \frac{3}{11},$ \[2 \sin \left( \frac{a + b}{2} \right) \cos \left( \frac{a - b}{2} \right) = \frac{3}{11}.\]Dividing these equations, we get \[\tan \left( \frac{a + b}{2} \right) = \boxed{\frac{6}{11}}.\]
Precalculus
Find the point on the line \[y = \frac{x + 5}{2}\]that is closest to the point $(6,1).$
Level 2
Note that $(1,3)$ and $(3,4)$ are two points on the line, so the line has a direction vector of \[\begin{pmatrix} 3 \\ 4 \end{pmatrix} - \begin{pmatrix} 1 \\ 3 \end{pmatrix} = \begin{pmatrix} 2 \\ 1 \end{pmatrix}.\][asy] unitsize(0.5 cm); pair A, B, C, D, V, P; A = (-8, (-8 + 5)/2); B = (5, (5 + 5)/2); C = (1,3); D = (3,4); V = (6,1); P = (V + reflect(A,B)*(V))/2; draw((-8,0)--(8,0)); draw((0,-4)--(0,5)); draw(A--B,red); draw(V--P,dashed); draw(C--V,Arrow(6)); draw(C--D,Arrow(6)); dot("$(6,1)$", V, E); dot("$(1,3)$", C, NW); dot("$(3,4)$", D, NW); [/asy] The vector going from $(1,3)$ to $(6,1)$ is $\begin{pmatrix} 6 \\ 1 \end{pmatrix} - \begin{pmatrix} 1 \\ 3 \end{pmatrix} = \begin{pmatrix} 5 \\ -2 \end{pmatrix}.$ Projecting this vector onto the direction vector, we get \[\operatorname{proj}_{\begin{pmatrix} 2 \\ 1 \end{pmatrix}} \begin{pmatrix} 5 \\ -2 \end{pmatrix} = \frac{\begin{pmatrix} 5 \\ -2 \end{pmatrix} \cdot \begin{pmatrix} 2 \\ 1 \end{pmatrix}}{\left\| \begin{pmatrix} 2 \\ 1 \end{pmatrix} \right\|^2} \begin{pmatrix} 2 \\ 1 \end{pmatrix} = \frac{8}{5} \begin{pmatrix} 2 \\ 1 \end{pmatrix} = \begin{pmatrix} \frac{16}{5} \\ \frac{8}{5} \end{pmatrix}.\][asy] usepackage("amsmath"); unitsize(0.5 cm); pair A, B, C, D, V, P; A = (-8, (-8 + 5)/2); B = (5, (5 + 5)/2); C = (1,3); D = (3,4); V = (6,1); P = (V + reflect(A,B)*(V))/2; draw((-8,0)--(8,0)); draw((0,-4)--(0,5)); draw(A--B,red); draw(V--P,dashed); draw(C--V,Arrow(6)); draw(C--P,Arrow(6)); label("$\begin{pmatrix} \frac{16}{5} \\ \frac{8}{5} \end{pmatrix}$", P, NW); dot("$(6,1)$", V, E); dot("$(1,3)$", C, NW); [/asy] Then \[\begin{pmatrix} 1 \\ 3 \end{pmatrix} + \begin{pmatrix} \frac{16}{5} \\ \frac{8}{5} \end{pmatrix} = \begin{pmatrix} \frac{21}{5} \\ \frac{23}{5} \end{pmatrix},\]so the point on the line closest to $(6,1)$ is $\boxed{\left( \frac{21}{5}, \frac{23}{5} \right)}.$
Precalculus
Find \[\sin \left( \sin^{-1} \frac{3}{5} + \tan^{-1} 2 \right).\]
Level 3
Let $a = \sin^{-1} \frac{3}{5}$ and $b = \tan^{-1} 2.$ Then $\sin a = \frac{3}{5}$ and $\tan b = 2.$ With the usual technique of constructing right triangles, we can find that $\cos a = \frac{4}{5},$ $\cos b = \frac{1}{\sqrt{5}},$ and $\sin b = \frac{2}{\sqrt{5}}.$ Therefore, from the angle addition formula, \begin{align*} \sin (a + b) &= \sin a \cos b + \cos a \sin b \\ &= \frac{3}{5} \cdot \frac{1}{\sqrt{5}} + \frac{4}{5} \cdot \frac{2}{\sqrt{5}} \\ &= \frac{11}{5 \sqrt{5}} \\ &= \boxed{\frac{11 \sqrt{5}}{25}}. \end{align*}
Precalculus
Below is the graph of $y = a \csc bx$ for some positive constants $a$ and $b.$ Find $a.$ [asy]import TrigMacros; size(500); real g(real x) { return 2*csc(x/3); } draw(graph(g,-6*pi + 0.01, -3*pi - 0.01),red); draw(graph(g,-3*pi + 0.01,-0.01),red); draw(graph(g,0.01,3*pi - 0.01),red); draw(graph(g,3*pi + 0.01,6*pi - 0.01),red); limits((-6*pi,-5),(6*pi,5),Crop); draw((-3*pi,-5)--(-3*pi,5),dashed); draw((3*pi,-5)--(3*pi,5),dashed); trig_axes(-6*pi,6*pi,-5,5,pi/2,1); layer(); rm_trig_labels(-11, 11, 2); label("$1$", (0,1), E); label("$2$", (0,2), E); label("$3$", (0,3), E); label("$4$", (0,4), E); label("$-1$", (0,-1), E); label("$-2$", (0,-2), E); label("$-3$", (0,-3), E); label("$-4$", (0,-4), E); [/asy]
Level 1
For the part where the function is positive, the minimum value is 2. The minimum value of $y = a \csc bx,$ where $y$ is positive, is $a.$ Therefore, $a = \boxed{2}.$
Precalculus
Let $\bold{v} = \begin{pmatrix} 5 \\ -3 \end{pmatrix}$ and $\bold{w} = \begin{pmatrix} 11 \\ -2 \end{pmatrix}$. Find the area of the parallelogram with vertices $\bold{0}$, $\bold{v}$, $\bold{w}$, and $\bold{v} + \bold{w}$.
Level 2
The area of the parallelogram is given by $|5 \cdot (-2) - 11 \cdot (-3)| = \boxed{23}.$
Precalculus
Find the point on the line \[y = -3x + 5\]that is closest to the point $(-4,-2).$
Level 3
Note that $(0,5)$ and $(1,2)$ are two points on the line, so the line has a direction vector of \[\begin{pmatrix} 1 \\ 2 \end{pmatrix} - \begin{pmatrix} 0 \\ 5 \end{pmatrix} = \begin{pmatrix} 1 \\ -3 \end{pmatrix}.\][asy] unitsize(0.4 cm); pair A, B, C, D, P, V; A = ((5 + 10)/3, -10); B = ((5 - 10)/3, 10); V = (-4,-2); P = (V + reflect(A,B)*(V))/2; C = (0,5); D = (1,2); draw((-10,0)--(10,0)); draw((0,-10)--(0,10)); draw(A--B,red); draw(V--P,dashed); draw(C--V,Arrow(6)); draw(C--D,Arrow(6)); dot("$(-4,-2)$", V, SW); dot("$(0,5)$", C, E); dot("$(1,2)$", D, E); [/asy] The vector going from $(0,5)$ to $(-4,-2)$ is $\begin{pmatrix} -4 \\ -2 \end{pmatrix} - \begin{pmatrix} 0 \\ 5 \end{pmatrix} = \begin{pmatrix} -4 \\ -7 \end{pmatrix}.$ Projecting this vector onto the direction vector, we get \[\operatorname{proj}_{\begin{pmatrix} 1 \\ -3 \end{pmatrix}} \begin{pmatrix} -4 \\ -7 \end{pmatrix} = \frac{\begin{pmatrix} -4 \\ -7 \end{pmatrix} \cdot \begin{pmatrix} 1 \\ -3 \end{pmatrix}}{\left\| \begin{pmatrix} 1 \\ -3 \end{pmatrix} \right\|^2} \begin{pmatrix} 1 \\ -3 \end{pmatrix} = \frac{17}{10} \begin{pmatrix} 1 \\ -3 \end{pmatrix} = \begin{pmatrix} \frac{17}{10} \\ -\frac{51}{10} \end{pmatrix}.\][asy] usepackage("amsmath"); unitsize(0.4 cm); pair A, B, C, D, P, V; A = ((5 + 10)/3, -10); B = ((5 - 10)/3, 10); V = (-4,-2); P = (V + reflect(A,B)*(V))/2; C = (0,5); D = (1,2); draw((-10,0)--(10,0)); draw((0,-10)--(0,10)); draw(A--B,red); draw(V--P,dashed); draw(C--V,Arrow(6)); draw(C--P,Arrow(6)); dot("$(-4,-2)$", V, SW); dot("$(0,5)$", C, E); dot("$\begin{pmatrix} \frac{17}{10} \\ -\frac{51}{10} \end{pmatrix}$", P, NE); [/asy] Then \[\begin{pmatrix} 0 \\ 5 \end{pmatrix} + \begin{pmatrix} \frac{17}{10} \\ -\frac{51}{10} \end{pmatrix} = \begin{pmatrix} \frac{17}{10} \\ -\frac{1}{10} \end{pmatrix},\]so the point on the line closest to $(-4,-2)$ is $\boxed{\left( \frac{17}{10}, -\frac{1}{10} \right)}.$
Precalculus
Compute $\cos 75^\circ.$
Level 1
From the angle addition formula, \begin{align*} \cos 75^\circ &= \cos (45^\circ + 30^\circ) \\ &= \cos 45^\circ \cos 30^\circ - \sin 45^\circ \sin 30^\circ \\ &= \frac{\sqrt{2}}{2} \cdot \frac{\sqrt{3}}{2} - \frac{\sqrt{2}}{2} \cdot \frac{1}{2} \\ &= \boxed{\frac{\sqrt{6} - \sqrt{2}}{4}}. \end{align*}
Precalculus
The sphere with radius 1 and center $(0,0,1)$ rests on the $xy$-plane. A light source is at $P = (0,-1,2).$ Then the boundary of the shadow of the sphere can be expressed in the form $y = f(x),$ for some function $f(x).$ Find the function $f(x).$
Level 5
Let $O = (0,0,1)$ be the center of the sphere, and let $X = (x,y,0)$ be a point on the boundary of the shadow. Since $X$ is on the boundary, $\overline{PX}$ is tangent to the sphere; let $T$ be the point of tangency. Note that $\angle PTO = 90^\circ.$ Also, lengths $OP$ and $OT$ are fixed, so $\angle OPT = \angle OPX$ is constant for all points $X$ on the boundary. [asy] import three; import solids; size(250); currentprojection = perspective(6,3,2); triple O = (0,0,1), P = (0,-1,2), X = (3, 3^2/4 - 1, 0), T = P + dot(O - P, X - P)/dot(X - P,X - P)*(X - P); real x; path3 shadow = (-1,1/4 - 1,0); for (x = -1; x <= 3.1; x = x + 0.1) { shadow = shadow--(x,x^2/4 - 1,0); } draw(surface(shadow--(3,9/4 - 1,0)--(3,3,0)--(-1,3,0)--(-1,1/4 - 1,0)--cycle),gray(0.8),nolight); draw((3,0,0)--(-2,0,0)); draw((0,3,0)--(0,-1.5,0)); draw(shadow); draw(shift((0,0,1))*surface(sphere(1)),gray(0.8)); draw(O--P,dashed + red); draw(P--X,red); draw(O--T,dashed + red); dot("$O$", O, SE, white); dot("$P$", P, NW); dot("$X$", X, S); dot(T, red); label("$T$", T, W); [/asy] If we take $X = (0,-1,0)$ and $T = (0,-1,1),$ we see that $\angle OPX = 45^\circ.$ Hence, the angle between $\overrightarrow{PX}$ and $\overrightarrow{PO}$ is $45^\circ.$ This means \[\frac{\begin{pmatrix} x \\ y + 1 \\ -2 \end{pmatrix} \cdot \begin{pmatrix} 0 \\ 1 \\ -1 \end{pmatrix}}{\left\| \begin{pmatrix} x \\ y + 1 \\ -2 \end{pmatrix} \right\| \left\| \begin{pmatrix} 0 \\ 1 \\ -1 \end{pmatrix} \right\|} = \cos 45^\circ = \frac{1}{\sqrt{2}}.\]Then \[\frac{(y + 1)(1) + (-2)(-1)}{\sqrt{x^2 + (y + 1)^2 + (-2)^2} \cdot \sqrt{2}} = \frac{1}{\sqrt{2}},\]or $y + 3 = \sqrt{x^2 + (y + 1)^2 + 4}.$ Squaring both sides, we get \[y^2 + 6y + 9 = x^2 + y^2 + 2y + 1 + 4.\]Solving for $y,$ we find $y = \frac{x^2}{4} - 1.$ Thus, $f(x) = \boxed{\frac{x^2}{4} - 1}.$
Precalculus
Compute \[\begin{pmatrix} 0 & c & -b \\ -c & 0 & a \\ b & -a & 0 \end{pmatrix} \begin{pmatrix} a^2 & ab & ac \\ ab & b^2 & bc \\ ac & bc & c^2 \end{pmatrix}.\]
Level 2
We can write the matrix product as \[\begin{pmatrix} \mathbf{r}_1 \\ \mathbf{r}_2 \\ \mathbf{r}_3 \end{pmatrix} \begin{pmatrix} | & | & | \\ a \mathbf{v} & b \mathbf{v} & c \mathbf{v} \\ | & | & | \end{pmatrix},\]where $\mathbf{r}_1 = (0,c,-b),$ $\mathbf{r}_2 = (-c,0,a),$ $\mathbf{r}_3 = (b,-a,0),$ and $\mathbf{v} = \begin{pmatrix} a \\ b \\ c \end{pmatrix}.$ We can confirm that $\mathbf{r}_i \cdot \mathbf{v} = 0$ for all $i,$ $1 \le i \le 3,$ so the product of the two matrices is simply the zero matrix, or \[\boxed{\begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix}}.\]
Precalculus
Find the matrix that corresponds to reflecting over the vector $\begin{pmatrix} 3 \\ 2 \end{pmatrix}.$
Level 4
Let $\mathbf{v} = \begin{pmatrix} x \\ y \end{pmatrix},$ let $\mathbf{r}$ be the reflection of $\mathbf{v}$ over $\begin{pmatrix} 3 \\ 2 \end{pmatrix},$ and let $\mathbf{p}$ be the projection of $\mathbf{v}$ onto $\begin{pmatrix} 3 \\ 2 \end{pmatrix}.$ Note that $\mathbf{p}$ is the midpoint of $\mathbf{v}$ and $\mathbf{r}.$ Thus, we can use $\mathbf{p}$ to compute the reflection matrix. [asy] unitsize(1 cm); pair D, P, R, V; D = (3,2); V = (1.5,2); R = reflect((0,0),D)*(V); P = (V + R)/2; draw((-1,0)--(4,0)); draw((0,-1)--(0,3)); draw((0,0)--D,Arrow(6)); draw((0,0)--V,red,Arrow(6)); draw((0,0)--R,blue,Arrow(6)); draw((0,0)--P,green,Arrow(6)); draw(V--R,dashed); label("$\mathbf{p}$", P, S); label("$\mathbf{v}$", V, N); label("$\mathbf{r}$", R, SE); [/asy] From the projection formula, \begin{align*} \mathbf{p} &= \operatorname{proj}_{\begin{pmatrix} 3 \\ 2 \end{pmatrix}} \begin{pmatrix} x \\ y \end{pmatrix} \\ &= \frac{\begin{pmatrix} x \\ y \end{pmatrix} \cdot \begin{pmatrix} 3 \\ 2 \end{pmatrix}}{\begin{pmatrix} 3 \\ 2 \end{pmatrix} \cdot \begin{pmatrix} 3 \\ 2 \end{pmatrix}} \begin{pmatrix} 3 \\ 2 \end{pmatrix} \\ &= \frac{3x + 2y}{13} \begin{pmatrix} 3 \\ 2 \end{pmatrix} \\ &= \begin{pmatrix} \frac{9x + 6y}{13} \\ \frac{6x + 4y}{13} \end{pmatrix}. \end{align*}Since $\mathbf{p}$ is the midpoint of $\mathbf{v}$ and $\mathbf{r},$ \[\mathbf{p} = \frac{\mathbf{v} + \mathbf{r}}{2}.\]Then \begin{align*} \mathbf{r} &= 2 \mathbf{p} - \mathbf{v} \\ &= 2 \begin{pmatrix} \frac{9x + 6y}{13} \\ \frac{6x + 4y}{13} \end{pmatrix} - \begin{pmatrix} x \\ y \end{pmatrix} \\ &= \begin{pmatrix} \frac{5x + 12y}{13} \\ \frac{12x - 5y}{13} \end{pmatrix} \\ &= \begin{pmatrix} 5/13 & 12/13 \\ 12/13 & -5/13 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix}. \end{align*}Thus, the matrix is $\boxed{\begin{pmatrix} 5/13 & 12/13 \\ 12/13 & -5/13 \end{pmatrix}}.$
Precalculus
Find all values of $x$ with $0 \le x < 2 \pi$ that satisfy $\sin x + \cos x = \sqrt{2}.$ Enter all the solutions, separated by commas.
Level 2
Squaring both sides, we get \[\sin^2 x + 2 \sin x \cos x + \cos x^2 = 2.\]Then $2 \sin x \cos x = 1,$ so $\sin 2x = 1.$ Since $0 \le x < 2 \pi,$ $2x = \frac{\pi}{2}$ or $2x = \frac{5 \pi}{2},$ so $x = \frac{\pi}{4}$ or $x = \frac{5 \pi}{4}.$ We check that only $\boxed{\frac{\pi}{4}}$ works.
Precalculus
Suppose that $wz = 12-8i$, and $|w| = \sqrt{13}$. What is $|z|$?
Level 2
Since $wz = 12-8i$, we have \[|wz| = |12-8i| = |4(3-2i)| = 4|3-2i| = 4\sqrt{3^2 + (-2)^2} = 4\sqrt{13}.\]Since $|wz| = |w|\cdot |z|$, we have $|w|\cdot |z| = 4\sqrt{13}$. Finally, since we are given that $|w| = \sqrt{13}$, we have $|z| = \boxed{4}$.
Precalculus
Find the point on the line \[y = -3x + 5\]that is closest to the point $(-4,-2).$
Level 3
Note that $(0,5)$ and $(1,2)$ are two points on the line, so the line has a direction vector of \[\begin{pmatrix} 1 \\ 2 \end{pmatrix} - \begin{pmatrix} 0 \\ 5 \end{pmatrix} = \begin{pmatrix} 1 \\ -3 \end{pmatrix}.\][asy] unitsize(0.4 cm); pair A, B, C, D, P, V; A = ((5 + 10)/3, -10); B = ((5 - 10)/3, 10); V = (-4,-2); P = (V + reflect(A,B)*(V))/2; C = (0,5); D = (1,2); draw((-10,0)--(10,0)); draw((0,-10)--(0,10)); draw(A--B,red); draw(V--P,dashed); draw(C--V,Arrow(6)); draw(C--D,Arrow(6)); dot("$(-4,-2)$", V, SW); dot("$(0,5)$", C, E); dot("$(1,2)$", D, E); [/asy] The vector going from $(0,5)$ to $(-4,-2)$ is $\begin{pmatrix} -4 \\ -2 \end{pmatrix} - \begin{pmatrix} 0 \\ 5 \end{pmatrix} = \begin{pmatrix} -4 \\ -7 \end{pmatrix}.$ Projecting this vector onto the direction vector, we get \[\operatorname{proj}_{\begin{pmatrix} 1 \\ -3 \end{pmatrix}} \begin{pmatrix} -4 \\ -7 \end{pmatrix} = \frac{\begin{pmatrix} -4 \\ -7 \end{pmatrix} \cdot \begin{pmatrix} 1 \\ -3 \end{pmatrix}}{\left\| \begin{pmatrix} 1 \\ -3 \end{pmatrix} \right\|^2} \begin{pmatrix} 1 \\ -3 \end{pmatrix} = \frac{17}{10} \begin{pmatrix} 1 \\ -3 \end{pmatrix} = \begin{pmatrix} \frac{17}{10} \\ -\frac{51}{10} \end{pmatrix}.\][asy] usepackage("amsmath"); unitsize(0.4 cm); pair A, B, C, D, P, V; A = ((5 + 10)/3, -10); B = ((5 - 10)/3, 10); V = (-4,-2); P = (V + reflect(A,B)*(V))/2; C = (0,5); D = (1,2); draw((-10,0)--(10,0)); draw((0,-10)--(0,10)); draw(A--B,red); draw(V--P,dashed); draw(C--V,Arrow(6)); draw(C--P,Arrow(6)); dot("$(-4,-2)$", V, SW); dot("$(0,5)$", C, E); dot("$\begin{pmatrix} \frac{17}{10} \\ -\frac{51}{10} \end{pmatrix}$", P, NE); [/asy] Then \[\begin{pmatrix} 0 \\ 5 \end{pmatrix} + \begin{pmatrix} \frac{17}{10} \\ -\frac{51}{10} \end{pmatrix} = \begin{pmatrix} \frac{17}{10} \\ -\frac{1}{10} \end{pmatrix},\]so the point on the line closest to $(-4,-2)$ is $\boxed{\left( \frac{17}{10}, -\frac{1}{10} \right)}.$
Precalculus
Find the range of the function $f(x) = \arcsin x + \arccos x + \arctan x.$ All functions are in radians.
Level 4
Note that $f(x)$ is defined only for $-1 \le x \le 1.$ First, we claim that $\arccos x + \arcsin x = \frac{\pi}{2}$ for all $x \in [-1,1].$ Note that \[\cos \left( \frac{\pi}{2} - \arcsin x \right) = \cos (\arccos x) = x.\]Furthermore, $-\frac{\pi}{2} \le \arcsin x \le \frac{\pi}{2},$ so $0 \le \frac{\pi}{2} - \arcsin x \le \pi.$ Therefore, \[\frac{\pi}{2} - \arcsin x = \arccos x,\]so $\arccos x + \arcsin x = \frac{\pi}{2}.$ The range of $\arctan x$ on $[-1,1]$ is $\left[ -\frac{\pi}{4}, \frac{\pi}{4} \right],$ so the range of $f(x)$ is $\boxed{\left[ \frac{\pi}{4}, \frac{3 \pi}{4} \right]}.$
Precalculus
In triangle $ABC,$ points $D$ and $E$ are on $\overline{AB}$ and $\overline{AC},$ respectively, and angle bisector $\overline{AT}$ intersects $\overline{DE}$ at $F.$ If $AD = 1,$ $DB = 3,$ $AE = 2,$ and $EC = 4,$ compute $\frac{AF}{AT}.$ [asy] unitsize(1 cm); pair A, B, C, D, E, F, T; B = (0,0); C = (5,0); A = intersectionpoint(arc(B,4,0,180),arc(C,6,0,180)); D = interp(A,B,1/4); E = interp(A,C,2/6); T = extension(A, incenter(A,B,C), B, C); F = extension(A, T, D, E); draw(A--B--C--cycle); draw(A--T); draw(D--E); label("$A$", A, N); label("$B$", B, SW); label("$C$", C, SE); label("$D$", D, W); label("$E$", E, NE); label("$F$", F, SW); label("$T$", T, S); [/asy]
Level 4
Let $\mathbf{a}$ denote $\overrightarrow{A},$ etc. Then from the given information, \[\mathbf{d} = \frac{3}{4} \mathbf{a} + \frac{1}{4} \mathbf{b}\]and \[\mathbf{e} = \frac{2}{3} \mathbf{a} + \frac{1}{3} \mathbf{c}.\]Hence, $\mathbf{b} = 4 \mathbf{d} - 3 \mathbf{a}$ and $\mathbf{c} = 3 \mathbf{e} - 2 \mathbf{a}.$ By the Angle Bisector Theorem, $\frac{BT}{TC} = \frac{AB}{AC} = \frac{4}{6} = \frac{2}{3},$ so \begin{align*} \mathbf{t} &= \frac{3}{5} \mathbf{b} + \frac{2}{5} \mathbf{c} \\ &= \frac{3}{5} (4 \mathbf{d} - 3 \mathbf{a}) + \frac{2}{5} (3 \mathbf{e} - 2 \mathbf{a}) \\ &= \frac{12}{5} \mathbf{d} + \frac{6}{5} \mathbf{e} - \frac{13}{5} \mathbf{a}. \end{align*}Then $\mathbf{t} + \frac{13}{5} \mathbf{a} = \frac{12}{5} \mathbf{d} + \frac{6}{5} \mathbf{e},$ or \[\frac{5}{18} \mathbf{t} + \frac{13}{18} \mathbf{a} = \frac{12}{18} \mathbf{d} + \frac{6}{18} \mathbf{e}.\]Since the coefficients on both sides of the equation add up to 1, the vector on the left side lies on line $AT,$ and the vector on the right side lies on line $DE.$ Therefore, this common vector is $\mathbf{f}.$ Furthermore, $\frac{AF}{AT} = \boxed{\frac{5}{18}}.$
Precalculus
Given quadrilateral $ABCD,$ side $\overline{AB}$ is extended past $B$ to $A'$ so that $A'B = AB.$ Points $B',$ $C',$ and $D'$ are similarly constructed. [asy] unitsize(1 cm); pair[] A, B, C, D; A[0] = (0,0); B[0] = (2,0); C[0] = (1.5,2); D[0] = (0.2,1.5); A[1] = 2*B[0] - A[0]; B[1] = 2*C[0] - B[0]; C[1] = 2*D[0] - C[0]; D[1] = 2*A[0] - D[0]; draw(A[0]--A[1]); draw(B[0]--B[1]); draw(C[0]--C[1]); draw(D[0]--D[1]); label("$A$", A[0], W); label("$A'$", A[1], E); label("$B$", B[0], S); label("$B'$", B[1], N); label("$C$", C[0], NE); label("$C'$", C[1], SW); label("$D$", D[0], N); label("$D'$", D[1], S); [/asy] After this construction, points $A,$ $B,$ $C,$ and $D$ are erased. You only know the locations of points $A',$ $B',$ $C'$ and $D',$ and want to reconstruct quadrilateral $ABCD.$ There exist real numbers $p,$ $q,$ $r,$ and $s$ such that \[\overrightarrow{A} = p \overrightarrow{A'} + q \overrightarrow{B'} + r \overrightarrow{C'} + s \overrightarrow{D'}.\]Enter the ordered quadruple $(p,q,r,s).$
Level 5
Since $B$ is the midpoint of $\overline{AA'},$ \[\overrightarrow{B} = \frac{1}{2} \overrightarrow{A} + \frac{1}{2} \overrightarrow{A'}.\]Since $C$ is the midpoint of $\overline{BB'},$ \begin{align*} \overrightarrow{C} &= \frac{1}{2} \overrightarrow{B} + \frac{1}{2} \overrightarrow{B'} \\ &= \frac{1}{2} \left( \frac{1}{2} \overrightarrow{A} + \frac{1}{2} \overrightarrow{A'} \right) + \frac{1}{2} \overrightarrow{B'} \\ &= \frac{1}{4} \overrightarrow{A} + \frac{1}{4} \overrightarrow{A'} + \frac{1}{2} \overrightarrow{B'}. \end{align*}Similarly, \begin{align*} \overrightarrow{D} &= \frac{1}{2} \overrightarrow{C} + \frac{1}{2} \overrightarrow{C'} \\ &= \frac{1}{2} \left( \frac{1}{4} \overrightarrow{A} + \frac{1}{4} \overrightarrow{A'} + \frac{1}{2} \overrightarrow{B'} \right) + \frac{1}{2} \overrightarrow{C'} \\ &= \frac{1}{8} \overrightarrow{A} + \frac{1}{8} \overrightarrow{A'} + \frac{1}{4} \overrightarrow{B'} + \frac{1}{2} \overrightarrow{C'}, \end{align*}and \begin{align*} \overrightarrow{A} &= \frac{1}{2} \overrightarrow{D} + \frac{1}{2} \overrightarrow{D'} \\ &= \frac{1}{2} \left( \frac{1}{8} \overrightarrow{A} + \frac{1}{8} \overrightarrow{A'} + \frac{1}{4} \overrightarrow{B'} + \frac{1}{2} \overrightarrow{C'} \right) + \frac{1}{2} \overrightarrow{D'} \\ &= \frac{1}{16} \overrightarrow{A} + \frac{1}{16} \overrightarrow{A'} + \frac{1}{8} \overrightarrow{B'} + \frac{1}{4} \overrightarrow{C'} + \frac{1}{2} \overrightarrow{D'}. \end{align*}Solving for $\overrightarrow{A},$ we find \[\overrightarrow{A} = \frac{1}{15} \overrightarrow{A'} + \frac{2}{15} \overrightarrow{B'} + \frac{4}{15} \overrightarrow{C'} + \frac{8}{15} \overrightarrow{D'}.\]Thus, $(p,q,r,s) = \boxed{\left( \frac{1}{15}, \frac{2}{15}, \frac{4}{15}, \frac{8}{15} \right)}.$
Precalculus
The equation of the line joining the complex numbers $-2 + 3i$ and $1 + i$ can be expressed in the form \[az + b \overline{z} = 10\]for some complex numbers $a$ and $b$. Find the product $ab$.
Level 5
Solution 1: Let $u = -2 + 3i$ and $v = 1 + i$, and let $z$ lie on the line joining $u$ and $v.$ Then \[\frac{z - u}{v - u}\]is real. But a complex number is real if and only if it is equal to its conjugate, which gives us the equation \[\frac{z - u}{v - u} = \frac{\overline{z} - \overline{u}}{\overline{v} - \overline{u}}.\]Substituting $u = -2 + 3i$ and $v = 1 + i$, we get \[\frac{z + 2 - 3i}{3 - 2i} = \frac{\overline{z} + 2 + 3i}{3 + 2i}.\]Cross-multiplying, we get \[(3 + 2i)(z + 2 - 3i) = (3 - 2i)(\overline{z} + 2 + 3i).\]This simplifies to \[(3 + 2i) z + (-3 + 2i) = 10i.\]Multiplying both sides by $-i$, we get \[(2 - 3i) z + (2 + 3i) \overline{z} = 10.\]Hence, $a = 2 - 3i$ and $b = 2 + 3i$, so $ab = (2 - 3i)(2 + 3i) = \boxed{13}$. Solution 2: Substituting $z = -2 + 3i$ and $z = 1 + i$ in the given equation, we obtain the system of equations \begin{align*} (-2 + 3i) a + (-2 - 3i) b &= 10, \\ (1 + i) a + (1 - i) b &= 10. \end{align*}Subtracting these equations, we get \[(3 - 2i) a + (3 + 2i) b = 0,\]so \[b = -\frac{3 - 2i}{3 + 2i} a.\]Substituting into the first equation, we get \[(-2 + 3i) a - (-2 - 3i) \cdot \frac{3 - 2i}{3 + 2i} a = 10.\]Solving for $a$, we find $a = 2 - 3i.$ Then $b = 2 + 3i$, so $ab = (2 - 3i)(2 + 3i) = \boxed{13}$.
Precalculus
Let $a,$ $b,$ $c$ be nonzero real numbers. Find the number of real roots of the equation \[\begin{vmatrix} x & c & -b \\ -c & x & a \\ b & -a & x \end{vmatrix} = 0.\]
Level 3
We can expand the determinant as follows: \begin{align*} \begin{vmatrix} x & c & -b \\ -c & x & a \\ b & -a & x \end{vmatrix} &= x \begin{vmatrix} x & a \\ -a & x \end{vmatrix} - c \begin{vmatrix} -c & a \\ b & x \end{vmatrix} - b \begin{vmatrix} -c & x \\ b & -a \end{vmatrix} \\ &= x(x^2 + a^2) - c(-cx - ab) - b(ac - bx) \\ &= x(x^2 + a^2 + b^2 + c^2). \end{align*}Since $a,$ $b,$ and $c$ are nonzero, the equation $x^2 + a^2 + b^2 + c^2 = 0$ has no real solutions. Therefore, there is only $\boxed{1}$ real solution, namely $x = 0.$
Precalculus
Compute \[ \begin{vmatrix} \cos 1 & \cos 2 & \cos 3 \\ \cos 4 & \cos 5 & \cos 6 \\ \cos 7 & \cos 8 & \cos 9 \end{vmatrix} .\]All the angles are in radians.
Level 2
The entries in each row are $\cos n,$ $\cos (n + 1),$ and $\cos (n + 2)$ for some integer $n.$ From the angle addition formula, \[\cos n + \cos (n + 2) = 2 \cos (n + 1) \cos 1.\]Then \[\cos (n + 2) = 2 \cos 1 \cos (n + 1) - \cos n.\]Thus, we can obtain the third column of the matrix by multiplying the second column by $2 \cos 1,$ and subtracting the first column. In other words, the third column is a linear combination of the first two columns. Therefore, the determinant is $\boxed{0}.$
Precalculus
Find $\sec 135^\circ.$
Level 1
We have that \[\sec 135^\circ = \frac{1}{\cos 135^\circ}.\]Then $\cos 135^\circ = -\cos (135^\circ - 180^\circ) = -\cos (-45^\circ) = -\cos 45^\circ = -\frac{1}{\sqrt{2}},$ so \[\frac{1}{\cos 135^\circ} = \boxed{-\sqrt{2}}.\]
Precalculus
Compute $\tan 60^\circ$.
Level 1
Let $P$ be the point on the unit circle that is $60^\circ$ counterclockwise from $(1,0)$, and let $D$ be the foot of the altitude from $P$ to the $x$-axis, as shown below. [asy] pair A,C,P,O,D; draw((0,-1.2)--(0,1.2),p=black+1.2bp,Arrows(0.15cm)); draw((-1.2,0)--(1.2,0),p=black+1.2bp,Arrows(0.15cm)); A = (1,0); O= (0,0); label("$x$",(1.2,0),SE); label("$y$",(0,1.2),NE); P = rotate(60)*A; D = foot(P,A,-A); draw(O--P--D); draw(rightanglemark(O,D,P,2)); draw(Circle(O,1)); label("$O$",O,SE); label("$P$",P,NE); //label("$A$",A,SE); label("$D$",D,S); [/asy] Triangle $POD$ is a 30-60-90 triangle, so $DO = \frac{1}{2}$ and $DP = \frac{\sqrt{3}}{2}$. Therefore, the coordinates of $P$ are $\left(\frac{1}{2}, \frac{\sqrt{3}}{2}\right)$, so $\tan 60^\circ =\frac{\sin 60^\circ}{\cos 60^\circ} = \frac{\sqrt{3}/2}{1/2} = \boxed{\sqrt{3}}$.
Precalculus
If \[\begin{pmatrix} 1 & 2 & a \\ 0 & 1 & 4 \\ 0 & 0 & 1 \end{pmatrix}^n = \begin{pmatrix} 1 & 18 & 2007 \\ 0 & 1 & 36 \\ 0 & 0 & 1 \end{pmatrix},\]then find $a + n.$
Level 3
Let $\mathbf{A} = \begin{pmatrix} 1 & 2 & a \\ 0 & 1 & 4 \\ 0 & 0 & 1 \end{pmatrix}.$ Then we can write $\mathbf{A} = \mathbf{I} + \mathbf{B},$ where \[\mathbf{B} = \begin{pmatrix} 0 & 2 & a \\ 0 & 0 & 4 \\ 0 & 0 & 0 \end{pmatrix}.\]Note that \[\mathbf{B}^2 = \begin{pmatrix} 0 & 2 & a \\ 0 & 0 & 4 \\ 0 & 0 & 0 \end{pmatrix} \begin{pmatrix} 0 & 2 & a \\ 0 & 0 & 4 \\ 0 & 0 & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 8 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix}\]and \[\mathbf{B}^3 = \mathbf{B} \mathbf{B}^2 = \begin{pmatrix} 0 & 2 & a \\ 0 & 0 & 4 \\ 0 & 0 & 0 \end{pmatrix} \begin{pmatrix} 0 & 0 & 8 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} = \mathbf{0}.\]Then by the Binomial Theorem, \begin{align*} \mathbf{A}^n &= (\mathbf{I} + \mathbf{B})^n \\ &= \mathbf{I}^n + \binom{n}{1} \mathbf{I}^{n - 1} \mathbf{B} + \binom{n}{2} \mathbf{I}^{n - 2} \mathbf{B}^2 + \binom{n}{3} \mathbf{I}^{n - 3} \mathbf{B}^3 + \dots + \mathbf{B}^n \\ &= \mathbf{I} + n \mathbf{B} + \frac{n(n - 1)}{2} \mathbf{B}^2 \\ &= \begin{pmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{pmatrix} + n \begin{pmatrix} 0 & 2 & a \\ 0 & 0 & 4 \\ 0 & 0 & 0 \end{pmatrix} + \frac{n(n - 1)}{2} \begin{pmatrix} 0 & 0 & 8 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} \\ &= \begin{pmatrix} 1 & 2n & an + 4n(n - 1) \\ 0 & 1 & 4n \\ 0 & 0 & 1 \end{pmatrix}. \end{align*}Hence, $2n = 18,$ $an + 4n(n - 1) = 2007,$ and $4n = 36.$ Solving, we find $a = 191$ and $n = 9,$ so $a + n = \boxed{200}.$ Note: We can expand $(\mathbf{I} + \mathbf{B})^{2016}$ using the Binomial Theorem because the matrices $\mathbf{B}$ and $\mathbf{I}$ commute, i.e. $\mathbf{B} \mathbf{I} = \mathbf{I} \mathbf{B}.$ In general, expanding a power of $\mathbf{A} + \mathbf{B}$ is difficult. For example, \[(\mathbf{A} + \mathbf{B})^2 = \mathbf{A}^2 + \mathbf{A} \mathbf{B} + \mathbf{B} \mathbf{A} + \mathbf{B}^2,\]and without knowing more about $\mathbf{A}$ and $\mathbf{B},$ this cannot be simplified.
Precalculus
A cube with side length 10 is suspended above a plane. The vertex closest to the plane is labeled $A$. The three vertices adjacent to vertex $A$ are at heights 10, 11, and 12 above the plane. The distance from vertex $A$ to the plane can be expressed as $ \frac{r-\sqrt{s}}{t}$, where $r$, $s$, and $t$ are positive integers, and $r+s+t<{1000}$. Find $r+s+t.$
Level 3
Place the cube in space so that $A$ is at the origin, and the three vertices adjacent to $A$ are $(10,0,0),$ $(0,10,0),$ and $(0,0,10).$ Let the equation of the plane be \[ax + by + cz + d = 0,\]where $a^2 + b^2 + c^2 = 1.$ Then, the (directed) distance from any point $(x,y,z)$ to the plane is $ax+by+cz+d.$ [asy] import three; // calculate intersection of line and plane // p = point on line // d = direction of line // q = point in plane // n = normal to plane triple lineintersectplan(triple p, triple d, triple q, triple n) { return (p + dot(n,q - p)/dot(n,d)*d); } // projection of point A onto plane BCD triple projectionofpointontoplane(triple A, triple B, triple C, triple D) { return lineintersectplan(A, cross(B - D, C - D), B, cross(B - D, C - D)); } size(250); currentprojection = perspective(6,3,2); triple A, B, C, D, X, Y, Z, P, Q, R, T; triple[] S; real a, b, c, d; A = (0,0,0); B = (10,0,0); C = (0,10,0); D = (0,0,10); a = 0.471548; b = 0.571548; c = 0.671548; d = 5.28452; X = (-d/a,0,0); Y = (0,-d/b,0); Z = (0,0,-d/c); P = projectionofpointontoplane(B, X, Y, Z); Q = projectionofpointontoplane(C, X, Y, Z); R = projectionofpointontoplane(D, X, Y, Z); T = projectionofpointontoplane(A, X, Y, Z); S[1] = -0.5*X + 2*Y - 0.5*Z; S[2] = 2*X - 0.5*Y - 0.5*Z; S[3] = S[2] + 0.5*cross((a,b,c),S[1] - S[2]); S[4] = S[1] + S[3] - S[2]; draw(surface(S[1]--S[2]--S[3]--S[4]--cycle),paleyellow,nolight); draw(S[1]--S[2]--S[3]--S[4]--cycle); draw(A--B); draw(A--C); draw(A--D); draw(B--P,dashed); draw(C--Q,dashed); draw(D--R,dashed); draw(A--T,dashed); dot("$(0,0,0)$", A, NE); dot("$(10,0,0)$", B, NW); dot("$(0,10,0)$", C, NE); dot("$(0,0,10)$", D, N); dot(P); dot(Q); dot(R); dot(T); [/asy] So, by looking at the three vertices, we have $10a+d=10,$ $10b+d=11,$ and $10c+d=12.$ Then $10a = 10 - d,$ $10b = 11 - d,$ and $10c = 12 - d,$ so \[(10-d)^2+(11-d)^2+(12-d)^2= 100\cdot(a^2+b^2+c^2)=100.\]Solving for $d,$ we find \[d = 11 \pm 7 \sqrt{\frac{2}{3}}.\]Note that the distance from the origin to the plane is $d,$ which must be less than 10, so \[d = 11 - 7 \sqrt{\frac{2}{3}} = \frac{33 - \sqrt{294}}{3}.\]The final answer is $33+294+3=\boxed{330}$.
Precalculus
What is the matrix $\mathbf{M}$ that performs the transformation which sends square $ABCD$ to square $A'B'C'D'$? (In particular, $A$ goes to $A',$ and so on.) [asy] size(200); import graph; pair Z=(0,0), A=(2,3), B=(-3,2), C=(-4,1), D=(-1,-4); Label f; f.p=fontsize(6); xaxis(-1.5,1.5,Ticks(f, 1.0)); yaxis(-0.5,2.5,Ticks(f, 1.0)); draw((0,0)--(1,0)--(1,1)--(0,1)--(0,0),red); dot((0,0)); label("$A=A'$", (0,0), SE); dot((1,0)); label("$D$", (1,0), NE); dot((1,1)); label("$C=D'$", (1,1), E); dot((0,1)); label("$B$", (0,1), NE); draw((0,0)--(1,1)--(0,2)--(-1,1)--(0,0), blue); dot((0,2)); label("$C'$", (0,2), NE); dot((-1,1)); label("$B'$", (-1,1), W); [/asy]
Level 3
Note that we're rotating $ABCD$ by $45^\circ$ and scaling by $\sqrt 2$ so that $$ \mathbf M = \sqrt 2\begin{pmatrix} \cos 45^\circ & -\sin 45^\circ \\ \sin 45^\circ & \phantom -\cos 45^\circ \end{pmatrix} = \boxed{\begin{pmatrix} 1 & -1 \\ 1 & \phantom -1 \end{pmatrix}}. $$Alternatively, we note that $\mathbf M \begin{pmatrix} 1 \\ 0 \end{pmatrix} = \begin{pmatrix} 1 \\ 1 \end{pmatrix}$ and $\mathbf M \begin{pmatrix} 0 \\ 1 \end{pmatrix} = \begin{pmatrix} -1 \\ 1 \end{pmatrix}.$ Since $\mathbf{M} \begin{pmatrix} 1 \\ 0 \end{pmatrix}$ and $\mathbf{M} \begin{pmatrix} 0 \\ 1 \end{pmatrix}$ determine the first and second columns of $\mathbf M,$ respectively, we know this is our answer.
Precalculus
Let $a = \pi/2008$. Find the smallest positive integer $n$ such that\[2[\cos(a)\sin(a) + \cos(4a)\sin(2a) + \cos(9a)\sin(3a) + \cdots + \cos(n^2a)\sin(na)]\]is an integer.
Level 5
By the product-to-sum identities, we have that $2\cos a \sin b = \sin (a+b) - \sin (a-b)$. Therefore, this reduces to a telescoping series:\begin{align*} \sum_{k=1}^{n} 2\cos(k^2a)\sin(ka) &= \sum_{k=1}^{n} [\sin(k(k+1)a) - \sin((k-1)ka)]\\ &= -\sin(0) + \sin(2a)- \sin(2a) + \sin(6a) - \cdots - \sin((n-1)na) + \sin(n(n+1)a)\\ &= -\sin(0) + \sin(n(n+1)a) = \sin(n(n+1)a) \end{align*} Thus, we need $\sin \left(\frac{n(n+1)\pi}{2008}\right)$ to be an integer; this can be only $\{-1,0,1\}$, which occur when $2 \cdot \frac{n(n+1)}{2008}$ is an integer. Thus $1004 = 2^2 \cdot 251 | n(n+1) \Longrightarrow 251 | n, n+1$. It easily follows that $n = \boxed{251}$ is the smallest such integer.
Precalculus