Algebra is a mathematical language used to generalise patterns and relationships that we observe in the world around us.
As an example of how algebra is used, we will consider the perimeter of a square:
We know that the perimeter of a shape is the total distance around its edge. We also know that a square has four equal sides.
To create a model that will represent any square (i.e. a generalised square) we will use the variable $m$m to represent the length of each side.
We can then form a general expression for the perimeter of any square:
Perimeter | $=$= | $m+m+m+m$m+m+m+m |
(Add together the length of each side) |
$=$= | $4m$4m |
(Simplify) |
If we want to evaluate the perimeter of a particular square, we simply substitute a value for $m$m into the expression $4m$4m:
Perimeter | $=$= | $4m$4m |
|
$=$= | $4\times6$4×6 |
(Substitute $m=6$m=6) |
|
$=$= | $24$24 cm |
|
Perimeter | $=$= | $4m$4m |
|
$=$= | $4\times10$4×10 |
(Substitute $m=10$m=10) |
|
$=$= | $40$40 cm |
|
So $4m$4m is a general expression for the perimeter of any square, and substituting a value for $m$m will give us the perimeter of a particular square.
In algebra, we use letters in combination with numbers and other mathematical symbols to create expressions, equations or formulas that model a particular problem or situation. This makes it much easier to understand the problem and to find a solution.
The letters represent variables (values that change) or constants (values that stay the same). These letters are sometimes referred to as pronumerals or unknowns.
In the exploration above, the side length of our square was initially unknown, because our model was used to represent all possible squares. We could have chosen any letter to represent the side length. The important thing is that we defined what the letter represented before we created an expression.
The language of algebra has been designed for clear and efficient communication of mathematical ideas. It is a language understood anywhere in the world and is based on the following conventions:
To evaluate an expression, equation or formula, we substitute values for the variables. Substitution means we replace each occurrence of a letter with a particular value.
Use the following applet to practise evaluating an expression given the value of $x$x.
|
If $x=3$x=3, evaluate $6x-4$6x−4.
Think: This means we replace every $x$x in the expression with the number $3$3.
Do:
When $x=3$x=3, | |||
$6x-4$6x−4 | $=$= | $6\times3-4$6×3−4 |
(Substitute $x=3$x=3) |
$=$= | $18-4$18−4 |
|
|
$=$= | $14$14 |
|
If $x=6$x=6 and $y=0.5$y=0.5, evaluate $6x-2y-12$6x−2y−12.
Think: Just like before, we replace the letter $x$x with the number $6$6, and the letter $y$y with the number $0.5$0.5. Make sure to use the correct order of operations when evaluating the expression.
Do:
When $x=6$x=6 and $y=0.5$y=0.5, | |||
$6x-2y-12$6x−2y−12 | $=$= | $6\times6-2\times0.5-12$6×6−2×0.5−12 |
(Substitute $x=6$x=6 and $y=0.5$y=0.5) |
$=$= | $36-1-12$36−1−12 |
|
|
$=$= | $23$23 |
|
If $p=-4$p=−4 and $q=-5$q=−5, evaluate $p-q^2$p−q2:
Think: Once again, we will replace $p$p with $-4$−4 and $q$q with $-5$−5 in the expression.
Do:
When $p=-4$p=−4 and $q=-5$q=−5, | |||
$p-q^2$p−q2 | $=$= | $-4-\left(-5\right)^2$−4−(−5)2 |
(Substitute $p=-4$p=−4 and $q=-5$q=−5) |
$=$= | $-4-25$−4−25 |
|
|
$=$= | $-29$−29 |
|
Reflect: Notice that in this case the variable $q$q is squared. When we replace $q$q with a negative number, we place it inside a pair of brackets, to make it clear that the value being squared is negative. It also helps us avoid any confusion with the subtraction sign immediately before it in the expression.
When we substitute negative values into expressions, it can be helpful to enclose the negative value in a pair of brackets. This is particularly important when the negative value is being raised to a power or when an operator like $+$+, $-$− or $\times$×, comes immediately before it in the expression.
Some patterns and relationships are described by more complex expressions. Here are a few examples:
Notice that these expressions involve more than one operation, and sometimes more than one variable, so we need to make sure we follow the correct order of operations when substituting values.
Find the value of the expression $0.02\left(y-20000\right)$0.02(y−20000) when $y=30000$y=30000:
Solution
When $y=30000$y=30000, | |||
$0.02\left(y-20000\right)$0.02(y−20000) | $=$= | $0.02\left(30000-20000\right)$0.02(30000−20000) |
(Substitute $y=30000$y=30000) |
$=$= | $0.02\times10000$0.02×10000 |
|
|
$=$= | $200$200 |
|
Find the value of the expression $160-15x$160−15x when $x=2$x=2:
Solution
When $x=2$x=2, | |||
$160-15x$160−15x | $=$= | $160-15\times2$160−15×2 |
(Substitute $x=2$x=2) |
$=$= | $160-30$160−30 |
|
|
$=$= | $130$130 |
|
Find the value of the expression $\sqrt{\frac{hw}{3600}}$√hw3600 when $h=160$h=160 and $w=60$w=60. Round your answer to two decimal places if necessary.
Solution
When $h=160$h=160 and $w=60$w=60, | |||
$\sqrt{\frac{hw}{3600}}$√hw3600 | $=$= | $\sqrt{\frac{160\times60}{3600}}$√160×603600 |
(Substitute $h=160$h=160 and $w=60$w=60) |
$=$= | $\sqrt{\frac{9600}{3600}}$√96003600 |
|
|
$=$= | $1.632$1.632... |
|
|
$=$= | $1.63$1.63 (2 d.p.) |
(Round to two decimal places) |
If $m=-3$m=−3 and $n=4$n=4, evaluate the following:
$mn-\left(m-n\right)$mn−(m−n)
$m^2+9n$m2+9n
Evaluate $\frac{2a\times9}{5b}$2a×95b when $a=25$a=25 and $b=-2$b=−2.
Find the exact value in simplest form.
Consider the expression $x\left(3y+4\right)+42$x(3y+4)+42.
Evaluate $x\left(3y+4\right)+42$x(3y+4)+42 at $x=4$x=4 and $y=-2$y=−2.
Evaluate $x\left(3y+4\right)+42$x(3y+4)+42 at $x=-43$x=−43 and $y=-1$y=−1.