Which Solution Would You Feature? 12/17/2012

This post originally appeared on the Brilliant blog on 12/17/2012.

Below, we present a problem form the 12/10/2012 Algebra and Number Theory set, along with 3 student submitted solutions (none of them have been edited). In the comments section, please vote for the correct solution that you think should be featured, and state your reason for choosing the particular solution. For example "Solution C. Because it made sense." Think also if the solutions are correct, wrong, or missing steps.

All solutions have LaTeX edits to make the math appear properly. These exposition is presented as is, and have not been edited.

Note: I will not reveal who wrote which solution in this blog post. The chosen featured solution will (as always) be credited to the originator.

Problem: We are given that log102<0.302 \log_{10} 2 < 0.302. How many digits are there in the decimal representation of 5500 5^{500} ?

Solution A

Lemma: The number of digits in an integer x is ceiling(logx), where the base is 10.

Proof: We can find nn such that 10nx10(n+1) 10^n\leq x\leq 10^(n+1). 10n 10^n has a 11 followed by n zeros which makes it have n+1n+1 digits. 10(n+1) 10^(n+1) has a 1 followed by n+1 zeros which makes it have n+1n+1 digits. Take the log base 1010 of the inequality to get that: nlogxn+1 n \leq \log x\leq n+1. If the inequality is strict, then taking the log will give an integer in which case, just add one (as shown above). If the inequality is not strict, then the integer x will have the same number of digits as 10n 10^n. Taking the log will give a number between n and n+1, in which case you must take the ceiling of the number to get the desired n+1 digits. Going back to the problem, log5500=500log5=500(1log2)>500(1.302)=349 \log 5^{500}=500* \log 5= 500*(1-\log 2) > 500*(1-.302)=349. Since it is slightly bigger than 349349, the number contains 350350 digits._\square

Solution B

Let NN be 5500 5^{500} . logN=log5500=500log5=500(log102) \log N = \log 5^{500} = 500*\log 5 = 500 * (\log \frac {10} {2}) =500(log10log2)=500500log2>5000.302=349 = 500*(\log 10 - \log 2) = 500 - 500 * \log 2 > 500 * 0.302 = 349.Since 510=9765625<107 5^{10} = 9765625 < 10^7 , so log5500=log(510)50<log(107)50=log10350=350 \log 5^{500} = \log (5^{10})^{50} < \log (10^7)^{50} = \log 10^{350} = 350 , so 349<log5500<350 349 < \log 5^{500} < 350 , thus log5500 \log 5^{500} has 350350 digits.

Solution C

All logarithms are in base 1010. Let A=5500logA=500log5logA=5000.6989logA=349.45A=10349.45 A = 5^{500} \log A = 500 \log 5 \log A = 500*0.6989 \log A = 349.45 A = 10^{349.45}, i.e., 350350 digits._\square

Remarks from Calvin

Solution A establishes the lemma, which everyone used to approach this problem. This is something that is useful to know, and is used extremely often in computer science. However, the rest of the proof is incomplete, because he only establishes that log5500>349 \log 5^{500} > 349, which doesn't tell us anything about the integer part of log5500 \log 5^{500}. Had I given that log2<0.304 \log 2 < 0.304, he would have concluded that the answer is 348. A similar common mistake that is often made by students, is to show that A2 A \geq 2, and then conclude that the minimum value of A A must be 2 (and no other value).

Solution B by Jianzhi W. managed to establish both bounds. By using 510<107 5^{10} < 10^7, he showed that log5103 \log 5 10^3 so log2>0.3 \log 2 > 0.3 and so log5<0.7 \log 5 < 0.7. Both of these ways are equivalent, but (I feel) that most students (esp computer geeks) will know what 210 2^{10} is as opposed to 510 5^{10}. This is the ONLY correct solution out of all student submissions.

Solution C is incorrect, because it uses an unsubstantiated / unfounded 'fact'. There was another 'solution' which said "Google says that 5500 5^{500} has 350 digits". These do not constitute a proof, unless we are intimately familiar with the actual workings, and are confident that the error terms carried over do not exceed the degree of accuracy that we need.

Note by Calvin Lin
8 years ago

2 votes

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

×

Problem Loading...

Note Loading...

Set Loading...