[Calvin] Which solution will you feature (7)?

Previous Discussion

Below, we present a problem from the 1/28 Algebra and Number Theory set, along with 3 student submitted solution. You may vote up for the solutions that you think should be featured, and should vote down for those solutions that you think are wrong (voting is anonymous!). Also, feel free to make remarks about these solutions, especially since threading of comments has been introduced :).

Minimum Digit Sum Fraction Let S(N)S(N) denote the digit sum of the integer NN. As NN ranges over all 3-digit positive numbers, what value of NN would give the minimum of M=NS(N)M = \frac{N}{S(N)}?

You may try the problem by clicking on the above link.

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

Remarks from Calvin \mbox{Remarks from Calvin}

Solution A - This has been edited to "Edited Solution A". Please note that the phrase "AA is more dominant on the numerator than on the denominator" has been removed, is it's not a valid reasoning for why we want to minimize A. This logic is flawed, in part since we want to ended up maximizing B, which is also 'more dominant on the numerator'. This was used in several solutions, which were marked wrong.

Edited Solution A - This is much clearer about how to proceed. The main idea being that in dealing with a rational function, it's easier to minimize / maximize it when the variable only appears in the numerator or denominator. There are several ways that work, and we simply used long division. There are several ways we could have proceeded. A slightly more straightforward way, is to repeat the same analysis with AA to obtain M=100A+10B+CA+B+C=10090A+99CA+B+C M = \frac {100A + 10 B + C}{A+B+C} = 100 - \frac {90A + 99C}{A+B+C}, where it's obvious that we would want A=1A=1. Working with BB is slightly trickier, M=100A+10B+CA+B+C=10+90A9CA+B+C M = \frac {100A + 10 B + C}{A+B+C} = 10 + \frac {90A - 9C}{A+B+C}, the numerator is always positive since A1A\geq 1, hence we want to maximize BB. [For those who have learnt calculus, this is essentially partial differentiation.]

Solution B - This solution makes no sense at all. I am unable to find any information on the 'batting average lemma', though I can guess what it should mean. However, the way it is stated, it's quite clearly false, like the counter example 9920012 \frac {99}{200} \leq \frac {1} {2} but 2993>12 \frac {299}{3} > \frac {1}{2} . I am guessing that he intended it to be aba+cb+dcd \frac {a}{b} \leq \frac {a+c}{b+d} \leq \frac {c}{d} , which is true for b,d>0b, d > 0. If you want to state a theorem, make sure that the statement is correct, and that the proper conditions are given.

Solution C - This was the most common error made, arguing that the numerator must be minimum (which occurs when N=100N=100) and that the denominator must be maximum (which occurs when N=999N=999). This statement is false, as the is great dependence between the numerator and denominator. The rest of the solution devolves into case checking. It is far better to have simply done a solution through case checking, and being thorough in explaining "the pattern ... increase the numerator by 10, the fraction keeps decreasing", which can be shown using Edited Solution A.

#FeaturedSolutions

Note by Calvin Lin
8 years, 4 months ago

No vote yet
9 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

Solution A - This is a 3-digit number, so we can call the digits A B C, where A0 A \ne 0 . This means: N=100A+10B+C N = 100A + 10B + C and S=A+B+C S = A + B + C . So, by the definition of M M , we have: M=100A+10B+CA+B+C M = \frac {100A + 10B + C}{A + B + C} Remark that this can be re-written as M=99A+9BA+B+C+1 M = \frac {99A + 9B}{A + B + C} + 1 We want to minimize this, so we want C=9 C = 9 . Substituting this into the equation above, we obtain: M=99A+9BA+B+9+1=(90A81)(9A+9B+81)A+B+9+1 M = \frac {99A + 9B}{A+B+9} + 1 = \frac {(90A-81)(9A+9B+81)}{A+B+9} + 1 =90A81A+B+9+9+1=90A81A+B+9+10 = \frac {90A-81}{A+B+9} + 9 + 1 = \frac {90A-81}{A+B+9} + 10 Again, we wish to minimize this so, clearly, B=9 B = 9 . Substituting B=9 B = 9 into this, we get: M=90A81A+18+10. M = \frac {90A-81}{A+18} + 10. Now, haste makes waste! We cannot just conclude that A=9 A = 9 as well. In fact, it's quite clear that 999 isn't the best we can do. Note that, unlike B and C, A is more dominant on the numerator than on the denominator. We do not have to long-divide to see this. In fact, I am skipping that detail completely in my solution because it's seen quite easily. So, to minimize the expression, we need to minimize A, thus, it needs to be 1. We got: A = 1, B = 9, C = 9, so the answer is 199 \fbox{199} .

Calvin Lin Staff - 8 years, 4 months ago

Log in to reply

Oh, this is my solution! Calculus isn't required. I actually realized, right after I clicked "Submit Solution" that I could have made the A-minimization a little clearer. But I guess it looks clear! Thanks to those who voted for this. Currently leading. :D

Ahaan Rungta - 8 years, 4 months ago

Log in to reply

Actually, the entire thing could be made a lot clearer. Can you email me an updated version?

Calvin Lin Staff - 8 years, 4 months ago

Log in to reply

@Calvin Lin Sure! What is your e-Mail address? Actually, I would only update the last section (the A-minimization part). But maybe that part would make it clearer. I'll e-Mail it to you once I have your e-Mail address.

Ahaan Rungta - 8 years, 4 months ago

Log in to reply

@Ahaan Rungta calvin@brilliant.org

Tim Ye - 8 years, 4 months ago

Log in to reply

@Tim Ye Lol! Thanks. I emailed him directly so that I can send him his proof, instead of having him write up the latex portions again.

Calvin Lin Staff - 8 years, 4 months ago

Edited Solution A - This is a 3-digit number, so we can call the digits A B C, where A0 A \ne 0 . This means: N=100A+10B+C N = 100A + 10B + C and S=A+B+C S = A + B + C . So, by the definition of M M , we have: M=100A+10B+CA+B+C M = \frac {100A + 10B + C}{A + B + C}

Remark that this can be re-written as M=99A+9BA+B+C+1 M = \frac {99A + 9B}{A + B + C} + 1 . Consider this as a function of C and notice that C only appears in the denominator. We want to minimize this, so we want to maximize C; i.e. C=9 C = 9 . [Note: It doesn't matter what positive values A and B are. - Calvin]

Substituting this into the equation above, we obtain: M=99A+9BA+B+9+1=(90A81)(9A+9B+81)A+B+9+1 M = \frac {99A + 9B}{A+B+9} + 1 = \frac {(90A-81)(9A+9B+81)}{A+B+9} + 1 . Now, MM can be rewritten as M=90A81A+B+9+9+1=90A81A+B+9+10. M = \frac {90A-81}{A+B+9} + 9 + 1 = \frac {90A-81}{A+B+9} + 10. Again, we wish to minimize this so, in the same manner, we note that B only appears in the denominator in this function of B. Clearly, we want to maximize B to minimize this fraction. So, B=9 B = 9 .

Substituting B=9 B = 9 into this, we get: M=90A81A+18+10. M = \frac {90A-81}{A+18} + 10. Now, haste makes waste! We cannot just conclude that A=9 A = 9 as well. In fact, it's quite clear that 999 isn't the best we can do. Note that M=90A81A+18+10=90A+90×1890×1881A+18+10=9090×18+81A+18+10. M = \frac {90A-81}{A + 18} + 10 = \frac {90A + 90 \times 18 - 90 \times 18 - 81} { A + 18} + 10 = 90 - \frac {90 \times 18 + 81} { A + 18} + 10 . Aha! We want to minimize this expression, so we want to maximize 1A+18 \frac {1}{A+18} . And, to do this, we need to minimize A, since A is in the denominator. This is reverse logic from what we did with B and C. Since A can't be 0 (if it was, we wouldn't have a 3-digit number), A must be 1.

So, we got: A = 1, B = 9, C = 9, so the answer is 199 \fbox{199} .

Calvin Lin Staff - 8 years, 4 months ago

Log in to reply

calvin u r really a mathematics-charmer!!!HATS OFF FOR ENDLESS EFFORT FOR CLARIFYING .......

sayan chaudhuri - 8 years, 4 months ago

Thank you for posting the new updated solution! So the number of votes would be the number of votes for the previous one + this one?

Ahaan Rungta - 8 years, 4 months ago

Log in to reply

I don't think so, since the voters of the previous solution may vote up for this too.

But I think it is the one which will be featured.

Zi Song Yeoh - 8 years, 4 months ago

How is $/frac{99A + B}{A+B+9} +1 = /frac{(90A-81)(9A+B + 81)}{A+B+9} + 1$ happen?

jayver de torres - 8 years, 4 months ago

[Solution edited out - Calvin]

Aakash Kansal - 8 years, 4 months ago

