Inspired by Brian Charlesworth

x x and y y are non- negative integers such that 2 x + y = 10 2x+y=10 Find the sum of maximum and minimum values of ( x + y ) (x+y) .


The answer is 15.

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.

5 solutions

Rishik Jain
Jan 15, 2016

2 x + y = 10 2x+y=10

2 ( x + y ) = 10 + y 2(x+y)=10+y

( x + y ) = 5 + y 2 (x+y)=5+ \dfrac{y}{2}

So, ( x + y ) m a x (x+y)_{max} is possible when y y is maximised

y m a x = 10 \because y_{max}=10

( x + y ) m a x = 5 + 10 2 = 10 \therefore (x+y)_{max}=5+ \dfrac{10}{2}=10

( x + y ) m i n (x+y)_{min} is possible when y = 0 y=0

( x + y ) m i n = 5 (x+y)_{min}= 5

( x + y ) m a x + ( x + y ) m i n = 10 + 5 = 15 (x+y)_{max}+(x+y)_{min} = 10+5 = \boxed{15}

Did the exact same !! (+1)

Akshat Sharda - 5 years, 5 months ago

Log in to reply

In your solution, why can 'y' be maximised to sum number larger than 10? It can be any number fully divisible by 2, right?

Mihir Chaturvedi - 5 years, 5 months ago

Log in to reply

y > 10 2 x < 0 x < 0 y>10 \Rightarrow 2x<0 \Rightarrow x<0

But it is given in the question that x x and y y are non-negative integers. Therefore, 0 y 10 0≤y≤10 .

Akshat Sharda - 5 years, 5 months ago

Log in to reply

@Akshat Sharda Correction: 0 y 10 0 \le y \le 10

Rishik Jain - 5 years, 5 months ago

Log in to reply

@Rishik Jain Oh .... yes !! Edited.

Akshat Sharda - 5 years, 5 months ago
Mohamed Tarek
Jan 17, 2016

The previously mentioned answers are impressive (for me at least) and much appreciated, but for a simpler approach (and for a simpler mind such as mine):

Taking into consideration that 'x' and 'y' are non-negative integers, therefore:

The minimum value for 'x' is 0, so solving the equation: 2(0) + y = 10 —> y=10

The minimum value for 'y' is 0, so solving the equation: 2x + (0) = 10 —> x=5

Hence, the sum of minimum and maximum values of (x+y)= [(0+10)+(5+0)]=15

I did the same bro

Deep Singh Kalsi - 5 years, 4 months ago

Note that 2 x + y = 10 2x+y=10 is a Diophantine equation that has integer solutions. Hence, the solutions for x x and y y are x = x 0 r , y = y 0 + 2 r x=x_{0}-r, y=y_{0}+2r for some integer r r . Hence the minimum value of x + y x+y is 5 and the maximum is 10, so we get the answer 15.

Hemanth Koundinya
Jan 20, 2016

2X+Y=10

First non negative integer is 0. Put it for X Y=10

Put Y=0 2X=10 X=5 Therefore X+Y=5+10=15

Rodolfo Maza
Jan 17, 2016

One may try Linear (or Integer) programming... Just suggesting.

I did it that way, cheers!!

Racchit Jain - 5 years, 4 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...