We are given information about spending a gift card at a clothing store. Let's start by assigning .
- The number of T-shirts purchased: x
- The number of dress shirts purchased: y
We know that the cost of a T-shirt is
$15 and the cost of a dress shirt is
$22. We can spend no more than the amount of the gift card,
$100. Let's rewrite this information as an .
15x+22y≤100
Since we want to leave
at most $10 of the gift card unspent, we need to spend at least
$90. This creates another inequality.
15x+22y≥90
The last constraint that we are given is that we need to buy
at least one dress shirt. This gives us our final inequality.
y≥1
We now have three inequalities that we can use to find our .
⎩⎪⎪⎨⎪⎪⎧15x+22y≤10015x+22y≥90y≥1(I)(II)(III)
To find all the possible combinations of dress shirts and T-shirts we can buy, we will graph these inequalities in a single . In order to graph the inequalities, we will need to replace the inequality signs with
equals signs and isolate the
y-variable so that our are in . Let's start with the first inequality.
15x+22y=100
22y=100−15x
y=22100−2215x
y=1150−2215x
y=1150−2215x
y=-2215x+1150
We can apply the same process to the second inequality as well.
15x+22y=90
22y=90−15x
y=2290−2215x
y=1145−2215x
y=1145−2215x
y=-2215x+1145
We now have the equations for two of the boundary lines. Let's graph them. We will start with the first equation. Since the inequality is , the line will be solid. Also, since it is impossible to buy a negative number of shirts, we will only consider positive values of
x and
y.
Next we will use a test point,
(0,0), to find which to shade. If substituting the point into the inequality creates a true statement, we will shade the region that contains the point. Otherwise, we will shade the region that does not contain the point.
15x+22y≤100
15(0)+22(0)≤?100
0≤100 ✓
Since substituting the test point made the inequality true, we will shade the region that contains it.
We will follow the same process to graph the second inequality. We have already found the equation of the boundary line and because the inequality is non-strict, the line will be solid. We will use the same test point to determine which region to shade.
15x+22y≥90
15(0)+22(0)≥?90
0≱90 ×
Since substituting the test point made the inequality false, we will shade the region that does not include it.
Our last inequality, y≥1, is going to be a solid . The symbol greater than indicates that the solution set will be above the line.
With most , the solution set includes all points that are in the region shaded by all of the inequalities. Since we are looking at the purchase of shirts, we must only include points in our solution, since it is impossible to buy a part of a shirt.
This leaves us with only two possible solutions, (5,1) and (2,3). We can purchase 1 dress shirt and 5 T-shirts, or we can purchase 3 dress shirts and 2 T-shirts.