[James suggested a problem, which I might use in an upcoming set - Calvin]

James Lin - 8 years, 4 months ago

Log in to reply

THat's an interesting question. Would you like to send your solution to me? I'd like to use it as an upcoming problem.

Calvin Lin Staff - 8 years, 4 months ago

Log in to reply

Oh, I have a somewhat ugly solution; I was looking to see if anyone had a good solution to it also.

James Lin - 8 years, 4 months ago

No simple solution. :(

Zi Song Yeoh - 8 years, 4 months ago

Log in to reply

The solution is actually really simple and direct, based off knowing the graph of 1X \frac {1}{X}.

Calvin Lin Staff - 8 years, 4 months ago

Log in to reply

Which solution?

Zi Song Yeoh - 8 years, 4 months ago

Log in to reply

@Zi Song Yeoh Both Solutions A and C show this, but I just can't deny that mine is a little clearer on that. :P

Ahaan Rungta - 8 years, 4 months ago

It is a very simple one. It is very obvious that to make the fraction smallest, we will have to make the number's hundredth digit small i.e. 1. Now, it is again very obvious that its units digit should be 9 so that the fraction becomes small (as denominator will increase same as numerator). Now, we wish to maximize the denominator and so the tenths digit must be 9. So 199 is the answer.

Brilliant Kumar - 8 years, 4 months ago

Log in to reply

Solutions like yours have been marked wrong. You offer no explanation of why the value will be minimized, since the numerator and denominator both change. See Solution C.

Calvin Lin Staff - 8 years, 4 months ago

Log in to reply

I have an explanation. It is really very good but it will take a lot of formatting to show it here. Please send me your email id so that I can mail a document which has the explanation. Please give me a chance to explain my answer. Please sir.

Brilliant Kumar - 8 years, 4 months ago

Log in to reply

@Brilliant Kumar You can email solutions to mathematics@brilliant.org. If you intend to send a scanned hand-written copy, please ensure that it is legible. Thanks.

Calvin Lin Staff - 8 years, 4 months ago

Log in to reply

@Calvin Lin I have mailed the solution. View it once.

Brilliant Kumar - 8 years, 4 months ago

@Calvin Lin Actually I am quite busy these days. I'll send the solution in a day or two. Is it ok?

Brilliant Kumar - 8 years, 4 months ago

Remarks Added.

Calvin Lin Staff - 8 years, 4 months ago

CANT GET B ! C IS JUST USELESS and A IS QUITE CORRECT AND SHORT

Aakash Kansal - 8 years, 4 months ago

Solution B - Letting our three digit number defdef be such that def=100a+10b+cdef = 100a +10b +c, we see that M=100a+10b+ca+b+cM=\frac{100a+10b+c}{a+b+c}. The batting average lemma states that if abcd\frac{a}{b} \le \frac{c}{d} then a+bc+dcd\frac{a+b}{c+d} \le \frac{c}{d}. So now we start with n=100n=100 and consider what happens if we add, batting average style, to each digits place: we add a fraction of value corresponding to the value of the place. So, and this is not fully rigorous but it does suffice after a little numerical testing at the extreme ranges to see if the pattern holds, we see that increasing bb and cc decreases the value of MM but that increasing aa does not. So we let bb and cc be 99 and aa be 11 and our answer is that the minimum value of MM occurs at n=199n=\boxed{199}

Calvin Lin Staff - 8 years, 4 months ago

Solution C - Here, the numerator (N) of the fraction should be minimum and denominator (S(N)) should be maximum. Hence, the numerator must be in 100's and denominator should be an addition of the digits of max. magnitude (i.e, 9). Summing up, we get, Numerator can be 109, 119,... and Denominator can be (1+0+9), (1+1+9),... respectively. By trial and error, 109/(1+0+9)= 10.9; 119/(1+1+9)= 10.81; and so on.... Hence, observing the pattern we see that as we increase the numerator by 10, the fraction keeps decreasing. Hence at 199/(1+9+9)= 10.47, the fraction should be minimum. For further verifying it, we take 299/(2+9+9)= 14.95; 399/(3+9+9)= 19; and so the value of the fraction keeps increasing as we increase the numerator. Hence, we conclude that the fraction "M" has minimum value when N=199.

Calvin Lin Staff - 8 years, 4 months ago

Log in to reply

post each and every solution.They are good

Sri Venkata Vivek Dhulipala - 8 years, 4 months ago
×

Problem Loading...

Note Loading...

Set Loading...