Keep Your Streak Going!

Algebra Level 4

A young boy on brilliant had a forty nine day streak going on. Unfortunately, on day fifty, there was a power cut in his neighborhood. Determined to keep his streak alive, the boy went to an internet cafe. The owner's son (who was also the boy's schoolmate) was in charge during the time he walked in. Jealous of his friend's success in brilliant, he decided to charge the boy 30 units of currency for each problem that he solved. The boy had only 240 units of currency in his pocket and his mother wanted him back home in three hours.

The boy decided that he would challenge himself only with level 4 and level 5 problems that day. He knew that it would, on average, take him about 45 minutes to solve a level 5 problem and around 15 minutes to solve a level 4 problem. On average, level 5 problems are worth about 250 points and level 4 problems are worth about 150 points. If the boy needs to solve x level 5 questions and y problems in level 4 in order to boost up his points as much as he can, f i n d x + y + ( m a x i m u m n u m b e r o f p o i n t s h e g a i n s i n t h e e n d ) ) . find \\ x+y+(maximum \quad number \quad of \quad points \quad he \quad gains \quad in \quad the \quad end)).

Assume that he always gets the right answer the first time (no decrease in points) and attempts only those questions that he thinks he can solve. He also doesn't waste time in between questions.


The answer is 1408.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

3 solutions

James Wilson
Jan 29, 2018

In order to solve this problem, I will use a formula I derived myself that gives the explicit solution to a 2x2 system of linear inequalities (perhaps I will help add this to the wiki some time soon). The objective function is the function for the number of points, which is given by P = 250 x + 150 y P=250x+150y . The money constraint gives the inequality x + y 8 x+y\leq 8 . The time constraint gives the inequality 3 x + y 12 3x+y\leq 12 . The solution set to a 2x2 system of linear inequalities (non-parallel lines) of the form a x + b y e ax+by\leq e c x + d y f cx+dy \leq f is given by { ( u b r d t , v + a r + c t ) : s g n ( a d b c ) r 0 , s g n ( a d b c ) t 0 } \{(u-br-dt,v+ar+ct): sgn{(ad-bc)}r\leq 0, sgn{(ad-bc)}t\geq 0\} where ( u , v ) (u,v) represents the intersection of the two lines and s g n ( a d b c ) sgn(ad-bc) represents the sign of a d b c ad-bc . Using the given information, I let a = 1 , b = 1 , c = 3 , d = 1 , e = 8 , f = 12 a=1,b=1,c=3,d=1,e=8,f=12 and then determine a d b c < 0 ad-bc<0 . The intersection point of the lines is ( 2 , 6 ) (2,6) . So I end up with x = 2 r t x=2-r-t and y = 6 + r + 3 t y=6+r+3t , such that r 0 , t 0 r\geq 0,t\leq 0 . Substitute this into the objective function: P = 250 ( 2 r t ) + 150 ( 6 + r + 3 t ) = 1400 100 r + 200 t P=250(2-r-t)+150(6+r+3t)=1400-100r+200t . From here, one can easily tell the maximum is 1400, and it occurs when r = t = 0 r=t=0 , which corresponds to x = 2 , y = 6 x=2,y=6 .

Oh sorry the final answer is actually 1408.

A Former Brilliant Member - 5 years, 5 months ago

This is actually a linear programming problem, so it is possible that the maximum occurs at an x- or y-intercept as well.

James Wilson - 3 years, 4 months ago
Daniel Chen
Apr 15, 2015

The max numbers of problems he can do is 8(240 total /30 per problem). Also there is a time limit of 3 hours. Since level 4 problems take the shortest time to complete, I started with 8 lv4's. That results in 2 hrs spent and 1100 pts total. Since there is still extra time, we now start taking out lv4's and put in lv5's. Each lv5 added is 30 mins added as total time + 45 mins - 15 mins = total time + 30 mins. In the end, it is 6 lv4's(1.5 hrs, 900 pts) and 2 lv5's (1.5 hrs, 500 pts) so 1400 pts in the max. for the solution, add the number of problems to the points and that is 1408.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...