4-2 binary fields and binary vector spaces Special Thanks to Dr. Samir Al-Ghadhban & EE430 Students.

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

Mathematics. Matrices and Determinants-1 Session.
7/2/2015Errors1 Transmission errors are a way of life. In the digital world an error means that a bit value is flipped. An error can be isolated to a single.
Finding the Inverse of a Matrix
Properties of Real Numbers
MATRICES. Matrices A matrix is a rectangular array of objects (usually numbers) arranged in m horizontal rows and n vertical columns. A matrix with m.
Algebraic Properties: The Rules of Algebra Be Cool - Follow The Rules!
8.4 Matrix Operations Day 1 Thurs May 7 Do Now Solve X – 2y = -6 3x + 4y = 7.
(2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition.
Row 1 Row 2 Row 3 Row m Column 1Column 2Column 3 Column 4.
Algebraic Properties Learning Goal: The student will be able to summarize properties and make connections between real number operations.
Exercise in the previous class p: the probability that symbols are delivered correctly C: 1 00 → → → → What is the threshold.
Copyright © 2011 Pearson, Inc. 7.2 Matrix Algebra.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
Properties of Addition and Multiplication. Commutative Property In the sum you can add the numbers in any order. a+b = b+a In the product you can multiply.
Properties and Mental Computation p. 80. Math talk What are some math properties that we use? Why do you think we have them? Do you ever use them?
§6 Linear Codes § 6.1 Classification of error control system § 6.2 Channel coding conception § 6.3 The generator and parity-check matrices § 6.5 Hamming.
Properties of Real Numbers List of Properties of Real Numbers Commutative Associative Distributive Identity Inverse.
ADVANTAGE of GENERATOR MATRIX:
Properties of Real Numbers 1.Objective: To apply the properties of operations. 2.Commutative Properties 3.Associative Properties 4.Identity Properties.
Properties and Scientific Notation
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
For real numbers a and b,we always have ab = ba, which is called the commutative law for multiplication. For matrices, however, AB and BA need not be equal.
1.2 Field Axioms (Properties) Notes on a Handout.
Matrix Operations.
Properties of Addition and Multiplication Why is it important to recognize these properties? It helps us with mental math. It helps us recognize patterns.
by D. Fisher (2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition 1.
(2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition.
PROPERTIES OF REAL NUMBERS. COMMUTATIVE PROPERTY OF ADDITION What it means We can add numbers in any order Numeric Example Algebraic Example
Matrices and Determinants
Goal: Find sums, differences, products, and inverses of matrices.
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
Properties Objective: To use the properties of numbers. Do Now 1.) = 3.) ( 2  1 )  4 = 2.) =4.) 2  ( 1  4 ) =
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
by D. Fisher (2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition 1.
(2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition.
Distributive Commutative Addition Zero Property Additive Inverse 0 Multiplicative Identity Commutative Multiplication Multiplicative Inverse Additive Identity.
Axioms for Rational Numbers 9/14-9/15. Natural Numbers – Numbers used for counting: 1, 2, 3, and so on. Whole Numbers – Natural numbers and zero: 0, 1,
Properties A property is something that is true for all situations.
12-2 MATRIX MULTIPLICATION MULTIPLY MATRICES BY USING SCALAR AND MATRIX MULTIPLICATION.
Channel Coding: Part I Presentation II Irvanda Kurniadi V. ( ) Digital Communication 1.
Ch. 12 Vocabulary 1.) matrix 2.) element 3.) scalar 4.) scalar multiplication.
Modulo-2 Digital coding uses modulo-2 arithmetic where addition becomes the following operations: 0+0= =0 0+1= =1 It performs the.
Linear Algebra Lecture 2.
1.4 Inverses; Rules of Matrix Arithmetic
Properties of Operations
Commutative Property of Addition
Properties of Real Numbers
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Properties of Addition and Multiplication
Properties of Real Numbers
II. Linear Block Codes.
Algebraic Properties in solving equations
Properties of Real Numbers
2.1 Properties of Real Numbers
Properties of Real Numbers
Algebra 1 Section 1.5.
Properties of Real Numbers
Properties of Real Numbers
Commutative Properties
Properties of Real Numbers
You will need to supply your own calculators for this course---you will need either a TI-82 or a TI-84 graphing calculator.
Matrix Algebra.
Properties of Real Numbers
Properties of Real Numbers
Matrix Operations Ms. Olifer.
Properties of Real Numbers
3.5 Perform Basic Matrix Operations Algebra II.
Properties of Numbers Review Problems.
Presentation transcript:

