Variables and Expressions

Evaluating and simplifying algebraic expressions

Variables and Expressions

Variables

A variable is a letter that represents an unknown number.

Common variables: x,y,n,a,bx, y, n, a, b

Example: If x=5x = 5, then x+3=5+3=8x + 3 = 5 + 3 = 8

Algebraic Expression

A combination of variables, numbers, and operations.

Examples:

  • 2x+52x + 5
  • 3n73n - 7
  • x4+2\frac{x}{4} + 2

Evaluating Expressions

Substitute the value for the variable and calculate.

Example: Evaluate 3x43x - 4 when x=5x = 5 3(5)4=154=113(5) - 4 = 15 - 4 = 11

Terms

Parts of an expression separated by ++ or - signs.

Example: In 3x+2y53x + 2y - 5

  • Three terms: 3x3x, 2y2y, and 5-5

Coefficients

The number part of a term with a variable.

Example: In 5x5x, the coefficient is 55

Like Terms

Terms with the same variable raised to the same power.

Like terms:

  • 3x3x and 7x7x
  • 2y22y^2 and 5y25y^2

NOT like terms:

  • 3x3x and 3y3y (different variables)
  • xx and x2x^2 (different powers)

Combining Like Terms

Add or subtract the coefficients, keep the variable part.

5x+3x=8x5x + 3x = 8x 7y2y=5y7y - 2y = 5y

📚 Practice Problems

1Problem 1easy

Question:

Evaluate 2x+72x + 7 when x=4x = 4.

💡 Show Solution

Substitute x=4x = 4:

2(4)+72(4) + 7

=8+7= 8 + 7

=15= 15

Answer: 1515

2Problem 2medium

Question:

Simplify: 5x+3x2x5x + 3x - 2x

💡 Show Solution

All terms are like terms (all have variable xx).

Combine by adding/subtracting coefficients:

5x+3x2x=(5+32)x=6x5x + 3x - 2x = (5 + 3 - 2)x = 6x

Answer: 6x6x

3Problem 3hard

Question:

Evaluate x23x+5x^2 - 3x + 5 when x=2x = -2.

💡 Show Solution

Substitute x=2x = -2:

(2)23(2)+5(-2)^2 - 3(-2) + 5

Step 1: Calculate exponent 43(2)+54 - 3(-2) + 5

Step 2: Multiply 4(6)+54 - (-6) + 5

Step 3: Simplify (subtracting negative is adding) 4+6+5=154 + 6 + 5 = 15

Answer: 1515