Lesson Library> Introduction to Algebra

Introduction to Algebra

Introduction - A Variable Denotes an Unknown Number

Imagine that you want to solve the following problem:

Three friends, each with a bag of coins, exchange coins as follows: Ulf gives Stuart and Erik enough coins to double their holdings. Stuart then gives Ulf and Erik enough coins to double their holdings. Finally, Erik gives Ulf and Stuart enough coins to double their holdings. Erik had 36 gold coins from the beginning and 36 gold coins after the last transaction. How many gold coins do the three friends have in total? (Pythagoras Quest, District Final 2012, Part 1 Problem 6)

How would you do that? The problem contains various unknown values: we do neither know how many coins Ulf has, nor how many gold coins Stuart has. It can seem impossible to solve the problem since so many values are unknown, but many mathematical problems are similar to this one. To find unknown values is something recurring in mathematics, and there are methods that can help you solve such problems. In this lesson, you will learn about these methods. We will start by looking at how we can handle unknown numbers with the help of something that is called a variable. 

When solving mathematical problems, we often have to do calculations with an unknown number. For example, an exercise can lead to a calculation that looks like this: $[] - 2 = 4 $. The empty box means that we have an unknown number, and our goal is to find this number. When we do that, we can reason as follows: the unknown number must be $2$ greater than $4$, since if we subtract $2$ from it, we get $4$. Therefore, the unknown number must be $4 + 2 = 6$. If we replace the empty box with $6$, we get $6 - 2 = 4 $. That is true, and then we know that the empty box denotes the number $6$. 


Exercise 1

Which number does the empty box denote?

a) $45 + [] = 61 $

b) $37 - [] = -7 $

c) $[] \cdot 5 = 15$

a) The unknown number must be $45$ less than $61$, since we have to add $45$ to the number in order to get $61$. Therefore, the unknown number must be $61 - 45 = 16$.
Answer: The empty box denotes the number $\mathbf{16}$, since $45 + 16 = 61$.
b) The unknown number must be $7$ greater than $37$, since if we subtract it from $37$, we get $-7$. Therefore, the unknown number must be $37 + 7 = 44$.
Answer: The empty box denotes the number $\mathbf{44}$ , since $37 - 44 = -7$.
c) The unknown number must be $\frac {1} {5}$ of $15$, since we have to multiply the number by  $5$ in order to get $15 $. Therefore, the unknown number must be $\frac {15} {5} = 3$. 
Answer: The empty box denotes the number $\mathbf{3}$, since $3 \cdot 5 = 15$.


As we can see in Exercise 1, we have to write a lot to explain how we find the unknown value. We have to write “the unknown number” or “the empty box” all the time so that the person looking at our solution understands what we mean. Furthermore, it can get very messy if an exercise contains various unknown numbers. If we denote all of them by an empty box, we won’t be able to keep track of which one is which. Therefore, we use something that is called variables.

A variable is a number that has an unknown value. Variables are commonly denoted by letters. Usually, we use x and y, but they could be named a, b, c, etc. as well. The advantages of using variables are that it takes less time to write a letter than it takes to draw an empty box, and that we can use different variables to denote different unknown numbers. 

Now that we know that variables are numbers with unknown values, we have to find a word for numbers with known values. They are called constants or constant numbers. All the numbers on the number line are constants. A bit plainly, we can say that a constant is the “opposite” of a variable, since a constant has a definite value, whereas the value of a variable is indefinite. 

Let’s look at exercise 1a) again. There, we wanted to find the unknown number that the empty box in $45 + [] = 61$ denotes. Now that we know that variables are used to denote unknown numbers, we can replace the empty box with “$x$”. Then we write $45 + x = 61$, and our goal is to find the value of $x$. We can do that as follows: 

$x$ must be $45$ less than $61$, since we have to add $45$ to $x$ to get $61$. Therefore, $x$ must be $61 - 45 = 16$. 

Answer: $\mathbf{x = 16}$.

If we do this, we have to write much less, and the calculations become much clearer, since we can always write $x$ instead of “the unknown number” or “the empty box”.

Let’s look at the problem with the three friends again. We know that Erik had $36$ coins in the beginning, but the amount of coins that Ulf and Stuart had from the beginning is unknown. Then, we can denote these amounts by variables: $u$ can denote the amount of coins that Ulf had from the beginning, and $s$ can denote the amount that Stuart had from the beginning. We know that Ulf gives Stuart and Erik enough coins to double their holdings. But how can we write that? How can we do calculations with variables?


Calculations with One Variable

Variables are numbers, or more specifically, they denote numbers. What does this say about the calculation rules for variables? Do you think that the same rules could apply to both variables and constant numbers? If you answer yes to that question, you are absolutely right, and in this section, you will learn more about how to use these rules. 

When we add the same number to itself multiple times, we do a multiplication. For example, $3 + 3 + 3 + 3$ can be written as $3 \cdot 4$. We can do the same thing with variables: for example, $x + x + x + x$ is the same as $x \cdot 4$. 

Multiplication of numbers is commutative. That means that we can multiply the same numbers in whichever order we want, and still get the same product. For example, $3 \cdot 2 = 2 \cdot 3 = 6$. The same goes for variables. For instance, $x \cdot 3 = 3 \cdot x$, where $x$ denotes any number. 

Something that is different for variables is that we can omit the multiplication sign between a constant and a variable. So, we can for example write $3a $ instead of $3 \cdot a$ or $4x$ instead of $x + x + x + x$.

$4x$ equals $x4$, since multiplication of numbers is commutative, but we usually write such products as $4x$ and not as $x4$. 

Variables can be added in the same way as constant numbers. For example, $14 + 16 = 30 $. In the same way, $14x + 16x = 30x $. We don’t know the value of $x$, but if we have got $14$ pieces of $x$ and $16$ pieces of $x$, that makes $30$ pieces of $x$ in total. 

Subtraction of variables works the same way. Just like $30 - 16 = 14$, $30x - 16x = 14x$.

Earlier, we have looked at how an addition of variables can be written as a multiplication. We can also examine what happens when variables and constant numbers are multiplied by each other. We already know that $3 \cdot x = 3x $. But what happens when we for example want to calculate $5 \cdot 3x $? Than, we can do as follows:

$ 5 \cdot 3x = 5 \cdot 3 \cdot x = 15 \cdot x = 15x $

When we do such calculations, we have to remember that multiplication of both constants and variables is commutative. It doesn’t matter how many factors we have and if they are constants or variables. As long as we are only doing multiplication, we can write the factors in any order we want without changing the value of the product. So, for example we have:

$ 5 \cdot x \cdot 3 = 5 \cdot 3 \cdot x = 15 \cdot x = 15x $

When we do calculations with constants, we can’t divide by $0 $. So what happens if we divide a constant or a variable by another variable? Take $ \frac {10}{x} $ for example. Since $x $ has an unknown value, we don’t know whether or not $x = 0 $, and it is possible that we divide $10 $ by $0 $ if we divide it by $x $. So, if we don’t want our calculations to be wrong, we shouldn’t divide by $x $ if we aren’t certain that the value of $x $ isn’t $0 $. 


Exercise 1

Simplify the following sums as far as possible.

a) $ 3 \cdot x - x + 4 \cdot x + x + x $

b) $16a + 27a - 11a + 3 $

c) $69z + 888 - 33z + 14z - 20 $

a) $ 3 \cdot x - x + 4 \cdot x + x + x = \\ = 3 \cdot x + 4 \cdot x - x + x + x = \\ = 3 \cdot x + 4 \cdot x - 1 \cdot x + 1 \cdot x + 1 \cdot x = \\ = 8 \cdot x = \mathbf{8x} $

b) $16a + 27a - 11a + 3 = \mathbf{32a + 3} $

c) $69z + 888 - 33z + 14z - 20 = \\ = 69z - 33z + 14z + 888 - 20 = \mathbf{50z + 868} $


Exercise 2

Simplify the following products as far as possible. 

a) $7x \cdot 5 $

b) $3 \cdot 6 \cdot 2x $

c) $8 \cdot 3q \cdot 10 $

a) $7x \cdot 5 = 7 \cdot x \cdot 5 = 7 \cdot 5 \cdot x = 35 \cdot x = \mathbf{35x} $
b) $3 \cdot 6 \cdot 2x  = 3 \cdot 6 \cdot 2 \cdot x = 36 \cdot x = \mathbf{36x}$
c) $8 \cdot 3q \cdot 10  = 8 \cdot 3 \cdot q \cdot 10 = 8 \cdot 3 \cdot 10 \cdot q = 240 \cdot q = \mathbf{240q} $


Exercise 3

Simplify the following calculations as far as possible. 

a) $\frac {400} {4x} $

b) $\frac {4x} {35} + \frac {66x} {35}  $

c) $\frac {2x} {25} \cdot \frac {10} {4x} $

d) $\frac {\dfrac {43} {2} } {\dfrac {9x} {2} } $

a) Fractions that contain variables can be expanded and simplified in the same way as fractions that contain constants. As long as both the numerator and the denominator are multiplied or divided by the same number, the fraction has the same value. Therefore, we can do as follows:
$$ \frac {400} {4x} = \frac { \dfrac {400} {4} } { \dfrac {4x} {4} } = \mathbf{\frac {100} {x}} $$
b) If several fractions that contain variables have the same denominator, we can do subtraction and addition on them by only doing calculations on the numerators. Therefore, we can do as follows:  
$$ \frac {4x} {35} + \frac {66x} {35} = \frac {4x + 66x} {35} = \frac {70x} {35} = \mathbf{2x} $$
c) When we want to multiply fractions that contain variables, we can use the same rule as the one that applies to multiplication with fractions containing constants: we multiply the numerators and the denominators with each other:
$$ \frac {2x} {25} \cdot \frac {10} {4x} = \frac {2x \cdot 10} {25 \cdot 4x} = \frac {2 \cdot x \cdot 10} {25 \cdot 4 \cdot x} = \frac {2 \cdot 10 \cdot x} {100 \cdot x} = \\ = \frac {20 \cdot x}  {100 \cdot x} = \frac {20} {100} \cdot \frac {x} {x} = \frac {1} {5}  \cdot 1 = \mathbf{\frac {1} {5}}  $$
d) When we want to do division with fractions that contain variables, we can do it the same way as when we do division with fractions containing constants. We multiply the numerator with the inverse of the denominator:  
$$ \frac {\dfrac {43} {2} } {\dfrac {9x} {2} } = \frac {43} {2} \cdot \frac {2} {9x} = \frac {43 \cdot 2} {2 \cdot 9x} = \mathbf{\frac {43} {9x}}  $$


Now that you know a bit about calculations with one variable, we can go further with the exercise from _1. We know that Ulf gives Stuart and Erik enough coins to double their holdings. Then, Ulf will give away as many coins as Stuart and Erik have in total. He will then have $u - s - 36 $ coins left. At the same time, Stuart will have $2s $ coins and Erik will have $36 \cdot 2 = 72 $ coins after they have doubled their holdings. 

