# Algebra/Real Numbers

## Contents

## What Are Real Numbers?[edit]

**Real numbers** are, most likely, all the numbers you can think of! They consist of zero (0), the positive and negative integers (-3, -1, 2, 4), and all the fractional and decimal values in between (0.4, 3.1415927, 1/2). Real numbers are divided into rational and irrational numbers. **Rational numbers** are numbers that can be expressed as a ratio (that is, a division) of two integers (2/3, 0.6, 3, -4.7, 0.11111...). If a number has a terminating decimal, or a decimal that ends (3.6, 5.263) or repeats (1.33333....), it is rational. **Irrational numbers** have decimal parts that do not terminate or repeat (2.71828..., 3.14159...). There are several other different "sets" of rational numbers.

**Natural numbers**, also known as "counting numbers", are the first numbers you learn. The natural numbers include all the positive whole numbers (1, 24, 6, 2, 357). Note that zero is not included. **Whole numbers** are the natural numbers, plus zero. **Integers** are all positive and negative numbers without a decimal part (3, -1, 15, -42).

## Properties Of Real Numbers[edit]

We begin this section with a review of the fundamental properties of arithmetic. It may seem unusual to give so much emphasis to the few properties listed below, but there is a good reason. **Roughly speaking, all of algebra follows from the 7 properties listed in the table below**. In the table below, *a*, *b* and *c* can be any number unless stated otherwise. So let's take a look:

**Commutative**

This doesn't work:

This does:

This doesn't work:

This does:

**Associative**

This doesn't work:

This does:

This doesn't work:

This does:

**Identity**

**Inverse**

as long as a ≠ 0.

as long as a ≠ 0.

**Distributive**

But wait:

But what does all this mean? The **commutative property** is that you can exchange two numbers and still get the same answer. The **associative property** is that you can change the grouping (i.e., change the position of the parenthesis) and still get the same answer. The **identity property** is that there is a certain number that when operated with a number doesn't change it. The **inverse property** is something that results to the identity number. The **distributive property** means that you can distribute the operation. Out of all of those properties, the distributive property is the one you'll probably use the most, because it is the only one that mentions both addition and multiplication at the same time. To give an example: these properties even imply fundamental things such as: "multiplication is repeated addition". This book is not going to prove many things, but it would be useful for us to take a look at how this works.

We apply the distributive property for a = 7, b = 1 and c = 1.

7 · 1 + 7 · 1 = 7 + 7

Though it may seem obvious, this is *identity* property for multiplication listed above. Now let's try to do the same thing with 7 · 3.

7 · 3 = 7 · (1 + 1 + 1)

Just like before, this is just the fact that 3 = 1 + 1 + 1 together with substitution.

7 · (1 + 1 + 1) = 7 · 1 + 7 · 1 + 7 · 1

