For this task you need the following basic knowledge: System of linear equations
Extracting equations from the problem setting
What is known? The sum of the number of two-bed rooms and the number of three-bed rooms is 40. This statement gives you equation :
In a double room there are two beds. Thus, there are beds in two-bed rooms and correspondingly, there are beds in the three-bed rooms. In total, the hotel has 105 beds, so you can set up equation :
You have now obtained the following system of linear equations with two equations and two unknowns:
Solve the system
To solve this system of equations, you have three solution methods at your disposal:
Solving by substitution method
Solve equation for one of the two variables and substitute this variable into equation . It doesn't matter whether you solve for or .
. plugged into
Plug into equation :
So the solution set of the linear system is :
Answer: The hotel has 15 two-bed rooms and 25 theree-bed rooms.
Solving by equating coefficients
Solve both equations for the same variable. You have already solved the equation for in the substitution method:
. Now, also must be solved for :
Now set equal the two right sides of the equations and :
Plug into :
So the solution set of your system of equations is :
Answer: The hotel has 15 two-bed rooms and 25 theree-bed rooms.
Solvin by the addition method
The goal is that by adding the two equations, one of the unknown variables cancels out. In this system of equations you can, for instance, multiply equation by , which gets you . By adding and , you get the solution for :
Plug into :
So the solution set of the linear system is :
Answer: The hotel has 15 two-bed rooms and 25 theree-bed rooms.
Construct a linear system of equations from the problem setting.
Tip: Choose the variable for the number of two-bed rooms and the variable for the number of three-bed rooms.