After that, Stuart gives Ulf and Erik enough coins to double their holdings. Then, Stuart will give away as many coins as Ulf and Erik have in total, and he will have $2s - (u - s - 36) - 72 $ coins left. Now we have a calculation with several variables. How is that supposed to be done?

Calculations with Several Variables

There are mathematical problems with several unknown values, where we use different variables for different unknown numbers. In those cases, we have to do calculations with different variables. How do you think that is supposed to be done? Can we for example write $2s - (u - s -36) - 72 $ in a simpler way? We can, and in this section, you will learn how!

That addition and multiplication are commutative is a calculation rule for numbers. Since variables denote numbers, this rule applies to them too. For example, $x + y = y + x $ and $x \cdot y = y \cdot x$, where $x $ and $y $ denote any number. Because of that, calculation rules are often written using variables so that we understand that they apply to any number. That “multiplication of numbers is commutative” can be written as $a \cdot b = b \cdot a $, where the variables $a $ and $b $ denote arbitrary numbers. Since the multiplication sign is commonly omitted when multiplying with variables, we can write $ab = ba $. 

Even though $ab = ba $, we commonly write the variables in alphabetical order. That means that we usually write $ab $ and not $ba $, even though both are correct and have the same value. 

When we work with expressions with variables, we want to write them in as simple and as short a way as possible. That is, we want to simplify the expressions. The simplification must apply to all possible values of the variables for it to be valid. An example of an expression that can be simplified is $2x + 3x $. It can be written as $5x $. $2x + 3x = 5x $ is always true, no matter the value of $x $. 

Our goal is usually to simplify expressions as far as possible. That means that we simplify them until they can’t be written in a simpler way. If we write $5x + 4x $ instead of $2x + 3x + 4x $, we haven’t simplified the expression as far as possible, since it can be simplified further according to $5x + 4x = 9x $.

$14x + 16y $ can, unlike $2x + 3x = 5x $ not be simplified. We can’t say anything about how much $14x + 16y $ is in general without knowing how the values of the variables relate to each other. They could have the same value, but they could just as well have different values, and then we can’t add them up. It’s like saying that we have $14 $ pencils and $16 $ candy bars. It is true that we have $30 $ objects in total, but pencils and candy bars are different things, and we can’t add them up to get $30 $ pencils or $30 $ candy bars. 


Exercise 1

Simplify the following sums as far as possible. 

a) $48 \cdot a - 37 \cdot b + a - b + a $

b) $ d - 60 \cdot e + d \cdot 111 - 46 \cdot d + e \cdot 7 $

c) $a + b - ab $


a) $ 48 \cdot a - 37 \cdot b + a - b + a = 48 \cdot a + a + a - 37 \cdot b - b = \\ = 48 \cdot a + 1 \cdot a + 1 \cdot a - 37 \cdot b - 1 \cdot b = 50 \cdot a - 38 \cdot b = \\ = \mathbf{50a - 38b} $

b) $d - 60 \cdot e + d \cdot 111 - 46 \cdot d + e \cdot 7 = \\ = d + d \cdot 111 - 46 \cdot d - 60 \cdot e + e \cdot 7 = \\ = 1 \cdot d + 111 \cdot d - 46 \cdot d - 60 \cdot e + 7 \cdot e = \\ = 66 \cdot d - 53 \cdot e = \mathbf{66d - 53e} $

c) The expression can’t be simplified. If we don’t know how the values of $a $ and $b $ relate to each other, we can’t simplify $a + b - ab$ in a way that is valid for all possible values of $a$ and $b$. That is, we can’t say anything about the value of $a + b - ab$ in general, since it depends on the values of $a$ and $b$.  


Exercise 2

Simplify the following products as far as possible. 

a) $3x \cdot 2 \cdot 7 \cdot a $

b) $a7 \cdot 5b \cdot 3 \cdot \frac {1} {c} $

c) $\frac {8q} {5} \cdot 2 \cdot \frac {u} {2} $


a) $3x \cdot 2 \cdot 7 \cdot a = 3 \cdot x \cdot 2 \cdot 7 \cdot a = \\ = 3 \cdot 2 \cdot 7 \cdot a \cdot x = 42 \cdot a \cdot x = 42 \cdot ax = \mathbf{42ax} $

b) $a7 \cdot 5b \cdot 3 \cdot \frac {1} {c} = \\ = a \cdot 7 \cdot 5 \cdot b \cdot 3 \cdot \frac {1} {c} = 7 \cdot 5 \cdot 3 \cdot a \cdot b \cdot \frac {1} {c} = \\ = 105ab \cdot \frac {1} {c} = \frac {105ab \cdot 1} {c} =\mathbf{\frac{105ab}{c}} $

c) $\frac {8q} {5} \cdot 2 \cdot \frac {u} {2} = \frac {8q} {5} \cdot \frac {2 \cdot u} {2} = \\ = \frac {8q} {5} \cdot u = \frac {8q \cdot u} {5} = \mathbf{\frac {8qu} {5}} $


Exercise 3

Write the following sums above the same fraction bar.

a) $\frac {x} {2} + \frac {7} {y} $

b) $\frac {31a} {5 } + \frac {a} {2} $

c) $\frac {9b} {4} - \frac {b} {a} $


a) $\frac {x} {2} + \frac {7} {y} = \frac {x \cdot y} {2 \cdot y} + \frac {7 \cdot 2} {y \cdot 2} = \frac {xy} {2y} + \frac {14} {2 \cdot y} = \\ = \frac {xy} {2y} + \frac {14} {2y} = \mathbf{\frac {xy + 14} {2y}} $

b) $\frac {31a} {5 } + \frac {a} {2} = \frac {31a \cdot 2} {5 \cdot 2 } + \frac {a \cdot 5} {2 \cdot 5} = \\ = \frac {2 \cdot 31 \cdot a} {10} + \frac {5 \cdot a} {10} = \frac {62a} {10} + \frac {5a} {10} = \frac {62a + 5a} {10} = \mathbf{\frac {67a} {10}} $

c) $\frac {9b} {4} - \frac {b} {a} = \frac {9b \cdot a} {4 \cdot a} - \frac {4 \cdot b} {4 \cdot a} = \\ = \frac {9 \cdot a \cdot b} {4a} - \frac {4b} {4a} = \frac {9ab} {4a} - \frac {4b} {4a} = \mathbf{\frac {9ab - 4b} {4a}} $



Exercise 4

Simplify the following quotients as far as possible. 

a) $ \frac {\dfrac {\dfrac {7b} {3} } {\dfrac {b} {2} } } {a} $

b) $\frac {\dfrac {87v} {9} } {2v} $

c) $ \frac {\dfrac {\dfrac {55f} {g} } {\dfrac {8} {g} } } {11f} } $


a) $\frac {\dfrac {\dfrac {7b} {3} } {\dfrac {b} {2} } } {a} = \frac {\dfrac {7b} {3} \cdot \dfrac {2} {b} } {a} = \\ = \frac {\dfrac {7b \cdot 2} {3 \cdot b} } {a} = \frac {\dfrac {7 \cdot b \cdot 2} {3 \cdot b} } {a} = \frac {\dfrac {7 \cdot 2 \cdot b} {3 \cdot b} } {a} = \\ = \frac {\dfrac {14} {3} } {a} = \frac {14} {3} \cdot \frac {1} {a} = \frac {14 \cdot 1} {3 \cdot a} = \mathbf{\frac {14} {3a}} $

b) $\frac {\dfrac {87v} {9} } {2v} = \frac {87v} {9} \cdot \frac {1} {2v} = \\ = \frac {87v \cdot 1} {9 \cdot 2v} = \frac {87v} {18v} = \mathbf{\frac {87} {18}} $

c) $ \frac {\dfrac {\dfrac {55f} {g} } {\dfrac {8} {g} } }{11f} } = \frac {\dfrac {55f} {g} \cdot \dfrac {g} {8} } {11f} = \\ = \frac {\dfrac {55f \cdot g} {g \cdot 8} } {11f} = \frac {\dfrac {55fg} {8g} } {11f} = \frac {\dfrac {55f} {8} } {11f} = \\ = \frac {55f} {8} \cdot \frac {1} {11f} = \frac {55f} {8 \cdot 11f} = \mathbf{\frac {5} {8}} $




We can now go back to the exercise from 1. We have seen that Stuart has $2s - (u - s - 36) - 72 $ coins left after he has given Ulf and Erik enough coins to double their holdings. Now, we can simplify this and we can see that the amount of coins that Stuart has left is $2s - (u - s - 36) - 72 = 2s - u + s + 36 - 72 = 3s - u - 36 $. At the same time, Ulf will have $2(u - s - 36) = 2u - 2s - 72 $ coins and Erik will have $2 \cdot 72 = 144 $ coins after they have doubled their holdings. 

After that, Erik gives Ulf and Stuart enough coins to double their holdings. Then, Erik gives away as many coins as Ulf and Stuart have in total, and he will have $$ 144 - (2u - 2s - 72) - (3s - u - 36) = \\ = 144 - 2u + 2s + 72 - 3s + u + 36 = 252 - u - s $$ left. 

We know that Erik now has $36 $ coins, and thus $252 - u - s $ should equal $36 $. But what can we do with that knowledge, and how are we supposed to determine how many coins the friends have in total?


Equations

In Exercise 1, we wanted to find the value of $x $ with the help of the condition $45 + x = 61 $. Such an equality is called an equation. When it comes to equations, the values on both sides of the $= $-sign are equal. These values are called expressions. Expressions can be made up of constants, variables, or both. So, $45 + x $ and $61 $ are expressions, and when we connect them with an $= $-sign, we get an equation. 

The purpose of many mathematical problems is to find unknown values. By doing calculations with equations, one can solve such problems in a fast and simple way. Thus, equations are highly useful, and therefore, you will learn about them in this section. First, we will see how a problem can be solved with the help of an equation, and then we will dig deeper into what an equation is and see some more examples of calculations with equations. 


Example 1

Olof thought of a number. He multiplied the number by $3 $ and subtracted $5 $ from the product. Then, he divided the result by $2 $, and got the same number as the one he thought of from the beginning. Which number did he think of?

Solution

Let $x $ denote the number that Olof thought of. If he multiplies it by $3 $ and then subtracts $5 $, he gets $3x - 5 $. Then, he divides the difference by $2 $, and gets $\frac {3x - 5} {2} $. This quotient should equal the number he thought of from the beginning. Therefore, we can write the equation $\frac {3x - 5} {2} = x $.


Now, we want to find that one value of $x $ that makes $\frac {3x - 5} {2} $ equal $x $. This value of $x $ is the solution to or the root of the equation, and the process that leads us to it is called solving the equation. 

It is typical for equations that the expressions on both sides of the $= $-sign are equal. We can exploit this property when solving the equation. We can do such calculations on both sides of the $= $-sign that make the variable end up alone on one side:


$$ \frac {3x - 5} {2} = x $$


$$ \frac {3x - 5} {2} \cdot 2 = x \cdot 2 $$

Here, we multiply the expressions on both sides of the $= $-sign by $2 $. If  $\frac {3x - 5} {2} $ equals $x $, twice as much as  $\frac {3x - 5} {2} $ should equal twice as much as $x $. As long as we do the same thing on both sides of the $= $-sign, the equality will be conserved. You can think that the $= $-sign is an old time scale with two arms, and that the things we put on the arms must have equal weights so that the scale doesn’t tip over. 


