Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store
seo-qna
SearchIcon
banner

x and y are two non-negative integral numbers such that 2x+y=10. The sum of the maximum and minimum values of (x+y) is
A. 6
B. 9
C. 10
D. 15

Answer
VerifiedVerified
426.9k+ views
like imagedislike image
Hint: We first try to find the characteristics for the input y in 2x+y=10. We take even inputs for it and find the value for x. We find possible maximum and minimum values of (x+y) and find its sum.

Complete step by step answer:
x and y are two non-negative integral numbers such that 2x+y=10.
Therefore, the possible range for x and y will be x,y0.
y has to be an even number as y=102x is an even number.
Now we take even values from 0 for y to find the value for x.
We take y=0. We get 2x+0=10 which gives x=102=5. In this case the value of (x+y) will be (x+y)=5+0=5.
We take y=2. We get 2x+2=10 which gives x=1022=4. In this case the value of (x+y) will be (x+y)=4+2=6.
We take y=4. We get 2x+4=10 which gives x=1042=3. In this case the value of (x+y) will be (x+y)=3+4=7.
We take y=6. We get 2x+6=10 which gives x=1062=2. In this case the value of (x+y) will be (x+y)=2+6=8.
We take y=8. We get 2x+8=10 which gives x=1082=1. In this case the value of (x+y) will be (x+y)=1+8=9.
We take y=10. We get 2x+10=10 which gives x=10102=0. In this case the value of (x+y) will be (x+y)=0+10=10.
Therefore, the maximum and minimum values of (x+y) is 10 and 5 respectively.
The sum will be 10+5=15.

So, the correct answer is “Option D”.

Note: We cannot take the value of y=10 as in that case the value of x=10122=1. It becomes negative and creates a contradiction of x,y0. From the condition of 2x+10=10, we can also tell that x5,y10 not to cross the total sum value.
Latest Vedantu courses for you
Grade 8 | CBSE | SCHOOL | English
Vedantu 8 CBSE Pro Course - (2025-26)
calendar iconAcademic year 2025-26
language iconENGLISH
book iconUnlimited access till final school exam
tick
School Full course for CBSE students
EnglishEnglish
MathsMaths
ScienceScience
₹49,800 (9% Off)
₹45,300 per year
Select and buy