Let $A, B, C$ be angles of a triangle with $A$ and $C$ acute and $B$ greater than a right angle satisfying \[\cos^2 A + \cos^2 B + 2\sin A \sin B \cos C = \dfrac{15}{8} \text{ and } \cos^2 B + \cos^2 C + 2\sin B \sin C \cos A = \dfrac{14}{9}.\] There are positive integers $p, q, r$, and $s$ for which \[\cos^2 C + \cos^2 A + 2\sin C \sin A \cos B = \dfrac{p - q\sqrt{r}}{s},\] where $p + q$ and $s$ are relatively prime and $r$ is not divisible by the square of any prime. Find $p + q + r + s$.
Xem đáp án và lời giải
Đáp án: $222$
Notice that \[\cos^2 A + \cos^2 B + 2\sin A \sin B \cos C = \dfrac{15}{8}\] implies \[\sin^2 A + \sin^2 B - 2\sin A \sin B \cos C = \dfrac{1}{8}.\] Let $R$ be the circumradius and $a, b$, and $c$ be the sides opposite $A, B$, and $C$, respectively. By the Extended Law of Sines \[\dfrac{1}{4R^2}(a^2 + b^2 - 2ab \cos C) = \dfrac{1}{8},\] and by the Law of Cosines \[\dfrac{1}{4R^2} \cdot c^2 = \dfrac{1}{8}.\] Thus $\sin^2 C = \dfrac{1}{8}$. Similarly, the second given equation yields $\sin^2 A = \dfrac{4}{9}$, and a similar argument applied to $\cos^2 C + \cos^2 A + 2\sin C \sin A \cos B$ shows that it equals $2 - \sin^2 B$. Because \[\sin B = \sin A \cos C + \sin C \cos A = \dfrac{2\sqrt{14}}{12} + \dfrac{\sqrt{10}}{12},\] it follows that \[2 - \sin^2 B = \dfrac{111 - 4\sqrt{35}}{72}.\] The requested sum is $p + q + r + s = 111 + 4 + 35 + 72 = 222$.
In $\triangle RED$, $RD = 1$, $\angle DRE = 75^\circ$ and $\angle RED = 45^\circ$. Let $M$ be the midpoint of segment $RD$. Point $C$ lies on side $ED$ such that $RC \perp EM$. Extend segment $DE$ through $E$ to point $A$ such that $CA = AR$. Then $AE = \dfrac{a - \sqrt{b}}{c}$, where $a$ and $c$ are relatively prime positive integers, and $b$ is a positive integer. Find $a + b + c$.
Xem đáp án và lời giải
Đáp án: $56$
Let $N$ be the midpoint of $CR$ and $P$ be the intersection of $EM$ and $CR$. In isosceles triangle $ARC$, median $AN$ is perpendicular to the base $CR$, implying that $AN \parallel EM$. Note that $MN$ is a midline of $\triangle RCD$, from which it follows that $NM \parallel CD$ and $CD = 2MN$. Therefore $MNAE$ is a parallelogram, and $CD = 2MN = 2AE$. Angle $EDR = 180^\circ - (75^\circ + 45^\circ) = 60^\circ$. Let $\angle DEM = x$. Then $\angle REM = 45^\circ - x$, $\angle EMR = 60^\circ + x$, $\angle CRD = 90^\circ - \angle EMR = 30^\circ - x$, and, because $\triangle ECP$ is a right triangle, $\angle ACR = 90^\circ - x$. Applying the Law of Sines in $\triangle REM$ and $\triangle MED$ gives \[ \dfrac{RM}{EM} = \dfrac{\sin(45^\circ - x)}{\sin 75^\circ} \text{ and } \dfrac{EM}{MD} = \dfrac{\sin 60^\circ}{\sin x}. \] Multiplying the two equations together yields \[ 1 = \dfrac{\sin(45^\circ - x)\sin 60^\circ}{\sin 75^\circ \sin x} \text{ or } \dfrac{\sin 75^\circ}{\sin 60^\circ} = \dfrac{\sin(45^\circ - x)}{\sin x}. \] Then \[ \dfrac{\sin 45^\circ \cos 30^\circ + \cos 45^\circ \sin 30^\circ}{\sin 60^\circ} = \dfrac{\sin 45^\circ \cos x - \cos 45^\circ \sin x}{\sin x}, \] and \[ \dfrac{\sqrt{3} + 1}{\sqrt{3}} = \cot x - 1, \] from which it follows that \[ \cot x = \dfrac{1 + 2\sqrt{3}}{\sqrt{3}} \text{ or } \tan x = \dfrac{\sqrt{3}}{1 + 2\sqrt{3}} = \dfrac{6 - \sqrt{3}}{11}. \] Applying the Law of Sines to $\triangle CDR$ gives \[ CD = \dfrac{CD}{RD} = \dfrac{\sin(30^\circ - x)}{\sin(90^\circ + x)} = \dfrac{\sin 30^\circ \cos x - \cos 30^\circ \sin x}{\cos x} = \dfrac{1 - \sqrt{3}\tan x}{2} = \dfrac{14 - 6\sqrt{3}}{22}, \] and because $RD = 1$ it follows that \[ AE = \dfrac{CD}{2} = \dfrac{14 - 6\sqrt{3}}{44} = \dfrac{7 - \sqrt{27}}{22}. \] The requested sum is $7 + 27 + 22 = 56$.
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$. There is a positive integer $m$ so that the maximum possible length for the remaining side of $\triangle ABC$ is $\sqrt{m}$. Find $m$.
Xem đáp án và lời giải
Đáp án: $399$
The condition $\cos(3A) + \cos(3B) + \cos(3C) = 1$ implies $$
\begin{aligned} 0 &= 1 - \cos 3A - (\cos 3B + \cos 3C) \\ &= 2\sin^2\left(\dfrac{3}{2}A\right) - 2\cos\left(\dfrac{3}{2}(B+C)\right)\cos\left(\dfrac{3}{2}(B-C)\right) \\ &= 2\sin^2\left(\dfrac{3}{2}A\right) + 2\sin\left(\dfrac{3}{2}A\right)\cos\left(\dfrac{3}{2}(B-C)\right) \\ &= 2\sin\left(\dfrac{3}{2}A\right)\left(\sin\left(\dfrac{3}{2}A\right) + \cos\left(\dfrac{3}{2}(B-C)\right)\right) \\ &= 2\sin\left(\dfrac{3}{2}A\right)\left(-\cos\left(\dfrac{3}{2}(B+C)\right) + \cos\left(\dfrac{3}{2}(B-C)\right)\right) \\ &= 4\sin\left(\dfrac{3}{2}A\right)\sin\left(\dfrac{3}{2}B\right)\sin\left(\dfrac{3}{2}C\right). \end{aligned}
$$ Therefore one of $\angle A$, $\angle B$, or $\angle C$ must be $120^\circ$. The largest value of the remaining side of $\triangle ABC$ is obtained when the $120^\circ$ angle is between the sides of lengths $10$ and $13$. In this case the Law of Cosines implies that the third side has length $\sqrt{10^2 + 13^2 + 10 \cdot 13} = \sqrt{399}$.
In $\triangle ABC$, $AB = 10$, $\angle A = 30^\circ$, and $\angle C = 45^\circ$. Let $H, D$, and $M$ be points on line $BC$ such that $AH \perp BC$, $\angle BAD = \angle CAD$, and $BM = CM$. Point $N$ is the midpoint of segment $HM$, and point $P$ is on ray $AD$ such that $PN \perp BC$. Then $AP^2 = \dfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find $m + n$.
Xem đáp án và lời giải
Đáp án: $77$
Let $\omega$ be the circumcircle of $\triangle ABC$, and let $E$ be the intersection of ray $AD$ and $\omega$. Because $\angle BAE = \angle CAE$, $E$ is the midpoint of arc $BC$, and so $EM \perp BC$. The projection of three collinear points $A, P$, and $E$ on line $BC$ are $H, N$, and $M$, respectively, with $N$ the midpoint of segment $HM$. Thus $P$ is the midpoint of segment $AE$. Because they subtend equal arcs, $\angle CBE = \angle EAB$. By the Law of Sines $$
\begin{aligned} \dfrac{AE}{AB} &= \dfrac{\sin(\angle ABE)}{\sin(\angle AEB)} = \dfrac{\sin(\angle ABC + \angle CBE)}{\sin(\angle ACB)} \\ &= \dfrac{\sin(\angle ABC + \angle EAB)}{\sin(\angle ACB)} = \dfrac{\sin 120^\circ}{\sin 45^\circ} = \dfrac{\sqrt{3}}{\sqrt{2}} = \dfrac{\sqrt{6}}{2}, \end{aligned}
$$ implying that $AE = 10 \cdot \dfrac{\sqrt{6}}{2} = 5\sqrt{6}$. Thus $AP = \dfrac{1}{2}AE = \dfrac{5}{2}\sqrt{6}$, and $AP^2 = \dfrac{75}{2}$. The requested sum is $75 + 2 = 77$.
Triangle $ABC$ has positive integer side lengths with $AB = AC$. Let $I$ be the intersection of the bisectors of $\angle B$ and $\angle C$. Suppose $BI = 8$. Find the smallest possible perimeter of $\triangle ABC$.
Xem đáp án và lời giải
Đáp án: $108$
Let $M$ denote the midpoint of side $BC$. Note that $A$, $I$, and $M$ are collinear. Set $a = AB$, and $b = BM$. Note that $a > BI = 8$. Then \[ \cos(\angle ABM) = \dfrac{BM}{AB} = \dfrac{b}{a} \text{ and } \cos(\angle IBM) = \dfrac{BM}{BI} = \dfrac{b}{8}. \] The double-angle formula for cosine yields \[ \dfrac{b}{a} = 2 \cdot \dfrac{b^2}{8^2} - 1 \text{ or } ab^2 - 32b - 32a = 0. \] Solving for $a$ yields $a = \dfrac{32b}{b^2 - 32}$. Because $BC = 2b$ must be an integer, let $c = 2b$ so that $a = \dfrac{64c}{c^2 - 128}$. This shows that $c^2 > 128$, so $c > 11$, and $c = 2BM < 2BI = 16$. Testing $c = 12, 13, 14,$ and $15$, it follows that $a$ is an integer only when $c = 12$ and $a = 48$, and the perimeter of $\triangle ABC$ is $48 + 48 + 12 = 108$.
With all angles measured in degrees, the product $\prod_{k=1}^{45} \csc^2(2k - 1)^\circ = m^n$, where $m$ and $n$ are integers greater than 1. Find $m + n$.
A block of wood has the shape of a right circular cylinder with radius $6$ and height $8$, and its entire surface has been painted blue. Points $A$ and $B$ are chosen on the edge of one of the circular faces of the cylinder so that $\widehat{AB}$ on that face measures $120^\circ$. The block is then sliced in half along the plane that passes through point $A$, point $B$, and the center of the cylinder, revealing a flat, unpainted face on each half. The area of one of these unpainted faces is $a \cdot \pi + b\sqrt{c}$, where $a$, $b$, and $c$ are integers and $c$ is not divisible by the square of any prime. Find $a + b + c$.
Xem đáp án và lời giải
Đáp án: $53$
Orient the (uncut) block so that the circular face containing $A$ and $B$ rests on the floor. Let $O$ be the center of the cylinder, let $M$ be the midpoint of segment $AB$, and let $R$ be the region whose area must be computed. Project the diagram into the plane of the bottom face; point $O$ projects to $O'$, the center of the bottom face, and region $R$ projects to region $R'$ as shown below.
The circular segment $S$ enclosed by chord $AB$ and minor arc $\widehat{AB}$ may be created by removing $\triangle AO'B$ from sector $AO'B$, so $S$ has area \[ \dfrac{1}{3} \cdot \pi \cdot 6^2 - \dfrac{1}{2} \cdot 6 \cdot 6 \cdot \sin 120^\circ = 12\pi - 9\sqrt{3}. \] Thus region $R'$ has area \[ \pi \cdot 6^2 - 2(12\pi - 9\sqrt{3}) = 12\pi + 18\sqrt{3}. \] Because $\triangle O'MA$ is a $30^\circ\text{--}60^\circ\text{--}90^\circ$ right triangle, $O'M = 3$. Because $OO' = 4$ and $\triangle OO'M$ is a right triangle, $OM = 5$. Because $R'$ is the orthogonal projection of $R$, the two are related by a stretch in the direction perpendicular to the floor: stretching region $R'$ by a factor of $\dfrac{OM}{O'M} = \dfrac{5}{3}$ in the $O'M$ direction (and by a factor of $1$ in the direction parallel to $AB$) results in a shape congruent to region $R$. Thus the area of $R$ is $\dfrac{5}{3}$ the area of $R'$, so the area of $R$ is \[ 20\pi + 30\sqrt{3}. \] The requested sum is $20 + 30 + 3 = 53$.
The circumcircle of acute $\triangle ABC$ has center $O$. The line passing through point $O$ perpendicular to $OB$ intersects lines $AB$ and $BC$ at $P$ and $Q$, respectively. Also $AB = 5$, $BC = 4$, $BQ = 4.5$, and $BP = \dfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find $m + n$.
Xem đáp án và lời giải
Đáp án: $23$
Let line $PQ$ intersect the circumcircle at points $M$ and $N$ as shown. Because $MN$ is a diameter and $OB$ is perpendicular to $MN$, it follows that $\widehat{BN} = \widehat{BM}$. Thus $\angle QPB = \dfrac{\widehat{BM} + \widehat{AN}}{2} = \dfrac{\widehat{BN} + \widehat{AN}}{2} = \dfrac{\widehat{ANB}}{2} = \angle ACB$. Hence $\triangle ABC \sim \triangle QBP$, and $\dfrac{BP}{BC} = \dfrac{QB}{AB}$. It follows that $BP = \dfrac{4(4.5)}{5} = \dfrac{18}{5}$. The requested sum is $18 + 5 = 23$.
Circles $\mathcal{P}$ and $\mathcal{Q}$ have radii $1$ and $4$, respectively, and are externally tangent at point $A$. Point $B$ is on $\mathcal{P}$ and point $C$ is on $\mathcal{Q}$ so that line $BC$ is a common external tangent of the two circles. A line $\ell$ through $A$ intersects $\mathcal{P}$ again at $D$ and intersects $\mathcal{Q}$ again at $E$. Points $B$ and $C$ lie on the same side of $\ell$, and the areas of $\triangle DBA$ and $\triangle ACE$ are equal. This common area is $\dfrac{m}{n}$, where $m$ and $n$ are relatively prime positive integers. Find $m + n$.
Xem đáp án và lời giải
Đáp án: $129$
Let $P$ and $Q$ be the centers of the circles $\mathcal{P}$ and $\mathcal{Q}$, respectively. Let $F$ be on $CQ$ so that $CBPF$ is a rectangle. Note that in right $\triangle PFQ$, $PQ = 1 + 4 = 5$ and $QF = 4 - 1 = 3$, so $BC = PF = 4$. Let $G$ and $H$ be on $\ell$ so that $BG$ and $CH$ are altitudes of $\triangle ABD$ and $\triangle ACE$, respectively, as shown, and let $\ell$ intersect line $BC$ at $I$. Because the sectors of the two circles cut off by $\ell$ are similar with a $1 : 4$ ratio, it follows that $AE = 4AD$. Because $\triangle ABD$ and $\triangle ACE$ have the same areas, it follows that $BG = 4CH$. Because $\triangle IGB$ is similar to $\triangle IHC$, it follows that $4IC = IB = IC + 4$ and $IC = \dfrac{4}{3}$. Calculate $AI$ by letting $J$ be the projection of $A$ onto line $BC$. Because $PA = \dfrac{1}{5}PQ$, it follows that $AJ = \dfrac{4}{5}PB + \dfrac{1}{5}QC = \dfrac{8}{5}$ and $BJ = \dfrac{1}{5}BC = \dfrac{4}{5}$. Then \[ AI = \sqrt{AJ^2 + IJ^2} = \sqrt{\left(\dfrac{8}{5}\right)^2 + \left(\dfrac{68}{15}\right)^2} = \dfrac{4}{3}\sqrt{13}. \] Now calculate the area of $\triangle DBA$ by finding $BG$ and $AD$. For the former, by similarity $\triangle BGI \sim \triangle AJI$, it follows that $\dfrac{BG}{BI} = \dfrac{AJ}{AI}$, giving $BG = \dfrac{32}{65}\sqrt{13}$. For the latter, the Power of a Point Theorem gives $IA.ID = IB^2$, so $ID = \dfrac{64}{39}\sqrt{13}$ and $AD = ID - IA = \dfrac{4}{13}\sqrt{13}$. So the area of $\triangle DBA$ is \[ \dfrac{1}{2}AD.BG = \dfrac{1}{2}\cdot \dfrac{4}{13}\sqrt{13}\cdot \dfrac{32}{65}\sqrt{13} = \dfrac{64}{65}. \] The requested sum is $64 + 65 = 129$.
Freddy the frog is jumping around the coordinate plane searching for a river, which lies on the horizontal line $y = 24$. A fence is located at the horizontal line $y = 0$. On each jump Freddy randomly chooses a direction parallel to one of the coordinate axes and moves one unit in that direction. When he is at a point where $y = 0$, with equal likelihoods he chooses one of three directions where he either jumps parallel to the fence or jumps away from the fence, but he never chooses the direction that would have him cross over the fence to where $y < 0$. Freddy starts his search at the point $(0, 21)$ and will stop once he reaches a point on the river. Find the expected number of jumps it will take Freddy to reach the river.
Xem đáp án và lời giải
Đáp án: $273$
Let $T(h)$ be the expected number of jumps it will take Freddy to reach the river when he is a distance $h$ from it. The problem asks for the value of $T(3)$. Note that $T(0) = 0$, and for each $h$ with $1 \leqslant h \leqslant 23$ there is a probability of $\dfrac{1}{2}$ that Freddy will stay the same distance from the river, a probability of $\dfrac{1}{4}$ that he will get one jump closer to the river, and a probability of $\dfrac{1}{4}$ that he will get one jump farther away. Thus \[ T(h) = 1 + \dfrac{1}{4} T(h - 1) + \dfrac{1}{4} T(h + 1) + \dfrac{1}{2} T(h), \] which simplifies to $2T(h) = 4 + T(h - 1) + T(h + 1)$. For the special case $h = 24$, \[ T(24) = 1 + \dfrac{1}{3} T(23) + \dfrac{2}{3} T(24), \] which simplifies to $T(24) = 3 + T(23)$. Summing the equations $2T(h) = 4 + T(h - 1) + T(h + 1)$ for $1 \leqslant h \leqslant 23$ yields \[ 2 \sum_{h=1}^{23} T(h) = 4 \cdot 23 + \sum_{h=0}^{22} T(h) + \sum_{h=2}^{24} T(h). \] This simplifies to $T(1) + T(23) = 92 + T(24)$. Combining this with the equation $T(24) = 3 + T(23)$ yields $T(1) = 95$. From the recurrence $T(h + 1) = 2T(h) - T(h - 1) - 4$, it follows that $T(2) = 186$ and $T(3) = 273$.
Centered at each lattice point in the coordinate plane are a circle radius $\dfrac{1}{10}$ and a square with sides of length $\dfrac{1}{5}$ whose sides are parallel to the coordinate axes. The line segment from $(0, 0)$ to $(1001, 429)$ intersects $m$ of the squares and $n$ of the circles. Find $m + n$.
Xem đáp án và lời giải
Đáp án: $574$
Let $A = (0, 0)$ and $B = (1001, 429) = (143 \cdot 7, 143 \cdot 3)$. Between the points $(0, 0)$ and $(7, 3)$, $AB$ can intersect the square at lattice point $(m, n)$ only if it passes between the upper-left and lower-right corners of the square. That is, \[ n + \dfrac{1}{10} \geqslant \dfrac{3}{7}\left(m - \dfrac{1}{10}\right) \text{ and } n - \dfrac{1}{10} \leqslant \dfrac{3}{7}\left(m + \dfrac{1}{10}\right). \] This implies $3m - 1 \leqslant 7n \leqslant 3m + 1$. The only lattice points $(m, n)$ with $0 \leqslant m \leqslant 7$ which satisfy this requirement are $(0, 0)$, $(2, 1)$, $(5, 2)$, and $(7, 3)$. In the cases of $(0, 0)$ and $(7, 3)$, $AB$ passes through the center of the square centered at that point, so it also intersects the circle centered at that point. In the cases of $(2, 1)$ and $(5, 2)$, $AB$ passes through the lower-right and upper-left corners of the square centered at that point, respectively, so it does not intersect the circle centered at that point. Altogether the segment joining $(0, 0)$ to $(7, 3)$ intersects $4$ squares and $2$ circles. The same conclusion applies to the segment joining $(7k - 7, 3k - 3)$ to $(7k, 3k)$ for each $k$ with $1 \leqslant k \leqslant 143$. Because the points $(7k, 3k)$ belong to two of these segments for $1 \leqslant k \leqslant 142$, $AB$ intersects $4 \cdot 143 - 142 = 430$ of the squares and $2 \cdot 143 - 142 = 144$ of the circles. The requested sum is $430 + 144 = 574$.
Circles $\omega_1$ and $\omega_2$ intersect at points $X$ and $Y$. Line $\ell$ is tangent to $\omega_1$ and $\omega_2$ at $A$ and $B$, respectively, with line $AB$ closer to point $X$ than to $Y$. Circle $\omega$ passes through $A$ and $B$ intersecting $\omega_1$ again at $D \ne A$ and intersecting $\omega_2$ again at $C \ne B$. The three points $C$, $Y$, and $D$ are collinear, $XC = 67$, $XY = 47$, and $XD = 37$. Find $AB^2$.
Xem đáp án và lời giải
Đáp án: $270$
Note that lines $AD$, $XY$, and $BC$ are the radical axes of pairs of circles $\omega$ and $\omega_1$, $\omega_1$ and $\omega_2$, $\omega_2$ and $\omega$, respectively. Therefore lines $AD$, $XY$, and $BC$ are either parallel to each other or concurrent. In the former case, $\omega_1$ and $\omega_2$ would be the same size, and by symmetry, $CX = DX$, contradicting the given condition. Hence it must be that lines $AD$, $XY$, and $BC$ are concurrent at a point $Z$. Denote by $M$ the intersection of segments $ZY$ and $AB$. By the Power of a Point Theorem it follows that $MA^2 = MX.MY = MB^2$. In particular, \[ \begin{aligned} AB^2 &= 4MA^2 = 4MX \cdot MY = 4MX(MX + XY) \\ &= (2MX + XY)^2 - XY^2 = (MY + MX)^2 - XY^2. \end{aligned} \] Claim: $(MX + MY)^2 = CX.DX$. The claim implies that $AB^2 = CX.DX - XY^2 = 37 \cdot 67 - 47^2 = 270$. The proof of the claim is based on the following three observations: $ZAXB$ is cyclic; $\triangle XZC$ is similar to $\triangle XDZ$; and $ZAYB$ is a parallelogram. Because $BCYX$ is cyclic, $\angle XBZ = \angle XYC$. Because $ADYX$ is cyclic, $\angle XAZ = \angle XYD$. Because $C$, $Y$, and $D$ are collinear, $\angle XAZ + \angle XBZ = \angle XYD + \angle XYC = 180^\circ$, from which it follows that $ZAXB$ is cyclic, establishing the first observation. This is also a direct consequence of Miquel's Theorem. Because $BCYX$ and $ZAXB$ are cyclic, $\angle XCB = \angle XYB$ and $\angle ABX = \angle AZX$. Because $AB$ is tangent to $\omega_2$ at $B$, $\angle ABX = \angle XYB$. Combining the three equations yields $\angle XCZ = \angle XCB = \angle XYB = \angle ABX = \angle AZX = \angle DZX$. Likewise, $\angle XZC = \angle XDZ$. Hence $\triangle XZC$ is similar to $\triangle XDZ$, establishing the second observation. As in the previous paragraph, $\angle XYB = \angle AZX$ or $BY \parallel AZ$. Similarly, $AY \parallel BZ$. Thus $ZAYB$ is a parallelogram, establishing the third observation. Because $ZAYB$ is a parallelogram, $MY = MZ$ and $MX + MY = XM + MZ = XZ$. Because $\triangle XZC$ and $\triangle XDZ$ are similar, $\dfrac{XZ}{XC} = \dfrac{XD}{XZ}$ or $XZ^2 = XC.XD$. Combining the last two equations yields $(MX + MY)^2 = XZ^2 = XC.XD$, establishing the claim.
Beatrix is going to place six rooks on a $6 \times 6$ chessboard where both the rows and columns are labeled $1$ to $6$; the rooks are placed so that no two rooks are in the same row or the same column. The value of a square is the sum of its row number and column number. The score of an arrangement of rooks is the least value of any occupied square. The average score over all valid configurations is $\dfrac{p}{q}$, where $p$ and $q$ are relatively prime positive integers. Find $p + q$.
Xem đáp án và lời giải
Đáp án: $371$
There are $6! = 720$ configurations. The minimum possible score of $2$ occurs when there is a rook on $(1, 1)$, and the maximum possible score of $7$ occurs when all the rooks are arranged on the squares $(k, 7 - k)$ for $k = 1, 2, 3, 4, 5, 6$. Let $a_n$ be the number of configurations whose score is exactly $n$, and let $b_n$ be the number of configurations whose score is at least $n$. Then the total of all $720$ scores is \[ \begin{aligned} 2a_2 + 3a_3 + \dots + 7a_7 &= 2(a_2 + \dots + a_7) + (a_3 + \dots + a_7) + \dots + (a_6 + a_7) + a_7 \\ &= 2b_2 + b_3 + b_4 + b_5 + b_6 + b_7. \end{aligned} \] In each case the rooks are placed in row order; that is, a square is chosen in row $1$, then a square in row $2$, and so forth. Because every configuration has a score of at least $2$, conclude that $b_2 = 720$. The configurations counted by $b_3$ do not have a rook in $(1, 1)$, so there are $5$ choices for where to put the first row's rook, and $5!$ positions for the remaining rooks, showing that $b_3 = 5 \cdot 5! = 600$. The configurations counted by $b_4$ can have a rook in any of $4$ positions in row $1$ and a rook in any of $4$ positions in row $2$, and there are $4!$ positions for the remaining rooks, showing that $b_4 = 4 \cdot 4 \cdot 4! = 384$. Using a similar line of reasoning, $b_5 = 3 \cdot 3 \cdot 3 \cdot 3! = 162$, $b_6 = 2 \cdot 2 \cdot 2 \cdot 2 \cdot 2! = 32$, and $b_7 = 1 \cdot 1 \cdot 1 \cdot 1 \cdot 1 \cdot 1! = 1$. Then the total score is $2 \cdot 720 + 600 + 384 + 162 + 32 + 1 = 2619$. The average is $\dfrac{2619}{720} = \dfrac{291}{80}$. The requested sum is $291 + 80 = 371$.
Equilateral $\triangle ABC$ has side length $600$. Points $P$ and $Q$ lie outside the plane of $\triangle ABC$ and are on the opposite sides of the plane. Furthermore, $PA = PB = PC$, and $QA = QB = QC$, and the planes of $\triangle PAB$ and $\triangle QAB$ form a $120^\circ$ dihedral angle (the angle between the two planes). There is a point $O$ whose distance from each of $A, B, C, P,$ and $Q$ is $d$. Find $d$.
Xem đáp án và lời giải
Đáp án: $450$
Let $H$ be the foot of the perpendicular from $P$ to the plane of $\triangle ABC$. Because $PA = PB = PC$, it follows that $HA = HB = HC$; that is, $H$ is the centroid of the equilateral $\triangle ABC$. Likewise $H$ is also the foot of the perpendicular from $Q$ to the plane of $\triangle ABC$. Hence $O$ is the midpoint of $PQ$ and $PQ = 2d$. Let $D$ be the midpoint of side $AB$. Hence $PD \perp AB$ and $QD \perp AB$, from which it follows that $\angle PDQ$ is the angle formed by planes $ABP$ and $ABQ$, and so $\angle PDQ = 120^\circ$. Let $\angle PDH = x$ and $\angle QDH = y$. Then $\tan(x + y) = -\sqrt{3}$. Set $AB = a$. Then $DC = \dfrac{\sqrt{3}a}{2}$, $DH = \dfrac{1}{3}DC = \dfrac{\sqrt{3}a}{6}$, and $PH = \tan x \cdot DH = \dfrac{\sqrt{3}a}{6}\tan x$. Likewise $QH = \dfrac{\sqrt{3}a}{6}\tan y$. Hence $2d = PQ = PH + HQ = \dfrac{\sqrt{3}a}{6}(\tan x + \tan y)$, or \[ \tan x + \tan y = \dfrac{4\sqrt{3}d}{a}. \] Because $OP = OC = OQ$, conclude that $O$, the midpoint of $PQ$, is the circumcenter of $\triangle PCQ$, from which it follows that $\angle PCQ = 90^\circ$. Then $CH$ is the altitude to the hypotenuse of right $\triangle CPQ$, implying that $CH^2 = PH.QH$. Hence \[ CH^2 = \left(\dfrac{2}{3}DC\right)^2 = \dfrac{a^2}{3} = PH.HQ = \dfrac{a^2 \tan x \tan y}{12}, \] implying that $\tan x \tan y = 4$. By the Tangent Angle Addition Formula, $\tan(x + y) = \dfrac{\tan x + \tan y}{1 - \tan x \tan y}$ or \[ -\sqrt{3} = \dfrac{\dfrac{4\sqrt{3}d}{a}}{1 - 4}, \] implying that $d = \dfrac{3a}{4}$. Substituting $a = 600$ in the last equation yields $d = 450$.
The area of the smallest equilateral triangle with one vertex on each of the sides of the right triangle with side lengths $2\sqrt{3}$, 5, and $\sqrt{37}$, as shown, is $\dfrac{m\sqrt{p}}{n}$, where $m, n$, and $p$ are positive integers, $m$ and $n$ are relatively prime, and $p$ is not divisible by the square of any prime. Find $m + n + p$.
Xem đáp án và lời giải
Đáp án: $145$
Let the given triangle have vertices $(0, 0)$, $(5, 0)$, and $(0, 2\sqrt{3})$ in the coordinate plane. Then the hypotenuse of the triangle lies on the line $2\sqrt{3}x + 5y = 10\sqrt{3}$. Suppose the equilateral triangle has side length $s$ with a side that has endpoints $(s\cos\theta, 0)$ and $(0, s\sin\theta)$ for some $\theta$ between 0 and $\dfrac{\pi}{2}$. The midpoint of that side is $\dfrac{s}{2}(\cos\theta, \sin\theta)$. The altitude of the equilateral triangle to this midpoint must have slope $\dfrac{\cos\theta}{\sin\theta}$ and have length $\dfrac{\sqrt{3}}{2}s$, so there is a vertex of the equilateral triangle at $\dfrac{s}{2}(\cos\theta + \sqrt{3}\sin\theta, \sin\theta + \sqrt{3}\cos\theta)$. Because this vertex lies on the line $2\sqrt{3}x + 5y = 10\sqrt{3}$, it follows that \[ \dfrac{s}{2} \cdot 2\sqrt{3}(\cos\theta + \sqrt{3}\sin\theta) + \dfrac{s}{2} \cdot 5(\sin\theta + \sqrt{3}\cos\theta) = 10\sqrt{3}, \] from which \[ s = \dfrac{20\sqrt{3}}{7\sqrt{3}\cos\theta + 11\sin\theta}. \] Let $A = \sqrt{(7\sqrt{3})^2 + 11^2} = 2\sqrt{67}$. Then there is an angle $\alpha$ such that $\cos\alpha = \dfrac{7\sqrt{3}}{A}$ and \[ s = \dfrac{\dfrac{20\sqrt{3}}{A}}{\cos\alpha\cos\theta + \sin\alpha\sin\theta} = \dfrac{\dfrac{20\sqrt{3}}{A}}{\cos(\alpha - \theta)}. \] Thus the minimum possible side length occurs when $\theta = \alpha$ and $s = \dfrac{20\sqrt{3}}{A} = \dfrac{10\sqrt{3}}{\sqrt{67}}$. The minimum area for the equilateral triangle is \[ \dfrac{\sqrt{3}}{4}s^2 = \dfrac{75\sqrt{3}}{67}. \] The requested sum is $75 + 67 + 3 = 145$.