# A Word Problem with Pens and Pencils

## Outline Mathematics

Word Problems

Variants of the following word problem make frequent appearances in elementary texts and puzzle books.

A mom bought for her son 3 pencils and 4 pens. Being arithmetically minded, she quickly figured out that had she bought 4 pencils and 3 pens she would have spent $1 less. If a pen is twice as expensive as a pencil, what is the price of each?

(An implicit assumption that is seldom annunciate clearly is that all pencils cost the same as are all pens.)

|Contact| |Front page| |Contents| |Algebra| |Store|

Copyright © 1996-2017 Alexander Bogomolny

### Solution

There is a common sense solution and an algebraic one. (Both admit quite a few variations.)

If a pen is twice more expensive than a pencil, 3 pencils and 4 pen cost as much as

You are welcome to check the result (and checking your results is a very good practice) by adding the costs of pens and pencils in the required quantities and verifying that the difference is indeed $1. We shall solve the problem algebraically and see if that leads to the same answer.

Let *x* be the price of a pencil and *y* the price of a pen. We know that

y = 2x.

The cost of 3 pencils and 4 pens is $1 more than the he cost of 4 pencils and 3 pens translates into

(3x + 4y) - (4x + 3y) = 1.

The equation is simplified to

y - x = 1.

It is important to understand that this is not the only way to compose the equations, and what we are going to do is not the only way to solve the equations. Here's just one possibility.

Recollect that *y* = 2*x*, and replace *y* in the equation with 2*x* to obtain

2x - x = x = 1.

So a pencil costs $1 and a pen $2 (which can be computed as either $1×2 or

The algebraic solution could have been shorten had we surmised at the outset that the conditions of the problem mean that in the second case the mom would have purchased 1 pen less but 1 pencil more than she actually bought. So it is quite immediate that $1 is the difference in the prices of a pen and a pencil:

y - x = 1.

|Contact| |Front page| |Contents| |Algebra| |Store|

Copyright © 1996-2017 Alexander Bogomolny

61200441 |