We can continue the solution of the equation as follows:


$$ 3x - 5 = 2x $$


$$ 3x - 5 + 5 = 2x + 5 $$


Our goal is to have $x $ alone on one side of the $= $-sign, and therefore we can add $5 $ to both sides so that we haven’t got any constants left on the left side. After this addition, we get $3x - 5 + 5 = 3x + 0 = 3x $ on the left side, and we can write the equation as $3x = 2x + 5 $. Notice that  $+ 5 $ doesn’t need to be written in any specific place on either side. We could just as well write $5 + 3x - 5  = 5 + 2x $ or $3x + 5 - 5 = 2x + 5$. That is so because we only have addition on both sides, and addition is commutative, meaning that we can write the terms in any order without changing the value of the sum. We can continue as follows: 


$$ 3x = 2x + 5 $$


$$ 3x - 2x = 2x - 2x + 5 $$


$$ x = 5 $$


Now we have an equation where the variable is alone on one side of the $= $-sign. That means that we have solved for the variable. 


In this case, $x = 5 $, which tells us that $5 $ is that one value of $x $ that makes $\frac {3x - 5} {2} $ equal $x $. Therefore, Olof must have thought of the number $5 $.


Answer: Olof thought of the number $\mathbf{5} $ from the beginning. 


Without any comments, the solution of the equation would have looked like this:

$$ \frac {3x - 5} {2} = x $$

$$ \frac {3x - 5} {2} \cdot 2 = x \cdot 2 $$

$$ 3x - 5 = 2x $$

$$ 3x - 5 + 5 = 2x + 5 $$

$$ 3x = 2x + 5 $$

$$ 3x - 2x = 2x - 2x + 5 $$

$$ x = 5 $$

We commonly begin a new line for each new calculation that we do. That’s practical, because it becomes easy to discover errors when comparing two lines with each other. 

In the example above, $\frac {3x - 5} {2} $ equals $x $. In that way, equations can be said to be statements, since this equation, for example, corresponds to the statement “$\frac {3x - 5} {2} $ is equal to $x $”. Equations commonly contain variables, but they don’t necessarily have to. $1 + 1 = 2 $ is also an equation, because it is a statement about the values on both sides of the $= $-sign being equal. Inequalities such as $4 < x $ are not equations, because they don’t concern values that are equal. 

The expression that stands on the right side of the $= $-sign in an equation is called the right-hand side, and the one that stands on the left side is called the left-hand side. We commonly abbreviate these to RHS and LHS. If a constant number replaces the variable in an equation so that LHS equals RHS, the constant number is a root of the equation. If we replace $x $ with $5 $ in the equation $\frac {3x - 5} {2} = x $, we get:

$$ LHS = \frac {3x - 5} {2} = \frac {3 \cdot x - 5} {2} = \frac {3 \cdot 5 - 5} {2} = 5 = RHS $$

Since $LHS = RHS $, $x = 5 $ is a root of the equation.

If a variable stands alone, it can have any value, but an equation can limit the number of values that a variable can have. If $x $ in the equation $x - 4 = 12 $ equals $1 $, we get $LHS = 1 - 4 = -3 $ and $RHS = 12 $. Thus, LHS and RHS are not equal, and $x $ can’t have the value $1 $. $x $ can actually not have any value except for $16 $ without LHS not being equal to RHS. That means that $x = 16 $ is the root of the equation, and that the equation limits the number of values that $x $ can have so that $x $ can’t have any other value than $16 $. 

With the help of the condition $LHS = RHS $, we can determine if a specific value of the variable in an equation is the root of the equation. We can use that if we want to check whether or not we have solved an equation correctly. 

Let’s try replacing $x $ with a different value than $5 $ in the equation $\frac {3x - 5} {2} = x$. We can have $x = 1 $ for instance. Instead of $\frac {3x - 5} {2} $ in LHS, we write $\frac {3 \cdot 1 - 5} {2} $, and we examine both sides:

$$ LHS = \frac {3 \cdot 1 - 5} {2} = -1 $$

$$ RHS = 5 $$

We can see that $-1 \neq 5 $, that is $LHS \neq RHS $. (The sign $\neq $ means “is not equal to”). The statement “$\frac {3 \cdot 1 - 5} {2} $ equals $1 $” is false, and $x = 1 $ is not a root of the equation. 

When we replace variables with constant numbers, it’s important to remember that for example $5x = 5 \cdot x $. Before replacing a constant number with a variable, it is wise to rewrite such products so that we have a multiplication sign between the terms. So, for example, $8y $ should be written as $8 \cdot y $. Otherwise, it is easy to make a mistake. Let’s, as an example, replace $y $ in $8y $ with $2 $: 

$$ 8y = 8 \cdot y = 8 \cdot 2 = 16 $$

If we don’t write $8y $ as $8 \cdot y $, there is a risk of doing this:

$$ 8y = 82 $$

That’s wrong, because $8y $ means that we have $8 $ pieces of $y $, $8 \cdot y $ that is, and not $8 $ times $10$ and one $y $ ($80 + y $). Earlier, we have seen that $8y = 16 $, which is another reason why $8y = 82 $ is wrong. 


Exercise 1

a) Examine if  $b = 7 $ is the root of the equation $\frac {b + 3} {5} = b - 6 $.

b) Examine if $x = 63 $ is the root of the equation $\frac {x} {7} \cdot \frac {2} {3} = 70 - x $.

c) Examine if $z = -3 $  is the root of the equation $\frac {5z} {3} + 10 = 2z + 11$.


a) We replace $b $ with $3 $ in both LHS and RHS and examine if they are equal: 


$$ LHS = \frac {b + 3} {5} = \frac {7 + 3} {5} = \frac {10} {5} = 2 $$

$$ RHS = b - 6 = 7 - 6 = 1 $$


$2 ≠ 1 $, meaning $LHS ≠ RHS $, and $b = 7 $ is not the root of the equation.

Answer: $\mathbf{b = 7} $ is not the root of the equation $\frac {b + 3} {5} = b - 6 $.


b) We replace $x $ with $63 $ in both LHS and RHS and examine if they are equal: 


$$ LHS = \frac {x} {7} \cdot \frac {3} {2} = \frac {63} {7} \cdot \frac {2} {3} = 9 \cdot \frac {2} {3} = 2 \cdot {9} {3} = 2 \cdot 3 = 6 $$


$$ RHS = 70 - x = 70 - 63 = 7 $$


$6 ≠ 7 $, meaning $LHS ≠ RHS $, and $x = 63 $ is not the root of the equation.


Aswer: $\mathbf{x = 63} $ is not the root of the equation $\frac {x} {7} \cdot \frac {2} {3} = 70 - x $.


c) We replace $z $ with $-3 $ in both LHS and RHS and examine if they are equal:  


$$ LHS = \frac {5z} {3} + 10 = \frac {5 \cdot z} {3} + 10 = \\ = \frac {5 \cdot -3} {3} + 10 = \frac {-15} {3} + 10 = -5 + 10 = 5 $$


$$ RHS = 2z + 11 = 2 \cdot z + 11 = 2 \cdot -3 + 11 = -6 + 11 = 5 $$


$5 = 5 $, meaning $LHS = RHS $, and $z = -3 $ is the root of the equation. 


Answer: $\mathbf{z = -3} $ is the root of the equation $\frac {5z} {3} + 10 = 2z + 11$.


Example 1

Solve the equation $\frac {y} {3} + 1 = y - 5 $.

Solution

In this equation, we have a fraction where the variable $y $ is the numerator. We can either rewrite all terms so that they become fractions with the denominator $3 $, or multiply both sides by $3 $. Let’s go over the method where we rewrite all terms first: 


$$ \frac {y} {3} + 1 = y - 5 $$


$$ \frac {y} {3} + \frac {3} {3} = \frac {3y} {3} - \frac {15} {3} $$


Now, we have $\frac {2y} {3} $ left on RHS, but we only want $y $. We can multiply both sides by $3 $, so that we get $2y $ on RHS, and then divide both sides by $2 $ so that we get $y $ left. Now that we won’t do anything but multiplication, we can simplify the fraction on LHS. We see that $\frac {18} {3} = 6 $, and we can write: 


$$ 6 = \frac {2y} {3} $$


$$ 6 \cdot 3 = \frac {2y} {3} \cdot 3 $$


$$ 18 = 2y $$


$$ \frac {18} {2} = \frac {2y} {2} $$


$$ 9 = y $$


$$ y = 9 $$


We have now got $y = 9 $. Now, let’s use the second method.


Note that we haven’t done the same calculations on both sides of the $= $-sign. We have only rewritten all terms. Now that all terms are fractions and have the same denominator, it’s easy to do addition and subtraction with them:


$$ \frac {y} {3} - \frac {y} {3} + \frac {3} {3} = \frac {3y} {3} - \frac {y} {3} - \frac {15} {3} $$


$$ \frac {3} {3} = \frac {2y} {3} - \frac {15} {3} $$


$$ \frac {3} {3} + \frac {15} {3} = \frac {2y} {3} - \frac {15} {3} + \frac {15} {3} $$


$$ \frac {18} {3} =  \frac {2y} {3} $$


From the beginning, we have the equation $\frac {y} {3} + 1 = y - 5 $, which contains a fraction with the denominator $3 $. If we don’t want to have a fraction, we can multiply it by $3 $, because then we get $\frac {y} {3} \cdot 3 = y $. But if we multiply the fraction by $3 $, we also have to  multiply everything else by $3 $, since the two sides have to be equal. Earlier, when we have only done addition or subtraction, we only needed to add one number to or subtract one number from both sides. Now, both sides are multiplied by $3 $, which results in all terms being multiplied by $3 $. To understand why that is so, you can reason like this: We have the equation 


$$ \frac {y} {3} + 1 = y - 5 $$,


which we can write as 


$$ LHS = RHS $$.


After that, we multiply both sides by $3 $. 


$$ LHS \cdot 3 = RHS \cdot 3 $$


We can now replace LHS and RHS with $\frac {y} {3} + 1 $ and $y - 5 $ respectively. 


$$ (\frac {y} {3} + 1) \cdot 3 = (y - 5) \cdot 3 $$


$\frac {y} {3} + 1 $  and $y - 5 $ are written inside parentheses, since the whole LHS and the whole RHS are multiplied by $3 $. 

If we would have written $\frac {y} {3} + 1 \cdot 3 = y - 5 \cdot 3 $, only $1 $ and $5 $ would have been multiplied by $3 $. In that case, we wouldn’t have done the same calculations on both sides of the $= $-sign, and the equality wouldn’t have been valid anymore. Therefore, we can’t do the calculation that way. We do it like this instead:


$$ (\frac {y} {3} + 1) \cdot 3 = (y - 5) \cdot 3 $$


$$ \frac {y} {3} \cdot 3 + 1 \cdot 3 = y \cdot 3 - 5 \cdot 3 $$


$$ y + 3 = 3y - 15 $$


