problem
stringlengths
16
4.31k
level
stringclasses
6 values
type
stringclasses
7 values
solution
stringlengths
29
6.77k
The graph of the function $y=f(x)$ is shown below. For all $x > 4$, it is true that $f(x) > 0.4$. If $f(x) = \frac{x^2}{Ax^2 + Bx + C}$, where $A,B,$ and $C$ are integers, then find $A+B+C$. [asy] import graph; size(10.9cm); real lsf=0.5; pen dps=linewidth(0.7)+fontsize(10); defaultpen(dps); pen ds=black; real xmin=-5.29,xmax=5.61,ymin=-2.42,ymax=4.34; Label laxis; laxis.p=fontsize(10); xaxis("$x$",xmin,xmax,defaultpen+black,Ticks(laxis,Step=1.0,Size=2,NoZero),Arrows(6),above=true); yaxis("$y$",ymin,ymax,defaultpen+black,Ticks(laxis,Step=1.0,Size=2,NoZero),Arrows(6),above=true); real f1(real x){return x^2/(2*x^2-2*x-12);} draw(graph(f1,xmin,-2.1),linewidth(1.2),Arrows(4)); draw(graph(f1,-1.84,2.67),linewidth(1.2),Arrows(4)); draw(graph(f1,3.24,xmax),linewidth(1.2),Arrows(4)); label("$f$",(-5.2,1),NE*lsf); // clip((xmin,ymin)--(xmin,ymax)--(xmax,ymax)--(xmax,ymin)--cycle); draw((-2,-2.2)--(-2,4.2),dashed); draw((3,-2.2)--(3,4.2),dashed); draw((-5,1/2)--(5.5,1/2),dashed); [/asy]
Level 5
Intermediate Algebra
Since we know that $A,B,C$ are integers, we know that the vertical asymptotes occur at the vertical lines $x = -2$ and $x = 3$. Also, since the degree of the numerator and denominator of $f$ are the same, it follows that the horizontal asymptote of $f$ occurs at the horizontal line $y = 1/A$. We see from the graph that $1/A < 1.$ Also, we are told that for sufficiently large values of $x,$ $f(x) > 0.4,$ so \[0.4 \le \frac{1}{A} < 1.\]As $A$ is an integer, it follows that $A = 2$. Hence, the denominator of the function is given by $Ax^2 + Bx + C = 2(x+2)(x-3) = 2x^2 - 2x - 12$. Then, $A+B+C = 2 - 2 - 12 = \boxed{-12}$.
By partial fractions, \[\frac{1}{x(x + 1)(x + 2)(x + 3)(x + 4)} = \frac{A}{x} + \frac{B}{x + 1} + \frac{C}{x + 2} + \frac{D}{x + 3} + \frac{E}{x + 4}\]for some constants $A,$ $B,$ $C,$ $D,$ and $E.$ Find $A + B + C + D + E.$
Level 3
Intermediate Algebra
Clearing the fractions, we get \begin{align*} 1 &= A(x + 1)(x + 2)(x + 3)(x + 4) \\ &\quad + Bx(x + 2)(x + 3)(x + 4) \\ &\quad + Cx(x + 1)(x + 3)(x + 4) \\ &\quad + Dx(x + 1)(x + 2)(x + 4) \\ &\quad + Ex(x + 1)(x + 2)(x + 3). \end{align*}We can use the usual technique of solving for each constant. Or, we can recognize that both sides represent the same polynomial, which means that the polynomial on the right must simplify to 1. Furthermore, $A + B + C + D + E$ is the coefficient of $x^4$ on the right-hand side, so $A + B + C + D + E = \boxed{0}.$
For which value of $x$ does the function $f(x) = \frac{2x^2 - 5x - 7}{x^2 - 4x + 1}$ cross its horizontal asymptote?
Level 3
Intermediate Algebra
The horizontal asymptote of $f$ is the horizontal line that $f$ approaches as $x \to \pm \infty$. When the leading terms of the numerator and denominator have the same degree, that line is at the value equal to the ratio of the leading coefficients, namely $y = 2/1 = 2$. Setting this equal to $f(x)$, $$f(x) = 2 = \frac{2x^2 - 5x - 7}{x^2 - 4x + 1}.$$Clearing the denominator, $$2(x^2 - 4x + 1) = 2x^2 - 8x + 2 = 2x^2 - 5x - 7 \Longrightarrow 3x = 9 \Longrightarrow x = \boxed{3}.$$
Find \[\left|\left(1 + \sqrt{3}i\right)^4\right|\]
Level 3
Intermediate Algebra
First of all, we know that $|ab|=|a|\cdot |b|$, so \[\left|\left(1 + \sqrt{3}i\right)^4\right|=\left|1 + \sqrt{3} i\right|^4\]We also find that \[\left|1 +\sqrt{3}i\right|=\sqrt{\left(1\right)^2+\left(\sqrt{3}\right)^2}=\sqrt{4}=2\]Therefore, our answer is $2^4=\boxed{16}$.
Let $a,$ $b,$ $c$ be distinct integers, and let $\omega$ be a complex number such that $\omega^3 = 1$ and $\omega \neq 1.$ Find the smallest possible value of \[|a + b \omega + c \omega^2|.\]
Level 5
Intermediate Algebra
Note that $|\omega^3| = |\omega|^3 = 1,$ so $|\omega| = 1.$ Then $\omega \overline{\omega} = |\omega|^2 = 1.$ Also, $\omega^3 - 1 = 0,$ which factors as $(\omega - 1)(\omega^2 + \omega + 1) = 0.$ Since $\omega \neq 1,$ \[\omega^2 + \omega + 1 = 0.\]Hence, \begin{align*} |a + b \omega + c \omega^2|^2 &= (a + b \omega + c \omega^2)(a + b \overline{\omega} + c \overline{\omega^2}) \\ &= (a + b \omega + c \omega^2) \left( a + \frac{b}{\omega} + \frac{c}{\omega^2} \right) \\ &= (a + b \omega + c \omega^2)(a + b \omega^2 + c \omega) \\ &= a^2 + b^2 + c^2 + (\omega + \omega^2) ab + (\omega + \omega^2) ac + (\omega^2 + \omega^4) bc \\ &= a^2 + b^2 + c^2 + (\omega + \omega^2) ab + (\omega + \omega^2) ac + (\omega + \omega^2) bc \\ &= a^2 + b^2 + c^2 - ab - ac - bc \\ &= \frac{(a - b)^2 + (a - c)^2 + (b - c)^2}{2}. \end{align*}Since $a,$ $b,$ and $c$ are distinct, all three of $|a - b|,$ $|a - c|,$ and $|b - c|$ must be at least 1, and at least one of these absolute values must be at least 2, so \[\frac{(a - b)^2 + (a - c)^2 + (b - c)^2}{2} \ge \frac{1 + 1 + 4}{2} = 3.\]Equality occurs when $a,$ $b,$ and $c$ are any three consecutive integers, in any order, so the smallest possible value of $|a + b \omega + c \omega^2|$ is $\boxed{\sqrt{3}}.$
Let $x,$ $y,$ and $z$ be positive real numbers such that $xyz = 32.$ Find the minimum value of \[x^2 + 4xy + 4y^2 + 2z^2.\]
Level 4
Intermediate Algebra
First, $x^2 + 4xy + 4y^2 = (x + 2y)^2.$ By AM-GM, \[x + 2y \ge 2 \sqrt{2xy},\]so $(x + 2y)^2 \ge 8xy.$ Hence, \[x^2 + 4xy + 4y^2 + 2z^2 \ge 8xy + 2z^2.\]If we apply AM-GM directly to $8xy$ and $2z^2,$ then ignoring constants, we will get the term $\sqrt{xyz^2}.$ But the condition is $xyz = 32.$ So instead, we write $8xy + 2z^2$ as $4xy + 4xy + 2z^2.$ Then by AM-GM, \begin{align*} 4xy + 4xy + 2z^2 &\ge 3 \sqrt[3]{(4xy)(4xy)(2z^2)} \\ &= 3 \sqrt[3]{32x^2 y^2 z^2} \\ &= 3 \sqrt[3]{32 \cdot 32^2} \\ &= 96. \end{align*}Equality occurs when $x = 2y$ and $4xy = 2z^2.$ Along with the condition $xyz = 32,$ we can solve to get $x = 4,$ $y = 2,$ and $z = 4,$ so the minimum value is $\boxed{96}.$
For what values of the constant $c$ does the graph of $f(x) = \frac{x^2-x+c}{x^2+x-20}$ have exactly one vertical asymptote? Enter all possible values, separated by commas.
Level 4
Intermediate Algebra
We can factor the denominator to get $$f(x) = \frac{x^2-x+c}{(x-4)(x+5)}.$$Hence, the graph of $f(x)$ has vertical asymptotes at $x=-5$ and $x=4$, unless there is a factor of $x-4$ or $x+5$ in the numerator that cancels out the corresponding factor in the denominator (in this case there will be a hole at that point rather than an asymptote). So, we need to find $c$ such that $x^2 - x + c$ has a factor of $x-4$ or $x + 5,$ but not both. That is to say, we need $c$ such that either $4$ or $-5$ is a root. If $x = 4$ is a root, we must have $(4)^2-4+c=0$ which gives us $c=-12.$ If $-5$ is a root, then we must have $(-5)^2 - (-5) + c = 0,$ or $c = - 30.$ Thus, the values that work are $c = \boxed{-12 \text{ or } -30}.$
Enter all the solutions to \[ \sqrt{4x-3}+\frac{10}{\sqrt{4x-3}}=7,\]separated by commas.
Level 2
Intermediate Algebra
We start by substituting $u=\sqrt{4x-3}$. Then it is easy to solve for $u$: \begin{align*} u + \frac{10}{u} &= 7 \\ u^2 + 10 &= 7u \\ u^2 - 7u + 10 &= 0 \\ (u - 5)(u - 2) &= 0 \end{align*}Thus, we must have $u = 2$ or $u = 5$. If $u = 2$, we get $\sqrt{4x - 3} = 2$, so $4x - 3 = 4$ and $x = \frac{7}{4}$. If $u = 5$, we get $\sqrt{4x - 3} = 5$ and so $4x - 3 = 25$, yielding $x = 7$. Thus our two solutions are $x=\boxed{\frac 74,7}$.
For what positive value of $n$ does $|3+ni|=3\sqrt{10}$?
Level 2
Intermediate Algebra
We know that $3\sqrt{10}=|3+ni|=\sqrt{3^2+n^2}$. Squaring both sides gives $90 = 9 +n^2$, from which we quickly get our solution of $n=\boxed{9}$.
In the complex plane, the graph of $|z - 3| = 2|z + 3|$ intersects the graph of $|z| = k$ in exactly one point. Find all possible values of $k.$ Enter all possible values, separated by commas.
Level 5
Intermediate Algebra
Let $z = x + yi,$ where $x$ and $y$ are real numbers. Then the equation $|z - 3| = 2|z + 3|$ becomes \[|x + yi - 3| = 2 |x + yi + 3|,\]so \[(x - 3)^2 + y^2 = 4[(x + 3)^2 + y^2].\]This simplifies to $x^2 + 10x + y^2 + 9 = 0.$ Completing the square, we get \[(x + 5)^2 + y^2 = 4^2.\]This is the circle centered at $-5$ with radius 4. [asy] unitsize(0.4 cm); draw(Circle((0,0),1),red); draw(Circle((0,0),9),red); draw(Circle((-5,0),4)); draw((-10.5,0)--(10.5,0)); draw((0,-10.5)--(0,10.5)); label("$4$", (-3,0), N); label("$4$", (-7,0), N); dot("$-5$", (-5,0), S); [/asy] The graph of $|z| = k$ is a circle centered at the origin with radius $k.$ We see that the circles with radius $\boxed{1}$ and $\boxed{9}$ intersect the circle $(x + 5)^2 + y^2 = 4^2$ in exactly one point.
Find all solutions to \[\sqrt[4]{47 - 2x} + \sqrt[4]{35 + 2x} = 4.\]Enter all the solutions, separated by commas.
Level 3
Intermediate Algebra
Let $a = \sqrt[4]{47 - 2x}$ and $b = \sqrt[4]{35 + 2x}.$ Then $a + b = 4.$ Also, \[a^4 + b^4 = (47 - 2x) + (35 + 2x) = 82.\]Since $a + b = 4,$ there exists a $t$ such that $a = 2 + t$ and $b = 2 - t.$ Then \[a^4 + b^4 = (2 + t)^4 + (2 - t)^4 = 2t^4 + 48t^2 + 32 = 82.\]This simplifies to $t^4 + 24t^2 - 25 = 0$, which factors as $(t^2 - 1)(t^2 + 25) = 0.$ Hence, $t = \pm 1.$ If $t = 1,$ then $a = \sqrt[4]{47 - 2x} = 3,$ which leads to $x = -17.$ If $t = -1,$ then $a = \sqrt[4]{47 - 2x} = 1,$ which leads to $x = 23.$ Thus, the solutions are $\boxed{23,-17}.$ We check that these solutions works.
The graph of $xy = 1$ is a hyperbola. Find the distance between the foci of this hyperbola.
Level 4
Intermediate Algebra
From the graph of $xy = 1,$ we can tell that the foci will be at the points $(t,t)$ and $(-t,-t)$ for some positive real number $t.$ [asy] unitsize(1 cm); real func(real x) { return(1/x); } pair P; pair[] F; P = (1/2,2); F[1] = (sqrt(2),sqrt(2)); F[2] = (-sqrt(2),-sqrt(2)); draw(graph(func,1/3,3),red); draw(graph(func,-3,-1/3),red); draw((-3,0)--(3,0)); draw((0,-3)--(0,3)); draw(F[1]--P--F[2]); dot("$F_1$", F[1], SE); dot("$F_2$", F[2], SW); dot("$P$", P, NE); [/asy] Thus, if $P = (x,y)$ is a point on the hyperbola, then one branch of the hyperbola is defined by \[\sqrt{(x + t)^2 + (y + t)^2} - \sqrt{(x - t)^2 + (y - t)^2} = d\]for some positive real number $d.$ Then \[\sqrt{(x + t)^2 + (y + t)^2} = \sqrt{(x - t)^2 + (y - t)^2} + d.\]Squaring both sides, we get \[(x + t)^2 + (y + t)^2 = (x - t)^2 + (y - t)^2 + 2d \sqrt{(x - t)^2 + (y - t)^2} + d^2.\]This simplifies to \[4tx + 4ty - d^2 = 2d \sqrt{(x - t)^2 + (y - t)^2}.\]Squaring both sides, we get \begin{align*} &16t^2 x^2 + 16t^2 y^2 + d^4 + 32t^2 xy - 8d^2 tx - 8d^2 ty \\ &= 4d^2 x^2 - 8d^2 tx + 4d^2 y^2 - 8d^2 ty + 8d^2 t^2. \end{align*}We can cancel some terms, to get \[16t^2 x^2 + 16t^2 y^2 + d^4 + 32t^2 xy = 4d^2 x^2 + 4d^2 y^2 + 8d^2 t^2.\]We want this equation to simplify to $xy = 1.$ For this to occur, the coefficients of $x^2$ and $y^2$ on both sides must be equal, so \[16t^2 = 4d^2.\]Then $d^2 = 4t^2,$ so $d = 2t.$ The equation above becomes \[16t^4 + 32t^2 xy = 32t^4.\]Then $32t^2 xy = 16t^4,$ so $xy = \frac{t^2}{2}.$ Thus, $t = \sqrt{2},$ so the distance between the foci $(\sqrt{2},\sqrt{2})$ and $(-\sqrt{2},-\sqrt{2})$ is $\boxed{4}.$
The expression \[(x+y+z)^{2006}+(x-y-z)^{2006}\]is simplified by expanding it and combining like terms. How many terms are in the simplified expression?
Level 5
Intermediate Algebra
There is exactly one term in the simplified expression for every monomial of the form $x^ay^bz^c$, where $a,b$, and $c$ are non-negative integers, $a$ is even, and $a+b+c=2006$. There are 1004 even values of $a$ with $0\leq a\leq 2006$. For each such value, $b$ can assume any of the $2007-a$ integer values between 0 and $2006-a$, inclusive, and the value of $c$ is then uniquely determined as $2006-a-b$. Thus the number of terms in the simplified expression is \[ (2007-0)+(2007-2)+\cdots +(2007-2006)=2007+2005+\cdots +1. \]This is the sum of the first 1004 odd positive integers, which is $ 1004^2=\boxed{1{,}008{,}016}. $ \[ OR \]The given expression is equal to \[ \sum \frac{2006!}{a!b!c!} \left(x^ay^bz^c + x^a(-y)^b(-z)^c \right), \]where the sum is taken over all non-negative integers $a,b,$ and $c$ with $a+b+c=2006$. Because the number of non-negative integer solutions of $a+b+c=k$ is $\binom{k+2}{2}$, the sum is taken over $\binom{2008}{2}$ terms, but those for which $b$ and $c$ have opposite parity have a sum of zero. If $b$ is odd and $c$ is even, then $a$ is odd, so $a=2A+1,b=2B+1, \text{ and }c=2C$ for some non-negative integers $A,B,\text{ and }C$. Therefore $2A+1+2B+1+2C=2006$, so $A+B+C=1002$. Because the last equation has $\binom{1004}{2}$ non-negative integer solutions, there are $\binom{1004}{2}$ terms for which $b$ is odd and $c$ is even. The number of terms for which $b$ is even and $c$ is odd is the same. Thus the number of terms in the simplified expression is \[\binom{2008}{2}-2\binom{1004}{2} = 1004\cdot 2007 - 1004\cdot 1003 = 1004^2 = \boxed{1{,}008{,}016}.\]
Let $f(x) = 4x + c$ and $g(x) = cx + 2.$ If $f(g(x)) = 12x + d,$ then find $d.$
Level 3
Intermediate Algebra
We have that \[f(g(x)) = f(cx + 2) = 4(cx + 2) + c = 4cx + c + 8 = 12x + d.\]Matching coefficients, we get $4c = 12$ and $d = c + 8,$ so $c = 3,$ and $d = 3 + 8 = \boxed{11}.$
Let $x,$ $y,$ and $z$ be nonnegative real numbers such that $x + y + z = 2.$ Find the maximum value of \[(x^2 - xy + y^2)(x^2 - xz + z^2)(y^2 - yz + z^2).\]
Level 5
Intermediate Algebra
Without loss of generality, we can assume that $z \le x$ and $z \le y.$ Then \[(x^2 - xy + y^2)(x^2 - xz + z^2)(y^2 - yz + z^2) \le (x^2 - xy + y^2) x^2 y^2.\]By AM-GM, \begin{align*} x^2 y^2 (x^2 - xy + y^2) &= \frac{4}{9} \left( \frac{3}{2} xy \right) \left( \frac{3}{2} xy \right) (x^2 - xy + y^2) \\ &\le \frac{4}{9} \left( \frac{\frac{3}{2} xy + \frac{3}{2} xy + (x^2 - xy + y^2)}{3} \right)^3 \\ &= \frac{4}{9} \left( \frac{x^2 + 2xy + y^2}{3} \right)^3 \\ &= \frac{4}{9} \cdot \frac{(x + y)^6}{27} \\ &\le \frac{4}{243} (x + y + z)^6 \\ &= \frac{256}{243}. \end{align*}Equality occurs when $x = \frac{4}{3},$ $y = \frac{2}{3},$ and $z = 0,$ so the maximum value is $\boxed{\frac{256}{243}}.$
Let $a,$ $b,$ $c,$ $x,$ $y,$ $z$ be nonzero complex numbers such that \[a = \frac{b + c}{x - 2}, \quad b = \frac{a + c}{y - 2}, \quad c = \frac{a + b}{z - 2},\]and $xy + xz + yz = 5$ and $x + y + z = 3,$ find $xyz.$
Level 5
Intermediate Algebra
We have that \[x - 2 = \frac{b + c}{a}, \quad y - 2 = \frac{a + c}{b}, \quad z - 2 = \frac{a + b}{c},\]so \[x - 1 = \frac{a + b + c}{a}, \quad y - 1 = \frac{a + b + c}{b}, \quad z - 1 = \frac{a + b + c}{c}.\]Then \[\frac{1}{x - 1} = \frac{a}{a + b + c}, \quad \frac{1}{y - 1} = \frac{b}{a + b + c}, \quad \frac{1}{z - 1} = \frac{c}{a + b + c},\]so \[\frac{1}{x - 1} + \frac{1}{y - 1} + \frac{1}{z - 1} = \frac{a + b + c}{a + b + c} = 1.\]Multiplying both sides by $(x - 1)(y - 1)(z - 1),$ we get \[(y - 1)(z - 1) + (x - 1)(z - 1) + (x - 1)(y - 1) = (x - 1)(y - 1)(z - 1).\]Expanding, we get \[xy + xz + yz - 2(x + y + z) + 3 = xyz - (xy + xz + yz) + (x + y + z) - 1,\]so \[xyz = 2(xy + xz + yz) - 3(x + y + z) + 4 = 2 \cdot 5 - 3 \cdot 3 + 4 = \boxed{5}.\]
Find the constant $b$ such that $$\left(5x^2-3x+\frac{7}{3}\right)(ax^2+bx+c) = 15x^4 - 14x^3 + 20x^2 - \frac{25}{3}x + \frac{14}{3}$$
Level 2
Intermediate Algebra
We can use the coefficient of the $x^3$ term to find $b$. On the right we have $-14x^3$, and on the left, the only $x^3$ terms we will get when we expand are $-3x(ax^2)$ and $5x^2(bx)$. So we must have $$-3ax^3 + 5bx^3 = -14x^3$$which means $$5b - 3a = -14$$To find $a$, we use the same reasoning and look at the $x^4$ terms. On the right we have $15x^4$, and on the left, the only $x^4$ term we will get when we expand is $5x^2(ax^2)$. Then we know that $$5ax^4 = 15x^4$$which means that $a=3$. Then $5b -3(3) = -14$ and $b = \boxed{-1}$.
If $a$ is a nonzero integer and $b$ is a positive number such that $ab^2=\log_{10} b$, what is the median of the set $\{0, 1, a, b, 1/b\}$?
Level 4
Intermediate Algebra
Because $b<10^b$ for all $b>0$, it follows that $\log_{10}b<b$. If $b\geq 1$, then $0<\left(\log_{10}b\right)/b^2<1$, so $a$ cannot be an integer. Therefore $0<b<1$, so $\log_{10}b<0$ and $a = \left(\log_{10}b\right)/b^2<0$. Thus $a<0<b<1<1/b$, and the median of the set is $\boxed{b}$. Note that the conditions of the problem can be met with $b = 0.1$ and $a = -100$.
Let $f(x) = 2x^4-17x^3+26x^2-24x-60$. Find $f(7)$.
Level 2
Intermediate Algebra
Instead of plugging in $x=7$ into $f(x)$ and solving, we can use the Remainder Theorem to avoid complicated arithmetic. We know that $f(7)$ will be the remainder when $f(x)$ is divided by $x-7$. So we have: \[ \begin{array}{c|ccccc} \multicolumn{2}{r}{2x^3} & -3x^2&+5x&+11 \\ \cline{2-6} x-7 & 2x^4 &- 17x^3 &+ 26x^2&-24x&-60 \\ \multicolumn{2}{r}{2x^4} & -14x^3 \\ \cline{2-3} \multicolumn{2}{r}{0} & -3x^3 & +26x^2 \\ \multicolumn{2}{r}{} &-3x^3 &+21x^2 \\ \cline{3-4} \multicolumn{2}{r}{} & 0& 5x^2 & -24x \\ \multicolumn{2}{r}{} & & 5x^2 & -35x \\ \cline{4-5} \multicolumn{2}{r}{} & & 0 & 11x & -60 \\ \multicolumn{2}{r}{} & & & 11x & -77 \\ \cline{5-6} \multicolumn{2}{r}{} & & & 0 & 17 \\ \end{array} \]Hence $f(7) = \boxed{17}$.
Define the function $f(x)=\frac{b}{2x-3}$. If $f(2)=f^{-1}(b+1)$, find the product of all possible values of $b$.
Level 4
Intermediate Algebra
The definition of $f$ lets us evaluate $f(2)$: \[f(2)=\frac{b}{2\cdot2-3}=\frac b{1}=b.\]Therefore we want to find all possible $b$ for which \[b=f^{-1}(b+1).\]This is equivalent to \[f(b)=b+1.\]When we substitute $x=b$ into the definition of $f$ we get \[f(b)=\frac{b}{2b-3},\]so we are looking for all solutions $b$ to the equation \[\frac{b}{2b-3}=b+1.\]Assuming $b \ne \dfrac32$, we can multiply both sides by $2b - 3$ to get \[b = (2b - 3)(b + 1) = 2b^2 - b - 3,\]so $2b^2 - 2b - 3 = 0$. We note that $b = \dfrac32$ is not a solution. By Vieta's formulas, the product of the roots of the quadratic equation $ax^2 + bx + c = 0$ is $c/a$, so in this case, the product of the roots is $\boxed{-\frac{3}{2}}$.
Define a function $h(x),$ for positive integer values of $x,$ by \[h(x) = \left\{\begin{aligned} \log_2 x & \quad \text{ if } \log_2 x \text{ is an integer} \\ 1 + h(x + 1) & \quad \text{ otherwise}. \end{aligned} \right.\]Compute $h(100).$
Level 3
Intermediate Algebra
Using the second part of the definition, we get \[h(100) = 1 + h(101) = 2 + h(102) = 3 + h(103) = \dots = 28 + h(128).\]Since $128 = 2^7,$ we use the first part of the definition to get \[h(100) = 28 + 7 = \boxed{35}.\]
On the first day, Barry Sotter used his magic wand to make an object's length increase by $\frac{1}{2}$, meaning that if the length of the object was originally $x,$ then it is now $x + \frac{1}{2} x.$ On the second day he increased the object's longer length by $\frac{1}{3}$; on the third day he increased the object's new length by $\frac{1}{4}$; and so on. On the $n^{\text{th}}$ day of performing this trick, Barry will make the object's length exactly 100 times its original length. What is the value of $n$?
Level 4
Intermediate Algebra
On day $n$, Barry increases the length of the object by a factor of $\frac{n+2}{n+1}$. Thus, the overall increase through day $n$ is by a factor of $\left( \frac32 \right) \left( \frac43\right) \cdots \left( \frac{n+1}{n}\right) \left( \frac{n+2}{n+1}\right)$. Canceling, we see that this expression equals $\frac{n+2}2$. Thus we have $\frac{n+2}2=100$, and so $n=\boxed{198}.$
Real numbers $a$ and $b$ are chosen with $1<a<b$ such that no triangle with positive area has side lengths $1, a,$ and $b$ or $\tfrac{1}{b}, \tfrac{1}{a},$ and $1$. What is the smallest possible value of $b$?
Level 4
Intermediate Algebra
We are told that $1 < a < b.$ We are also told that 1, $a,$ and $b$ cannot form the sides of a triangle, so at least one of the inequalities \begin{align*} 1 + a &> b, \\ 1 + b &> a, \\ a + b &> 1 \end{align*}does not hold. We see that $1 + b > b > a$ and $a + b > a > 1,$ so the only inequality that cannot hold is $1 + a > b.$ Hence, we must have $1 + a \le b.$ Also, since $1 < a < b,$ $\frac{1}{b} < \frac{1}{a} < 1.$ Thus, we must also have \[\frac{1}{a} + \frac{1}{b} \le 1.\]Then \[\frac{1}{a} \le 1 - \frac{1}{b} = \frac{b - 1}{b},\]so \[a \ge \frac{b}{b - 1}.\]Then \[\frac{b}{b - 1} + 1 \le a + 1 \le b,\]so $b + b - 1 \le b(b - 1).$ This simplifies to \[b^2 - 3b + 1 \ge 0.\]The roots of $b^2 - 3b + 1 = 0$ are \[\frac{3 \pm \sqrt{5}}{2},\]so the solution to $b^2 - 3b + 1 \ge 0$ is $b \in \left( -\infty, \frac{3 - \sqrt{5}}{2} \right] \cup \left[ \frac{3 + \sqrt{5}}{2}, \infty \right).$ Since $b > 1,$ the smallest possible value of $b$ is $\boxed{\frac{3 + \sqrt{5}}{2}}.$
The solution of the equation $7^{x+7} = 8^x$ can be expressed in the form $x = \log_b 7^7$. What is $b$?
Level 3
Intermediate Algebra
We have \begin{align*} 7^{x+7} &= 8^x \\ 7^x\cdot 7^7 &= 8^x \\ \left(\frac{8}{7}\right)^x &= 7^7 \\ x &= \log_{8/7}7^7 \end{align*}Since we are looking for the base of the logarithm, our answer is $\boxed{\frac{8}{7}}$.
Evaluate $2000^3-1999\cdot 2000^2-1999^2\cdot 2000+1999^3$
Level 1
Intermediate Algebra
Let $a = 1999$ and $b = 2000.$ Then \begin{align*} 2000^3 - 1999 \cdot 2000^2 - 1999^2 \cdot 2000 + 1999^3 &= b^3 - ab^2 - a^2 b + a^3 \\ &= b^2 (b - a) - a^2 (b - a) \\ &= (b^2 - a^2)(b - a) \\ &= (b + a)(b - a)(b - a) \\ &= \boxed{3999}. \end{align*}
Suppose $f(x) = 6x - 9$ and $g(x) = \frac{x}{3} + 2$. Find $f(g(x)) - g(f(x))$.
Level 2
Intermediate Algebra
We have that $$\begin{aligned} f(g(x)) &= f\left(\frac{x}{3} + 2\right) = 6\left(\frac{x}{3} + 2\right) - 9 \\ &= 2x + 12 - 9\\ &= 2x + 3 \end{aligned}$$and $$\begin{aligned} g(f(x)) &= g(6x-9) = \frac{6x-9}{3} + 2 \\ &= 2x -3 +2\\ &= 2x -1. \end{aligned}$$So $$f(g(x)) - g(f(x)) = 2x+3 - (2x-1) = 2x + 3 - 2x +1 = \boxed{4}.$$
Let $a$, $b$, and $c$ be the roots of $x^3 - 20x^2 + 18x - 7 = 0$. Compute \[(a+b)^2 + (b+c)^2 + (c+a)^2.\]
Level 4
Intermediate Algebra
Expanding, we get \[(a+b)^2+(b+c)^2+(c+a)^2 = 2(a^2+b^2+c^2) + 2(ab+bc+ca).\]To compute this expression, note that \[(a+b+c)^2 = (a^2+b^2+c^2) + 2(ab+bc+ca).\]Then we can write the given expression in terms of $a+b+c$ and $ab+bc+ca$: \[\begin{aligned} 2(a^2+b^2+c^2) + 2(ab+bc+ca) &=[2(a^2+b^2+c^2) + 4(ab+bc+ca)] - 2(ab+bc+ca) \\ &= 2(a+b+c)^2 - 2(ab+bc+ca). \end{aligned}\]By Vieta's formulas, $a+b+c=20$ and $ab+bc+ca=18$, so the answer is $2 \cdot 20^2 - 2 \cdot 18 = \boxed{764}.$
If $x^2 + 2x + 5$ is a factor of $x^4 + Px^2 + Q,$ find $P + Q.$
Level 2
Intermediate Algebra
We have that \[(x^2 + 2x + 5)(x^2 + bx + c) = x^4 + Px^2 + Q.\]for some coefficients $b$ and $c.$ Expanding, we get \[x^4 + (b + 2) x^3 + (2b + c + 5) x^2 + (5b + 2c) x + 5c = x^4 + Px^2 + Q.\]Matching coefficients, we get \begin{align*} b + 2 &= 0, \\ 2b + c + 5 &= P, \\ 5b + 2c &= 0, \\ 5c &= Q. \end{align*}Solving $b + 2 = 0$ and $5b + 2c = 0,$ we get $b = -2$ and $c = 5.$ Then $P = 2b + c + 5 = 6$ and $Q = 5c = 25,$ so $P + Q = \boxed{31}.$
Given that $x - \frac{1}{x} = 4$, what is $x^3 - \frac{1}{x^3}$?
Level 3
Intermediate Algebra
We notice that $x^3 - \frac{1}{x^3}$ is a difference of cubes. We can therefore factor it and rearrange the terms to get: \begin{align*} x^3 - \frac{1}{x^3} & = \left(x - \frac{1}{x}\right)\cdot\left(x^2 + x\left(\frac{1}{x}\right) + \frac{1}{x^2}\right) \\ & = \left(x - \frac{1}{x}\right)\cdot\left(\left(x^2 - 2x\left(\frac{1}{x}\right) + \frac{1}{x^2}\right) + 3x\left(\frac{1}{x}\right)\right) \\ & = \left(x - \frac{1}{x}\right)\cdot\left(\left(x - \frac{1}{x}\right)^2+3\right). \end{align*}Since $x - \frac{1}{x} = 4$, we have that $x^3 - \frac{1}{x^3}=4\cdot(4^2+3) = 4 \cdot 19 = \boxed{76}.$
For some real number $r,$ the polynomial $8x^3 - 4x^2 - 42x + 45$ is divisible by $(x - r)^2.$ Find $r.$
Level 3
Intermediate Algebra
Let the third root be $s.$ Then \[8x^3 - 4x^2 - 42x + 45 = 8(x - r)^2 (x - s) = 8x^3 - 8(2r + s) x^2 + 8(r^2 + 2rs) x - 8r^2 s.\]Matching coefficients, we get \begin{align*} 2r + s &= \frac{1}{2}, \\ r^2 + 2rs &= -\frac{21}{4}, \\ r^2 s &= -\frac{45}{8}. \end{align*}From the first equation, $s = \frac{1}{2} - 2r.$ Substituting into the second equation, we get \[r^2 + 2r \left( \frac{1}{2} - 2r \right) = -\frac{21}{4}.\]This simplifies to $12r^2 - 4r - 21 = 0,$ which factors as $(2r - 3)(6r + 7) = 0.$ Thus, $r = \frac{3}{2}$ or $r = -\frac{7}{6}.$ If $r = \frac{3}{2},$ then $s = -\frac{5}{2}.$ If $r = -\frac{7}{6},$ then $s = \frac{17}{6}.$ We can check that only $r = \boxed{\frac{3}{2}}$ and $s = -\frac{5}{2}$ satisfy $r^2 s = -\frac{45}{8}.$
Let \[f(x) = \frac{ax}{x + 1}.\]Find the constant $a$ so that $f(f(x)) = x$ for all $x \neq -1.$
Level 4
Intermediate Algebra
We have that \begin{align*} f(f(x)) &= f \left( \frac{ax}{x + 1} \right) \\ &= \frac{a \cdot \frac{ax}{x + 1}}{\frac{ax}{x + 1} + 1} \\ &= \frac{a^2 x}{ax + x + 1}. \end{align*}We want \[\frac{a^2 x}{ax + x + 1} = x\]for $x \neq -1.$ This gives us \[a^2 x = ax^2 + x^2 + x.\]Matching the coefficients, we get $a^2 = 1$ and $a + 1 = 0.$ Thus, $a = \boxed{-1}.$
The domain of the function $q(x) = x^4 + 4x^2 + 4$ is $[0,\infty)$. What is the range?
Level 1
Intermediate Algebra
We have $q(x) = (x^2+2)^2$. We wish to determine the set of all $y$ for which $q(x)=y$ has solutions. We must have $y\ge 0$, since $q(x)$ is a square and squares are nonnegative. Under the assumption $y\ge 0$, we have: $$\begin{array}{r r@{~=~}l} & y & (x^2+2)^2 \\ \Leftrightarrow & \sqrt y & x^2+2 \\ \Leftrightarrow & \sqrt y-2 & x^2 \\ \end{array}$$We see that $\sqrt y-2\ge 0$ because squares are nonnegative. Thus, we need $y\ge 4$. When $y\ge 4$, we have $y=q(x)$ by setting $x$ equal to either of $\pm \sqrt{\sqrt y-2}$, and so any $y\ge 4$ can be achieved. Therefore, the range of $q(x)$ is $\boxed{[4,\infty)}$.
The complex number $z$ traces a circle centered at the origin with radius 2. Then $z + \frac{1}{z}$ traces a: (A) circle (B) parabola (C) ellipse (D) hyperbola Enter the letter of the correct option.
Level 3
Intermediate Algebra
Let $z = a + bi,$ where $a$ and $b$ are real numbers. Since $|z| = 2,$ $a^2 + b^2 = 4.$ Then \begin{align*} z + \frac{1}{z} &= a + bi + \frac{1}{a + bi} \\ &= a + bi + \frac{1}{a + bi} \\ &= a + bi + \frac{a - bi}{a^2 + b^2} \\ &= a + bi + \frac{a - bi}{4} \\ &= \frac{5}{4} a + \frac{3}{4} bi. \end{align*}Let $x + yi = z + \frac{1}{z},$ so $x = \frac{5}{4} a$ and $y = \frac{3}{4} b.$ Then \[\frac{x^2}{(5/4)^2} + \frac{y^2}{(3/4)^2} = a^2 + b^2 = 4,\]so \[\frac{x^2}{(5/2)^2} + \frac{y^2}{(3/2)^2} = 1.\]Thus, $z + \frac{1}{z}$ traces an ellipse. The answer is $\boxed{\text{(C)}}.$
Find all real numbers $a$ such that the roots of the polynomial $$x^3 - 6x^2 + 21x + a$$form an arithmetic progression and are not all real.
Level 4
Intermediate Algebra
Let the three roots be $r-d$, $r$, and $r+d$, for some complex numbers $r$ and $d$. Then Vieta's formulas give $$(r-d)+r+(r+d)=6 \qquad\text{and}\qquad (r-d)r+(r-d)(r+d)+r(r+d)=21.$$Simplifying these equations, we have $$3r=6 \qquad\text{and}\qquad 3r^2-d^2=21.$$From $3r=6$, we deduce $r=2$. Substituting this into our second equation gives $12-d^2=21$, so $d^2=-9$ and $d=\pm 3i$. Therefore, the roots of the cubic are $2-3i$, $2$, and $2+3i$, so $$a = -2(2-3i)(2+3i) = -2\left(2^2-(3i)^2\right) = -2(4+9) = \boxed{-26}.$$
Find the nonconstant polynomial $P(x)$ such that \[P(P(x)) = (x^2 + x + 1) P(x).\]
Level 5
Intermediate Algebra
Let $d$ be the degree of $P(x).$ Then the degree of $P(P(x))$ is $d^2,$ and the degree of $(x^2 + x + 1) P(x)$ is $d + 2,$ so \[d^2 = d + 2.\]Then $d^2 - d - 2 = (d - 2)(d + 1) = 0.$ Since $d$ is positive, $d = 2.$ Let $P(x) = ax^2 + bx + c.$ Then \begin{align*} P(P(x)) &= a(ax^2 + bx + c)^2 + b(ax^2 + bx + c) + c \\ &= a^3 x^4 + 2a^2 bx^3 + (ab^2 + 2a^2 c + ab) x^2 + (2abc + b^2) x + ac^2 + bc + c \end{align*}and \[(x^2 + x + 1)(ax^2 + bx + c) = ax^4 + (a + b) x^3 + (a + b + c) x^2 + (b + c) x + c.\]Comparing coefficients, we get \begin{align*} a^3 &= a, \\ 2a^2 b &= a + b, \\ ab^2 + 2a^2 c + ab &= a + b + c, \\ 2abc + b^2 &= b + c, \\ ac^2 + bc + c &= c. \end{align*}From $a^3 = a,$ $a^3 - a = a(a - 1)(a + 1) = 0,$ so $a$ is 0, 1, or $-1.$ But $a$ is the leading coefficient, so $a$ cannot be 0, which means $a$ is 1 or $-1.$ If $a = 1,$ then $2b = 1 + b,$ so $b = 1.$ Then \[1 + 2c + 1 = 1 + 1 + c,\]so $c = 0.$ Note that $(a,b,c) = (1,1,0)$ satisfies all the equations. If $a = -1,$ then $2b = -1 + b,$ so $b = -1.$ Then \[-1 + 2c + 1 = -1 - 1 + c,\]so $c = -2.$ But then the equation $ac^2 + bc + c = c$ is not satisfied. Hence, $(a,b,c) = (1,1,0),$ and $P(x) = \boxed{x^2 + x}.$
Simply the expression \[\frac{(\sqrt{2} - 1)^{1 - \sqrt{3}}}{(\sqrt{2} + 1)^{1 + \sqrt{3}}},\]writing your answer as $a - b \sqrt{c},$ where $a,$ $b,$ and $c$ are positive integers, and $c$ is not divisible by the square of a prime.
Level 4
Intermediate Algebra
First, \[\frac{1}{\sqrt{2} + 1} = \frac{\sqrt{2} - 1}{(\sqrt{2} + 1)(\sqrt{2} - 1)} = \frac{\sqrt{2} - 1}{2 - 1} = \sqrt{2} - 1.\]Hence, \begin{align*} \frac{(\sqrt{2} - 1)^{1 - \sqrt{3}}}{(\sqrt{2} + 1)^{1 + \sqrt{3}}} &= (\sqrt{2} - 1)^{1 - \sqrt{3}} (\sqrt{2} - 1)^{1 + \sqrt{3}} \\ &= (\sqrt{2} - 1)^2 \\ &= 2 - 2 \sqrt{2} + 1 \\ &= \boxed{3 - 2 \sqrt{2}}. \end{align*}
Find the remainder when $x^3 - 3x + 5$ is divided by $x + 2.$
Level 1
Intermediate Algebra
By the Remainder Theorem, we can find the remainder by setting $x = -2.$ This gives us a remainder of $(-2)^3 - 3(-2) + 5 = \boxed{3}.$
Find the range of the function \[k(x) = \frac{2x + 7}{x - 3}.\]
Level 3
Intermediate Algebra
Set \[y = \frac{2x + 7}{x - 3}.\]Solving for $x,$ we find \[x = \frac{3y + 7}{y - 2}.\]Thus, for any value of $y,$ we can find a corresponding value of $x,$ except $y = 2.$ Therefore, the range of the function is $\boxed{(-\infty,2) \cup (2,\infty)}.$
Write $x^{10} + x^5 + 1$ as the product of two polynomials with integer coefficients.
Level 5
Intermediate Algebra
Let $\omega$ satisfy $x^2 + x + 1 = 0,$ so $\omega^2 + \omega + 1 = 0.$ Then $(\omega - 1)(\omega^2 + \omega + 1) = \omega^3 - 1 = 0,$ so $\omega^3 = 1.$ Also, \begin{align*} \omega^{10} + \omega^5 + 1 &= \omega^9 \cdot \omega + \omega^3 \cdot \omega^2 + 1 \\ &= \omega + \omega^2 + 1 \\ &= 0. \end{align*}Therefore, $x^2 + x + 1$ is a factor of $x^{10} + x^5 + 1.$ To bring out this factorization, we can write \begin{align*} x^{10} + x^5 + 1 &= x^{10} - x + x^5 - x^2 + x^2 + x + 1 \\ &= x(x^9 - 1) + x^2 (x^3 - 1) + x^2 + x + 1 \\ &= x(x^3 - 1)(x^6 + x^3 + 1) + x^2 (x - 1)(x^2 + x + 1) + x^2 + x + 1 \\ &= x(x - 1)(x^2 + x + 1)(x^6 + x^3 + 1) + x^2 (x - 1)(x^2 + x + 1) + x^2 + x + 1 \\ &= \boxed{(x^2 + x + 1)(x^8 - x^7 + x^5 - x^4 + x^3 - x + 1)}. \end{align*}
Find the number of positive integers $n \le 1000$ that can be expressed in the form \[\lfloor x \rfloor + \lfloor 2x \rfloor + \lfloor 3x \rfloor = n\]for some real number $x.$
Level 5
Intermediate Algebra
Let $m = \lfloor x \rfloor.$ If $m \le x < m + \frac{1}{3},$ then \[\lfloor x \rfloor + \lfloor 2x \rfloor + \lfloor 3x \rfloor = m + 2m + 3m = 6m.\]If $m + \frac{1}{3} \le x < m + \frac{1}{2},$ then \[\lfloor x \rfloor + \lfloor 2x \rfloor + \lfloor 3x \rfloor = m + 2m + 3m + 1 = 6m + 1.\]If $m + \frac{1}{2} \le x < m + \frac{2}{3},$ then \[\lfloor x \rfloor + \lfloor 2x \rfloor + \lfloor 3x \rfloor = m + 2m + 1 + 3m + 1 = 6m + 2.\]If $m + \frac{2}{3} \le x < m + 1,$ then \[\lfloor x \rfloor + \lfloor 2x \rfloor + \lfloor 3x \rfloor = m + 2m + 1 + 3m + 2 = 6m + 3.\]Thus, an integer can be expressed in the from $\lfloor x \rfloor + \lfloor 2x \rfloor + \lfloor 3x \rfloor$ if and only if it is of the form $6m,$ $6m + 1,$ $6m + 2,$ or $6m + 3.$ It is easy to count that in the range $1 \le n \le 1000,$ the number of numbers of these forms is 166, 167, 167, 167, respectively, so the total is $166 + 167 + 167 + 167 = \boxed{667}.$
Suppose that $(u_n)$ is a sequence of real numbers satisfying \[u_{n+2}=2u_{n+1}+u_n\]and that $u_3=9$ and $u_6=128$. What is $u_5$?
Level 3
Intermediate Algebra
Let $u_4 = a.$ Then $u_5 = 2u_4 + u_3 = 2a + 9$ and $u_6 = 2u_5 + u_4 = 2(2a + 9) + a = 5a + 18 = 128.$ Solving for $a,$ we find $a = 22,$ so $u_5 = 2 \cdot 22 + 9 = \boxed{53}.$
Let $u_n$ be the $n^\text{th}$ term of the sequence \[1,\,\,\,\,\,\,2,\,\,\,\,\,\,5,\,\,\,\,\,\,6,\,\,\,\,\,\,9,\,\,\,\,\,\,12,\,\,\,\,\,\,13,\,\,\,\,\,\,16,\,\,\,\,\,\,19,\,\,\,\,\,\,22,\,\,\,\,\,\,23,\ldots,\] where the first term is the smallest positive integer that is $1$ more than a multiple of $3$, the next two terms are the next two smallest positive integers that are each two more than a multiple of $3$, the next three terms are the next three smallest positive integers that are each three more than a multiple of $3$, the next four terms are the next four smallest positive integers that are each four more than a multiple of $3$, and so on: \[\underbrace{1}_{1\text{ term}},\,\,\,\,\,\,\underbrace{2,\,\,\,\,\,\,5}_{2\text{ terms}},\,\,\,\,\,\,\underbrace{6,\,\,\,\,\,\,9,\,\,\,\,\,\,12}_{3\text{ terms}},\,\,\,\,\,\,\underbrace{13,\,\,\,\,\,\,16,\,\,\,\,\,\,19,\,\,\,\,\,\,22}_{4\text{ terms}},\,\,\,\,\,\,\underbrace{23,\ldots}_{5\text{ terms}},\,\,\,\,\,\,\ldots.\] Determine $u_{2008}$.
Level 5
Intermediate Algebra
First, observe that the difference between consecutive terms within a grouping will always equal $3.$ Second, since all terms in a group with $n$ terms are congruent to $n$ modulo $3$ and all terms in a group with $n+1$ terms are congruent to $n+1$ modulo $3,$ the difference between the first term of the group with $n+1$ terms and the last term of the group with $n$ terms is $1.$ This means that the difference between the last terms of a grouping $(1,5,12,22 \cdots)$ have the same second difference, so the series of numbers can be modeled by a quadratic function. Let $n$ be the number of terms in a group, and let $f(n)$ be the last term in a group with $n$ terms. We can write a system of equations to find a quadratic function.\begin{align*} a+b+c &= 1 \\ 4a+2b+c &= 5 \\ 9a+3b+c &= 12 \end{align*}Solving the system yields $a=\tfrac32, b=-\tfrac12, c=0,$ making the function $f(n) = \tfrac32 x^2 - \tfrac12 x = \tfrac{x(3x-1)}{2}.$ Note that the last term of the group with $n$ terms is term $\tfrac{n(n+1)}{2}$ in the sequence. The largest $n$ such that $\tfrac{n(n+1)}{2} \le 2008$ is $62,$ and $f(62) = \tfrac{62 \cdot 185}{2} = 5735.$ Since $\tfrac{62 \cdot 63}{2} = 1953,$ the $1953^\text{th}$ term of the sequence is $5735.$ This means the $1954^\text{th}$ term is $5736,$ and with some basic algebra (or skip counting), the $2008^\text{th}$ term is $\boxed{5898}.$
Find the largest positive integer $n$ such that \[\sin^n x + \cos^n x \ge \frac{1}{n}\]for all real numbers $x.$
Level 5
Intermediate Algebra
Setting $x = \pi,$ we get \[(-1)^n \ge \frac{1}{n},\]so $n$ must be even. Let $n = 2m.$ Setting $x = \frac{\pi}{4},$ we get \[\left( \frac{1}{\sqrt{2}} \right)^{2m} + \left( \frac{1}{\sqrt{2}} \right)^{2m} \ge \frac{1}{2m}.\]This simplifies to \[\frac{1}{2^{m - 1}} \ge \frac{1}{2m},\]so $2^{m - 2} \le m.$ We see that $m = 4$ is a solution, and the function $2^{m - 2}$ grows faster than $m,$ so $m = 4$ is the largest possible value of $m.$ We must then prove that \[\sin^8 x + \cos^8 x \ge \frac{1}{8}\]for all real numbers $x.$ By QM-AM, \[\sqrt{\frac{\sin^8 x + \cos^8 x}{2}} \ge \frac{\sin^4 x + \cos^4 x}{2},\]so \[\sin^8 x + \cos^8 x \ge \frac{(\sin^4 x + \cos^4 x)^2}{2}.\]Again by QM-AM, \[\sqrt{\frac{\sin^4 x + \cos^4 x}{2}} \ge \frac{\sin^2 x + \cos^2 x}{2} = \frac{1}{2},\]so \[\sin^4 x + \cos^4 x \ge \frac{1}{2}.\]Therefore, \[\sin^8 x + \cos^8 x \ge \frac{(1/2)^2}{2} = \frac{1}{8}.\]We conclude that the largest such positive integer $n$ is $\boxed{8}.$
Find the equation of the directrix of the parabola $y = 8x^2 + 2.$
Level 3
Intermediate Algebra
Recall that a parabola is defined as the set of all points that are equidistant to the focus $F$ and the directrix. To make the algebra a bit easier, we can find the directrix of the parabola $y = 8x^2,$ and then shift it upward 2 units to find the directrix of the parabola $y = 8x^2 + 2.$ Since the parabola $y = 8x^2$ is symmetric about the $y$-axis, the focus is at a point of the form $(0,f).$ Let $y = d$ be the equation of the directrix. [asy] unitsize(1.5 cm); pair F, P, Q; F = (0,1/4); P = (1,1); Q = (1,-1/4); real parab (real x) { return(x^2); } draw(graph(parab,-1.5,1.5),red); draw((-1.5,-1/4)--(1.5,-1/4),dashed); draw(P--F); draw(P--Q); dot("$F$", F, NW); dot("$P$", P, E); dot("$Q$", Q, S); [/asy] Let $(x,8x^2)$ be a point on the parabola $y = 8x^2.$ Then \[PF^2 = x^2 + (8x^2 - f)^2\]and $PQ^2 = (8x^2 - d)^2.$ Thus, \[x^2 + (8x^2 - f)^2 = (8x^2 - d)^2.\]Expanding, we get \[x^2 + 64x^4 - 16fx^2 + f^2 = 64x^4 - 16dx^2 + d^2.\]Matching coefficients, we get \begin{align*} 1 - 16f &= -16d, \\ f^2 &= d^2. \end{align*}From the first equation, $f - d = \frac{1}{16}.$ Since $f^2 = d^2,$ $f = d$ or $f = -d.$ We cannot have $f = d,$ so $f = -d.$ Then $-2d = \frac{1}{16},$ so $d = -\frac{1}{32}.$ Thus, the equation of the directrix of $y = 8x^2$ is $y = -\frac{1}{32},$ so the equation of the directrix of $y = 8x^2 + 2$ is $\boxed{y = \frac{63}{32}}.$
Give an example of a quadratic function that has zeroes at $x=2$ and $x=4$, and that takes the value $6$ when $x=3$. Enter your answer in the expanded form "ax^2 + bx + c", where a,b,c are replaced by appropriate numbers.
Level 3
Intermediate Algebra
An example of a quadratic function with zeroes at $x=2$ and $x=4$ is $(x-2)(x-4)$. However, when $x=3$, this function takes the value $-1$. However, multiplying the entire quadratic by $-6$ does not change the location of the zeroes, and does give us the desired value at $x=3$. Thus, $-6(x-2)(x-4)$ has all the desired properties. The expanded form of this expression is $\boxed{-6x^2+36x-48}$. Note that this is the only such quadratic. Any quadratic must factor as $a(x-r)(x-s)$, where its zeroes are $r$ and $s$; thus a quadratic with zeroes at $x=2$ and $x=4$ must be of the form $a(x-2)(x-4)$, and the coefficient $a=-6$ is forced by the value at $x=3$.
A polynomial $p(x)$ is called self-centered if it has integer coefficients and $p(100) = 100.$ If $p(x)$ is a self-centered polynomial, what is the maximum number of integer solutions $k$ to the equation $p(k) = k^3$?
Level 5
Intermediate Algebra
Let $q(x) = p(x) - x^3,$ and let $r_1,$ $r_2,$ $\dots,$ $r_n$ be the integer roots to $p(k) = k^3.$ Then \[q(x) = (x - r_1)(x - r_2) \dotsm (x - r_n) q_0(x)\]for some polynomial $q_0(x)$ with integer coefficients. Setting $x = 100,$ we get \[q(100) = (100 - r_1)(100 - r_2) \dotsm (100 - r_n) q_0(100).\]Since $p(100) = 100,$ \[q(100) = 100 - 100^3 = -999900 = -2^2 \cdot 3^2 \cdot 5^2 \cdot 11 \cdot 101.\]We can then write $-999900$ as a product of at most 10 different integer factors: \[-999900 = (1)(-1)(2)(-2)(3)(-3)(5)(-5)(-11)(101).\]Thus, the number of integer solutions $n$ is at most 10. Accordingly, we can take \[q(x) = (x - 99)(x - 101)(x - 98)(x - 102)(x - 97)(x - 103)(x - 95)(x - 105)(x - 111)(x - 1),\]and $p(x) = q(x) + x^3,$ so $p(k) = k^3$ has 10 integer roots, namely 99, 101, 98, 102, 97, 103, 95, 105, 111, and 1. Thus, $\boxed{10}$ integer roots is the maximum.
Compute \[\frac{2 + 6}{4^{100}} + \frac{2 + 2 \cdot 6}{4^{99}} + \frac{2 + 3 \cdot 6}{4^{98}} + \dots + \frac{2 + 98 \cdot 6}{4^3} + \frac{2 + 99 \cdot 6}{4^2} + \frac{2 + 100 \cdot 6}{4}.\]
Level 4
Intermediate Algebra
Let \[S = \frac{2 + 6}{4^{100}} + \frac{2 + 2 \cdot 6}{4^{99}} + \frac{2 + 3 \cdot 6}{4^{98}} + \dots + \frac{2 + 98 \cdot 6}{4^3} + \frac{2 + 99 \cdot 6}{4^2} + \frac{2 + 100 \cdot 6}{4}.\]Then \[4S = \frac{2 + 6}{4^{99}} + \frac{2 + 2 \cdot 6}{4^{98}} + \frac{2 + 3 \cdot 6}{4^{97}} + \dots + \frac{2 + 98 \cdot 6}{4^2} + \frac{2 + 99 \cdot 6}{4} + \frac{2 + 100 \cdot 6}{1}.\]Subtracting these equations, we get \[3S = 602 - \frac{6}{4} - \frac{6}{4^2} - \dots - \frac{6}{4^{98}} - \frac{6}{4^{99}} - \frac{8}{4^{100}}.\]From the formula for a geometric series, \begin{align*} \frac{6}{4} + \frac{6}{4^2} + \dots + \frac{6}{4^{98}} + \frac{6}{4^{99}} &= \frac{6}{4^{99}} (1 + 4 + \dots + 4^{97} + 4^{98}) \\ &= \frac{6}{4^{99}} \cdot \frac{4^{99} - 1}{4 - 1} \\ &= 2 \cdot \frac{4^{99} - 1}{4^{99}} \\ &= 2 - \frac{2}{4^{99}}. \end{align*}Therefore, \[3S = 602 - 2 + \frac{2}{4^{99}} - \frac{8}{4^{100}} = 602 - 2 + \frac{2}{4^{99}} - \frac{2}{4^{99}} = 600,\]so $S = \boxed{200}.$
A sequence of integers $a_1, a_2, a_3, \ldots$ is chosen so that $a_n = a_{n - 1} - a_{n - 2}$ for each $n \ge 3.$ What is the sum of the first $2001$ terms of this sequence if the sum of the first $1492$ terms is $1985,$ and the sum of the first $1985$ terms is $1492$?
Level 3
Intermediate Algebra
Letting $a_1 = x$ and $a_2 = y,$ we have \[\begin{aligned} a_3 &= y-x, \\ a_4 &= (y-x) - y = -x, \\ a_5 &= -x-(y-x) = -y, \\ a_6 &= -y-(-x) = x-y, \\ a_7 &= (x-y)-(-y) = x, \\ a_8 &= x-(x-y) = y. \end{aligned}\]Since $a_7 = a_1$ and $a_8 = a_2,$ the sequence repeats with period $6$; that is, $a_{k+6} = a_k$ for all positive integers $k.$ Furthermore, the sum of any six consecutive terms in the sequence equals \[x + y + (y-x) + (-x) + (-y) + (x-y) = 0.\]So, since $1492$ is $4$ more than a multiple of six, the sum of the first $1492$ terms is equal to the sum of the first four terms: \[\begin{aligned} 1985 &= a_1 + a_2 + \dots + a_{1492} \\&= a_1+a_2+a_3+a_4\\&=x+y+(y-x)+(-x)\\&=2y-x. \end{aligned}\]Similarly, since $1985$ is $5$ more than a multiple of six, we have \[\begin{aligned}1492 &= a_1+a_2+\dots+a_{1985}\\&=a_1+a_2+a_3+a_4+a_5\\&=x+y+(y-x)+(-x)+(-y)\\&=y-x. \end{aligned}\]Subtracting this second equation from the first equation, we get $y = 1985 - 1492 = 493.$ Since $2001$ is $3$ more than a multiple of six, we have \[\begin{aligned}a_1+a_2+\dots+a_{2001} &= a_1+a_2+a_3\\&=x+y+(y-x)\\&=2y = 2\cdot 493 = \boxed{986}.\end{aligned}\](Note that solving for $x$ was not strictly necessary.)
Let $x$ be a real number, $x > 1.$ Compute \[\sum_{n = 0}^\infty \frac{1}{x^{2^n} - x^{-2^n}}.\]
Level 5
Intermediate Algebra
We can write \[\frac{1}{x^{2^n} - x^{-2^n}} = \frac{x^{2^n}}{x^{2^{n + 1}} - 1}.\]Let $y = x^{2^n}.$ Then \begin{align*} \frac{x^{2^n}}{x^{2^{n + 1}} - 1} &= \frac{y}{y^2 - 1} \\ &= \frac{(y + 1) - 1}{y^2 - 1} \\ &= \frac{y + 1}{y^2 - 1} - \frac{1}{y^2 - 1} \\ &= \frac{1}{y - 1} - \frac{1}{y^2 - 1} \\ &= \frac{1}{x^{2^n} - 1} - \frac{1}{x^{2^{n + 1}} - 1}. \end{align*}Thus, the sum telescopes: \[\sum_{n = 0}^\infty \frac{1}{x^{2^n} - x^{-2^n}} = \left( \frac{1}{x - 1} - \frac{1}{x^2 - 1} \right) + \left( \frac{1}{x^2 - 1} - \frac{1}{x^4 - 1} \right) + \left( \frac{1}{x^4 - 1} - \frac{1}{x^8 - 1} \right) + \dotsb = \boxed{\frac{1}{x - 1}}.\]
The expression \[a^3 (b^2 - c^2) + b^3 (c^2 - a^2) + c^3 (a^2 - b^2)\]can be factored into the form $(a - b)(b - c)(c - a) p(a,b,c),$ for some polynomial $p(a,b,c).$ Find $p(a,b,c).$
Level 5
Intermediate Algebra
First, we take out a factor of $a - b$: \begin{align*} a^3 (b^2 - c^2) + b^3 (c^2 - a^2) + c^3 (a^2 - b^2) &= a^3 b^2 - a^2 b^3 + b^3 c^2 - a^3 c^2 + c^3 (a + b)(a - b) \\ &= a^2 b^2 (a - b) + (b^3 - a^3) c^2 + c^3 (a + b)(a - b) \\ &= (a - b)[a^2 b^2 - (a^2 + ab + b^2) c^2 + c^3 (a + b)] \\ &= (a - b)(a^2 b^2 - a^2 c^2 - abc^2 - b^2 c^2 + ac^3 + bc^3). \end{align*}We can then take out a factor of $b - c$: \begin{align*} a^2 b^2 - a^2 c^2 - abc^2 - b^2 c^2 + ac^3 + bc^3 &= a^2 (b^2 - c^2) + ac^3 - abc^2 + bc^3 - b^2 c^2 \\ &= a^2 (b^2 - c^2) + ac^2 (c - b) + bc^2 (c - b) \\ &= a^2 (b - c)(b + c) + ac^2 (c - b) + bc^2 (c - b) \\ &= (b - c)[a^2 (b + c) - ac^2 - bc^2] \\ &= (b - c)(a^2 b + a^2 c - ac^2 - bc^2). \end{align*}Finally, we take out a factor of $c - a$: \begin{align*} a^2 b + a^2 c - ac^2 - bc^2 &= a^2 b - bc^2 + a^2 c - ac^2 \\ &= b (a^2 - c^2) + ac(a - c) \\ &= b (a - c)(a + c) + ac(a - c) \\ &= -(c - a)(ab + ac + bc). \end{align*}Thus, $p(a,b,c) = \boxed{-(ab + ac + bc)}.$
A parabola has focus $(3,3)$ and directrix $3x + 7y = 21.$ Express the equation of the parabola in the form \[ax^2 + bxy + cy^2 + dx + ey + f = 0,\]where $a,$ $b,$ $c,$ $d,$ $e,$ $f$ are integers, $a$ is a positive integer, and $\gcd(|a|,|b|,|c|,|d|,|e|,|f|) = 1.$
Level 5
Intermediate Algebra
Let $(x,y)$ be a point on the parabola. The distance from $(x,y)$ to the focus is \[\sqrt{(x - 3)^2 + (y - 3)^2}.\]The distance from $(x,y)$ to the line $3x + 7y - 21 = 0$ is \[\frac{|3x + 7y - 21|}{\sqrt{3^2 + 7^2}} = \frac{|3x + 7y - 21|}{\sqrt{58}}.\]By definition of the parabola, these distances are equal. Hence, \[\sqrt{(x - 3)^2 + (y - 3)^2} = \frac{|3x + 7y - 21|}{\sqrt{58}}.\]Squaring both sides, we get \[(x - 3)^2 + (y - 3)^2 = \frac{(3x + 7y - 21)^2}{58}.\]This simplifies to $\boxed{49x^2 - 42xy + 9y^2 - 222x - 54y + 603 = 0}.$
The polynomial $P(x) = 2x^3 + ax^2 + bx + c$ has the property that the mean of its zeros, the product of its zeros, and the sum of the coefficients are all equal. The $y$-intercept of the graph of $y = P(x)$ is 8. What is $b$?
Level 5
Intermediate Algebra
The $y$-intercept of the graph is the point at which $x=0$. At that point, $P(x)=c$, which we are told is equal to 8. Thus, $c=8$. The product of the roots of the given polynomial is $-\frac{c}{2}=-4$. The problem states that the mean of the zeros must also equal $-4$, so the sum of the three zeros (this is a cubic equation) is equal to $3 \cdot -4 = -12$. The sum of the zeros is also equal to $-\frac{a}{2}$, so $a=24$. Finally, we are given that the sum of the coefficients, or $2+ a+b+c$, is also equal to $-4$. Plugging in our known values of $a$ and $c$, we have $2+24+b+8=-4$. Solving for $b$, we get $b=\boxed{-38}$.
Let $a,$ $b,$ $c,$ be nonzero real numbers such that $a + b + c = 0.$ Find all possible values of \[\frac{a^2 b^2}{(a^2 - bc)(b^2 - ac)} + \frac{a^2 c^2}{(a^2 - bc)(c^2 - ab)} + \frac{b^2 c^2}{(b^2 - ac)(c^2 - ab)}.\]Enter all possible values, separated by commas.
Level 5
Intermediate Algebra
Let's consider the expressions in the denominators. Since $a + b + c = 0,$ \[a^2 - bc = (-b - c)^2 - bc = b^2 + bc + c^2 = b^2 + c(b + c) = b^2 - ac.\]Similarly, we can prove that $b^2 - ac = c^2 - ab.$ Let $x = a^2 - bc = b^2 - ac = c^2 - ab.$ Then the sum is \[\frac{a^2 b^2 + a^2 c^2 + b^2 c^2}{x^2}.\]Note that \begin{align*} x^2 &= (a^2 - bc)(b^2 - ac) \\ &= a^2 b^2 - a^3 c - b^3 c + abc^2 \\ &= a^2 b^2 - (a^3 + b^3) c + abc^2 \\ &= a^2 b^2 - (a + b)(a^2 - ab + b^2) c + abc^2 \\ &= a^2 b^2 + (a^2 - ab + b^2) c^2 + abc^2 \\ &= a^2 b^2 + a^2 c^2 + b^2 c^2. \end{align*}Therefore, \[\frac{a^2 b^2 + a^2 c^2 + b^2 c^2}{x^2} = 1.\]Thus, the given expression can only be equal to $\boxed{1}.$
The squares of a chessboard are labelled with numbers, as shown below. [asy] unitsize(0.8 cm); int i, j; for (i = 0; i <= 8; ++i) { draw((i,0)--(i,8)); draw((0,i)--(8,i)); } for (i = 0; i <= 7; ++i) { for (j = 0; j <= 7; ++j) { label("$\frac{1}{" + string(i + 8 - j) + "}$", (i + 0.5, j + 0.5)); }} [/asy] Eight of the squares are chosen, so that there is exactly one chosen square in each row and each column. Find the minimum sum of the labels of the eight chosen squares.
Level 3
Intermediate Algebra
Numbers the rows 1, 2, 3, $\dots,$ 8 from top to bottom. Let $r_1$ be the row number of the chosen square in the first column. (For example, if the 5th square is chosen in the first column, then $r_1 = 5.$) Then the label of that square is $\frac{1}{r_1}.$ Similarly, if $r_2$ is the row number of the chosen square in the second column, then its label is \[\frac{1}{r_2 + 1}.\]In general, let $r_i$ be the row number of the chosen square in column $i,$ so its label is \[\frac{1}{r_i + i - 1}.\]Then we want to minimize \[\frac{1}{r_1} + \frac{1}{r_2 + 1} + \frac{1}{r_3 + 2} + \dots + \frac{1}{r_8 + 7}.\]By AM-HM, \[\frac{r_1 + (r_2 + 1) + (r_3 + 2) + \dots + (r_8 + 7)}{8} \ge \frac{8}{\frac{1}{r_1} + \frac{1}{r_2 + 1} + \frac{1}{r_3 + 2} + \dots + \frac{1}{r_8 + 7}},\]so \begin{align*} \frac{1}{r_1} + \frac{1}{r_2 + 1} + \frac{1}{r_3 + 2} + \dots + \frac{1}{r_8 + 7} &\ge \frac{64}{r_1 + (r_2 + 1) + (r_3 + 2) + \dots + (r_8 + 7)} \\ &= \frac{64}{r_1 + r_2 + r_3 + \dots + r_8 + 28}. \end{align*}Since there exists one chosen square in each row, $r_1,$ $r_2,$ $r_3,$ $\dots,$ $r_8$ are equal to 1, 2, 3, $\dots,$ 8 in some order. Therefore, \[\frac{1}{r_1} + \frac{1}{r_2 + 1} + \frac{1}{r_3 + 2} + \dots + \frac{1}{r_8 + 7} \ge \frac{64}{1 + 2 + 3 + \dots + 8 + 28} = \frac{64}{36 + 28} = 1.\]Equality occurs when we choose all eight squares labelled $\frac{1}{8},$ so the smallest possible sum is $\boxed{1}.$
Let $a$ and $b$ be real numbers. Consider the following five statements: $\frac{1}{a} < \frac{1}{b}$ $a^2 > b^2$ $a < b$ $a < 0$ $b < 0$ What is the maximum number of these statements that can be true for any values of $a$ and $b$?
Level 2
Intermediate Algebra
Suppose $a < 0,$ $b < 0,$ and $a < b.$ Then \[\frac{1}{a} - \frac{1}{b} = \frac{b - a}{ab} > 0,\]so $\frac{1}{a} > \frac{1}{b}.$ Thus, not all five statements can be true. If we take $a = -2$ and $b = -1,$ then all the statements are true except the first statement. Hence, the maximum number of statements that can be true is $\boxed{4}.$
The function $f(x),$ defined for $0 \le x \le 1,$ has the following properties: (i) $f(0) = 0.$ (ii) If $0 \le x < y \le 1,$ then $f(x) \le f(y).$ (iii) $f(1 - x) = 1 - f(x)$ for all $0 \le x \le 1.$ (iv) $f \left( \frac{x}{3} \right) = \frac{f(x)}{2}$ for $0 \le x \le 1.$ Find $f \left( \frac{2}{7} \right).$
Level 5
Intermediate Algebra
We know that $f(0) = 0,$ so from property (iii), \[f(1) = 1 - f(0) = 1.\]Then from property (iv), \[f \left( \frac{1}{3} \right) = \frac{f(1)}{2} = \frac{1}{2}.\]Then from property (iii), \[f \left( \frac{2}{3} \right) = 1 - f \left( \frac{1}{3} \right) = 1 - \frac{1}{2} = \frac{1}{2}.\]Property (ii) states that the function is non-decreasing. Since $f \left( \frac{1}{3} \right) = f \left( \frac{2}{3} \right) = \frac{1}{2},$ we can say that $f(x) = \frac{1}{2}$ for all $\frac{1}{3} \le x \le \frac{2}{3}.$ In particular, $f \left( \frac{3}{7} \right) = \frac{1}{2}.$ Then by property (iv), \[f \left( \frac{1}{7} \right) = \frac{f(\frac{3}{7})}{2} = \frac{1}{4}.\]By property (iii), \[f \left( \frac{6}{7} \right) = 1 - f \left( \frac{1}{7} \right) = 1 - \frac{1}{4} = \frac{3}{4}.\]Finally, by property (iv), \[f \left( \frac{2}{7} \right) = \frac{f(\frac{6}{7})}{2} = \boxed{\frac{3}{8}}.\]The properties listed in the problem uniquely determine the function $f(x).$ Its graph is shown below: [asy] unitsize (5 cm); path[] cantor; int n; cantor[0] = (1/3,1/2)--(2/3,1/2); for (n = 1; n <= 10; ++n) { cantor[n] = yscale(1/2)*xscale(1/3)*(cantor[n - 1])--cantor[0]--shift((2/3,1/2))*yscale(1/2)*xscale(1/3)*(cantor[n - 1]); } draw(cantor[10],red); draw((0,0)--(1,0)); draw((0,0)--(0,1)); [/asy] For reference, the function $f(x)$ is called the Cantor function. It is also known as the Devil's Staircase.
Compute $a^2 + b^2 + c^2,$ given that $a,$ $b,$ and $c$ are the roots of \[2x^3 - x^2 + 4x + 10 = 0.\]
Level 3
Intermediate Algebra
By Vieta's formulas, we know that \[\begin{aligned} a+b+c &= \frac12, \\ ab+bc+ca &= \frac42 = 2, \\ abc &= -\frac{10}2 = -5. \end{aligned}\]We square both sides of $a+b+c=\frac12,$ which will produce the terms $a^2+b^2+c^2$: \[(a+b+c)^2 = a^2+b^2+c^2+2ab+2bc+2ca = \frac14.\]Substituting $ab+bc+ca=2,$ we have \[a^2+b^2+c^2+2(2)=\frac14,\]so \[a^2+b^2+c^2=\frac14-4=\boxed{-\frac{15}4}.\]
A sequence is defined as follows: $a_1=a_2=a_3=1$, and, for all positive integers $n$, $a_{n+3}=a_{n+2}+a_{n+1}+a_n$. Given that $a_{28}= 6090307$, $a_{29}=11201821$, and $a_{30}=20603361$, find the remainder when $\displaystyle \sum_{k=1}^{28}a_k$ is divided by 1000.
Level 5
Intermediate Algebra
First we write down the equation $a_{n+3} = a_{n+2} + a_{n+1} + a_n$ for $n = 1, 2, 3, \ldots, 27$: \[\begin{aligned} a_4 &= a_3+a_2+a_1, \\ a_5&=a_4+a_3+a_2, \\ a_6&=a_5+a_4+a_3, \\\vdots \\ a_{30}&=a_{29}+a_{28}+a_{27}. \end{aligned}\]Let $S = a_1 + a_2 + \ldots + a_{28}$ (the desired quantity). Summing all these equations, we see that the left-hand side and right-hand side are equivalent to \[S + a_{29} + a_{30} - a_1 - a_2 - a_3 = (S + a_{29} - a_1-a_2) + (S - a_1) + (S-a_{28}).\]Simplifying and solving for $S$, we obtain \[S = \frac{a_{28} + a_{30}}{2} = \frac{6090307+20603361}{2} = \frac{\dots 3668}{2} = \dots 834.\]Therefore, the remainder when $S$ is divided by $1000$ is $\boxed{834}$.
Let $x$ be a positive real number. Find the maximum possible value of $$\frac{x^2+2-\sqrt{x^4+4}}{x}.$$
Level 5
Intermediate Algebra
Rationalizing the numerator, we get \begin{align*} \frac{x^2+2-\sqrt{x^4+4}}{x}\cdot\frac{x^2+2+\sqrt{x^4+4}}{x^2+2+\sqrt{x^4+4}}&=\frac{(x^2+2)^2-(x^4+4)}{x(x^2+2+\sqrt{x^4+4})}\\ &=\frac{4x^2}{x(x^2+2+\sqrt{x^4+4})}\\ &=\frac{4}{\frac{1}{x}(x^2+2+\sqrt{x^4+4})}\\ &=\frac{4}{x+\frac{2}{x}+\sqrt{x^2+\frac{4}{x^2}}}. \end{align*}Since we wish to maximize this quantity, we wish to minimize the denominator. By AM-GM, $x+\frac{2}{x}\geq 2\sqrt{2}$ and $x^2+\frac{4}{x^2}\geq 4$, so that the denominator is at least $2\sqrt{2}+2$. Therefore, $$\frac{x^2+2-\sqrt{x^4+4}}{x}\leq \frac{4}{2\sqrt{2}+2}=\boxed{2\sqrt{2}-2},$$with equality when $x=\sqrt{2}$.
The function \[f(x) = \left\{ \begin{aligned} x-2 & \quad \text{ if } x < 4 \\ \sqrt{x} & \quad \text{ if } x \ge 4 \end{aligned} \right.\]has an inverse $f^{-1}.$ Find the value of $f^{-1}(-5) + f^{-1}(-4) + \dots + f^{-1}(4) + f^{-1}(5).$
Level 4
Intermediate Algebra
To work with the inverse $f^{-1},$ we consider the range of each component of $f(x).$ Let $g(x) = x-2$ for $x < 4,$ and let $h(x) = \sqrt{x}$ for $x \ge 4.$ For $x < 4,$ we have $x - 2 < 2,$ so the range of $g$ is the interval $(-\infty, -2).$ For $x \ge 4,$ we have $\sqrt{x} \ge 2,$ so the range of $h$ is $[2, \infty).$ The inverse of $g$ is $g^{-1}(x) = x+2,$ while the inverse of $h$ is $h^{-1}(x) = x^2.$ To compute $f^{-1}(x),$ we must use $g^{-1}$ if $x < 2,$ and use $h^{-1}$ if $x \ge 2$: \[\begin{aligned} f^{-1}(-5) + f^{-1}(-4) + \dots + f^{-1}(4) + f^{-1}(5) &= \left(g^{-1}(-5) + \dots + g^{-1}(1)\right) + \left(h^{-1}(2) + \dots + h^{-1}(5)\right) \\ &= \left((-3) + (-2) + \dots + 3\right) + \left(4 + 9 + 16 + 25\right) \\ &= 0 + 54 \\ &= \boxed{54}. \end{aligned}\]
Compute the value of \[N = 100^2 + 99^2 - 98^2 - 97^2 + 96^2 + \cdots + 4^2 + 3^2 - 2^2 - 1^2,\]where the additions and subtractions alternate in pairs.
Level 3
Intermediate Algebra
Using the difference of squares factorization, we have \[\begin{aligned} N &= (100^2-98^2) + (99^2-97^2) + (96^2-94^2) + (95^2-93^2) + \dots + (4^2-2^2) + (3^2-1^2) \\ &= 2(100 + 98) + 2(99 + 97) + 2(96 + 94) + 2(95 + 93) + \dots + 2(4 + 2) + 2(3+1) \\ &= 2(1 + 2 + \dots + 100) \\ &= 2 \cdot \frac{100 \cdot 101}{2} \\ &= \boxed{10100}.\end{aligned}\]
Which type of conic section is described by the equation \[\sqrt{x^2 + (y-1)^2} + \sqrt{(x-5)^2 + (y+3)^2} = 10?\]Enter "C" for circle, "P" for parabola, "E" for ellipse, "H" for hyperbola, and "N" for none of the above.
Level 2
Intermediate Algebra
This doesn't look like any of the standard forms of any of the conic sections. Instead, we appeal to the definitions of the conic sections. Note that the two terms on the left-hand side represent the distances in the $xy-$plane from $(x, y)$ to $(0, 1)$ and $(5, -3),$ respectively. So the given equation really says that the sum of the distances from $(x, y)$ to $(0, 1)$ and $(5, -3)$ is a constant (namely, $10$). So the graph of this equation should be an ellipse. To check that the ellipse is non-degenerate, we compute the distance between $(0,1)$ and $(5,-3)$ to be \[\sqrt{(5-0)^2 + (-3-1)^2} = \sqrt{41},\]which is less than $10.$ Therefore, the given equation satisfies the triangle inequality, so the ellipse is non-degenerate. The answer is $\boxed{\text{(E)}}.$
Let $a,$ $b,$ $c$ be a three-term arithmetic series where all the terms are positive, such that $abc = 64.$ Find the smallest possible value of $b.$
Level 2
Intermediate Algebra
By AM-GM, \[\frac{a + b + c}{3} \ge \sqrt[3]{abc} = \sqrt[3]{64} = 4.\]Since $a,$ $b,$ $c$ form an arithmetic series, $\frac{a + b + c}{3} = b,$ so $b \ge 4.$ Equality occurs when $a = b = c = 4,$ so the smallest possible value of $b$ is $\boxed{4}.$
Two of the roots of \[ax^3 + (a + 2b) x^2 + (b - 3a) x + (8 - a) = 0\]are $-2$ and 3. Find the third root.
Level 5
Intermediate Algebra
Since $-2$ and 3 are roots, \begin{align*} a(-2)^3 + (a + 2b) (-2)^2 + (b - 3a)(-2) + (8 - a) &= 0, \\ a(3)^3 + (a + 2b) 3^2 + (b - 3a)(3) + (8 - a) &= 0. \end{align*}Solving, we find $a = \frac{8}{9}$ and $b = -\frac{40}{27}.$ By Vieta's formulas, the sum of the roots is \[-\frac{a + 2b}{a} = \frac{7}{3},\]so the third root is $\frac{7}{3} - (-2) - 3 = \boxed{\frac{4}{3}}.$
Find the smallest solution to the equation \[\frac{1}{x-2} + \frac{1}{x-4} = \frac{3}{x-3}.\]
Level 2
Intermediate Algebra
To clear denominators, we multiply both sides by $(x-2)(x-4)(x-3)$: \[(x-4)(x-3) + (x-2)(x-3) = 3(x-2)(x-4),\]or \[(x^2-7x+12) + (x^2-5x+6) = 3(x^2-6x+8).\]Moving all the terms to the right-hand side, we get \[x^2 - 6x + 6= 0.\]By the quadratic formula, \[x = \frac{6 \pm \sqrt{6^2 - 4 \cdot 6}}{2} = 3 \pm \sqrt{3}.\]Therefore, the smallest solution is $x = \boxed{3 - \sqrt3}.$
Three of the four endpoints of the axes of an ellipse are, in some order, \[(-2, 4), \; (3, -2), \; (8, 4).\]Find the distance between the foci of the ellipse.
Level 3
Intermediate Algebra
The two axes of the ellipse are perpendicular bisectors of each other. Therefore, each endpoint of an axis must be equidistant from the two endpoints of the other axis. The only point of the given three which is equidistant from the other two is $(3, -2)$, so the fourth missing point must be the other endpoint of its axis, and the points $(-2, 4)$ and $(8, 4)$ must be endpoints of the same axis. Then the center of the ellipse is the midpoint of the segment between $(-2,4)$ and $(8,4),$ which is the point $(3,4)$. This means that the semi-horizontal axis has length $8-3 = 5,$ and the semi-vertical axis has length $4-(-2) = 6.$ Thus, the distance between the foci is $2 \sqrt{6^2 - 5^2} =\boxed{2 \sqrt{11}}.$
Say that an integer $A$ is yummy if there exist several consecutive integers, including $A$, that add up to 2014. What is the smallest yummy integer?
Level 4
Intermediate Algebra
Here is a sequence of consecutive integers that add up to $2014$: $$-2013, -2012, \dots , -1, 0, 1, \dots , 2012, 2013, 2014.$$So $-2013$ is yummy. Assume there is a yummy integer less than $-2013$. Then there is a sequence of consecutive integers (including at least one less than $-2013$) that add up to $2014$. Let $A$ be the least integer in the sequence, so $A < -2013$. Because the sum of the sequence is nonnegative, it includes the numbers $A, \dots, -1, 0, 1, \dots , -A$. Because the sum of the sequence is positive, besides the numbers above, it includes $-A + 1$. But $-A + 1 > 2013 + 1 = 2014.$ So the sum of the sequence exceeds $2014$, which is a contradiction. Hence there is no yummy integer less than $-2013$. Therefore the least yummy integer is $\boxed{-2013}$.
Let $A_n$ be the sum of the first $n$ terms of the geometric series \[704 + \frac{704}{2} + \frac{704}{4} + \dotsb,\]and let $B_n$ be the sum of the first $n$ terms of the geometric series \[1984 - \frac{1984}{2} + \frac{1984}{4} - \dotsb.\]Compute the value of $n \ge 1$ for which $A_n = B_n.$
Level 4
Intermediate Algebra
From the formula for a geometric series, \[704 + \frac{704}{2} + \frac{704}{4} + \dots + \frac{704}{2^{n - 1}} = 704 \cdot \frac{1 - \frac{1}{2^n}}{1 - \frac{1}{2}} = 1408 \left( 1 - \frac{1}{2^n} \right),\]and \[1984 - \frac{1984}{2} + \frac{1984}{4} + \dots + \frac{1984}{(-2)^{n - 1}} = 1984 \cdot \frac{1 - \frac{1}{(-2)^n}}{1 + \frac{1}{2}} = \frac{3968}{3} \left( 1 - \frac{1}{(-2)^n} \right).\]Hence, \[1408 \left( 1 - \frac{1}{2^n} \right) = \frac{3968}{3} \left( 1 - \frac{1}{(-2)^n} \right).\]This reduces to \[33 \left( 1 - \frac{1}{2^n} \right) = 31 \left( 1 - \frac{1}{(-2)^n} \right).\]If $n$ is even, then $(-2)^n = 2^n,$ and there are no solutions. Otherwise, $n$ is odd, and $(-2)^n = -2^n,$ so \[33 \left( 1 - \frac{1}{2^n} \right) = 31 \left( 1 + \frac{1}{2^n} \right).\]Isolating $2^n,$ we get $2^n = 32,$ so $n = \boxed{5}.$
Let $z$ be a complex number such that $|z - 5 - i| = 5.$ Find the minimum value of \[|z - 1 + 2i|^2 + |z - 9 - 4i|^2.\]
Level 5
Intermediate Algebra
Let $z = x + yi,$ where $x$ and $y$ are real numbers. Then $|x + yi - 5 - i| = |(x - 5) + (y - 1)i| = 5,$ so \[(x - 5)^2 + (y - 1)^2 = 25.\]This simplifies to $x^2 - 10x + y^2 - 2y = -1.$ Also, \begin{align*} |z - 1 + 2i|^2 + |z - 9 - 4i|^2 &= |x + yi - 1 + 2i|^2 + |x + yi - 9 - 4i|^2 \\ &= |(x - 1) + (y + 2)i|^2 + |(x - 9) + (y - 4)i|^2 \\ &= (x - 1)^2 + (y + 2)^2 + (x - 9)^2 + (y - 4)^2 \\ &= 2x^2 - 20x + 2y^2 - 4y + 102 \\ &= 2(x^2 - 10x + y^2 - 2y) + 102 \\ &= 2(-1) + 102 = 100. \end{align*}Thus, the expression is always equal to $\boxed{100}.$ Geometrically, the condition $|z - 5 - i| = 5$ states that $z$ lies on a circle centered at $5 + i$ with radius 5. [asy] unitsize(0.5 cm); pair A, B, O, Z; A = (1,-2); B = (9,4); O = (5,1); Z = O + 5*dir(110); draw(Circle(O,5)); draw(A--B); draw(O--Z); draw(A--Z--B); draw(rightanglemark(A,Z,B,20)); dot("$1 - 2i$", A, SW); dot("$9 + 4i$", B, NE); dot("$5 + i$", O, SE); dot("$z$", Z, NW); [/asy] Note that $1 - 2i$ and $9 + 4i$ are diametrically opposite on this circle. Hence, when we join $z$ to $1 - 2i$ and $9 + 4i,$ we obtain a right angle. Thus, the expression in the problem is equal to the square of the diameter, which is $10^2 = 100.$
Let $f : \mathbb{C} \to \mathbb{C} $ be defined by $ f(z) = z^2 + iz + 1 $. How many complex numbers $z $ are there such that $ \text{Im}(z) > 0 $ and both the real and the imaginary parts of $f(z)$ are integers with absolute value at most $ 10 $?
Level 5
Intermediate Algebra
Suppose $f(z)=z^2+iz+1=c=a+bi$. We look for $z$ with $\text{Im}(z)>0$ such that $a,b$ are integers where $|a|, |b|\leq 10$. First, use the quadratic formula: $ z = \frac{1}{2} (-i \pm \sqrt{-1-4(1-c)}) = -\frac{i}{2} \pm \sqrt{ -\frac{5}{4} + c }$ Generally, consider the imaginary part of a radical of a complex number: $\sqrt{u}$, where $u = v+wi = r e^{i\theta}$. $\Im (\sqrt{u}) = \Im(\pm \sqrt{r} e^{i\theta/2}) = \pm \sqrt{r} \sin(i\theta/2) = \pm \sqrt{r}\sqrt{\frac{1-\cos\theta}{2}} = \pm \sqrt{\frac{r-v}{2}}$. Now let $u= -5/4 + c$, then $v = -5/4 + a$, $w=b$, $r=\sqrt{v^2 + w^2}$. Note that $\Im(z)>0$ if and only if $\pm \sqrt{\frac{r-v}{2}}>\frac{1}{2}$. The latter is true only when we take the positive sign, and that $r-v > 1/2$, or $v^2 + w^2 > (1/2 + v)^2 = 1/4 + v + v^2$, $w^2 > 1/4 + v$, or $b^2 > a-1$. In other words, for all $z$, $f(z)=a+bi$ satisfies $b^2 > a-1$, and there is one and only one $z$ that makes it true. Therefore we are just going to count the number of ordered pairs $(a,b)$ such that $a$, $b$ are integers of magnitude no greater than $10$, and that $b^2 \geq a$. When $a\leq 0$, there is no restriction on $b$ so there are $11\cdot 21 = 231$ pairs; when $a > 0$, there are $2(1+4+9+10+10+10+10+10+10+10)=2(84)=168$ pairs. Thus there are $231+168=\boxed{399}$ numbers in total.
Let $a,$ $b,$ $c,$ $d$ be real numbers such that \[\frac{(a - b)(c - d)}{(b - c)(d - a)} = \frac{2}{5}.\]Find the sum of all possible values of \[\frac{(a - c)(b - d)}{(a - b)(c - d)}.\]
Level 5
Intermediate Algebra
From the given equation, $5(a - b)(c - d) = 2(b - c)(d - a),$ which expands as \[5ac - 5ad - 5bc + 5bd = 2bd - 2ab - 2cd + 2ac.\]This simplifies to $2ab + 3ac + 3bd + 2cd = 5ad + 5bc,$ so \[ad + bc = \frac{2ab + 3ac + 3bd + 2cd}{5}.\]Then \begin{align*} \frac{(a - c)(b - d)}{(a - b)(c - d)} &= \frac{ab - ad - bc + cd}{ac - ad - bc + bd} \\ &= \frac{ab + cd - \frac{2ab + 3ac + 3bd + 2cd}{5}}{ac + bd - \frac{2ab + 3ac + 3bd + 2cd}{5}} \\ &= \frac{5ab + 5cd - 2ab - 3ac - 3bd - 2cd}{5ac + 5bd - 2ab - 3ac - 3bd - 2cd} \\ &= \frac{3ab - 3ac - 3bd + 3cd}{-2ab + 2ac + 2bd - 2cd} \\ &= \frac{3(ab - ac - bd + cd)}{-2(ab - ac - bd + cd)} \\ &= \boxed{-\frac{3}{2}}. \end{align*}
There are $24$ different complex numbers $z$ such that $z^{24}=1$. For how many of these is $z^6$ a real number?
Level 4
Intermediate Algebra
From $z^{24} = 1,$ $z^{24} - 1 = 0,$ so \[(z^{12} + 1)(z^{12} - 1) = 0.\]Then \[(z^{12} + 1)(z^6 + 1)(z^6 - 1) = 0.\]Thus, for 6 of the roots, $z^6 = -1,$ for another 6 of the roots, $z^6 = 1,$ and for the remaining 12 roots, $(z^6)^2 + 1 = 0,$ so $z^6$ is not real. Therefore, for $\boxed{12}$ of the roots, $z^6$ is real.
There exists a complex number of the form $z = x + yi,$ where $x$ and $y$ are positive integers, such that \[z^3 = -74 + ci,\]for some integer $c.$ Find $z.$
Level 4
Intermediate Algebra
Cubing the equation $z = x + yi,$ we get \begin{align*} z^3 &= (x + yi)^3 \\ &= x^3 + 3x^2 yi + 3xy^2 i^2 + y^3 i^3 \\ &= x^3 + 3x^2 yi - 3xy^2 - y^3 i \\ &= (x^3 - 3xy^2) + (3x^2 y - y^3)i. \end{align*}Hence, $x^3 - 3xy^2 = -74.$ We then have \[x(x^2 - 3y^2) = -74.\]Thus, $x$ must be a divisor of 74, which means $x$ must be 1, 2, 37, or 74. Checking these values, we find that the equation $x(x^2 - 3y^2) = -74$ has an integer solution in $y$ only when $x = 1,$ and that integer solution is $y = 5.$ Therefore, $z = \boxed{1 + 5i}.$
When $p(x) = Ax^5 + Bx^3 + Cx + 4$ is divided by $x - 3,$ the remainder is 11. Find the remainder when $p(x)$ is divided by $x + 3.$
Level 3
Intermediate Algebra
By the Remainder Theorem, $p(3) = 11,$ so \[A \cdot 3^5 + B \cdot 3^3 + C \cdot 3 + 4 = 11.\]Then $A \cdot 3^5 + B \cdot 3^3 + C \cdot 3 = 7.$ Again by the Remainder Theorem, when $p(x)$ is divided by $x + 3,$ the remainder is \begin{align*} p(-3) &= A \cdot (-3)^5 + B \cdot (-3)^3 + C \cdot (-3) + 4 \\ &= -A \cdot 3^5 - B \cdot 3^3 - C \cdot 3 + 4 \\ &= -7 + 4 \\ &= \boxed{-3}. \end{align*}
Let $S$ be the set of all nonzero real numbers. Let $f : S \to S$ be a function such that \[f(x) + f(y) = f(xyf(x + y))\]for all $x,$ $y \in S$ such that $x + y \neq 0.$ Let $n$ be the number of possible values of $f(4),$ and let $s$ be the sum of all possible values of $f(4).$ Find $n \times s.$
Level 5
Intermediate Algebra
Fix $s \in S.$ Setting $y = s - x,$ we get \[f(x) + f(s - x) = f(x(s - x)f(s)). \quad (*)\]This holds for all $x \in S,$ $x \neq s.$ Consider the equation \[s - x = x(s - x) f(s).\]The solutions in $x$ are $x = s$ and $x = \frac{1}{f(s)}.$ Since $x \in S,$ $f(s)$ is well-defined. Furthermore, $f(s) \neq 0,$ so $\frac{1}{f(s)}$ is well-defined. If $f(s) \neq \frac{1}{s},$ then we can set $x = \frac{1}{f(s)}$ in $(*),$ which gives us \[f \left( \frac{1}{f(s)} \right) + f \left( s - \frac{1}{f(s)} \right) = f \left( s - \frac{1}{f(s)} \right).\]Then $f \left( \frac{1}{f(s)} \right) = 0,$ contradiction. The only possibility then is that $f(s) = \frac{1}{s}.$ In other words, \[f(x) = \frac{1}{x}\]for all $x \in S.$ We can check that $f(x) = \frac{1}{x}$ works, so $n = 1$ and $s = \frac{1}{4},$ so $n \times s = \boxed{\frac{1}{4}}.$
Real numbers $r$ and $s$ are roots of $p(x)=x^3+ax+b$, and $r+4$ and $s-3$ are roots of $q(x)=x^3+ax+b+240$. Enter all possible values of $b,$ separated by commas.
Level 5
Intermediate Algebra
By Vieta's formulas, the sum of the roots of $p(x)$ is 0, so the third root is $t = -r - s.$ Also, \[a = rs + rt + st.\]The sum of the roots of $q(x)$ is also 0, so the third root is $-(r + 4) - (s - 3) = -r - s - 1 = t - 1.$ Also, \[a = (r + 4)(s - 3) + (r + 4)(t - 1) + (s - 3)(t - 1).\]Hence, \[rs + rt + st = (r + 4)(s - 3) + (r + 4)(t - 1) + (s - 3)(t - 1).\]This simplifies to $t = 4r - 3s + 13.$ Also, $b = -rst$ and \[b + 240 = -(r + 4)(s - 3)(t - 1).\]Hence, \[-rst + 240 = (r + 4)(s - 3)(t - 1).\]Substituting $t = 4r - 3s + 13,$ we get \[-rs(4r - 3s + 13) + 240 = -(r + 4)(s - 3)(4r - 3s + 12).\]This simplifies to \[r^2 - 2rs + s^2 + 7r - 7s - 8 = 0.\]Then $(r - s)^2 + 7(r - s) - 8 = 0,$ which factors as \[(r - s - 1)(r - s + 8) = 0.\]Thus, $r - s = 1$ or $r - s = -8.$ If $r - s = 1,$ then $s = r - 1,$ and \[t = 4t - 3s + 13 = r + 16.\]But $r + s + t = 0,$ so $r + (r - 1) + (r + 16) = 0,$ which leads to $r = -5.$ Then $s = -6$ and $t = 11,$ and $b = -rst = -330.$ If $r - s = -8,$ then $s = r + 8,$ and \[t = 4t - 3s + 13 = r - 11.\]But $r + s + t = 0,$ so $r + (r + 8) + (r - 11) = 0,$ which leads to $r = 1.$ Then $s = 9$ and $t = -10,$ and $b = -rst = 90.$ Thus, the possible values of $b$ are $\boxed{-330,90}.$
Find the minimum value of \[f(x) = x + \frac{1}{x} + \frac{1}{x + \frac{1}{x}}\]for $x > 0.$
Level 3
Intermediate Algebra
First, consider the function \[g(x) = x + \frac{1}{x}.\]If $1 \le x < y,$ then \begin{align*} g(y) - g(x) &= y + \frac{1}{y} - x - \frac{1}{x} \\ &= y - x + \frac{1}{y} - \frac{1}{x} \\ &= y - x + \frac{x - y}{xy} \\ &= (y - x) \left( 1 - \frac{1}{xy} \right) \\ &= \frac{(y - x)(xy - 1)}{xy} \\ &> 0. \end{align*}Thus, $g(x)$ is increasing on the interval $[1,\infty).$ By AM-GM (and what we just proved above), \[x + \frac{1}{x} \ge 2,\]so \[g \left( x + \frac{1}{x} \right) \ge 2 + \frac{1}{2} = \frac{5}{2}.\]Equality occurs when $x = 1,$ to the minimum value of $f(x)$ for $x > 0$ is $\boxed{\frac{5}{2}}.$ In particular, we cannot use the following argument: By AM-GM, \[x + \frac{1}{x} + \frac{1}{x + \frac{1}{x}} \ge 2 \sqrt{\left( x + \frac{1}{x} \right) \cdot \frac{1}{x + \frac{1}{x}}} = 2.\]However, we cannot conclude that the minimum is 2, because equality can occur only when $x + \frac{1}{x} = 1,$ and this is not possible.
Given that $2+\sqrt{3}$ is a root of the equation \[x^3 + ax^2 + bx + 10 = 0\]and that $a$ and $b$ are rational numbers, compute $b.$
Level 4
Intermediate Algebra
Because the coefficients of the polynomial are rational, the radical conjugate $2-\sqrt{3}$ must also be a root of the polynomial. By Vieta's formulas, the product of the roots of this polynomial is $-10,$ and the product of these two roots is $(2+\sqrt3)(2-\sqrt3) = 1,$ so the remaining root must be $\frac{-10}{1} = -10.$ Then by Vieta's formulas again, we have \[b = (-10)(2-\sqrt3) + (-10)(2+\sqrt3) + (2+\sqrt3)(2-\sqrt3) = \boxed{-39}.\]
Let $x,$ $y,$ $z$ be real numbers such that $x + 2y + z = 4.$ Find the maximum value of \[xy + xz + yz.\]
Level 4
Intermediate Algebra
We can solve for $y,$ to get \[y = \frac{4 - x - z}{2}.\]Substituting, we get \[xy + xz + yz = \frac{-x^2 + 4x - z^2 + 4z}{2} = \frac{8 - (x - 2)^2 - (z - 2)^2}{2}.\]The maximum value is then $\boxed{4},$ which occurs when $x = 2$ and $z = 2$ (and $y = 0$).
The real number $x$ satisfies $x^2 - 5x + 6 < 0.$ Find all possible values of $x^2 + 5x + 6.$
Level 4
Intermediate Algebra
The inequality $x^2 - 5x + 6 < 0$ factors as $(x - 2)(x - 3) < 0,$ so the solution is $2 < x < 3.$ Since $x^2 + 5x + 6$ is increasing on this interval, we have that \[x^2 + 5x + 6 > 2^2 + 5 \cdot 2 + 6 = 20\]and \[x^2 + 5x + 6 < 3^2 + 5 \cdot 3 + 6 = 30.\]Therefore, the set of possible values of $x^2 + 5x + 6$ is $\boxed{(20,30)}.$
Compute \[\sum_{n = 1}^\infty \frac{2n + 1}{n(n + 1)(n + 2)}.\]
Level 5
Intermediate Algebra
First, we decompose $\frac{2n + 1}{n(n + 1)(n + 2)}$ into partial fractions. Let \[\frac{2n + 1}{n(n + 1)(n + 2)} = \frac{A}{n} + \frac{B}{n + 1} + \frac{C}{n + 2}.\]Then \[2n + 1 = A(n + 1)(n + 2) + Bn(n + 2) + Cn(n + 1).\]Setting $n = 0,$ we get $2A = 1,$ so $A = \frac{1}{2}.$ Setting $n = -1,$ we get $-B = -1,$ so $B = 1.$ Setting $n = -2,$ we get $2C = -3,$ so $C = -\frac{3}{2}.$ Hence, \[\frac{2n + 1}{n(n + 1)(n + 2)} = \frac{1/2}{n} + \frac{1}{n + 1} - \frac{3/2}{n + 2}.\]Therefore, \begin{align*} \sum_{n = 1}^\infty \frac{2n + 1}{n(n + 1)(n + 2)} &= \sum_{n = 1}^\infty \left( \frac{1/2}{n} + \frac{1}{n + 1} - \frac{3/2}{n + 2} \right) \\ &= \left( \frac{1/2}{1} + \frac{1}{2} - \frac{3/2}{3} \right) + \left( \frac{1/2}{2} + \frac{1}{3} - \frac{3/2}{4} \right) + \left( \frac{1/2}{3} + \frac{1}{4} - \frac{3/2}{5} \right) + \dotsb \\ &= \frac{1/2}{1} + \frac{3/2}{2} \\ &= \boxed{\frac{5}{4}}. \end{align*}
The polynomial \[ax^4 + bx^3 + cx^2 + dx + e = 0\]has coefficients that are all integers, and has roots $-2,$ $5,$ $9,$ and $-1/3.$ If $e$ is a positive integer, then find its smallest possible value.
Level 4
Intermediate Algebra
By the Integer Root Theorem, $-2,$ $5,$ and $9$ must all divide $e,$ so $e$ must be at least 90. The polynomial \[(x + 2)(x - 5)(x - 9)(3x + 1) = 3x^4 - 35x^3 + 39x^2 + 287x + 90\]satisfies the given conditions, so the smallest possible value of $e$ is $\boxed{90}.$
Find the sum $$\frac{2^1}{4^1 - 1} + \frac{2^2}{4^2 - 1} + \frac{2^4}{4^4 - 1} + \frac{2^8}{4^8 - 1} + \cdots.$$
Level 3
Intermediate Algebra
Notice that $$\frac{2^{2^k}}{4^{2^k} - 1} = \frac{2^{2^k} + 1}{4^{2^k} - 1} - \frac{1}{4^{2^k} - 1} = \frac{1}{2^{2^k}-1} - \frac{1}{4^{2^k}-1} = \frac{1}{4^{2^{k-1}}-1} - \frac{1}{4^{2^k}-1}.$$Therefore, the sum telescopes as $$\left(\frac{1}{4^{2^{-1}}-1} - \frac{1}{4^{2^0}-1}\right) + \left(\frac{1}{4^{2^0}-1} - \frac{1}{4^{2^1}-1}\right) + \left(\frac{1}{4^{2^1}-1} - \frac{1}{4^{2^2}-1}\right) + \cdots$$and evaluates to $1/(4^{2^{-1}}-1) = \boxed{1}$.
Suppose that $a$ and $b$ are positive integers such that $(a+bi)^2 = 3+4i$. What is $a+bi$?
Level 3
Intermediate Algebra
We have $(a+bi)^2 = a^2 + 2abi + (bi)^2 = (a^2 - b^2) + 2abi = 3 + 4i$. Equating real and imaginary parts, we get $a^2 - b^2 = 3$ and $2ab = 4$. The second equation implies $ab = 2$. Since $a$ and $b$ are positive integers and $ab=2$, we know one of them is 2 and the other is 1. Since $a^2-b^2 = 3$, we have $a=2$, $b=1$. So $a+bi = \boxed{2 + i}$.
Find the sum of the squares of the solutions to \[\left| x^2 - x + \frac{1}{2008} \right| = \frac{1}{2008}.\]
Level 4
Intermediate Algebra
If \[\left| x^2 - x + \frac{1}{2008} \right| = \frac{1}{2008},\]then either $x^2 - x + \frac{1}{2008} = \frac{1}{2008}$ or $x^2 - x + \frac{1}{2008} = -\frac{1}{2008}.$ In the first case, $x^2 - x = x(x - 1) = 0,$ so $x = 0$ or $x = 1,$ and the sum of the squares is $0^2 + 1^2 = 1.$ In the second case, \[x^2 - x + \frac{1}{1004} = 0.\]Let the roots be $a$ and $b.$ Then by Vieta's formulas, $a + b = 1$ and $ab = \frac{1}{1004},$ so \[a^2 + b^2 = (a + b)^2 - 2ab = 1 - \frac{1}{502} = \frac{501}{502}.\]Therefore, the sum of the squares of the solutions is $1 + \frac{501}{502} = \boxed{\frac{1003}{502}}.$
Suppose that the number $\sqrt{2700} - 37$ can be expressed in the form $(\sqrt a - b)^3,$ where $a$ and $b$ are positive integers. Find $a+b.$
Level 5
Intermediate Algebra
Expanding $(\sqrt a-b)^3,$ we have \[\begin{aligned} (\sqrt a-b)^3 &= a\sqrt a - 3ab + 3b^2 \sqrt a - b^3 \\ &= (a+3b^2)\sqrt a + (-3ab-b^3). \end{aligned}\]Since $a$ and $b$ are integers, we must have \[\begin{aligned} (a+3b^2) \sqrt a &= \sqrt{2700}, \\ -3ab-b^3 &= -37. \end{aligned}\]The second equation factors as $b(3a+b^2) = 37.$ Since $37$ is a prime, we must have $b=37$ or $b=1.$ If $b=37,$ then $3a+b^2=1,$ which has no positive integer solutions for $a.$ Therefore, $b=1,$ and we have $3a+b^2=37,$ which gives $a=12.$ Indeed, $(a,b)=(12,1)$ also satisfies the first equation: \[(a+3b^2)\sqrt a = (12+3 \cdot 1^2) \sqrt {12} = 15 \sqrt{12}= \sqrt{2700}.\]Therefore, $a+b = 12 + 1 = \boxed{13}.$
Let $z$ be a complex number such that \[|z - 12| + |z - 5i| = 13.\]Find the smallest possible value of $|z|.$
Level 5
Intermediate Algebra
By the Triangle Inequality, \[|z - 12| + |z - 5i| = |z - 12| + |5i - z| \ge |(z - 12) + (5i - z)| = |-12 + 5i| = 13.\]But we are told that $|z - 12| + |z - 5i| = 13.$ The only way that equality can occur is if $z$ lies on the line segment connecting 12 and $5i$ in the complex plane. [asy] unitsize(0.4 cm); pair Z = interp((0,5),(12,0),0.6); pair P = ((0,0) + reflect((12,0),(0,5))*(0,0))/2; draw((12,0)--(0,5),red); draw((-1,0)--(13,0)); draw((0,-1)--(0,6)); draw((0,0)--Z); draw((0,0)--P); draw(rightanglemark((0,0),P,(12,0),20)); dot("$12$", (12,0), S); dot("$5i$", (0,5), W); dot("$z$", Z, NE); label("$h$", P/2, SE); [/asy] We want to minimize $|z|$. We see that $|z|$ is minimized when $z$ coincides with the projection of the origin onto the line segment. The area of the triangle with vertices 0, 12, and $5i$ is \[\frac{1}{2} \cdot 12 \cdot 5 = 30.\]This area is also \[\frac{1}{2} \cdot 13 \cdot h = \frac{13h}{2},\]so $h = \boxed{\frac{60}{13}}.$
Let $\alpha$ and $\beta$ be complex numbers such that $\alpha + \beta$ and $i(\alpha - 2 \beta)$ are both positive real numbers. If $\beta = 3 + 2i,$ compute $\alpha.$
Level 3
Intermediate Algebra
Let $x = \alpha + \beta$ and $y = i (\alpha - 2 \beta).$ Then $\alpha - 2 \beta = \frac{y}{i} = -yi.$ Solving for $\alpha$ and $\beta,$ we get \begin{align*} \alpha &= \frac{2}{3} x - \frac{y}{3} i, \\ \beta &= \frac{1}{3} x + \frac{y}{3} i. \end{align*}Since $x$ and $y$ are real, and $\beta = 3 + 2i,$ $x = 9$ and $y = 6.$ Then $\alpha = \boxed{6 - 2i}.$
The function $f(x)$ satisfies \[b^2 f(a) = a^2 f(b)\]for all real numbers $a$ and $b.$ If $f(2) \neq 0,$ find \[\frac{f(5) - f(1)}{f(2)}.\]
Level 3
Intermediate Algebra
Setting $a = 5$ and $b = 2,$ we get \[4f(5) = 25f(2),\]so $\frac{f(5)}{f(2)} = \frac{25}{4}.$ Setting $a = 1$ and $b = 2,$ we get \[4f(1) = f(2),\]so $\frac{f(1)}{f(2)} = \frac{1}{4}.$ Hence, \[\frac{f(5) - f(1)}{f(2)} = \frac{25}{4} - \frac{1}{4} = \boxed{6}.\]
When the polynomial $x^4 - 6x^3 + 16x^ 2 - 25x + 10$ is divided by $x^2 - 2x + k,$ the remainder is $x + a.$ Enter the ordered pair $(k,a).$
Level 3
Intermediate Algebra
The long division is shown below. \[ \begin{array}{c|ccccc} \multicolumn{2}{r}{x^2} & -4x & +(8 - k) & \\ \cline{2-6} x^2 - 2x + k & x^4 & -6x^3 & +16x^2 & -25x & +10 \\ \multicolumn{2}{r}{x^2} & -2x^3 & + kx^2 \\ \cline{2-4} \multicolumn{2}{r}{0} & -4x^3 & +(16 - k)x^2 \\ \multicolumn{2}{r}{} &- 4x^3 & +8x^2 & - 4kx \\ \cline{3-5} \multicolumn{2}{r}{} & 0 & +(8 - k)x^2 & +(4k - 25)x \\ \multicolumn{2}{r}{} & & +(8 - k)x^2 & +(2k - 16)x & +k(8 - k) \\ \cline{4-6} \multicolumn{2}{r}{} & & 0 & +(2k - 9)x & +(k^2 - 8k + 10) \\ \end{array} \]Thus, the remainder is $(2k - 9)x + (k^2 - 8k + 10).$ We want this to be $x + a,$ so $2k - 9 = 1$ and $k^2 - 8k + 10 = a.$ Solving, we find $(k,a) = \boxed{(5,-5)}.$
If $(x,y)$ is a solution to the system \begin{align*} xy &= 6, \\ x^2 y + xy^2 + x + y &= 63, \end{align*}find $x^2 + y^2.$
Level 2
Intermediate Algebra
The second equation factors as $(xy + 1)(x + y) = 63,$ so $7(x + y) = 63,$ or $x + y = 9.$ Then \[x^2 + y^2 = (x + y)^2 - 2xy = 9^2 - 2 \cdot 6 = \boxed{69}.\]
Find the number of real solutions to the equation \[\frac{1}{x - 1} + \frac{2}{x - 2} + \frac{3}{x - 3} + \dots + \frac{100}{x - 100} = x.\]
Level 5
Intermediate Algebra
Let \[f(x) = \frac{1}{x - 1} + \frac{2}{x - 2} + \frac{3}{x - 3} + \dots + \frac{100}{x - 100}.\]Consider the graph of $y = f(x).$ [asy] unitsize(1 cm); real func(real x) { return((1/(x - 1) + 2/(x - 2) + 3/(x - 3) + 4/(x - 4) + 5/(x - 5) + 6/(x - 6))/15); } draw((-2,0)--(8,0)); draw((0,-2)--(0,2)); draw((1,-2)--(1,2),dashed); draw((2,-2)--(2,2),dashed); draw((3,-2)--(3,2),dashed); draw((5,-2)--(5,2),dashed); draw((6,-2)--(6,2),dashed); draw((-2,-2/4)--(8,8/4)); draw(graph(func,-2,0.99),red); draw(graph(func,1.01,1.99),red); draw(graph(func,2.01,2.99),red); draw(graph(func,5.01,5.99),red); draw(graph(func,6.01,8),red); limits((-2,-2),(8,2),Crop); label("$1$", (1,0), SW); label("$2$", (2,0), SW); label("$3$", (3,0), SE); label("$99$", (5,0), SW); label("$100$", (6,0), SE); label("$y = x$", (8,2), E); label("$y = f(x)$", (8,func(8)), E, red); [/asy] The graph of $y = f(x)$ has vertical asymptotes at $x = 1,$ $x = 2,$ $\dots,$ $x = 100.$ In particular, $f(x)$ approaches $-\infty$ as $x$ approaches $n$ from the left, and $f(x)$ approaches $\infty$ as $x$ approaches $n$ from the right, for $1 \le n \le 100.$ Furthermore, $y = 0$ is a vertical asymptote. In particular, $f(x)$ approaches 0 as $x$ approaches both $\infty$ and $-\infty.$ Thus, the graph of $y = f(x)$ intersects the graph of $y = x$ exactly once on each of the intervals $(-\infty,1),$ $(1,2),$ $(2,3),$ $\dots,$ $(99,100),$ $(100,\infty).$ Therefore, there are a total of $\boxed{101}$ real solutions.
In a right prism with triangular bases, given the sum of the areas of three mutually adjacent faces (that is, of two lateral faces and one base) is 24, find the maximum volume of the prism. [asy] unitsize(1 cm); pair A, B, C, D, E, F; A = (0,0); B = (3,-1); C = (-1,-2); D = A + (0,-4); E = B + (0,-4); F = C + (0,-4); draw(A--B--C--cycle); draw(E--F); draw(F--D--E,dashed); draw(A--D,dashed); draw(B--E); draw(C--F); [/asy]
Level 5
Intermediate Algebra
Let the base triangles have sides $a$ and $b$ with included angle $\theta,$ and let the right prism have altitude $h$. [asy] unitsize(1 cm); pair A, B, C, D, E, F; A = (0,0); B = (3,-1); C = (-1,-2); D = A + (0,-4); E = B + (0,-4); F = C + (0,-4); draw(A--B--C--cycle); draw(E--F); draw(F--D--E,dashed); draw(A--D,dashed); draw(B--E); draw(C--F); label("$a$", (B + C)/2, S); label("$b$", (A + C)/2, NW); label("$h$", (C + F)/2, W); label("$\theta$", C + (0.4,0.4)); [/asy] Then the surface area constraint is $$ah + bh + \frac12 ab \sin \theta = 24,$$and the volume is $$V = \frac12 abh \sin \theta.$$Let $X = ah, Y = bh, Z = (ab \sin \theta) / 2$ be the areas of the three faces. Then $X + Y + Z = 24$, and \[XYZ = \frac{1}{2} a^2 b^2 h^2 \sin \theta = \frac{2}{\sin \theta} \left( \frac{1}{2} abh \sin \theta \right)^2 = \frac{2V^2}{\sin \theta}.\]Now the AM-GM inequality yields $$(XYZ)^{1/3} \leq \frac{X+Y+Z}{3} = 8,$$so $XYZ \le 512$. But \[\frac{2V^2}{\sin \theta} = XYZ \le 512,\]so \[V^2 \le 256 \sin \theta \le 256,\]which means $V \le 16$. Equality occurs for $a = b = 4$, $h = 2$, and $\theta = \pi/2$, so the maximum volume of the prism is $\boxed{16}$.
Find the sum of all real values of $x$ that satisfy \[x = 1 - x + x^2 - x^3 + x^4 - x^5 + \dotsb.\]
Level 5
Intermediate Algebra
From the formula for an infinite geometric series, \[1 - x + x^2 - x^3 + \dotsb = \frac{1}{1 + x}.\]Thus, we want to solve \[x = \frac{1}{1 + x}.\]This simplifies to $x^2 + x - 1 = 0.$ By the quadratic formula, \[x = \frac{-1 \pm \sqrt{5}}{2}.\]The infinite geometric series \[1 - x + x^2 - x^3 + \dotsb\]converges only for $|x| < 1,$ so the only solution in $x$ is $\boxed{\frac{-1 + \sqrt{5}}{2}}.$
If $a + b + c = 11$ and $ab + ac + bc = 25,$ then find \[a^3 + b^3 + c^3 - 3abc.\]
Level 4
Intermediate Algebra
We have the factorization \[a^3 + b^3 + c^3 - 3abc = (a + b + c)(a^2 + b^2 + c^2 - ab - ac - bc).\]Squaring the equation $a + b + c = 11,$ we get \[a^2 + b^2 + c^2 + 2ab + 2ac + 2bc = 121.\]Then $a^2 + b^2 + c^2 - ab - ac - bc = 121 - 3(ab + ac + bc) = 121 - 75 = 46,$ so \[a^3 + b^3 + c^3 - 3abc = 11 \cdot 46 = \boxed{506}.\]
Suppose $a$, $b$ and $c$ are integers such that the greatest common divisor of $x^2+ax+b$ and $x^2+bx+c$ is $x+1$ (in the set of polynomials in $x$ with integer coefficients), and the least common multiple of $x^2+ax+b$ and $x^2+bx+c$ is $x^3-4x^2+x+6$. Find $a+b+c$.
Level 3
Intermediate Algebra
Since $x+1$ divides $x^2+ax+b$ and the constant term is $b$, we have $x^2+ax+b=(x+1)(x+b)$, and similarly $x^2+bx+c=(x+1)(x+c)$. Therefore, $a=b+1=c+2$. Furthermore, the least common multiple of the two polynomials is $(x+1)(x+b)(x+b-1)=x^3-4x^2+x+6$, so $b=-2$. Thus $a=-1$ and $c=-3$, and $a+b+c=\boxed{-6}$.
Let $\mathcal P$ be a parabola, and let $V_1$ and $F_1$ be its vertex and focus, respectively. Let $A$ and $B$ be points on $\mathcal P$ so that $\angle AV_1 B = 90^\circ$. Let $\mathcal Q$ be the locus of the midpoint of $\overline{AB}$. It turns out that $\mathcal Q$ is also a parabola, and let $V_2$ and $F_2$ denote its vertex and focus, respectively. Determine the ratio $\frac{F_1F_2}{V_1V_2}$.
Level 5
Intermediate Algebra
Since all parabolas are similar, we may assume that $\mathcal P$ is the curve $y = x^2,$ so $V_1 = (0,0).$ Then, if $A = (a, a^2)$ and $B = (b, b^2)$, the slope of line $AV_1$ is $a,$ and the slope of line $BV_1$ is $b.$ Since $\angle AV_1 B = 90^\circ,$ $ab = -1$. Then, the midpoint of $\overline{AB}$ is \[ \left( \frac{a+b}{2}, \frac{a^2 + b^2}{2} \right) = \left( \frac{a+b}{2}, \frac{(a+b)^2 - 2ab}{2} \right) = \left( \frac{a+b}{2}, \frac{(a+b)^2}{2} + 1 \right). \](Note that $a+b$ can range over all real numbers under the constraint $ab = - 1$.) It follows that the locus of the midpoint of $\overline{AB}$ is the curve $y = 2x^2 + 1$. Recall that the focus of $y = ax^2$ is $\left(0, \frac{1}{4a} \right)$. We find that $V_1 = (0,0)$, $V_2 = (0,1)$, $F_1 = \left( 0, \frac 14 \right)$, $F_2 = \left( 0, 1 + \frac18 \right)$. Therefore, $\frac{F_1F_2}{V_1V_2} = \boxed{\frac78}$.
Find the quadratic polynomial, with real coefficients, which has $3 + i$ as a root, and where the coefficient of $x^2$ is 2.
Level 3
Intermediate Algebra
Since the polynomial has real coefficients, the other root must be $3 - i.$ Thus, the polynomial is \begin{align*} 2(x - 3 - i)(x - 3 + i) &= 2((x - 3)^2 - i^2) \\ &= 2((x - 3)^2 + 1) \\ &= \boxed{2x^2 - 12x + 20}. \end{align*}
Find the remainder when $x^{44} + x^{33} + x^{22} + x^{11} + 1$ is divided by $x^4 + x^3 + x^2 + x + 1.$
Level 3
Intermediate Algebra
Let $\alpha$ be a root of $x^4 + x^3 + x^2 + x + 1 = 0,$ so \[\alpha^4 + \alpha^3 + \alpha^2 + \alpha + 1 = 0.\]Then $(\alpha - 1)(\alpha^4 + \alpha^3 + \alpha^2 + \alpha + 1) = 0,$ which simplifies to $\alpha^5 = 1.$ Then \begin{align*} \alpha^{44} + \alpha^{33} + \alpha^{22} + \alpha^{11} + 1 &= (\alpha^5)^8 \cdot \alpha^4 + (\alpha^5)^6 \cdot \alpha^3 + (\alpha^5)^4 \cdot \alpha^2 + (\alpha^5)^2 \cdot \alpha + 1 \\ &= \alpha^4 + \alpha^3 + \alpha^2 + \alpha + 1 \\ &= 0. \end{align*}Since the first polynomial is 0 for every root $\alpha$ of the second polynomial, the first polynomial is divisible by the second polynomial, which means the remainder is $\boxed{0}.$
Let $x_1,$ $x_2,$ $\dots,$ $x_n$ be nonnegative real numbers such that $x_1 + x_2 + \dots + x_n = 1$ and \[x_1^2 + x_2^2 + \dots + x_n^2 \le \frac{1}{100}.\]Find the smallest possible value of $n.$
Level 3
Intermediate Algebra
By QM-AM, \[\sqrt{\frac{x_1^2 + x_2^2 + \dots + x_n^2}{n}} \ge \frac{x_1 + x_2 + \dots + x_n}{n}.\]Then \[\frac{1}{n} \le \sqrt{\frac{x_1^2 + x_2^2 + \dots + x_n^2}{n}} \le \sqrt{\frac{1}{100n}}.\]Hence, \[\frac{1}{n^2} \le \frac{1}{100n},\]and $n \ge 100.$ For $n = 100,$ we can take $x_i = \frac{1}{100}$ for all $i,$ so the smallest such $n$ is $\boxed{100}.$