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.

Lesson 14: Equivalent expressions

# Variables and expressions FAQ

## What is an algebraic expression?

An algebraic expression is a combination of numbers, variables, and operations that shows a mathematical relationship. For example, $2x+5$ is an algebraic expression that means "two times a number plus five". Variables are letters or symbols that can stand for any number. For example, $x$ can be $3$, $-4$, or any other number. Operations are things like adding, subtracting, multiplying, and dividing.

## How do we evaluate an algebraic expression?

To evaluate an algebraic expression means to find its value when we know the values of the variables.
For example, if we know that $x=3$, we can evaluate $2\cdot x+5$ by substituting $3$ for $x$ and simplifying.
$\begin{array}{rl}2\cdot x+5& =2\cdot 3+5\\ \\ & =6+5\\ \\ & =11\end{array}$
To evaluate an expression with multiple variables, we need to know the values of all the variables. For example, if we know that $x=2$ and $y=4$, we can evaluate $xy+3y-2$ by substituting and simplifying. Notice that the $y$ has to mean the same thing every time we substitute it into the expression.
$\begin{array}{rl}xy+3y-2& =2\cdot 4+3\cdot 4-2\\ \\ & =8+12-2\\ \\ & =18\end{array}$

## How does the distributive property work with variables?

The distributive property is a property that lets us rewrite a product when one of the factors is a sum or difference.
Here's an example with variables:
$\begin{array}{rl}2\left(x+3\right)& =2\cdot x+2\cdot 3\\ \\ & =2x+6\end{array}$
The expressions $2\left(x+3\right)$ and $2x+6$ will always have the same value as each other, as long as we use the same value of $x$ for them.
We can also use the distributive property to factor expressions.
$\begin{array}{rl}7x-14& =7\cdot x-7\cdot 2\\ \\ & =7\left(x-2\right)\end{array}$
Factoring $7x-14$ as $7\left(x-2\right)$ makes it easier to see what values of $x$ make the expression zero, for example.

### How do LCM and GCF relate?

LCM is the least common multiple of two or more numbers. It is the smallest number that is a multiple of all the numbers. For example, the LCM of $4$ and $6$ is $12$, because $12$ is the smallest number that is both a multiple of $4$ and a multiple of $6$.
GCF is the greatest common factor of two or more numbers. It is the largest number that is a factor of all the numbers. For example, the GCF of $8$ and $12$ is $4$, because $4$ is the largest number that is both a factor of $8$ and a factor of $12$.
Now, how do LCM and GCF relate to each other? Well, there is a neat formula that connects them. It is called the product formula. It says that for any two numbers $a$ and $b$, their LCM times their GCF is equal to their product. In other words, $\text{LCM}\left(a,b\right)×\text{GCF}\left(a,b\right)=a×b$. Isn't that cool?
Let's try it with $a=15$ and $b=40$ to see how it works.
The only factor in both numbers is $5$, so it is the GCF.
$\begin{array}{rl}a\cdot b& =15\cdot 40\\ \\ & =\underset{\text{LCM}}{\underset{⏟}{3\cdot 5\cdot 2\cdot 2\cdot 2}}\cdot \underset{\text{GCF}}{\underset{⏟}{5}}\\ \\ & =\underset{\text{LCM}}{\underset{⏟}{120}}\cdot \underset{\text{GCF}}{\underset{⏟}{5}}\end{array}$
The LCM of $15$ and $40$ is $120$. That's a multiple of of $15$ because $15\cdot 8=120$. It's a multiple of $40$ because $40\cdot 3=120$. It's the smallest multiple because we left out one copy of the $5$, the only factor that appeared in each number.

## What are like terms and how do we combine them?

Like terms are terms that have the same variable and the same exponent. For example, $2x$ and $5x$ are like terms, because they both have the variable $x$ and the exponent $1$. But $3x$ and $4y$ are not like terms, because they have different variables. And ${x}^{2}$ and ${x}^{3}$ are not like terms, because they have different exponents.
We can combine like terms by adding their coefficients. The coefficient is the number in front of the variable. For example, to combine $2x$ and $5x$, we add their coefficients, $2$ and $5$, and get $7x$. When we see a variable without a coefficient, there is an implied $1$. For example, $y$ is really $1y$ and $-{x}^{2}$ is really $-1{x}^{2}$.
Sometimes, we have to simplify an expression that has both like and unlike terms. To do that, we first identify and group the like terms together, and then combine them. For example, let's simplify $3x+4y-2x+2y$.
$\begin{array}{rlr}3x+4y-2x+2y& =\left(3x-2x\right)+\left(4y+2y\right)& \text{Group like terms.}\\ \\ & =\left(3-2\right)x+\left(4+2\right)y& \text{Factor.}\\ \\ & =x+6y& \text{Simplify.}\end{array}$
Notice that we kept the $-$ symbol in front of the $x$ when we rearranged the terms. We did not combine the $x$-terms with the $y$-terms, because they had different variables.
To simplify an expression with terms with the same variable but different exponents, we cannot combine them, because they are not like terms. Let's simplify ${x}^{3}+2{x}^{2}-{x}^{2}+3$.
$\begin{array}{rlr}{x}^{3}+2{x}^{2}-{x}^{2}+3& ={x}^{3}+\left(2{x}^{2}-{x}^{2}\right)+3& \text{Group like terms.}\\ \\ & ={x}^{3}+\left(2-1\right){x}^{2}+3& \text{Factor.}\\ \\ & ={x}^{3}+{x}^{2}+3& \text{Simplify.}\end{array}$
We cannot add or subtract the terms with different exponents, because they represent different powers of $x$.

## Where are these topics used in the real world?

These topics are used in many real-world situations, such as modeling patterns, relationships, and functions; solving problems involving money, geometry, and measurement; analyzing data and graphs; and creating and interpreting formulas and equations. For example, we can use algebraic expressions to model the cost of a phone plan, the area of a garden, the height of a rocket, or the speed of a car. We can use LCM and GCF to find the best deals, the least waste, the most common factors, or the most efficient methods. We can use the distributive property, combining like terms, and equivalent expressions to simplify calculations, manipulate expressions, and solve equations. Algebra is a powerful tool that helps us understand and explore the world around us.

## Want to join the conversation?

• 3x+4y-2x+2y does not equal x+2y.

its x+6y
• You are correct, this appears to be a new article, so put in a correction suggestion.
• Correction: (3−2)x + (4+2)y = x + 6y is the correct answer; not x + 2y.
• The simplification above should be x + 6y?
• Yes. They made an error. (4+2)y = 6y
• You barely explained anything in the equivalent expressions video.
• Why did they add a 1 to -x2, and make it -1x2
• nvm i get it now
• they made a mistake, how is (4+2)x equal to 2x?
• l whent this far to get stuck
• Why are there letters in are math equations
So now lets say i want to sell 5 bracelets, i could make an equation that is more algebraic, that equation would be 20x - 5 = ?