Quelpr

CSEC Mathematics · algebra

Substitution in Algebraic Expressions

Learn how to replace variables with given numbers and calculate the resulting value accurately using the correct order of operations.
12 min Syllabus: substitute numerical values for variables in algebraic expressions

Before you start

In symbolic representation, letters (variables) stand in for unknown numbers. Basic operations with directed numbers (positive and negative numbers) and the BIDMAS order of operations form the foundation of this topic.

Builds on: Symbolic Representation

1. The Golden Rule: Substitute Using Brackets

To evaluate an algebraic expression means to find its numerical value when each variable is replaced by a specific number.

Whenever you substitute a number into an expression, always put the number inside brackets. For instance, if x=−4, write 3x as 3(−4), which clearly means 3×(−4)=−12. If you write 3−4, you might accidentally subtract instead of multiply!

Always follow the order of operations (BIDMAS / BODMAS):

  • Brackets first
  • Indices (powers and roots)
  • Division and Multiplication (from left to right)
  • Addition and Subtraction (from left to right)

Worked example

Given that p=4, q=−3, and r=5, evaluate the expression 3p−2q+r.

  1. Replace each variable with its value inside brackets: 3(4)−2(−3)+(5)
  2. Perform the multiplications first: 3×4=12 and 2×(−3)=−6, giving 12−(−6)+5
  3. Subtracting a negative is the same as adding: 12+6+5
  4. Complete the additions from left to right: 18+5=23

Answer: 23

Quick check

If a=3 and b=−4, find the value of 5a−2b+1.

2. Handling Powers and Directed Numbers

Expressions often include exponents, such as x2 or y3. Take special care when substituting negative numbers into powers:

  • A negative number raised to an even power gives a positive result: (−3)2=(−3)×(−3)=9.
  • A negative number raised to an odd power gives a negative result: (−2)3=(−2)×(−2)×(−2)=−8.

Notice also the crucial difference in coefficient terms:

  • In 2x2, only x is squared. If x=−4, then 2x2=2(−4)2=2(16)=32.
  • The power applies only to the base inside the bracket, not the multiplier in front.

Worked example

Given that x=−2, y=5, and z=−3, evaluate y−2x3x2+yz​.

  1. Substitute each variable using brackets: (5)−2(−2)3(−2)2+(5)(−3)​
  2. Evaluate the power in the numerator: (−2)2=4, so 3(4)=12
  3. Multiply the remaining terms in the numerator: (5)(−3)=−15
  4. Simplify the numerator: 12+(−15)=12−15=−3
  5. Simplify the denominator: 5−2(−2)=5−(−4)=5+4=9
  6. Divide numerator by denominator and simplify the fraction: 9−3​=−31​

Answer: −31​

Quick check

If p=−3 and q=2, what is the value of p3+4q2?

3. Fractions, Roots, and Formula Contexts

CSEC exam questions often present substitution within formulas or expressions involving square roots and fractions.

Keep two key ideas in mind:

  • Radical signs as grouping symbols: In an expression like √a2+2bc​, work out everything inside the square root before taking the root.
  • Fraction bars as grouping symbols: Treat the entire numerator and the entire denominator as though each is wrapped in brackets. Evaluate both completely before dividing.

You may also see equations of straight lines, where you substitute a given coordinate to find an unknown value.

Worked example

Given that a=6, b=−4, and c=−8, calculate the value of √a2+2bc​.

  1. Substitute the given numbers using brackets under the radical: √(6)2+2(−4)(−8)​
  2. Square the first term: (6)2=36
  3. Multiply the directed numbers: 2×(−4)×(−8)=2×32=64
  4. Add the values under the square root: √36+64​=√100
  5. Take the principal square root: √100=10

Answer: 10

Quick check

Given that x=8, y=−3, and z=3, evaluate √x2−4yz​.

Common mistakes

  • Omitting brackets when squaring a negative number: writing −32=−9 instead of (−3)2=9. On many scientific calculators, typing -3^2 gives -9 because the calculator squares before applying the negative sign. Always enter (-3)^2.
  • Confusing multiplication with subtraction: writing 4x when x=−2 as 4−2=2 instead of 4(−2)=−8.
  • Multiplying before applying powers: calculating 2x2 when x=3 as (2×3)2=62=36. According to BIDMAS, powers come before multiplication: 2(32)=2(9)=18.

In the exam

  • Always write out the first line showing the expression with empty brackets filled in with your numbers. CSEC examiners award Method marks (M marks) for correct substitution even if you make an arithmetic error later.
  • Work downwards line by line with one equals sign per line. This keeps your working neat and makes it easy to track negative signs.
  • Leave fractional answers in simplest form (e.g. 94​ or 221​), rather than converting to a rounded decimal, unless the question specifies otherwise.

Key terms

Substitution
Replacing letters (variables) in an algebraic expression with given numerical values.
Evaluate
To calculate the final numerical value of an expression after substituting numbers for variables.
Variable
A letter or symbol that represents an unknown or changing quantity in mathematics.
Directed Numbers
Numbers that have both a size and a direction (positive or negative sign).

Practice

Easier to harder. Use paper for your working.

Practice 1

If u=5 and v=−2, find the value of 3u2−4v.

Practice 2

If m=−2, n=3, and k=2, evaluate (nm​)k.

Practice 3

The equation of a straight line is given by 4x−3y=7. A point K with coordinates (w,−5) lies on this line. Determine the value of w.

Now try real past-paper questions

3 Paper 2 questions and 3 Paper 1 multiple-choice on this topic. Quelpr marks your working point by point, like an examiner.

  • CSEC Mathematics · 2021 · Paper 2 · Q2 2(a)(i) · 1 markTwo quantities, n and T, are related as follows: n=√T. Find the value of n when T=49.
  • Mathematics Q1 1(b)(i) · 1 markJenny works at Sammy's Restaurant and is paid according to a weekly wage agreement: Basic wage 600.00PLUS0.90 for each customer served. In a week when Jenny serves n…
  • Mathematics Q4 4(a)(iii) · 2 marksThe equation of a straight line, l, is given as 3x - 4y = 5. The point P with coordinates (r, 2) lies on the line l. Determine the value of r.

Finished the lesson?

0 of 6 checks right on this device.

Read more

  • Collins - Concise Revision Course for CSEC Mathematics, p. 154
  • Mathematics for CSEC, p. 52
  • CSEC Maths Study Guide - Maths Crash Course, p. 138
  • CXC Study Guide - Mathematics for CSEC, p. 89
  • algebra-and-trigonometry-2e_-_WEB, p. 27