Now that we have done the multiplication correctly and don’t need to do calculations with fractions anymore, we can go on solving the equation:


$$ y - y + 3 = 3y - y - 15 $$


$$ 3 = 2y - 15 $$


$$ 3 + 15 = 2y - 15 + 15 $$


$$ 18 = 2y $$


$$ \frac {18} {2} = \frac {2y} {2} $$


$$ 9 = y $$


$$ y = 9 $$


We get $y = 9 $, just like we did using the other method. To verify this, we can replace $y $ with $9 $ in the equation. 


$$ LHS = \frac {y} {3} + 1 = \frac {9} {3} + 1 = 3 + 1 = 4 $$


$$ RHS = y - 5 = 9 - 5 = 4 $$


$4 = 4 $, meaning $LHS = RHS $, and so $y = 9 $ is the root of the equation. 


Answer: $\mathbf{y = 9} $.


Example 1

Solve the equation $100x + 10 = 200x - 90 $. 

Solution

We can see that all terms in the equation are divisible by $10 $. In such situations, we can divide both sides by $10 $ (or the number that all terms are divisible by) in order to avoid doing calculations with big numbers. Just like with multiplication of both sides, all terms have to be divided by the same number when doing division of both sides, which will look like this: 

$$ \frac {100x + 10} {10} = \frac {200x - 90} {10} $$.

$$ \frac {100x} {10} + \frac {10} {10} = \frac {200x} {10} - \frac {90} {10} $$

$$ 10x + 1 = 20x - 9 $$

Thanks to the division by $10 $, we can now do calculations with much smaller numbers.

$$ 10x - 10x + 1 = 20x - 10x - 9 $$

$$ 1 = 10x - 9 $$ 

$$ 1 + 9 = 10x - 9 + 9 $$

$$ 10 = 10x $$

$$ \frac {10} {10} = \frac {10x} {10} $$

$$ 1 = x $$

$$ x = 1 $$

We get $x = 1 $, which we can verify by replacing $x $ with $1 $ in the original equation. 

$$ LHS = 100x + 10 = 100 \cdot x + 10 = \\ = 100 \cdot 1 + 10 = 100 + 10 = 110 $$

$$ RHS = 200x - 90 = 200 \cdot x - 90 = \\ = 200 \cdot 1 - 90 = 200 - 90 = 110 $$

$110 = 110 $, meaning $LHS = RHS $, and so $x = 1 $ is the root of the equation.

Answer: $\mathbf{x = 1} $.



Example 1

Solve the equation $\frac {3a} {2} - 7 = 8 + \frac {a} {3} $.

Solution

We have an equation with two fractions that have different denominators, $2 $ and $3 $. To get rid of the fractions, we can multiply both sides by $6 $. That is like multiplying by both $2 $ and $3 $, since $2 \cdot 3 = 6 $. In that way, we will be able to write the fractions in decimal form, but without decimals. Therefore, we multiply both sides by $6 $.

$$ \frac {3a} {2} \cdot 6 - 7 \cdot 6 = 8 \cdot 6 + \frac {a} {3} \cdot 6 $$

$$ 9a - 42 = 48 + 2a $$

After that, we can continue solving the equation:

$$ 9a - 42 + 42 = 48 + 42 + 2a $$

$$ 9a = 90 + 2a $$

$$ 9a - 2a = 90 + 2a - 2a $$

$$ 7a = 90 $$

$$ \frac {7a} {7} = \frac {90} {7} $$

$$ a = \frac {90} {7} $$

We have got $a = \frac {90} {7} $, which can’t be simplified, and we have reached the last step of our equation solving. We can verify the solution by replacing $a $ with $\frac {90} {7} $ in the original equation: 

$$ LHS = \frac {3a} {2} - 7 = \frac {3 \cdot a} {2} - 7 = \frac {3 \cdot \dfrac {90} {7} } {2} - 7 = \\ = \frac {270} {14} - 7 = \frac {135} {7} - 7 = \frac {135} {7} - \frac {49} {7} = \frac {86} {7} $$

$$ RHS = 8 + \frac {a} {3} = 8 + \frac {\dfrac {90} {7} } {3} =  \\ = 8 + \frac {90} {21} = \frac {168} {21} + \frac {90} {21} = \frac {258} {21} = \frac {86} {7} $$

$\frac {86} {7} = \frac {86} {7} $, meaning $LHS = RHS $, and so $a = \frac {90} {7} $ is the root of the equation.

We can also use a different method: We can expand the fractions so that they have the same denominator and write the other terms as fractions with that denominator as well. Then, we can do addition and subtraction with the terms easily. 


In some cases, an equation has no roots, and in other cases, it can have infinitely many roots. You can identify an equation that lacks roots as follows: When solving the equation, you end up with a simple equation, for example $2 = 1 $, which is a false statement.



Example 1

Solve the equation $x - 4 = x + 4 $.

Solution

$$ x - 4 = x + 4 $$

$$ x - 4 + 4 = x + 4 + 4 $$

$$ x = x + 8 $$

$$ x - x = x - x + 8 $$

$$ 0 = 8 $$

We have now got $0 = 8 $, but we know that $0 \neq 8 $, and thus the equation lacks roots.

Answer: The equation lacks roots.



If an equation has infinitely many roots, the variable can have any value, and the statement that the equation describes will still be true. You can see that by starting to solve the equation and then getting an equation that is valid for all values of the variable. Examples of such equations are $x = x $, $x + 4 = x + 4 $ and $0 = 0 $. In the first equations, we can replace $x $ with any value and still get $LHS = RHS$. No matter which value $x $ has, $x $ always equals $x $ and $x + 4 $ always equals $x + 4 $. The last equation doesn’t contain any variables, but if we simplify the first two ones, we get a similar equation. Let’s start with $x = x $. We subtract $x $ from both sides and get: 

$$ x = x $$

$$ x - x = x - x $$

$$ 0 = 0 $$

The same thing happens when we try to solve $x + 4 = x + 4 $ by subtracting $x $ and $4 $ from both sides:

$$ x + 4 = x + 4 $$

$$ x + 4 - 4 = x + 4 - 4 $$

$$ x = x $$

$$ x - x = x - x $$

$$ 0 = 0 $$

In both cases, we went from an equation that contains $x $ to an equation that doesn’t contain any variables ($0 = 0 $). We know that $0 $ always equals $0 $, and this tells us that the equation has infinitely many solutions. We can reason that whichever value $x $ has, $0 $ still equals $0 $. 



Exercise 2

a) $5x + 75 = \frac {40x} {2} $

b) $5 + \frac {b} {5} = \frac {b} {3} + 1 $

c) $\frac {70x} {7} = 10x $

d) $-3x + 8 = -8 - 3x $


a) $$ 5x + 75 = \frac {40x} {2} $$

$$ 5x + 75 = 20x $$

$$ 5x - 5x + 75 = 20x - 5x $$

$$ 75 = 15x $$

$$ \frac {75} {15} = \frac {15x} {15} $$

$$ 5 = x $$

$$ x = 5 $$

Answer: $\mathbf{x = 5} $.

b) $$ 5 + \frac {b} {5} = \frac {b} {3} + 1 $$

$$ 5 \cdot 5 + \frac {b} {5} \cdot 5 = \frac {b} {3} \cdot 5 + 1 \cdot 5 $$

$$ 25 + b = \frac {5b} {3} + 5 $$

$$ 25 \cdot 3 + b \cdot 3 = \frac {5b} {3} \cdot 3 + 5 \cdot 3 $$

$$ 75 + 3b = 5b + 15 $$

$$ 75 + 3b - 3b = 5b - 3b + 15 $$

$$ 75 = 2b + 15 $$

$$ 75 - 15 = 2b + 15 - 15 $$

$$ 60 = 2b $$

$$ \frac {60} {2} = \frac {2b} {2} $$

$$ 30 = b $$

$$ b = 30 $$

Answer: $\mathbf{b = 30} $.

c) $$ \frac {70x} {7} = 10x $$

We begin with the division $\frac {70x} {7} = \frac {70} {7} \cdot x = 10 \cdot x = 10x $, and we can write: 

$$ 10x = 10x $$

$$ \frac {10x} {10} = \frac {10x} {10} $$

$$ x = x $$

$$ x - x = x - x $$

$$ 0 = 0 $$

We get $0 = 0 $, and we know that $0 $ always equals $0 $, no matter the value of $x $. Therefore, the equation has infinitely many roots, meaning that all values of $x $ are roots of the equation. 

Answer: All values of $\mathbf{x} $ are roots of the equation. 

d) $$ -3x + 8 = -8 - 3x $$

$$ -3x + 8 - 8 = -8 - 8 - 3x $$

$$ -3x = -16 - 3x $$

$$ -3x + 3x = -16 - 3x + 3x $$

$$ 0 = -16 $$

We get $0 = -16 $, but we know that $0 ≠ -16 $. Therefore, the equation can’t have any roots.

Answer: The equation lacks roots. 



Equations are statements. A statement is something that is such that you can determine if it is true or false. If we have an equation that doesn’t contain variables, like $1 + 1 = 2 $ for example, you can determine if it’s true or false right away. In this case, the equation represents the statement “$1 + 1 $ equals $2 $”, which is true. 

If an equation contains one or more variable(s), like $x + 5 = 10 $ for example, you can’t determine if the statement that the equation represents is true or false right away. If the statement is true or false depends on the value of the variable, which can have any value. When we solve an equation, we look for the value that makes the statement true. That value of the variable is the root of the equation. 

When solving an equation, you write equivalent statements. That means that the statements are such that if one statement is true, the other one is also true, and the other way around. Let’s solve the equation $x + 5 = 10 $: 

$$ x + 5 = 10 $$

$$ x + 5 - 5 = 10 - 5 $$

$$ x = 5 $$

We get $x = 5 $. That $x + 5 = 10 $ and $x = 5 $ are equivalent statements means that if $x + 5 $ equals $10 $, than $x $ equals $5 $, and if $x $ equals $5 $, than $x + 5 $ equals $10 $. 

Let’s go back to the exercise from 1. Based on what we know, we can write the equation $252 - u - s = 36 $. But what should we do with an equation that contains more than one variable?


More about Equations

Sometimes, we encounter equations with multiple variables. So, how does that work? Can we find one solution to such an equation, or is it possible that equations with multiple variables have infinitely many roots? It turns out that the latter guess is correct, and in this section you will learn why. 

A variable often denotes an amount. For example, $x $ can denote the amount of apple trees in a garden, and $y $ can denote the amount of cherry trees in the garden. When we solve a problem about the amount of apple trees and cherry trees in a garden, we could get the equation $x = y $. That doesn’t mean that apple trees are cherry trees. Instead, it means that there are as many apple trees as there are cherry trees, since their amount is equal. 

If an equation contains multiple variables, like both $x $ and $y $ for example, an instruction like “solve the equation” is unclear, because we don’t know if we should solve for $x $ or $y $. Therefore, the instruction should either be “solve for $x $” or “solve for $y $”. 

