My Digital Garden

Real numbers

Real numbers

All the numbers from \infin to \infin

Real number line

Graph of real numbers \R

Absolute value

Absolute value of number x, written |x| is distance from x to 0.

For any x\R

|x|={x,if x isnonnegativex,if x is negative

Basic algebra rules

With equalities

  • If a=b then a+c=b+c
  • If a, b, and c are numbers, and c0, and a=b, then c·a=c·b.

With inequalities

  • If a<b, then a+c<b+c.

  • but with multiplication:

    Suppose a<b.
    If c>0, then a·c<b·c.
    If c<0, then a·c>b·c.

Intervals

Closed intervals

Include the endpoints

[2,3.1]={x\R:2x3.1}

1[2,3.1]
2[2,3.1]
2.7[2,3.1]
3.1[2,3.1]
3.2[2,3.1]

Open intervals

Don't include the endpoints

(5,8)={x\R:5<x<8}

5.5(5,8)
5.001(5,8)
5(5,8)

Half-open intervals

Include one endpoint

(7.1,15]={x\R:7.1<x15}

Based on course material by Paul Bendich and Daniel Egger from Data Science Maths Skills