Recall (see Section 1.6) that a variable is a symbol (usually a letter) that stands for a value that varies. If a variable in an equation is replaced by a number and a true statement results, then that number is called a solution of the equation.
Example 1
Is −6 a solution of the equation 2x +5= −7?
Solution
Substitute −6 for x in the equation.
\[ \begin{aligned} 2x + 5 = 7 ~ & \textcolor{red}{ \text{ Original equation.}} \\ 2(-6)+5 = -7 ~ & \textcolor{red}{ \text{ Substitute } -6 \text{ for } x.} \\ -12 + 5 = -7 ~ & \textcolor{red}{ \text{ On the left, multiply first.}} \\ -7 = -7 ~ & \textcolor{red}{ \text{ On the left, add.}} \end{aligned}\nonumber \]
Because the last statement is a true statement, −6 is a solution of the equation.
Exercise
Is −4 a solution of 8 − 2x = 5?
Answer
No
Adding or Subtracting the Same Amount
Two equations having the same set of solutions are equivalent. For example, 2x+5 = −7 and x = −6 have the same solutions. Therefore, they are equivalent equations. Certain algebraic operations produce equivalent equations.
Producing Equivalent Equations
Adding the Same Quantity to Both Sides of an Equation. If we start with the equation
\[a = b,\nonumber \]
then adding c to both sides of the equation produces the equivalent equation
\[ a + c = b + c.\nonumber \]
Subtracting the Same Quantity from Both Sides of an Equation. If we start with the equation
\[a = b,\nonumber \]
then subtracting c from both sides of the equation produces the equivalent equation
\[a − c = b − c.\nonumber \]
That is, adding or subtracting the same amount from both sides of an equation will not change the solutions of the equation.
Example 2
Solve for x: x + 3= −7.
Solution
To undo the effect of adding 3, subtract 3 from both sides of the equation.
\[ \begin{aligned} x + 3 = -7 ~ & \textcolor{red}{ \text{ Original equation.}} \\ x + 3 - 3 = -7 -3 ~ & \textcolor{red}{ \text{ Subtract 3 from both sides.}} \\ x = -7 + (-3) ~ & \begin{array}{l} \textcolor{red}{ \text{ Simplify the left hand side. On the right,}} \\ \textcolor{red}{ \text{ express subtractions as adding the opposite.}} \end{array} \\ x = -10 \end{aligned}\nonumber \]
To check the solution, substitute −10 for x in the original equation and simplify.
Because the last line of the check is a true statement, this confirms that 40 is a solution.
Combining Operations
Recall the “Wrap” and “Unwrap” discussion from Section 1.6. To wrap a present we: (1) put the gift paper on, (2) put the tape on, and (3) put the decorative bow on. To unwrap the gift, we must “undo” each of these steps in inverse order. Hence, to unwrap the gift we: (1) take off the decorative bow, (2) take off the tape, and (3) take off the gift paper.
Now, imagine a machine that takes its input, then: (1) multiplies the input by 2, and (2) adds 3 to the result. This machine is pictured on the left in Figure 2.16.
To “unwrap” the effect of the machine on the left, we need a machine that will “undo” each of the steps of the first machine, but in inverse order. The “unwrapping” machine is pictured on the right in Figure 2.16. It will first subtract three from its input, then divide the result by 2. Note that each of these operations “undoes” the corresponding operation of the first machine, but in inverse order.
For example, drop the integer 7 into the first machine on the left in Figure 2.16. First, we double 7, then add 3 to the result. The result is 2(7) + 3 = 17.
Now, to “unwrap” this result, we drop 17 into the second machine. We first subtract 3, then divide by 2. The result is (17 − 3)/2 = 7, the original integer input into the first machine.
Now, consider the equation
\[2x +3=7.\nonumber \]
On the left, order of operations demands that we first multiply x by 2, then add 3. To solve this equation for x, we must “undo” each of these operations in inverse order. Thus, we will (1) subtract three from both sides of the equation, then (2) divide both sides of the resulting equation by 2.
\[ \begin{aligned} 2x + 3 - 3 = 7 - 3 ~ & \textcolor{red}{ \text{ Subtract 3 from both sides.}} \\ 2x = 4 ~ & \textcolor{red}{ \text{ Simplify both sides.}} \\ \frac{2x}{2} = \frac{4}{2} ~ & \textcolor{red}{ \text{ Divide both sides by 2.}} \\ x = 2 ~ & \textcolor{red}{ \text{ Simplify both sides.}} \end{aligned}\nonumber \]
Readers should check this solution in the original equation.
Example 7
Solve for x: \(\frac{x}{4} - 3 = -7\).
Solution
On the left, order of operations demands that we first divide x by 4, then subtract 3. To solve this equation for x, we must “undo” each of these operations in inverse order. Thus, we will (1) add 3 to both sides of the equation, then (2) multiply both sides of the resulting equation by 4.
\[ \begin{aligned} \frac{x}{4} - 3 = -7 ~ & \textcolor{red}{ \text{ Original equation.}} \\ \frac{x}{4} - 3 + 3 = -7 + 3 ~ & \textcolor{red}{ \text{ Add 3 to both sides.}} \\ \frac{x}{4} = -4 ~ & \textcolor{red}{ \text{ Simplify both sides.}} \\ 4 \left( \frac{x}{4} \right) = 4 (-4) ~ & \textcolor{red}{ \text{ Multiply both sides by 4.}} \\ x = -16 ~ & \textcolor{red}{ \text{ Simplify both sides.}} \end{aligned}\nonumber \]
Because the last line of the check is a true statement, −16 is a solution of the original equation.
Exercise
Solve for x:
\[ \frac{x}{2} + 6 = 4\nonumber \]
Answer
x = -4
Example 8
Solve for t: 0=8 − 2t.
Solution
On the right, order of operations demands that we first multiply t by −2, then add 8. To solve this equation for t, we must “undo” each of these operations in inverse order. Thus, we will (1) subtract 8 from both sides of the equation, then (2) divide both sides of the resulting equation by −2.
\[ \begin{aligned} 0 = 8 -2t ~ & \textcolor{red}{ \text{ Original equation.}} \\ 0 - 8 = 8 - 2t - 8 ~ & \textcolor{red}{ \text{ Subtract 8 from both sides.}} \\ -8 = -2t ~ & \textcolor{red}{ \text{ Simplify both sides.}} \\ \frac{-8}{-2} = \frac{-2t}{-2} ~ & \textcolor{red}{ \text{ Divide both sides by 2.}} \\ 4 = t ~ & \textcolor{red}{ \text{ Simplify both sides.}} \end{aligned}\nonumber \]
On the right, order of operations demands that we first divide p by −3, then add −4. To solve this equation for p, we must “undo” each of these operations in inverse order. Thus, we will (1) add a positive 4 to both sides of the equation, then (2) multiply both sides of the resulting equation by −3.
\[ \begin{aligned} -9+-4 = -4+ \frac{p}{-3} + 4~ & \textcolor{red}{ \text{ Add 4 to both sides.}} \\ -5 = \frac{p}{-3} ~ & \textcolor{red}{ \text{ Simplify both sides.}} \\ -3(-5) = -3 \left( \frac{p}{-3} \right) ~ & \textcolor{red}{ \text{ Multiply both sides by } -3.} \\ 15 = p ~ & \textcolor{red}{ \text{ Simplify both sides.}} \end{aligned}\nonumber \]
Because the last line in the check is a true statement, 15 is a solution of the original equation.
Exercise
Solve for q:
\[ \frac{q}{-2} -9 = -8+3\nonumber \]
Answer
q = −8
Applications
Let’s look at some applications of equations involving integers. First, we remind readers that a solution of a word problem must incorporate each of the following steps.
Requirements for Word Problem Solutions
Set up a Variable Dictionary. You must let your readers know what each variable in your problem represents. This can be accomplished in a number of ways:
Statements such as “Let P represent the perimeter of the rectangle.”
Labeling unknown values with variables in a table.
Labeling unknown quantities in a sketch or diagram.
Set up an Equation. Every solution to a word problem must include a carefully crafted equation that accurately describes the constraints in the problem statement.
Solve the Equation. You must always solve the equation set up in the previous step.
Answer the Question. This step is easily overlooked. For example, the problem might ask for Jane’s age, but your equation’s solution gives the age of Jane’s sister Liz. Make sure you answer the original question asked in the problem. Your solution should be written in a sentence with appropriate units.
Look Back. It is important to note that this step does not imply that you should simply check your solution in your equation. After all, it’s possible that your equation incorrectly models the problem’s situation, so you could have a valid solution to an incorrect equation. The important question is: “Does your answer make sense based on the words in the original problem statement.”
Example 10
A student’s bank account is overdrawn. After making a his account, Allen finds that he is overdrawn by $15. What was his account balance before his withdrawal? deposit of $120, he finds that his account is still overdrawn by an amount of $75. What was his balance before he made his deposit?
Solution
In our solution, we address each step of the Requirements for Word Problem Solutions.
1. Set up a Variable Dictionary. In this case, the unknown is the original balance in the student’s account. Let B represent this original balance.
2. Set up an Equation. A positive integer represents a healthy balance, while a negative number represents an account that is overdrawn. After the student’s deposit, the account is still overdrawn by $75. We will say that this balance is −$75. Thus,
\[ \begin{array}{c c c c c} \colorbox{cyan}{Original Balance} & \text{plus} & \colorbox{cyan}{Student Deposit} & \text{equals} & \colorbox{cyan}{Current Balance} \\ B & + & $120 & = & -$75 \end{array}\nonumber \]
3. Solve the Equation. To “undo” the addition, subtract 120 from both sides of the equation.
\[ \begin{aligned} B + 120 = -75 ~ & \textcolor{red}{ \text{ Original equation.}} \\ B + 120 - 120 = -75 - 120 ~ & \textcolor{red}{ \text{ Subtract 120 from both sides.}} \\ B = -195 ~ & \textcolor{red}{ \text{ Simplify both sides.}} \end{aligned}\nonumber \]
4. Answer the Question. The original balance was overdrawn to the tune of $195.
5. Look Back. If the original balance was overdrawn by $195, then we let −$195 represent this balance. The student makes a deposit of $120. Add this to the original balance to get −$195 + $120 = −$75, the correct current balance.
Exercise
After withdrawing $125 from his account, Allen finds that he is overdrawn by $15. What was his account balance before his withdrawal?
Answer
$110
Example 11
Three more than twice a certain number is −11. Find the unknown number.
Solution
In our solution, we address each step of the Requirements for Word Problem Solutions.
1. Set up a Variable Dictionary. Let x represent the unknown number. 2. Set up an Equation. “Three more than twice a certain number” becomes:
\[ \begin{array}{c c c c c} \colorbox{cyan}{Three} & \text{more than} & \colorbox{cyan}{Twice a Certain Number} & \text{is} & \colorbox{cyan}{-11} \\ 3 & + & 2x & = & 11 \end{array}\nonumber \]
3. Solve the Equation. On the left, order of operations requires that we first multiply x by 2, then add 3. To solve this equation for x, we must “undo” each of these operations in inverse order. Thus, we will (1) subtract 3 from both sides of the equation, then (2) divide both sides of the resulting equation by 2.
\[ \begin{aligned} 3 + 2x = -11 ~ & \textcolor{red}{ \text{ Original equation.}} \\ 3 + 2x - 3 = -11 - 3 ~ & \textcolor{red}{ \text{ Subtract 3 from both sides.}} \\ 2x = -14 ~ & \textcolor{red}{ \text{ Simplify both sides.}} ~ \\ \frac{2x}{2} = \frac{-14}{2} ~ & \textcolor{red}{ \text{ Divide both sides by 2.}} \\ x = -7 ~ & \textcolor{red}{ \text{ Simplify both sides.}} \end{aligned}\nonumber \]
4. Answer the Question. The unknown number is −7.
5. Look Back. Does the answer satisfy the problem constraints? Three more than twice −7 is three more than −14, or −11. So the solution is correct.
Exercise \(\PageIndex{1}\)
Five less than twice a certain number is −7. Find the unknown number.
Answer
−1
Exercises
1. Is −11 a solution of 2x +3= −19?
2. Is −8 a solution of 2x +7= −9?
3. Is 6 a solution of 3x + 1 = 19?
4. Is −6 a solution of 2x +7= −5?
5. Is 12 a solution of 4x +5= −8?
6. Is −8 a solution of −3x + 8 = 18?
7. Is 15 a solution of 2x +6= −9?
8. Is 3 a solution of −4x +1= −20?
9. Is −15 a solution of −3x +6= −17?
10. Is −18 a solution of −3x +9= −9?
11. Is −6 a solution of −2x + 3 = 15?
12. Is 7 a solution of −3x +5= −16?
In Exercises 13-28, solve the given equation for x.
13. x − 13 = 11
14. x − 6 = 12
15. x − 3=6
16. x − 3 = −19
17. x + 10 = 17
18. x +3=9
19. x − 6=1
20. x − 10 = 12
21. x − 15 = −12
22. x − 2 = 13
23. x + 11 = −19
24. x + 3 = 17
25. x +2=1
26. x +2= −20
27. x +5= −5
28. x + 14 = −15
In Exercises 29-44, solve the given equation for x.
29. −x = −20
30. 5x = −35
31. \(\frac{x}{−7}\) = 10
32. \(\frac{x}{−6}\) = −20
33. \(\frac{x}{−10}\) = 12
34. \(\frac{x}{2}\) = 11
35. \(\frac{x}{9}\) = −16
36. \(\frac{x}{−3}\) = −7
37. −10x = 20
38. −17x = −85
39. 14x = 84
40. −10x = −40
41. −2x = 28
42. −14x = 42
43. \(\frac{x}{−10}\) = 15
44. \(\frac{x}{−8}\) = −1
In Exercises 45-68, solve the given equation for x.
45. −4x − 4 = 16
46. −6x − 14 = 4
47. 4x − 4 = 76
48. −5x − 15 = 45
49. 5x − 14 = −79
50. 15x − 2 = 43
51. −10x − 16 = 24
52. 2x − 7 = −11
53. 9x +5= −85
54. 8x +8= −16
55. 7x + 15 = −55
56. 2x +2= −38
57. −x + 8 = 13
58. −5x + 20 = −50
59. 12x − 15 = −3
60. −19x − 17 = −36
61. 4x − 12 = −56
62. 7x − 16 = 40
63. 19x + 18 = 113
64. −6x + 20 = −64
65. −14x + 12 = −2
66. −9x + 5 = 104
67. 14x + 16 = 44
68. −14x + 10 = −60
69. Two less than eight times an unknown number is −74. Find the unknown number.
70. Six less than three times an unknown number is 21. Find the unknown number.
71. Eight more than two times an unknown number is 0. Find the unknown number.
72. Five more than eight times an unknown number is −35. Find the unknown number.
73. The number −6 is 2 more than an unknown number. Find the unknown number.
74. The number −4 is 7 more than an unknown number. Find the unknown number.
75. Three more than eight times an unknown number is −29. Find the unknown number.
76. Four more than nine times an unknown number is 85. Find the unknown number.
77. Alan’s scores on his first three exams are 79, 61, and 54. What must Alan score on his next exam to average 71 for all four exams?
78. Benny’s scores on his first three exams are 54, 68, and 54. What must Benny score on his next exam to average 61 for all four exams?
79. The quotient of two integers is 5. One of the integers is −2. Find the other integer.
80. The quotient of two integers is 3. One of the integers is −7. Find the other integer.
81. The quotient of two integers is 9. One of the integers is −8. Find the other integer.
82. The quotient of two integers is 9. One of the integers is −2. Find the other integer.
83. The number −5 is 8 more than an unknown number. Find the unknown number.
84. The number −6 is 8 more than an unknown number. Find the unknown number.
85. A student’s bank account is overdrawn. After making a deposit of $260, he finds that his account is still overdrawn by an amount of $70. What was his balance before he made his deposit?
86. A student’s bank account is overdrawn. After making a deposit of $300, he finds that his account is still overdrawn by an amount of $70. What was his balance before he made his deposit?
87. A student’s bank account is overdrawn. After making a deposit of $360, he finds that his account is still overdrawn by an amount of $90. What was his balance before he made his deposit?
88. A student’s bank account is overdrawn. After making a deposit of $260, he finds that his account is still overdrawn by an amount of $50. What was his balance before he made his deposit?
89. The number −10 is −5 times larger than an unknown number. Find the unknown number.
90. The number −3 is −3 times larger than an unknown number. Find the unknown number. 91. The number −15 is −5 times larger than an unknown number. Find the unknown number.
92. The number −16 is 4 times larger than an unknown number. Find the unknown number.
93. Two less than nine times an unknown number is 7. Find the unknown number.
94. Four less than two times an unknown number is 8. Find the unknown number.
95. Mark’s scores on his first three exams are 79, 84, and 71. What must Mark score on his next exam to average 74 for all four exams?
96. Alan’s scores on his first three exams are 85, 90, and 61. What must Alan score on his next exam to average 77 for all four exams?