Substitute

Definitionverb

What does substitute mean in math?

Substitute means to replace a variable with a number or with an equal expression. In 4x − 1, substituting 3 for x gives 4(3) − 1. You substitute to evaluate expressions, to check whether a number is a solution, and to solve systems of equations by swapping in an equal expression.

In Spanish
sustituir
Also called
substitution, plug in, replace
Grade level
6-8
Grade 6Grade 7Grade 8Algebra 1CCSS 6.EE.B.5CCSS 6.EE.A.2.cGEDSATACTTABEHiSET

Substitute in a picture

Three ways to substituteTop: in 5n + 2 the variable n is replaced by 6, giving 5 times 6 plus 2, which is 32. Middle: y = 3x is put into x + y = 20 in place of y, giving x + 3x = 20. Bottom: x = 4 is substituted into 2x minus 1 = 7 to check it: 8 minus 1 = 7, so it is a solution.1. Substitute a number5n+ 2when n = 65(6)+ 2= 322. Substitute an expressiony = 3xx +y= 20x +3x= 203. Substitute to check: is x = 4 a solution of 2x − 1 = 7?2(4) − 1 = 8 − 1 = 77 = 7, yes
Substituting means swapping a variable for something equal to it: a number, or a whole expression in parentheses.

Formal definition and notation

Substitution replaces every occurrence of a variable in an expression or equation by a given number or by an expression known to be equal to it. By the substitution property of equality, if a = b, then b may replace a in any expression or equation without changing its value or its truth.

Symbol Read it as Meaning
x = 3 x equals 3 the replacement: put 3 wherever x appears
4(3) − 1 4 times 3 minus 1 the expression after substituting, with the number in parentheses
y = 2x y equals 2 x an expression for y that can be substituted into another equation

Key facts

  • Every copy of the variable gets the same value: in x2 + x at x = 2, both copies become 2, giving 4 + 2 = 6.
  • To check a solution, substitute it into the original equation. If both sides come out equal, it is a solution; if not, it is not.
  • You can substitute an expression, not just a number: with y = x + 4, the equation 2x + y = 10 becomes 2x + (x + 4) = 10.
  • Substituting an expression is the heart of the substitution method for systems of equations.
  • Parentheses around the replacement keep signs and multiplication correct, especially for negative numbers.

Substitution property of equality

Substitution property of equality
If a = b, then b can replace a anywhere.
a
a variable or expression that appears in the problem
b
a number or expression equal to it, such as x = 5 or y = 2x + 1

Replace every copy of the variable, not just the first one, and wrap the replacement in parentheses.

Substitute examples, step by step

Example 1: Check a possible solution

Warm-up

Is x = 6 a solution of 3x − 5 = 14?

  1. Substitute 6 for x in the left side: 3(6) − 5.
  2. Compute: 18 − 5 = 13.
  3. Compare with the right side: 13 ≠ 14.

Answer: No, x = 6 is not a solution, because the left side is 13, not 14.

Example 2: Two variables at once

Core

Substitute a = −2 and b = 5 into a2 − 3ab and simplify.

  1. Replace each variable, in parentheses: (−2)2 − 3(−2)(5).
  2. Exponent: (−2)2 = 4.
  3. Multiply: 3(−2)(5) = −30.
  4. Subtract a negative: 4 − (−30) = 34.

Answer: The result is 34.

Example 3: Substitute an expression

Test-style

If y = 2x − 1 and x + y = 11, what is the value of x?

  1. Replace y in the second equation with 2x − 1: x + (2x − 1) = 11.
  2. Combine like terms: 3x − 1 = 11.
  3. Add 1: 3x = 12. Divide by 3: x = 4.
  4. Check: y = 2(4) − 1 = 7, and 4 + 7 = 11.

Answer: x = 4 (and y = 7).

Common mistakes

✗ Mistakem − 8 at m = −3: −3 − 8 = −5.
✓ Instead(−3) − 8 = −11.

Subtracting 8 from a negative number moves further left on the number line. Writing the substituted value in parentheses helps you see the signs.

✗ MistakeIn x2 + 2x with x = 3, only the first x is replaced: 9 + 2x.
✓ Instead32 + 2(3) = 9 + 6 = 15.

Substitution replaces every copy of the variable. Leaving one behind means the expression has not been evaluated.

✗ MistakeWith y = x + 2, 3y becomes 3x + 2.
✓ Instead3y = 3(x + 2) = 3x + 6.

An expression goes in as one block. Without parentheses the 3 multiplies only the x.

Not to be confused with

Substitutevs.Evaluate

Substituting is the swap: 4x at x = 5 becomes 4(5). Evaluating includes the swap and the arithmetic, ending at 20.

Substitutevs.Substitution method

The substitution method is a full strategy for solving a system of equations. Substituting is the single move it is built on.

Quick check: 3 questions

Question 1 of 3

Which shows 7 − 2p after substituting p = −4?

Show answer and explanation

Answer: B. 2p means 2 times p, so it becomes 2(−4), and the value is 7 + 8 = 15. The first choice lost the multiplication, 7 − 24 wrote the digits side by side, and 5p combined unlike terms instead of substituting.

Question 2 of 3

Which value of x is a solution of x2 − x = 12?

Show answer and explanation

Answer: D. Substitute each one: (−3)2 − (−3) = 9 + 3 = 12, so −3 works. x = 3 gives 6, x = 6 gives 30, and x = 12 gives 132. (The other solution is x = 4.)

Question 3 of 3

If b = 3a, which equation results from substituting into a + b = 24?

Show answer and explanation

Answer: A. Replace b with the expression 3a: a + 3a = 24, so a = 6. The second choice replaced a instead of b, the third dropped the a in 3a, and the last added letters that are not like terms.

Substitute: frequently asked questions

What is the difference between substitute and plug in?

There is none in math class. Plug in is the everyday way to say substitute: you put a value in where the variable was. Textbooks and tests use substitute, and it also covers putting a whole expression in place of a variable, as in replacing y with x + 4 when solving a system of equations.

How do you check an answer by substitution?

Put your answer back into the original equation and simplify each side separately. If the two sides are equal, the answer is correct. For 5x + 2 = 17, substituting x = 3 gives 15 + 2 = 17, a true statement. If the sides differ, look for an error in your solving steps.

Why do I need parentheses when I substitute?

Parentheses keep the replacement in one piece. They make multiplication visible, keep a negative sign attached to its number, and make an exponent apply to the whole value. Without them, x2 at x = −1 turns into −12 = −1 instead of the correct (−1)2 = 1.

Practice and tools

Sources

  1. Common Core State Standards, Grade 6 Expressions and Equations (6.EE.B.5, 6.EE.A.2.c)
  2. OpenStax, Elementary Algebra 2e, 5.2 Solving Systems of Equations by Substitution

Updated November 2026·Reviewed by the Effortless Math team·Standards: CCSS 6.EE.B.5, CCSS 6.EE.A.2.c

Cite this entry

Effortless Math Team. “Substitute.” Effortless Math Dictionary. Updated November 2026. https://www.effortlessmath.com/math-dictionary/substitute/

Flashcard

TermSubstitute4x − 1, x = 3
DefinitionReplace a variable with a number or an equal expression, in parentheses. 4x − 1 with x = 3 becomes 4(3) − 1.
Study the full deck

Browse all terms in the Math Dictionary · More algebra terms · Random term