
Matthew P. answered 09/10/19
Computer Science Student Who Loves Teaching Math
Hi there!
Here, it looks like we have a typical constraint problem. In these kinds of problems, we can construct as many constraint equations as there are variables in the equation. The two variables in this problem would be the number of history books and the number of sociology books – let's denote them x and y, respectively.
First, we're told that the number of history and sociology books combined is 480. From this, we can make our first equation: the total number of books has to be 480, so we can write
If this were all the information we had, then there would be an infinite number of solutions to the problem. However, in this problem we're given extra information from which we can make a second equation.
We're then told that 50 less sociology books were sold than history books. Remembering that history books are x and sociology books are y, we can additionally write
We now have our two equations to work with. From here, we can substitute the value of y in the second equation into our y in the first equation:
From here, we can then solve for x:
This gives us the number of history books: 265.
With this new value for x, we can then determine the value of y (sociology books) from our first equation:
So from this, we get that 215 sociology books were sold.
Let's check our work, and make sure it all adds up correctly. We got that 265 history books and 215 sociology books were sold.
265 + 215 = 480, so that satisfies the first constraint;
265 is 50 more than 215, so that satisfies the second constraint. So, we're done!
I hope this helped and gave you a better understanding of how to solve these kinds of constraint problems!