An equation with multiple variables has no specific root. Instead, it can have infinitely many roots. Take the equation $x + y = 1$ for example. If we solve for $x $, we get $x = 1 - y $. The reason why is that if we replace $x $ with $1 - y $ in the original equation, we get $LHS = x + y = 1 - y + y = 1 $ and $RHS = 1 $. Since $LHS = RHS $, $x = 1 - y $ is the root of the equation. The value of $x $ depends on the value of $y $, but $y $ can have infinitely many values, meaning that the same goes for $x $. Therefore, the equation has infinitely many roots. 

Let’s look at the equation $y = x + 1$. That too is an equation with multiple variables, and the value of $y $ depends on the value of $x $ and the other way around. We can try replacing $x $ with different values and see which $y $-values we get. 

$x = -2 $ gives $y = -2 + 1 = -1$.

$x = -1 $ gives $y = -1 + 1 = 0$.

$x = 0 $ gives $y = 0 + 1 = 1$.

$x = 1 $ gives $y = 1 + 1 = 2$.

$x = 2 $ gives $y = 2 + 1 = 3$.

These $5 $ pairs of values can be seen as $5 $ points. We can plot them in a coordinate system. There, the coordinate axes are like number lines, and each point has $2 $ coordinates: an $x $ and a $y $-coordinate. The $x $-coordinate corresponds to the value of $x $, and the $y $ coordinate corresponds to the value of $y $. 


The point $A$ has the coordinates $(-2, -1) $, $B$ has the coordinates$(-1, 0) $, $C$ has the coordinates $(0, 1) $, $D$ has the coordinates $(1, 2) $, and $E$ has the coordinates $(2, 3) $.

We can see that the points form a straight line. So, if we would plot all points with coordinates that solve the equation $y = x + 1 $, we would get a line: 


The line is made up of infinitely many points, and therefore, the equation has infinitely many roots. 

Let’s look at the equation $y = 2x $ instead. It corresponds to a line that looks like this:


If we have two equations, $y = x + 1$ and $y = 2x $, then $x + 1 = 2x $. We can solve this equation: 

$$ x + 1 = 2x $$

$$ x - x + 1 = 2x - x $$

$$ 1 = x $$

$$ x = 1 $$

If we know that $x = 1$, then $y = x + 1$ gives $y = x + 1 = 1 + 1 = 2$.

Now, let’s draw the lines that correspond to the equations $y = x + 1$ and $y = 2x $ in the same coordinate system. 

The lines intersect (meet) in the point A, that has the coordinates $(1, 2) $. Just like the equation $x + 1 = 2x $ has one solution only, the lines intersect in one point only. 

Now, let’s look at the equation $x - 4 = x + 4 $. If we want to do the same thing with this equation, we can draw the lines of the equations $y = x - 4 $ and $y = x + 4 $ in the same coordinate system. 

The lines don’t intersect, which means that the equation $x - 4 = x + 4 $ lacks roots. 

If we look at the equation $10x = 10x $ instead, we can see that we have the same expression on both LHS and RHS. If we would do the same thing with this equation, we would draw the line of the equation $y = 10x $ twice in the same coordinate system: 

Since the lines have the same equation, they coincide with each other, and we can only see one line. All points on one of the lines are points on the other line too, so the lines intersect in infinitely many points. Therefore, the equation $10x = 10x $ has infinitely many roots. 

We can once again go back to the exercise from 1. The equation $252 - u - s = 36 $ may have infinitely many solutions, but we don’t want to know the values of $u $ and $s $. Instead, we want to determine how many coins the three friends have in total. Is there a way to do that?

Algebraic expressions

Earlier, we have seen that equations are statements that describe equalities. We have also mentioned that one side of an equation that stands without the $= $-sign is called an expression. But what is an expression really, and what is the difference between equations and statements? That’s what we are going to find out in this section. 

Let’s look at the expression $6 \cdot 5 + 37 $. It doesn’t contain any variables, and is therefore called a numerical expression. However, the expression $5x + 60 $ contains the variable $x $, and is therefore an algebraic expression. An algebraic expression contains at least one variable, and can also contain coefficients and constants. In the expression $5x + 60 $, $5 $ is a coefficient. It’s a number that a variable is multiplied by. $x $ is a variable term and $60 $ is a constant term. 

Now, let’s look at how an algebraic expression can be created: At a market, bananas and oranges are for sale. The bananas cost $x $ SEK/pc and the oranges cost $y $ SEK/pc. If you buy $15 $ bananas and $7 $oranges, you have to pay $15x $ SEK for the bananas and $7y $ SEK for the oranges. That’s $15x + 7y $ SEK in total. So, $15x + 7y $ is an expression for the sum in SEK that you have to pay for $15 $ bananas and $7 $ oranges. If $15x + 7y $ is connected to another expression with an $= $-sign, like if we write $15x + 7y = 100 $ for example, we get an equation. $15x + 7y = 100 $ can be interpreted as “$15 $ bananas and $7 $ apples cost $100 $ SEK”. So the difference between an expression and an equation is like the difference between saying “$15 $ bananas and $7 $ apples” or “$15 $ bananas and $7 $ apples cost $100 $ SEK”.


Example 1

Yasmin enters a shop and wants to buy envelopes and paper. The envelopes cost $17 $ SEK/pc and the papers cost $22 $ SEK/pc. Yasmin wonders how much she will have to pay. Help Yasmin by finding an expression for the cost of her purchase. Denote the amount of envelopes that she buys by $e $ and the amount of papers that she buys by $p $.

Solution

The envelopes cost $17 $ SEK/pc, so if Yasmin buys $e $ envelopes, she will have to pay $17e $ SEK for them. The papers cost $22 $ SEK/pc, so if Yasmin buys $p $ papers, she will have to pay $22p $ SEK for them. That’s $17e + 22p $ SEK in total. 


Answer: The expression for the cost of Yamin’s purchase is $\mathbf{17e + 22p} $ SEK if she buys $e $ envelopes and $p $ papers.


Exercise 1

Adrian buys lemons and grapes at a grocery store. The lemons cost $l $ SEK/pc and the grapes cost $g $ SEK/pc. Adrian buys $6 $ lemons and $9 $ grapes. How much does he have to pay?

Since the lemons cost $l $ SEK/pc, $6 $ lemons will cost $6l $ SEK.


Since the grapes cost $g $ SEK/pc, $9 $ grapes will cost $9g $ SEK.


That’s $6l + 9g$ SEK in total. 


Answer: Adrian will have to pay $\mathbf{6l + 9g} $ SEK.


Exercise 2

Alma has got many pets. She has got dogs, chickens and bunnies. Alma wants to buy small slippers for her pets, but she doesn’t know how many she should buy. Help Alma by finding an expression for how many feet her pets have in total. Each pet should have one slipper on all of its feet. We don’t know how many pets of each species Alma owns. 

Let $d $ denote the number of dogs that Alma owns, let $c $ denote the number of chickens that she owns and let $b $ denote the number of bunnies that she owns. 


A dog has $4 $ feet, so $d $ dogs have $4d $ feet.


A chicken has $2 $ feet, so $c $ chickens have $2c $ feet. 


A bunny has $4 $ feet, so $b $ dogs have $4b $ feet.


That’s $4d + 2c + 4b $ feet.


Answer: If Alma has $d $ dogs, $c $ chickens and $b $ bunnies, the expression for the number of feet that Alma’s pets have in total is $\mathbf{4d + 2c + 4b} $.


Note that it doesn’t matter which variable denotes which animal. You could just as well have chosen the variables $x $, $y $ and $z $, or $u $, $v $ and $w $ for example. As long as the expression corresponds to $4 \cdot \text{the variable that denotes the number of dogs} \\ + 2 \cdot \text{the variable that denotes the number of chickens}  \\ + 4 \cdot \text{the variable that denotes the number of bunnies} $

your solution is right. 


Let’s go back to the exercise from 1. We have got the equation $252 - u - s = 36 $, that has infinitely many roots. But, since $u $, $s $ and $36 $ are the amount of coins that Ulf, Stuart and Erik had from the beginning, $u + s + 36 $ should be an expression for the amount of coins that they have got in total. 

If we add $u $ and $s $ to both sides of the equation, we get: 

$$ 252 - u + u - s + s = u + s + 36 $$

$$ 252 = u + s + 36 $$.

So, the friends have got $252 $ coins in total. 

Problems with equations and substitution

Equations can be used to solve many types of math problems that can seem tricky. What should you do if, for example, there are more unknown values than you think you can find? There are several tricks for such problems, and in this section, you will learn these and become a master in problem solving with equations. 


Example 1

Mia has twice as many apples as Lena. If Mia gives Lena $15 $ apples, they both have the same number of apples. How many apples does Lena have?

Solution

That the question is how many apples Lena has got, tells us that that is the unknown value we are looking for. Therefore, we can introduce a variable that denotes the number of apples that Lena has got. Each time we introduce a new variable, it’s important to write down what that variable denotes. In that way, the calculations will be clearer, and the risk of confusing different variables will decrease. Therefore, it’s beneficial to practice defining - that is describing the meaning of - each new variable that we introduce:


$x $ denotes the number of apples that Lena has got. 


We know that Mia has twice as many apples as Lena. Therefore, the number of apples that Mia has got is $2x $. 


We also know that if Mia gives $15 $ apples to Lena, they will have the same number of apples. This is the one part of the exercise that lets us write an equation. That’s because the exercise concerns an equality - Mia and Lena have got equally many apples if a certain condition is met, and equalities are what equations are all about. Based on “ If Mia gives Lena $15 $ apples, they both have the same number of apples” and the variables we have defined, we can write the equation $2x - 15 = x + 15$.


LHS and RHS denote the number of apples that Mia and Lena have got respectively. On LHS, we have got Mia’s $2x $ apples. After giving $15 $ apples to Lena, Mia has $2x - 15 $ apples left. On RHS, we have got Lena’s $x $ apples. After receiving $15 $ apples from Mia, Lena has got $x + 15 $ apples. We know that Mia and Lena would have the same number of apples if Mia would give $15 $ apples to Lena, so we can connect LHS and RHS with an $= $-sign and get an equation that we can solve. 


$$ 2x - 15 = x + 15 $$


$$ 2x - x - 15 = x - x + 15 $$


$$ x - 15 = 15 $$


$$ x  - 15 + 15 = 15 + 15 $$


$$ x = 30 $$ 


We get $x = 30 $, which means that Lena has got  $30 $ apples. 


When we want to check our solution, we can replace $x $ with $30 $ in the original equation and check that $LHS = RHS $, like we have done earlier. It is, however, better to check the solution based on the text, since it is possible that we have formulated the wrong equation. In that case, it can happen that we have solved the equation correctly, but haven’t got the correct solution of the problem. Therefore, we compare our solution to the text:


 “Mia has twice as many apples as Lena. If Mia gives Lena $15 $ apples, they both have the same number of apples. How many apples does Lena have?”. 


We have concluded that Lena has got $30 $ apples. If Mia has got twice as many apples as Lena, she has got $2 \cdot 30 = 60 $ apples. If Mia gives $15 $ apples to Lena, she will have $60 - 15 = 45 $ left. When Lena receives $15 $ apples from Mia, she will have $30 + 15 = 45 $ apples. We can see that both Mia and Lena will have equally many apples ($45 $) if Mia gives $15 $ apples to Lena. Thus, we have solved the problem correctly. 


