If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Expressions, equations, & inequalities FAQ

Frequently asked questions about expressions, equations, and inequalities

How do we collect like terms with integer coefficients?

The commutative property of addition tells us that we can rearrange the order of the terms we're adding together without changing the sum. This is really helpful when we want to combine like terms in an algebraic expression that also has unlike terms.
For example, let's look at this expression:
3x+2y5x6y
Luckily, we can rewrite any subtraction as adding a negative number. So 3x+2y5x6y is the same as 3x+2y+(5x)+(6y), and we can use the commutative property of addition on it. That lets us rearrange the terms so that the like terms are next to each other:
3x5x+2y6y
Now we can combine the two x terms and the two y terms.
2x4y
And we've simplified the expression!

How does the distributive property work with variables?

The distributive property works the same way with negative numbers and variables as it does with positive numbers. It allows us to multiply a factor across a set of terms in parentheses.
When it comes to the order of operations, the distributive property can be really helpful. For example, let's say we have the following expression: 23(x+4). Following the traditional order of operations, we would be stuck, because we cannot add x+4 until we know the value of x. The distributive property lets us multiply the 3 factor by each term inside the parentheses.
23(x+4)=2+(3)(x+4)=2+(3)(x)+(3)(4)=23x12
Notice that we needed to distribute 3, not just 3. Now we're ready to collect like terms.
23x12=3x10
So the distributive property allowed us to simplify the expression despite the variable inside the parentheses.

How do the parts of a linear expression relate to the context it represents?

A linear expression is built out of three main parts: the variable, the coefficient, and the constant. When we use a linear expression to represent a real-world situation, each part of the expression has a different meaning.
The variable is the part of the expression that can change. For example, in the expression 192x, the variable is x. In a real-world situation, we might use this expression to represent the total length, in centimeters, of a pencil after sharpening it for x minutes if the pencil is originally 19 centimeters long and the sharpener shortens the pencil by 2 centimeters per minute.
The coefficient is the number in front of the variable. In the expression 192x, the coefficient is 2. In the example about sharpening pencils, this tells us that each minute makes the pencil 2 centimeters shorter.
The constant is the number that doesn't change, no matter what the variable is. In the expression 192x, the constant is 19. In the example about sharpening pencils, the constant is the pencil's starting 19 centimeter length.
So when we use a linear expression to represent a real-world situation, it's important to pay attention to the different parts of the expression and what they mean in that context.

How do we solve two-step equations?

A two-step equation is an equation with a variable on one side of the equation and 2 operations. Generally speaking, we solve an equation by working backwards, undoing the operations that have happened to the variable. In that case, we undo the operations in the opposite sequence from the order of operations.
For example, to solve 8=0.75b1, let's think about the order of operations we would follow to evaluate 0.75b1.
  1. Multiply 0.75 times the value of b.
  2. Subtract 1.
To solve the equation, we reverse that process.
  1. Add 1 to both sides of the equation.
  2. Divide both sides of the equation by 0.75.
Let's try it.
8=0.75b18+1=0.75b1+19=0.75b90.75=0.75b0.7512=b
What would we do if the equation included parentheses? Suppose we have the equation 57(w+11)=5. Here are the steps we would take to evaluate 57(w+11).
  1. Add w and 11 because they are inside parentheses.
  2. Multiply by 57.
To solve the equation, we reverse that process.
  1. Divide by 57 both sides of the equation by (which is the same as multiplying by 75).
  2. Subtract 11.
Let's try it.
57(w+11)=57557(w+11)=755w+11=7w+1111=711w=4
Of course, math is flexible and beautiful. Using the order of operations is only one of many ways to solve. We could also have applied the distributive property to 57(w+11), then solved the equation without any parentheses.
Try it yourself with our Two-step equations exercise.

How do we solve inequalities?

We solve inequalities in the same way that we solve two-step equations, except that we need to remember one rule: if we multiply or divide both sides by a negative number, we need to reverse the inequality sign.
Let's see why this makes sense. We know that 5<8. Let's multiply both sides of the equation by 1. Is 5 less than 8? No! 5>8 because 5 is farther to the right on a number line. So when we multiply or divide by a negative number, it swaps the directions of the values on the number line.
For example, to solve 2x+1>7, we first subtract 1 from both sides and then divide both sides by 2, which means we need to reverse the inequality sign. The solution is x<3.
Try it yourself with our Two-step inequalities exercise.

Want to join the conversation?