Difference between revisions of "2008 iTest Problems/Problem 84"
Mathsblogger (talk | contribs) (Focus on problem) |
Rockmanex3 (talk | contribs) (ACTUAL Solution to Problem 84) |
||
Line 1: | Line 1: | ||
− | + | ==Problem== | |
+ | |||
+ | Let <math>S</math> be the sum of all integers <math>b</math> for which the polynomial <math>x^2+bx+2008b</math> can be factored over the integers. Compute <math>|S|</math>. | ||
+ | |||
+ | ==Solutions== | ||
+ | |||
+ | ===Solution 1 (credit to official solution)=== | ||
+ | |||
+ | Let the roots of the quadratic be <math>r</math> and <math>s</math>. By [[Vieta's Formulas]], <math>r+s = -b</math> and <math>rs</math> = <math>2008b</math>. | ||
+ | |||
+ | <br> | ||
+ | We know that one of the possible values of <math>b</math> is 0 because <math>x^2</math> has integer roots. However, adding or removing 0 does not affect the value of <math>S</math>, so we can divide both sides by <math>-b</math>. Doing so results in | ||
+ | <cmath>\begin{align*} | ||
+ | \frac{rs}{r+s} &= -2008 \\ | ||
+ | rs &= -2008r - 2008s \\ | ||
+ | rs + 2008r + 2008s &= 0 \\ | ||
+ | (r+2008)(s+2008) &= 2008^2. | ||
+ | \end{align*}</cmath> | ||
+ | [[WLOG]], let <math>|a| \le 2008</math> be a factor of <math>2008^2</math>, so <math>r+2008 = a</math> and <math>s+2008 = \tfrac{2008^2}{a}</math>. Thus, | ||
+ | <cmath>-r-s = b = -a - \tfrac{2008^2}{a} + 4016.</cmath> | ||
+ | Since <math>a</math> can be positive or negative, the positive values cancel with the negative values. The prime factorization of <math>2008^2</math> is <math>2^6 \cdot 251^2</math>, so there are <math>\frac{21+2}{2} = 11</math> positive factors that are less than <math>2008</math>. Thus, there are a total of <math>22</math> values of <math>a</math>, so the absolute value of the sum of all values of <math>b</math> equals <math>4016 \cdot 22 = \boxed{88352}</math>. | ||
+ | |||
+ | ===Solution 2=== | ||
+ | |||
+ | The discriminant of the function is <math>b^2 - 8032b</math>. Since all roots are integers and leading term is 1, the discriminant must equal <math>n^2</math>, where <math>n</math> is an integer. | ||
+ | |||
+ | <br> | ||
+ | Thus, we know that | ||
+ | <cmath>\begin{align*} | ||
+ | b^2 - 8032b =& n^2 \\ | ||
+ | (b-4016)^2 - n^2 &= 4016^2 \\ | ||
+ | (b-4016+n)(b-4016-n) &= 4016^2. | ||
+ | \end{align*}</cmath> | ||
+ | Let <math>x</math> be a factor of <math>4016^2</math>, so | ||
+ | <cmath>\begin{align*} | ||
+ | b - 4016 + n &= x \\ | ||
+ | b - 4016 - n &= \frac{4016^2}{x} \\ | ||
+ | b &= 4016 + \frac{x}{2} + \frac{4016^2}{2x} | ||
+ | \end{align*}</cmath> | ||
+ | Note that if <math>x</math> is odd, then <math>\tfrac{4016^2}{x}</math> is even, so <math>b</math> can not be an integer. Thus, <math>x</math> must be even. Let <math>x = 2y</math>, so <math>b = 4016 + y + \frac{2008^2}{y}</math>. | ||
+ | |||
+ | <br> | ||
+ | If <math>y_0 = \frac{2008^2}{y}</math>, then <math>y + \tfrac{2008^2}{y} = y_0 + \tfrac{2008^2}{y_0}</math>. Also, since <math>y</math> can be positive or negative, the positive values cancel with the negative values. So [[WLOG]], let <math>|y| \le 2008</math>. | ||
+ | |||
+ | <br> | ||
+ | The prime factorization of <math>2008^2</math> is <math>2^6 \cdot 251^2</math>, so there are <math>\frac{21+2}{2} = 11</math> positive factors that are less than <math>2008</math>. Thus, there are a total of <math>22</math> values of <math>y</math>, so the absolute value of the sum of all values of <math>b</math> equals <math>4016 \cdot 22 = \boxed{88352}</math>. | ||
+ | |||
+ | ==See Also== | ||
+ | {{2008 iTest box|num-b=83|num-a=85}} | ||
+ | |||
+ | [[Category:Intermediate Algebra Problems]] | ||
+ | [[Category:Intermediate Number Theory Problems]] |
Latest revision as of 16:22, 22 May 2019
Contents
Problem
Let be the sum of all integers for which the polynomial can be factored over the integers. Compute .
Solutions
Solution 1 (credit to official solution)
Let the roots of the quadratic be and . By Vieta's Formulas, and = .
We know that one of the possible values of is 0 because has integer roots. However, adding or removing 0 does not affect the value of , so we can divide both sides by . Doing so results in
WLOG, let be a factor of , so and . Thus,
Since can be positive or negative, the positive values cancel with the negative values. The prime factorization of is , so there are positive factors that are less than . Thus, there are a total of values of , so the absolute value of the sum of all values of equals .
Solution 2
The discriminant of the function is . Since all roots are integers and leading term is 1, the discriminant must equal , where is an integer.
Thus, we know that
Let be a factor of , so
Note that if is odd, then is even, so can not be an integer. Thus, must be even. Let , so .
If , then . Also, since can be positive or negative, the positive values cancel with the negative values. So WLOG, let .
The prime factorization of is , so there are positive factors that are less than . Thus, there are a total of values of , so the absolute value of the sum of all values of equals .
See Also
2008 iTest (Problems) | ||
Preceded by: Problem 83 |
Followed by: Problem 85 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 • 26 • 27 • 28 • 29 • 30 • 31 • 32 • 33 • 34 • 35 • 36 • 37 • 38 • 39 • 40 • 41 • 42 • 43 • 44 • 45 • 46 • 47 • 48 • 49 • 50 • 51 • 52 • 53 • 54 • 55 • 56 • 57 • 58 • 59 • 60 • 61 • 62 • 63 • 64 • 65 • 66 • 67 • 68 • 69 • 70 • 71 • 72 • 73 • 74 • 75 • 76 • 77 • 78 • 79 • 80 • 81 • 82 • 83 • 84 • 85 • 86 • 87 • 88 • 89 • 90 • 91 • 92 • 93 • 94 • 95 • 96 • 97 • 98 • 99 • 100 |