Answer: Lena has got $\mathbf{30} $ apples. 


Example 1

I thought of a number. I multiplied it by $3 $ and added $1 $ to the product. Then, I divided this sum by $10 $ and subtracted $5 $ from the quotient. I got $-4 $. Which number did I think of?

Solution

Let’s call the unknown number $x $. First, the number is multiplied by $3 $, and we get $3x $. Then, $1 $ is added to the product, giving $3x + 1 $. Thereafter, the sum is divided by $10 $, and we write $\frac {3x + 1} {10} $. After that, $5 $ is subtracted from the quotient, and we get $\frac {3x + 1} {10} - 5$. Finally, we get to know that all these calculations give $-4 $. So, we can formulate and solve the following equation: 


$$ \frac {3x + 1} {10} - 5 = -4 $$


$$ \frac {3x + 1} {10} - 5 + 5 = -4 + 5 $$


$$ \frac {3x + 1} {10}  = 1 $$


$$ \frac {3x + 1} {10} \cdot 10  = 1 \cdot 10 $$


$$ 3x + 1 = 10 $$


$$ 3x + 1 - 1 = 10 - 1 $$


$$ 3x = 9 $$


$$ \frac {3x} {3} = \frac {9} {3} $$


$$ x = 3 $$


We have got $x = 3 $, and we can check this based on the text. 


We have concluded that the number I thought of is $3 $. If we multiply it by $3 $ and add $1 $ to the product, we get $3 \cdot 3 + 1 = 10 $. Then, we divide $10 $ by $10 $ and subtract $5 $ from the quotient, which gives us $\frac {10} {10} - 5 = -4 $, just like what the text describes. 


Answer: You thought of the number $\mathbf{3} $. 


When solving some problems, it can seem like there are so many variables that it’s impossible to find all unknown values. In those cases, one variable can often be rewritten so that it only contains another variable. Let’s say that we have got an exercise where we have to determine how many candy bars Peter and Anna have, and we know that Peter has twice as many candy bars as Anna. We can denote the number of candy bars that Peter has by $x $, and the number of candy bars that Anna has by $y $. So, we have $2 $ variables, $x $ and $y $, but we know that $x $ can be written as $2y $. This is called that $x $ is expressed in terms of $y $. If we write $2y $ instead of $x $, we only use the variable $y $. 

If we know something more about $x $ and $y $ and can formulate an equation with these, we can replace $x $ with $2y $. Then, we will get an equation with one variable instead of $2 $, and it’s likely that we will be able to find one solution to that equation. This method is called substitution. Substitute means “replace”, and the idea is to replace a variable with an expression that contains another variable.  


Example 1

Frida is twice as old as her little brother Adam. Frida is 5 years older than Adam. How old are the two siblings?

Solution

Let $x $ denote Frida’s age and let $y $ denote Adam’s age. 


Since Frida is twice as old as Adam, $x = 2y $.

Since Frida is $5 $ years older than Adam, $x = y + 5 $. 


Both $2y $ and $y + 5$ denote the same number, and should therefore be equal. Another way of seeing it is that $x = x $. If we substitute $x $ with $2y $ on LHS and with $y + 5 $ on RHS, we get $2y = y + 5 $. We have now got an equation that we can solve. 


$$ 2y = y + 5 $$


$$ 2y - y = y - y + 5 $$


$$ y = 5 $$


 We have got $y = 5$, which means that Adam is $5 $ years old. However, we want to determine Frida’s age too. We can replace $y $ with $5 $ in $x = 2y $ or $x = y + 5 $. 


$$ x = 2y = 2 \cdot y = 2 \cdot 5 = 10 $$


We can do the same with the other equation, and see if that gives $x = 10 $ too. When doing exercises where a variable can be written in multiple ways, it is beneficial to calculate its value in all these ways to see that we get the same value every time. $x $ is $x $ however it’s expressed, and if different equations give different values of $x $, we know that we have done something wrong. So, this is a way to check our solutions. In this case, the other equation gives $x = y + 5 = 5 + 5 = 10 $.


We have concluded that $x = 10 $ in both cases, which means that Frida is $10 $ years old. Now that we know that Frida and Adam are $10 $ and $5 $ years old respectively, we can check our answer based on the text. 


It’s true that Frida is twice as old as Adam, since $5 \cdot 2 = 10 $. That Frida is $5 $ years older than Adam is also true, since $5 + 5 = 10 $. 


Answer: Adam is $\mathbf{5} $ years old and Frida is $\mathbf{10} $ years old. 


Example 1

Jenny has got twice as many pens as Isabelle, and Isabelle has got twice as many pens as Hedvig. They have got $35 $ pens in total. How many pens have they got each?

Solution

Let $j $ denote the number of pens that Jenny has got, let $i $ denote the number of pens that Isabelle has got and let $h $ denote the number of pens that Hedvig has got. 


When doing exercises with many variables, it is practical not to call the variables $x $, $y $ and $z $ to avoid confusing them with each other if you don’t remember which variable belongs to which person. If the variables are the first letters in the names of the persons, it’s easier to keep them apart. 


Since Jenny has twice as many pens as Isabelle, $j = 2i $. 


Since Isabelle has twice as many pens as Hedvig, $h = \frac {i} {2} $.


Note that we express both $j $ and $h $ in terms of $i $. We could just as well have written $i = \frac {j} {2} $ or $i = 2h $, but if all variables are expressed in terms of the same variable, we can formulate an equation with just one variable later. 


Since Hedvig, Isabelle and Jenny have got $35 $ pens in total, $h + i + j = 35 $. We have got an equation with $3 $ variables, but we can substitute $j $ with $2i $ and $h $ with $\frac {i} {2} $. That gives us $\frac {i} {2} + i + 2i = 35 $ - an equation with one variable. 


If we had written the relation “Isabelle has got twice as many pens as Hedvig” in a different way, like $i = 2h $ for example, we could have rewritten the equation $h + i + j = 35 $ and gotten $h + 2h + 2i = 35 $ - an equation with $2 $ variables that has infinitely many roots. This is the reason why it was important to express both $j $ and $h $ in terms of $i $. However, we could just as well have expressed all variables in terms of $j $ or $h $. 


We could also have used $h + 2h + 2i = 35 $, expressed $i $ in terms of $h $ (or the other way around) to get an equation with just one variable. The benefit of expressing all variables in terms of the same variable from the beginning is that our solution will require less steps. 


Now, we have chosen to express all variables in terms of $i $, and we can solve our equation. 


$$ \frac {i} {2} + i + 2i = 35 $$


$$ \frac {i} {2} \cdot 2 + i \cdot 2 + 2i \cdot 2 = 35 \cdot 2 $$


$$ i + 2i + 4i = 70 $$


$$ 7i = 70 $$


$$ \frac {7i} {7} = \frac {70} {7} $$


$$ i = 10 $$ 


We have got $i = 10 $, which means that Isabelle has got $10 $ pens. To determine how many pens Hedvig and Jenny have got, we can insert $i = 10 $ into $j = 2i $ and $h = \frac {i} {2} $.


$$ j = 2i = 2 \cdot i = 2 \cdot 10 = 20 $$


$$ h = \frac {i} {2} =  \frac {10} {2} = 5 $$


This means that Jenny has got $20 $ pens and that Hedvig has got $5 $ pens. We also know that Isabelle has got $10 $ pens, and we can check this based on the text. 


That Jenny has got twice as many pens as Isabelle is true, since $10 \cdot 2 = 20 $. It is also true that Isabelle has got twice as many pens as Hedvig, since $5 \cdot 2 = 10 $. In total, Hedvig, Isabelle and Jenny have got $5 + 10 + 20 = 35 $ pens, just like the text says. 


Answer: Hedvig has got $\mathbf{5} $ pens, Isabelle has got $\mathbf{10} $ pens and Jenny has got $\mathbf{20} $ pens.


Exercise 1

Sofia is twice as tall as Camilla, and Momo’s height corresponds to half of the sum of Sofia’s and Camilla’s heights. If we add Sofia’s, Momo’s and Camilla’s heights, we get $450 $ cm. How tall are they each?

Let $c $ denote Camilla’s height in cm. Since Sofia is twice as tall as Camilla, her height is $2c $ cm. 


Since Momo’s height corresponds to the half of the sum of Sofia’s and Camilla’s heights, her height is $\frac {c} {2} + \frac {2c} {2} = \frac {3c} {2} $.


Since Sofia, Momo and Camilla are $450 $ cm tall in total:


$$ 2c + \frac {3c} {2} + c = 450 $$


$$ 3c + \frac {3c} {2} = 450 $$


$$ 3c \cdot 2 + \frac {3c} {2} \cdot 2 = 450 \cdot 2 $$


$$ 6c + 3c = 900 $$


$$ 9c = 900 $$


$$ \frac {9c} {9} = \frac {900} {9} $$


$$ c = 100 $$


This means that Camilla is $100 $ cm tall. In that case, Sofia is $2c = 2 \cdot c = 2 \cdot 100 = 200 $ cm tall, and Momo is $\frac {3c} {2} = \frac {3 \cdot c} {2} = \frac {3 \cdot 100} {2} = 3 \cdot 50 = 150 $ cm tall. 


Answer: Sofia is $\mathbf{200} $ cm tall, Momo is $\mathbf{150} $ cm tall and Camilla is $\mathbf{100} $ cm tall.


Exercise 2

Sanne, Ella and Malin are playing UNO. Sanne has got twice as many cards as Ella. Ella needs to pick up $4 $ cards, and after that, she has got as many cards as Sanne. Malin lays two cards, and after that, she has got as many cards as Ella had from the beginning. How many cards did they have each from the beginning?

Let $e $ denote the number of cards that Ella had from the beginning. Since Sanne had twice as many cards as Ella, she had $2e $ cards. After picking up $4 $ cards, Ella will have $e + 4 $ cards. Then, she will have as many cards as Sanne, which means that: 


$$ e + 4 = 2e $$


$$ e - e + 4 = 2e - e $$


$$ 4 = e $$


$$ e = 4 $$


This means that Ella had $4 $ cards from the beginning. Consequently, Sanne has got $2e = 2 \cdot e = 2 \cdot 4 = 8 $ cards. 


Let $m $ denote the number of cards that Malin had from the beginning. After laying $2 $ cards, she will have $m - 2 $ cards left. Then, she will have as many cards as Ella had from the beginning, which means that: 


$$ m - 2 = 4 $$


$$ m - 2 + 2 = 4 + 2 $$


$$ m = 6 $$,


so Malin had $6 $ cards from the beginning.

Answer: Sanne had $\mathbf{8} $ cards, Ella had $\mathbf{4} $ cards, and Malin had $\mathbf{6} $ cards.



Problems to solve

Exercise 1

Many students in my class brought either a skateboard or a bicycle to school yesterday. The ratio between the number of skateboards and the number of bikes was $7:4 $. There were $12$ more skateboards than bikes. How many skateboards and bikes were there in total?

Let $s $ denote the number of skateboards and let $c $ denote the number of bikes.

