How do you substitute a number into an algebraic expression?

To substitute a number into an algebraic expression, all you need to do is re-write the expression in exactly the same way, except replacing the variable (letter) with the number. It always makes it clearer to put the number in brackets too. Then you can simplify your new expression and you have your answer!

Let's have a look at an example.

3x+7 where x = 5

So here, x is the variable and you are substituting in the number 5. All you do is write back the expression but with 5 instead of x. And don’t forget those brackets!

3(5) + 7

Now to simplify, just multiply out the brackets and add the 7:

3 x 5 + 7

= 15 + 7

= 22

And that’s your answer!

How about a harder example:

2y2 – 3y + 4 where y = 2

You do this one in exactly the same way, but this time the variable is y and the number is 2. So, write back the expression with 2 (in brackets!) instead of y:

2(2)2 – 3(2) + 4

And simplify… remember, always do the brackets first:

2 x 22 – 3 x 2 + 4

= 2 x 4 – 3 x 2 + 4

Multiplication always comes before addition and subtraction:

= 8 – 6 + 4

= 6

One more example, this time with two variables.

4x2 – y2 + 2xy where x = - 3 and y = 4

You have to be a bit more careful with this one – make sure you include the negative sign in the brackets when you replace x with (-3) and instead of y, write 4.

4(-3)2 – (4)2 + 2(-3)(4)

Start simplifying…

= 4 x (-3)2 – (4)2 + 2 x -3 x 4

Remember when you square a negative number you get a positive solution:

= 4 x 9 – 16 + 2 x -3 x 4

= 36 – 16 + (-24)

= - 4

Answered by Bethany H. Maths tutor

39021 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

A rectangle has the side lengths root6m and root3m, what is the area of the rectangle in its simplest form.


A rectangle has an area of 20 cm^2.  Its length and width are enlarged by scale factor 3.  Find the area of the enlarged rectangle.


How do I work out the length of sides on a right-angle triangle?


The normal price of a television is £1200. It is reduced to £970. Work out the percentage reduction. Give your answer to 1 decimal place.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences