Question

In: Advanced Math

Question: Linda has 5 weeks to prepare for her CSCA67 final. Her friend has volunteered to...

Question: Linda has 5 weeks to prepare for her CSCA67 final. Her friend has volunteered to help her for either 15min or 30min every day until the test but not for more than 15 hours total. Show that during some period of consecutive days, Linda and her help will study for exactly 8 3/4 hours.

Answer: We can solve this by letting ai represent the number of quarter hours Linda studies on day i. Then there are 5x7 = 35 days that Linda studies. Now we define 35 sums: s1 = a1, s2 = a1 +a2, s3 = a1 +a2 +a3. Then if one of these sums equals 8 ∗ 4+3 = 35 quarter hours, we are done. If not, then there are 35 sums (pigeons) and we set our holes to be the possible remainders for each sum when divided by 35, we have the values from 1..34 or 34 holes. Therefore there are two pigeons in one hole, ie, two sums that when divided by 35 have the same remainder. If we subtract the smaller sum from the larger we get a continuous subset of days (by the way we designed the si and this difference must be divisible by 35. Since no sum is larger than 60 and the difference is a multiple of 35, this multiple cannot be larger than 1. Therefore we have a set of consecutive days totally 8 3 4 hours.

My question: Can someone help me to under stand and solve this question in proper way by using php. I dont understand how answer says, "35 sums (pigeons) and we set our holes to be the possible remainders for each sum when divided by 35, we have the values from 1..34 or 34 holes"

Solutions

Expert Solution

Pigeon Hole Principle: If there are n+1 pigeons that are to be assigned in n pigeonholes, then at least two pigeons are assigned to the same hole.

In the answer to the problem, ​​​​​​ai is defined to be the number of quarter hours(that is the number of sets of 15 minutes) that Linda studies on the ith day, for i=1,2,3,...35.

Observe that since her friend has volunteered to help her for either 15 or 30 minutes every day, hence, ai is either 1 or 2 for every i=1,2,3,...35.

Now, the answer defines the sums:

s1 = a1

s2 = a1 + a2

s3 = a1 + a2 + a3

........

s35 = a1 + a2 + a3 +.....+ a35

Observe that since the friend will not help for more than 15 hours in total, hence si (15 * 4)=60 quarters.

Now, if there is an i in {1,2,...35} such that si = 35 quarters, then there for the i consecutive days 1,2,3,...i , Linda studies 35/4 = 8+3/4 hours in total and hence we are done.

So, suppose that si 35 for all i=1,2,3,4,...35. Since each si is less than equal to 60, hence 35 does not divide any of the si (as the next higher multiple of 35 after itself is 70). As a result, the remainder ri obtained when si is divided by 35 is in the set {1,2,3,...34} (and not 0) for each i=1,2,3,...35.

Consider the 35 si(or the 35 remainders ri) as 35 pigeons and the 34 possible remainder values as 34 pigeonholes. By the pigeonhole principle, there are at least two sums si and sj that leave the same remainder values (or at least two remainders ri and rj that have the same value). Assume without loss of generality that si < sj. Then, 35 | (sj - si) (as ri=rj).

Since s1,s2,....s35 are each less than or equal to 60, hence so is the difference sj - si. Now, sj - si = ai+1 + ai+2 + .... + aj >0.

Also, the only multiple sj - si of 35 strictly between 0 and 60 is 35. Hence, ai+1 + ai+2 + ..... + aj = sj - si = 35.

Thus, for the period i+1, i+2, i+3,......j of consecutive days, Linda and her friend will study for exactly 35 quarters = 35/4 hours = 8+3/4 hours.


Related Solutions

Malcolm has written a letter to his close friend, Linda. In the letter he offers to...
Malcolm has written a letter to his close friend, Linda. In the letter he offers to sell her his sports car for $4,500. Linda calls Malcolm and explains that she needs some time to think it over as she had not planned to buy a car soon. Malcolm tells her, “I’ll give you until Monday July 19 to let me know whether you want the sports car.” On Thursday July 15, Linda posts a letter to Malcolm agreeing to buy...
Linda Larue has arthritis. Her chiropractor advised her that she needed to swim daily to alleviate...
Linda Larue has arthritis. Her chiropractor advised her that she needed to swim daily to alleviate her pain and other symptoms. Consequently, Linda and her husband, Philo, purchased for $400,000 a new home that had a swimming pool, after selling their home for $325,000.00. If the Larues had constructed a pool at their former residence, it would have cost $75,000 to build, and it would have increased the value of their home by $50,000.a. List as many possible tax research...
Linda Larue has arthritis. Her chiropractor advised her that she needed to swim daily to alleviate...
Linda Larue has arthritis. Her chiropractor advised her that she needed to swim daily to alleviate her pain and other symptoms. Consequently, Linda and her husband, Philo, purchased for $400,000 a new home that had a swimming pool, after selling their old home for $325,000. If the Larues had constructed a pool at their former residence, it would have cost $75,000 to build, and it would have increased the value of their home by $50,000. Answer the following Facts: Issues:...
Question 5 – Short answer Your friend has just started a retail clothing store in Kamloops....
Question 5 – Short answer Your friend has just started a retail clothing store in Kamloops. She will be purchasing inventory to make her own clothing (one style) and she will also be buying ready to sell items. She has come to you to help her set up an internal financial reporting system. What Managerial accounting techniques would you suggest to your friend to better control her costs and why? Required: Respond to your friend’s question. Reflect on all the...
QUESTION: Your friend is selling her small business for GH¢ 50, 000. This is the total...
QUESTION: Your friend is selling her small business for GH¢ 50, 000. This is the total value of all her current and fixed assets. Is this the accurate value of her enterprise? Discuss with regards to the four methods of company valuation. Include a discussion on how the different valuation types can be calculated and the advantages as well as disadvantages of each method.
Linda received $90,000 in salary income for 2018. She has no dependents. Determine her income tax...
Linda received $90,000 in salary income for 2018. She has no dependents. Determine her income tax liability under each of the following independent situations: a. She files as a single individual. b. She is married and files a joint return with her spouse. Their only income is her $90,000 salary. c. She is married but files a separate
Your friend Sam has been asked to prepare appetizers for the university reception. She has an...
Your friend Sam has been asked to prepare appetizers for the university reception. She has an unlimited amount of ingredients and six hours in which to prepare them. Sam can make 400 mini-sandwiches or 200 servings of melon slices topped with smoked salmon and a dab of sauce per hour. Sam's opportunity cost of making one mini-sandwich is   (Click to select)   2 melon appetizers   0.5 melon appetizer  . Sam's opportunity cost of making one melon appetizer is   (Click to select)   2 mini-sandwiches   0.5 mini-sandwich  . Suppose the reception...
A friend of yours has asked for your assistance in determining the gross profit for her...
A friend of yours has asked for your assistance in determining the gross profit for her new promotions company that distributes branded refillable water bottles to her only client. The agreed upon selling price to her customer for the entire year was $5.00 per unit. Her beginning and ending inventory were 500 units and there was no inventory shrinkage or returns. Assume the starting inventory cost per unit was $2.00. She uses a periodic inventory method. Her purchases were as...
The client has come to the clinic for her first prenatal visit at 18 weeks gestation....
The client has come to the clinic for her first prenatal visit at 18 weeks gestation. After the nurse explains the prenatal visit schedule. The client states, “I don’t really see any need to come back until I go into labor.” How should the nurse respond? A woman who had twins, then one preterm infant, and is now pregnant again, what is her OB score? (GP TPAL). The client who is 28 weeks gestation complains of fatigue. She reports difficulty...
1.Three weeks postpartum, a women reports that her period has returned and that it is very...
1.Three weeks postpartum, a women reports that her period has returned and that it is very heavy; each times she changes her pad, it is soaked through. What postpartum complication might this woman be experiencing, and what instructions or information should the nurse provide? 2. The nurse records a blood loss of 500 ml from a woman who had a cesarean delivery less than 24 hours ago and notes she appears to be developing hypovolemic shock. What signs and symptoms...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT