Difference between revisions of "2018 AMC 10B Problems/Problem 20"
Line 101: | Line 101: | ||
==Solution 6== | ==Solution 6== | ||
− | <math>f(n)=f(n-1)-f(n-2)+n</math> | + | <math>f(n)=f(n-1)-f(n-2)+n</math><math>\newline</math> |
− | <math>f(n-1)=f(n-2)-f(n-3)+n-1</math> | + | <math>f(n-1)=f(n-2)-f(n-3)+n-1</math><math>\newline</math> |
− | Subtracting those two and rearranging gives <math>f(n)-2f(n-1)+2f(n-2)-f(n-3)=1</math> | + | Subtracting those two and rearranging gives <math>f(n)-2f(n-1)+2f(n-2)-f(n-3)=1</math><math>\newline</math> |
− | <math>f(n-1)-2f(n-2)+2f(n-3)-f(n-4)=1</math> | + | <math>f(n-1)-2f(n-2)+2f(n-3)-f(n-4)=1</math><math>\newline</math> |
− | Subtracting those two gives <math>f(n)-3f(n-1)+4f(n-2)-3f(n-3)+f(n-4)=0</math> | + | Subtracting those two gives <math>f(n)-3f(n-1)+4f(n-2)-3f(n-3)+f(n-4)=0</math><math>\newline</math> |
− | The characteristic polynomial is <math>x^4-3x^3+4x^2-3x+1=0</math> | + | The characteristic polynomial is <math>x^4-3x^3+4x^2-3x+1=0</math><math>\newline</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)(x^3-2x^2+2x-1)=0</math><math>\newline</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=1</math> is a root, so using synthetic division results in <math>(x-1)^2(x^2-x+1)=0</math><math>\newline</math> |
− | <math>x^2-x+1=0</math> has roots <math>x=\frac{1}{2}\pm\frac{i\sqrt{3}}{2}</math> | + | <math>x^2-x+1=0</math> has roots <math>x=\frac{1}{2}\pm\frac{i\sqrt{3}}{2}</math><math>\newline</math> |
− | And <math>f(n)=(An+D)*1^n+B*(\frac{1}{2}-\frac{i\sqrt{3}}{2})^n+C*(\frac{1}{2}+\frac{i\sqrt{3}}{2})^n</math> | + | And <math>f(n)=(An+D)*1^n+B*(\frac{1}{2}-\frac{i\sqrt{3}}{2})^n+C*(\frac{1}{2}+\frac{i\sqrt{3}}{2})^n</math><math>\newline</math> |
− | 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>3</math> linear equations | + | 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>3</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> | + | 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><math>\newline</math> |
− | So plugging in <math>n=2018</math> results in <math>2018+1+(\frac{1}{2}-\frac{i\sqrt{3}}{2})^{2019}+(\frac{1}{2}+\frac{i\sqrt{3}}{2})^{2019}=2019+(cos(-60)+sin(-60))^{2019})+(cos(60)+sin(60))^{2019})=2019+(cos(-60*2019)+sin(-60*2019))+(cos(60*2019)+sin(60*2019))=\boxed{2017}</math> | + | So plugging in <math>n=2018</math> results in <math>2018+1+(\frac{1}{2}-\frac{i\sqrt{3}}{2})^{2019}+(\frac{1}{2}+\frac{i\sqrt{3}}{2})^{2019}=2019+(cos(-60)+sin(-60))^{2019})+(cos(60)+sin(60))^{2019})=2019+(cos(-60*2019)+sin(-60*2019))+(cos(60*2019)+sin(60*2019))=\boxed{2017}</math><math>\newline</math> |
~ryanbear | ~ryanbear | ||
Revision as of 16:17, 23 July 2023
- 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
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 So plugging in results in ~ryanbear
Video Solution
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.