4-2 binary fields and binary vector spaces Special Thanks to Dr. Samir Al-Ghadhban & EE430 Students

Binary fields To describe codes, we use a mathematical structure called a field. A field is defined to be a set of elements A and two arithmetic operation called addition (+) and multiplication (.),such that; 1- Closure For all a,b A → a+b A and a.b A 2- Associative properties of addition and multiplication a+b +c = (a+b)+c = a+(b+c) anda.b.c = (a.b).c = a.(b.c) 3- Identity elements a+0 = 0+a=a ; 0 is the additive identity a.1 = 1.a=a ; 1 is the multiplicative identity

Cont. 4- Additive inverse For any a A, there exist b such that a+b =0 → b is the additive inverse b→ -a 5- Multiplicative inverse For any element a A,except 0, there is a multiplicative inverse,such that a.b=1 b → a Addition is commutative a+b = b+a 7- Distributive property a.(b+c) = a.b + a.c (a+b).c = a.c + b.c

Boolean arithmetic For binary source, A ={0,1} The field is called Galois field with two elements, GF(2). Addition and multiplication are defined as: 0+0 = 0 ; 0+1 = 1+0 = 1 ; 1+1 = 0 0.0= 1.0 = 0.0 = 0 ; 1.1 = 1 → Addition is the XOR "Exclusive or" Multiplication is the AND function

Binary vectors We can construct binary vectors from the binary field GF(2) Define A n to be a set with elements a= (a 0, a 1,…, a n-1 ) with each a i A= {0,1}. Define two arithmetic operators 1. Vector addition: if a,b A n then vector addition (+) is defined as a+b ≡ ((a 0 +b 0 ), (a 1 +b 1 ),…, (a n-1 +b n-1 )) 2. Scalar multiplication: If a A n and b A is a binary scalar, then b.a = a.b = (ba 0, ba 1,…, ba n-1 )

Vector space A vector space is a structure made of: - vectors A n - scalars A - and two arithmetic operations. The sets and the arithmetic operations satisfy the following constraints: 1. Closure: For every a,b A n,the sum a+b A n 2. Addition is commutative 3. Addition is associative 4. A n contains a vector 0 such that a+0 = a 5. Additive inverses: for every a A n,there is some vector b A n such that a+b = 0.

Cont. 6. For every scalar a A and every vector b A n there is a vector a b A n → closure of scalar multiplication. 7. Scalar multiplication is associative 8. Scalar multiplication is distributive with respect to vector addition 9. Scalar multiplication is distributive with respect to scalar addition 10. If 1 A is the scalar multiplicative identity, then for every a A n, 1 a = a.

Example: 2D Code. A 2- D code is a simple error correcting code with additional error detection capability. The rate in this example is 9/16. Let the 9 bit massage be M=[m 0, m 1, m 2,….,m 8 ], mi {0,1} Let m 8 be the first bit transmitted, then the codeword is C = [c 0,c 1,c 2,m 0,c 4,m 1,c 6,m 2,c 8,m 3,m 5,c 12,m 6,m 7,m 8 ] Where

Cont. Where c 12 = m 8 + m 7 + m 6 similarly c 1,c 2,c 4,c 6 and c 8 c 0 = m 8 + m 7 + …+ m 1 + m 0 During transmission, bit error may occur, the received word is v = c + e where e = [ e 0,e 1,….,e 15 ]; if e i = 1 → error e i = 0 → no error

Cont. At the receiver, we calculate seven error check bits, which are called syndrome bits. this code can correct single bit errors,and can detect two bit errors.

Cont. Notice that, 1.If no errors occur, all s i are zero. 2. If an odd number of errors occur, s 0 = 1 3. If a single error occurs in one of the m i message bits, one of the row and one of the column syndrome bits will equal to 1. In this case, we can correct the error bit by adding 1 to the v i bit corresponding to the intersection of the row and column. 4. If a single error occurs in one of the parity bits (c i ), then either one row or one column syndrome bit (but not both) will be equal to one and the s 0 bit will be 1. in this case, no correction is necessary because none of the message bits are in error.

Cont. 5.If two errors occur, s 0 =0, and multiple syndrome bits in a row or column will be 1 → we can detect two errors. but we can't guarantee to correct these errors For example, assume the errors are in v 14 and v 13, then s 2 and s 1 = 1 but s 6 =0 So, we can't tell the error location. 6.If the number of errors are greater than two: Odd number → we can't guarantee that we will not miscorrect the error. Even number → we can't guarantee to detect the error. See example (Retransmission Probability)