Since the ratio between the number of skateboards and the number of bikes was $7:4 $, I will get the number of skateboards if I multiply the number of bikes by $\frac {7} {4} $. This is because $7:4 = s:c $ and $\frac {7} {4} \cdot 4 = 7 $. So:


$$ s = \frac {7} {4} \cdot c $$


We also know that there were $12 $ more skateboards than bikes, meaning $s = c + 12 $.


Now we have two different expressions for $s $, and we can create an equation by putting them on each side of an $= $-sign:


$$ \frac {7} {4} \cdot c = c + 12 $$

$$ 4 \cdot \frac {7} {4} \cdot c = 4 \cdot c + 4 \cdot 12 $$

$$ 7c = 4c + 48 $$

$$ 7c - 4c = 4c - 4c + 48 $$

$$ 3c = 48 $$

$$ \frac {3c} {3} = \frac {48} {3} $$

$$ c = 16 $$


Now we know that $c = 16 $, and we can insert $16 $ instead of $c $ into $s = c + 12 $:


$$ s = c + 12 = 16 + 12 = 28 $$


Answer: There were $\mathbf{28} $ skateboards and $\mathbf{16} $ bikes in total.


Exercise 2

Figure out what numbers the different letters stand for and how big their sum will be. 

$A + A = 14 $

$A + B = 17 $

$B + C = 25 $

$A + B + C + D = 50 $

$C + A + D + E + E = 90 $

$A + B + C + D + E =? $

Let us start with the first equation:


$$ A + A = 14 $$

$$ 2A = 14 $$

$$ \frac {2A} {2} = \frac {14} {2} $$

$$ A = 7 $$


Now that we know that $A = 7 $ we can insert it into the second equation: 


$$ A + B = 17 $$

$$ 7 + B = 17 $$

$$ 7 - 7 + B = 17 - 7 $$

$$ B = 10 $$


$B = 10 $ is inserted into the third equation:


$$ B + C = 25 $$

$$ 10 + C = 25 $$

$$ 10 - 10 + C = 25 - 10 $$

$$ C = 15 $$


$C = 15 $, $B = 10 $ and $A = 7 $ are inserted into the fourth equation: 

 $$ A + B + C + D = 50 $$

$$ 7 + 10 + 15 + D = 50 $$

$$ 32 + D = 50 $$

$$ 32 - 32 + D = 50 - 32 $$

$$ D = 18 $$


$D = 18 $, $C = 15 $ and $A = 7 $ are inserted into the fifth equation:


$$ C + A + D + E + E = 90 $$

$$ 15 + 7 + 18 + 2E = 90 $$

$$ 40 + 2E = 90 $$

$$ 40 - 40 + 2E = 90 - 40 $$

$$ 2E = 50 $$

$$ \frac {2E} {2} = \frac {50} {2} $$

$$ E = 25 $$


Now that we have found the values ​​of $A $, $B $, $C $, $D $ and $E$, we can calculate $A + B + C + D + E $:

$$ A + B + C + D + E = 7 + 10 + 15 + 18 + 25 = 75 $$

 

Answer : $\mathbf{A = 7} $, $\mathbf{B = 10} $, $\mathbf{C = 15} $, $\mathbf{D = 18} $, $\mathbf{E = 45} $ and $\mathbf{A + B + C + D + E = 75} $



Exercise 3

Sanna draws a drawing with camels and dromedaries. Camels have two humps and dromedaries have one hump. There will be a total of $20 $ bumps and $48 $ legs. On each camel hump a sack of gold is placed and on each dromedary hump a driver. How many sacks of gold will each driver get if they share the gold sacks equally?

Let $k $ denote the number of camels that Sanna draws and let $d$ denote the number of dromedaries. $k $ camels have $2k $ humps and $d $ dromedaries have $d $ humps. There will be a total of $2k + d $ humps. We know that there are $20 $ humps on the drawing in total, so that:


$$ 2k + d = 20 $$

$$ 2k - 2k + d = 20 - 2k $$

$$ d = 20 - 2k $$


Both camels and dromedaries have $4 $ legs, so $k $ camels and $d $ dromedaries have a total of $4k + 4d $ legs. We know that there are $48 $ legs in the drawing in total, so that:


$$ 4k + 4d = 48 $$


Since we know that $d = 20 - 2k $, we can insert this into the equation above. Then we get:


$$ 4k + 4 \cdot (20 - 2k) = 48 $$

$$ 4k + 80 - 8k = 48 $$

$$ -4k + 80 = 48 $$

$$ -4k + 4k + 80 = 48 + 4k $$

$$ 80 = 48 + 4k $$

$$ 80 - 48 = 48 - 48 + 4k $$

$$ 32 = 4k $$

$$ \frac {32} {4} = \frac {4k} {4} $$

$$ 8 = k $$

$$ k = 8 $$


Now that we know that $k = 8 $, we can insert it into the equation $d = 20 - 2k $:


$$ d = 20 - 2k = 20 - 2 \cdot k = 20 - 2 \cdot 8 = 4 $$


So there are $8 $ camels and $4 $ dromedaries.


On each camel hump there is a sack of gold, so there are $8 $ sacks of gold. On each dromedary hump is a driver, so there are $4 $ drivers. If the drivers share the gold sacks equally, they will get $\frac{8} {4} = 2 $ gold sacks each.


Answer: Each driver receives $\mathbf{2} $ sacks of gold.


Exercise 4

If you have a two-digit number and subtract $10 ​​$ from it, it will be three times the sum of the numbers in the number. If you subtract $1 $ from the singular digit, it becomes twice as large as the decimal digit. What is the number?

Let $10 ​​\cdot \ a + b $ be the two-digit number, so that $a $ is the decimal digit, and $b $ is the singular digit.


If we subtract $10 ​​$ from the number, the difference will be three times the sum of the digits in the number, so that


$$ 10 \cdot a + b - 10 = 3 \cdot (a + b) $$

$$ 10a + b - 10 = 3a + 3b $$

$$ 10a + b - b - 10 = 3a + 3b - b $$

$$ 10a - 10 = 3a + 2b $$

$$ 10a - 3a - 10 = 3a - 3a + 2b $$

$$ 7a - 10 = 2b $$

$$ \frac {7a - 10} {2} = b $$

$$ \frac {7a} {2} - 5 = b $$

$$ b = \frac {7a } {2} - 5 $$


We also know that if we subtract $1 $ from the singular digit, it will become twice as large as the decimal digit, that is:


$$ b - 1 = 2a $$


We already know that $b = \frac { 7a} {2} - 5 $, so we can insert this into the equation above and get:


$$ \frac {7a} {2} - 5 - 1 = 2a $$

$$ \frac {7a} {2} - 6 = 2a $$

$$ \frac {7a} {2} \cdot 2 - 5 \cdot 2 = 2 \cdot 2a $$

$$ 7a - 12 = 4a $$

$$ 7a - 12 + 12 = 4a + 12 $$

$$ 7a = 4a + 12 $$

$$ 7a - 4a = 4a - 4a + 12 $$

$$ 3a = 12 $$

$$ \frac {3a} {3} = \frac {12} {3} $$

$$ a = 4 $$


We can now insert $a = 4 $ into $b = \frac {7a} {2} - 5 $ and get:


$$ b = \frac {7a} {2} - 5 = b = \frac {7 \cdot a} {2} - 5 = b = \frac {7 \cdot 4} {2} - 5 = 14 - 5 = 9 $$


So we have $a = 4 $ and $b = 9 $, and then the two-digit number must be $49 $.


Answer: The number is $\mathbf{49} $.


Exercise 5

$5 $ years ago, Ebba was $5 $ times as old as her son was then. In $5 $ years, Ebba will be $8 $ years younger than $3 $ times as old as her son is then.

How old is Ebba now?

Let $e $ denote Ebba's age today, and let $s $ denote the age of Ebba's son today. $5 $ years ago Ebba was $e - 5$ years old and her son was $s - 5 $ years old. Since Ebba was $5 $ times as old as her son $5 $ years ago:


$$ e - 5 = 5 \cdot (s - 5) $$

$$ e - 5 = 5s - 25 $$

$$ e - 5 + 5 = 5s - 25 + 5 $$

$$ e = 5s - 20 $$


In $5 $ years Ebba will be $e + 5 $ years old, and her son will be $s + 5 $ years old. Then Ebba will be $8 $ years younger than $3 $ times as old as her son is then. Thus:


$$ e + 5 + 8 = 3 \cdot (s + 5) $$

$$ e + 13 = 3s + 15 $$

$$ e + 13 - 13 = 3s + 15 - 13 $$

$$ e = 3s + 2 $$


So $e = 5s - 20 $ and $e = 3s + 2 $. Thus:


$$ 5s - 20 = 3s + 2 $$

$$ 5s - 3s - 20 = 3s - 3s + 2 $$

$$ 2s - 20 = 2 $$

$$ 2s - 20 + 20 = 2 + 20 $$

$$ 2s = 22 $$

$$ \frac {2s} {2} = \frac {22} {2} $$

$$ s = 11 $$


Now we can insert $s = 11 $ into $e = 3s + 2 $:


$$ e = 3s + 2 = 3 \cdot s + 2 = 3 \cdot 11 + 2 = 33 + 2 = 35 $$


Answer: Ebba is $\mathbf{35} $ years old. 


Exercise 6

Barak has some pens and some jars where he keeps his pens. If he puts $4 $ pens in each jar, one jar will be left over and if he puts $3 $ pens in each jar, one pen will be left over. How many pens and jars does Barak have?

Let $b $ denote the number of jars that Barack has, and let $p $ denote the number of pens he has. 


If Barak puts $4 $ pens in each jar, one jar will be left over, so the number of jars must be given by: $b = \frac {p} {4} + 1 $. The reason for this is that if we divide the number of pens by $4 $, we get the number of cans that are filled with $4 $ pens. Then we add $1 $ to this number, because there was a can left over. 


If Barak puts $3 $ pens in each jar, he gets a pen left over, so the number of pens must be given by: $p = 3b + 1 $. The reason for this is that the number of pens must correspond to $3 $ times the number of cans plus the pen that was left over. 


Let us replace $p $ with $3b + 1 $ in the equation $b = \frac {p} {4} + 1 $:


$$ b = \frac {3b + 1} {4} + 1 $$

$$ 4 \cdot b = \frac {3b + 1} {4} \cdot 4 + 1 \cdot 4 $$

$$ 4b = 3b + 1 + 4 $$

$$ 4b = 3b + 5 $$

$$ 4b - 3b = 3b - 3b + 5 $$

$$ b = 5 $$


We can insert this into $p = 3b + 1 $:

$$ p = 3b + 1 = 3 \cdot b + 1 = 3 \cdot 5 + 1 = 16 $$ 


Answer: Barak has $\mathbf{5} $ jars and $\mathbf{16} $ pens. 



Exercise 7

The distance LP on the number line below is divided into three equal parts by the points M and

N. Which number should be at the point M (what is n)?

The distance LP has the length $\frac {1} {6} - \frac {1} {12} = \frac {2} {12} - \frac {1} {12} = \frac {1} { 12} $ units.


