Westonci.ca is the premier destination for reliable answers to your questions, provided by a community of experts. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

A motel rents double rooms at $32 per day and single rooms at $26 per day. If 23 rooms were rented one day for a total of $688, how many rooms of each kind were rented? *

Sagot :

To solve the exercise you can propose the following system of linear equations:

[tex]\begin{gathered} x+y=23\Rightarrow\text{ Equation 1} \\ 32x+26y=688\text{ }\Rightarrow\text{ Equation 2} \\ \text{ Where} \\ x\text{ is the number of double rooms and} \\ y\text{ is the number of single rooms} \end{gathered}[/tex]

To solve the system of linear equations you can use the method of reduction or elimination. To do this first multiply Equation 1 by -32 and add both equations, then solve for the variable y:

[tex]\begin{gathered} (x+y)\cdot-32=23\cdot-32 \\ -32x-32y=-736 \\ \text{ Now add both equations} \\ -32x-32y=-736 \\ 32x+26y=688\text{ +} \\ ------------- \\ 0x-6y=-48 \\ -6y=-48 \\ \text{ Divide by -6 from both sides of the equation} \\ \frac{-6y}{-6}=\frac{-48}{-6} \\ y=8 \end{gathered}[/tex]

Finally, replace the value of the variable y into any of the initial equations and solve for the variable x. For example, replace the value of the variable y in Equation 1:

[tex]\begin{gathered} x+y=23 \\ x+8=23 \\ \text{ Subtract 8 from both sides of the equation} \\ x+8-8=23-8 \\ x=15 \end{gathered}[/tex]

Therefore, 15 double rooms and 8 single rooms were rented.

Thanks for using our platform. We're always here to provide accurate and up-to-date answers to all your queries. We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. We're dedicated to helping you find the answers you need at Westonci.ca. Don't hesitate to return for more.