Answer:
2 widgets A, 5 widgets B and 2 widgets C
Step-by-step explanation:
Let
1. On a given day, the company was able to produce 9 total widgets, then
[tex]x+y+z=9[/tex]
2. The company produces one more Widget B than the sum of the Widgets A & C, then
[tex]y=x+z+1\\ \\x-y+z=-1[/tex]
3. Widget A costs $3 to produce, so x widgets A cost $3x.
Widget B costs $2 to produce, so y widgets B cost $2y.
Widget C costs $1 to produce, so z widgets C cost $z.
The cost to produce the widgets each day is $18, thus
[tex]3x+2y+z=18[/tex]
4. We get the system of three equations:
[tex]\left\{\begin{array}{l}x+y+z=9\\x-y+z=-1\\3x+2y+z=18\end{array}\right.[/tex]
Write an augmented matrix for this system
[tex]\left(\begin{array}{ccccc}1&1&1&|&9\\1&-1&1&|&-1\\3&2&1&|&18\end{array}\right)\sim \left(\begin{array}{ccccc}1&1&1&|&9\\0&2&0&|&10\\0&1&2&|&9\end{array}\right)\sim \left(\begin{array}{ccccc}1&1&1&|&9\\0&2&0&|&10\\0&0&4&|&8\end{array}\right)[/tex]
Therefore,
[tex]\left\{\begin{array}{l}x+y+z=9\\2y=10\\4z=8\end{array}\right.[/tex]
Hence
[tex]\left\{\begin{array}{l}x=2\\y=5\\z=2\end{array}\right.[/tex]