How to minimize studying using mathematics?

300 Views Asked by At

A friend asked me this question earlier today, and it made me wonder how to come up with a general solution (where each variable is an integer):

I have a vocabulary test tomorrow at school. On it, there will be $W$ terms listed, and I will have to define $X$ of them. However, before the test, I am given a list of $Y$ possible terms that could be on the list given on the test. How many terms must I be able to define in order to assure that I get at least a mark of $Z$% correct on the test?

I've tinkered with some numbers a tad, and came up with some possibilities; i.e. if $W = 10$, $X = 4$, $Y = 19$, and $Z = 100$, then the individual needs to know $13$ terms. I'm having a bit of trouble, however, coming up with a generalized solution.

Any help is appreciated.

1

There are 1 best solutions below

3
On BEST ANSWER

To guarantee a particular minimum grade, simply assume that every term you don't study will be on the test.

For the example given, if every term not studied is on the test, to get 100%, you need to find 4 terms that you've studied, no matter which 10 terms appear. Hence you can only afford to skip 6 terms, and must therefore study $19-6=13$ terms.

More details, as per request:

To achieve grade of $Z$, you must get at least $\frac{Z}{100}X$. Hence you can only afford to skip $W-\lfloor \frac{Z}{100} X\rfloor$ terms. Consequently, you must study at least

$$Y-\left(W-\bigg\lfloor \frac{Z}{100} X\bigg\rfloor\right)=Y-W+\bigg\lfloor \frac{Z}{100} X\bigg\rfloor$$

terms. Note that $\lfloor \cdot \rfloor$ denotes the floor function.