from
stringclasses
2 values
value
stringlengths
16
6.77k
human
Suppose that all four of the numbers \[3 - 2\sqrt{2}, \; -3-2\sqrt{2}, \; 1+\sqrt{7}, \; 1-\sqrt{7}\]are roots of the same nonzero polynomial with rational coefficients. What is the smallest possible degree of the polynomial?
gpt
Because the polynomial has rational coefficients, the radical conjugate of each of the given roots must also be roots of the polynomial. However, $1+\sqrt{7}$ and $1-\sqrt{7}$ are each other's radical conjugates, so we only get $2$ more roots. (You might be tempted to think that $3-2\sqrt2$ and $-3-2\sqrt2$ are also a pair of radical conjugates, but the radical conjugate of $3-2\sqrt2$ is $3+2\sqrt2,$ while the radical conjugate of $-3-2\sqrt2$ is $-3+2\sqrt2.$ Therefore, each one of the numbers $3-2\sqrt2$ and $-3-2\sqrt2$ is actually the negation of the radical conjugate of the other one.) In total, the polynomial must have at least $4+2=6$ roots. Furthermore, the polynomial \[(x - 3 + 2 \sqrt{2})(x - 3 - 2 \sqrt{2})(x + 3 + 2 \sqrt{2})(x + 3 - 2 \sqrt{2})(x - 1 - \sqrt{7})(x - 1 + \sqrt{7}) = (x^2 - 6x + 1)(x^2 + 6x + 1)(x^2 - 2x - 6)\]has roots $3 \pm 2 \sqrt{2},$ $-3 \pm 2 \sqrt{2},$ and $1 \pm \sqrt{7},$ and has rational coefficients. Hence, the smallest possible degree is $\boxed{6}.$
human
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)}.\]
gpt
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}.\]
human
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.\]
gpt
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}.$
human
Find the sum of all real solutions to the equation \[\sqrt{x} + \sqrt{\frac{4}{x}} + \sqrt{x + \frac{4}{x}} = 6.\]
gpt
We want to square the equation in order to eliminate the radicals. To do so, we first move the $\sqrt{x+\frac4x}$ term to the right-hand side, giving \[\sqrt{x} + \sqrt{\frac{4}{x}} = 6 - \sqrt{x+\frac{4}{x}}.\]Now we see that squaring will produce lots of common terms on the left-hand and right-hand sides, which cancel: \[\begin{aligned} \\ \left(\sqrt{x} + \sqrt{\frac{4}{x}}\right)^2 &= \left(6 - \sqrt{x+\frac{4}{x}}\right)^2 \\ x + 4 + \frac 4x &= 36 - 12 \sqrt{x + \frac{4}{x}} + \left(x + \frac{4}{x}\right) \end{aligned}\]which simplifies to $3\sqrt{x+\frac{4}{x}} = 8.$ Squaring both sides, multiplying, and rearranging gives the quadratic \[9x^2 - 64x + 36 = 0.\]By Vieta's formulas, the sum of the roots of this quadratic is $\boxed{\frac{64}{9}}.$ To be complete, we must check that both of these roots satisfy the original equation. There are two steps in our above solution which could potentially not be reversible: squaring the equation \[\sqrt x + \sqrt{\frac 4x} = 6 - \sqrt{x+\frac 4x},\]and squaring the equation \[3\sqrt{x+\frac 4x} = 8.\]To check that these steps are reversible, we need to make sure that both sides of the equations in both steps are nonnegative whenever $x$ is a root of $9x^2-64x+36=0.$ This quadratic is equivalent to $x+\frac4x=\frac{64}{9},$ so $6-\sqrt{x+\frac4x}=6-\sqrt{\frac{64}{9}}=\frac{10}{3},$ which is positive, and $3\sqrt{x+\frac{4}{x}} = 3\sqrt{\frac{64}{9}} = 8,$ which is also positive. Therefore, all our steps were reversible, so both roots of the quadratic satisfy the original equation as well.
human
Find all real numbers $x$ which satisfy \[\frac{x-1}{x-3} \ge 2.\](Give your answer in interval notation.)
gpt
Subtracting $2$ from both sides, we get \[\frac{x-1}{x-3} - 2 \ge 0,\]or \[\frac{x-1 - 2(x-3)}{x-3} = \frac{-x+5}{x-3} \ge 0.\]Negating both sides, we have \[\frac{x-5}{x-3} \le 0.\]Letting $f(x) = \frac{x-5}{x-3},$ we make a sign table with the two factors $x-5$ and $x-3$: \begin{tabular}{c|cc|c} &$x-5$ &$x-3$ &$f(x)$ \\ \hline$x<3$ &$-$&$-$&$+$\\ [.1cm]$3<x<5$ &$-$&$+$&$-$\\ [.1cm]$x>5$ &$+$&$+$&$+$\\ [.1cm]\end{tabular}We see that $f(x) \le 0$ when $3 < x < 5,$ as well as at the endpoint $x=5.$ Therefore, the solution set is the interval $\boxed{ (3, 5] }.$
human
Find the product of the nonreal roots of $x^4-4x^3+6x^2-4x=2005.$
gpt
We recognize part of the expansion of $(x-1)^4$ on the left-hand side. Adding $1$ to both sides, we have \[x^4-4x^3+6x^2-4x+1=2006,\]which means $(x-1)^4 = 2006.$ Therefore, \[x-1 = \sqrt[4]{2006}, i\sqrt[4]{2006}, -\sqrt[4]{2006}, -i\sqrt[4]{2006}.\]Since we want the nonreal roots, we only consider the roots \[ x = 1 \pm i\sqrt[4]{2006}.\]The product of these roots is \[P = (1 + i\sqrt[4]{2006})(1 - i\sqrt[4]{2006}) = \boxed{1 +\sqrt{2006}}.\]
human
Find the area of the region described by $x \ge 0,$ $y \ge 0,$ and \[100 \{x\} \ge \lfloor x \rfloor + \lfloor y \rfloor.\]Note: For a real number $x,$ $\{x\} = x - \lfloor x \rfloor$ denotes the fractional part of $x.$ For example, $\{2.7\} = 0.7.$
gpt
Let $n = \lfloor x \rfloor,$ and let $\{x\} = (0.x_1 x_2 x_3 x_4 \dots)_{10},$ so the $x_i$ are the decimal digits. Then the given condition becomes \[\lfloor y \rfloor \le 100 \{x\} - \lfloor x \rfloor = (x_1 x_2.x_3 x_4 \dots)_{10} - n.\]Since $\lfloor y \rfloor$ is an integer, this is equivalent to \[\lfloor y \rfloor \le (x_1 x_2)_{10} - n.\]First, let's look at the interval where $0 \le x < 1,$ so $n = 0.$ For $0 \le x < 0.01,$ we want \[\lfloor y \rfloor \le 0,\]so $0 \le y < 1.$ For $0.01 \le x < 0.02,$ we want \[\lfloor y \rfloor \le 1,\]so $0 \le y < 2.$ For $0.02 \le x < 0.03,$ we want \[\lfloor y \rfloor \le 2,\]so $0 \le y < 3,$ and so on. Thus, for $0 \le x < 1,$ the region is as follows. [asy] unitsize(1 cm); draw((0,0)--(6,0)); draw((0,0)--(0,6)); filldraw((0,0)--(0,1)--(1,1)--(1,0)--cycle,gray(0.7)); filldraw((1,0)--(1,2)--(2,2)--(2,0)--cycle,gray(0.7)); filldraw((2,0)--(2,3)--(3,3)--(3,0)--cycle,gray(0.7)); filldraw((5,0)--(5,6)--(6,6)--(6,0)--cycle,gray(0.7)); label("$0$", (0,0), S, fontsize(10)); label("$0.01$", (1,0), S, fontsize(10)); label("$0.02$", (2,0), S, fontsize(10)); label("$0.03$", (3,0), S, fontsize(10)); label("$0.99$", (5,0), S, fontsize(10)); label("$1$", (6,0), S, fontsize(10)); label("$0$", (0,0), W, fontsize(10)); label("$1$", (0,1), W, fontsize(10)); label("$2$", (0,2), W, fontsize(10)); label("$3$", (0,3), W, fontsize(10)); label("$100$", (0,6), W, fontsize(10)); label("$\dots$", (4,2)); label("$\vdots$", (0,4.5), W); [/asy] The area of this part of the region is then \[0.01(1 + 2 + 3 + \dots + 100) = 0.01 \cdot \frac{100 \cdot 101}{2}.\]Next, we look at the interval where $1 \le x < 2,$ so $n = 1.$ For $1 \le x < 1.01,$ we want \[\lfloor y \rfloor \le 0 - 1 = -1,\]so there are no values of $y$ that work. For $1.01 \le x < 1.02,$ we want \[\lfloor y \rfloor \le 1 - 1 = 0,\]so $0 \le y < 1.$ For $1.02 \le x < 1.03,$ we want \[\lfloor y \rfloor \le 2 - 1 = 1,\]so $0 \le y < 2,$ and so on. Thus, for $1 \le x < 2,$ the region is as follows. [asy] unitsize(1 cm); draw((0,0)--(6,0)); draw((0,0)--(0,5)); filldraw((1,0)--(1,1)--(2,1)--(2,0)--cycle,gray(0.7)); filldraw((2,0)--(2,2)--(3,2)--(3,0)--cycle,gray(0.7)); filldraw((5,0)--(5,5)--(6,5)--(6,0)--cycle,gray(0.7)); label("$1$", (0,0), S, fontsize(10)); label("$1.01$", (1,0), S, fontsize(10)); label("$1.02$", (2,0), S, fontsize(10)); label("$1.03$", (3,0), S, fontsize(10)); label("$1.99$", (5,0), S, fontsize(10)); label("$2$", (6,0), S, fontsize(10)); label("$0$", (0,0), W, fontsize(10)); label("$1$", (0,1), W, fontsize(10)); label("$2$", (0,2), W, fontsize(10)); label("$3$", (0,3), W, fontsize(10)); label("$99$", (0,5), W, fontsize(10)); label("$\dots$", (4,2)); label("$\vdots$", (0,4), W); [/asy] The area of this part of the region is then \[0.01(1 + 2 + 3 + \dots + 99) = 0.01 \cdot \frac{99 \cdot 100}{2}.\]Similarly, the area of the region for $2 \le x < 3$ is \[0.01(1 + 2 + 3 + \dots + 98) = 0.01 \cdot \frac{98 \cdot 99}{2},\]the area of the region for $3 \le x < 4$ is \[0.01(1 + 2 + 3 + \dots + 97) = 0.01 \cdot \frac{97 \cdot 98}{2},\]and so on, until the area of the region for $99 \le x < 100$ is \[0.01(1) = 0.01 \cdot \frac{1 \cdot 2}{2}.\]Hence, the total area of the region is \[\frac{0.01}{2} (1 \cdot 2 + 2 \cdot 3 + 3 \cdot 4 + \dots + 100 \cdot 101) = \frac{1}{200} \sum_{k = 1}^{100} k(k + 1).\]To compute this sum, we can use the formula \[\sum_{k = 1}^n k^2 = \frac{n(n + 1)(2n + 1)}{6}.\]Alternatively, we can write \[k(k + 1) = \frac{(k + 2) - (k - 1)}{3} \cdot k(k + 1) = \frac{k(k + 1)(k + 2) - (k - 1)k(k + 1)}{3},\]which allows sum to telescope, and we get \[\frac{1}{200} \sum_{k = 1}^{100} k(k + 1) = \frac{1}{200} \cdot \frac{100 \cdot 101 \cdot 102}{3} = \boxed{1717}.\]
human
Find the maximum value of $10^x - 100^x,$ over all real numbers $x.$
gpt
Let $y = 10^x.$ Then \[10^x - 100^x = y - y^2 = \frac{1}{4} - \left( y - \frac{1}{2} \right)^2.\]Thus, the maximum value is $\boxed{\frac{1}{4}},$ which occurs when $y = \frac{1}{2},$ or $x = \log_{10} \left( \frac{1}{2} \right).$
human
Let $x,$ $y,$ and $z$ be positive real numbers such that $x + y + z = 6.$ Find the minimum value of \[\frac{x^2 + y^2}{x + y} + \frac{x^2 + z^2}{x + z} + \frac{y^2 + z^2}{y + z}.\]
gpt
By QM-AM, \[\sqrt{\frac{x^2 + y^2}{2}} \ge \frac{x + y}{2}.\]Then \[\frac{x^2 + y^2}{2} \ge \left( \frac{x + y}{2} \right)^2,\]which we can re-arrange as \[\frac{x^2 + y^2}{x + y} \ge \frac{x + y}{2}.\]Similarly, \begin{align*} \frac{x^2 + y^2}{x + y} &\ge \frac{x + y}{2}, \\ \frac{y^2 + z^2}{y + z} &\ge \frac{y + z}{2}. \end{align*}Therefore, \[\frac{x^2 + y^2}{x + y} + \frac{x^2 + z^2}{x + z} + \frac{y^2 + z^2}{y + z} \ge \frac{x + y}{2} + \frac{x + z}{2} + \frac{y + z}{2} = x + y + z = 6.\]Equality occurs when $x = y = z = 2,$ so the minimum value is $\boxed{6}.$
human
Solve the inequality \[\left| \frac{2x - 1}{x - 1} \right| > 2.\]
gpt
From the given inequality, either $\frac{2x - 1}{x - 1} > 2$ or $\frac{2x - 1}{x - 1} < -2.$ The inequality $\frac{2x - 1}{x - 1} > 2$ becomes \[\frac{2x - 1}{x - 1} - 2 > 0,\]or \[\frac{1}{x - 1} > 0.\]This is satisfied when $x > 1.$ The inequality $\frac{2x - 1}{x - 1} < -2$ becomes \[\frac{2x - 1}{x - 1} + 2 < 0,\]or \[\frac{4x - 3}{x - 1} < 0.\]If $x < \frac{3}{4},$ then $4x - 3 < 0$ and $x - 1 < 0,$ so the inequality is not satisfied. If $\frac{3}{4} < x < 1,$ then $4x - 3 > 0$ and $x - 1 < 0,$ so the inequality is satisfied. If $x > 1,$ then $4x - 3 > 0$ and $x - 1 > 0,$ so the inequality is not satisfied. Thus, the solution is \[x \in \boxed{\left( \frac{3}{4}, 1 \right) \cup (1, \infty)}.\]
human
Find all the solutions to \[\frac{1}{x^2 + 11x - 8} + \frac{1}{x^2 + 2x - 8} + \frac{1}{x^2 - 13x - 8} = 0.\]Enter all the solutions, separated by commas.
gpt
Let $y = x^2 - 13x - 8.$ Then we can write the given equation as \[\frac{1}{y + 24x} + \frac{1}{y + 15x} + \frac{1}{y} = 0.\]Multiplying everything by $(y + 24x)(y + 15x)y,$ we get \[(y + 15x)y + y(y + 24x) + (y + 24x)(y + 15x) = 0.\]This simplifies to $360x^2 + 78xy + 3y^2 = 0,$ which factors as $3(20x + y)(6x + y) = 0.$ Hence, $20x + y = 0$ or $6x + y = 0.$ If $20x + y = 0,$ then $20x + x^2 - 13x - 8 = x^2 + 7x - 8 = (x - 1)(x + 8) = 0,$ so $x = 1$ or $x = -8.$ If $6x + y = 0,$ then $6x + x^2 - 13x - 8 = x^2 - 7x - 8 = (x - 8)(x + 1) = 0,$ so $x = 8$ or $x = -1.$ Thus, the solutions are $\boxed{8,1,-1,-8}.$
human
Let $f : \mathbb{R} \to \mathbb{R}$ be a function such that \[f(x^2 + yf(z)) = xf(x) + zf(y)\]for all real numbers $x,$ $y,$ and $z.$ Let $n$ be the number of possible values of $f(5),$ and let $s$ be the sum of all possible values of $f(5).$ Find $n \times s.$
gpt
Setting $x = y = 0,$ we get \[f(0) = zf(0)\]for all $z,$ so $f(0) = 0.$ Setting $y = 0,$ we get \[f(x^2) = xf(x)\]for all $x.$ Setting $x = 0,$ we get \[f(yf(z)) = zf(y).\]In particular, for $y = 1,$ $f(f(z)) = zf(1).$ Since $f(x^2) = xf(x),$ \[f(f(x^2)) = f(xf(x)).\]But $f(f(x^2)) = x^2 f(1)$ and $f(xf(x)) = xf(x),$ so \[x^2 f(1) = xf(x).\]Then for $x \neq 0,$ $f(x) = f(1) x.$ Since $f(0) = 0,$ \[f(x) = f(1) x\]for all $x.$ Let $c = f(1),$ so $f(x) = cx.$ Substituting into the given equation, we get \[cx^2 + c^2 yz = cx^2 + cyz.\]For this to hold for all $x,$ $y,$ and $z,$ we must have $c^2 = c,$ so $c = 0$ or $c = 1.$ Thus, the solutions are $f(x) = 0$ and $f(x) = x.$ This means $n = 2$ and $s = 0 + 5,$ so $n \times s = \boxed{10}.$
human
A circle is tangent to the lines $4x - 3y = 30$ and $4x - 3y = -10.$ The center of the circle lies on the line $2x + y = 0.$ Find the center of the circle.
gpt
Note that the lines $4x - 3y = 30$ and $4x - 3y = -10$ are parallel, so the center of the circle lies on the line which is exactly halfway between these lines, which is $4x - 3y = 10.$ [asy] unitsize(2 cm); pair A, B; A = dir(-20); B = dir(160); draw(Circle((0,0),1)); draw((A + 1.5*dir(70))--(A - 1.5*dir(70))); draw((B + 1.5*dir(70))--(B - 1.5*dir(70))); draw((1.5*dir(70))--(-1.5*dir(70)),dashed); label("$4x - 3y = -10$", B + 1.5*dir(70), N); label("$4x - 3y = 30$", A + 1.5*dir(70), N); label("$4x - 3y = 10$", -1.5*dir(70), S); dot((0,0)); [/asy] Solving the system $2x + y = 0$ and $4x - 3y = 10,$ we find $x = 1$ and $y = -2.$ Therefore, the center of the circle is $\boxed{(1,-2)}.$
human
An ellipse has foci at $(9, 20)$ and $(49, 55)$ in the $xy$-plane and is tangent to the $x$-axis. What is the length of its major axis?
gpt
Denote the ellipse by $\mathcal{E}.$ Let $F_1=(9,20)$ and $F_2=(49,55)$ be its foci, and let $X$ be the point where it touches the $x$-axis. [asy] size(6cm); draw(shift(((9, 20) + (49, 55))/2)*rotate(41.186)*scale(85/2,10*11^.5)*unitcircle); draw((-20,0)--(80,0),EndArrow); draw((0,-20)--(0,85),EndArrow); dot("$F_1 (9, 20)$", (9, 20), NE); dot("$F_2 (49, 55)$", (49, 55), NW); dot("$X$", extension((9, 20), (49, -55), (0, 0), (1, 0)), S); label("$\mathcal{E}$", (69,30)); label("$x$",(80,-2),SW); label("$y$",(-2,85),SW); [/asy] By definition, $\mathcal{E}$ is the set of all points $P$ for which the quantity $PF_1 + PF_2$ is equal to a particular (fixed) constant, say $k.$ Furthermore, letting $A$ and $B$ be the endpoints of the major axis, we observe that \[AB = AF_1 + F_1B = F_2B + F_1B = k\]since $AF_1 = F_2B$ by symmetry. That is, $k$ is the length of the major axis. Therefore, it suffices to compute the constant $k,$ given that $\mathcal{E}$ is tangent to the $x$-axis. Note that for points $P$ strictly inside $\mathcal{E},$ we have $PF_1 + PF_2 < k,$ and for points $P$ strictly outside $\mathcal{E},$ we have $PF_1 + PF_2 > k.$ Since the $x$-axis intersects $\mathcal{E}$ at exactly one point $X$ and $XF_1 + XF_2 = k,$ it follows that $k$ is the smallest possible value of $PF_1 + PF_2$ over all points $P$ on the $x$-axis. Now reflect $F_1$ over the $x$-axis to point $F_1',$ as shown: [asy] size(6cm); draw(shift(((9, 20) + (49, 55))/2)*rotate(41.186)*scale(85/2,10*11^.5)*unitcircle); draw((-20,0)--(80,0),EndArrow); draw((0,-30)--(0,85),EndArrow); dot("$F_1 (9, 20)$", (9, 20), NE); dot("$F_1' (9, -20)$", (9, -20), SE); dot("$F_2 (49, 55)$", (49, 55), NW); label("$\mathcal{E}$", (69,30)); label("$x$",(80,-2),SW); label("$y$",(-2,85),SW); draw((9,20)--(9,-20),dotted); pair P=(35,0); dot(P); label("$P$",P,SE); draw((9,20)--P--(49,55)--P--(9,-20),dotted); [/asy] For a point $P$ on the $x$-axis, we have $PF_1 + PF_2 = PF_1' + PF_2.$ Then, by the triangle inequality, $PF_1' + PF_2 \ge F_1'F_2,$ and equality holds when $P$ lies on segment $\overline{F_1'F_2}.$ Therefore, the smallest possible value of $PF_1 + PF_2$ over all points $P$ on the $x$-axis is $F_1'F_2,$ and so it follows that $k = F_1'F_2.$ Then we compute \[\begin{aligned} F_1'F_2 &= \sqrt{(49-9)^2 + (55-(-20))^2} \\ &= \sqrt{40^2+75^2} \\ &= 5\sqrt{8^2+15^2} \\ &= 5 \cdot 17 \\ &=\boxed{85}. \end{aligned}\]
human
A cubic polynomial $p(x)$ satisfies \[p(n) = \frac{1}{n^2}\]for $n = 1, 2, 3,$ and $4.$ Find $p(5).$
gpt
Let $q(x) = x^2 p(x) - 1.$ Then $q(x)$ is a polynomial of degree 5, and $q(n) = 0$ for $n = 1,$ 2, 3, and 4, so \[q(x) = (ax + b)(x - 1)(x - 2)(x - 3)(x - 4)\]for some constants $a$ and $b.$ We know that $q(0) = 0^2 \cdot p(0) - 1 = -1.$ But setting $x = 0$ in the equation above, we get \[q(0) = 24b,\]so $b = -\frac{1}{24}.$ We also know that the coefficient of $x$ in $q(x) = x^2 p(x) - 1$ is 0. The coefficient of $x$ in \[q(x) = (ax + b)(x - 1)(x - 2)(x - 3)(x - 4)\]is \begin{align*} &a(-1)(-2)(-3)(-4) + b(-2)(-3)(-4) \\ &\quad + b(-1)(-3)(-4) + b(-1)(-2)(-4) + b(-1)(-2)(-3) \\ &= 24a - 50b, \end{align*}so $a = \frac{50b}{24} = -\frac{25}{288}.$ Hence, \[q(x) = \left( -\frac{25}{288} x - \frac{1}{24} \right) (x - 1)(x - 2)(x - 3)(x - 4) = -\frac{(25x + 12)(x - 1)(x - 2)(x - 3)(x - 4)}{288}.\]Then \[q(5) = -\frac{137}{12},\]so $p(x) = \frac{q(5) + 1}{25} = \boxed{-\frac{5}{12}}.$
human
The graph of \[y^4 - 4x^4 = 2y^2 - 1\]is the union of the graphs of two different conic sections. Which two types of conic sections are they? (Write your answer as a list, with "C" for circle, "E" for ellipse, "H" for hyperbola, and "P" for parabola. For example, "C, H" if you think the graph consists of a circle and a hyperbola. You may use a letter twice.)
gpt
We can rewrite the given equation as \[y^4 - 2y^2 + 1 = 4x^4.\]The left-hand side is the perfect square of a binomial: \[(y^2-1)^2 = 4x^4.\]Therefore, either $y^2-1=2x^2$ or $y^2-1=-2x^2.$ That is, either $y^2-2x^2=1$ or $y^2+2x^2=1.$ These are the equations for a hyperbola and an ellipse, respectively, so the answer is $\boxed{\text{H, E}}.$
human
Find the value of $k$ so that the line $3x + 5y + k = 0$ is tangent to the parabola $y^2 = 24x.$
gpt
Solving for $x$ in $3x + 5y + k = 0,$ we get \[x = -\frac{5y + k}{3}.\]Substituting into $y^2 = 24x,$ we get \[y^2 = -40y - 8k,\]or $y^2 + 40y + 8k = 0.$ Since we have a tangent, this quadratic will have a double root, meaning that its discriminant will be 0. This give us $40^2 - 4(8k) = 0,$ so $k = \boxed{50}.$
human
Find the $\emph{positive}$ real number(s) $x$ such that $\frac{1}{2}\left( 3x^2-1\right) = \left( x^2-50x-10\right)\left( x^2+25x+5\right)$.
gpt
Write $a = x^2-50x-10$ and $b = x^2+25x+5$. Then the equation given becomes \[\frac{a+2b-1}{2} = ab,\]so $0=2ab-a-2b+1=(a-1)(2b-1)$. Then $a-1=x^2-50x-11=0$ or $2b-1=2x^2+50x+9=0$. The former has a positive root, $x=\boxed{25 + 2\sqrt{159}}$, while the latter does not.
human
Suppose that $a$ and $b$ are positive integers such that $(a+bi)^2 = 3+4i$. What is $a+bi$?
gpt
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}$.
human
The vertices of an equilateral triangle lie on the hyperbola $xy=1$, and a vertex of this hyperbola is the centroid of the triangle. What is the square of the area of the triangle?
gpt
Without loss of generality, suppose that the centroid of the triangle is at the vertex $(-1,-1)$. In an equilateral triangle, the centroid and the circumcenter coincide, so the three vertices of the triangle are among the intersection points of the hyperbola $xy = 1$ and a circle centered at $(-1,-1)$. Suppose the hyperbola and circle intersect at four distinct points, shown below on the left, at $A$, $B$, $C$, and $D$. Either $A$ or $B$ are two of the vertices, or $C$ and $D$ are two of the vertices. If $A$ and $B$ are two of the vertices, then the triangle will have the line $y = x$ as an axis of symmetry, which means that the third vertex must also lie on the line $y = x$. However, neither of the other two points satisfy this condition. The argument is the same if $C$ and $D$ are two of the vertices. [asy] unitsize(0.8 cm); real f(real x) { return(1/x); } pair A, B, C, D, trans = (9,0); A = intersectionpoints(Circle((-1,-1),3),graph(f,1/3,3))[0]; B = intersectionpoints(Circle((-1,-1),3),graph(f,1/3,3))[1]; C = intersectionpoints(Circle((-1,-1),3),graph(f,-5,-1/5))[0]; D = intersectionpoints(Circle((-1,-1),3),graph(f,-5,-1/5))[1]; draw((-5,0)--(3,0)); draw((0,-5)--(0,3)); draw(graph(f,1/3,3),red); draw(graph(f,-1/5,-5),red); draw(Circle((-1,-1),3)); dot("$A$", A, NE); dot("$B$", B, NE); dot("$C$", C, SW); dot("$D$", D, SW); dot("$(-1,-1)$", (-1,-1), SW); draw(shift(trans)*((-5,0)--(3,0))); draw(shift(trans)*((0,-5)--(0,3))); draw(shift(trans)*graph(f,1/3,3),red); draw(shift(trans)*graph(f,-1/5,-5),red); draw(Circle((-1,-1) + trans,2*sqrt(2))); dot("$(-1,-1)$", (-1,-1) + trans, SW); dot("$(1,1)$", (1,1) + trans, NE); [/asy] Therefore, the hyperbola must intersect the circle at exactly three points. In turn, the only way this can happen is if the circle passes through the point $(1,1)$. The circumradius of the triangle is then the distance between $(-1,-1)$ and $(1,1)$, which is $2 \sqrt{2}$. It follows that the side length of the triangle is $2 \sqrt{2} \cdot \sqrt{3} = 2 \sqrt{6}$, so the area of the triangle is $\frac{\sqrt{3}}{4} \cdot (2 \sqrt{6})^2 = 6 \sqrt{3},$ and the square of the area is $(6 \sqrt{3})^2 = \boxed{108}.$
human
If $x$ is a number between 0 and 1, which of the following represents the smallest value? A). $x$ B). $x^2$ C). $2x$ D). $\sqrt{x}$ E). $\frac{1}{x}$ Express your answer as A, B, C, D, or E.
gpt
Since $0 < x < 1,$ \[x^2 < x < 2x,\]and $x^2 < x < \sqrt{x}$ and $x < 1 < \frac{1}{x}.$ Therefore, the smallest number is always $x^2,$ and the answer is $\boxed{\text{B}}.$
human
Let $a$, $b$, $c$, and $d$ be real numbers with $|a-b|=2$, $|b-c|=3$, and $|c-d|=4$. What is the sum of all possible values of $|a-d|$?
gpt
We use the result that if $x$ and $y$ are real numbers, then the distance between them on the real number line is $|x - y|.$ First, we place $a$: [asy] unitsize(0.5 cm); int i; draw((-11,0)--(11,0)); for (i = -10; i <= 10; ++i) { draw((i,-0.2)--(i,0.2)); } label("$a$", (0,-0.2), S); [/asy] We then place a label of $b$ on every point that is two units away from $a$: [asy] unitsize(0.5 cm); int i; draw((-11,0)--(11,0)); for (i = -10; i <= 10; ++i) { draw((i,-0.2)--(i,0.2)); } label("$a$", (0,-0.2), S); label("$b$", (-2,-0.2), S); label("$b$", (2,-0.2), S); [/asy] We then place a label of $c$ on every point that is three units away from a point labelled $b$: [asy] unitsize(0.5 cm); int i; draw((-11,0)--(11,0)); for (i = -10; i <= 10; ++i) { draw((i,-0.2)--(i,0.2)); } label("$a$", (0,-0.2), S); label("$b$", (-2,-0.2), S); label("$b$", (2,-0.2), S); label("$c$", (-5,-0.2), S); label("$c$", (-1,-0.2), S); label("$c$", (1,-0.2), S); label("$c$", (5,-0.2), S); [/asy] Finally, we place a label of $d$ on every point that is four units away from a point labelled $c$: [asy] unitsize(0.5 cm); int i; draw((-11,0)--(11,0)); for (i = -10; i <= 10; ++i) { draw((i,-0.2)--(i,0.2)); } label("$a$", (0,-0.2), S); label("$b$", (-2,-0.2), S); label("$b$", (2,-0.2), S); label("$c$", (-5,-0.2), S); label("$c$", (-1,-0.2), S); label("$c$", (1,-0.2), S); label("$c$", (5,-0.2), S); label("$d$", (-9,-0.2), S); label("$d$", (-5,-0.8), S); label("$d$", (-3,-0.2), S); label("$d$", (-1,-0.8), S); label("$d$", (1,-0.8), S); label("$d$", (3,-0.2), S); label("$d$", (5,-0.8), S); label("$d$", (9,-0.2), S); [/asy] Thus, the possible values of $|a - d|$ are 1, 3, 5, 9, and their total is $\boxed{18}.$
human
Let $a,$ $b,$ $c,$ $d,$ $e,$ $f,$ $g,$ and $h$ be real numbers such that $abcd = 4$ and $efgh = 9.$ Find the minimum value of \[(ae)^2 + (bf)^2 + (cg)^2 + (dh)^2.\]
gpt
By AM-GM, \begin{align*} (ae)^2 + (bf)^2 + (cg)^2 + (dh)^2 &\ge 4 \sqrt[4]{(ae)^2 (bf)^2 (cg)^2 (dh)^2} \\ &= 4 \sqrt[4]{(abcdefgh)^2} \\ &= 24. \end{align*}Equality occurs when $(ae)^2 = (bf)^2 = (cg)^2 = (dh)^2,$ $abcd = 4,$ and $efgh = 9.$ For example, we can take $a = b = c = d = \sqrt{2}$ and $e = f = g = h = \sqrt{3}.$ Hence, the minimum value is $\boxed{24}.$
human
Find the real roots of \[x^4 - 2x^3 - x + 2 = 0.\]
gpt
We can factor the polynomial as \begin{align*} x^4 - 2x^3 - x + 2 &= (x - 2) x^3 - (x - 2) \\ &= (x - 2)(x^3 - 1) \\ &= (x - 2)(x - 1)(x^2 + x + 1). \end{align*}The quadratic factor $x^2 + x + 1$ has no real roots, so the real roots are $\boxed{1,2}.$
human
Let $G$ be the set of polynomials of the form $$ P(z)=z^n+c_{n-1}z^{n-1}+\cdots+c_2z^2+c_1z+50, $$where $ c_1,c_2,\dots, c_{n-1} $ are integers and $P(z)$ has distinct roots of the form $a+ib$ with $a$ and $b$ integers. How many polynomials are in $G$?
gpt
Since the coefficients of the polynomial are real numbers, any nonreal roots must come in conjugate pairs. Thus, when we factor $P(z)$ over the integers, each factor is either of the form $z - c,$ where $c$ is an integer, or \[(z - a - bi)(z - a + bi) = z^2 - 2az + a^2 + b^2,\]where $a$ and $b$ are integers, and $b \neq 0.$ Furthermore, the product of the constant terms must be 50, so for each linear factor, $c$ divides 50, and for each quadratic factor, $a^2 + b^2$ divides 50. We call these linear and quadratic factors basic factors. For each divisor $d$ of 50, so $d \in \{1, 2, 5, 10, 25, 50\},$ let $B_d$ be the set of basic factors where the constant term is $\pm d.$ For $d = 1,$ any basic quadratic factor must satisfy \[a^2 + b^2 = 1.\]The only solution is $(a,b) = (0, \pm 1),$ which leads to the quadratic factor $z^2 + 1.$ We also have the linear factors $z \pm 1.$ Hence, $|B_1| = 3.$ For $d = 2,$ any basic quadratic factor must satisfy \[a^2 + b^2 = 2.\]The solutions are $(a,b) = (\pm 1, \pm 1),$ which leads to the quadratic factors $z^2 - 2z + 2$ and $z^2 + 2z + 2.$ We also have the linear factors $z \pm 2.$ Hence, $|B_2| = 4.$ For $d = 5,$ the solutions to \[a^2 + b^2 = 5\]are $(a,b) = (\pm 1, \pm 2)$ and $(\pm 2, \pm 1),$ so $|B_5| = 6.$ For $d = 10,$ the solutions to \[a^2 + b^2 = 10\]are $(a,b) = (\pm 1, \pm 3)$ and $(\pm 3, \pm 1),$ so $|B_{10}| = 6.$ For $d = 25,$ the solutions to \[a^2 + b^2 = 25\]are $(a,b) = (\pm 3, \pm 4),$ $(\pm 4, \pm 3),$ and $(0, \pm 5),$ so $|B_{25}| = 7.$ For $d = 50,$ the solutions to \[a^2 + b^2 = 50\]are $(a,b) = (\pm 1, \pm 7),$ $(\pm 5, \pm 5),$ and $(\pm 7, \pm 1),$ so $|B_{50}| = 8.$ Now, consider the factors of $P(z)$ which belong in $B_d,$ where $d > 1.$ We have the following cases: $\bullet$ There is one factor in $B_{50}.$ $\bullet$ There is one factor in $B_2,$ and one factor in $B_{25}.$ $\bullet$ There is one factor in $B_5,$ and one factor in $B_{10}.$ $\bullet$ There is one factors in $B_2,$ and two factors in $B_5.$ Case 1: There is one factor in $B_{50}.$ There are 8 ways to choose the factor in $B_{50}.$ Case 2: There is one factor in $B_2,$ and one factor in $B_{25}.$ There are 4 ways to choose the factor in $B_2,$ and 7 ways to choose the factor in $B_{25}.$ Case 3: There is one factor in $B_5,$ and one factor in $B_{10}.$ There are 6 ways to choose the factor in $B_5,$ and 6 ways to choose the factor in $B_{10}.$ Case 4: There is one factors in $B_2,$ and two factors in $B_5.$ There are 4 ways to choose the factor in $B_2,$ and $\binom{6}{2}$ ways to choose the two factors in $B_5.$ Hence, there are \[8 + 4 \cdot 7 + 6 \cdot 6 + 4 \binom{6}{2} = 132\]ways to choose the factors in $B_d,$ where $d > 1.$ After we have chosen these factors, we can include $z + 1$ or $z^2 + 1$ arbitrarily. Finally, the constant coefficient is either 50 or $-50$ at this point. If the coefficient is 50, then we cannot include $z - 1.$ If the constant coefficient is $-50,$ then we must include $z - 1.$ Thus, whether we include $z - 1$ or not is uniquely determined. Therefore, the total number of polynomials in $G$ is $132 \cdot 2^2 = \boxed{528}.$
human
Let $a_1,$ $a_2,$ $\dots,$ $a_{12}$ be positive real numbers such that $a_1 + a_2 + \dots + a_{12} = 1.$ Find the minimum value of \[\frac{1}{a_1} + \frac{1}{a_2} + \dots + \frac{1}{a_{12}}.\]
gpt
By Cauchy-Schwarz, \[(a_1 + a_2 + \dots + a_{12}) \left( \frac{1}{a_1} + \frac{1}{a_2} + \dots + \frac{1}{a_{12}} \right) \ge (1 + 1 + \dots + 1)^2 = 12^2 = 144,\]so \[\frac{1}{a_1} + \frac{1}{a_2} + \dots + \frac{1}{a_{12}} \ge 144.\]Equality occurs when $a_i = \frac{1}{12}$ for all $i,$ so the minimum value is $\boxed{144}.$
human
Let $\alpha \neq 1$ be a complex number such that the distance from $\alpha^2$ to 1 is twice the distance from $\alpha$ to 1, while the distance from $\alpha^4$ to 1 is four times the distance from $\alpha$ to 1. Enter all possible values of $\alpha,$ separated by commas.
gpt
From the given conditions, $|\alpha^2 - 1| = 2 |\alpha - 1|$ and $|\alpha^4 - 1| = 4 |\alpha - 1|.$ From the first equation, \[|\alpha + 1||\alpha - 1| = 2 |\alpha - 1|.\]Since $\alpha \neq 1,$ $|\alpha - 1| \neq 0.$ Thus, we can safely cancel the factors of $|\alpha - 1|,$ to get \[|\alpha + 1| = 2.\]From the second equation, \[|\alpha^2 + 1||\alpha^2 - 1| = 4 |\alpha - 1|.\]Then $2 |\alpha^2 + 1||\alpha - 1| = 4 |\alpha - 1|,$ so \[|\alpha^2 + 1| = 2.\]Let $\alpha = x + yi,$ where $x$ and $y$ are real numbers. Then $\alpha^2 = x^2 + 2xyi - y^2,$ so the equations $|\alpha + 1| = 2$ and $|\alpha^2 + 1| = 2$ becomes \begin{align*} |x + yi + 1| &= 2, \\ |x^2 + 2xyi - y^2 + 1| &= 2. \end{align*}Hence, \begin{align*} (x + 1)^2 + y^2 &= 4, \\ (x^2 - y^2 + 1)^2 + (2xy)^2 &= 4. \end{align*}From the first equation, $y^2 = 4 - (x + 1)^2 = 3 - 2x - x^2.$ Substituting into the second equation, we get \[(x^2 - (3 - 2x - x^2) + 1)^2 + 4x^2 (3 - 2x - x^2) = 4.\]This simplifies to $8x^2 - 8x = 0,$ which factors as $8x(x - 1) = 0.$ Hence, $x = 0$ or $x = 1.$ If $x = 0,$ then $y^2 = 3,$ so $y = \pm \sqrt{3}.$ If $x = 1,$ then $y^2 = 0,$ so $y = 0.$ But this leads to $\alpha = 1,$ which is not allowed. Therefore, the possible values of $\alpha$ are $\boxed{i \sqrt{3}, -i \sqrt{3}}.$ Alternative: We can rewrite the second equation as $(x^2 + y^2 + 1)^2 - 4y^2 = 4.$ From the first equation, we have $x^2 + y^2 + 1 = 4 - 2x$ and $y^2 = 4 - (x + 1)^2.$ Substituting these, we get \[ (4 - 2x)^2 - 4(4 - (x + 1)^2) = 4. \]This simplifies to $8x^2 - 8x = 0,$ and we can continue as before.
human
For what values of $x$ is \[\frac{x-10x^2+25x^3}{8-x^3}\]nonnegative? Answer as an interval.
gpt
First we factor $x$ from the numerator, \[\frac{x(1-10x+25x^2)}{8-x^3}.\]Now we see the square of a binomial in the numerator, so our expression is equal to \[\frac{x(1-5x)^2}{8-x^3}.\]The denominator only has the single (real) root $x=2$, and we can make more sense of that by applying the difference of cubes factorization \[\frac{x(1-5x)^2}{(2-x)(x^2+2x+4)}.\]Now we can factor the entire rational function as \[\left(\frac{x}{2-x}\right)\left(\frac{(1-5x)^2}{x^2+2x+4}\right).\]Note that the denominator $x^2 + 2x + 4 = (x + 1)^2 + 3$ is always positive. The factor $x$ changes sign at $x = 0,$ the factor $2 - x$ changes sign at $x = 2,$ and the factor $1 - 5x$ changes sign at $x = \frac{1}{5}.$ We build a sign chart accordingly. \[ \begin{array}{c|c|c|c|c} & x < 0 & 0 < x < \frac{1}{5} & \frac{1}{5} < x < 2 & 2 < x \\ \hline x & - & + & + & + \\ 2 - x & + & + & + & - \\ (1 - 5x)^2 & + & + & + & + \\ \left(\frac{x}{2-x}\right)\left(\frac{(1-5x)^2}{x^2+2x+4}\right) & - & + & + & - \end{array} \]Also, the expression \[\left(\frac{x}{2-x}\right)\left(\frac{(1-5x)^2}{x^2+2x+4}\right)\]is equal to 0 at $x = 0$ and $x = \frac{1}{5},$ so the solution to \[\left(\frac{x}{2-x}\right)\left(\frac{(1-5x)^2}{x^2+2x+4}\right) \ge 0\]is $x \in \boxed{[0,2)}.$
human
If $1+2x+3x^2 + \dotsb=9$, find $x$.
gpt
Let $S = 1 + 2x + 3x^2 + \dotsb.$ Then \[xS = x + 2x^2 + 3x^3 + \dotsb.\]Subtracting these equations, we get \[(1 - x) S = 1 + x + x^2 + \dotsb = \frac{1}{1 - x},\]so $S = \frac{1}{(1 - x)^2}.$ Thus, we want to solve \[\frac{1}{(1 - x)^2} = 9.\]then $(1 - x)^2 = \frac{1}{9},$ so $1 - x = \pm \frac{1}{3}.$ Since $x$ must be less than 1, $1 - x = \frac{1}{3},$ so $x = \boxed{\frac{2}{3}}.$
human
The parabolas $y = (x + 1)^2$ and $x + 4 = (y - 3)^2$ intersect at four points. All four points lie on a circle of radius $r.$ Find $r^2.$
gpt
Add the equations $y = (x + 1)^2$ and $x + 4 = (y - 3)^2$ to get \[x + y + 4 = (x + 1)^2 + (y - 3)^2.\](Any point that satisfies both equations must satisfy this equation as well.) Completing the square in $x$ and $y$, we get \[\left( x + \frac{1}{2} \right)^2 + \left( y - \frac{7}{2} \right)^2 = \frac{13}{2}.\]Thus, $r^2 = \boxed{\frac{13}{2}}.$
human
Let $f : \mathbb{R} \to \mathbb{R}$ be a function such that $f(1) = 1$ and \[f(x^2 - y^2) = (x - y) (f(x) + f(y))\]for all real numbers $x$ and $y.$ Let $n$ be the number of possible values of $f(2),$ and let $s$ be the sum of all possible values of $f(2).$ Find $n \times s.$
gpt
Setting $x = y,$ we get $f(0) = 0.$ Setting $x = -1$ and $y = 0,$ we get \[f(1) = -f(-1),\]so $f(-1) = -1.$ Setting $y = 1$ and $y = -1,$ we get \begin{align*} f(x^2 - 1) &= (x - 1) (f(x) + 1), \\ f(x^2 - 1) &= (x + 1) (f(x) - 1), \end{align*}respectively. Hence, $(x - 1) (f(x) + 1) = (x + 1) (f(x) - 1),$ which simplifies to $f(x) = x.$ We can check that this function works. Therefore, $n = 1$ and $s = 2,$ so $n \times s = \boxed{2}.$
human
Factor \[\frac{(a^2 - b^2)^3 + (b^2 - c^2)^3 + (c^2 - a^2)^3}{(a - b)^3 + (b - c)^3 + (c - a)^3}.\]
gpt
We will use the identity \[x^3 + y^3 + z^3 - 3xyz = (x + y + z)(x^2 + y^2 + z^2 - xy - xz - yz).\]Setting $x = a^2 - b^2,$ $y = b^2 - c^2,$ $z = c^2 - a^2,$ we get \[(a^2 - b^2)^3 + (b^2 - c^2)^3 + (c^2 - a^2)^3 - 3(a^2 - b^2)(b^2 - c^2)(c^2 - a^2) = 0.\]Setting $x = a - b,$ $y = b - c,$ $z = c - a,$ we get \[(a - b)^3 + (b - c)^3 + (c - a)^3 - 3(a - b)(b - c)(c - a) = 0.\]Hence, \begin{align*} \frac{(a^2 - b^2)^3 + (b^2 - c^2)^3 + (c^2 - a^2)^3}{(a - b)^3 + (b - c)^3 + (c - a)^3} &= \frac{3(a^2 - b^2)(b^2 - c^2)(c^2 - a^2)}{3(a - b)(b - c)(c - a)} \\ &= \frac{(a - b)(a + b)(b - c)(b + c)(c - a)(c + a)}{(a - b)(b - c)(c - a)} \\ &= \boxed{(a + b)(a + c)(b + c)}. \end{align*}
human
Let $x$ and $y$ be nonzero real numbers. Let $m$ and $M$ be the minimium value and maximum value of \[\frac{|x + y|}{|x| + |y|},\]respectively. Find $M - m.$
gpt
Both $|x + y|$ and $|x| + |y|$ are nonnegative, so $\frac{|x + y|}{|x| + |y|}$ must be nonnegative. When $x = 1$ and $y = -1,$ \[\frac{|x + y|}{|x| + |y|} = \frac{0}{2} = 0,\]so this is clearly the minimum. On the other hand, by the Triangle Inequality, $|x| + |y| \ge |x + y|,$ so \[\frac{|x + y|}{|x| + |y|} \le 1.\]Equality occurs when $x = y,$ so the maximum is 1. Therefore, $M - m = 1 - 0 = \boxed{1}.$
human
Find \[\left|\left(1 + \sqrt{3}i\right)^4\right|\]
gpt
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}$.
human
Let $x$, $y$, and $z$ be distinct real numbers that sum to $0$. Compute \[ \dfrac {xy+yz+zx}{x^2+y^2+z^2}. \]
gpt
We have $x+y+z=0,$ and squaring this equation gives \[(x^2+y^2+z^2) + 2(xy+yz+zx) = 0.\]Thus, $x^2+y^2+z^2=-2(xy+yz+zx).$ Since $x, y, z$ are distinct, it is not possible that $x^2+y^2+z^2=0,$ so we have \[\frac{xy+yz+zx}{x^2+y^2+z^2} = \boxed{-\frac12}.\]
human
The equations of the asymptotes of a hyperbola are $y = 2x+5$ and $y = -2x+1.$ Given that the hyperbola passes through the point $(0, 7),$ the standard form for the equation of the hyperbola is \[\frac{(y-k)^2}{a^2} - \frac{(x-h)^2}{b^2} = 1,\]where $a,$ $b$, $h,$ and $k$ are constants with $a, b > 0.$ Find $a + h.$
gpt
Solving the system $y=2x+5$ and $y=-2x+1,$ we get $(x, y) = (-1, 3).$ Therefore, the asymptotes of the hyperbola intersect at $(-1, 3),$ which must be the center of the hyperbola. Therefore, $(h, k) = (-1, 3),$ so the equation of the hyperbola is \[\frac{(y-3)^2}{a^2} - \frac{(x+1)^2}{b^2} = 1\]for some $a$ and $b.$ The equations of the asymptotes are therefore \[\frac{y-3}{a} = \pm \frac{x+1}{b},\]or \[y = 3 \pm \frac{a}{b} (x+1).\]Therefore, the slopes of the asymptotes are $\pm \frac{a}{b}.$ Because $a$ and $b$ are positive, we must have $\frac{a}{b} = 2,$ so $a = 2b.$ Therefore, the equation of the hyperbola is \[\frac{(y-3)^2}{4b^2} - \frac{(x+1)^2}{b^2} = 1.\]To find $b,$ we use the fact that the hyperbola passes through $(0, 7).$ Setting $x=0$ and $y=7$ gives the equation \[\frac{(7-3)^2}{4b^2} - \frac{(0+1)^2}{b^2} = 1,\]or $\frac{3}{b^2} = 1.$ Thus, $b = \sqrt{3},$ and so $a = 2b = 2\sqrt{3}.$ Hence the equation of the hyperbola is \[\frac{(y-3)^2}{12} - \frac{(x+1)^2}{3} = 1,\]and $a+h = \boxed{2\sqrt{3}-1}.$ [asy] void axes(real x0, real x1, real y0, real y1) { draw((x0,0)--(x1,0),EndArrow); draw((0,y0)--(0,y1),EndArrow); label("$x$",(x1,0),E); label("$y$",(0,y1),N); for (int i=floor(x0)+1; i<x1; ++i) draw((i,.1)--(i,-.1)); for (int i=floor(y0)+1; i<y1; ++i) draw((.1,i)--(-.1,i)); } path[] yh(real a, real b, real h, real k, real x0, real x1, bool upper=true, bool lower=true, pen color=black) { real f(real x) { return k + a / b * sqrt(b^2 + (x-h)^2); } real g(real x) { return k - a / b * sqrt(b^2 + (x-h)^2); } if (upper) { draw(graph(f, x0, x1),color, Arrows); } if (lower) { draw(graph(g, x0, x1),color, Arrows); } path [] arr = {graph(f, x0, x1), graph(g, x0, x1)}; return arr; } void xh(real a, real b, real h, real k, real y0, real y1, bool right=true, bool left=true, pen color=black) { path [] arr = yh(a, b, k, h, y0, y1, false, false); if (right) draw(reflect((0,0),(1,1))*arr[0],color, Arrows); if (left) draw(reflect((0,0),(1,1))*arr[1],color, Arrows); } void e(real a, real b, real h, real k) { draw(shift((h,k))*scale(a,b)*unitcircle); } size(8cm); axes(-8,8, -6, 12); yh(2*sqrt(3),sqrt(3),-1,3,-5,3); dot((0,7)); dot((-1,3)); real f(real x) { return 2*x+5; } real g(real x) { return -2*x+1; } draw(graph(f, -5, 3) ^^ graph(g, -5, 3),dotted); [/asy]
human
Let $p(x)$ be a monic quartic polynomial such that $p(1) = 2,$ $p(2) = 5,$ $p(3) = 10,$ and $p(4) = 17.$ Find $p(5).$
gpt
Note that $p(x)$ takes on the same values as $x^2 + 1$ for $x = 1,$ 2, 3, and 4. So, let \[q(x) = p(x) - x^2 - 1.\]Then $q(x)$ is also a monic quartic polynomial. Also, $q(1) = q(2) = q(3) = q(4) = 0,$ so \[q(x) = (x - 1)(x - 2)(x - 3)(x - 4).\]Hence, $p(x) = (x - 1)(x - 2)(x - 3)(x - 4) + x^2 + 1.$ We can set $x = 5,$ to get $p(5) = \boxed{50}.$
human
Let $x$ and $y$ be positive real numbers such that $x + y = 10.$ Find the minimum value of $\frac{1}{x} + \frac{1}{y}.$
gpt
By AM-HM, \[\frac{x + y}{2} \ge \frac{2}{\frac{1}{x} + \frac{1}{y}}.\]Hence, \[\frac{1}{x} + \frac{1}{y} \ge \frac{4}{x + y} = \frac{4}{10} = \frac{2}{5}.\]Equality occurs when $x = y = 5,$ so the minimum value is $\boxed{\frac{2}{5}}.$
human
Let $P= \left( 1 - \frac{1}{2} \right) \left( 1 - \frac{1}{3} \right) \left( 1 - \frac{1}{4} \right) \dotsm \left( 1 - \frac{1}{n} \right)$. What is the value of $P$ if $n=2007$? Express your answer as a common fraction.
gpt
Simplifying each term in $P,$ \[P=\left( \frac{1}{2} \right) \left( \frac{2}{3} \right) \left( \frac{3}{4} \right) \dotsm \left( \frac{n-1}{n} \right) . \]The denominator of each fraction cancels with the numerator of the next fraction, so $P=\frac{1}{n}.$ When $n=2007,$ $P=\boxed{\frac{1}{2007}}.$
human
The graph below shows a portion of the curve defined by the quartic polynomial $P(x)=x^4+ax^3+bx^2+cx+d$. [asy] unitsize(0.8 cm); int i; real func (real x) { return(0.5*(x^4/4 - 2*x^3/3 - 3/2*x^2) + 2.7); } draw(graph(func,-4.5,4.5)); draw((-4.5,0)--(4.5,0)); draw((0,-5.5)--(0,5.5)); for (i = -4; i <= 4; ++i) { draw((i,-0.1)--(i,0.1)); } for (i = -5; i <= 5; ++i) { draw((-0.1,i)--(0.1,i)); } label("$-3$", (-3,-0.1), S); label("$3$", (3,-0.1), S); label("$10$", (-0.1,5), W); label("$-10$", (-0.1,-5), W); limits((-4.5,-5.5),(4.5,5.5),Crop); [/asy] Which of the following is the smallest? A. $P(-1)$ B. The product of the zeros of $P$ C. The product of the non-real zeros of $P$ D. The sum of the coefficients of $P$ E. The sum of the real zeros of $P$
gpt
We claim that the product of the non-real zeros is the smallest. (A) The value of $P(-1)$ is greater than 4. (B) Since the leading coefficient in $P(x)$ is 1, the product of the zeros of $P$ is $d = P(0),$ which is greater than 4. (D) The sum of the coefficient of $P(x)$ is $P(1),$ which is greater than 2. (E) The quartic $P(x)$ has a real root between 1 and 2, and it also has a root between 3 and 4. If there were any more real roots, then the quartic equation $P(x) = 5$ would have more than four roots, which is impossible, so these two real roots are the only real roots. The sum of these real roots is greater than 4. (C) The product of all the zeros is $d = P(0),$ which is less than 6. The product of the real zeros is greater than 3, so the product the non-real zeros must be less than $\frac{6}{3} = 2.$ Thus, the answer is $\boxed{\text{C}}.$
human
Let $f : \mathbb{R} \to \mathbb{R}$ be a function such that \[f(f(x - y)) = f(x) f(y) - f(x) + f(y) - xy\]for all $x,$ $y.$ Find the sum of all possible values of $f(1).$
gpt
Let $a = f(0)$ and $b = f(f(0))$. Setting $y = x$ in the given equation, we get \[[f(x)]^2 - x^2 = b \quad (1)\]for all $x$. In particular, for $x = 0$, $a^2 = b$. Setting $y = 0$ in the given equation, we get \[f(f(x)) = (a - 1) f(x) + a \quad (2)\]for all $x$. Substituting $f(x)$ for $x$ in equation (1), we get \[[f(f(x))]^2 - [f(x)]^2 = b.\]But from equation (2), $[f(f(x))]^2 = [(a - 1) f(x) + a]^2 = (a^2 - 2a + 1) [f(x)]^2 + 2a(a - 1) f(x) + a^2$, so \[(a^2 - 2a) [f(x)]^2 + 2a(a - 1) f(x) = af(x) [(a - 2) f(x) + 2(a - 1)] = 0\]for all $x$. If $a \neq 0$, then \[f(x) [(a - 2) f(x) + 2(a - 1)] = 0\]for all $x$, so $f(x)$ attains at most two different values. But by equation (1), this cannot be the case. Hence, $a = 0$, then $b = 0$, so from equation (1), \[[f(x)]^2 = x^2,\]which means $f(x) = x$ or $f(x) = -x$ for all $x$. Let $x$ be a value such that $f(x) = x$. Then $f(f(x)) = f(x) = x$, so by equation (2), $x = -x$, or $x = 0$. Hence, the only value of $x$ such that $f(x) = x$ is $x = 0$. Therefore, $f(x) = -x$ for all $x$. It is easy to check that this solution works. Therefore, the sum of all possible values of $f(1)$ is $\boxed{-1}.$
human
If $y=\frac{12x^4+4x^3+9x^2+5x+3}{3x^4+2x^3+8x^2+3x+1}$, at what value of $y$ will there be a horizontal asymptote?
gpt
For a rational function, if the degree of the polynomial in the numerator is the same as the degree of the polynomial in the denominator, there is a horizontal asymptote at the $y$-value that equals the ratio of the leading coefficient of the numerator to the leading coefficient of the denominator. For this function the $y$-value must equal $\frac{12}{3}$, or $\boxed{4}$.
human
Suppose that $a$ and $b$ are positive integers such that $(a-bi)^2 = 8-6i$. What is $a-bi$?
gpt
We have $(a-bi)^2 = a^2 - 2abi + (bi)^2 = (a^2 - b^2) - 2abi = 8-6i$. Equating real and imaginary parts, we get $a^2 - b^2 = 8$ and $-2ab = -6$, or $ab = 3$. Since $a$ and $b$ are positive integers and $ab=3$, we know one of them is 3 and the other is 1. Since $a^2-b^2 = 8$, trial and error gives $a=3$, $b=1$. So $a-bi = \boxed{3 - i}$.
human
Find the four roots of \[2x^4 + x^3 - 6x^2 + x + 2 = 0.\]Enter the four roots (counting multiplicity), separated by commas.
gpt
Dividing the equation by $x^2,$ we get \[2x^2 + x - 6 + \frac{1}{x} + \frac{2}{x^2} = 0.\]Let $y = x + \frac{1}{x}.$ Then \[y^2 = x^2 + 2 + \frac{1}{x^2},\]so $x^2 + \frac{1}{x^2} = y^2 - 2.$ Thus, we can re-write the equation above as \[2(y^2 - 2) + y - 6 = 0.\]This simplifies to $2y^2 + y - 10 = 0.$ The roots are $y = 2$ and $y = -\frac{5}{2}.$ The roots of \[x + \frac{1}{x} = 2\]are 1 and 1. The roots of \[x + \frac{1}{x} = -\frac{5}{2}\]are $-2$ and $-\frac{1}{2}.$ Thus, the roots of $2x^4 + x^3 - 6x^2 + x + 2 = 0$ are $\boxed{1, 1, -2, -\frac{1}{2}}.$
human
Let $a,$ $b,$ and $c$ be distinct real numbers. Simplify the expression \[\frac{(x + a)^3}{(a - b)(a - c)} + \frac{(x + b)^3}{(b - a)(b - c)} + \frac{(x + c)^3}{(c - a)(c - b)}.\]
gpt
Let \[p(x) = \frac{(x + a)^3}{(a - b)(a - c)} + \frac{(x + b)^3}{(b - a)(b - c)} + \frac{(x + c)^3}{(c - a)(c - b)}.\]Then \begin{align*} p(-a) &= \frac{(-a + a)^3}{(a - b)(a - c)} + \frac{(-a + b)^3}{(b - a)(b - c)} + \frac{(-a + c)^3}{(c - a)(c - b)} \\ &= \frac{(b - a)^3}{(b - a)(b - c)} + \frac{(c - a)^3}{(c - a)(c - b)} \\ &= \frac{(b - a)^2}{b - c} + \frac{(c - a)^2}{c - b} \\ &= \frac{(b - a)^2 - (c - a)^2}{b - c} \\ &= \frac{[(b - a) + (c - a)][(b - a) - (c - a)]}{b - c} \\ &= \frac{(b + c - 2a)(b - c)}{b - c} \\ &= b + c - 2a \\ &= (a + b + c) + 3(-a) \end{align*}Similarly, \begin{align*} p(-b) &= a + c - 2b = (a + b + c) + 3(-b), \\ p(-c) &= a + b - 2c = (a + b + c) + 3(-c). \end{align*}Since $p(x) = a + b + c + 3x$ for three distinct values of $x,$ by the Identity Theorem, $p(x) = \boxed{a + b + c + 3x}$ for all $x.$
human
Let $f : \mathbb{R} \to \mathbb{R}$ be a function such that \[f(xf(y) + x) = xy + f(x)\]for all $x,$ $y.$ Let $n$ be the number of possible values of $f(2),$ and let $s$ be the sum of all possible values of $f(2).$ Find $n \times s.$
gpt
Setting $x = 1$ and $y = -1 - f(1),$ we get \[f(f(-1 - f(1)) + 1) = -1 - f(1) + f(1) = -1.\]Let $a = f(-1 - f(1)) + 1,$ so $f(a) = -1.$ Setting $y = a,$ we get \[f(0) = ax + f(x).\]Let $b = f(0),$ so $f(x) = -ax + b.$ Substituting into the given functional equation, we get \[-a(x(-ay + b) + x) + b = xy - ax + b.\]This expands as \[a^2 xy - (ab + a) x + b = xy - ax + b.\]For this to hold for all $x$ and $y,$ we must have $a^2 = 1,$ and $ab + a = a.$ From $a^2 = 1,$ $a = 1$ or $a = -1.$ For either value, $b = 0.$ Hence, the solutions are $f(x) = x$ and $f(x) = -x.$ Therefore, $n = 2$ and $s = 2 + (-2) = 0,$ so $n \times s = \boxed{0}.$
human
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.$
gpt
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*}
human
Let $F_1 = \left( -3, 1 - \frac{\sqrt{5}}{4} \right)$ and $F_ 2= \left( -3, 1 + \frac{\sqrt{5}}{4} \right).$ Then the set of points $P$ such that \[|PF_1 - PF_2| = 1\]form a hyperbola. The equation of this hyperbola can be written as \[\frac{(y - k)^2}{a^2} - \frac{(x - h)^2}{b^2} = 1,\]where $a, b > 0.$ Find $h + k + a + b.$
gpt
The center of the hyperbola is the midpoint of $\overline{F_1 F_2},$ which is $(-3,1).$ Thus, $h = -3$ and $k = 1.$ Also, $2a = 1,$ so $a = \frac{1}{2}.$ The distance between the foci is $2c = \frac{\sqrt{5}}{2},$ so $c = \frac{\sqrt{5}}{4}.$ Then $b^2 = c^2 - a^2 = \frac{5}{16} - \frac{1}{4} = \frac{1}{16},$ so $b = \frac{1}{4}.$ Hence, $h + k + a + b = (-3) + 1 + \frac{1}{2} + \frac{1}{4} = \boxed{-\frac{5}{4}}.$
human
Determine the value of \[2002 + \frac{1}{2} \left( 2001 + \frac{1}{2} \left( 2000 + \dots + \frac{1}{2} \left( 3 + \frac{1}{2} \cdot 2 \right) \right) \dotsb \right).\]
gpt
Let \begin{align*} S &= 2002 + \frac{1}{2} \left( 2001 + \frac{1}{2} \left( 2000 + \dots + \frac{1}{2} \left( 3 + \frac{1}{2} \cdot 2 \right) \right) \dotsb \right) \\ &= 2002 + \frac{2001}{2} + \frac{2000}{2^2} + \dots + \frac{3}{2^{1999}} + \frac{2}{2^{2000}}. \end{align*}Then \[2S = 2 \cdot 2002 + 2001 + \frac{2000}{2} + \dots + \frac{3}{2^{1998}} + \frac{2}{2^{1999}}.\]Subtracting these equations, we get \begin{align*} S &= 4004 - 1 - \frac{1}{2} - \frac{1}{2^2} - \dots - \frac{1}{2^{1999}} - \frac{2}{2^{2000}} \\ &= 4004 - 1 - \frac{1}{2} - \frac{1}{2^2} - \dots - \frac{1}{2^{1999}} - \frac{1}{2^{1999}} \\ &= 4004 - \frac{1}{2^{1999}} (2^{1999} + 2^{1998} + \dots + 2 + 1 + 1) \\ &= 4004 - \frac{1}{2^{1999}} \cdot 2^{2000} \\ &= 4004 - 2 = \boxed{4002}. \end{align*}
human
If $\log (xy^3)= 1$ and $\log (x^2y) = 1$, what is $\log (xy)$?
gpt
We have \[1 = \log(xy^{3}) = \log x + 3\log y \quad\text{and}\quad 1 = \log(x^{2}y) = 2\log x + \log y.\]Solving yields $\log x = \frac{2}{5}$ and $\log y = \frac{1}{5}$. Thus \[\log(xy) = \log x + \log y = \boxed{\frac{3}{5}}.\]