If we divide it into $3 $ equal parts, we get distances that are $\frac {\dfrac {1} {12}} {3} = \frac {1} {36} $ units long. Thus:


$$ \frac {1} {12} + \frac {1} {36} = \frac {1} {n} $$

$$ \frac {3} {36} + \frac {1 } {36} = \frac {1} {n} $$

$$ \frac {4} {36} = \frac {1} {n} $$

$$ \frac {1} {9} = \frac {1} {n} $$

$$ \frac {1} {9} \cdot 9 = \frac {1} {n} \cdot 9 $$

$$ 1 = \frac {9} {n} $$

$$ 1 \cdot n = \frac {9} {n} \cdot n $$

$$ n = 9 $$


Answer: It should say $ \mathbf{ \frac {1}{9} $ at M.


Exercise 8

Alfred and Carol had the same number of apples from the beginning. First, Carol gave $12 $ of her apples to Alfred. Alfred was nevertheless not satisfied and demanded to get half of Carol's remaining apples, which he also received. After this, Alfred has four times as many apples as Carol. How many apples does Carol have now?

Let $x $ denote the number of apples that Carol and Alfred had from the beginning. Carol first gave $12 $ apples to Alfred, which means she had $x - 12 $ apples left, and Alfred had $x + 12 $ apples after that. Then Carol gave half of her remaining apples to Alfred, and so she had $x - 12 - \frac {x - 12} {2} $ apples left. After that, Alfred had $x + 12 + \frac {x - 12} {2} $ apples. Then he had $4 $ times as many apples as Carol, so: 


$$ 4 \cdot (x - 12 - \frac {x - 12} {2}) = x + 12 + \frac {x - 12} {2} $$

$$ 4x - 48 - 2x + 24 = x + 12 + \frac {x - 12} {2} $$

$$ 2 \cdot (4x - 48 - 2x + 24) = 2 \cdot ( x + 12 + \frac {x - 12} {2}) $$

$$ 8x - 96 - 4x + 48 = 2x + 24 + x - 12 $$

$$ 4x - 48 = 3x + 12 $$

$$ 4x - 3x - 48 = 3x - 3x + 12 $$

$$ x - 48 = 12 $$

$$ x - 48 + 48 = 12 + 48 $$

$$ x = 60 $$


So Carol had $60 $ apples from the beginning. Now she has $x - 12 -  \frac {x - 12} {2} = 60 - 12 - \frac {60 - 12} {2} = 24 $ apples.


Answer: Carol has $\mathbf{24} $ apples now. 


Exercise 9

 Monkey Simon ate $100 $ bananas in five days. Every day he ate six bananas more

than the day before. How many bananas did Simon eat on the fifth day?

Let $x $ denote the number of bananas that Simon ate on the first day. Then he ate $x + 6 $ bananas on the second day, $x + 12 $ bananas on the third day, $x + 18 $ bananas on the fourth day and $x + 24 $ bananas on the fifth day. In total it becomes $x + x + 6 + x + 12 + x + 18 + x + 24 = 5x + 60 $. In total, Simon ate $100 $ bananas during the five days, so:


$$ 5x + 60 = 100 $$

$$ 5x + 60 - 60 = 100 - 60 $$

$$ 5x = 40 $$

$$ \frac {5x} {5} = \frac {40} {5} $$

$$ x = 8 $$


So Simon ate $8 $ bananas the first day. Then he must have eaten $8 + 24 = 32 $ bananas on the fifth day. 


Exercise 10

Three generous friends, each with a bag of gold coins, exchange coins as follows: Ulf gives Stuart and Erik enough gold coins to double their holdings. Stuart then gives Ulf and Erik enough coins to double their holdings. Finally, Erik gives Ulf and Stuart enough gold coins to double their holdings. Erik had $36 $ gold coins from the beginning and he had $36 $ gold coins after the last transaction. How many gold coins do the three friends have in total?


Let $u $ denote the number of coins that Ulf had from the beginning and let $s $ denote the number of coins that Stuart had from the beginning. We know that Erik had $36 $ coins from the beginning.


First, Ulf gives Stuart and Erik enough coins for them to double their holdings. He will have $u - s - 36$ coins left. Then, Stuart has $2s$ coins and Erik has $72$ coins. 


Then, Stuart gives Ulf and Erik enough coins to double their holdings. He will have

$$2s - (u - s - 36) - 72 = \\ = 2s - u + s + 36 - 72 = 3s - u - 36$$

coins left. Then, Ulf has $2 \cdot (u - s - 36) = 2u - 2s - 72$ coins and Erik has $144$ coins. 


Finally, Erik gives Ulf and Stuart enough gold coins to double their holdings. Erik will have

$$144 - (2u - 2s - 72) - (3s - u - 36) = \\ = 144 - 2u + 2s + 72 - 3s + u + 36 = \\ = 144 + 72 + 36 - 2u + u + 2s - 3s = \\ = 252 - u - s $$

coins left. Since Erik had $36 $ gold coins after the last transaction:


$$ 252 - u - s = 36 $$

$$ 252 - 252 - u - s = 36 - 252 $$

$$ - u - s = -216 $$

$$ - 1 \cdot -u + -1 \cdot -s = -1 \cdot -216 $$

$$ u + s = 216 $$


From the beginning, Ulf and Stuart thus had a total of 216 coins. Since Erik had $36 $ gold coins from the beginning, the friends have $216 + 36 = 252 $ coins in total.


Answer: The friends have $\mathbf{252} $ coins in total.


Exercise 11

In my zoo there are ants, spiders and mice. An ant has six legs, a spider has eight legs and a mouse has four legs. Last time I counted, there were equally many animals of each species and a total of $612 $ legs in my zoo. How many animals have I got in my zoo? 


Let $x $ denote the number of animals of each species. $x $ ants have $6x $ legs, $x $ spiders have $8x $ legs and $x $ mice have $4x $ legs. In total there will be $6x + 8x + 4x = 18x $ legs. In total there are $612 $ bones in the zoot, so:


$$ 18x = 612 $$

$$ \frac {18x} {18} = \frac {612} {18} $$

$$ x = 34 $$


So there are $34 $ animals of the same species. In total, there will be $34 \cdot 3 = 102 $ animals.


Answer: There are $\mathbf{102} $ animals in the zoo. 


Exercise 12

 "You want to know my age"? says Aunt Liz. "You should not ask, but here it goes: Swap the digits of my age and you will get exactly half of my age ten years ago." How old is Aunt Liz?

 Let's assume that Aunt Liz is $a \cdot 10 + b $ years old today. Then she was $(a - 1) \cdot 10 + b $ years old $10 ​​$ years ago. Thus, half of her age ten years ago was $\frac {a \cdot 10 + b - 10} {2} $. If we swap the digits of her age today, we get $b \cdot 10 + a = 10b + a $. We know that this should correspond to half of her age $10 ​​$ years ago, so:


$$ \frac {a \cdot 10 + b - 10} {2} = 10b + a $$

$$ 2 \cdot \frac {a \cdot 10 + b - 10} {2} = 2 \cdot (10b + a) $$

$$ 10a + b - 10 = 20b + 2a $$

$$ 10a + b - 20b - 10 = 20b - 20b + 2a $$

$$ 10a - 19b - 10 = 2a $$

$$ 10a - 10a - 19b - 10 = 2a - 10a $$

$$ -19b - 10 = -8a $$

$$ \frac {-19b - 10} {-8} = a $$

$$ a = \frac {19b + 10} {8} $$


We know that $a $ and $b $ are integers that are $- 1 < a , b < 10 $, because they are the digits of a number. (In addition, $a $ cannot be $0 $, because $a $ is the decimal digit of a two-digit number.) Therefore, we can try inserting $0, 1, 2, 3, 4, 5, 6, 7, 8 $ and $9 $ instead of $b $ in the equation above, and see which value of  $b $ gives an integer value of $a $.


$b = 0 $ gives: $a = \frac {19b + 10} {8} = \frac {19 \cdot b + 10} {8} = \frac {19 \cdot 0 + 10} {8 } = \frac {10} {8} = \frac {5} {4} $. That is not an integer, so $b $ cannot be $0 $.


$b = 1 $ give: $a = \frac {19b + 10} {8} = \frac {19 \cdot b + 10} {8} = \frac {19 \cdot 1 + 10} {8} = \frac {29} {8} $. That is not an integer, so $b $ cannot be $1 $.


$b = 2 $ gives: $a = \frac {19b + 10} {8} = \frac {19 \cdot b + 10} {8} = \frac {19 \cdot 2 + 10} {8 } = \frac {48} {8} = 6 $. That is an integer, and so $b = 2 $ and $a = 6 $ so that Aunt Liz is $62 $ years old. 


Answer: Aunt Liz is $\mathbf{62} $ years old.

Comment: We can also try the values ​​$3, 4, 5, 6, 7, 8 $ and $9 $ of $b $ to ensure that there are not two ages that meet what Aunt Liz said about his age. If we do it in the same way as above, we see that Aunt Liz can only be $62 $ years old. 


Exercise 13

In an hour, it's only half as long until midnight as it was two hours ago. What is the time now? 



Let the time be $x $ hours after midnight now. Then the time is $x + 1 $ hours after midnight in $1 $ hour. In that case it is $24 - (x + 1) = 24 - x - 1 = 23 - x $ hours left until midnight, because when the time is $24 $ hours after midnight, it is midnight again. 


Two hours ago it was $x - 2 $ hours after midnight. Then there were $24 - (x - 2) = 24 - x + 2 = 26 - x $ hours left until midnight.


In an hour, it's only half as long until midnight as it was two hours ago, so:


$$ \frac {26 - x} {2} = 23 - x $$

$$ 2 \cdot \frac {26 - x} {2} = 2 \cdot (23 - x) $$

$$ 26 - x = 46 - 2x $$

$$ 26 - x + 2x = 46 - 2x + 2x $$

$$ 26 + x = 46 $$

$$ 26 - 26 + x = 46 - 26 $$

$$ x = 20 $$ 


The time is $20 $ hours after midnight now, which means that the time is $8 $ in the evening or $20.00 $.


Answer: The time is $\mathbf{20.00} $ now.


Exercise 14

The sum of the numbers in two compartments next to each other is as large as the number in the compartment directly below. Find the numbers $a $, $b $ and $c $.



We know that $3 + b = a $, $b + 7 = c $ and $a + c = 20 $. We replace $a $ with $3 + b $ and $c $ with $b + 7 $ in $a + c = 20 $. Then we get:


$$ 3 + b + b + 7 = 20 $$

$$ 10 + 2b = 20 $$

$$ 10 - 10 + 2b = 20 - 10 $$

$$ 2b = 10 $$

$$ \frac {2b} {2} = \frac {10} {2} $$

$$ b = 5 $$


Now that we know that $b = 5 $ we can insert it into $3 + b = a $ and $b + 7 = c $:


$$ a = 3 + b = 2 + 5 = 8 $$

$$ c = b + 7 = 5 + 7 = 12 $$


Answer: $\mathbf{a = 8} $, $\mathbf{b = 5} $ and $\mathbf{c = 12} $.