If x and y are non-negative integers such that x + 9 = z, y + 1 = z and x + y < z + 5, then the maximum possible value of 2x + y equals
Correct Answer :
Solution :
The correct answer is 23.
We are given three conditions involving non-negative integers x and y, and a variable z:
①
②
③
Step 1 — Express y in terms of x.
Since both ① and ② equal z, we can set them equal to each other:
Solving for y:
Step 2 — Apply the inequality constraint ③.
Substitute into ③:
Subtract x from both sides:
Since y must be a non-negative integer, the maximum value of y is 13.
Step 3 — Find the corresponding value of x.
Using and setting :
Step 4 — Verify all conditions are satisfied.
With , , and :
① ✓
② ✓
③ ✓
Step 5 — Compute the maximum value of 2x + y.
Note that to maximise , we can write it in terms of x alone. Since :
This is increasing in x, so we want x as large as possible. The constraint forces , confirming is optimal.
Therefore, the maximum possible value of is 23.
Access expert-curated educational resources and study materials—completely free.
Create, conduct, and manage professional online assessments with Mindyard. Perfect for teachers and institutes.
Copyright © 2026 Mindyard. All Rights Reserved.