Algebraic Expressions and Formulas
3. Substitution and Evaluation
Learning outcomes
- I can substitute values into algebraic expressions.
- I can evaluate expressions accurately.
- I can substitute values into formulas.
- I can interpret the meaning of calculated results.
- I can apply substitution to real-world situations.
Substitution and Evaluation
Substitution means replacing a variable with a known value.
For example, consider:
3x + 4
If:
x = 5
substitute 5 for x:
3(5) + 4
Then evaluate:
15 + 4 = 19
Therefore, when x = 5:
3x + 4 = 19
Substitution connects algebraic expressions with actual numerical values and is used throughout mathematics, science, engineering, finance, and everyday problem-solving.
What Does It Mean to Evaluate?
To evaluate an expression means to calculate its numerical value for particular values of its variables.
Consider:
2x + 7
This expression does not have one fixed numerical value because its value depends on x.
If:
x = 3
then:
2(3) + 7 = 13
If:
x = 10
then:
2(10) + 7 = 27
Changing the value of the variable changes the value of the expression.
Substitution Versus Evaluation
These ideas are closely related but slightly different.
Substitution means replacing a variable with a known value.
Evaluation means completing the calculation after substitution.
For:
4x − 3, when x = 6:
Substitution:
4(6) − 3
Evaluation:
24 − 3 = 21
A Reliable Method
Use:
Identify → Substitute → Calculate → Interpret
Identify
Determine the value of each variable.
Substitute
Replace every occurrence of the variable with its value.
Calculate
Use the correct order of operations.
Interpret
Explain what the result means if the expression represents a real situation.
Use Parentheses When Substituting
A useful habit is to place substituted values inside parentheses.
For:
5x + 2
when:
x = 4
write:
5(4) + 2
rather than:
5 × 4 + 2
Both are mathematically correct, but parentheses make the substitution especially clear.
This becomes even more important with negative numbers.
Evaluating a Simple Expression
Evaluate:
6x + 5
when:
x = 3
Substitute:
6(3) + 5
Multiply:
18 + 5
Therefore:
23
Evaluating with Subtraction
Evaluate:
8x − 7
when:
x = 4
Substitute:
8(4) − 7
Calculate:
32 − 7 = 25
Therefore:
8x − 7 = 25
when x = 4.
Evaluating with Division
Evaluate:
x/5 + 6
when:
x = 20
Substitute:
20/5 + 6
Calculate division first:
4 + 6
Therefore:
10
Negative Values
Negative values require careful substitution.
Evaluate:
3x + 8
when:
x = −4
Substitute using parentheses:
3(−4) + 8
Multiply:
−12 + 8
Therefore:
−4
Why Parentheses Matter with Negative Numbers
Consider:
x²
when:
x = −3
Correct substitution:
(−3)²
This means:
(−3)(−3) = 9
Therefore:
x² = 9
The parentheses make it clear that the entire value −3 is being squared.
Powers and Negative Values
Compare:
(−3)² = 9
with:
−3² = −9
Using the standard order of operations:
−3²
means:
−(3²)
which is:
−9
So careful notation is extremely important during substitution.
Expressions with Powers
Evaluate:
x² + 3x + 2
when:
x = 4
Substitute:
(4)² + 3(4) + 2
Calculate the exponent:
16 + 12 + 2
Therefore:
30
Order of Operations
After substitution, evaluate using the normal order of operations:
Parentheses
Exponents
Multiplication and Division
Addition and Subtraction
For example:
Evaluate:
2x² + 3
when x = 4.
Substitute:
2(4)² + 3
Exponent first:
2(16) + 3
Multiply:
32 + 3
Therefore:
35
A Common Order-of-Operations Error
Evaluate:
3 + 2x²
when x = 5.
Correct:
3 + 2(5)²
3 + 2(25)
3 + 50
53
Incorrect reasoning might calculate:
(3 + 2)(5²)
but there are no parentheses telling us to add 3 and 2 first.
Expressions with Parentheses
Evaluate:
3(x + 4)
when:
x = 2
Substitute:
3(2 + 4)
Evaluate parentheses:
3(6)
Therefore:
18
We could also distribute first:
3x + 12
Then substitute:
3(2) + 12 = 18
Both methods produce the same result.
Multiple Variables
Expressions can contain more than one variable.
Evaluate:
3x + 2y
when:
x = 4
and:
y = 5
Substitute:
3(4) + 2(5)
Calculate:
12 + 10
Therefore:
22
Keep Track of Each Variable
Evaluate:
2a + 3b − c
when:
a = 4
b = 2
c = 5
Substitute:
2(4) + 3(2) − 5
Calculate:
8 + 6 − 5
Therefore:
9
Be careful to replace each variable with the correct value.
Multiple Variables with Powers
Evaluate:
x² + 2xy + y²
when:
x = 3
and:
y = 2
Substitute:
(3)² + 2(3)(2) + (2)²
Calculate:
9 + 12 + 4
Therefore:
25
Substituting Negative Values into Multiple Variables
Evaluate:
2x − 3y
when:
x = −2
and:
y = −4
Substitute:
2(−2) − 3(−4)
Calculate:
−4 − (−12)
−4 + 12
Therefore:
8
Fractions
Evaluate:
x/4 + 3
when:
x = 12
Substitute:
12/4 + 3
Calculate:
3 + 3
Therefore:
6
Fractional Values
Variables themselves can also have fractional values.
Evaluate:
6x + 2
when:
x = 1/2
Substitute:
6(1/2) + 2
Calculate:
3 + 2
Therefore:
5
Decimal Values
Evaluate:
4x + 1.5
when:
x = 2.5
Substitute:
4(2.5) + 1.5
Calculate:
10 + 1.5
Therefore:
11.5
The substitution process is the same whether values are whole numbers, fractions, decimals, or negative numbers.
Equivalent Expressions and Substitution
Consider:
3(x + 2)
and:
3x + 6
These are equivalent expressions.
If x = 4:
First expression:
3(4 + 2) = 18
Second expression:
3(4) + 6 = 18
They give the same result.
Substitution can help us check whether our simplification is reasonable.
Checking Algebra Using Substitution
Suppose a student claims:
4x + 3x = 7x²
Test:
x = 2
Original:
4(2) + 3(2)
= 8 + 6
= 14
Student's expression:
7(2²)
= 7(4)
= 28
Since:
14 ≠ 28
the expressions are not equivalent.
The correct simplification is:
4x + 3x = 7x
Substitution into Formulas
A formula describes a mathematical relationship between quantities.
For example, the area of a rectangle is:
A = lw
where:
- A = area
- l = length
- w = width
Suppose:
l = 8 cm
and:
w = 5 cm
Substitute:
A = (8)(5)
Therefore:
A = 40 cm²
Perimeter Formula
The perimeter of a rectangle is:
P = 2l + 2w
Suppose:
l = 12 cm
w = 7 cm
Substitute:
P = 2(12) + 2(7)
Calculate:
P = 24 + 14
Therefore:
P = 38 cm
Area of a Triangle
The area of a triangle is:
A = 1/2 bh
Suppose:
b = 10 cm
h = 6 cm
Substitute:
A = 1/2(10)(6)
Calculate:
A = 30 cm²
The units are square centimeters because area measures a two-dimensional region.
Area of a Circle
The area of a circle is:
A = πr²
Suppose:
r = 4 cm
Substitute:
A = π(4)²
A = 16π cm²
Using:
π ≈ 3.14
gives:
A ≈ 50.24 cm²
Circumference
The circumference of a circle is:
C = 2πr
For:
r = 5 cm
substitute:
C = 2π(5)
C = 10π cm
Approximately:
C ≈ 31.4 cm
Substitution in Science
Scientific formulas are algebraic relationships.
For example:
v = d/t
Suppose:
d = 150 m
t = 30 s
Substitute:
v = 150/30
Therefore:
v = 5 m/s
The result tells us the object's speed.
Force
Newton's Second Law is:
F = ma
Suppose:
m = 6 kg
and:
a = 4 m/s²
Substitute:
F = (6)(4)
Therefore:
F = 24 N
The calculated result represents the net force acting on the object.
Density
Density is:
ρ = m/V
Suppose:
m = 120 g
V = 40 cm³
Substitute:
ρ = 120/40
Therefore:
ρ = 3 g/cm³
The result means that each cubic centimeter of the material has a mass of 3 g.
Weight
Weight can be calculated using:
W = mg
Suppose:
m = 10 kg
and:
g = 9.8 N/kg
Substitute:
W = (10)(9.8)
Therefore:
W = 98 N
This represents the gravitational force acting on the object.
Kinetic Energy
Kinetic energy is:
Eₖ = 1/2 mv²
Suppose:
m = 4 kg
and:
v = 6 m/s
Substitute:
Eₖ = 1/2(4)(6²)
Evaluate the exponent:
Eₖ = 1/2(4)(36)
Therefore:
Eₖ = 72 J
Notice that the velocity must be squared before completing the multiplication.
Gravitational Potential Energy
Gravitational potential energy near Earth's surface is:
Eₚ = mgh
Suppose:
m = 3 kg
g = 9.8 N/kg
h = 5 m
Substitute:
Eₚ = (3)(9.8)(5)
Therefore:
Eₚ = 147 J
Electrical Power
Electrical power can be calculated using:
P = VI
Suppose:
V = 12 V
and:
I = 3 A
Substitute:
P = (12)(3)
Therefore:
P = 36 W
Temperature Conversion
The relationship between Celsius and Fahrenheit is:
F = (9/5)C + 32
Suppose:
C = 25°C
Substitute:
F = (9/5)(25) + 32
Calculate:
F = 45 + 32
Therefore:
F = 77°F
Real-World Cost Expressions
Suppose a taxi charges:
- $5 starting fee
- $3 per kilometer
The total cost can be represented by:
C = 3d + 5
where d is the distance traveled in kilometers.
If:
d = 8 km
substitute:
C = 3(8) + 5
C = 24 + 5
Therefore:
C = $29
Interpreting the Result
A good solution should not stop at:
C = 29
Instead say:
The taxi fare for an 8 km journey is $29.
This connects the mathematical result to the original situation.
Shopping Example
A store sells notebooks for $4 each and charges $6 for delivery.
Total cost:
C = 4n + 6
where n is the number of notebooks.
For:
n = 7
substitute:
C = 4(7) + 6
C = 28 + 6
Therefore:
C = $34
So seven notebooks cost $34 including delivery.
Earnings Example
Suppose a worker earns a fixed $50 plus $18 per hour.
Their earnings can be represented by:
E = 18h + 50
For:
h = 6
substitute:
E = 18(6) + 50
E = 108 + 50
Therefore:
E = $158
Distance Example
A cyclist starts 5 km from a reference point and travels at 12 km/h.
Position after t hours:
d = 12t + 5
After:
t = 3 hours
substitute:
d = 12(3) + 5
d = 36 + 5
Therefore:
d = 41 km
The cyclist is 41 km from the reference point.
Substitution in Tables
Expressions can be evaluated for several values and organized in a table.
Consider:
y = 2x + 1
| x | y = 2x + 1 |
|---|---|
| −2 | −3 |
| −1 | −1 |
| 0 | 1 |
| 1 | 3 |
| 2 | 5 |
For example, when x = −2:
y = 2(−2) + 1
y = −3
Tables help show how one variable changes in response to another.
Substitution and Graphs
The points from a table can be plotted.
For:
y = 2x + 1
some points are:
(−2, −3)
(−1, −1)
(0, 1)
(1, 3)
(2, 5)
Substitution therefore helps us generate coordinates for graphs.
Checking Solutions to Equations
Substitution is also used to determine whether a value is a solution to an equation.
Is:
x = 4
a solution to:
3x + 2 = 14?
Substitute:
3(4) + 2 = 14
12 + 2 = 14
14 = 14
The statement is true.
Therefore:
x = 4 is a solution.
When the Value Is Not a Solution
Is:
x = 5
a solution to:
2x + 3 = 15?
Substitute:
2(5) + 3 = 15
13 = 15
This is false.
Therefore:
x = 5 is not a solution.
Checking Multi-Step Equation Solutions
Suppose we solve:
4x + 7 = 31
and obtain:
x = 6
Check by substitution:
4(6) + 7 = 31
24 + 7 = 31
31 = 31
Therefore the solution is verified.
Substitution is one of the best ways to detect algebraic errors.
Substitution Does Not Mean Solving
Suppose:
3x + 5
and we are told:
x = 7
We are evaluating an expression:
3(7) + 5 = 26
We are not solving for x because its value was already provided.
By contrast:
3x + 5 = 26
requires us to solve for x.
Formula Substitution Versus Formula Rearrangement
Suppose:
F = ma
and m and a are known.
We can substitute directly:
m = 5 kg
a = 3 m/s²
F = (5)(3) = 15 N
But if F and m are known and a is unknown, we first need to rearrange or solve:
F = ma
a = F/m
Then substitute.
Recognizing what is known and what is unknown is an important problem-solving skill.
Dimensional Meaning
When substituting into formulas, units help us understand the result.
For:
v = d/t
if:
d = 100 m
and:
t = 20 s
then:
v = 100 m / 20 s
v = 5 m/s
The units show that the answer represents speed.
Consistent Units
Before substitution, quantities sometimes need to be converted into compatible units.
Suppose:
v = d/t
with:
d = 500 m
and:
t = 2 minutes
If we want speed in m/s, convert:
2 min = 120 s
Then:
v = 500/120
v ≈ 4.17 m/s
Using incompatible units without conversion can produce misleading results.
Estimating Before Calculating
Estimation can help detect mistakes.
Suppose:
C = 7.95n + 4
and:
n = 10
Before calculating exactly, estimate:
8 × 10 + 4 ≈ 84
Exact calculation:
C = 7.95(10) + 4
C = 79.50 + 4
C = 83.50
The exact answer is close to the estimate, so it appears reasonable.
Calculator Use
Calculators are useful for complicated substitutions, but the substitution should still be shown clearly.
For example:
Eₖ = 1/2 mv²
with:
m = 7.5 kg
and:
v = 4.8 m/s
Write:
Eₖ = 1/2(7.5)(4.8²)
before entering the calculation.
This makes it possible to check whether the values were substituted correctly.
A Longer Algebraic Example
Evaluate:
3x² − 2xy + y²
when:
x = −2
and:
y = 3
Substitute:
3(−2)² − 2(−2)(3) + (3)²
Evaluate powers:
3(4) − 2(−2)(3) + 9
Multiply:
12 + 12 + 9
Therefore:
33
Careful use of parentheses prevents sign errors.
A Real-World Formula Example
Suppose the distance traveled by an object is modeled by:
d = 5t² + 2t
where d is in meters and t is in seconds.
Find the distance at:
t = 3 s
Substitute:
d = 5(3)² + 2(3)
d = 5(9) + 6
d = 45 + 6
Therefore:
d = 51 m
Interpretation:
After 3 seconds, the object has traveled 51 m according to the model.
Common Mistakes
Mistake: Forgetting multiplication.
If:
x = 4
then:
3x
means:
3(4)
not:
34
Mistake: Forgetting parentheses around negative values.
For x = −3:
x² = (−3)² = 9
Mistake: Ignoring the order of operations.
For:
2x²
with x = 3:
2(3²) = 18
not:
(2 × 3)² = 36
Mistake: Substituting into only one occurrence of a variable.
For:
x² + 3x
with x = 2:
both x values must be replaced:
(2)² + 3(2)
Mistake: Mixing up variables.
If x = 3 and y = 5, substitute each value into the correct location.
Mistake: Forgetting units in formulas.
A science calculation should usually end with an appropriate unit.
Mistake: Giving only a number in a real-world problem.
Interpret what the result represents.
Mistake: Using inconsistent units.
Convert quantities when necessary before substituting.
Key Terms
Substitution — replacing a variable with a known value.
Evaluate — calculate the numerical value of an expression.
Variable — letter or symbol representing a quantity.
Expression — combination of numbers, variables, and mathematical operations.
Formula — equation expressing a relationship between quantities.
Order of operations — agreed sequence for performing mathematical operations.
Coefficient — numerical factor multiplying a variable.
Exponent — number showing how many times a quantity is used as a factor.
Equivalent expressions — expressions that have the same value for every permissible value of their variables.
Solution — value that makes an equation true.
Verification — checking a solution, often through substitution.
Interpretation — explaining the meaning of a calculated value in context.
Model — mathematical representation of a real situation.
Unit — standard measurement associated with a quantity.
Estimate — approximate calculation used to judge the expected size of an answer.
Key Takeaways
- Substitution means replacing a variable with a known value.
- Evaluation means calculating the result after substitution.
- Use parentheses around substituted values, especially negative numbers.
- Every occurrence of the variable must be replaced.
- After substitution, follow the normal order of operations.
- Exponents must be evaluated correctly.
- Negative values require particular care when powers are involved.
- Expressions may contain several variables with different assigned values.
- Fractions and decimals can be substituted just like whole numbers.
- Equivalent expressions should produce the same value for the same variable values.
- Substitution can help check algebraic simplification.
- Substitution can verify whether a value solves an equation.
- Mathematical formulas are evaluated by substituting known quantities.
- Geometry formulas use substitution to calculate areas, perimeters, and other measurements.
- Physics formulas use substitution to calculate quantities such as speed, force, density, energy, and power.
- Real-world expressions can model costs, earnings, distances, and other quantities.
- Units should be included when interpreting calculated results.
- Units must sometimes be converted before substitution.
- Estimates can help determine whether an answer is reasonable.
- A final answer should explain what the calculated number means in its original context.
- Substitution is a foundational skill used throughout algebra, geometry, science, statistics, and many real-world applications.
Check Your Understanding
- What does substitution mean in algebra?
- What is the difference between substitution and evaluation?
- Evaluate 3x + 5 when x = 4.
- Evaluate 7x − 2 when x = 6.
- Evaluate x² + 4 when x = 5.
- Evaluate x² + 3x − 2 when x = −2.
- Evaluate 2x + 3y when x = 4 and y = 5.
- Evaluate x² + xy + y² when x = 3 and y = 2.
- Why should parentheses be used when substituting negative values?
- Explain the difference between (−4)² and −4².
- Use A = lw to calculate the area of a rectangle with length 9 cm and width 6 cm.
- Use A = 1/2 bh to calculate the area of a triangle with base 12 cm and height 7 cm.
- Use v = d/t to calculate the speed of an object that travels 240 m in 30 s.
- Use F = ma to calculate the force on a 7 kg object accelerating at 3 m/s².
- Use ρ = m/V to calculate the density of a 150 g object with a volume of 50 cm³.
- Use Eₖ = 1/2 mv² to calculate the kinetic energy of a 5 kg object moving at 4 m/s.
- A taxi fare is modeled by C = 4d + 6. Calculate and interpret C when d = 8 km.
- Determine whether x = 5 is a solution of 4x + 3 = 23 by substitution.
- Explain why units may need to be converted before values are substituted into a formula.
- Describe a systematic method for substituting values into a complicated expression and evaluating it accurately.