Answer:
- birthday cakes: 20
- wedding cakes: 10
- cupcake batches: 15
Explanation:
Let the variables b, w, c stand for the numbers of birthday cakes, wedding cakes, and cupcake batches, respectively. We can write equations based on the described relations.
b + w + c = 45 . . . . . . the baker must fill 45 orders
b -2w = 0 . . . . . . . birthday cakes are 2 times wedding cakes
50b +120w +40c = 2800 . . . . revenue from sales is 2800
These equations can be put in the form of an augmented matrix:
![\left[\begin{array}c1&1&1&45\\1&-2&0&0\\50&120&40&2800\end{array}\right]](https://img.qammunity.org/2021/formulas/mathematics/college/xg7smegw5wsdp4hp8bg6zk6wfb45gmbv97.png)
We can begin the row-reduction process by subtracting the first row from the second, and by subtracting 50 times the first row from the third.
![\left[\begin{array}c1&1&1&45\\0&-3&-1&-45\\0&70&-10&550\end{array}\right]](https://img.qammunity.org/2021/formulas/mathematics/college/yt9qim448n1mjbxwoh1ypb34ohbqujq7td.png)
The next step is to multiply the second row by 70/3 and add that to the third row. Now we have an upper triangular matrix.
![\left[\begin{array}ccc1&1&1&45\\0&-3&-1&-45\\0&0&-(100)/(3)&-500\end{array}\right]](https://img.qammunity.org/2021/formulas/mathematics/college/3ic266wv2gfx6pvoo7ble7wi3dnb4gfiyd.png)
We can multiply the third row by -3/100, then add that result to the second row. This gives ...
![\left[\begin{array}ccc1&1&1&45\\0&-3&0&-30\\0&0&1&15\end{array}\right]](https://img.qammunity.org/2021/formulas/mathematics/college/s4fhb8xb9rdt7dgd6m4ufl0jz54svxigx2.png)
Dividing the second row by -3, then subtracting the second and third rows from the first completes the solution.
![\left[\begin{array}ccc1&0&0&20\\0&1&0&10\\0&0&1&15\end{array}\right]](https://img.qammunity.org/2021/formulas/mathematics/college/nqyv8wtu669qp6pjhj2bx6rmmnwu0e4h9p.png)
The baker has orders for 20 birthday cakes, 10 wedding cakes, and 15 batches of cupcakes.