from
stringclasses
2 values
value
stringlengths
16
6.77k
human
Let $\omega$ be a complex number such that $\omega^7 = 1$ and $\omega \ne 1.$ Compute \[\omega^{16} + \omega^{18} + \omega^{20} + \dots + \omega^{54}.\]
gpt
First, we can take out a factor of $\omega^{16}$: \[\omega^{16} + \omega^{18} + \omega^{20} + \dots + \omega^{54} = \omega^{16} (1 + \omega^2 + \omega^4 + \dots + \omega^{38}).\]By the formula for a geometric series, \[\omega^{16} (1 + \omega^2 + \omega^4 + \dots + \omega^{38}) = \omega^{16} \cdot \frac{1 - \omega^{40}}{1 - \omega^2}.\](Note that this expression is valid, because $\omega \neq 1$ and $\omega \neq -1.$) Since $\omega^7 = 1,$ \[\omega^{16} \cdot \frac{1 - \omega^{40}}{1 - \omega^2} = \omega^2 \cdot \frac{1 - \omega^5}{1 - \omega^2} = \frac{\omega^2 - \omega^7}{1 - \omega^2} = \frac{\omega^2 - 1}{1 - \omega^2} = \boxed{-1}.\]
human
The sequence $(a_n)$ satisfies \[a_1 + a_2 + a_3 + \dots + a_n = n^2 a_n\]for all $n \ge 2.$ If $a_{63} = 1,$ find $a_1.$
gpt
From $a_1 + a_2 + a_3 + \dots + a_n = n^2 a_n,$ \[(n^2 - 1) a_n = a_1 + a_2 + \dots + a_{n - 2} + a_{n - 1}.\]Likewise, \[((n - 1)^2 - 1) a_{n - 1} = a_1 + a_2 + \dots + a_{n - 2}.\]Subtracting these equations, we get \[(n^2 - 1) a_n - ((n - 1)^2 - 1) a_{n - 1} = a_{n - 1},\]so \[(n^2 - 1) a_n = (n - 1)^2 a_{n - 1}.\]Then $(n - 1)(n + 1) a_n = (n - 1)^2 a_{n - 1},$ so \[a_n = \frac{n - 1}{n + 1} \cdot a_{n - 1}\]for all $n \ge 2.$ Therefore, \begin{align*} a_n &= \frac{n - 1}{n + 1} \cdot a_{n - 1} \\ &= \frac{n - 1}{n + 1} \cdot \frac{n - 2}{n} \cdot a_{n - 2} \\ &= \frac{n - 1}{n + 1} \cdot \frac{n - 2}{n} \cdot \frac{n - 3}{n - 1} \cdot a_{n - 3} \\ &= \dotsb \\ &= \frac{n - 1}{n + 1} \cdot \frac{n - 2}{n} \cdot \frac{n - 3}{n - 1} \dotsb \frac{2}{4} \cdot \frac{1}{3} \cdot a_1 \\ &= \frac{2a_1}{n(n + 1)}. \end{align*}We are told that $a_{63} = 1,$ so \[\frac{2a_1}{63 \cdot 64} = 1.\]Thus, $a_1 = \boxed{2016}.$
human
Suppose that $f(x)$ and $g(x)$ are functions which satisfy $f(g(x)) = x^2$ and $g(f(x)) = x^3$ for all $x \ge 1.$ If $g(16) = 16,$ then compute $[g(4)]^3.$
gpt
Setting $x = 4$ in $f(g(x)) = x^2,$ we get \[f(g(4)) = 16.\]Then \[g(f(g(4)) = g(16) = 16.\]But $g(f(g(4)) = [g(4)]^3,$ so $[g(4)]^3 = \boxed{16}.$
human
Let $z$ be a nonreal complex number such that $|z| = 1.$ Find the real part of $\frac{1}{1 - z}.$
gpt
Let $z = x + yi,$ where $x$ and $y$ are real numbers. Then from the condition $|z| = 1,$ $\sqrt{x^2 + y^2} = 1,$ so $x^2 + y^2 = 1.$ Now, \begin{align*} \frac{1}{1 - z} &= \frac{1}{1 - x - yi} \\ &= \frac{1 - x + yi}{(1 - x - yi)(1 - x + yi)} \\ &= \frac{1 - x + yi}{(1 - x)^2 + y^2} \\ &= \frac{1 - x + yi}{1 - 2x + x^2 + y^2} \\ &= \frac{1 - x + yi}{2 - 2x}. \end{align*}The real part of this complex number is $\frac{1 - x}{2 - 2x} = \frac{1 - x}{2(1 - x)} = \boxed{\frac{1}{2}}.$
human
Compute $(1 + i)^4.$
gpt
We have that \[(1 + i)^2 = 1 + 2i + i^2 = 1 + 2i - 1 = 2i,\]so $(1 + i)^4 = (2i)^2 = 4i^2 = \boxed{-4}.$
human
The graph of the rational function $\frac{q(x)}{2x^5+x^4-7x^2+1}$ has a horizontal asymptote. What is the largest possible degree of $q(x)$?
gpt
For the given function to have a horizontal asymptote, it can't go to infinity as $x$ goes to infinity. This is only possible if the numerator has the same or smaller degree than the denominator. Since the denominator has degree 5, the largest possible degree of $q(x)$ that will allow the function to have a horizontal asymptote is $\boxed{5}.$ We note that 5 is in fact possible, because if we take $q(x) = x^5,$ then the rational function has horizontal asymptote $y = \frac 12.$
human
Find all the integer roots of \[x^3 - 3x^2 - 13x + 15 = 0.\]Enter all the integer roots, separated by commas.
gpt
By the Integer Root Theorem, the possible integer roots are all the divisors of 15 (including negative divisors), which are $-15,$ $-5,$ $-3,$ $-1,$ $1,$ $3,$ $5,$ and $15.$ Checking, we find that the only integer roots are $\boxed{-3,1,5}.$
human
The graph of $y = f(x)$ is shown below. [asy] unitsize(0.5 cm); real func(real x) { real y; if (x >= -3 && x <= 0) {y = -2 - x;} if (x >= 0 && x <= 2) {y = sqrt(4 - (x - 2)^2) - 2;} if (x >= 2 && x <= 3) {y = 2*(x - 2);} return(y); } int i, n; for (i = -5; i <= 5; ++i) { draw((i,-5)--(i,5),gray(0.7)); draw((-5,i)--(5,i),gray(0.7)); } draw((-5,0)--(5,0),Arrows(6)); draw((0,-5)--(0,5),Arrows(6)); label("$x$", (5,0), E); label("$y$", (0,5), N); draw(graph(func,-3,3),red); label("$y = f(x)$", (3,-2), UnFill); [/asy] Which is the graph of $y = f(x - 1)$? [asy] unitsize(0.5 cm); picture[] graf; int i, n; real func(real x) { real y; if (x >= -3 && x <= 0) {y = -2 - x;} if (x >= 0 && x <= 2) {y = sqrt(4 - (x - 2)^2) - 2;} if (x >= 2 && x <= 3) {y = 2*(x - 2);} return(y); } for (n = 1; n <= 5; ++n) { graf[n] = new picture; for (i = -5; i <= 5; ++i) { draw(graf[n],(i,-5)--(i,5),gray(0.7)); draw(graf[n],(-5,i)--(5,i),gray(0.7)); } draw(graf[n],(-5,0)--(5,0),Arrows(6)); draw(graf[n],(0,-5)--(0,5),Arrows(6)); label(graf[n],"$x$", (5,0), E); label(graf[n],"$y$", (0,5), N); } draw(graf[1],shift(0,1)*graph(func,-3,3),red); draw(graf[2],shift(-1,0)*graph(func,-3,3),red); draw(graf[3],reflect((1,0),(1,1))*graph(func,-3,3),red); draw(graf[4],shift(1,0)*graph(func,-3,3),red); draw(graf[5],shift(0,-1)*graph(func,-3,3),red); label(graf[1], "A", (0,-6)); label(graf[2], "B", (0,-6)); label(graf[3], "C", (0,-6)); label(graf[4], "D", (0,-6)); label(graf[5], "E", (0,-6)); add(graf[1]); add(shift((12,0))*(graf[2])); add(shift((24,0))*(graf[3])); add(shift((6,-12))*(graf[4])); add(shift((18,-12))*(graf[5])); [/asy] Enter the letter of the graph of $y = f(x - 1).$
gpt
The graph of $y = f(x - 1)$ is produced by taking the graph of $y = f(x)$ and shifting one unit to the right. The correct graph is $\boxed{\text{D}}.$
human
Let $a,$ $b,$ $c$ be real numbers such that $a + b + c = 0.$ Find the set of all possible values of $ab + ac + bc.$
gpt
Squaring the equation $a + b + c = 0,$ we get \[a^2 + b^2 + c^2 + 2(ab + ac + bc) = 0.\]Hence, $2(ab + ac + bc) = -(a^2 + b^2 + c^2) \le 0,$ so \[ab + ac + bc \le 0.\]Equality occurs when $a = b = c = 0.$ Now, set $c = 0,$ so $a + b = 0,$ or $b = -a.$ Then \[ab + ac + bc = ab = -a^2\]can take on all nonpositive values. Therefore, the set of all possible values of $ab + ac + bc$ is $\boxed{(-\infty,0]}.$
human
Let $x$ and $y$ be real numbers greater than 1 such that \[(\log_2 x)^4 + (\log_3 y)^4 + 8 = 8 (\log_2 x)(\log_3 y).\]Compute $x^{\sqrt{2}} + y^{\sqrt{2}}.$
gpt
Let $a = \log_2 x$ and $b = \log_3 y.$ Since $x > 1$ and $y > 1,$ $a > 0$ and $b > 0.$ By AM-GM, \begin{align*} a^4 + b^4 + 8 &= a^4 + b^4 + 4 + 4 \\ &\ge 4 \sqrt[4]{(a^4)(b^4)(4)(4)} \\ &= 8ab. \end{align*}Since $a^4 + b^4 + 8 = 8ab,$ we have equality. Therefore, $a^4 = 4$ and $b^4 = 4.$ Then $a = \sqrt[4]{4} = \sqrt{2},$ so \[x = 2^a = 2^{\sqrt{2}}.\]Similarly, $b = \sqrt[4]{4} = \sqrt{2},$ so \[y = 3^b = 3^{\sqrt{2}}.\]Hence, $x^{\sqrt{2}} + y^{\sqrt{2}} = 2^2 + 3^2 = \boxed{13}.$
human
Compute \[\frac{(10^4+324)(22^4+324)(34^4+324)(46^4+324)(58^4+324)}{(4^4+324)(16^4+324)(28^4+324)(40^4+324)(52^4+324)}.\]
gpt
Each of the terms is of the form $x^4 + 324$. To factor, we write: \[\begin{aligned} x^4 + 324 &= (x^4 + 36x^2 + 324) - 36x^2\\& = (x^2+18)^2 - 36x^2 \\& = (x^2-6x+18)(x^2+6x+18) \\ &= (x(x-6)+18)(x(x+6)+18). \end{aligned}\]Therefore, the given expression equals \[\frac{(10\cdot4+18)(10\cdot16+18)(22\cdot16+18)(22\cdot28+18) \dotsm (58\cdot52+18)(58\cdot64+18)}{(4\cdot(-2)+18)(4\cdot10+18)(16\cdot10+18)(16\cdot22+18) \dotsm (52\cdot46+18)(52\cdot58+18)}.\]Nearly all the terms cancel, leaving just \[\frac{58 \cdot 64 + 18}{4 \cdot (-2) + 18} = \boxed{373}.\]Remark. The factorization $x^4+324 = (x^2-6x+18)(x^2+6x+18)$ is a special case of the Sophie Germain identity, which is derived in the same way; it states that \[a^4 + 4b^4 = (a^2-2ab+2b^2)(a^2+2ab+2b^2).\]
human
Let $a$ and $b$ be real numbers. One of the roots of $x^3 + ax + b = 0$ is $1 + i \sqrt{3}.$ Find $a + b.$
gpt
Since the coefficients are real, another root is $1 - i \sqrt{3}.$ By Vieta's formulas, the sum of the roots is 0, so the third root is $-2.$ Hence, the cubic polynomial is \begin{align*} (x - 1 - i \sqrt{3})(x - 1 + i \sqrt{3})(x + 2) &= ((x - 1)^2 - (i \sqrt{3})^2)(x + 2) \\ &= ((x - 1)^2 + 3)(x + 2) \\ &= x^3 + 8. \end{align*}Thus, $a = 0$ and $b = 8,$ so $a + b = \boxed{8}.$
human
There exists a constant $c,$ so that among all chords $\overline{AB}$ of the parabola $y = x^2$ passing through $C = (0,c),$ \[t = \frac{1}{AC} + \frac{1}{BC}\]is a fixed constant. Find the constant $t.$ [asy] unitsize(1 cm); real parab (real x) { return(x^2); } pair A, B, C; A = (1.7,parab(1.7)); B = (-1,parab(-1)); C = extension(A,B,(0,0),(0,1)); draw(graph(parab,-2,2)); draw(A--B); draw((0,0)--(0,4)); dot("$A$", A, E); dot("$B$", B, SW); dot("$(0,c)$", C, NW); [/asy]
gpt
To get a handle on the constant $t,$ we can look at some particular cases. Suppose we let $AB$ approach a vertical line. Then $\frac{1}{AC}$ approaches 0, and $B$ approaches $(0,0),$ so $\frac{1}{AC} + \frac{1}{BC}$ approaches $c.$ Hence, \[t = \frac{1}{c}.\]Now, suppose we take $A = (\sqrt{c},c)$ and $B = (-\sqrt{c},c).$ Then \[t = \frac{1}{AC} + \frac{1}{BC} = \frac{1}{\sqrt{c}} + \frac{1}{\sqrt{c}} = \frac{2}{\sqrt{c}}.\]Hence, $\frac{1}{c} = \frac{2}{\sqrt{c}},$ so $\sqrt{c} = \frac{1}{2},$ and $c = \frac{1}{4}.$ Therefore, $t = \boxed{4}.$ (Note that this makes $C$ the focus of the parabola.) For a full solution, let's check that this value works. Let $y = mx + \frac{1}{4}$ be the equation of line $AB.$ Setting $y = x^2,$ we get \[x^2 = mx + \frac{1}{4},\]or $x^2 - mx - c = 0.$ Let $x_1$ and $x_2$ be the roots of this equation. By Vieta's formulas, $x_1 + x_2 = m$ and $x_1 x_2 = -\frac{1}{4}.$ Also, $A$ and $B$ are $(x_1,x_1^2)$ and $(x_2,x_2^2)$ in some order, so \begin{align*} \frac{1}{AC} + \frac{1}{BC} &= \frac{1}{\sqrt{x_1^2 + (x_1^2 - \frac{1}{4})^2}} + \frac{1}{\sqrt{x_2^2 + (x_2^2 - \frac{1}{4})^2}} \\ &= \frac{1}{\sqrt{x_1^2 + x_1^4 - \frac{1}{2} x_1^2 + \frac{1}{16}}} + \frac{1}{\sqrt{x_2^2 + x_2^4 - \frac{1}{2} x_2^2 + \frac{1}{16}}} \\ &= \frac{1}{\sqrt{x_1^4 + \frac{1}{2} x_1^2 + \frac{1}{16}}} + \frac{1}{\sqrt{x_2^4 + \frac{1}{2} x_2^2 + \frac{1}{16}}} \\ &= \frac{1}{\sqrt{(x_1^2 + \frac{1}{4})^2}} + \frac{1}{\sqrt{(x_2^2 + \frac{1}{4})^2}} \\ &= \frac{1}{x_1^2 + \frac{1}{4}} + \frac{1}{x_2^2 + \frac{1}{4}}. \end{align*}We have that $x_1^2 x_2^2 = (x_1 x_2)^2 = \left( -\frac{1}{4} \right)^2 = \frac{1}{16}$ and \[x_1^2 + x_2^2 = (x_1 + x_2)^2 - 2x_1 x_2 = m^2 + \frac{1}{2}.\]Hence, \begin{align*} \frac{1}{x_1^2 + \frac{1}{4}} + \frac{1}{x_2^2 + \frac{1}{4}} &= \frac{x_1^2 + \frac{1}{4} + x_2^2 + \frac{1}{4}}{(x_1^2 + \frac{1}{4})(x_2^2 + \frac{1}{4})} \\ &= \frac{x_1^2 + x_2^2 + \frac{1}{2}}{x_1^2 x_2^2 + \frac{1}{4} (x_1^2 + x_2^2) + \frac{1}{16}} \\ &= \frac{m^2 + 1}{\frac{1}{16} + \frac{1}{4} (m^2 + \frac{1}{2}) + \frac{1}{16}} \\ &= \frac{m^2 + 1}{\frac{1}{4} m^2 + \frac{1}{4}} \\ &= 4. \end{align*}
human
Let $x,$ $y,$ $z$ be positive real number such that $xyz = \frac{2}{3}.$ Compute the minimum value of \[x^2 + 6xy + 18y^2 + 12yz + 4z^2.\]
gpt
We may think of trying to apply AM-GM directly to all five terms. Ignoring the constants, this give us a term of \[\sqrt[5]{x^2 \cdot xy \cdot y^2 \cdot yz \cdot z^2} = \sqrt[5]{x^3 y^4 z^3}.\]This doesn't work, because the condition is $xyz = \frac{2}{3},$ so we want a power of $xyz.$ So, to get more one power of $y,$ relative to $x$ and $z,$ we split every term except $y^2$ in half: \[\frac{x^2}{2} + \frac{x^2}{2} + 3xy + 3xy + 18y^2 + 6yz + 6yz + 2z^2 + 2z^2.\]Then by AM-GM, \begin{align*} &\frac{x^2}{2} + \frac{x^2}{2} + 3xy + 3xy + 18y^2 + 6yz + 6yz + 2z^2 + 2z^2 \\ &\ge 9 \sqrt[9]{\frac{x^2}{2} \cdot \frac{x^2}{2} \cdot 3xy \cdot 3xy \cdot 18y^2 \cdot 6yz \cdot 6yz \cdot 2z^2 \cdot 2z^2} \\ &= 9 \sqrt[9]{5832x^6 y^6 z^6} \\ &= 18. \end{align*}Equality occurs when $\frac{x^2}{2} = 3xy = 18y^2 = 6yz = 2z^2.$ Along with the condition $xyz = \frac{2}{3},$ we can solve to get $x = 2,$ $y = \frac{1}{3},$ $z = 1,$ so the minimum value is $\boxed{18}.$
human
Let $z$ be a complex number such that \[z^2 + |z|^2 = 3 - 5i.\]Find $|z|^2.$
gpt
Let $z = a + bi,$ where $a$ and $b$ are real numbers. Then $z^2 = (a + bi)^2 = a^2 + 2abi - b^2$ and $|z|^2 = a^2 + b^2,$ so \[a^2 + 2abi - b^2 + a^2 + b^2 = 3 - 5i.\]Equating real and imaginary parts, we get \begin{align*} 2a^2 &= 3, \\ 2ab &= -5. \end{align*}From the first equation, $a^2 = \frac{3}{2}.$ From the second equation, \[b = -\frac{5}{2a},\]so \[b^2 = \frac{25}{4a^2} = \frac{25}{4 \cdot 3/2} = \frac{25}{6}.\]Therefore, \[|z|^2 = a^2 + b^2 = \frac{3}{2} + \frac{25}{6} = \boxed{\frac{17}{3}}.\]
human
How many integers $-11 \leq n \leq 11$ satisfy $(n-2)(n+4)(n + 8)<0$?
gpt
Since $(n-2)(n+4)(n+8)=0$ when $n=2, -4,$ or $-8$, we will consider the four cases $-11 \leq n < -8$, $-8<n<-4$, $-4<n<2$, and $2<n\leq 11$ separately. If $n=2$, $n=-4$, or $n=-8$, then all three factors are 0. If $n>2$, then all three factors are positive. If $-4<n<2$, then $n-2$ is negative, while the other two factors are positive, so the product is negative. If $-8<n<-4$, then $n+8$ is positive, while the other two factors are negative, so the product is positive. If $n<-8$, then all three factors are negative, so the product is negative. In total, there are $\boxed{8}$ solutions: $-11,-10,-9,-3,-2,-1,0,1$.
human
A circle passes through the point $(0,1),$ and is tangent to the parabola $y = x^2$ at $(2,4).$ Find the center of the circle. [asy] unitsize(0.4 cm); real parab (real x) { return(x^2); } draw(graph(parab,-3.5,3.5)); draw(Circle((-16/5,53/10),13*sqrt(17)/10)); dot((0,1)); dot("$(2,4)$", (2,4), E); [/asy]
gpt
First, consider the tangent line to the parabola at $(2,4).$ The equation of this tangent is of the form \[y - 4 = m(x - 2).\]Setting $y = x^2,$ we get $x^2 - 4 = m(x - 2),$ or $x^2 - mx + 2m - 4 = 0.$ Since we have a tangent, $x = 2$ is a double root of this quadratic. In other words, this quadratic is identical to $(x - 2)^2 = x^2 - 4x + 4.$ Hence, $m = 4.$ Let the center of the circle be $(a,b).$ The line joining the center $(a,b)$ and $(2,4)$ is the perpendicular to the tangent line, which means its slope is $-\frac{1}{4}.$ This gives us the equation \[\frac{b - 4}{a - 2} = -\frac{1}{4}.\]Since the points $(2,4)$ and $(0,1)$ are on the circle, they must be equidistant from its center. The set of all points equidistant from $(2,4)$ and $(0,1)$ is the perpendicular bisector of the line segment joining $(2,4)$ and $(0,1)$. Therefore, the center of the circle must lie on the perpendicular bisector of the line segment joining $(2,4)$ and $(0,1)$. The midpoint of this line segment is $\left( 1, \frac{5}{2} \right),$ and its slope is \[\frac{4 - 1}{2 - 0} = \frac{3}{2}.\]Hence, $(a,b)$ must satisfy \[\frac{b - 5/2}{a - 1} = -\frac{2}{3}.\]So, \begin{align*} b - 4 &= -\frac{1}{4} (a - 2), \\ b - \frac{5}{2} &= -\frac{2}{3} (a - 1). \end{align*}Solving this system, we find $(a,b) = \boxed{\left( -\frac{16}{5}, \frac{53}{10} \right)}.$
human
The graph of $y = ax^2 + bx + c$ has a maximum value of 54, and passes through the points $(-2,0)$ and $(4,0).$ Find $a + b + c.$
gpt
Since the graph passes through the points $(-2,0)$ and $(4,0),$ the equation is of the form $a(x + 2)(x - 4).$ The graph has a maximum, and this maximum value occurs at the average of $-2$ and 4, namely $x = \frac{-2 + 4}{2} = 1.$ But $a + b + c$ is exactly the value of $y = ax^2 + bx + c$ at $x = 1,$ so $a + b + c = \boxed{54}.$
human
The circles $C_1$ and $C_2$ are defined by the equations $x^2 + y^2 = 1$ and $(x - 2)^2 + y^2 = 16,$ respectively. Find the locus of the centers $(a,b)$ of all circles externally tangent to $C_1$ and internally tangent to $C_2.$ Enter your answer in the form \[Pa^2 + Qb^2 + Ra + Sb + T = 0,\]where all the coefficients are integers, $P$ is positive, and $\gcd(|P|,|Q|,|R|,|S|,|T|) = 1.$ Note: The word "locus" is a fancy word for "set" in geometry, so "the locus of the centers" means "the set of the centers".
gpt
Let $(a,b)$ be the center of a circle that is tangent to $C_1$ and $C_2,$ and let $r$ be the radius. [asy] unitsize(1 cm); pair A, B, O, P, Q; O = (0,0); P = (2,0); Q = (1,sqrt(21)/2); A = intersectionpoint(O--Q,Circle(Q,1.5)); B = intersectionpoint(Q--interp(P,Q,2),Circle(Q,1.5)); draw(Circle(O,1)); draw(Circle(P,4)); draw(Circle(Q,1.5)); draw(O--Q); draw(P--B); label("$r$", (Q + A)/2, NW); label("$r$", (Q + B)/2, SW); label("$1$", (O + A)/2, NW); label("$4 - r$", (P + Q)/2, NE, UnFill); label("$C_1$", dir(225), dir(225)); label("$C_2$", P + 4*dir(70), dir(70)); dot("$(0,0)$", O, S); dot("$(2,0)$", P, S); dot(A); dot(B); dot("$(a,b)$", Q, NE); [/asy] Then the square of the distance of the center of this circle from the center of $C_1$ is $a^2 + b^2 = (r + 1)^2$ and the square of the distance of the center of this circle from the center of $C_2$ is $(a - 2)^2 + b^2 = (4 - r)^2.$ Subtracting these equations, we get \[a^2 - (a - 2)^2 = (r + 1)^2 - (4 - r)^2.\]This simplifies to $4a - 4 = 10r - 15,$ so $r = \frac{4a + 11}{10}.$ Substituting into the equation $a^2 + b^2 = (r + 1)^2,$ we get \[a^2 + b^2 = \left( \frac{4a + 21}{10} \right)^2.\]This simplifies to $\boxed{84a^2 + 100b^2 - 168a - 441 = 0}.$
human
The polynomial $f(x) = x^3 + x^2 + 2x + 3$ has three distinct roots. Let $g(x) = x^3+bx^2+cx+d$ be a cubic polynomial with leading coefficient $1$ such that the roots of $g(x)$ are the squares of the roots of $f(x)$. Find the ordered triple $(b,c,d)$.
gpt
If $r$ is a root of $f(x) = 0$, then $r^3+r^2+2r+3=0$. Rearranging, we have \[r^3+2r=-r^2-3,\]and squaring this equation gives \[r^6+4r^4+4r^2=r^4+6r^2+9,\]or \[r^6+3r^4-2r^2-9=0.\]Rewriting this equation in the form $(r^2)^3 + 3(r^2)^2 - 2r^2 - 9 =0$, we see that the polynomial $x^3+3x^2-2x-9$ has $r^2$ as a root, so three of its roots are the squares of the roots of $f(x)$. But this polynomial is cubic, so these are its only roots. Thus, $g(x)=x^3+3x^2-2x-9$, and so $(b,c,d) = \boxed{(3,-2,-9)}$.
human
Find the minimum value of \[\frac{x^2}{y - 1} + \frac{y^2}{x - 1}\]for real numbers $x > 1$ and $y > 1.$
gpt
Let $a = x - 1$ and $b = y - 1.$ Then $x = a + 1$ and $y = b + 1,$ so \begin{align*} \frac{x^2}{y - 1} + \frac{y^2}{x - 1} &= \frac{(a + 1)^2}{b} + \frac{(b + 1)^2}{a} \\ &= \frac{a^2 + 2a + 1}{b} + \frac{b^2 + 2b + 1}{a} \\ &= 2 \left( \frac{a}{b} + \frac{b}{a} \right) + \frac{a^2}{b} + \frac{1}{b} + \frac{b^2}{a} + \frac{1}{a}. \end{align*}By AM-GM, \[\frac{a}{b} + \frac{b}{a} \ge 2 \sqrt{\frac{a}{b} \cdot \frac{b}{a}} = 2\]and \[\frac{a^2}{b} + \frac{1}{b} + \frac{b^2}{a} + \frac{1}{a} \ge 4 \sqrt[4]{\frac{a^2}{b} \cdot \frac{1}{b} \cdot \frac{b^2}{a} \cdot \frac{1}{a}} = 4,\]so \[2 \left( \frac{a}{b} + \frac{b}{a} \right) + \frac{a^2}{b} + \frac{1}{b} + \frac{b^2}{a} + \frac{1}{a} \ge 2 \cdot 2 + 4 = 8.\]Equality occurs when $a = b = 1,$ or $x = y = 2,$ so the minimum value is $\boxed{8}.$
human
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$?
gpt
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}.$
human
Let $a,$ $b,$ $c$ be the roots of the cubic polynomial $x^3 - x - 1 = 0.$ Find \[a(b - c)^2 + b(c - a)^2 + c(a - b)^2.\]
gpt
By Vieta's formulas, \begin{align*} a + b + c &= 0, \\ ab + ac + bc &= -1, \\ abc &= 1. \end{align*}Then \begin{align*} a(b - c)^2 + b(c - a)^2 + c(a - b)^2 &= a(b^2 - 2bc + c^2) + b(c^2 - 2ac + a^2) + c(a^2 - 2ab + b^2) \\ &= (ab^2 - 2abc + ac^2) + (bc^2 - 2abc + ba^2) + (ca^2 - 2abc + cb^2) \\ &= (ab^2 - 2 + ac^2) + (bc^2 - 2 + ba^2) + (ca^2 - 2 + cb^2) \\ &= ab^2 + ac^2 + bc^2 + ba^2 + ca^2 + cb^2 - 6 \\ &= a^2 (b + c) + b^2 (a + c) + c^2 (a + b) - 6. \end{align*}From $a + b + c = 0,$ $b + c = -a.$ Simillarly, $a + c = -b$ and $a + b = -c,$ so \[a^2 (b + c) + b^2 (a + c) + c^2 (a + b) - 6 = -a^3 - b^3 - c^3 - 6.\]Since $a$ is a root of $x^3 - x - 1 = 0,$ $a^3 - a - 1 = 0,$ so $-a^3 = -a - 1.$ Similarly, $-b^3 = -b - 1$ and $-c^3 = -c - 1,$ so \begin{align*} -a^3 - b^3 - c^3 - 6 &= (-a - 1) + (-b - 1) + (-c - 1) - 6 \\ &= -(a + b + c) - 9 \\ &= \boxed{-9}. \end{align*}
human
Is the function $f(x) = \lfloor x \rfloor + \frac{1}{2}$ even, odd, or neither? Enter "odd", "even", or "neither".
gpt
Since $f \left( \frac{1}{2} \right) = \left\lfloor \frac{1}{2} \right\rfloor + \frac{1}{2} = \frac{1}{2}$ and $f \left( -\frac{1}{2} \right) = \left\lfloor -\frac{1}{2} \right\rfloor + \frac{1}{2} = -\frac{1}{2},$ so if $f$ is either even or odd, it must be odd. But $f(0) = \lfloor 0 \rfloor + \frac{1}{2}.$ Every odd function $f(x)$ satisfies $f(0) = 0,$ so $f(x)$ is $\boxed{\text{neither}}.$
human
Determine the complex number $z$ satisfying the equation $2z-3\bar{z}=-2-30i$. Note that $\bar{z}$ denotes the conjugate of $z$.
gpt
Let $z=a+bi$, where $a$ and $b$ are real numbers representing the real and imaginary parts of $z$, respectively. Then $\bar{z}=a-bi$, so that $-3\bar{z}=-3a+3ib$. We now find that \[2z-3\bar{z} = (2a-3a) + (2b +3b)i. \]So if $2z-3\bar{z}=-2-30i$ then we must have $2a-3a=-2$ and $2b+3b=-30$. This immediately gives us $a=2$ and $b=-6$. Therefore the complex number we are seeking is $z=\boxed{2-6i}$.
human
Let $f(n)$ be the integer closest to $\sqrt[4]{n}.$ Find $\sum_{k=1}^{1995}\frac 1{f(k)}.$
gpt
We have $f(n) = m$ if and only if \[m - \frac{1}{2} < \sqrt[4]{n} < m + \frac{1}{2},\]or \[\left(m - \frac{1}{2}\right)^4 < n < \left(m + \frac{1}{2}\right)^4.\]Expanding the fourth powers, we get \[m^4 - 2m^3 + \frac{3}{2}m^2 - \frac{1}{2}m + \frac{1}{16} < n < m^4+ 2m^3 + \frac{3}{2}m^2 + \frac{1}{2}m + \frac{1}{16}.\]The leftmost and rightmost expressions are both non-integers, and their difference is $4m^3 + m$. Therefore, there are exactly $4m^3 + m$ values of $n$ that satisfy this inequality. For each $m$, there are $4m^3 + m$ terms of the form $\frac{1}{m}$ in the sum, so those terms contribute $(4m^3+m) \cdot \frac{1}{m} = 4m^2 + 1$ to the sum. Thus, from $m=1$ to $m=6$, we get $4(1+4+9+16+25+36) + 6 = 370$. The remaining terms have $m=7$. Since $6.5^4 = 1785 \frac{1}{16}$, these are the terms from $n=1786$ to $n=1995$, inclusive. There are $1995 - 1786 + 1 = 210$ such terms, so they contribute $210 \cdot \frac{1}{7} = 30$ to the sum. Therefore, the final answer is $370 + 30 = \boxed{400}$.
human
Let $f(x) = x^2-3x$. For what values of $x$ is $f(f(x)) = f(x)$? Enter all the solutions, separated by commas.
gpt
Expanding $f(f(x)) = f(x)$ gives us $$(x^2-3x)^2-3(x^2-3x)=x^2-3x.$$Rather than expanding, we can subtract $x^2-3x$ from both sides to get $$(x^2-3x)^2-4(x^2-3x)=0.$$Factoring out $x^2-3x$ gives $(x^2-3x)(x^2-3x-4)=0$. Factoring each quadratic separately, we get $$x(x-3)(x+1)(x-4)=0.$$Thus the values of $x$ are $\boxed{0, 3, -1, 4}$.
human
Let $A = (1,0),$ $B = (4,3),$ and $C = (p,q)$ be three points on the parabola $y = -x^2 + 6x - 5,$ where $1 \le p \le 4.$ Find the largest possible area of triangle $ABC.$
gpt
We have that $q = -p^2 + 6p - 5,$ so by the Shoelace Theorem, the area of triangle $ABC$ is \begin{align*} &\frac{1}{2} |(1)(3) + (4)(-p^2 + 6p - 5) + (p)(0) - (0)(4) - (3)(p) - (-p^2 + 6p - 5)(1)| \\ &= \frac{1}{2} |-3p^2 + 15p - 12| \\ &= \frac{3}{2} |p^2 - 5p + 4| \\ &= \frac{3}{2} |(p - 1)(p - 4)|. \end{align*}Since $1 \le p \le 4,$ $|(p - 1)(p - 4)| = (p - 1)(4 - p),$ so we want to maximize \[\frac{3}{2} (p - 1)(4 - p).\]The maximum value occurs at $p = \frac{5}{2},$ so the maximum area is \[\frac{3}{2} \left( \frac{5}{2} - 1 \right) \left( 4 - \frac{5}{2} \right) = \boxed{\frac{27}{8}}.\]
human
A polynomial with integer coefficients is of the form \[x^3 + a_2 x^2 + a_1 x - 11 = 0.\]Enter all the possible integer roots of this polynomial, separated by commas.
gpt
By the Integer Root Theorem, the possible integer roots are all the divisors of 11 (including negative divisors), so they are $\boxed{-11, -1, 1, 11}.$
human
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.
gpt
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}.$$
human
Let $a,$ $b,$ $c,$ $d,$ $e,$ $f$ be positive real numbers such that $a + b + c + d + e + f = 7.$ Find the minimum value of \[\frac{1}{a} + \frac{4}{b} + \frac{9}{c} + \frac{16}{d} + \frac{25}{e} + \frac{36}{f}.\]
gpt
By Cauchy-Schwarz, \[(a + b + c + d + e + f) \left( \frac{1}{a} + \frac{4}{b} + \frac{9}{c} + \frac{16}{d} + \frac{25}{e} + \frac{36}{f} \right) \ge (1 + 2 + 3 + 4 + 5 + 6)^2 = 441,\]so \[\frac{1}{a} + \frac{4}{b} + \frac{9}{c} + \frac{16}{d} + \frac{25}{e} + \frac{36}{f} \ge \frac{441}{7} = 63.\]Equality occurs when $a^2 = \frac{b^2}{4} = \frac{c^2}{9} = \frac{d^2}{16} = \frac{e^2}{25} = \frac{f^2}{36}$ and $a + b + c + d + e + f = 7.$ Solving, we find $a = \frac{1}{3},$ $b = \frac{2}{3},$ $c = 1,$ $d = \frac{4}{3},$ $e = \frac{5}{3},$ and $f = 2,$ so the minimum value is $\boxed{63}.$
human
Let $\omega$ be a nonreal root of $z^3 = 1.$ Let $a_1,$ $a_2,$ $\dots,$ $a_n$ be real numbers such that \[\frac{1}{a_1 + \omega} + \frac{1}{a_2 + \omega} + \dots + \frac{1}{a_n + \omega} = 2 + 5i.\]Compute \[\frac{2a_1 - 1}{a_1^2 - a_1 + 1} + \frac{2a_2 - 1}{a_2^2 - a_2 + 1} + \dots + \frac{2a_n - 1}{a_n^2 - a_n + 1}.\]
gpt
We have that $\omega^3 = 1.$ Then $\omega^3 - 1 = 0,$ which factors as $(\omega - 1)(\omega^2 + \omega + 1) = 0.$ Since $\omega$ is nonreal, $\omega^2 + \omega + 1 = 0.$ By the quadratic formula, \[\omega = -\frac{1}{2} \pm \frac{\sqrt{3}}{2} i.\]Taking the conjugate of the given equation, we get \[\frac{1}{a_1 + \overline{\omega}} + \frac{1}{a_2 + \overline{\omega}} + \dots + \frac{1}{a_n + \overline{\omega}} = 2 - 5i.\]Note that if $a$ is a real number, then \begin{align*} \frac{1}{a + \omega} + \frac{1}{a + \overline{\omega}} &= \frac{a + \omega + a + \overline{\omega}}{(a + \omega)(a + \overline{\omega})} \\ &= \frac{2a + \omega + \overline{\omega}}{a^2 + (\omega + \overline{\omega}) a + \omega \overline{\omega}} \\ &= \frac{2a - 1}{a^2 - a + 1}. \end{align*}Therefore, \begin{align*} \sum_{k = 1}^n \frac{2a_k - 1}{a_k^2 - a_k + 1} &= \sum_{k = 1}^n \left( \frac{1}{a_k + \omega} + \frac{1}{a_k + \overline{\omega}} \right) \\ &= 2 + 5i + 2 - 5i \\ &= \boxed{4}. \end{align*}
human
If $\left( r + \frac{1}{r} \right)^2 = 3,$ then find $r^3 + \frac{1}{r^3}.$
gpt
Expanding, we get $r^2 + 2 + \frac{1}{r^2} = 3,$ so \[r^2 - 1 + \frac{1}{r^2} = 0.\]Then \[r^3 + \frac{1}{r^3} = \left( r + \frac{1}{r} \right) \left( r^2 - 1 + \frac{1}{r^2} \right) = \boxed{0}.\]
human
Let $a$ and $b$ be real numbers such that \[a^3 - 15a^2 + 20a - 50 = 0 \quad \text{and} \quad 8b^3 - 60b^2 - 290b + 2575 = 0.\]Compute $a + b.$
gpt
Let $x = a - 5.$ Then $a = x + 5,$ so \[(x + 5)^3 - 15(x + 5)^2 + 20(x + 5) - 50 = 0,\]which simplifies to $x^3 - 55x - 200 = 0.$ Let $y = b - \frac{5}{2}.$ Then $b = y + \frac{5}{2},$ so \[8 \left( y + \frac{5}{2} \right)^3 - 60 \left( y + \frac{5}{2} \right)^2 - 290 \left( y + \frac{5}{2} \right) + 2575 = 0,\]which simplifies to $y^3 - 55y + 200 = 0.$ (Note that through these substitutions, we made the quadratic term vanish in each of these cubic equations.) Consider the function $f(t) = t^3 - 55t.$ Observe that the polynomial $f(t)$ has three roots 0, $\sqrt{55},$ and $-\sqrt{55}.$ Its graph is shown below. [asy] unitsize (0.2 cm); real cubic (real x) { return ((x^3 - 55*x)/12); } draw(graph(cubic,-8.5,8.5)); draw((-18,0)--(18,0)); draw((0,-18)--(0,18)); dot("$\sqrt{55}$", (sqrt(55),0), SE); dot("$-\sqrt{55}$", (-sqrt(55),0), SW); [/asy] Let $0 \le t \le \sqrt{55}.$ Then \[[f(t)]^2 = (t^3 - 55t)^2 = t^2 (t^2 - 55)^2 = t^2 (55 - t^2)^2 = t^2 (55 - t^2)(55 - t^2).\]By AM-GM, \[2t^2 (55 - t^2)(55 - t^2) \le \left( \frac{(2t^2) + (55 - t^2) + (55 - t^2)}{3} \right)^3 = \left( \frac{110}{3} \right)^3 < 40^3,\]so \[[f(t)]^2 < 32000 < 32400,\]which means $|f(t)| < 180.$ Since $f(t)$ is an odd function, $|f(t)| < 180$ for $-\sqrt{55} \le t \le 0$ as well. This means that the equation $f(t) = 200$ has exactly one real root. Similarly, $f(t) = -200$ has exactly one real root. Furthermore, since $f(t)$ is an odd function, these roots add up to 0. Then \[a - 5 + b - \frac{5}{2} = 0,\]so $a + b = 5 + \frac{5}{2} = \boxed{\frac{15}{2}}.$
human
The function $f$ is not defined for $x = 0,$ but for all non-zero real numbers $x,$ \[f(x) + 2f \left( \frac{1}{x} \right) = 3x.\]Find the real solutions to $f(x) = f(-x).$ Enter the real solutions, separated by commas.
gpt
We are given \[f(x) + 2f \left( \frac{1}{x} \right) = 3x.\]Replacing $x$ with $\frac{1}{x},$ we get \[f \left( \frac{1}{x} \right) + 2f(x) = \frac{3}{x}.\]We can view these equations as a system in $f(x)$ and $f \left( \frac{1}{x} \right).$ Solving for $f(x),$ we find \[f(x) = \frac{2 - x^2}{x}.\]Then the equation $f(x) = f(-x)$ becomes \[\frac{2 - x^2}{x} = \frac{2 - x^2}{-x}.\]Then $2 - x^2 = x^2 - 2,$ so $x^2 = 2.$ The solutions are $\boxed{\sqrt{2},-\sqrt{2}}.$
human
The three roots of the cubic $ 30 x^3 - 50x^2 + 22x - 1$ are distinct real numbers strictly between $ 0$ and $ 1$. If the roots are $p$, $q$, and $r$, what is the sum \[ \frac{1}{1-p} + \frac{1}{1-q} +\frac{1}{1-r} ?\]
gpt
Since $p,q, r$ are roots of $ 30 x^3 - 50x^2 + 22x - 1$, $ {1-p},{1-q}, {1-r} $ are roots of $ 30 (1-x)^3 - 50(1-x)^2 + 22(1-x) - 1$. If we consider only the constant terms in the expansion of the above polynomial, we find that the constant coefficient is $30 - 50 +22 -1 = 1$. Similarly, the linear coefficient of the above polynomial is $30(-3)+50(2)-22=-12$ Hence, $\frac{1}{1-p} , \frac{1}{1-q} ,\frac{1}{1-r} $ are the roots of a cubic in the reversed form $1x^3-12x^2+\dotsb$. Using Vieta's formula, \[\frac{1}{1-p} + \frac{1}{1-q} +\frac{1}{1-r} = - \frac{-12}{1} = \boxed{12}.\]
human
Find the product of the roots of the equation \[(2x^3 + x^2 - 8x + 20)(5x^3 - 25x^2 + 19) = 0.\]
gpt
The left-hand side, when multiplied out, is a polynomial of degree $6.$ By Vieta's formulas, the product of the roots is determined by its $x^6$ coefficient and its constant term. The $x^6$ coefficient is $2 \cdot 5 = 10$ and the constant term is $20 \cdot 19 = 380,$ so the product of the roots is $\tfrac{380}{10} = \boxed{38}.$
human
Find the roots of $6x^4+19x^3-51x^2+20x$. Enter your answer as a list of numbers separated by commas.
gpt
Since the polynomial has no constant term, we can immediately factor out an $x$ from every term $$x(6x^3+19x^2-51x+20),$$and our first root $x=0$. Let $g(x) = 6x^3+19x^2-51x+20$. Then the remaining roots of our original polynomial are the roots of $g(x)$. By trying out simple values, we can see that $g(0) = 20 > 0$ and $g(1) = 6+19-51+20 = -6<0$. Thus, there must be a root of $g(x)$ between $0$ and $1$. From the Rational Root Theorem, we know that if $g(p/q) = 0$ then $p$ must divide $20$ and $q$ must divide $6$. Checking rational numbers of the form $p/q$, where $p$ divides $20$ and $q$ divides $6$, and $p/q$ is between $0$ and $1$, we find that $$\begin{aligned} g\left(\frac{1}{2}\right) &= 6\cdot\frac{1}{8}+19\cdot\frac{1}{4}-51\cdot\frac{1}{2}+20 = 0. \end{aligned}$$This means that $2x - 1$ is a factor of $g(x).$ Dividing by $2x-1$ gives us $g(x) = (2x-1)(3x^2+11x-20)$. The quadratic $3x^2+11x-20$ factors as $(3x-4)(x+5),$ so our last two roots are $4/3$ and $-5$. Thus, the roots of $6x^4+19x^3-51x^2+20x$ are $\boxed{0, \frac{1}{2}, \frac{4}{3}, -5}$.
human
Let $x_1,$ $x_2,$ $x_3,$ $\dots,$ $x_{100}$ be positive real numbers such that $x_1^2 + x_2^2 + x_3^2 + \dots + x_{100}^2 = 1.$ Find the minimum value of \[\frac{x_1}{1 - x_1^2} + \frac{x_2}{1 - x_2^2} + \frac{x_3}{1 - x_3^2} + \dots + \frac{x_{100}}{1 - x_{100}^2}.\]
gpt
Note that $x_i < 1$ for all $i.$ We claim that \[\frac{x}{1 - x^2} \ge \frac{3 \sqrt{3}}{2} x^2\]for all $0 < x < 1.$ This is equivalent to $2x \ge 3 \sqrt{3} x^2 (1 - x^2) = 3x^2 \sqrt{3} - 3x^4 \sqrt{3},$ or \[3 \sqrt{3} x^4 - 3x^2 \sqrt{3} + 2x \ge 0.\]We can factor this as \[x (x \sqrt{3} - 1)^2 (x \sqrt{3} + 2) \ge 0,\]which clearly holds. Thus, \[\frac{x}{1 - x^2} \ge \frac{3 \sqrt{3}}{2} x^2.\]It follows that \[\frac{x_1}{1 - x_1^2} + \frac{x_2}{1 - x_2^2} + \frac{x_3}{1 - x_3^2} + \dots + \frac{x_{100}}{1 - x_{100}^2} \ge \frac{3 \sqrt{3}}{2} (x_1^2 + x_2^2 + x_3^2 + \dots + x_{100}^2) = \frac{3 \sqrt{3}}{2}.\]Equality occurs when $x_1 = x_2 = x_3 = \frac{1}{\sqrt{3}}$ and $x_4 = x_5 = \dots = x_{100} = 0,$ so the minimum value is $\boxed{\frac{3 \sqrt{3}}{2}}.$
human
What is the sum of the 2009 fractions of the form $\frac{2}{n(n+2)}$ if the values of $n$ are the positive integers from 1 through 2009? Express your answer as a decimal to the nearest thousandth.
gpt
We are asked to find \[ \frac{2}{1\cdot3}+\frac{2}{2\cdot4} +\frac{2}{3\cdot5} +\frac{2}{4\cdot6}+\cdots+\frac{2}{2009\cdot2011}. \] Observe that $\frac{2}{n(n+2)}$ may be written as $\frac{1}{n}-\frac{1}{n+2}$. Applying this identity, our sum becomes \[ \frac{1}{1}-\frac{1}{3}+\frac{1}{2}-\frac{1}{4} +\frac{1}{3}-\frac{1}{5} +\frac{1}{4}-\frac{1}{6}+\cdots+\frac{1}{2009}-\frac{1}{2011}. \] Every negative term cancels with the term three places to the right. The only terms which remain are \[ 1+\frac{1}{2}-\frac{1}{2010}-\frac{1}{2011}. \] To the nearest thousandth, the sum is $\boxed{1.499}$.
human
Let $x$ and $y$ be real numbers such that \[4x^2 + 8xy + 5y^2 = 1.\]Let $m$ and $M$ be the minimum and maximum values of $2x^2 + 3xy + 2y^2,$ respectively. Find the product $mM.$
gpt
Let $k = 2x^2 + 3xy + 2y^2.$ Then \[2x^2 + 3xy + 2y^2 = k = k(4x^2 + 8xy + 5y^2) = 4kx^2 + 8kxy + 5ky^2 = 0,\]so $(4k - 2) x^2 + (8k - 3) xy + (5k - 2) y^2 = 0.$ If $y = 0,$ then $4x^2 = 1,$ so \[2x^2 + 3xy + 2y^2 = \frac{1}{2}.\]Otherwise, we can divide both sides of $(4k - 2) x^2 + (8k - 3) xy + (5k - 2) y^2 = 0$ by $y^2,$ to get \[(4k - 2) \left( \frac{x}{y} \right)^2 + (8k - 3) \frac{x}{y} + (5k - 2) = 0.\]This is a quadratic in $\frac{x}{y},$ so and its discriminant must be nonnegative: \[(8k - 3)^2 - 4 (4k - 2)(5k - 2) \ge 0.\]This simplifies to $-16k^2 + 24k - 7 \ge 0,$ or $16k^2 - 24k + 7 \le 0.$ The roots of the quadratic $16k^2 - 24k + 7 = 0$ are $\frac{3 \pm \sqrt{2}}{4},$ so the solution to $16k^2 - 24k + 7 \le 0$ is \[\frac{3 - \sqrt{2}}{4} \le k \le \frac{3 + \sqrt{2}}{4}.\]For any value of $k$ in this interval, we can take $x = ky,$ then substitute into $4x^2 + 8xy + 5y^2 = 1,$ and obtain solutions in $x$ and $y.$ Thus, $m = \frac{3 - \sqrt{2}}{4}$ and $M = \frac{3 + \sqrt{2}}{4},$ so $mM = \boxed{\frac{7}{16}}.$
human
The graph of $y = f(x)$ is shown below. [asy] unitsize(0.5 cm); real func(real x) { real y; if (x >= -3 && x <= 0) {y = -2 - x;} if (x >= 0 && x <= 2) {y = sqrt(4 - (x - 2)^2) - 2;} if (x >= 2 && x <= 3) {y = 2*(x - 2);} return(y); } int i, n; for (i = -5; i <= 5; ++i) { draw((i,-5)--(i,5),gray(0.7)); draw((-5,i)--(5,i),gray(0.7)); } draw((-5,0)--(5,0),Arrows(6)); draw((0,-5)--(0,5),Arrows(6)); label("$x$", (5,0), E); label("$y$", (0,5), N); draw(graph(func,-3,3),red); label("$y = f(x)$", (3,-2), UnFill); [/asy] Which is the graph of $y = \frac{1}{2} f(x) + 3$? [asy] unitsize(0.5 cm); picture[] graf; int i, n; real func(real x) { real y; if (x >= -3 && x <= 0) {y = -2 - x;} if (x >= 0 && x <= 2) {y = sqrt(4 - (x - 2)^2) - 2;} if (x >= 2 && x <= 3) {y = 2*(x - 2);} return(y); } real funcc(real x) { return(1/2*func(x) + 3); } for (n = 1; n <= 5; ++n) { graf[n] = new picture; for (i = -5; i <= 5; ++i) { draw(graf[n],(i,-5)--(i,5),gray(0.7)); draw(graf[n],(-5,i)--(5,i),gray(0.7)); } draw(graf[n],(-5,0)--(5,0),Arrows(6)); draw(graf[n],(0,-5)--(0,5),Arrows(6)); label(graf[n],"$x$", (5,0), E); label(graf[n],"$y$", (0,5), N); } draw(graf[1],shift((0,3))*xscale(1/2)*graph(func,-3,3),red); draw(graf[2],shift((0,-2))*yscale(1/2)*graph(func,-3,3),red); draw(graf[3],graph(funcc,-3,3),red); draw(graf[4],yscale(1/2)*graph(func,-3,3),red); draw(graf[5],xscale(1/2)*graph(func,-3,3),red); label(graf[1], "A", (0,-6)); label(graf[2], "B", (0,-6)); label(graf[3], "C", (0,-6)); label(graf[4], "D", (0,-6)); label(graf[5], "E", (0,-6)); add(graf[1]); add(shift((12,0))*(graf[2])); add(shift((24,0))*(graf[3])); add(shift((6,-12))*(graf[4])); add(shift((18,-12))*(graf[5])); [/asy] Enter the letter of the graph of $y = \frac{1}{2} f(x) + 3.$
gpt
The graph of $y = \frac{1}{2} f(x)$ is produced by taking the graph of $y = f(x)$ and compressing it vertically by a factor of $\frac{1}{2}.$ We then get the graph of $y = \frac{1}{2} f(x) + 3$ by shifting upward by three units. The correct graph is $\boxed{\text{C}}.$
human
If $x+7$ is a factor of $cx^3 + 19x^2 - 3cx + 35$, find the constant $c$.
gpt
Though it is possible to solve this problem using polynomial long division, it is quicker to use the Factor Theorem. Let $f(x) = cx^3 + 19x^2 - 3cx + 35$. If $x+7$ is a factor of $f(x)$, the factor theorem tells us that $f(-7) = 0.$ Then \[c(-7)^3 + 19(-7)^2 - 3c(-7) + 35 = 0,\]which simplifies to $-322c + 966 = 0.$ We can solve for $c$ to get $c = \boxed{3}$.
human
Find the sum of all the solutions to $2^{|x|} + 3|x| = 18.$
gpt
If $x$ is a solution, then $-x$ is a also a solution. Thus, we can pair all the solutions, and their sum is $\boxed{0}.$ Let $f(x) = 2^{|x|} + 3|x|.$ Since $f(0) = 0$ and $f(4) = 28,$ the equation $f(x) = 18$ has at least one solution in the interval $0 \le x \le 4.$ This ensures that the sum that the problem asks for is not an "empty" sum.
human
A region $S$ in the complex plane is defined by \begin{align*} S = \{x + iy: - 1\le x\le1, - 1\le y\le1\}. \end{align*}A complex number $z = x + iy$ is chosen uniformly at random from $S$. What is the probability that $\left(\frac34 + \frac34i\right)z$ is also in $S$?
gpt
We can directly compute \[\left(\frac34 + \frac34i\right)z = \left(\frac34 + \frac34i\right)(x + iy) = \frac{3(x-y)}4 + \frac{3(x+y)}4 \cdot i.\]This number is in $S$ if and only if $-1 \leq \frac{3(x-y)}4 \leq 1$ and at the same time $-1 \leq \frac{3(x+y)}4 \leq 1$. This simplifies to $|x-y|\leq\frac 43$ and $|x+y|\leq\frac 43$. Let $T = \{ x + iy : |x-y|\leq\frac 43 \ \text{and} \ |x+y|\leq\frac 43 \}$, and let $[X]$ denote the area of the region $X$. Then, the probability we seek is $\frac {[S\cap T]}{[S]} = \frac{[S\cap T]}4$. All we need to do is to compute the area of the intersection of $S$ and $T$. It is easiest to do this graphically: [asy] unitsize(2cm); defaultpen(0.8); path s = (-1,-1) -- (-1,1) -- (1,1) -- (1,-1) -- cycle; path t = (4/3,0) -- (0,4/3) -- (-4/3,0) -- (0,-4/3) -- cycle; path s_cap_t = (1/3,1) -- (1,1/3) -- (1,-1/3) -- (1/3,-1) -- (-1/3,-1) -- (-1,-1/3) -- (-1,1/3) -- (-1/3,1) -- cycle; filldraw(s, lightred, black); filldraw(t, lightgreen, black); filldraw(s_cap_t, lightyellow, black); draw( (-5/3,0) -- (5/3,0), dashed ); draw( (0,-5/3) -- (0,5/3), dashed ); [/asy] Coordinate axes are dashed, $S$ is shown in red, $T$ in green and their intersection is yellow. The intersections of the boundary of $S$ and $T$ are obviously at $(\pm 1,\pm 1/3)$ and at $(\pm 1/3,\pm 1)$. Hence, each of the four red triangles is an isosceles right triangle with legs of length $\frac 23$, and the area of a single red triangle is $\frac 12 \cdot \left( \frac 23 \right)^2 = \frac 29$. Then, the area of all four is $\frac 89$, and therefore the area of $S\cap T$ is $4 - \frac 89$. Thus, the probability we seek is $\frac{ [S\cap T]}4 = \frac{ 4 - \frac 89 }4 = 1 - \frac 29 = \boxed{\frac 79}$.
human
Find the equation of the directrix of the parabola $y = \frac{x^2 - 6x + 5}{12}.$
gpt
Recall that a parabola is defined as the set of all points that are equidistant to the focus $F$ and the directrix. Completing the square on $x,$ we get \[y = \frac{1}{12} (x - 3)^2 - \frac{1}{3}.\]To make the algebra a bit easier, we can find the directrix of the parabola $y = \frac{1}{12} x^2,$ shift the parabola right by 3 units to get $y = \frac{1}{12} (x - 3)^2$ (which does not change the directrix), and then shift it downward $\frac{1}{3}$ units to find the directrix of the parabola $y = \frac{1}{12} (x - 3)^2 - \frac{1}{3}.$ Since the parabola $y = \frac{1}{12} x^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 $\left( x, \frac{1}{12} x^2 \right)$ be a point on the parabola $y = \frac{1}{12} x^2.$ Then \[PF^2 = x^2 + \left( \frac{1}{12} x^2 - f \right)^2\]and $PQ^2 = \left( \frac{1}{12} x^2 - d \right)^2.$ Thus, \[x^2 + \left( \frac{1}{12} x^2 - f \right)^2 = \left( \frac{1}{12} x^2 - d \right)^2.\]Expanding, we get \[x^2 + \frac{1}{144} x^4 - \frac{f}{6} x^2 + f^2 = \frac{1}{144} x^4 - \frac{d}{6} x^2 + d^2.\]Matching coefficients, we get \begin{align*} 1 - \frac{f}{6} &= -\frac{d}{6}, \\ f^2 &= d^2. \end{align*}From the first equation, $f - d = 6.$ Since $f^2 = d^2,$ $f = d$ or $f = -d.$ We cannot have $f = d,$ so $f = -d.$ Then $-2d = 6,$ so $d = -3.$ Thus, the equation of the directrix of $y = \frac{1}{12} x^2$ is $y = -3,$ so the equation of the directrix of $y = \frac{1}{12} (x - 3)^2 - \frac{1}{3}$ is $\boxed{y = -\frac{10}{3}}.$
human
Find the domain of the function $z(x) = \sqrt[3]{x - 1} + \sqrt[3]{8 - x}.$
gpt
Since we can take the cube root of any real number (positive or negative), $z(x) = \sqrt[3]{x - 1} + \sqrt[3]{8 - x}$ is defined for all real numbers $x.$ Thus, the domain of $z(x)$ is $\boxed{(-\infty,\infty)}.$
human
Let $a,$ $b,$ and $c$ be constants, and suppose that the inequality \[\frac{(x-a)(x-b)}{x-c} \le 0\]is true if and only if either $x < -4$ or $|x-25| \le 1.$ Given that $a < b,$ find the value of $a + 2b + 3c.$
gpt
We first unpack the statement $x < -4$ or $|x- 25 | \le 1.$ The inequality $|x-25| \le 1$ is equivalent to $-1 \le x-25 \le 1,$ which is in turn equivalent to $24 \le x \le 26.$ Therefore, we have either $x < -4$ or $24 \le x \le 26,$ so the solution set for $x$ is \[(-\infty, -4) \cup [24, 26].\]The sign of the expression $\frac{(x-a)(x-b)}{x-c}$ changes at $x = a,$ $x = b,$ and $x = c,$ which means that $a,$ $b,$ and $c$ must be the numbers $-4,$ $24,$ and $26,$ in some order. Furthermore, since $24$ and $26$ are endpoints of a closed interval (that is, they are included in the solution set), it must be the case that $a$ and $b$ are $24$ and $26$ in some order, because the inequality is true when $x=a$ or $x=b,$ but is not true when $x=c$ (since that would make the denominator zero). Since $a < b,$ we have $a = 24$ and $b = 26,$ and then $c = -4.$ In conclusion, the given inequality must be \[\frac{(x-24)(x-26)}{x+4} \le 0.\]To check that the solution to this inequality is $(-\infty, -4) \cup [24, 26],$ we can build a sign table, where $f(x)$ is the expression on the left-hand side: \begin{tabular}{c|ccc|c} &$x-24$ &$x-26$ &$x+4$ &$f(x)$ \\ \hline$x<-4$ &$-$&$-$&$-$&$-$\\ [.1cm]$-4<x<24$ &$-$&$-$&$+$&$+$\\ [.1cm]$24<x<26$ &$+$&$-$&$+$&$-$\\ [.1cm]$x>26$ &$+$&$+$&$+$&$+$\\ [.1cm]\end{tabular}This shows that $f(x) < 0$ when $x \in (-\infty, -4) \cup (24, 26),$ and since $f(x) = 0$ for $x \in \{24, 26\},$ we indeed have the solution set \[x \in (-\infty, -4) \cup [24, 26].\]Thus, $a+2b+3c=24+2(26) + 3(-4) = \boxed{64}.$
human
Let $f(x) = 4x^4+12x^3-9x^2+x+3$ and $d(x) = x^2+3x-2$. If $f(x) = q(x)d(x) + r(x)$ for some polynomials $q(x)$ and $r(x)$ where $\deg r < \deg d$, calculate $q(1)+r(-1)$.
gpt
\[ \begin{array}{c|cc ccc} \multicolumn{2}{r}{4x^2} & -1 \\ \cline{2-6} x^2+3x-2 & 4x^4 & +12x^3&-9x^2&+x&+3 \\ \multicolumn{2}{r}{-4x^4} & -12x^3&+8x^2 \\ \cline{2-4} \multicolumn{2}{r}{0} & 0 & -x^2 &+x & +3 \\ \multicolumn{2}{r}{} & & +x^2 &+3x&-2 \\ \cline{4-6} \multicolumn{2}{r}{} & & 0 & 4x &+1 \\ \end{array} \]Since $\deg d > \deg (4x+1)$ we cannot divide any further. So, $q(x) = 4x^2-1$ and $r(x)=4x+1$. Then $$q(1)+r(-1) = 4(1)^2+1+4(-1)-1=\boxed{0}.$$
human
The solution to the inequality \[y = -x^2 + ax + b \le 0\]is $(-\infty,-3] \cup [5,\infty).$ Find the vertex of the parabola $y = -x^2 + ax + b.$
gpt
The roots of the quadratic are $-3$ and 5, so \[y = -x^2 + ax + b = -(x + 3)(x - 5) = -x^2 + 2x + 15 = -(x - 1)^2 + 16.\]Thus, the vertex is $\boxed{(1,16)}.$