A problem arises when we speak of subtraction.
We define for a given a,b∈N
We define an expression −(a—b)∈Z
(Integers)
(a—b)is an integer,a,b∈N if (a—b)=(c—d), then a + d = b + c
If (a—b)=(a′—b′)⇒a+b′=a′+b
(a—b)+(c—d)(a—b)×(c—d)=(a′—b′)—(b+d)=(a′—b′)×(c+d) Proof. LHS:(a—b)+(c—d)RHS:(a′—b′)+(c—d) Adding=(a+c)—(b+d)=(a′+c)—(b′+d)(c+d)on both sides We can represent natural numbers as (n — 0) ∈Z, you will see that every operation holds.
(Negation)
If (a — b) is an integer, we define the negation -(a — b), to be the integer (b — a). In particular, if n = n— 0 is a positive natural number, we can define its negation -n = 0 — n
When x∈Z,
x=0
x=n, n is +ve natural number
x=−n, n is +ve natural number
(Rationals)
a//b,a∈Z,b∈Z,b=0, we define a//b as such, and when he have two such rational numbers that,
a//b=c//d⇔ad=bc We define the operations for addition, multiplication and negation as such,
a//b+c//d:=(ad+cb)//(bd)
(a//b)×c//d:=ac//bd
−(a//b):=(−a)//b
The output of the above operations should be equal when
a//b is replaced by an equivalent rational number
a′//b′ If x < y, and z < 0, then
xz>yz Proof. Say,
x<y⟹y−x>0 xzxz−yz>yz, where z=−p,p>0>0⟹(x+(−y))z>0(x+(−y))(−p)=(−1)(x+(−y))p=(y−x)p (Reciprocal)
If x=a//b then x−1:=b//a but 0−1 is undefined.
(Division)
We define the operation x / y, where x,y∈Q such that,
x/y:=x×y−1=(x//1)×(y//1)−1=(x//1)×(1//y)=x//y (Order)
If x>0, if x=a/b where a,b∈Z,a,b>0 or a,b<0
and x<0 if x=−y,y>0,y∈Q
This makes rational numbers the first ordered field, real numbers fall under this category as well.
(Trichotomy Of Order)
For x∈Q,
xxx=0∈Q+∈Q− (Equality For Rationals)
Show that the definition of equality for the rational numbers is reflexive, symmetric and transitive.
Proof. For reflexivity,
We define x=a//b
Then if x=x,
a//b=a//b,ab=ab This reduces it down to integer multiplication, which we know is reflexive.
For symmetry,
For two integers,
a//b=c//d⇔ad=cb⇔cb=ad⇔c//d=a//b Thus symmetry is proved
For transitivity,
When,
a//b=c//d;c//d=e//f⇔a//b=e//f ⇔ad=cb⇔cf=ed adf=cbfafdafa//b=cfb=edb=ebd=eb By cancellation law, which is defined for integers=e//f