A pineapple costs ₹ 7 each. A watermelon costs ₹ 5 each. X spends ₹ 38 on these fruits. The number of pineapples purchased is
Aptitude
Simplification
Difficulty: Medium
Choose an option
-
A2
-
B3
-
C4
-
DData inadequate
Answer
Correct Answer: 4
Explanation
### Concept & Logic
This forms a linear Diophantine equation, where both variables must be positive integers (you cannot buy a fraction of a fruit). Since there is only one equation for two variables, use trial and error based on multiples.
$$7P + 5W = 38$$
### Step-by-Step Solution
* **Given:**
* Let $P$ = number of pineapples
* Let $W$ = number of watermelons
* $7P + 5W = 38$
* **Calculation:**
1. Isolate the term with the smaller coefficient ($W$) to make checking multiples easier:
$5W = 38 - 7P$
2. Test integer values for $P$ to see if the resulting $5W$ is a multiple of 5 (i.e., ends in 0 or 5).
3. If $P = 1$: $5W = 38 - 7 = 31$ (Not divisible by 5)
4. If $P = 2$: $5W = 38 - 14 = 24$ (Not divisible by 5)
5. If $P = 3$: $5W = 38 - 21 = 17$ (Not divisible by 5)
6. If $P = 4$: $5W = 38 - 28 = 10$. This works because $W = 2$.
7. Therefore, 4 pineapples and 2 watermelons were purchased.
### Exam Strategy & Shortcut
Instead of writing equations, use Option Elimination.
If pineapples = 2 (Option a), cost = ₹ 14. Remaining money = $38 - 14 = 24$. 24 is not divisible by ₹ 5.
If pineapples = 3 (Option b), cost = ₹ 21. Remaining money = $38 - 21 = 17$. 17 is not divisible by ₹ 5.
If pineapples = 4 (Option c), cost = ₹ 28. Remaining money = $38 - 28 = 10$. 10 is perfectly divisible by ₹ 5 (meaning 2 watermelons).
### Common Pitfall
Many students see a single equation with two variables and immediately select "Data inadequate" without realizing that the implicit constraint (quantities must be integers) narrows the possibilities down to a single unique solution.
### Final Answer
**Therefore, the correct answer is 4.**