Alex reaches into his pocket and pulls out a handful of coins. He tells us that heβs holding 90 cents in his hand, consisting of only nickels (worth five cents each) and quarters (worth 25 cents each). How many coins of each type is Alex holding?
We can model this information with a linear equation. Let \(x\) be the number of nickels in Alexβs hand, and let \(y\) be the number of quarters. The equation that captures the information Alex shared is
\begin{equation}
5x + 25y = 90\text{.}\tag{1.1}
\end{equation}
In this case, we donβt have enough information to answer Alexβs question. It could be that Alex is holding three nickels and three quarters (\(15+75=90\)) or that he is holding 13 nickels and one quarter (\(65+25=90\)). There are quite a few solutions to equation (1.1). (Note that in this example, since it would not make sense to have only part of a coin, we need our values of \(x\) and \(y\) to be non-negative integers.)
Now imagine that Alex gives us additional information by telling us that he is holding exactly ten coins. We can put this information into a second linear equation, and we now have what is called a system of equations. We need to know what values of \(x\) and \(y\) satisfy the following equations simultaneously:
\begin{align*}
5x+25y \amp= 90 \\
x+y \amp= 10 \text{.}
\end{align*}
A small amount of work shows us that the values \(x=8\) and \(y=2\) satisfy these equations simultaneously. (The reader should not worry right now about where those numbers came from. Weβll get there soon.) This means that Alex is holding eight nickels and two quarters.