Difference between revisions of "2017 AIME II Problems/Problem 7"
(fixed \LaTeX) |
The turtle (talk | contribs) |
||
Line 2: | Line 2: | ||
Find the number of integer values of <math>k</math> in the closed interval <math>[-500,500]</math> for which the equation <math>\log(kx)=2\log(x+2)</math> has exactly one real solution. | Find the number of integer values of <math>k</math> in the closed interval <math>[-500,500]</math> for which the equation <math>\log(kx)=2\log(x+2)</math> has exactly one real solution. | ||
− | ==Solution== | + | ==Solution 1== |
+ | <math>\textbf{Problem 7 Solution}</math> | ||
+ | <asy> | ||
+ | Label f; | ||
+ | f.p=fontsize(5); | ||
+ | xaxis(-3,3,Ticks(f,1.0)); | ||
+ | yaxis(-3,26,Ticks(f,1.0)); | ||
+ | real f(real x){return (x+2)^2;} | ||
+ | real g(real x){return x*-1;} | ||
+ | real h(real x){return x*-2;} | ||
+ | real i(real x){return x*-3;} | ||
+ | real j(real x){return x*8;} | ||
+ | draw(graph(f,-2,3),green); | ||
+ | draw(graph(g,-2,2),red); | ||
+ | draw(graph(h,-2,1),red); | ||
+ | draw(graph(i,-2,1/3),red); | ||
+ | draw(graph(j,-0.25,3),red); | ||
+ | </asy> | ||
+ | Note the equation <math>\log(kx)=2\log(x+2)</math> is valid for <math>kx>0</math> and <math>x>-2</math>. <math>\log(kx)=2\log(x+2)=\log((x+2)^2)</math>. The equation <math>kx=(x+2)^2</math> is derived by taking away the outside logs from the previous equation. Because <math>(x+2)^2</math> is always non-negative, <math>kx</math> must also be non-negative; therefore this takes care of the <math>kx>0</math> condition as long as <math>k\neq0</math>, i.e. <math>k</math> cannot be <math>0</math>. Now, we graph both <math>(x+2)^2</math> (the green graph) and <math>kx</math> (the red graph for <math>k=-1,k=-2,k=-3,k=8</math>) for <math>x>-2</math>. It is easy to see that all negative values of <math>k</math> make the equation <math>\log(kx)=2\log(x+2)</math> have only one solution. However, there is also one positive value of <math>k</math> that makes the equation only have one solution, as shown by the steepest line in the diagram. We can show that the slope of this line is a positive integer by setting the discriminant of the equation <math>(x+2)^2=kx</math> to be <math>0</math> and solving for <math>k</math>. Therefore, there are <math>500</math> negative solutions and <math>1</math> positive solution, for a total of <math>\boxed{501}</math>. | ||
+ | |||
+ | ==Solution 2== | ||
<math>kx=(x+2)^2</math> | <math>kx=(x+2)^2</math> | ||
<math>x^2+(4-k)x+4=0 ...(1)</math> | <math>x^2+(4-k)x+4=0 ...(1)</math> |
Revision as of 16:11, 23 March 2017
Contents
Problem
Find the number of integer values of in the closed interval for which the equation has exactly one real solution.
Solution 1
Note the equation is valid for and . . The equation is derived by taking away the outside logs from the previous equation. Because is always non-negative, must also be non-negative; therefore this takes care of the condition as long as , i.e. cannot be . Now, we graph both (the green graph) and (the red graph for ) for . It is easy to see that all negative values of make the equation have only one solution. However, there is also one positive value of that makes the equation only have one solution, as shown by the steepest line in the diagram. We can show that the slope of this line is a positive integer by setting the discriminant of the equation to be and solving for . Therefore, there are negative solutions and positive solution, for a total of .
Solution 2
the equation has solution so
so or because k can't be zero or the original equation will be meaningless. there are 3 cases
1: then , which is satisified the question.
2: then one solution of the equation(1) should be in and another is out of it or the origin equation will be meanless. then we get 2 inequalities
notice and we know in this case, there is always and only one solution for the orign equation.
3: similar to case2 we can get inequality and there are always 2 solution for the origin equation, so this case is not satisfied.
so we get or
because k belong to , the answer is
See Also
2017 AIME II (Problems • Answer Key • Resources) | ||
Preceded by Problem 6 |
Followed by Problem 8 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.