Substitute a number for a variable and then simplify the expression.
Manipulate linear equations with multiple variables.
Some people like to say that math made sense when it was all numbers, but then things fell apart when the letters started showing up. This is unfortunate, because the letters are actually just a way of representing numbers, and thinking about them in that way can help to clarify confusion. There are a lot of ways that teachers talk about variables and they are of varying degrees of correctness. For example, some teachers say that variables represent unknown values. It’s not exactly wrong, but it’s not exactly right. Whether or not we know the value is irrelevant. In college level math courses, we can use variables to represent mathematical expressions with other variables in it instead of just thinking of it as a quantity. This leads us to a more general definition:
Definition2.1.Variable.
A variable is a symbol that represents a quantity or a mathematical expression.
Notice that we allow for variables to represent both quantities and mathematical expressions. What this means is that both \(x = 4\) and \(x = y + 1\) are valid uses of variables.
Activity2.1.Variables as Quantities in Expressions.
What does it mean for a variable to represent a quantity in an expression? One way to think about it is that it’s a calculation waiting to happen. Consider the expression \(2x\text{.}\) This represents a number, but which number it represents depends on the value of \(x\text{.}\) As soon as I give you a value for \(x\text{,}\) you can plug it in and give me a specific number. But until then, this is just a number that is waiting to be calculated. For example, if you know that \(x = 4\text{,}\) then you can calculate that \(2x = 8\text{.}\) We can write this as an English sentence:
\begin{equation*}
\text{If $x = 4$, then $2x = 8$.}
\end{equation*}
Notice that we’re not saying that \(2x\) always has the value of 8. We’re just saying that if\(x\) takes the value of 4, then the value of \(2x\) must be 8.
Try it!
Determine the value of \(2x\) when \(x = 5\text{,}\)\(x = 12\text{,}\) and \(x = -3\text{.}\) Write your results as if-then statements.
\begin{equation*}
x + 3 = 7 \hspace{2cm} x + 3 = 8 \hspace{2cm} x + 3 = 9 \hspace{2cm} x + 3 = 10
\end{equation*}
Notice that to solve all of them, you would subtract 3 from both sides of the equation. This algebraic step solves the equation regardless of what number is on the right side of the equation.
Now consider this equation: \(x + 3 = a\text{.}\) We will solve this variable for \(x\text{.}\) Notice that the algebraic step remains the same. It turns out that the final result cannot be simplified any further.
\begin{equation*}
\begin{aligned}
x + 3 \amp = a \\
x \amp = a - 3 \amp \eqnspacer \amp \text{Subtract 3 from both sides}
\end{aligned}
\end{equation*}
Try it!
Solve the equation \(x - 7 = c\) for the variable \(x\) using a complete presentation.
Solution.
\begin{equation*}
\begin{aligned}
x - 7 \amp = c \\
x \amp = c + 7 \amp \eqnspacer \amp \text{Add $7$ to both sides}
\end{aligned}
\end{equation*}
\begin{equation*}
x + 3 = 7 \hspace{2cm} x + 4 = 7 \hspace{2cm} x + 5 = 7 \hspace{2cm} x + 6 = 7
\end{equation*}
This time, the number that is being added to \(x\) is changing. But these are still very similar equations. And the algebraic step is basically the same for each one. You need to subtract whatever number it is that’s being added to the \(x\text{:}\)
\begin{equation*}
\begin{aligned}
x + 3 \amp = 7 \longrightarrow \text{Subtract $3$ from both sides} \\
x + 4 \amp = 7 \longrightarrow \text{Subtract $4$ from both sides} \\
x + 5 \amp = 7 \longrightarrow \text{Subtract $5$ from both sides} \\
x + 6 \amp = 7 \longrightarrow \text{Subtract $6$ from both sides}
\end{aligned}
\end{equation*}
Now consider this equation: \(x + b = 7\text{.}\) Based on the pattern above, you should have an idea of what you need to do to solve for \(x\text{.}\)
Try it!
Solve the equation \(x + b = 7\) for the variable \(\) using a complete presentation.
Solution.
\begin{equation*}
\begin{aligned}
x + b \amp = 7 \\
x \amp = -b + 7 \amp \eqnspacer \amp \text{Subtract $b$ from both sides}
\end{aligned}
\end{equation*}
Activity2.4.Using Other Symbols.
The variable \(x\) is traditional, but not special. We’re allowed to solve for other variables. The underlying thinking process remains the same.
Try it!
Solve the equation \(a + b - c = d - e\) for the variable \(c\) using a complete presentation.
Solution.
\begin{equation*}
\begin{aligned}
a + b - c \amp = d - e \\
b - c \amp = -a + d - e \amp \eqnspacer \amp \text{Subtract $a$ from both sides} \\
- c \amp = -a - b + d - e \amp \amp \text{Subtract $b$ from both sides} \\
c \amp = a + b - d + e \amp \amp \text{Multiply both sides by $-1$}
\end{aligned}
\end{equation*}
Determine the value of \(2x - 5y\) when \(x = 4\) and \(y = 2\text{,}\) and when \(x = 2\text{,}\) and \(y = -3\text{.}\) Write your results as if-then statements.
2.
Check the presentation for errors. If you find one, circle it and describe the mistake in words.
\begin{equation*}
\begin{aligned}
2x + 4y \amp = 10 \\
4y \amp = 2x + 10 \amp \amp \text{Add $2x$ to both sides} \\
y \amp = \frac{2x + 10}{4} \amp \amp \text{Divide both sides by $4$} \\
y \amp = \frac{2x}{4} + \frac{10}{4} \amp \amp \text{Rewrite the fraction} \\
y \amp = \frac{x}{2} + \frac{5}{2} \amp \amp \text{Reduce}
\end{aligned}
\end{equation*}
3.
Solve the equation \(2x + 3y = 6\) for the variable \(y\) using a complete presentation.
4.
Solve the equation \(2x + 3y = 6\) for the variable \(x\) using a complete presentation.
Determine the value of \(x^2 + 2y^2\) when \(x = -1\) and \(y = 2\text{,}\) and when \(x = -2\) and \(y = -1\text{.}\) Write your results as if-then statements.
2.
Solve \(ax + by = c\) for using a complete presentation.
3.
Solve the equation \(3x - 2y - 4z = 24\) for the variable using a complete presentation.
Solve the equation \((x - 5) + a = b\) for the expression \((x - 5)\text{.}\)
2.
Solve the equation \(3 (y + 3) + a = b\) for the expression \((y + 3)\text{.}\)
3.
Work backwards from the given information to derive the original presentation.
\begin{equation*}
\begin{aligned}
\\
\\
\amp \amp \amp \text{Add 4 to both sides} \\
\\
\amp \amp \amp \text{Divide both sides by 6} \\
\\
\amp \amp \amp \text{Rewrite the fraction} \\
\\
a \amp = \frac{b}{6} + \frac{2}{3} \amp \amp \text{Reduce}
\end{aligned}
\end{equation*}
Section2.3Deliberate Practice: Solving Equations for a Variable Expression
Algebra is a skill, which means it requires practice to become proficient. But it will take more than rote repetition to get there. Deliberate practice is the thoughtful repetition of a task. For each of these sections, you will be given a list of specific skills or ideas to focus on as you practice thinking through the problems.
Focus on these skills:
Write the original equation.
Line up your equal signs.
Correctly state the algebraic steps using the correct phrasing:
Instructions: Solve the equations for the variable expression using a complete presentation.
1.
Solve \(6x^2 + 23 = 41\) for the expression \(x^2\text{.}\)
2.
Solve \(2y^3 + 14 = -20\) for the expression \(y^3\text{.}\)
3.
Solve \(5(t - 5) - 7 = 7\) for the expression \((t-5)\text{.}\)
4.
Solve \(6(r + 8) - 18 = 53\) for the expression \((r+8)\text{.}\)
5.
Solve \(3(b^2 + 4) - 25 = -38\) for the expression \((b^2 + 4)\text{.}\)
6.
Solve \(2x^2 + 4y^2 + 3z^2 + 5 = 11\) for the expression \(x^2\text{.}\)
7.
Solve \(2x^2 + 4y^2 + 3z^2 + 5 = 11\) for the expression \(y^2\text{.}\)
8.
Solve \(2x^2 + 4y^2 + 3z^2 + 5 = 11\) for the expression \(z^2\text{.}\)
9.
Solve \(4\ln(x) + 7 = 22\) for the expression \(\ln(x)\text{.}\)
10.
Solve \(3 \sin(2x) + 8 = 14\) for the expression \(\sin(2x)\text{.}\)
Section2.4Closing Ideas
Most textbooks will have hundreds of problems for you to work on, especially for a section like this one. And there’s certainly value to practicing those manipulations over and over again so that you can get a lot of experience. However, the approach of this textbook is much more about slowing you down to help you create a solid mental framework for understanding mathematical ideas.
One piece of that framework of mathematical thinking is the ability to take something complicated and break it down into simpler pieces. One of the ways that manifests is the transition from working with numbers to working with variables. We tried to set you up with this idea in the forward direction by giving you a series of equations with numbers before asking you to work with variables:
\begin{equation*}
\left. \begin{aligned}
x + 3 \amp = 7 \longrightarrow \text{Subtract $3$ from both sides} \\
x + 4 \amp = 7 \longrightarrow \text{Subtract $4$ from both sides} \\
x + 5 \amp = 7 \longrightarrow \text{Subtract $5$ from both sides} \\
x + 6 \amp = 7 \longrightarrow \text{Subtract $6$ from both sides}
\end{aligned} \right\} \implies x + b = 7 \longrightarrow \text{Subtract $b$ from both sides}
\end{equation*}
Section2.5Going Deeper: Sets and Solution Sets
In mathematics, a set is just a collection of objects. In a very real way, sets are among the most fundamental objects in mathematics. There is a particular type of set that is associated with equations involving variables, which are known as solution sets. Basically, a solution set is the set of all the numbers that you can plug into the equation to get a valid if-then statement regarding the values.
For example, the solution set of the equation \(x^2 = 4\) is \(\{ -2, 2 \}\text{.}\) We can check this b thinking through the appropriate if-then statements:
If \(x = -2\text{,}\) then \(x^2 = 4\text{.}\)
If \(x = 2\text{,}\) then \(x^2 = 4\text{.}\)
Notice that both of these statements are true. But we need to go further to justify that all other numbers fail to make a true statement. For example, ``If $x = 5$, then $x^2 = 4$’’ is false since $5^2 = 25$ and $25$ is not the same as $4$. But checking that one number isn’t good enough because there are infinitely other numbers to check (including all decimals and fractions). We clearly can’t check an infinite number of values, and so we need some sort of logical structure to explain how we can know that we’ve got all the solutions.
Notice in the naming of the set, we used the symbols \(\{\) and \(\}\text{.}\) These are known as set brackets. You can think of the set brackets as a bag in which you’re going to put various objects. The contents in between the set brackets describe the objects in the set in some form. In our example, we presented that as a list. We would read \(\{ -2, 2\}\) as "the set containing the numbers -2 and 2." We don’t really care about the order that we list the values, so that this set is the same as \(\{ 2, -2 \}\text{.}\)
Some books go into some detail about set-builder notation, which is another way of describing sets. Rather than making an explicit list of elements, the set is defined by properties. Here is an example:
We’ve already talked about the set brackets, so let’s look at the other pieces
\(x \in \mathbb{R}\text{:}\) This defines two objects. The first object it defines is a variable. This is a symbol that represents the quantity with the desired property. In this case it’s the symbol \(x\text{,}\) but it can be basically any symbol you want. The second object that this defines is the universal set. This is important because it defines the collection of objects that we’re going to consider. In this case, we’re thinking about real numbers.
If you happen to be familiar with complex numbers, you will probably remember that there is a special number called \(i\) that exist in the complex numbers that isn’t part of the real numbers. For this situation, we’re saying that we’re not considering complex numbers to be options for our variable.
\(x^2 = 4\text{:}\) This is the property that the variable needs to satisfy. In other words, in order to be in the set the variable must satisfy this equation. This part of the notation can be a single equation, multiple equations, or even a collection of words that describe the property.
This set is the solution set of the equation \(x^2 = 4\) because it says that it is the set of all real numbers that make \(x^2 = 4\) a true equation. And this shows one of the downsides of this notation. When we define sets in terms of properties, it may still leave us with work to do to figure out what values actually have the desired property. In order for us to know that this set contains the numbers -2 and 2, we would still have to do some work. And that’s both the strength and weakness of set-builder notation.
On the one hand, the notation is flexible enough that we can defined objects by a list of properties. On the other hand, that flexibility sometimes means that even though we know what properties the objects should have, we often don’t actually know what the exact objects are that are in the set.
Some books try to teach students set-builder notation and ask them to present their solutions to equations as sets. Unfortunately, this is makes things even more confusing and pushes students deeper into the world of rule following rather than understanding. This puts students either in the position where their notation is wrong, or their notation is correct but they don’t really understand what they’re writing. Neither is a good thing.
Set theory is the mathematical field that studies sets very carefully. It needs to be done carefully because as simple as it may appear here, it turns out to be an incredibly difficult subject. We won’t be able to explore the details of that, but we can get a brief glimpse of some of the complexity that arises from that area.
Let’s start with a set that contains nothing, which is knwon as the empty set. There are two notations for this: \(\{ \}\) (literally, a set with nothing in it) and \(\emptyset\text{.}\) The latter notation is far more common, so that’s what we will use. We can think of this as being like an empty box. It’s a collection of objects where there is nothing inside.
But now let’s consider this object: \(\{ \emptyset \}\text{.}\) This is the set that contains the empty set. This is mathematically different from the empty set in the same way that a box containing an empty box is not the same thing as an empty box. And you can already start to see some of the difficulty of this area of mathematics. You have to parse the symbols very carefully to understand what’s happening, because even though the object inside the box is an empty box, we have to remember that the outside box is not actually empty.
Or consider this object: \(\{ \emptyset, \{ \emptyset \} \}\text{.}\) This is the set that contains the empty set and the set that contains the empty set. In other words, it’s a box with an empty box and a box containing and empty box. We might want to ask a basic question: How many objects are in this set? And this turns out to be somewhat challenging because there are actually four boxes in the picture now. What is the "correct" way of counting them?
While this may appear to be extremely abstract, this way of thinking turns out to be very closely related to how huge amounts of data is organized. For example, phones and computers use a file folder structure that looks like boxes inside of boxes, and the internet uses a lot of JSON 2
www.json.org/json-en.html
data which can also be thought of as boxes inside of boxes. And so the abstract ideas of set theory end up having practical ways of being interpreted and applied.