A batch of USB sticks is to be used on a network. Each stick has the same unknown probability of being infected with a virus. Each stick is infected, or not, independently of the others.
The network manager decides on an integer value of with . If no testing takes place and the sticks are used on the network, but if , the batch is subject to the following procedure.
- Each of sticks, chosen at random from the batch, undergoes a test during which it is destroyed.
- If any of these sticks is infected, all the remaining sticks are destroyed.
- If none of the sticks is infected, the remaining sticks are used on the network.
If any stick used on the network is infected, the network has to be disinfected at a cost of £, where . If no stick used on the network is infected, there is a gain of £ for each of the sticks. There is no cost to testing or destroying a stick.
- Find an expression in terms of , , and , where , for the expected net loss.
Let . Show that .
Show that, for fixed values of , and , the greatest value of the expected net loss occurs when satisfies the equation .
Show further that this greatest value is £, where .
- For fixed values of and , show that there is some so that for all , the expression for the expected loss found in part (i) is an increasing function of . Deduce that, for small enough values of , testing no sticks minimises the expected net loss.