from
stringclasses
2 values
value
stringlengths
16
6.77k
human
Compute $\begin{pmatrix} -4 \\ -1 \end{pmatrix} \cdot \begin{pmatrix} 6 \\ 8 \end{pmatrix}$.
gpt
We see that \[\begin{pmatrix} -4 \\ -1 \end{pmatrix} \cdot \begin{pmatrix} 6 \\ 8 \end{pmatrix} = (-4) \cdot 6 + (-1) \cdot 8 = \boxed{-32}.\]
human
Let $\mathbf{a} = \begin{pmatrix} 2 \\ 1 \\ 5 \end{pmatrix}.$ Find the vector $\mathbf{b}$ such that $\mathbf{a} \cdot \mathbf{b} = 11$ and \[\mathbf{a} \times \mathbf{b} = \begin{pmatrix} -13 \\ -9 \\ 7 \end{pmatrix}.\]
gpt
Let $\mathbf{b} = \begin{pmatrix} x \\ y \\ z \end{pmatrix}.$ Then the equation $\mathbf{a} \cdot \mathbf{b} = 11$ gives us $2x + y + 5z = 11.$ Also, \[\mathbf{a} \times \mathbf{b} = \begin{pmatrix} 2 \\ 1 \\ 5 \end{pmatrix} \times \begin{pmatrix} x \\ y \\ z \end{pmatrix} = \begin{pmatrix} -5y + z \\ 5x - 2z \\ -x + 2y \end{pmatrix}.\]Comparing entries, we obtain \begin{align*} -5y + z &= -13, \\ 5x - 2z &= -9, \\ -x + 2y &= 7. \end{align*}Solving this system, along with the equation $2x + y + z = 5z = 11,$ we find $x = -1,$ $y = 3,$ and $z = 2.$ Hence, $\mathbf{b} = \boxed{\begin{pmatrix} -1 \\ 3 \\ 2 \end{pmatrix}}.$
human
Joel selected an acute angle $x$ (strictly between 0 and 90 degrees) and wrote the values of $\sin x$, $\cos x$, and $\tan x$ on three different cards. Then he gave those cards to three students, Malvina, Paulina, and Georgina, one card to each, and asked them to figure out which trigonometric function (sin, cos, or tan) produced their cards. Even after sharing the values on their cards with each other, only Malvina was able to surely identify which function produced the value on her card. Compute the sum of all possible values that Joel wrote on Malvina's card.
gpt
The functions $\sin x,$ $\cos x,$ $\tan x$ are one-to-one on the interval $(0^\circ,90^\circ).$ Since Malvina could deduce her function, the value of $x$ can also be deduced. In particular, $\sin x,$ $\cos x,$ and $\tan x$ are all known. Since they cannot deduce Paulina's function and Georgina's function, their values must be equal. If $\sin x = \cos x,$ then $\tan x = 1,$ so $x = 45^\circ.$ Then Malvina's value is 1. If $\sin x = \tan x = \frac{\sin x}{\cos x},$ then $\cos x = 1.$ But $\cos x$ cannot achieve 1 on the interval $(0^\circ,90^\circ).$ If $\cos x = \tan x = \frac{\sin x}{\cos x},$ then $\sin x = \cos^2 x = 1 - \sin^2 x.$ Then \[\sin^2 x + \sin x - 1 = 0.\]By the quadratic formula, \[\sin x = \frac{-1 \pm \sqrt{5}}{2}.\]Since $-1 \le \sin x \le 1,$ \[\sin x = \frac{-1 + \sqrt{5}}{2}.\]This is the case where $\cos x = \tan x,$ so Malvina's value is $\sin x = \frac{-1 + \sqrt{5}}{2}.$ Therefore, the sum of the possible numbers on Malvina's card is \[1 + \frac{-1 + \sqrt{5}}{2} = \boxed{\frac{1 + \sqrt{5}}{2}}.\]
human
The set of points $(x,y,z)$ that are equidistant to $(1,2,-5)$ and point $P$ satisfy an equation of the form \[10x - 4y + 24z = 55.\]Find the point $P.$
gpt
Let $P = (a,b,c).$ If the point $(x,y,z)$ is equidistant to $(1,2,-5)$ and $(a,b,c),$ then \[(x - 1)^2 + (y - 2)^2 + (z + 5)^2 = (x - a)^2 + (y - b)^2 + (z - c)^2.\]Expanding, we get \[x^2 - 2x + 1 + y^2 - 4y + 4 + z^2 + 10z + 25 = x^2 - 2ax + a^2 + y^2 - 2by + b^2 + z^2 - 2cz + c^2,\]which simplifies to \[(2a - 2) x + (2b - 4) y + (2c + 10) z = a^2 + b^2 + c^2 - 30.\]We want this to coincide with the equation \[10x - 4y + 24z = 55.\]If we set $2a - 2 = 10,$ $2b - 4 = -4,$ and $2c + 10 = 24,$ then $a = 6,$ $b = 0,$ and $c = 7.$ Note that $a^2 + b^2 + c^2 - 30 = 55,$ so these values work. Thus, $(a,b,c) = \boxed{(6,0,7)}.$
human
Convert the point $(0, -3 \sqrt{3}, 3)$ in rectangular coordinates to spherical coordinates. Enter your answer in the form $(\rho,\theta,\phi),$ where $\rho > 0,$ $0 \le \theta < 2 \pi,$ and $0 \le \phi \le \pi.$
gpt
We have that $\rho = \sqrt{0^2 + (-3 \sqrt{3})^2 + 3^2} = 6.$ We want $\phi$ to satisfy \[3 = 6 \cos \phi,\]so $\phi = \frac{\pi}{3}.$ We want $\theta$ to satisfy \begin{align*} 0 &= 6 \sin \frac{\pi}{3} \cos \theta, \\ -3 \sqrt{3} &= 6 \sin \frac{\pi}{3} \sin \theta. \end{align*}Thus, $\theta = \frac{3 \pi}{2},$ so the spherical coordinates are $\boxed{\left( 6, \frac{3 \pi}{2}, \frac{\pi}{3} \right)}.$
human
The line $y = 2x + 7$ is to be parameterized using vectors. Which of the following options are valid parameterizations? (A) $\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 7 \end{pmatrix} + t \begin{pmatrix} 2 \\ 1 \end{pmatrix}$ (B) $\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} -7/2 \\ 0 \end{pmatrix} + t \begin{pmatrix} -1 \\ -2 \end{pmatrix}$ (C) $\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 1 \\ 9 \end{pmatrix} + t \begin{pmatrix} 6 \\ 3 \end{pmatrix}$ (D) $\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 2 \\ -1 \end{pmatrix} + t \begin{pmatrix} 1/2 \\ 1 \end{pmatrix}$ (E) $\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} -7 \\ -7 \end{pmatrix} + t \begin{pmatrix} 1/10 \\ 1/5 \end{pmatrix}$ Enter the letters of the correct options, separated by commas.
gpt
Note that $\begin{pmatrix} 0 \\ 7 \end{pmatrix}$ and $\begin{pmatrix} 1 \\ 9 \end{pmatrix}$ are two points on this line, so a possible direction vector is \[\begin{pmatrix} 1 \\ 9 \end{pmatrix} - \begin{pmatrix} 0 \\ 7 \end{pmatrix} = \begin{pmatrix} 1 \\ 2 \end{pmatrix}.\]Then any nonzero scalar multiple of $\begin{pmatrix} 1 \\ 2 \end{pmatrix}$ can also be a direction vector. The form \[\begin{pmatrix} x \\ y \end{pmatrix} = \mathbf{v} + t \mathbf{d}\]parameterizes a line if and only if $\mathbf{v}$ lies on the line, and $\mathbf{d}$ is a possible direction vector for the line. Checking, we find that the possible parameterizations are $\boxed{\text{B,E}}.$
human
Find the range of \[f(A)=\frac{\sin A(3\cos^{2}A+\cos^{4}A+3\sin^{2}A+\sin^{2}A\cos^{2}A)}{\tan A (\sec A-\sin A\tan A)}\]if $A\neq \dfrac{n\pi}{2}$ for any integer $n.$ Enter your answer using interval notation.
gpt
We can factor the numerator, and write the denominator in terms of $\sin A$ and $\cos A,$ to get \begin{align*} f(A) &= \frac{\sin A (3 \cos^2 A + \cos^4 A + 3 \sin^2 A + \sin^2 A \cos^2 A)}{\tan A (\sec A - \sin A \tan A)} \\ &= \frac{\sin A (\sin^2 A + \cos^2 A)(\cos^2 A + 3)}{\frac{\sin A}{\cos A} (\frac{1}{\cos A} - \frac{\sin^2 A}{\cos A})} \\ &= \frac{\sin A (\cos^2 A + 3)}{\frac{\sin A}{\cos A} \cdot \frac{1 - \sin^2 A}{\cos A}} \\ &= \frac{\sin A (\cos^2 A + 3)}{\frac{\sin A}{\cos A} \cdot \frac{\cos^2 A}{\cos A}} \\ &= \cos^2 A + 3. \end{align*}The range of $\cos^2 A$ is $(0,1).$ (Note that 0 and 1 are not included, since $A$ cannot be an integer multiple of $\frac{\pi}{2}.$) Hence, the range of $f(A) = \cos^2 A + 3$ is $\boxed{(3,4)}.$
human
Three of the vertices of parallelogram $ABCD$ are $A = (3,-1,2),$ $B = (1,2,-4),$ and $C = (-1,1,2).$ Find the coordinates of $D.$
gpt
Since $ABCD$ is a parallelogram, the midpoints of diagonals $\overline{AC}$ and $\overline{BD}$ coincide. [asy] unitsize(0.4 cm); pair A, B, C, D; A = (0,0); B = (7,2); D = (1,3); C = B + D; draw(A--B--C--D--cycle); draw(A--C,dashed); draw(B--D,dashed); label("$A$", A, SW); label("$B$", B, SE); label("$C$", C, NE); label("$D$", D, NW); dot((A + C)/2); [/asy] The midpoint of $\overline{AC}$ is \[\left( \frac{3 + (-1)}{2}, \frac{(-1) + 1}{2}, \frac{2 + 2}{2} \right) = (1,0,2).\]This is also the midpoint of $\overline{BD},$ so the coordinates of $D$ are \[(2 \cdot 1 - 1, 2 \cdot 0 - 2, 2 \cdot 2 - (-4)) = \boxed{(1,-2,8)}.\]
human
If $\tan x+\tan y=25$ and $\cot x + \cot y=30$, what is $\tan(x+y)$?
gpt
The second equation is equivalent to $\frac1{\tan x} + \frac1{\tan y} = 30,$ or $\frac{\tan x + \tan y}{\tan x \tan y} = 30.$ Thus, $\frac{25}{\tan x \tan y} = 30,$ so $\tan x \tan y = \frac{25}{30} = \frac{5}{6}.$ Then from the angle addition formula, \[\tan(x+y) = \frac{\tan x+ \tan y}{1 - \tan x \tan y} = \frac{25}{1 - \frac{5}{6}} = \boxed{150}.\]
human
Find $\cot 45^\circ.$
gpt
We have that $\cot 45^\circ = \frac{1}{\tan 45^\circ} = \boxed{1}.$
human
Below is the graph of $y = a \sin bx$ for some constants $a < 0$ and $b > 0.$ Find $a.$ [asy]import TrigMacros; size(400); real g(real x) { return (-2*sin(x/3)); } draw(graph(g,-3*pi,3*pi,n=700,join=operator ..),red); trig_axes(-3*pi,3*pi,-3,3,pi/2,1); layer(); rm_trig_labels(-5, 5, 2); label("$1$", (0,1), E); label("$2$", (0,2), E); label("$-1$", (0,-1), E); label("$-2$", (0,-2), E); [/asy]
gpt
The maximum value of $a \sin bx$ is $|a|,$ so $a = \boxed{-2}.$
human
Solve $\arcsin x + \arcsin (1 - x) = \arccos x.$
gpt
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}}.$
human
Find $k$ if \[(\sin \alpha + \csc \alpha)^2 + (\cos \alpha + \sec \alpha)^2 = k + \tan^2 \alpha + \cot^2 \alpha.\]
gpt
We have that \begin{align*} k &= (\sin \alpha + \csc \alpha)^2 + (\cos \alpha + \sec \alpha)^2 - \tan^2 \alpha - \cot^2 \alpha \\ &= \left( \sin \alpha + \frac{1}{\sin \alpha} \right)^2 + \left( \cos \alpha + \frac{1}{\cos \alpha} \right)^2 - \frac{\sin^2 \alpha}{\cos^2 \alpha} - \frac{\cos^2 \alpha}{\sin^2 \alpha} \\ &= \sin^2 \alpha + 2 + \frac{1}{\sin^2 \alpha} + \cos^2 \alpha + 2 + \frac{1}{\cos^2 \alpha} - \frac{\sin^2 \alpha}{\cos^2 \alpha} - \frac{\cos^2 \alpha}{\sin^2 \alpha} \\ &= 5 + \frac{1 - \sin^2 \alpha}{\cos^2 \alpha} + \frac{1 - \cos^2 \alpha}{\sin^2 \alpha} \\ &= 5 + \frac{\cos^2 \alpha}{\cos^2 \alpha} + \frac{\sin^2 \alpha}{\sin^2 \alpha} \\ &= \boxed{7}. \end{align*}
human
Find the matrix $\mathbf{M}$ such that \[\mathbf{M} \mathbf{v} = -5 \mathbf{v}\]for all vectors $\mathbf{v}.$
gpt
In general, $\mathbf{M} \begin{pmatrix} 1 \\ 0 \end{pmatrix}$ is the first column of $\mathbf{M}$, and $\mathbf{M} \begin{pmatrix} 0 \\ 1 \end{pmatrix}$ is the second column of $\mathbf{M}.$ Taking $\mathbf{v} = \begin{pmatrix} 1 \\ 0 \end{pmatrix},$ we get \[-5 \begin{pmatrix} 1 \\ 0 \end{pmatrix} = \begin{pmatrix} -5 \\ 0 \end{pmatrix}.\]Taking $\mathbf{v} = \begin{pmatrix} 0 \\ 1 \end{pmatrix},$ we get \[-5 \begin{pmatrix} 0 \\ 1 \end{pmatrix} = \begin{pmatrix} 0 \\ -5 \end{pmatrix}.\]Therefore, \[\mathbf{M} = \boxed{\begin{pmatrix} -5 & 0 \\ 0 & -5 \end{pmatrix}}.\]
human
For real numbers $a,$ $b,$ and $c,$ the matrix \[\begin{pmatrix} a & b & c \\ b & c & a \\ c & a & b \end{pmatrix}\]is not invertible. List all possible values of \[\frac{a}{b + c} + \frac{b}{a + c} + \frac{c}{a + b}.\]
gpt
Since the matrix is not invertible, its determinant is 0, i.e. \[\begin{vmatrix} a & b & c \\ b & c & a \\ c & a & b \end{vmatrix} = 0.\]The determinant expands as \begin{align*} \begin{vmatrix} a & b & c \\ b & c & a \\ c & a & b \end{vmatrix} &= a \begin{vmatrix} c & a \\ a & b \end{vmatrix} - b \begin{vmatrix} b & a \\ c & b \end{vmatrix} + c \begin{vmatrix} b & c \\ c & a \end{vmatrix} \\ &= a(bc - a^2) - b(b^2 - ac) + c(ab - c^2) \\ &= 3abc - a^3 - b^3 - c^3. \end{align*}This factors as \[3abc - a^3 - b^3 - c^3 = -(a + b + c)(a^2 + b^2 + c^2 - ab - ac - bc),\]so either $a + b + c = 0$ or $a^2 + b^2 + c^2 - ab - ac - bc = 0.$ If $a + b + c = 0,$ then \[\frac{a}{b + c} + \frac{b}{a + c} + \frac{c}{a + b} = \frac{a}{-a} + \frac{b}{-b} + \frac{c}{-c} = -3.\]Now, suppose $a^2 + b^2 + c^2 - ab - ac - bc = 0.$ Then \begin{align*} (a - b)^2 + (a - c)^2 + (b - c)^2 &= (a^2 - 2ab + b^2) + (a^2 - 2ac + c^2) + (b^2 - 2bc + c^2) \\ &= 2(a^2 + b^2 + c^2 - ab - ac - bc) \\ &= 0. \end{align*}This forces $a = b = c,$ so \[\frac{a}{b + c} + \frac{b}{a + c} + \frac{c}{a + b} = \frac{3}{2}.\]Thus, the possible values of \[\frac{a}{b + c} + \frac{b}{a + c} + \frac{c}{a + b}\]are $\boxed{\frac{3}{2}}$ and $\boxed{-3}.$
human
A projectile is fired with an initial velocity of $v$ at an angle of $\theta$ from the ground. Then its trajectory can modeled by the parametric equations \begin{align*} x &= vt \cos \theta, \\ y &= vt \sin \theta - \frac{1}{2} gt^2, \end{align*}where $t$ denotes time and $g$ denotes acceleration due to gravity, forming a parabolic arch. Suppose $v$ is held constant, but $\theta$ is allowed to vary, over $0^\circ \le \theta \le 180^\circ.$ The highest point of each parabolic arch is plotted. (Several examples are shown below.) As $\theta$ varies, the highest points of the arches trace a closed curve. The area of this closed curve can be expressed in the form \[c \cdot \frac{v^4}{g^2}.\]Find $c.$ [asy] unitsize (5 cm); real g, t, theta, v; path arch; g = 1; v = 1; theta = 80; arch = (0,0); for (t = 0; t <= 2*v*Sin(theta)/g; t = t + 0.01) { arch = arch--(v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2); } draw(arch); t = v*Sin(theta)/g; dot((v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2),red); theta = 40; arch = (0,0); for (t = 0; t <= 2*v*Sin(theta)/g; t = t + 0.01) { arch = arch--(v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2); } draw(arch); t = v*Sin(theta)/g; dot((v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2),red); theta = 110; arch = (0,0); for (t = 0; t <= 2*v*Sin(theta)/g; t = t + 0.01) { arch = arch--(v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2); } draw(arch); t = v*Sin(theta)/g; dot((v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2),red); draw((-0.8,0)--(1.2,0)); dot((0,0)); [/asy]
gpt
For a given angle of $\theta,$ the projectile lands when $y = 0,$ or \[vt \sin \theta - \frac{1}{2} gt^2 = 0.\]The solutions are $t = 0$ and $t = \frac{2v \sin \theta}{g}.$ The top of the arch occurs at the half-way point, or \[t = \frac{v \sin \theta}{g}.\]Then the highest point of the arch is given by \begin{align*} x &= tv \cos \theta = \frac{v^2}{g} \sin \theta \cos \theta, \\ y &= vt \sin \theta - \frac{1}{2} gt^2 = \frac{v^2}{2g} \sin^2 \theta. \end{align*}By the double-angle formulas, \[x = \frac{v^2}{2g} \sin 2 \theta,\]and \[y = \frac{v^2}{2g} \cdot \frac{1 - \cos 2 \theta}{2} = \frac{v^2}{4g} - \frac{v^2}{4g} \cos 2 \theta.\]Hence, $x$ and $y$ satisfy \[\frac{x^2}{(\frac{v^2}{2g})^2} + \frac{(y - \frac{v^2}{4g})^2}{(\frac{v^2}{4g})^2} = 1.\]Thus, the highest point of the arch traces an ellipse, with semi-axes $\frac{v^2}{2g}$ and $\frac{v^2}{4g}.$ [asy] unitsize (5 cm); real g, t, theta, v; path arch; path ell; g = 1; v = 1; ell = shift((0,1/4))*yscale(1/4)*xscale(1/2)*Circle((0,0),1); draw(ell,red + dashed); theta = 80; arch = (0,0); for (t = 0; t <= 2*v*Sin(theta)/g; t = t + 0.01) { arch = arch--(v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2); } draw(arch); t = v*Sin(theta)/g; dot((v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2),red); theta = 40; arch = (0,0); for (t = 0; t <= 2*v*Sin(theta)/g; t = t + 0.01) { arch = arch--(v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2); } draw(arch); t = v*Sin(theta)/g; dot((v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2),red); theta = 110; arch = (0,0); for (t = 0; t <= 2*v*Sin(theta)/g; t = t + 0.01) { arch = arch--(v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2); } draw(arch); t = v*Sin(theta)/g; dot((v*t*Cos(theta),v*t*Sin(theta) - 1/2*g*t^2),red); draw((-1.2,0)--(1.2,0)); dot((0,0)); [/asy] Then the area of the ellipse is \[\pi \cdot \frac{v^2}{2g} \cdot \frac{v^2}{4g} = \frac{\pi}{8} \cdot \frac{v^4}{g^2}.\]Thus, $c = \boxed{\frac{\pi}{8}}.$
human
Find the volume of the region in space defined by \[|x + y + z| + |x + y - z| \le 8\]and $x,$ $y,$ $z \ge 0.$
gpt
Let $a$ and $b$ be real numbers. If $a \ge b,$ then \[|a + b| + |a - b| = (a + b) + (a - b) = 2a.\]If $a \le b,$ then \[|a + b| + |a - b| = (a + b) + (b - a) = 2b.\]In either case, $|a + b| + |a - b| = 2 \max\{a,b\}.$ 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.$ This is the intersection of the conditions $x + y \le 4$ and $z \le 4,$ so the region is as below. [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}.$
human
Find a unit vector that is orthogonal to both $\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}$ and $\begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix}.$
gpt
To find a unit vector that is orthogonal to both $\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix}$ and $\begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix},$ we take their cross product: \[\begin{pmatrix} 1 \\ 1 \\ 0 \end{pmatrix} \times \begin{pmatrix} 1 \\ 0 \\ 2 \end{pmatrix} = \begin{pmatrix} 2 \\ -2 \\ -1 \end{pmatrix}.\]This vector has magnitude 3, so we divide by 3 to get a unit vector: $\boxed{\begin{pmatrix} 2/3 \\ -2/3 \\ -1/3 \end{pmatrix}}.$ We could also divide by $-3$ to get $\boxed{\begin{pmatrix} -2/3 \\ 2/3 \\ 1/3 \end{pmatrix}}.$
human
Let $\mathbf{v}$ and $\mathbf{w}$ be the vectors such that $\mathbf{v} \cdot \mathbf{w} = -3$ and $\|\mathbf{w}\| = 5.$ Find the magnitude of $\operatorname{proj}_{\mathbf{w}} \mathbf{v}.$
gpt
We know that \[\operatorname{proj}_{\mathbf{w}} \mathbf{v} = \frac{\mathbf{v} \cdot \mathbf{w}}{\|\mathbf{w}\|^2} \mathbf{w},\]so \[\|\operatorname{proj}_{\mathbf{w}} \mathbf{v}\| = \left| \frac{\mathbf{v} \cdot \mathbf{w}}{\|\mathbf{w}\|^2} \right| \|\mathbf{w}\| = \frac{|\mathbf{v} \cdot \mathbf{w}|}{\|\mathbf{w}\|} = \boxed{\frac{3}{5}}.\]
human
How many solutions of the equation $\tan x = \tan (\tan x)$ are on the interval $0 \le x \le \tan^{-1} 942$? (Here $\tan^{-1}$ means the inverse tangent function, sometimes written $\arctan$.) Note: You can assume the result that $\tan \theta > \theta$ for $0 < \theta < \frac{\pi}{2}.$
gpt
Two angles have the same tangent if and only if they differ by a multiple of $\pi.$ This means $\tan x - x$ is a multiple of $\pi.$ Let \[T(x) = \tan x - x.\]First, we prove that the function $T(x)$ is strictly increasing on the interval $\left[ 0, \frac{\pi}{2} \right).$ Let $0 \le x < y < \frac{\pi}{2}.$ Then \[y - x < \tan (y - x) = \frac{\tan y - \tan x}{1 + \tan x \tan y} \le \tan y - \tan x.\]Re-arranging, we get $\tan x - x < \tan y - y,$ or $T(x) < T(y).$ Note that as $x$ approaches $\frac{\pi}{2},$ $T(x)$ approaches infinity. This means for every nonnegative integer $n,$ there exists a unique value of $x$ such that $T(x) = n \pi.$ We have the estimate $300 \pi \approx 942.48.$ Hence, \[T(\tan^{-1} 942) = 942 - \tan^{-1} 942 < 942 < 300 \pi.\]Also, \[T(\tan^{-1} 924) = 942 - \tan^{-1} 942 > 942 - \frac{\pi}{2} > 299 \pi.\]Since $299 \pi < T(\tan^{-1} 942) < 300 \pi,$ the equation $T(x) = n \pi$ has a solution on the interval $[0, \tan^{-1} 942]$ if and only if $0 \le n < 300,$ so there are $\boxed{300}$ solutions.
human
A certain point has rectangular coordinates $(10,3)$ and polar coordinates $(r, \theta).$ What are the rectangular coordinates of the point with polar coordinates $(r^2, 2 \theta)$?
gpt
From the given information, $r \cos \theta = 10$ and $r \sin \theta = 3.$ Then for $(r^2, 2 \theta),$ the $x$-coordinate is \begin{align*} r^2 \cos 2 \theta &= r^2 (\cos^2 \theta - \sin^2 \theta) \\ &= r^2 \cos^2 \theta - r^2 \sin^2 \theta \\ &= 10^2 - 3^2 \\ &= 91, \end{align*}and the $y$-coordinate is \begin{align*} r^2 \sin 2 \theta &= r^2 (2 \sin \theta \cos \theta) \\ &= 2(r \cos \theta)(r \sin \theta) \\ &= 2 \cdot 10 \cdot 3 \\ &= 60. \end{align*}Thus, the rectangular coordinates are $\boxed{(91,60)}.$
human
The matrix \[\begin{pmatrix} a & \frac{15}{34} \\ c & \frac{25}{34} \end{pmatrix}\]corresponds to a projection. Enter the ordered pair $(a,c).$
gpt
Suppose $\mathbf{P}$ is the matrix for projecting onto the vector $\mathbf{p}.$ Then for any vector $\mathbf{v},$ $\mathbf{P} \mathbf{v}$ is a scalar multiple of $\mathbf{p}.$ So when we apply the projection again to $\mathbf{P} \mathbf{v},$ the result is still $\mathbf{P} \mathbf{v}.$ This means \[\mathbf{P} (\mathbf{P} \mathbf{v}) = \mathbf{P} \mathbf{v}.\]In other words, $\mathbf{P}^2 \mathbf{v} = \mathbf{P} \mathbf{v}.$ Since this holds for all vectors $\mathbf{v},$ \[\mathbf{P}^2 = \mathbf{P}.\]Here, \[\mathbf{P}^2 = \begin{pmatrix} a & \frac{15}{34} \\ c & \frac{25}{34} \end{pmatrix} \begin{pmatrix} a & \frac{15}{34} \\ c & \frac{25}{34} \end{pmatrix} = \begin{pmatrix} a^2 + \frac{15}{34} c & \frac{15}{34} a + \frac{375}{1156} \\ ac + \frac{25}{34} c & \frac{15}{34} c + \frac{625}{1156} \end{pmatrix}.\]Thus, $\frac{15}{34} a + \frac{375}{1156} = \frac{15}{34}$ and $\frac{15}{34} c + \frac{625}{1156} = \frac{25}{34}.$ Solving, we find $(a,c) = \boxed{\left( \frac{9}{34}, \frac{15}{34} \right)}.$
human
Find the integer $n,$ $-90 \le n \le 90,$ such that $\sin n^\circ = \sin 604^\circ.$
gpt
Since the sine function has period $360^\circ,$ \[\sin 604^\circ = \sin (604^\circ - 2 \cdot 360^\circ) = \sin (-116^\circ).\]Since sine is an odd function, \[\sin (-116^\circ) = -\sin 116^\circ.\]Since $\sin x = \sin (180^\circ - x)$ for all angles $x,$ \[-\sin 116^\circ = \sin (180^\circ - 116^\circ) = -\sin 64^\circ.\]Then $-\sin 64^\circ = \sin (-64^\circ),$ so $n = \boxed{-64}.$
human
Let $\mathbf{M} = \begin{pmatrix} 2 & 0 \\ 1 & -3 \end{pmatrix}.$ Find constants $a$ and $b$ so that \[\mathbf{M}^{-1} = a \mathbf{M} + b \mathbf{I}.\]Enter the ordered pair $(a,b).$
gpt
We have that \[\begin{pmatrix} 2 & 0 \\ 1 & -3 \end{pmatrix}^{-1} = \frac{1}{(2)(-3) - (0)(1)} \begin{pmatrix} -3 & 0 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} \frac{1}{2} & 0 \\ \frac{1}{6} & -\frac{1}{3} \end{pmatrix}.\]Also, \[a \mathbf{M} + b \mathbf{I} = a \begin{pmatrix} 2 & 0 \\ 1 & -3 \end{pmatrix} + b \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 2a + b & 0 \\ a & -3a + b \end{pmatrix}.\]Thus, $2a + b = \frac{1}{2},$ $a = \frac{1}{6},$ and $-3a + b = -\frac{1}{3}.$ Solving, we find $(a,b) = \boxed{\left( \frac{1}{6}, \frac{1}{6} \right)}.$
human
In triangle $ABC,$ $\angle B = 60^\circ$ and $\angle C = 45^\circ.$ The point $D$ divides $\overline{BC}$ in the ratio $1:3$. Find \[\frac{\sin \angle BAD}{\sin \angle CAD}.\]
gpt
By the Law of Sines on triangle $ABC,$ \[\frac{BD}{\sin \angle BAD} = \frac{AD}{\sin 60^\circ} \quad \Rightarrow \quad \quad \sin \angle BAD = \frac{BD \sqrt{3}}{2 AD}.\]By the Law of Sines on triangle $ACD,$ \[\frac{CD}{\sin \angle CAD} = \frac{AD}{\sin 45^\circ} \quad \Rightarrow \quad \quad \sin \angle CAD = \frac{CD}{AD \sqrt{2}}.\][asy] unitsize (5 cm); pair A, B, C, D; B = (0,0); C = (1,0); A = extension(B, B + dir(60), C, C + dir(180 - 45)); D = interp(B,C,1/4); draw(A--B--C--cycle); draw(A--D); label("$A$", A, N); label("$B$", B, SW); label("$C$", C, SE); label("$D$", D, S); [/asy] Then \[\frac{\sin \angle BAD}{\sin \angle CAD} = \frac{\frac{BD \sqrt{3}}{2 AD}}{\frac{CD}{AD \sqrt{2}}} = \frac{BD \sqrt{6}}{2 CD} = \boxed{\frac{\sqrt{6}}{6}}.\]
human
A particle is located on the coordinate plane at $(5,0)$. Define a ''move'' for the particle as a counterclockwise rotation of $\frac{\pi}{4}$ radians about the origin followed by a translation of $10$ units in the positive $x$-direction. Find the particle's position after $150$ moves.
gpt
Let $z_0 = 5,$ and let $z_n$ be the position of the point after $n$ steps. Then \[z_n = \omega z_{n - 1} + 10,\]where $\omega = \operatorname{cis} \frac{\pi}{4}.$ Then \begin{align*} z_1 &= 5 \omega + 10, \\ z_2 &= \omega (5 \omega + 10) = 5 \omega^2 + 10 \omega + 10, \\ z_3 &= \omega (5 \omega^2 + 10 \omega + 10) + 10 = 5 \omega^3 + 10 \omega^2 + 10 \omega + 10, \end{align*}and so on. In general, we can prove by induction that \[z_n = 5 \omega^n + 10 (\omega^{n - 1} + \omega^{n - 2} + \dots + 1).\]In particular, \[z_{150} = 5 \omega^{150} + 10 (\omega^{149} + \omega^{148} + \dots + 1).\]Note that $\omega^4 = \operatorname{cis} \pi = -1$ and $\omega^8 = 1.$ Then by the formula for a geometric series, \begin{align*} z_{150} &= 5 \omega^{150} + 10 (\omega^{149} + \omega^{148} + \dots + 1) \\ &= 5 \omega^{150} + 10 \cdot \frac{1 - \omega^{150}}{1 - \omega} \\ &= 5 (\omega^8)^{18} \cdot \omega^6 + 10 \cdot \frac{1 - (\omega^8)^{18} \cdot \omega^6}{1 - \omega} \\ &= 5 \omega^6 + 10 \cdot \frac{1 - \omega^6}{1 - \omega} \\ &= 5 \omega^6 + 10 (\omega^5 + \omega^4 + \omega^3 + \omega^2 + \omega + 1) \\ &= -5 \omega^2 + 10 (-\omega - 1 + \omega^3 + \omega^2 + \omega + 1) \\ &= 10 \omega^3 + 5 \omega^2 \\ &= 10 \operatorname{cis} \frac{3 \pi}{4} + 5i \\ &= 10 \cos \frac{3 \pi}{4} + 10i \sin \frac{3 \pi}{4} + 5i \\ &= -5 \sqrt{2} + (5 + 5 \sqrt{2}) i. \end{align*}Thus, the final point is $\boxed{(-5 \sqrt{2}, 5 + 5 \sqrt{2})}.$
human
The dilation, centered at $2 + 3i,$ with scale factor 3, takes $-1 - i$ to which complex number?
gpt
Let $z$ be the image of $-1 - i$ under the dilation. [asy] unitsize(0.5 cm); pair C, P, Q; C = (2,3); P = (-1,-1); Q = interp(C,P,3); draw((-10,0)--(10,0)); draw((0,-10)--(0,10)); draw(C--Q,dashed); dot("$2 + 3i$", (2,3), NE); dot("$-1 - i$", (-1,-1), NW); dot("$-7 - 9i$", (-7,-9), SW); [/asy] Since the dilation is centered at $2 + 3i,$ with scale factor 3, \[z - (2 + 3i) = 3((-1 - i) - (2 + 3i)).\]Solving, we find $z = \boxed{-7 - 9i}.$
human
Find the projection of the vector $\begin{pmatrix} 4 \\ -4 \\ -1 \end{pmatrix}$ onto the line \[2x = -3y = z.\]
gpt
We can write the equation of the line as \[\frac{x}{3} = \frac{y}{-2} = \frac{z}{6}.\]Thus, the direction vector of the line is $\begin{pmatrix} 3 \\ -2 \\ 6 \end{pmatrix}.$ The projection of $\begin{pmatrix} 4 \\ -4 \\ -1 \end{pmatrix}$ onto the line is then \[\frac{\begin{pmatrix} 4 \\ -4 \\ -1 \end{pmatrix} \cdot \begin{pmatrix} 3 \\ -2 \\ 6 \end{pmatrix}}{\begin{pmatrix} 3 \\ -2 \\ 6 \end{pmatrix} \cdot \begin{pmatrix} 3 \\ -2 \\ 6 \end{pmatrix}} \begin{pmatrix} 3 \\ -2 \\ 6 \end{pmatrix} = \frac{14}{49} \begin{pmatrix} 3 \\ -2 \\ 6 \end{pmatrix} = \boxed{\begin{pmatrix} 6/7 \\ -4/7 \\ 12/7 \end{pmatrix}}.\]
human
In triangle $ABC,$ $D,$ $E,$ and $F$ are points on sides $\overline{BC},$ $\overline{AC},$ and $\overline{AB},$ respectively, so that $BD:DC = CE:EA = AF:FB = 1:2.$ [asy] unitsize(0.8 cm); pair A, B, C, D, E, F, P, Q, R; A = (2,5); B = (0,0); C = (7,0); D = interp(B,C,1/3); E = interp(C,A,1/3); F = interp(A,B,1/3); P = extension(A,D,C,F); Q = extension(A,D,B,E); R = extension(B,E,C,F); fill(P--Q--R--cycle,gray(0.7)); 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, W); label("$P$", P, NE); label("$Q$", Q, NW); label("$R$", R, S); [/asy] Line segments $\overline{AD},$ $\overline{BE},$ and $\overline{CF}$ intersect at $P,$ $Q,$ and $R,$ as shown above. Compute $\frac{[PQR]}{[ABC]}.$
gpt
Let $\mathbf{a}$ denote $\overrightarrow{A},$ etc. Then from the given information, \begin{align*} \mathbf{d} &= \frac{2}{3} \mathbf{b} + \frac{1}{3} \mathbf{c}, \\ \mathbf{e} &= \frac{1}{3} \mathbf{a} + \frac{2}{3} \mathbf{c}, \\ \mathbf{f} &= \frac{2}{3} \mathbf{a} + \frac{1}{3} \mathbf{b}. \end{align*}From the first and third equations, \[\mathbf{b} = \frac{3 \mathbf{d} - \mathbf{c}}{2} = 3 \mathbf{f} - 2 \mathbf{a}.\]Then $3 \mathbf{d} - \mathbf{c} = 6 \mathbf{f} - 4 \mathbf{a},$ or $3 \mathbf{d} + 4 \mathbf{a} = 6 \mathbf{f} + \mathbf{c},$ or \[\frac{3}{7} \mathbf{d} + \frac{4}{7} \mathbf{a} = \frac{6}{7} \mathbf{f} + \frac{1}{7} \mathbf{c}.\]Since the coefficients on both sides of the equation add up to 1, the vector on the left side lies on line $AD,$ and the vector on the right side lies on line $CF.$ Therefore, this common vector is $\mathbf{p}.$ Furthermore, $\frac{AP}{PD} = \frac{3}{4}$ and $\frac{FP}{PC} = \frac{1}{6}.$ Similarly, we can show that \[\frac{BQ}{QE} = \frac{CR}{RF} = \frac{3}{4} \quad \text{and} \quad \frac{DQ}{QA} = \frac{ER}{RB} = \frac{1}{6}.\]In other words, $AP:PQ:QD = BQ:QR:RE = CR:RP:PF = 3:3:1.$ Remember that for triangles that share the same height, the ratio of their areas is equal to the ratio of their bases. Hence, \[\frac{[ACD]}{[ABC]} = \frac{CD}{BC} = \frac{2}{3}.\]Then \[\frac{[PCD]}{[ACD]} = \frac{PD}{AD} = \frac{4}{7}.\]Finally, \begin{align*} \frac{[PQR]}{[PCD]} &= \frac{\frac{1}{2} PQ \cdot PR \cdot \sin \angle RPQ}{\frac{1}{2} PD \cdot PC \cdot \sin \angle CPD} \\ &= \frac{PQ}{PD} \cdot \frac{PR}{PC} \\ &= \frac{3}{4} \cdot \frac{1}{2} = \frac{3}{8}. \end{align*}Multiplying all these equations, we get \[\frac{[ACD]}{[ABC]} \cdot \frac{[PCD]}{[ACD]} \cdot \frac{[PQR]}{[PCD]} = \frac{2}{3} \cdot \frac{4}{7} \cdot \frac{3}{8},\]which gives us \[\frac{[PQR]}{[ABC]} = \boxed{\frac{1}{7}}.\]
human
There exists a positive real number $x$ such that $ \cos (\arctan (x)) = x $. Find the value of $x^2$.
gpt
Construct a right triangle with legs 1 and $x.$ Let the angle opposite the side length $x$ be $\theta.$ [asy] unitsize(1 cm); pair A, B, C; A = (2,1.8); B = (0,0); C = (2,0); draw(A--B--C--cycle); draw(rightanglemark(A,C,B,8)); label("$\theta$", B + (0.7,0.3)); label("$1$", (B + C)/2, S); label("$x$", (A + C)/2, E); label("$\sqrt{x^2 + 1}$", (A + B)/2, NW); [/asy] Then $\tan \theta = x,$ so $\theta = \arctan x.$ Then \[\cos (\arctan x) = \frac{1}{\sqrt{x^2 + 1}},\]so \[\frac{1}{\sqrt{x^2 + 1}} = x.\]Squaring both sides, we get \[\frac{1}{x^2 + 1} = x^2,\]so $x^4 + x^2 - 1 = 0.$ By the quadratic formula, \[x^2 = \frac{-1 \pm \sqrt{5}}{2}.\]Since $x^2$ is positive, \[x^2 = \boxed{\frac{-1 + \sqrt{5}}{2}}.\]
human
In triangle $ABC,$ $AB = 3,$ $AC = 6,$ $BC = 8,$ and $D$ lies on $\overline{BC}$ such that $\overline{AD}$ bisects $\angle BAC.$ Find $\cos \angle BAD.$
gpt
By the Law of Cosines, \[\cos A = \frac{3^2 + 6^2 - 8^2}{2 \cdot 3 \cdot 6} = -\frac{19}{36}.\][asy] unitsize (1 cm); pair A, B, C, D; B = (0,0); C = (8,0); A = intersectionpoint(arc(B,3,0,180),arc(C,6,0,180)); D = interp(B,C,3/9); draw(A--B--C--cycle); draw(A--D); label("$A$", A, N); label("$B$", B, SW); label("$C$", C, SE); label("$D$", D, S); [/asy] Then \[\cos \angle BAD = \cos \frac{A}{2} = \sqrt{\frac{1 + \cos A}{2}} = \boxed{\frac{\sqrt{34}}{12}}.\]
human
Consider two lines: line $l$ parametrized as \begin{align*} x &= 1 + 4t,\\ y &= 4 + 3t \end{align*}and the line $m$ parametrized as \begin{align*} x &=-5 + 4s\\ y &= 6 + 3s. \end{align*}Let $A$ be a point on line $l$, $B$ be a point on line $m$, and let $P$ be the foot of the perpendicular from $A$ to line $m$. Then $\overrightarrow{PA}$ is the projection of $\overrightarrow{BA}$ onto some vector $\begin{pmatrix} v_1\\v_2\end{pmatrix}$ such that $v_1+v_2 = 2$. Find $\begin{pmatrix}v_1 \\ v_2 \end{pmatrix}$.
gpt
As usual, we start by graphing these lines. An easy way to go about it is to plot some points. Let's plug in $t =0$ and $t = 1$ for line $l$, getting the points $(1, 4)$ and $(5, 7)$. Here's our line: [asy] size(200); import TrigMacros; import olympiad; //Gives the maximum line that fits in the box. path maxLine(pair A, pair B, real xmin, real xmax, real ymin, real ymax) { path[] endpoints; endpoints = intersectionpoints(A+10(B-A) -- A-10(B-A), (xmin, ymin)--(xmin, ymax)--(xmax, ymax)--(xmax, ymin)--cycle); return endpoints[1]--endpoints[0]; } pair A= (1,4); pair B = (-5, 6); //Direction vector of the parallel lines pair dir = (4,3); //Foot of the perpendicular from A to the other line pair P = foot(A, B-dir, B+dir); rr_cartesian_axes(-8,8,-5,12,complexplane=false,usegrid=true); draw(maxLine(A,A+dir, -8,8,-5,12)); label("$l$", A-1.8dir, SE); dot("$t = 0$", A, SE); dot("$t = 1$", A + dir, SE); [/asy] Similarly, we plug in $s = 0$ and $s = 1$ for line $m$, getting the points $(-5, 6)$ and $(-1, 9)$: [asy] size(200); import TrigMacros; import olympiad; //Gives the maximum line that fits in the box. path maxLine(pair A, pair B, real xmin, real xmax, real ymin, real ymax) { path[] endpoints; endpoints = intersectionpoints(A+10(B-A) -- A-10(B-A), (xmin, ymin)--(xmin, ymax)--(xmax, ymax)--(xmax, ymin)--cycle); return endpoints[1]--endpoints[0]; } pair A = (1,4); pair B = (-5, 6); //Direction vector of the parallel lines pair dir = (4,3); //Foot of the perpendicular from A to the other line pair P = foot(A, B-dir, B+dir); rr_cartesian_axes(-8,8,-5,12,complexplane=false,usegrid=true); draw(maxLine(A,A+dir, -8,8,-5,12)); draw(maxLine(B,B+dir, -8,8,-5,12)); label("$l$", A+dir, SE); label("$m$",P+dir, NW); dot("$s = 0$", B, NW); dot("$s = 1$", B + dir,NW); [/asy] Now we label some points $A$ and $B$, as well as point $P$, and we draw in our vectors: [asy] size(200); import TrigMacros; import olympiad; //Gives the maximum line that fits in the box. path maxLine(pair A, pair B, real xmin, real xmax, real ymin, real ymax) { path[] endpoints; endpoints = intersectionpoints(A+10(B-A) -- A-10(B-A), (xmin, ymin)--(xmin, ymax)--(xmax, ymax)--(xmax, ymin)--cycle); return endpoints[1]--endpoints[0]; } pair A = (1,4); pair B= (-5, 6); //Direction vector of the parallel lines pair dir = (4,3); //Foot of the perpendicular from A to the other line pair P = foot(A, B-dir, B+dir); rr_cartesian_axes(-8,8,-5,12,complexplane=false,usegrid=true); draw(maxLine(A,A+dir, -8,8,-5,12)); draw(maxLine(B,B+dir, -8,8,-5,12)); draw(P--A, red, Arrow(size = 0.3cm)); draw(B--A, blue, Arrow(size = 0.3cm)); draw(rightanglemark(A, P, P + (P-B), 15)); label("$l$", A+dir, SE); label("$m$", P+dir, NW); dot("$A$", A, SE); dot("$P$", P, NW); dot("$B$", B, NW); [/asy] Recall that when we project $\mathbf{v}$ onto $\mathbf{u}$, we place the tail of $\mathbf{v}$ onto a line with direction $\mathbf{u}$, then we drop a perpendicular and draw the vector from the tail of $\mathbf{v}$ to the foot of the perpendicular. This picture actually doesn't look like our usual projection picture! The vector we're projecting and the projection aren't tail to tail, which makes things harder to visualize. Let's shift the vector over and see if it helps, choosing $Q$ such that \[\overrightarrow{BQ} = \overrightarrow{PA}.\]Here's the picture: [asy] size(200); import TrigMacros; import olympiad; //Gives the maximum line that fits in the box. path maxLine(pair A, pair B, real xmin, real xmax, real ymin, real ymax) { path[] endpoints; endpoints = intersectionpoints(A+10(B-A) -- A-10(B-A), (xmin, ymin)--(xmin, ymax)--(xmax, ymax)--(xmax, ymin)--cycle); return endpoints[1]--endpoints[0]; } pair A = (1,4); pair B= (-5, 6); //Direction vector of the parallel lines pair dir = (4,3); //Foot of the perpendicular from A to the other line pair P = foot(A, B-dir, B+dir); //End of the shifted vector PA: pair Q = B+A-P; rr_cartesian_axes(-8,8,-5,12,complexplane=false,usegrid=true); draw(maxLine(A,A+dir, -8,8,-5,12)); draw(maxLine(B,B+dir, -8,8,-5,12)); draw(P--A, red, Arrow(size = 0.3cm)); draw(B--A, blue, Arrow(size = 0.3cm)); draw(rightanglemark(A, P, P + (P-B), 15)); draw(B--Q, red, Arrow(size = 0.3cm)); draw(rightanglemark(B,Q, A-2*dir, 15)); label("$l$", A+dir, SE); label("$m$", P+dir, NW); dot("$A$", A, SE); dot("$P$", P, NW); dot("$Q$",Q, SE); dot("$B$", B, NW); [/asy] That looks better! Our shifted vector $\overrightarrow{BQ}$ is tail to tail with the vector being projected. In fact, since this vector is perpendicular to lines $l$ and $m$, we know that it lies along a line with direction \[\mathbf{u} = \begin{pmatrix} 3 \\-4 \end{pmatrix}.\]Here's the picture with the line added in: [asy] size(200); import TrigMacros; import olympiad; //Gives the maximum line that fits in the box. path maxLine(pair A, pair B, real xmin, real xmax, real ymin, real ymax) { path[] endpoints; endpoints = intersectionpoints(A+10(B-A) -- A-10(B-A), (xmin, ymin)--(xmin, ymax)--(xmax, ymax)--(xmax, ymin)--cycle); return endpoints[1]--endpoints[0]; } pair A = (1,4); pair B= (-5, 6); //Direction vector of the parallel lines pair dir = (4,3); //Foot of the perpendicular from A to the other line pair P = foot(A, B-dir, B+dir); //End of the shifted vector PA: pair Q = B+A-P; rr_cartesian_axes(-8,8,-5,12,complexplane=false,usegrid=true); draw(maxLine(A,A+dir, -8,8,-5,12)); draw(maxLine(B,B+dir, -8,8,-5,12)); draw(maxLine(B,Q, -8,8,-5,12)); draw(P--A, red, Arrow(size = 0.3cm)); draw(B--A, blue, Arrow(size = 0.3cm)); draw(rightanglemark(A, P, P + (P-B), 15)); draw(B--Q, red, Arrow(size = 0.3cm)); draw(rightanglemark(B,Q, A-2*dir, 15)); label("$l$", A+dir, SE); label("$m$", P+dir, NW); dot("$A$", A, SE); dot("$P$", P, NW); dot("$Q$",Q, 2*S); dot("$B$", B, 2*S); [/asy] If you want to make sure you're visualizing this correctly, imagine the picture above with lines $l$ and $m$ removed: it should become clear that \[\overrightarrow{BQ} = \text{The projection of $\overrightarrow{BA}$ onto } \begin{pmatrix} 3 \\-4 \end{pmatrix}.\]Of course, since $\overrightarrow{PA}$ is equal to $\overrightarrow{BQ}$, we see that \[\overrightarrow{PA} = \text{The projection of $\overrightarrow{BA}$ onto } \begin{pmatrix} 3 \\-4 \end{pmatrix}.\]Now, we need to be projecting onto a vector whose components add to $2$. We know that we're in fact projecting onto any non-zero scalar multiple of our vector, so we use \[-2\mathbf{u} = \begin{pmatrix} -6 \\ 8 \end{pmatrix}\]instead. Therefore, $\overrightarrow{PA}$ is the projection of $\overrightarrow{BA}$ onto $\boxed{\begin{pmatrix}-6 \\ 8 \end{pmatrix}}.$
human
Cube $ABCDEFGH,$ labeled as shown below, has edge length $1$ and is cut by a plane passing through vertex $D$ and the midpoints $M$ and $N$ of $\overline{AB}$ and $\overline{CG}$ respectively. The plane divides the cube into two solids. Find the volume of the larger of the two solids. [asy] import cse5; unitsize(8mm); pathpen=black; pair A = (0,0), B = (3.8,0), C = (5.876,1.564), D = (2.076,1.564), E = (0,3.8), F = (3.8,3.8), G = (5.876,5.364), H = (2.076,5.364), M = (1.9,0), N = (5.876,3.465); pair[] dotted = {A,B,C,D,E,F,G,H,M,N}; D(A--B--C--G--H--E--A); D(E--F--B); D(F--G); pathpen=dashed; D(A--D--H); D(D--C); dot(dotted); label("$A$",A,SW); label("$B$",B,S); label("$C$",C,SE); label("$D$",D,NW); label("$E$",E,W); label("$F$",F,SE); label("$G$",G,NE); label("$H$",H,NW); label("$M$",M,S); label("$N$",N,NE); [/asy]
gpt
Define a coordinate system with $D$ at the origin and $C,$ $A,$ and $H$ on the $x$-, $y$-, and $z$-axes respectively. Then $D=(0,0,0),$ $M=\left(\frac{1}{2},1,0\right),$ and $N=\left(1,0,\frac{1}{2}\right).$ The plane going through $D,$ $M,$ and $N$ has equation \[2x-y-4z=0.\]This plane intersects $\overline{BF}$ at $Q = \left(1,1,\frac{1}{4}\right).$ Let $P = (1,2,0).$ Since $2(1) - 1(2) - 4(0) = 0,$ $P$ is on the plane. Also, $P$ lies on the extensions of segments $\overline{DM},$ $\overline{NQ},$ and $\overline{CB}$. [asy] import cse5; unitsize(8mm); pathpen=black; pair A = (0,0), B = (3.8,0), C = (5.876,1.564), D = (2.076,1.564), E = (0,3.8), F = (3.8,3.8), G = (5.876,5.364), H = (2.076,5.364), M = (1.9,0), N = (5.876,3.465); pair Q = interp(B,F,1/4), P = 2*B - C; pair[] dotted = {A,B,C,D,E,F,G,H,M,N,P,Q}; D(A--B--C--G--H--E--A); D(E--F--B); D(F--G); pathpen=dashed; D(A--D--H); D(D--C); dot(dotted); label("$A$",A,SW); label("$B$",B,S); label("$C$",C,SE); label("$D$",D,NW); label("$E$",E,W); label("$F$",F,SE); label("$G$",G,NE); label("$H$",H,NW); label("$M$",M,SW); label("$N$",N,dir(0)); label("$P$",P,S); label("$Q$",Q,NW); draw(M--D--N,dashed); draw(M--P--N); draw(P--B); draw(M--Q); [/asy] We can then decompose pyramid $PCDN$ into pyramid $PBMQ$ and frustum $BMQCDN$. Pyramid $PCDN$ has base 1 and height $\frac{1}{2},$ so its volume is $[PCDN] = \frac{1}{6}.$ Note that pyramid $PBMQ$ is similar to pyramid $PCDN,$ with similarity $\frac{1}{2},$ so \[[PBMQ] = \left( \frac{1}{2} \right)^3 \cdot \frac{1}{6} = \frac{1}{48}.\]Then \[[BMQCDN] = \frac{1}{6} - \frac{1}{48} = \frac{7}{48},\]so the volume of the larger solid, cut by plane $DMQN,$ is $1 - \frac{7}{48} = \boxed{\frac{41}{48}}.$
human
The line $y = \frac{3x - 5}{4}$ is parameterized in the form \[\begin{pmatrix} x \\ y \end{pmatrix} = \mathbf{v} + t \mathbf{d},\]so that for $x \ge 3,$ the distance between $\begin{pmatrix} x \\ y \end{pmatrix}$ and $\begin{pmatrix} 3 \\ 1 \end{pmatrix}$ is $t.$ Find $\mathbf{d}.$
gpt
Setting $t = 0,$ we get \[\begin{pmatrix} x \\ y \end{pmatrix} = \mathbf{v}.\]But the distance between $\begin{pmatrix} x \\ y \end{pmatrix}$ and $\begin{pmatrix} 3 \\ 1 \end{pmatrix}$ is $t = 0,$ so $\mathbf{v} = \begin{pmatrix} 3 \\ 1 \end{pmatrix}.$ Thus, \[\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 3 \\ 1 \end{pmatrix} + t \mathbf{d}.\]Then for $x \ge 3,$ \[\left\| \begin{pmatrix} x - 3 \\ y - 1 \end{pmatrix} \right\| = \left\| \begin{pmatrix} x - 3 \\ \frac{3x - 9}{4} \end{pmatrix} \right\| = \left\| \begin{pmatrix} 1 \\ \frac{3}{4} \end{pmatrix} \right\| (x - 3) = \frac{5}{4} (x - 3).\]We want this to be $t,$ so $t = \frac{5}{4} (x - 3).$ Then $x = \frac{4}{5} t + 3,$ and $y = \frac{3x - 5}{4} = \frac{3}{5} t + 1,$ so \[\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} \frac{4}{5} t + 3 \\ \frac{3}{5} t + 1 \end{pmatrix} = \begin{pmatrix} 3 \\ 1 \end{pmatrix} + t \begin{pmatrix} 4/5 \\ 3/5 \end{pmatrix}.\]Thus, $\mathbf{d} = \boxed{\begin{pmatrix} 4/5 \\ 3/5 \end{pmatrix}}.$
human
Express $\sin 4x + \sin 6x$ as a product of trigonometric functions.
gpt
By sum-to-product, \[\sin 4x + \sin 6x = \boxed{2 \sin 5x \cos x}.\]
human
The line $y = \frac{3}{2} x - 25$ is parameterized by $(x,y) = (f(t),15t - 7).$ Enter the function $f(t).$
gpt
Let $y = 15t - 7.$ Then \[15t - 7 = \frac{3}{2} x - 25.\]Solving for $x,$ we find $x = \boxed{10t + 12}.$
human
In polar coordinates, the point $\left( -2, \frac{3 \pi}{8} \right)$ is equivalent to what other point, in the standard polar coordinate representation? Enter your answer in the form $(r,\theta),$ where $r > 0$ and $0 \le \theta < 2 \pi.$
gpt
To obtain the point $\left( -2, \frac{3 \pi}{8} \right),$ we move counter-clockwise from the positive $x$-axis by an angle of $\frac{3 \pi}{8},$ then take the point with $r = -2$ at this angle. Since $-2$ is negative, we end up reflecting through the origin. Thus, we arrive at the point $\boxed{\left( 2, \frac{11 \pi}{8} \right)}.$ [asy] unitsize(1 cm); draw(Circle((0,0),2),red); draw((-2.5,0)--(2.5,0)); draw((0,-2.5)--(0,2.5)); draw((0,0)--((-2)*dir(67.5))); draw((0,0)--(2*dir(67.5)),dashed); dot((-2)*dir(67.5)); dot(2*dir(67.6)); label("$\frac{3 \pi}{8}$", (0.5,0.3)); [/asy]
human
One angle of a triangle is twice another, and the sides opposite these angles have lengths 15 and 9. Compute the length of the third side of the triangle.
gpt
Without loss of generality, let the triangle be $ABC,$ where $AB = 9,$ $AC = 15,$ and $\angle B = 2 \angle C.$ Let $a = BC.$ Then by the Law of Cosines, \[\cos C = \frac{a^2 + 15^2 - 9^2}{2 \cdot a \cdot 15} = \frac{a^2 + 144}{30a}.\]By the Law of Sines, \[\frac{9}{\sin C} = \frac{15}{\sin B} = \frac{15}{\sin 2C} = \frac{15}{2 \sin C \cos C},\]so $\cos C = \frac{5}{6}.$ Hence, \[\frac{a^2 + 144}{30a} = \frac{5}{6}.\]This gives us $a^2 + 144 = 25a,$ or $a^2 - 25a + 144 = 0.$ This factors as $(a - 9)(a - 16) = 0.$ If $a = 9,$ then $\angle A = \angle C,$ which implies $A + B + C = 4C = 180^\circ.$ Then $B = 2C = 90^\circ,$ contradiction, because a triangle with sides 9, 9, and 15 is not a right triangle. Therefore, $a = \boxed{16}.$
human
Simplify \[\cos ^2 x + \cos^2 (x + y) - 2 \cos x \cos y \cos (x + y).\]
gpt
First, we can write \begin{align*} &\cos^2 x + \cos^2 (x + y) - 2 \cos x \cos y \cos (x + y) \\ &= \cos^2 x + \cos (x + y) (\cos (x + y) - 2 \cos x \cos y). \end{align*}From the angle addition formula, $\cos (x + y) = \cos x \cos y - \sin x \sin y,$ so \begin{align*} &\cos^2 x + \cos (x + y) (\cos (x + y) - 2 \cos x \cos y) \\ &= \cos^2 x + \cos (x + y) (-\cos x \cos y - \sin x \sin y). \end{align*}From the angle subtraction formula, $\cos (x - y) = \cos x \cos y + \sin x \sin y,$ so \begin{align*} &\cos^2 x + \cos (x + y) (-\cos x \cos y - \sin x \sin y) \\ &= \cos^2 x - \cos (x + y) \cos (x - y). \end{align*}From the product-to-sum formula, \begin{align*} \cos^2 x - \cos (x + y) \cos (x - y) &= \cos^2 x - \frac{1}{2} (\cos 2x + \cos 2y) \\ &= \cos^2 x - \frac{1}{2} \cos 2x - \frac{1}{2} \cos 2y. \end{align*}Finally, from the double-angle formula, \begin{align*} \cos^2 x - \frac{1}{2} \cos 2x - \frac{1}{2} \cos 2y &= \cos^2 x - \frac{1}{2} \cdot (2 \cos^2 x - 1) - \frac{1}{2} (2 \cos^2 y - 1) \\ &= 1 - \cos^2 y = \boxed{\sin^2 y}. \end{align*}
human
Find the number of solutions to \[\sin x = \left( \frac{1}{2} \right)^x\]on the interval $(0,100 \pi).$
gpt
The function $y = \sin x$ and $y = \left (\frac{1}{2} \right)^x$ are plotted below. [asy] unitsize (1.5 cm); real funcf (real x) { return (2*sin(pi*x)); } real funcg (real x) { return((1/2)^x); } draw(graph(funcf,0,4.2),red); draw(graph(funcg,0,4.2),blue); draw((0,-2)--(0,2)); draw((0,0)--(4.2,0)); draw((1,-0.1)--(1,0.1)); draw((2,-0.1)--(2,0.1)); draw((3,-0.1)--(3,0.1)); draw((4,-0.1)--(4,0.1)); label("$\pi$", (1,-0.1), S, UnFill); label("$2 \pi$", (2,-0.1), S, UnFill); label("$3 \pi$", (3,-0.1), S, UnFill); label("$4 \pi$", (4,-0.1), S, UnFill); label("$y = \sin x$", (4.2, funcf(4.2)), E, red); label("$y = (\frac{1}{2})^x$", (4.2, funcg(4.2)), E, blue); [/asy] On each interval of the form $(2 \pi n, 2 \pi n + \pi),$ where $n$ is a nonnegative integer, the two graphs intersect twice. On each interval of the form $(2 \pi n + \pi, 2 \pi n + 2 \pi),$ the two graphs do not intersect. Thus, on the interval $(0, 100 \pi),$ the two graphs intersect $\boxed{100}$ times.
human
The complex number $(3 \operatorname{cis} 18^\circ)(-2\operatorname{cis} 37^\circ)$ is expressed in polar form as $r \operatorname{cis} \theta,$ where $r > 0$ and $0^\circ \le \theta < 360^\circ.$ Enter the ordered pair $(r, \theta).$
gpt
We can write \[(3 \operatorname{cis} 18^\circ)(-2\operatorname{cis} 37^\circ) = (3)(-2) \operatorname{cis}(18^\circ + 37^\circ) = -6 \operatorname{cis} 55^\circ.\]Since we want $r > 0,$ we can write $-6 \operatorname{cis} 55^\circ = 6 \operatorname{cis} (55^\circ + 180^\circ) = 6 \operatorname{cis} 235^\circ.$ Hence, $(r,\theta) = \boxed{(6,235^\circ)}.$
human
Let $\mathbf{M}$ be a matrix such that \[\mathbf{M} \begin{pmatrix} 2 \\ -1 \end{pmatrix} = \begin{pmatrix} 3 \\ 0 \end{pmatrix} \quad \text{and} \quad \mathbf{M} \begin{pmatrix} -3 \\ 5 \end{pmatrix} = \begin{pmatrix} -1 \\ -1 \end{pmatrix}.\]Compute $\mathbf{M} \begin{pmatrix} 5 \\ 1 \end{pmatrix}.$
gpt
We can try solving for the matrix $\mathbf{M}.$ Alternatively, we can try to express $\begin{pmatrix} 5 \\ 1 \end{pmatrix}$ as a linear combination of $\begin{pmatrix} 2 \\ -1 \end{pmatrix}$ and $\begin{pmatrix} -3 \\ 5 \end{pmatrix}.$ Let \[\begin{pmatrix} 5 \\ 1 \end{pmatrix} = a \begin{pmatrix} 2 \\ -1 \end{pmatrix} + b \begin{pmatrix} -3 \\ 5 \end{pmatrix} = \begin{pmatrix} 2a - 3b \\ -a + 5b \end{pmatrix}.\]Thus, $5 = 2a - 3b$ and $1 = -a + 5b.$ Solving, we find $a = 4$ and $b = 1,$ so \[\begin{pmatrix} 5 \\ 1 \end{pmatrix} = 4 \begin{pmatrix} 2 \\ -1 \end{pmatrix} + \begin{pmatrix} -3 \\ 5 \end{pmatrix}.\]Therefore, \[\mathbf{M} \begin{pmatrix} 5 \\ 1 \end{pmatrix} = 4 \mathbf{M} \begin{pmatrix} 2 \\ -1 \end{pmatrix} + \mathbf{M} \begin{pmatrix} -3 \\ 5 \end{pmatrix} = 4 \begin{pmatrix} 3 \\ 0 \end{pmatrix} + \begin{pmatrix} -1 \\ -1 \end{pmatrix} = \boxed{\begin{pmatrix} 11 \\ -1 \end{pmatrix}}.\]
human
Find the phase shift of the graph of $y = 2 \sin \left( 2x + \frac{\pi}{3} \right).$
gpt
Since the graph of $y = 2 \sin \left( 2x + \frac{\pi}{3} \right)$ is the same as the graph of $y = 2 \sin 2x$ shifted $\frac{\pi}{6}$ units to the left, the phase shift is $\boxed{-\frac{\pi}{6}}.$ [asy]import TrigMacros; size(400); real g(real x) { return 2*sin(2*x + pi/3); } real f(real x) { return 2*sin(2*x); } draw(graph(g,-2*pi,2*pi,n=700,join=operator ..),red); draw(graph(f,-2*pi,2*pi,n=700,join=operator ..)); trig_axes(-2*pi,2*pi,-3,3,pi/2,1); layer(); rm_trig_labels(-4,4, 2); [/asy]
human
Compute $(\cos 185^\circ + i \sin 185^\circ)^{54}.$
gpt
By DeMoivre's Theorem, \begin{align*} (\cos 185^\circ + i \sin 185^\circ)^{54} &= \cos 9990^\circ + i \sin 9990^\circ \\ &= \cos 270^\circ + i \sin 270^\circ \\ &= \boxed{-i}. \end{align*}
human
Let $\mathbf{w} = \begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix}.$ The set of vectors $\mathbf{v}$ such that \[\operatorname{proj}_{\mathbf{w}} \mathbf{v} = \begin{pmatrix} 4 \\ -2 \\ 4 \end{pmatrix}\]lie on a plane. Enter the equation of this plane in the form \[Ax + By + Cz + D = 0,\]where $A,$ $B,$ $C,$ $D$ are integers such that $A > 0$ and $\gcd(|A|,|B|,|C|,|D|) = 1.$
gpt
Let $\mathbf{v} = \begin{pmatrix} x \\ y \\ z \end{pmatrix}.$ From the formula for a projection, \[\operatorname{proj}_{\mathbf{w}} \mathbf{v} = \frac{\begin{pmatrix} x \\ y \\ z \end{pmatrix} \cdot \begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix}}{\begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix} \cdot \begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix}} \mathbf{w} = \frac{2x - y + 2z}{9} \begin{pmatrix} 2 \\ -1 \\ 2 \end{pmatrix} = \begin{pmatrix} 4 \\ -2 \\ 4 \end{pmatrix}.\]Hence, we must have $\frac{2x - y + 2z}{9} = 2,$ or $\boxed{2x - y + 2z - 18 = 0},$ which gives us the equation of the plane.
human
Find the number of ordered quadruples $(a,b,c,d)$ of real numbers such that \[\begin{pmatrix} a & b \\ c & d \end{pmatrix}^{-1} = \renewcommand{\arraystretch}{1.5} \begin{pmatrix} \frac{1}{a} & \frac{1}{b} \\ \frac{1}{c} & \frac{1}{d} \end{pmatrix} \renewcommand{\arraystretch}{1}.\]
gpt
If $\begin{pmatrix} a & b \\ c & d \end{pmatrix}^{-1} = \renewcommand{\arraystretch}{1.5} \begin{pmatrix} \frac{1}{a} & \frac{1}{b} \\ \frac{1}{c} & \frac{1}{d} \end{pmatrix} \renewcommand{\arraystretch}{1},$ then \[\begin{pmatrix} a & b \\ c & d \end{pmatrix} \renewcommand{\arraystretch}{1.5} \begin{pmatrix} \frac{1}{a} & \frac{1}{b} \\ \frac{1}{c} & \frac{1}{d} \end{pmatrix} \renewcommand{\arraystretch}{1} = \mathbf{I}.\]This becomes \[\renewcommand{\arraystretch}{1.5} \begin{pmatrix} 1 + \frac{b}{c} & \frac{a}{b} + \frac{b}{d} \\ \frac{c}{a} + \frac{d}{c} & \frac{c}{b} + 1 \end{pmatrix} \renewcommand{\arraystretch}{1} = \mathbf{I}.\]Then $1 + \frac{b}{c} = 1,$ so $\frac{b}{c} = 0,$ which means $b = 0.$ But then $\frac{1}{b}$ is undefined, so there are $\boxed{0}$ solutions.
human
Let $\overline{AD},$ $\overline{BE},$ $\overline{CF}$ be the altitudes of acute triangle $ABC.$ If \[9 \overrightarrow{AD} + 4 \overrightarrow{BE} + 7 \overrightarrow{CF} = \mathbf{0},\]then compute $\angle ACB,$ in degrees. [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; 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); [/asy]
gpt
Let $H$ be the orthocenter of triangle $ABC.$ Since \[9 \overrightarrow{AD} + 4 \overrightarrow{BE} + 7 \overrightarrow{CF} = \mathbf{0},\]there exists a triangle, say $PQR,$ such that $\overrightarrow{PQ} = 9 \overrightarrow{AD},$ $\overrightarrow{QR} = 4 \overrightarrow{BE},$ and $\overrightarrow{RP} = 7 \overrightarrow{CF}.$ (Triangle $PQR$ is shown below, not to scale.) [asy] unitsize (2 cm); pair A, B, C, D, E, F, H, P, Q, R; B = (0,0); C = (3,0); A = intersectionpoint(arc(B,sqrt(7),0,180),arc(C,2,0,180)); 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); P = A + (2,0); Q = P + 9*(D - A)/9; R = Q + 4*(E - B)/9; draw(A--B--C--cycle); draw(A--D); draw(B--E); draw(C--F); draw(P--Q--R--cycle); 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, SW, UnFill); label("$P$", P, NW); label("$Q$", Q, SW); label("$R$", R, dir(0)); [/asy] Since $\angle AEB = 90^\circ,$ $\angle ABE = 90^\circ - A.$ But $\angle BFH = 90^\circ,$ so $\angle BHF = A.$ Since $\overline{PR}$ is parallel to $\overline{CF}$ and $\overline{QR}$ is parallel to $\overline{BE},$ $\angle PRQ = A.$ Similarly, we can show that $\angle AHF = B.$ Since $\overline{PQ}$ is parallel to $\overline{AD},$ and $\overline{PR}$ is parallel to $\overline{CF},$ $\angle QPR = B.$ Hence, triangles $ABC$ and $RPQ$ are similar. This means \[\frac{PQ}{BC} = \frac{QR}{AC} = \frac{PR}{AB}.\]Then \[\frac{9AD}{BC} = \frac{4BE}{AC} = \frac{7CF}{AB}.\]But $AD = \frac{2K}{BC},$ $BE = \frac{2K}{AC},$ and $CF = \frac{2K}{AB},$ where $K$ is the area of triangle $ABC,$ so \[\frac{18K}{BC^2} = \frac{8K}{AC^2} = \frac{14K}{AB^2}.\]Hence, \[\frac{BC^2}{9} = \frac{AC^2}{4} = \frac{AB^2}{7},\]so $BC:AC:AB = 3:2:\sqrt{7}.$ Finally, by the Law of Cosines, \[\cos C = \frac{3^2 + 2^2 - 7}{2 \cdot 3 \cdot 2} = \frac{6}{12} = \frac{1}{2},\]so $C = \boxed{60^\circ}.$
human
Simplify \[\cos \frac{2 \pi}{13} + \cos \frac{6 \pi}{13} + \cos \frac{8 \pi}{13}.\]
gpt
Let $x = \cos \frac{2 \pi}{13} + \cos \frac{6 \pi}{13} + \cos \frac{8 \pi}{13},$ and let $\omega = e^{2 \pi i/13}.$ Then $\omega^{13} = e^{2 \pi i} = 1.$ We see that $x$ is the real part of \[\omega + \omega^3 + \omega^4.\]Since $|\omega| = 1,$ $\overline{\omega} = \frac{1}{\omega}.$ Thus, $x$ is also the real part of \begin{align*} \overline{\omega + \omega^3 + \omega^4} &= \overline{\omega} + \overline{\omega^3} + \overline{\omega^4} \\ &= \frac{1}{\omega} + \frac{1}{\omega^3} + \frac{1}{\omega^4} \\ &= \omega^{12} + \omega^{10} + \omega^9. \end{align*}Hence, \[x = \frac{\omega + \omega^3 + \omega^4 + \omega^9 + \omega^{10} + \omega^{12}}{2}.\]From the equation $\omega^{13} = 1,$ $\omega^{13} - 1 = 0,$ which factors as \[(\omega - 1)(\omega^{12} + \omega^{11} + \omega^{10} + \dots + 1) = 0.\]Since $\omega \neq 1,$ \[1 + \omega + \omega^2 + \dots + \omega^{12} = 0.\]Let \begin{align*} \alpha &= \omega + \omega^3 + \omega^4 + \omega^9 + \omega^{10} + \omega^{12}, \\ \beta &= \omega^2 + \omega^5 + \omega^6 + \omega^7 + \omega^8 + \omega^{11}. \end{align*}Then $\alpha + \beta = \omega + \omega^2 + \omega^3 + \dots + \omega^{12} = -1.$ Also, using the fact that $\omega^{13} = 1,$ the product $\alpha \beta$ simplifies to \[\alpha \beta = 3 \omega + 3 \omega^2 + \dots + 3 \omega^{12} = -3.\]Hence, $\alpha$ and $\beta$ are the roots of $z^2 + z - 3 = 0.$ By the quadratic formula, \[z = \frac{-1 \pm \sqrt{13}}{2}.\]Thus, $x = \frac{-1 + \sqrt{13}}{4}$ or $x = \frac{-1 - \sqrt{13}}{4}.$ Note that \[\cos \frac{8 \pi}{13} = -\cos \left( \pi - \frac{8 \pi}{13} \right) = -\cos \frac{5 \pi}{13},\]so \[x = \cos \frac{2 \pi}{13} + \cos \frac{6 \pi}{13} + \cos \frac{8 \pi}{13} = \left( \cos \frac{2 \pi}{13} - \cos \frac{5 \pi}{13} \right) + \cos \frac{6 \pi}{13} > 0.\]Therefore, \[x = \boxed{\frac{\sqrt{13} - 1}{4}}.\]
human
Find \[\sin \left( \sin^{-1} \frac{3}{5} + \tan^{-1} 2 \right).\]
gpt
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*}
human
Find the matrix that corresponds to rotating about the origin by an angle of $120^\circ$ counter-clockwise.
gpt
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}}.\]