Difference between revisions of "2018 AMC 10B Problems/Problem 20"
MRENTHUSIASM (talk | contribs) m (→Solution 5 (Bash)) |
MRENTHUSIASM (talk | contribs) (→Solution 2 (Algebra): Explained where the 336 comes from.) |
||
(31 intermediate revisions by 9 users not shown) | |||
Line 24: | Line 24: | ||
&=f(2000)+18 \\ | &=f(2000)+18 \\ | ||
& \ \vdots \\ | & \ \vdots \\ | ||
+ | &=f(2018-6\cdot336)+6\cdot336 \\ | ||
&=f(2)+2016 \\ | &=f(2)+2016 \\ | ||
&=\boxed{\textbf{(B) } 2017}. | &=\boxed{\textbf{(B) } 2017}. | ||
Line 35: | Line 36: | ||
For all integers <math>n\geq7,</math> it follows that <cmath>f(n-3)+f(n-6)=2n-7. \hspace{32mm}(4)</cmath> | For all integers <math>n\geq7,</math> it follows that <cmath>f(n-3)+f(n-6)=2n-7. \hspace{32mm}(4)</cmath> | ||
For all integers <math>n\geq7,</math> we subtract <math>(4)</math> from <math>(3):</math> <cmath>f(n)-f(n-6)=6. \hspace{47.5mm}(5)</cmath> | For all integers <math>n\geq7,</math> we subtract <math>(4)</math> from <math>(3):</math> <cmath>f(n)-f(n-6)=6. \hspace{47.5mm}(5)</cmath> | ||
− | From <math>(5),</math> we have the following system of <math>336</math> equations: | + | From <math>(5),</math> we have the following system of <math>\frac{2018-8}{6}+1=336</math> equations: |
<cmath>\begin{align*} | <cmath>\begin{align*} | ||
f(2018)-f(2012)&=6, \\ | f(2018)-f(2012)&=6, \\ | ||
Line 65: | Line 66: | ||
~Professor-Mom | ~Professor-Mom | ||
− | ==Solution 4 ( | + | ==Solution 4 (Pattern)== |
Start out by listing some terms of the sequence. | Start out by listing some terms of the sequence. | ||
<cmath>\begin{align*} | <cmath>\begin{align*} | ||
Line 95: | Line 96: | ||
f(2018)&=\boxed{\textbf{(B) } 2017}. | f(2018)&=\boxed{\textbf{(B) } 2017}. | ||
\end{align*}</cmath> | \end{align*}</cmath> | ||
− | |||
− | ==Solution 5 ( | + | ==Solution 5 (Pattern)== |
Writing out the first few values, we get | Writing out the first few values, we get | ||
− | <cmath>1,1,3,6,8,8,7,7,9,12,14,14,13,13,15,18,20,20,19,19,\ldots.</cmath> We see that every number <math>x</math> where <math>x \equiv 1\pmod 6</math> has <math>f(x)=x,f(x+1)=f(x)=x,</math> and <math>f(x-1)=f(x-2)=x+1.</math> The greatest number that's <math>1\pmod{6}</math> and less <math>2018</math> is <math>2017,</math> so we have <math>f(2017)=f(2018)=\boxed{\textbf{(B) } 2017}.</math> | + | <cmath>1,1,3,6,8,8,7,7,9,12,14,14,13,13,15,18,20,20,19,19,\ldots.</cmath> We see that every number <math>x</math> where <math>x \equiv 1\pmod 6</math> has <math>f(x)=x,f(x+1)=f(x)=x,</math> and <math>f(x-1)=f(x-2)=x+1.</math> The greatest number that's <math>1\pmod{6}</math> and less than <math>2018</math> is <math>2017,</math> so we have <math>f(2017)=f(2018)=\boxed{\textbf{(B) } 2017}.</math> |
+ | |||
+ | ==Solution 6 (Complex Numbers)== | ||
+ | <cmath>\begin{align*} | ||
+ | f(n)&=f(n-1)-f(n-2)+n \\ | ||
+ | f(n-1)&=f(n-2)-f(n-3)+n-1 | ||
+ | \end{align*}</cmath> | ||
+ | Subtracting those two and rearranging gives | ||
+ | <cmath>\begin{align*} | ||
+ | f(n)-2f(n-1)+2f(n-2)-f(n-3)&=1 \\ | ||
+ | f(n-1)-2f(n-2)+2f(n-3)-f(n-4)&=1 | ||
+ | \end{align*}</cmath> | ||
+ | Subtracting those two gives <math>f(n)-3f(n-1)+4f(n-2)-3f(n-3)+f(n-4)=0.</math> | ||
+ | |||
+ | The characteristic polynomial is <math>x^4-3x^3+4x^2-3x+1=0.</math> | ||
+ | |||
+ | <math>x=1</math> is a root, so using synthetic division results in <math>(x-1)(x^3-2x^2+2x-1)=0.</math> | ||
+ | |||
+ | <math>x=1</math> is a root, so using synthetic division results in <math>(x-1)^2(x^2-x+1)=0.</math> | ||
+ | |||
+ | <math>x^2-x+1=0</math> has roots <math>x=\frac{1}{2}\pm\frac{i\sqrt{3}}{2}.</math> | ||
+ | |||
+ | And <cmath>f(n)=(An+D)\cdot1^n+B\cdot\left(\frac{1}{2}-\frac{i\sqrt{3}}{2}\right)^n+C\cdot\left(\frac{1}{2}+\frac{i\sqrt{3}}{2}\right)^n.</cmath> | ||
+ | Plugging in <math>n=1</math>, <math>n=2</math>, <math>n=3</math>, and <math>n=4</math> results in a system of <math>4</math> linear equations<math>\newline</math> | ||
+ | Solving them gives <math>A=1, \ B=\frac{1}{2}-\frac{i\sqrt{3}}{2}, \ C=\frac{1}{2}+\frac{i\sqrt{3}}{2}, \ D=1.</math> Note that you can guess <math>A=1</math> by answer choices. | ||
+ | |||
+ | So plugging in <math>n=2018</math> results in | ||
+ | <cmath>\begin{align*} | ||
+ | 2018+1+\left(\frac{1}{2}-\frac{i\sqrt{3}}{2}\right)^{2019}+\left(\frac{1}{2}+\frac{i\sqrt{3}}{2}\right)^{2019}&=2019+(\cos(-60^{\circ})+\sin(-60^{\circ}))^{2019})+(\cos(60^{\circ})+\sin(60^{\circ}))^{2019}) \\ | ||
+ | &=2019+(\cos(-60^{\circ}\cdot2019)+\sin(-60^{\circ}\cdot2019))+(\cos(60^{\circ}\cdot2019)+sin(60^{\circ}\cdot2019)) \\ | ||
+ | &=\boxed{\textbf{(B) } 2017}. | ||
+ | \end{align*}</cmath> | ||
+ | ~ryanbear | ||
+ | |||
+ | ==Solution 7== | ||
+ | We utilize patterns to solve this equation: | ||
+ | <cmath>\begin{align*} | ||
+ | f(3)&=3, \\ | ||
+ | f(4)&=6, \\ | ||
+ | f(5)&=8, \\ | ||
+ | f(6)&=8, \\ | ||
+ | f(7)&=7, \\ | ||
+ | f(8)&=8. | ||
+ | \end{align*}</cmath> | ||
+ | We realize that the pattern repeats itself. For every six terms, there will be four terms that we repeat, and two terms that we don't repeat. We will exclude the first two for now, because they don't follow this pattern. | ||
+ | |||
+ | First, we need to know whether or not <math>2016</math> is part of the skip or repeat. We notice that <math>f(6),f(12), \ldots,f(6n)</math> all satisfy <math>6+6(n-1)=n,</math> and we know that <math>2016</math> satisfies this, leaving <math>n=336.</math> Therefore, we know that <math>2016</math> is part of the repeat section. But what number does it repeat? | ||
+ | |||
+ | We know that the repeat period is <math>2,</math> and it follows that pattern of <math>1,1,8,8,7,7.</math> Again, since <math>f(6) = f(5)</math> and so on for the repeat section, <math>f(2016)=f(2015),</math> so we don't need to worry about which one, since it repeats with period <math>2.</math> We see that the repeat pattern of <math>f(6),f(12),\ldots,f(6n)</math> follows <math>8,14,20,</math> it is an arithmetic sequence with common difference <math>6.</math> Therefore, <math>2016</math> is the <math>335</math>th term of this, but including <math>1,</math> it is <math>336\cdot6+1=\boxed{\textbf{(B) } 2017}.</math> | ||
+ | |||
+ | ~CharmaineMa07292010 | ||
+ | |||
+ | ==Solution 8== | ||
+ | |||
+ | We list out the first <math>13</math> terms and their differences: | ||
+ | |||
+ | [[File:2018_10b_S8.png|500px|center|Caption for the image]] | ||
+ | |||
+ | We see the differences are clearly repeating every <math>6</math> terms here; we see that <math>2018\equiv2\pmod6</math>. We see that the values for <math>2</math> and <math>8</math> are both one less, so we conclude our answer is <math>2018-1=\boxed{\textbf{(B)}~2017}.</math> | ||
+ | |||
+ | ~Technodoggo | ||
==Video Solution== | ==Video Solution== | ||
+ | |||
+ | https://www.youtube.com/watch?v=L0BnK6QhNFA | ||
+ | |||
+ | ~Coach J | ||
https://www.youtube.com/watch?v=aubDsjVFFTc | https://www.youtube.com/watch?v=aubDsjVFFTc |
Latest revision as of 04:44, 3 November 2024
- The following problem is from both the 2018 AMC 12B #18 and 2018 AMC 10B #20, so both problems redirect to this page.
Contents
Problem
A function is defined recursively by and for all integers . What is ?
Solution 1 (Algebra)
For all integers note that It follows that ~MRENTHUSIASM
Solution 2 (Algebra)
For all integers we rearrange the given equation: For all integers it follows that For all integers we add and For all integers it follows that For all integers we subtract from From we have the following system of equations: We add these equations up to get from which
~AopsUser101 ~MRENTHUSIASM
Solution 3 (Finite Differences)
Preamble: In this solution, we define the sequence to satisfy where represents the th term of the sequence This solution will show a few different perspectives. Even though it may not be as quick as some of the solutions above, I feel like it is an interesting concept, and may be more motivated.
To begin, we consider the sequence formed when we take the difference of consecutive terms between Define Notice that for we have
Notice that subtracting the second equation from the first, we see that
If you didn’t notice that repeated directly in the solution above, you could also, possibly more naturally, take the finite differences of the sequence so that you could define Using a similar method as above through reindexing and then subtracting, you could find that The sum of any six consecutive terms of a sequence which satisfies such a recursion is in which you have that In the case in which finite differences didn’t reduce to such a special recursion, you could still find the first few terms of to see if there are any patterns, now that you have a much simpler sequence. Doing so in this case, it can also be seen by seeing that the sequence looks like in which the same result follows.
Using the fact that repeats every six terms, this motivates us to look at the sequence more carefully. Doing so, we see that looks like (If you tried pattern finding on sequence directly, you could also arrive at this result, although I figured defining a second sequence based on finite differences was more motivated.)
Now, there are two ways to finish.
Finish Method #1: Notice that any six consecutive terms of sum to after which we see that Therefore,
Finish Method #2: Notice that
~Professor-Mom
Solution 4 (Pattern)
Start out by listing some terms of the sequence. Notice that whenever is an odd multiple of , and the pattern of numbers that follow will always be , , , , , . The largest odd multiple of smaller than is , so we have
Solution 5 (Pattern)
Writing out the first few values, we get We see that every number where has and The greatest number that's and less than is so we have
Solution 6 (Complex Numbers)
Subtracting those two and rearranging gives Subtracting those two gives
The characteristic polynomial is
is a root, so using synthetic division results in
is a root, so using synthetic division results in
has roots
And Plugging in , , , and results in a system of linear equations Solving them gives Note that you can guess by answer choices.
So plugging in results in ~ryanbear
Solution 7
We utilize patterns to solve this equation: We realize that the pattern repeats itself. For every six terms, there will be four terms that we repeat, and two terms that we don't repeat. We will exclude the first two for now, because they don't follow this pattern.
First, we need to know whether or not is part of the skip or repeat. We notice that all satisfy and we know that satisfies this, leaving Therefore, we know that is part of the repeat section. But what number does it repeat?
We know that the repeat period is and it follows that pattern of Again, since and so on for the repeat section, so we don't need to worry about which one, since it repeats with period We see that the repeat pattern of follows it is an arithmetic sequence with common difference Therefore, is the th term of this, but including it is
~CharmaineMa07292010
Solution 8
We list out the first terms and their differences:
We see the differences are clearly repeating every terms here; we see that . We see that the values for and are both one less, so we conclude our answer is
~Technodoggo
Video Solution
https://www.youtube.com/watch?v=L0BnK6QhNFA
~Coach J
https://www.youtube.com/watch?v=aubDsjVFFTc
~bunny1
~savannahsolver
See Also
2018 AMC 10B (Problems • Answer Key • Resources) | ||
Preceded by Problem 19 |
Followed by Problem 21 | |
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 | ||
All AMC 10 Problems and Solutions |
2018 AMC 12B (Problems • Answer Key • Resources) | |
Preceded by Problem 17 |
Followed by Problem 19 |
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 | |
All AMC 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.