Algebra · real student question

Someone bought pens for 240 in total. If the same money had bought one more pen, each pen would have cost 1 less on average. How many pens were bought?

Question

A shopper spends 240240 in total on pens. If the same 240240 had bought one extra pen, the average price per pen would have been 11 less. How many pens were bought?

Step-by-step solution

  1. Choose the unknown that makes the prices easy to write. Let xx be the number of pens actually bought. Then the actual average price is

    240x\frac{240}{x}

    Choosing the count rather than the price as the unknown is what keeps the algebra to a single variable.

  2. Express the hypothetical price. With one extra pen for the same money, the count is x+1x + 1 and the price becomes

    240x+1\frac{240}{x+1}

    More pens for the same total means a lower unit price, so this second expression is the smaller of the two.

  3. Turn the comparison into an equation. The hypothetical price is 11 less than the actual price, so the actual price minus the hypothetical price equals 11:

    240x240x+1=1\frac{240}{x} - \frac{240}{x+1} = 1

    Getting this subtraction the right way round matters — reversing it gives 1-1 and no positive solution.

  4. Combine the fractions and clear denominators.

    240(1x1x+1)=240(x+1)xx(x+1)=240x(x+1)=1240\left(\frac{1}{x} - \frac{1}{x+1}\right) = 240 \cdot \frac{(x+1) - x}{x(x+1)} = \frac{240}{x(x+1)} = 1

    so

    x(x+1)=240  x2+x240=0x(x+1) = 240 \ \Longrightarrow \ x^2 + x - 240 = 0

  5. Factor and solve the quadratic. Two numbers multiplying to 240-240 and adding to 11 are 1616 and 15-15:

    x2+16x15x240=x(x+16)15(x+16)=(x+16)(x15)=0x^2 + 16x - 15x - 240 = x(x+16) - 15(x+16) = (x+16)(x-15) = 0

    x=16orx=15x = -16 \quad \text{or} \quad x = 15

  6. Reject the impossible root and check. A count of pens cannot be negative, so x=16x = -16 is discarded and x=15x = 15. Checking against the story: 240/15=16240/15 = 16 per pen, and with one more pen 240/16=15240/16 = 15 per pen — exactly 11 less. So 15 pens were bought.

Answer

15 pens15 \ \text{pens}

Need to solve a different problem like this? Open the solver →