Official Solution:
At a market, two merchants sold a combined total of 100 pineapples, and each earned the same amount of money. If the first merchant had sold the same number of pineapples as the second merchant but at his own price per pineapple, he would have earned \($15\). Conversely, if the second merchant had sold the same number of pineapples as the first merchant but at his own price, he would have earned \($6\frac{2}{3}\). How many pineapples did the second merchant sell?
A. \(20\)
B. \(30\)
C. \(40\)
D. \(60\)
E. \(80\)
Let's say the first merchant sold \(x\) pineapples at \($a\) each, and the second merchant sold \(y\) pineapples at \($b\) each.
Since they earned the same amount, we have: \(xa = yb\). From this, we can deduce: \(\frac{a}{b} = \frac{y}{x}\).
If the first merchant had sold the same number of pineapples as the second merchant, but at his own price per pineapple, he would have earned \($15\). This gives us the equation \(ya=15\).
Similarly, if the second merchant had sold the same number of pineapples as the first merchant, but at his own price, he would have earned \($6\frac{2}{3}\). This provides the equation \(xb=\frac{20}{3}\).
Now, dividing the equation \(ya=15\) by the equation \(xb=\frac{20}{3}\), we obtain: \(\frac{y}{x}*\frac{a}{b}=\frac{9}{4}\).
Since we know \(\frac{a}{b} = \frac{y}{x}\), substitute this into the equation \(\frac{y}{x}*\frac{a}{b}=\frac{9}{4}\) to get: \((\frac{y}{x})^2=\frac{9}{4}\).
Thus, \(\frac{y}{x}=\frac{3}{2}\).
Given that \(x+y=100\), we can determine that \(x=40\) and \(y=60\).
Therefore, the second merchant sold 60 pineapples.
Answer: D