CommonDocs.org

Variables and Substitution

In Algebra, and other fields of mathematics, a variable is a placeholder, which represents an unknown quantity. Variables are usually represented with a letter. At a simple level, you can think of them like containers that hold numbers we're trying to figure out.

Variables are powerful, essential tools in the math, science, and computing fields. But before we get into some potential uses of variables, let's examine some more basic concepts.

Now consider this equation, where the value of 4 is replaced with the variable 𝑥.

Consider the following equation: 6+4=106+4=10

6+x=106+x=10

What does the variable xx equal in the above equation?

𝑥 must equal 4, because 4 is the only potential value that satisfies 6+x=106+x=10

Notice that the variable 𝑥 is displayed in a lower case stylized script or cursive font. This is commonly how variables are shown in academic materials. You do not need to write them this way, if you don't know cursive or if your handwriting isn't the best. A lower case letter written however you normally would write it will suffice, unless your teacher specifically asks you to write them stylized.

Now, look at this equation: 10−y=510-y=5

What must the variable 𝑦 equal in the above equation?

It may be helpful to ask yourself the question, 10 minus what equals five? Ten minus five equals five.

So the solution to the equation is: y=5y=5

Substitution

Substitution means replacing one thing with another. The following examples show how to substitute values in for variables.

Example 1:

Given x=1x=1 solve the following expression.

Expression: 5+x5+x

Substitute 11 in for xx

5+15+1

Then solve.

5+1=65+1=6

5+x=65+x=6

Example 2:

Given y=5y=5 solve the following expression.

Expression: y+8y+8

Substitute 5 in for yy

5+85+8

Solve it.

5+8=135+8=13

y+8=13y+8=13

Example 3:

Given x=5x=5 and y=2y=2, solve the following expression:

Expression: x×yx\times y

Substitute 5 in for xx and 2 in for yy, rewrite the expression.

5×25 \times 2

Solve it.

5×2=105 \times 2 = 10

x×y=10x \times y = 10

Example 4:

Given: x=10,y=5,z=5x=10, y=5, z=5 Solve the following expression

Expression: 5x−3yz5x−3yz

Substitute: 5(10)−3(5)55(10)−3(5)5

Solve:
5×10−3×5×55\times10−3\times5\times5

50−7550−75

−25-25

Review Questions: Substitution

Given a=5,b=2,c=7a=5, b=2, c=7 evaluate the following expressions.

r1. Evaluate

5×a5\times a

r2. Evaluate

3×c−a3\times c-a

r3. Evaluate

b+a+c−5b+a+c-5

More in Algebra

Order Precedence (Order of Operations)

Order Precedence tells us the order in which we need to evaluate mathematical equations. It is also widely known as the order of operations. The Order of…

Read guide
Was this guide useful?

Spotted a mistake? Select the sentence in the guide and choose “Suggest a fix”.

Comments

Found an error? instead, it reaches me faster.

No comments yet. Questions and corrections are welcome.