Remember that a variable is like an empty box that is waiting for a number. It is a box, and it waits patiently. Have you ever seen a box wait? Those things have unbelievable staying power.
We call it substitution when we put a number into the box.
1. Substitute 3 for x in the expression 4x + 5. 4x + 5 is the same as 4 · ☐ + 5, so write 3 in the box: 4 · [ 3 ] + 5.
To substitute a value for a variable, replace every copy of the variable with the value enclosed in parentheses.
2. Substitute 4 for y in the expression 2y + y2. Replace every occurrence of y with (4); 2(4) + (4)2. 4ou see? What did 4ou say? We can stop now? Oh. Thank 4ou.
After substituting values for the variables in an expression, we can evaluate the expression by working out the arithmetic.
Be Careful: Make sure to put parentheses around values when substituting for variables. There can be some mix - ups with negative signs otherwise. We don't want no more mix - ups. Not after that failed bank heist. You hear that, Ira?
If we forget the parentheses when substituting - 4 for y in the expression 2y + y2, we find that 2 - 4 + - 42. This step gives us - 2 - 16 = - 18, which is completely wrong! Not just a little wrong, which would be bad enough, but completely wrong!