problem
stringlengths
16
4.31k
type
stringclasses
7 values
level
stringclasses
6 values
solution
stringlengths
0
6.9k
Find the matrix that corresponds to rotating about the origin by an angle of $120^\circ$ counter-clockwise.
Precalculus
Level 3
Step 1: The transformation that rotates about the origin by an angle of $120^\circ$ counter-clockwise takes $\begin{pmatrix} 1 \\ 0 \end{pmatrix}$ to $\begin{pmatrix} -1/2 \\ \sqrt{3}/2 \end{pmatrix},$ and $\begin{pmatrix} 0 \\ 1 \end{pmatrix}$ to $\begin{pmatrix} -\sqrt{3}/2 \\ -1/2 \end{pmatrix},$ so the matrix is \[\boxed{\begin{pmatrix} -1/2 & -\sqrt{3}/2 \\ \sqrt{3}/2 & -1/2 \end{pmatrix}}
A point has rectangular coordinates $(-5,-7,4)$ and spherical coordinates $(\rho, \theta, \phi).$ Find the rectangular coordinates of the point with spherical coordinates $(\rho, \theta, -\phi).$
Precalculus
Level 4
Step 1: We have that \begin{align*} -5 &= \rho \sin \phi \cos \theta, \\ -7 &= \rho \sin \phi \sin \theta, \\ 4 &= \rho \cos \phi Step 2: \end{align*}Then \begin{align*} \rho \sin (-\phi) \cos \theta &= -\rho \sin \phi \cos \theta = 5, \\ \rho \sin (-\phi) \sin \theta &= -\rho \sin \phi \sin \theta = 7, \\ \rho \cos (-\phi) &= \rho \cos \phi = 4 Step 3: \end{align*}so the rectangular coordinates are $\boxed{(5,7,4)}
Compute $\sin 6^\circ \sin 42^\circ \sin 66^\circ \sin 78^\circ.$
Precalculus
Level 3
Step 1: Since $\sin 66^\circ = \cos 24^\circ$ and $\sin 78^\circ = \cos 12^\circ,$ the product is equal to \[\sin 6^\circ \cos 12^\circ \cos 24^\circ \sin 42^\circ Step 2: \]Then \[\sin 6^\circ \cos 12^\circ \cos 24^\circ \sin 42^\circ = \frac{\cos 6^\circ \sin 6^\circ \cos 12^\circ \cos 24^\circ \sin 42^\circ}{\cos 6^\circ} Step 3: \]By the double-angle formula, $2 \cos 6^\circ \sin 6^\circ = \sin 12^\circ,$ so \[\frac{\cos 6^\circ \sin 6^\circ \cos 12^\circ \cos 24^\circ \sin 42^\circ}{\cos 6^\circ} = \frac{\sin 12^\circ \cos 12^\circ \cos 24^\circ \sin 42^\circ}{2 \cos 6^\circ} Step 4: \]From the same formula, \begin{align*} \frac{\sin 12^\circ \cos 12^\circ \cos 24^\circ \sin 42^\circ}{2 \cos 6^\circ} &= \frac{\sin 24^\circ \cos 24^\circ \sin 42^\circ}{4 \cos 6^\circ} \\ &= \frac{\sin 48^\circ \sin 42^\circ}{8 \cos 6^\circ} Step 5: \end{align*}Then \[\frac{\sin 48^\circ \sin 42^\circ}{8 \cos 6^\circ} = \frac{\cos 42^\circ \sin 42^\circ}{8 \cos 6^\circ} = \frac{\sin 84^\circ}{16 \cos 6^\circ} = \frac{\cos 6^\circ}{16 \cos 6^\circ} = \boxed{\frac{1}{16}}
Let $H$ be the orthocenter of triangle $ABC.$ For all points $P$ on the circumcircle of triangle $ABC,$ \[PA^2 + PB^2 + PC^2 - PH^2\]is a constant. Express this constant in terms of the side lengths $a,$ $b,$ $c$ and circumradius $R$ of triangle $ABC.$
Precalculus
Level 5
Step 1: Let the circumcenter $O$ of triangle $ABC$ be the origin, so $\|\overrightarrow{P}\| = R Step 2: $ Also, $\overrightarrow{H} = \overrightarrow{A} + \overrightarrow{B} + \overrightarrow{C} Step 3: $ Then \begin{align*} PA^2 &= \|\overrightarrow{P} - \overrightarrow{A}\|^2 \\ &= (\overrightarrow{P} - \overrightarrow{A}) \cdot (\overrightarrow{P} - \overrightarrow{A}) \\ &= \overrightarrow{P} \cdot \overrightarrow{P} - 2 \overrightarrow{A} \cdot \overrightarrow{P} + \overrightarrow{A} \cdot \overrightarrow{A} \\ &= R^2 - 2 \overrightarrow{A} \cdot \overrightarrow{P} + R^2 \\ &= 2R^2 - 2 \overrightarrow{A} \cdot \overrightarrow{P} Step 4: \end{align*}Similarly, \begin{align*} PB^2 &= 2R^2 - 2 \overrightarrow{B} \cdot \overrightarrow{P}, \\ PC^2 &= 2R^2 - 2 \overrightarrow{C} \cdot \overrightarrow{P}, \end{align*}and \begin{align*}PH^2 &= \|\overrightarrow{P} - \overrightarrow{H}\|^2 \\ &= \|\overrightarrow{P} - \overrightarrow{A} - \overrightarrow{B} - \overrightarrow{C}\|^2 \\ &= \overrightarrow{A} \cdot \overrightarrow{A} + \overrightarrow{B} \cdot \overrightarrow{B} + \overrightarrow{C} \cdot \overrightarrow{C} + \overrightarrow{P} \cdot \overrightarrow{P} \\ &\quad + 2 \overrightarrow{A} \cdot \overrightarrow{B} + 2 \overrightarrow{A} \cdot \overrightarrow{C} + 2 \overrightarrow{B} \cdot \overrightarrow{C} - 2 \overrightarrow{A} \cdot \overrightarrow{P} - 2 \overrightarrow{B} \cdot \overrightarrow{P} - 2 \overrightarrow{C} \cdot \overrightarrow{P} \\ &= R^2 + R^2 + R^2 + R^2 \\ &\quad + 2 \left( R^2 - \frac{a^2}{2} \right) + 2 \left( R^2 - \frac{b^2}{2} \right) + 2 \left( R^2 - \frac{c^2}{2} \right) - 2 \overrightarrow{A} \cdot \overrightarrow{P} - 2 \overrightarrow{B} \cdot \overrightarrow{P} - 2 \overrightarrow{C} \cdot \overrightarrow{P} \\ &= 10R^2 - a^2 - b^2 - c^2 - 2 \overrightarrow{A} \cdot \overrightarrow{P} - 2 \overrightarrow{B} \cdot \overrightarrow{P} - 2 \overrightarrow{C} \cdot \overrightarrow{P} Step 5: \end{align*}Thus, \[PA^2 + PB^2 + PC^2 - PH^2 = \boxed{a^2 + b^2 + c^2 - 4R^2}
Evaluate \[\begin{vmatrix} \cos \alpha \cos \beta & \cos \alpha \sin \beta & -\sin \alpha \\ -\sin \beta & \cos \beta & 0 \\ \sin \alpha \cos \beta & \sin \alpha \sin \beta & \cos \alpha \end{vmatrix}.\]
Precalculus
Level 2
Step 1: We can expand the determinant as follows: \begin{align*} \begin{vmatrix} \cos \alpha \cos \beta & \cos \alpha \sin \beta & -\sin \alpha \\ -\sin \beta & \cos \beta & 0 \\ \sin \alpha \cos \beta & \sin \alpha \sin \beta & \cos \alpha \end{vmatrix} &= \cos \alpha \cos \beta \begin{vmatrix} \cos \beta & 0 \\ \sin \alpha \sin \beta & \cos \alpha \end{vmatrix} \\ &\quad - \cos \alpha \sin \beta \begin{vmatrix} -\sin \beta & 0 \\ \sin \alpha \cos \beta & \cos \alpha \end{vmatrix} - \sin \alpha \begin{vmatrix} -\sin \beta & \cos \beta \\ \sin \alpha \cos \beta & \sin \alpha \sin \beta \end{vmatrix} \\ &= \cos \alpha \cos \beta (\cos \beta \cos \alpha) - \cos \alpha \sin \beta (-\sin \beta \cos \alpha) \\ &\quad - \sin \alpha ((-\sin \beta)(\sin \alpha \sin \beta) - (\cos \beta)(\sin \alpha \cos \beta)) \\ &= \cos^2 \alpha \cos^2 \beta + \cos^2 \alpha \sin^2 \beta + \sin^2 \alpha \sin^2 \beta + \sin^2 \alpha \cos^2 \beta \\ &= (\cos^2 \alpha + \sin^2 \alpha)(\cos^2 \beta + \sin^2 \beta) \\ &= \boxed{1}
Let point $O$ be the origin of a three-dimensional coordinate system, and let points $A,$ $B,$ and $C$ be located on the positive $x,$ $y,$ and $z$ axes, respectively. If $OA = \sqrt[4]{75}$ and $\angle BAC = 30^\circ,$ then compute the area of triangle $ABC.$
Precalculus
Level 5
Step 1: Let $b = OB$ and $c = OC Step 2: $ [asy] import three; size(250); currentprojection = perspective(6,3,2); triple A, B, C, O; A = (3,0,0); B = (0,4,0); C = (0,0,2); O = (0,0,0); draw(O--(5,0,0)); draw(O--(0,5,0)); draw(O--(0,0,3)); draw(A--B--C--cycle); label("$A$", A, S); label("$B$", B, S); label("$C$", C, NW); label("$O$", O, S); label("$b$", (O + B)/2, N); label("$c$", (O + C)/2, E); [/asy] By the Law of Cosines on triangle $ABC,$ \begin{align*} BC^2 &= AB^2 + AC^2 - 2 \cdot AC \cdot AB \cos \angle BAC \\ &= AC^2 + AB^2 - AB \cdot AC \sqrt{3} Step 3: \end{align*}From Pythagoras, \[b^2 + c^2 = c^2 + \sqrt{75} + b^2 + \sqrt{75} - AB \cdot AC \sqrt{3},\]which gives us $AB \cdot AC = 10 Step 4: $ Then the area of triangle $ABC$ is \[\frac{1}{2} \cdot AB \cdot AC \sin \angle BAC = \frac{1}{2} \cdot 10 \cdot \frac{1}{2} = \boxed{\frac{5}{2}}
If the angle between the vectors $\mathbf{a}$ and $\mathbf{b}$ is $43^\circ,$ what is the angle between the vectors $-\mathbf{a}$ and $\mathbf{b}$?
Precalculus
Level 1
Step 1: Since $\mathbf{a}$ and $-\mathbf{a}$ point in opposite directions, the angle between them is $180^\circ Step 2: $ Then the angle between $-\mathbf{a}$ and $\mathbf{b}$ is $180^\circ - 43^\circ = \boxed{137^\circ}
Right triangle $ABC$ (hypotenuse $\overline{AB}$) is inscribed in equilateral triangle $PQR,$ as shown. If $PC = 3$ and $BP = CQ = 2,$ compute $AQ.$ [asy] unitsize(0.8 cm); pair A, B, C, P, Q, R; P = (0,0); Q = (5,0); R = 5*dir(60); A = Q + 8/5*dir(120); B = 2*dir(60); C = (3,0); draw(A--B--C--cycle); draw(P--Q--R--cycle); draw(rightanglemark(A,C,B,10)); label("$A$", A, NE); label("$B$", B, NW); label("$C$", C, S); label("$P$", P, SW); label("$Q$", Q, SE); label("$R$", R, N); label("$2$", (C + Q)/2, S); label("$3$", (C + P)/2, S); label("$2$", (B + P)/2, NW); [/asy]
Precalculus
Level 3
Step 1: We see that the side length of equilateral triangle $PQR$ is 5 Step 2: Let $x = AQ Step 3: $ By the Law of Cosines on triangle $BCP,$ \[BC^2 = 2^2 + 3^2 - 2 \cdot 2 \cdot 3 \cdot \cos 60^\circ = 7 Step 4: \]Then by the Law of Cosines on triangle $ACQ,$ \[AC^2 = x^2 + 2^2 - 2 \cdot x \cdot 2 \cdot \cos 60^\circ = x^2 - 2x + 4 Step 5: \]Also, $AB = 3$ and $AR = 5 - x,$ so by the Law of Cosines on triangle $ABR,$ \[AB^2 = 3^2 + (5 - x)^2 - 2 \cdot 3 \cdot (5 - x) \cdot 60^\circ = x^2 - 7x + 19 Step 6: \]Finally, by Pythagoras on right triangle $ABC,$ $BC^2 + AC^2 = AB^2,$ so \[7 + x^2 - 2x + 4 = x^2 - 7x + 19 Step 7: \]Solving, we find $x = \boxed{\frac{8}{5}}
If the three points $(1,a,b),$ $(a,2,b),$ $(a,b,3)$ are collinear, what is the value of $a + b$?
Precalculus
Level 2
Step 1: Note that the $z$-coordinate of both $(1,a,b)$ and $(a,2,b)$ is $b,$ so the whole line must lie in the plane $z = b Step 2: $ Hence, $b = 3 Step 3: $ Similarly, the $x$-coordinate of both $(a,2,b)$ and $(a,b,3)$ is $a,$ so the whole line must lie in the plane $x = a Step 4: $ Hence, $a = 1,$ so $a + b = \boxed{4}
The lengths of the sides of a triangle are consecutive integers, and the largest angle is twice the smallest angle. Find the cosine of the smallest angle.
Precalculus
Level 3
Step 1: Let the side lengths be $n,$ $n + 1,$ $n + 2 Step 2: $ Then the smallest angle $x$ is opposite the side of length $n,$ and its cosine is \[\cos x = \frac{(n + 1)^2 + (n + 2)^2 - n^2}{2(n + 1)(n + 2)} = \frac{n^2 + 6n + 5}{2(n + 1)(n + 2)} = \frac{(n + 1)(n + 5)}{2(n + 1)(n + 2)} = \frac{n + 5}{2(n + 2)} Step 3: \]The largest angle $y$ is opposite the side of length $n + 2,$ and its cosine is \[\cos y = \frac{n^2 + (n + 1)^2 - (n + 2)^2}{2n(n + 1)} = \frac{n^2 - 2n - 3}{2n(n + 1)} = \frac{(n + 1)(n - 3)}{2n(n + 1)} = \frac{n - 3}{2n} Step 4: \]Since $y = 2x,$ \[\cos y = \cos 2x = 2 \cos^2 x - 1 Step 5: \]Thus, \[\frac{n - 3}{2n} = 2 \left( \frac{n + 5}{2(n + 2)} \right)^2 - 1 Step 6: \]This simplifies to $2n^3 - n^2 - 25n - 12 = 0 Step 7: $ This equation factors as $(n - 4)(n + 3)(2n + 1) = 0,$ so $n = 4 Step 8: $ Then the cosine of the smallest angle is $\cos x = \boxed{\frac{3}{4}}
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?
Precalculus
Level 4
Step 1: 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} Step 2: $ Thus, we can assume that the vector being projected onto is $\begin{pmatrix} 1 \\ -1 \end{pmatrix} Step 3: $ [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}}
Find the number of solutions to the equation \[\tan (5 \pi \cos \theta) = \cot (5 \pi \sin \theta)\]where $\theta \in (0, 2 \pi).$
Precalculus
Level 5
Step 1: 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 Step 2: $ 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 Step 3: \end{align*}Hence, $5 \pi \cos \theta + 5 \pi \sin \theta$ must be an odd multiple of $\frac{\pi}{2} Step 4: $ In other words, \[5 \pi \cos \theta + 5 \pi \sin \theta = (2n + 1) \cdot \frac{\pi}{2}\]for some integer $n Step 5: $ Then \[\cos \theta + \sin \theta = \frac{2n + 1}{10} Step 6: \]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) Step 7: \end{align*}so \[\sin \left( \theta + \frac{\pi}{4} \right) = \frac{2n + 1}{10 \sqrt{2}} Step 8: \]Thus, we need \[\left| \frac{2n + 1}{10 \sqrt{2}} \right| \le 1 Step 9: \]The integers $n$ that work are $-7,$ $-6,$ $-5,$ $\dots,$ $6,$ giving us a total of 14 possible values of $n Step 10: $ Furthermore, for each such value of $n,$ the equation \[\sin \left( \theta + \frac{\pi}{4} \right) = \frac{2n + 1}{10 \sqrt{2}} Step 11: \]has exactly two solutions in $\theta Step 12: $ Therefore, there are a total of $\boxed{28}$ solutions $\theta
Find all angles $\theta,$ $0 \le \theta \le 2 \pi,$ with the following property: For all real numbers $x,$ $0 \le x \le 1,$ \[x^2 \cos \theta - x(1 - x) + (1 - x)^2 \sin \theta > 0.\]
Precalculus
Level 5
Step 1: Taking $x = 0,$ we get $\sin \theta > 0 Step 2: $ Taking $x = 1,$ we get $\cos \theta > 0 Step 3: $ Hence, $0 < \theta < \frac{\pi}{2} Step 4: $ Then we can write \begin{align*} &x^2 \cos \theta - x(1 - x) + (1 - x)^2 \sin \theta \\ &= x^2 \cos \theta - 2x (1 - x) \sqrt{\cos \theta \sin \theta} + (1 - x)^2 \sin \theta + 2x (1 - x) \sqrt{\cos \theta \sin \theta} - x(1 - x) \\ &= (x \sqrt{\cos \theta} - (1 - x) \sqrt{\sin \theta})^2 + x(1 - x) (2 \sqrt{\cos \theta \sin \theta} - 1) Step 5: \end{align*}Solving $x \sqrt{\cos \theta} = (1 - x) \sqrt{\sin \theta},$ we find \[x = \frac{\sqrt{\sin \theta}}{\sqrt{\cos \theta} + \sqrt{\sin \theta}},\]which does lie in the interval $[0,1] Step 6: $ For this value of $x,$ the expression becomes \[x(1 - x) (2 \sqrt{\cos \theta \sin \theta} - 1),\]which forces $2 \sqrt{\cos \theta \sin \theta} - 1 > 0,$ or $4 \cos \theta \sin \theta > 1 Step 7: $ Equivalently, $\sin 2 \theta > \frac{1}{2} Step 8: $ Since $0 < \theta < \frac{\pi}{2},$ $0 < 2 \theta < \pi,$ and the solution is $\frac{\pi}{6} < 2 \theta < \frac{5 \pi}{6},$ or \[\frac{\pi}{12} < \theta < \frac{5 \pi}{12} Step 9: \]Conversely, if $\frac{\pi}{12} < \theta < \frac{5 \pi}{12},$ then $\cos \theta > 0,$ $\sin \theta > 0,$ and $\sin 2 \theta > \frac{1}{2},$ so \begin{align*} &x^2 \cos \theta - x(1 - x) + (1 - x)^2 \sin \theta \\ &= x^2 \cos \theta - 2x (1 - x) \sqrt{\cos \theta \sin \theta} + (1 - x)^2 \sin \theta + 2x (1 - x) \sqrt{\cos \theta \sin \theta} - x(1 - x) \\ &= (x \sqrt{\cos \theta} - (1 - x) \sqrt{\sin \theta})^2 + x(1 - x) (2 \sqrt{\cos \theta \sin \theta} - 1) > 0 Step 10: \end{align*}Thus, the solutions $\theta$ are $\theta \in \boxed{\left( \frac{\pi}{12}, \frac{5 \pi}{12} \right)}
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]
Precalculus
Level 5
Step 1: The line through $\mathbf{a}$ and $\mathbf{c}$ can be parameterized by \[\begin{pmatrix} 7 - 9t \\ -4 + 3t \\ -4 + 6t \end{pmatrix} Step 2: \]Then $\mathbf{b}$ is of this form Step 3: Furthermore, the angle between $\mathbf{a}$ and $\mathbf{b}$ is equal to the angle between $\mathbf{b}$ and $\mathbf{c} Step 4: $ Hence, \[\frac{\mathbf{a} \cdot \mathbf{b}}{\|\mathbf{a}\| \|\mathbf{b}\|} = \frac{\mathbf{b} \cdot \mathbf{c}}{\|\mathbf{b}\| \|\mathbf{c}\|} Step 5: \]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\|} Step 6: \]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} Step 7: $ Therefore, $\mathbf{b} = \boxed{\begin{pmatrix} 1/4 \\ -7/4 \\ 1/2 \end{pmatrix}}
There is an angle $\theta$ in the range $0^\circ < \theta < 45^\circ$ which satisfies \[\tan \theta + \tan 2 \theta + \tan 3 \theta = 0.\]Calculate $\tan \theta$ for this angle.
Precalculus
Level 5
Step 1: Let $t = \tan \theta Step 2: $ Then $\tan 2 \theta = \frac{2t}{1 - t^2}$ and $\tan 3 \theta = \frac{3t - t^3}{1 - 3t^2},$ so \[t + \frac{2t}{1 - t^2} + \frac{3t - t^3}{1 - 3t^2} = 0 Step 3: \]This simplifies to $4t^5 - 14t^3 + 6t = 0 Step 4: $ This factors as $2t(2t^2 - 1)(t^2 - 3) = 0 Step 5: $ Since $0^\circ < \theta < 45^\circ,$ $0 < t < 1 Step 6: $ The only solution in this interval is $t = \boxed{\frac{1}{\sqrt{2}}}
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.
Precalculus
Level 2
Step 1: The entries in each row are $\cos n,$ $\cos (n + 1),$ and $\cos (n + 2)$ for some integer $n Step 2: $ From the angle addition formula, \[\cos n + \cos (n + 2) = 2 \cos (n + 1) \cos 1 Step 3: \]Then \[\cos (n + 2) = 2 \cos 1 \cos (n + 1) - \cos n Step 4: \]Thus, we can obtain the third column of the matrix by multiplying the second column by $2 \cos 1,$ and subtracting the first column Step 5: In other words, the third column is a linear combination of the first two columns Step 6: Therefore, the determinant is $\boxed{0}
In triangle $ABC,$ $\sin A = \frac{3}{5}$ and $\cos B = \frac{5}{13}.$ Find $\cos C.$
Precalculus
Level 4
Step 1: We have that \[\cos^2 A = 1 - \sin^2 A = \frac{16}{25},\]so $\cos A = \pm \frac{4}{5} Step 2: $ Also, \[\sin^2 B = 1 - \cos^2 B = \frac{144}{169} Step 3: \]Since $\sin B$ is positive, $\sin B = \frac{12}{13} Step 4: $ Then \begin{align*} \sin C &= \sin (180^\circ - A - B) \\ &= \sin (A + B) \\ &= \sin A \cos B + \cos A \sin B \\ &= \frac{3}{5} \cdot \frac{5}{13} \pm \frac{4}{5} \cdot \frac{12}{13} Step 5: \end{align*}Since $\sin C$ must be positive, $\cos A = \frac{4}{5} Step 6: $ Then \begin{align*} \cos C &= \cos (180^\circ - A - B) \\ &= -\cos (A + B) \\ &= -(\cos A \cos B - \sin A \sin B) \\ &= -\left( \frac{4}{5} \cdot \frac{5}{13} - \frac{3}{5} \cdot \frac{12}{13} \right) \\ &= \boxed{\frac{16}{65}}
Line segment $\overline{AB}$ is extended past $B$ to $P$ such that $AP:PB = 10:3.$ Then \[\overrightarrow{P} = t \overrightarrow{A} + u \overrightarrow{B}\]for some constants $t$ and $u.$ Enter the ordered pair $(t,u).$ [asy] unitsize(1 cm); pair A, B, P; A = (0,0); B = (5,1); P = interp(A,B,10/7); draw(A--P); dot("$A$", A, S); dot("$B$", B, S); dot("$P$", P, S); [/asy]
Precalculus
Level 4
Step 1: Since $AP:PB = 10:3,$ we can write \[\frac{\overrightarrow{P} - \overrightarrow{A}}{10} = \frac{\overrightarrow{P} - \overrightarrow{B}}{7} Step 2: \]Isolating $\overrightarrow{P},$ we find \[\overrightarrow{P} = -\frac{3}{7} \overrightarrow{A} + \frac{10}{7} \overrightarrow{B} Step 3: \]Thus, $(t,u) = \boxed{\left( -\frac{3}{7}, \frac{10}{7} \right)}
Let $\mathbf{A}$ and $\mathbf{B}$ be matrices such that \[\mathbf{A} + \mathbf{B} = \mathbf{A} \mathbf{B}.\]If $\mathbf{A} \mathbf{B} = \begin{pmatrix} 20/3 & 4/3 \\ -8/3 & 8/3 \end{pmatrix},$ find $\mathbf{B} \mathbf{A}.$
Precalculus
Level 5
Step 1: From $\mathbf{A} \mathbf{B} = \mathbf{A} + \mathbf{B},$ \[\mathbf{A} \mathbf{B} - \mathbf{A} - \mathbf{B} = \mathbf{0} Step 2: \]Then $\mathbf{A} \mathbf{B} - \mathbf{A} - \mathbf{B} + \mathbf{I} = \mathbf{I} Step 3: $ In the style of Simon's Favorite Factoring Trick, we can write this as \[(\mathbf{A} - \mathbf{I})(\mathbf{B} - \mathbf{I}) = \mathbf{I} Step 4: \]Thus, $\mathbf{A} - \mathbf{I}$ and $\mathbf{B} - \mathbf{I}$ are inverses, so \[(\mathbf{B} - \mathbf{I})(\mathbf{A} - \mathbf{I}) = \mathbf{I} Step 5: \]Then $\mathbf{B} \mathbf{A} - \mathbf{A} - \mathbf{B} + \mathbf{I} = \mathbf{I},$ so \[\mathbf{B} \mathbf{A} = \mathbf{A} + \mathbf{B} = \mathbf{A} \mathbf{B} = \boxed{\begin{pmatrix} 20/3 & 4/3 \\ -8/3 & 8/3 \end{pmatrix}}
Compute $\tan \left (\operatorname{arccot} \frac{4}{7} \right).$
Precalculus
Level 1
Step 1: Consider a right triangle where the adjacent side is 4 and the opposite side is 7 Step 2: [asy] unitsize (0.5 cm); draw((0,0)--(4,0)--(4,7)--cycle); label("$4$", (2,0), S); label("$7$", (4,7/2), E); label("$\theta$", (0.8,0.5)); [/asy] Then $\cot \theta = \frac{4}{7},$ so $\theta = \operatorname{arccot} \frac{4}{7} Step 3: $ Hence, $\tan \theta = \frac{1}{\cot \theta} = \boxed{\frac{7}{4}}
The area of the parallelogram generated by the vectors $\mathbf{a}$ and $\mathbf{b}$ is 8. Find the area of the parallelogram generated by the vectors $2 \mathbf{a} + 3 \mathbf{b}$ and $\mathbf{a} - 5 \mathbf{b}.$
Precalculus
Level 4
Step 1: Since the area of the parallelogram generated by the vectors $\mathbf{a}$ and $\mathbf{b}$ is 8, \[\|\mathbf{a} \times \mathbf{b}\| = 8 Step 2: \]Then the area of the parallelogram generated by the vectors $2 \mathbf{a} + 3 \mathbf{b}$ and $\mathbf{a} - 5 \mathbf{b}$ is \[\|(2 \mathbf{a} + 3 \mathbf{b}) \times (\mathbf{a} - 5 \mathbf{b})\| Step 3: \]Expanding the cross product, we get \begin{align*} (2 \mathbf{a} + 3 \mathbf{b}) \times (\mathbf{a} - 5 \mathbf{b}) &= 2 \mathbf{a} \times \mathbf{a} - 10 \mathbf{a} \times \mathbf{b} + 3 \mathbf{b} \times \mathbf{a} - 15 \mathbf{b} \times \mathbf{b} \\ &= \mathbf{0} - 10 \mathbf{a} \times \mathbf{b} - 3 \mathbf{a} \times \mathbf{b} - \mathbf{0} \\ &= -13 \mathbf{a} \times \mathbf{b} Step 4: \end{align*}Thus, $\|(2 \mathbf{a} + 3 \mathbf{b}) \times (\mathbf{a} - 5 \mathbf{b})\| = 13 \|\mathbf{a} \times \mathbf{b}\| = \boxed{104}
Find the distance from the point $(1,2,3)$ to the line described by \[\begin{pmatrix} 6 \\ 7 \\ 7 \end{pmatrix} + t \begin{pmatrix} 3 \\ 2 \\ -2 \end{pmatrix}.\]
Precalculus
Level 4
Step 1: A point on the line is given by \[\begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} 6 \\ 7 \\ 7 \end{pmatrix} + t \begin{pmatrix} 3 \\ 2 \\ -2 \end{pmatrix} = \begin{pmatrix} 3t + 6 \\ 2t + 7 \\ -2t + 7 \end{pmatrix} Step 2: \][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; draw(A--D); draw((0,0)--(8,0)); draw((2,5)--(2,0)); dot("$(1,2,3)$", A, N); dot("$(3t + 6,2t + 7,-2t + 7)$", (2,0), S); [/asy] The vector pointing from $(1,2,3)$ to $(3t + 6, 2t + 7, -2t + 7)$ is then \[\begin{pmatrix} 3t + 5 \\ 2t + 5 \\ -2t + 4 \end{pmatrix} Step 3: \]For the point on the line that is closest to $(1,2,3),$ this vector will be orthogonal to the direction vector of the second line, which is $\begin{pmatrix} 3 \\ 2 \\ -2 \end{pmatrix} Step 4: $ Thus, \[\begin{pmatrix} 3t + 5 \\ 2t + 5 \\ -2t + 4 \end{pmatrix} \cdot \begin{pmatrix} 3 \\ 2 \\ -2 \end{pmatrix} = 0 Step 5: \]This gives us $(3t + 5)(3) + (2t + 5)(2) + (-2t + 4)(-2) = 0 Step 6: $ Solving, we find $t = -1 Step 7: $ The distance from the point to the line is then \[\left\| \begin{pmatrix} 2 \\ 3 \\ 6 \end{pmatrix} \right\| = \boxed{7}
The matrix for projecting onto a certain line $\ell,$ which passes through the origin, is given by \[\renewcommand{\arraystretch}{1.5} \begin{pmatrix} \frac{2}{15} & -\frac{1}{15} & -\frac{1}{3} \\ -\frac{1}{15} & \frac{1}{30} & \frac{1}{6} \\ -\frac{1}{3} & \frac{1}{6} & \frac{5}{6} \end{pmatrix} \renewcommand{\arraystretch}{1}.\]Find the direction vector of line $\ell.$ Enter your answer in the form $\begin{pmatrix} a \\ b \\ c \end{pmatrix},$ where $a,$ $b,$ and $c$ are integers, $a > 0,$ and $\gcd(|a|,|b|,|c|) = 1.$
Precalculus
Level 5
Step 1: Let $\mathbf{P}$ denote the given matrix, so $\mathbf{P} \mathbf{v}$ is the projection of $\mathbf{v}$ onto $\ell Step 2: $ In particular, $\mathbf{P} \mathbf{v}$ lies on $\ell$ for any vector $\mathbf{v} Step 3: $ So, we can take $\mathbf{v} = \mathbf{i} Step 4: $ Then \[\mathbf{P} \mathbf{i} = \begin{pmatrix} \frac{2}{15} \\ -\frac{1}{15} \\ -\frac{1}{3} \end{pmatrix} = \frac{1}{15} \begin{pmatrix} 2 \\ -1 \\ -5 \end{pmatrix} Step 5: \]Thus, the direction vector we seek is $\boxed{\begin{pmatrix} 2 \\ -1 \\ -5 \end{pmatrix}}
What is the smallest positive integer $n$ such that all the roots of $z^4 - z^2 + 1 = 0$ are $n^{\text{th}}$ roots of unity?
Precalculus
Level 4
Step 1: Multiplying the equation $z^4 - z^2 + 1 = 0$ by $z^2 + 1$, we get $z^6 + 1 = 0$ Step 2: Multiplying this equation by $z^6 - 1 = 0$, we get $z^{12} - 1 = 0$ Step 3: Therefore, every root of $z^4 - z^2 + 1 = 0$ is a $12^{\text{th}}$ root of unity Step 4: We can factor $z^{12} - 1 = 0$ as \[(z^6 - 1)(z^6 + 1) = (z^6 - 1)(z^2 + 1)(z^4 - z^2 + 1) = 0 Step 5: \]The $12^{\text{th}}$ roots of unity are $e^{0}$, $e^{2 \pi i/12}$, $e^{4 \pi i/12}$, $\dots$, $e^{22 \pi i/12}$ Step 6: We see that $e^{0}$, $e^{4 \pi i/12}$, $e^{8 \pi i/12}$, $e^{12 \pi i/12}$, $e^{16 \pi i/12}$, and $e^{20 \pi i/12}$ are the roots of $z^6 - 1 = 0$ Step 7: Also, $e^{6 \pi i/12} = e^{\pi i/2} = i$ and $e^{18 \pi i/12} = e^{3 \pi i/2} = -i$ are the roots of $z^2 + 1 = 0$ Step 8: Thus, the roots of \[z^4 - z^2 + 1 = 0\]are the remaining four $12^{\text{th}}$ roots of unity, namely $e^{2 \pi i/12}$, $e^{10 \pi i/12}$, $e^{14 \pi i/12}$, and $e^{22 \pi i/12}$ Step 9: The complex number $e^{2 \pi i/12}$ is a primitive $12^{\text{th}}$ root of unity, so by definition, the smallest positive integer $n$ such that $(e^{2 \pi i/12})^n = 1$ is 12 Step 10: Therefore, the smallest possible value of $n$ is $\boxed{12}$
Find the volume of the region in space defined by \[|x + y + z| + |x + y - z| \le 8\]and $x,$ $y,$ $z \ge 0.$
Precalculus
Level 4
Step 1: Let $a$ and $b$ be real numbers Step 2: If $a \ge b,$ then \[|a + b| + |a - b| = (a + b) + (a - b) = 2a Step 3: \]If $a \le b,$ then \[|a + b| + |a - b| = (a + b) + (b - a) = 2b Step 4: \]In either case, $|a + b| + |a - b| = 2 \max\{a,b\} Step 5: $ Thus, the condition $|x + y + z| + |x + y - z| \le 8$ is equivalent to \[2 \max \{x + y, z\} \le 8,\]or $\max \{x + y, z\} \le 4 Step 6: $ This is the intersection of the conditions $x + y \le 4$ and $z \le 4,$ so the region is as below Step 7: [asy] import three; size(250); currentprojection = perspective(6,3,2); draw(surface((4,0,0)--(0,4,0)--(0,4,4)--(4,0,4)--cycle),gray(0.5),nolight); draw(surface((4,0,4)--(0,4,4)--(0,0,4)--cycle),gray(0.7),nolight); draw((0,0,0)--(4,0,0),dashed); draw((0,0,0)--(0,4,0),dashed); draw((4,0,0)--(5,0,0)); draw((0,4,0)--(0,5,0)); draw((0,0,0)--(0,0,4),dashed); draw((0,0,4)--(0,0,5)); draw((4,0,0)--(0,4,0)--(0,4,4)--(4,0,4)--cycle); draw((4,0,4)--(0,0,4)--(0,4,4)); dot("$(4,0,0)$", (4,0,0), SE); dot("$(0,4,0)$", (0,4,0), S); dot("$(4,0,4)$", (4,0,4), NW); dot("$(0,4,4)$", (0,4,4), NE); [/asy] This is a triangular prism with base $\frac{1}{2} \cdot 4 \cdot 4 = 8,$ and height 4, so its volume is $8 \cdot 4 = \boxed{32}