Once again, we apply the distributive property. Note that we can apply it to expressions with more than two numbers being added in parentheses. The proof is below. While 7 · (1 + 1 + 1) = 7 · 1 + 7 · 1 + 7 · 1 is not covered by the distributive property alone, this problem is solved by grouping the last two 1s with parentheses. Rather than writing this as 7 · (1 + 1 + 1), we could write it as 7 · (1 + (1 + 1)), then used the distributive property with *a* = 7, *b* = 1 and *c* = (1 + 1). Then: 7 · (1 + (1 + 1)) = 7 · 1 + 7 · (1 + 1). Now we apply the distributive property just to the second (taking *a* = 7, *b* = 1, and *c* = *1*. Then (looking just at the second term) we have 7 · (1 + 1) = 7 · 1 + 7 · 1. Finally we can substitute this expression for the second term back into the equation to get: 7 · (1 + 1 + 1) = 7 · 1 + 7 · 1 + 7 · 1.

This looks like a lot of mindless parenthesis juggling, but the point is that the distributive property applies to arbitrarily long sums and products. It is also true that

*a*· (*b*+*c*+*d*+*e*) =*a*·*b*+*a*·*c*+*a*·*d*+*a*·*e*

Or we could make it even longer! We could have as many terms in the sum as we like; as long as "a · " appears in front of each term on the right hand side we will have a true statement. We will use this fact without justification (that is, without proof). Let's remind ourselves what these properties tell us about arithmetic. Commutativity and Associativity together imply that it doesn't matter what order we add things up in. Let's see why. Associativity says that *a* + (*b* + *c*) = (*a* + *b*) + *c*. This should be thought of as a statement about the sum *a* + *b* + *c*. Why? Because usually addition is just defined between two things, so someone writes down something like *a* + *b* + *c* some people may first add *b* and *c* first then add in *a*, and other people might add *a* and *b* first and then add in *c*. This property says (using a formula) that it doesn't matter which way you do it. What about those people who add *a* and *c* together first? Well, that is where commutativity comes in. It tells us that we don't have add things up in exactly the order people write things down. You can switch things around and still get the same answer. Let's do one more example of using these properties to "juggle parentheses" to see that commutativity says you really can add *a* and *c* first and get the same answer.

b + c = c + b |
This is the commutativity of addition applied to b + c |

a + (b + c) = a + (c + b) |
This follows from substitution |

a + (b + c) = (a + c) + b |
This is just using associativity on the right side of the line above. |

Commutativity and associativity tell you that it doesn't matter in which order you add up *a* + *b* + *c*. You will get the same answer regardless of order. The rule holds even if there are more than three terms: There may be 4, 12, or several thousand. These properties would still tell us that it doesn't matter how we add things up.

The same properties for multiplication tell us it doesn't matter in what order we multiply things together. We are free to change the order to anything that we find easier. Does it ever really make things easier? Sure! For example if you were asked to calculate 4 · 3 · 5 · (1/4), then I would personally think it would be easier to calculate 4 · (1/4) · 3 · 5

The *identity* and *inverse* properties really capture what it means to say that "addition and subtraction are opposites" and "multiplication and division are opposites, as long as it isn't zero that we multiply by." We shall leave it as an exercise to the interested reader to think about why this is.

You can often simplify expressions using the Distributive Property. This is one of the reasons it is so important. For example, consider the expression 2(*x* − 7) + 14. What happens if we use the distributive property on the first term in this expression? Let's work it out. According to the Distributive Property

- 2(
*x*− 7) = 2*x*− 2 · 7 = 2*x*− 14

Plugging this into the expression above we get 2(*x* − 7) + 14 = 2*x* − 14 + 14 = 2*x*. Clearly 2*x* is a lot easier to evaluate than 2(*x* − 7) + 14!

## Basic Laws In Algebra[edit]

There are several basic laws in algebra. Understanding these will help you to manipulate and solve equations, and to understand algebraic relationships.

### 1. Commutative Law[edit]

In general, the order of the items can be changed without affecting the results.

For addition, indicates that changing the order of the items added does not affect the sum.

For multiplication, indicating that the changing of the order of the items multiplied does not affect the product.

Note that the commutative law does not apply to subtraction or division.

### 2. Associative Law[edit]

In general, the grouping of the items can be changed without affecting the results. (Seems to be an extension of the commutative law).

For addition, indicates that changing the grouping of the items added does not affect the sum.

For multiplication, indicates that changing the grouping of the items multiplied does not affect the product.

As with the commutative law, the associative law does not apply to subtraction or division.

### 3. Distributive Law[edit]

Indicates that common terms can be factored, or that factors can be distributed. **(A + B) X = (A X) + (B X)** (The "X" terms on the right are combined into a factor on the left side; the factor "X" on the left is distributed on the right side).

Consider the substitution of **X = (Y + Z)** into the above equation yields (**A + B) (Y + Z) = A (Y + Z) + B (Y + Z)**. Apply the distributive law to each term on the right yields **A Y + A Z + B Y + B Z**. We can skip the intermediate step if we multiply the terms identified by “F O I L” in the following expression **(A + B) (Y + Z) =**

Letter | Description | terms |
---|---|---|

F | First terms | A Y + |

O | Outside terms | A Z + |

I | Inside terms | B Y + |

L | Last terms | B Z |

### 4. Law of Identity[edit]

For **addition and subtraction** the law of identity indicates that the addition **and** subtraction of a given term or quantity results in the zero, 0, the identity element for addition and subtraction. Alternately, adding the identity element results in no change to the original value or quantity.

Adding A to both sides of the first equation we get **(A - A) + A = 0 + A**. Re-arranging or substituting gives **0 + A = A**

- Note the special case(s) where
**A = A + 0 = A + 0 + 0**

For **multiplication and division** the law of identity indicates that the multiplication **and** division of a given term or quantity results in "one," 1, the identity element for multiplication and division. Alternately, multipling or dividing by the identity element results in no change to the original value or quantity.

, or

- Note that dividing 1 by a term or quantity gives the reciprocal of the term or quantity. Multiplying by the reciprocal is the same as dividing by the term or quantity. In the above equation on the right
**(Y / 1), and (1 / Y)**are reciprocals of each other - Note the special case where , Multiplying this equation by “1” gives , and then dividing by one gives .
- Simplify this by substititing the first special case equation to get , and ,
**. . .**

By multiplying both sides of the first equation by **“Y”** we get , which simplifies and becomes **(Y) = (1) Y.**

## Order and Absolute Value[edit]

### Practice Problems[edit]

Identify the following properties being expressed.

- 4(3x + 4) = 12x + 16
- 6 + 0 = 6
- (2 + 7) + 5 = (2 + 5) + 7
- (3/4)(4/3) = 1

Use the Distributive Property to simplify these expressions.

- 2(14x - 26)
- (2/3)(3x + 9)
- 3(12x + 4y)
- 2(5x - 6) + 3(3x + 2)

### Answers[edit]

First set:

- Distributive Property of Multiplication
- Identity Property of Addition
- Associative Property of Addition
- Inverse Property of Multiplication (You multiply by the reciprocal. The reciprocal of 4 is 1/4, of -17 is -1/17, and of 2/5 is 5/2.)

Second set:

- 28x - 52
- 2x + 6
- 36x + 12y
- 10x - 12 + 9x + 6 = 19x - 6 (Combine like-terms, as we learned in Arithmetic!)

## Lesson Review[edit]

All numbers that we will be working with for the majority of Algebra are called Real Numbers. They consist of Rational and Irrational Numbers. Irrational Numbers are numbers that have infinite, non-repeating decimals, such as pi. Rational Numbers are all numbers that can be expressed as a fraction of integers, which include Natural Numbers, Whole Numbers, Integers, and Rational Numbers. For all Real Numbers, there are a few properties of addition and multiplication: Commutative, Associative, Identity, Inverse, and Distribution. The Distribution will come in handy for the rest of the course.

## Lesson Quiz[edit]

Identify the set or sets of numbers each number is in.

Identify the property being expressed.

Perform the Distributive Property of Multiplication to simplify each of these expressions.

Challenge Questions.

- When two rational numbers are multiplied, does it always result in a rational number? Why?
- When two irrational numbers are multiplied, does it always result in an irrational number? Why?
- When two irrational numbers are added, does it always result in an irrational number? Why?
- When the square root of an irrational number is taken, does it have to be irrational? Why?
- If is irrational, does x have to be irrational? Why?

### Quiz Answers[edit]

First set:

- Irrational and Real
- Integer, Rational, Real (Note that there is a negative outside the square root!)
- Natural, Whole, Integer, Rational, and Real (Note that the negative comes before squaring, because it's in parentheses!)

Second set:

- Commutative Property of Multiplication
- Inverse Property of Multiplication
- Inverse Property of Addition

Third set:

- 6x + 21
- 90x - 330 (Remember that we could have simplified the expression to 30(3x - 11))
- 46x + 86y (Don't forget to combine like-terms. Also, don't forget that you're subtracting 40y!)

Challenge Questions:

- Yes, take two rational numbers and the product of those two numbers is , which is still rational (remember that a rational number is one that can be expressed as a ratio of two numbers). This is an example of the closure property for rational numbers.
- No, is irrational, however, is an integer.
- No, consider two numbers and both of these numbers are irrational, however when you add them together, the irrational part "cancels" and you are left with a rational part. In other words, because you can always add a number and its negative to get 0 (which we consider to be rational), you can always get a rational number from an irrational number.
- Yes, because if were irrational but were equal to for some integers and , then would be equal to the rational number , contradicting the fact that is irrational.
- Yes, the product of two rational numbers is rational (see the first challenge problem) similarly the sum of two rational numbers is also rational. If is rational then is rational, then must also be rational. Therefore, must be irrational.