تاريخ الرياضيات
الاعداد و نظريتها
تاريخ التحليل
تار يخ الجبر
الهندسة و التبلوجي
الرياضيات في الحضارات المختلفة
العربية
اليونانية
البابلية
الصينية
المايا
المصرية
الهندية
الرياضيات المتقطعة
المنطق
اسس الرياضيات
فلسفة الرياضيات
مواضيع عامة في المنطق
الجبر
الجبر الخطي
الجبر المجرد
الجبر البولياني
مواضيع عامة في الجبر
الضبابية
نظرية المجموعات
نظرية الزمر
نظرية الحلقات والحقول
نظرية الاعداد
نظرية الفئات
حساب المتجهات
المتتاليات-المتسلسلات
المصفوفات و نظريتها
المثلثات
الهندسة
الهندسة المستوية
الهندسة غير المستوية
مواضيع عامة في الهندسة
التفاضل و التكامل
المعادلات التفاضلية و التكاملية
معادلات تفاضلية
معادلات تكاملية
مواضيع عامة في المعادلات
التحليل
التحليل العددي
التحليل العقدي
التحليل الدالي
مواضيع عامة في التحليل
التحليل الحقيقي
التبلوجيا
نظرية الالعاب
الاحتمالات و الاحصاء
نظرية التحكم
بحوث العمليات
نظرية الكم
الشفرات
الرياضيات التطبيقية
نظريات ومبرهنات
علماء الرياضيات
500AD
500-1499
1000to1499
1500to1599
1600to1649
1650to1699
1700to1749
1750to1779
1780to1799
1800to1819
1820to1829
1830to1839
1840to1849
1850to1859
1860to1864
1865to1869
1870to1874
1875to1879
1880to1884
1885to1889
1890to1894
1895to1899
1900to1904
1905to1909
1910to1914
1915to1919
1920to1924
1925to1929
1930to1939
1940to the present
علماء الرياضيات
الرياضيات في العلوم الاخرى
بحوث و اطاريح جامعية
هل تعلم
طرائق التدريس
الرياضيات العامة
نظرية البيان
Transmitting Data-Venn Diagram Encoding
المؤلف:
W.D. Wallis
المصدر:
Mathematics in the Real World
الجزء والصفحة:
143-146
15-2-2016
2315
For example, suppose we have a system where the messages consist of four binary digits, such as 1100 or 0111. In this example, to send 110011010110, you might first break it up into
1100 1101 0110
(so you can send it as three 4-symbol messages). Then each set of 4 digits is replaced by a set of seven digits according to a certain plan. This is called encoding the message. We shall outline one such scheme, where each four-digit string is replaced by a seven-digit string. The three additional digits are calculated using a diagram like a Venn diagram, so the method is called Venn diagram encoding.
We shall represent the original message by the four-digit string ABCD. Each of A, B, C or D represents a 1 or a 0; in the example 1100, A would represent 1, B is 1, C is 0, and D is 0. We transmit a string ABCDEFG.
The set of seven digits is constructed as follows:
First, draw a diagram of three overlapping circles, and write the numbers A, B, C and D in the positions shown in the left-hand diagram in Fig. 10.1. Then write in three more numbers—E, F, G—chosen as follows. In each circle the sum of the four numbers is to be even.
A + B + C + E must be even.
A + C + D + F must be even.
B + C + D + G must be even.
Fig. 1.1 Venn diagram encoding
Sample Problem 1.1 Encode the message words 1101 and 0110 using Venn diagram encoding.
Solution. Start by forming the following diagrams:
In the diagram for 1101, all three circles contain two 1s, so the sums are all even.
Each of the other three symbols will be 0. In the 0110 diagram, the top left circle is even, so it receives 0 for its new symbol; but each of the others has sum 1, which is odd, so those circles receive another 1. The final diagrams are
and the strings transmitted will be 1101000 and 0110010 respectively.
The number ABCD is called the message word, and ABCDEFG is called the codeword. This method of constructing codewords from strings of length 4 is called Venn diagram encoding. The person who receives the message fills the numbers into a diagram and checks the three circle sums:
• If they are all even, it is assumed that the correct message was received.
• If any are odd, corrections are made on the assumption that exactly one number is wrong in each odd circle.
This technique has an obvious flaw: if two or more errors are made, the correct message will not be recovered; in fact, the message will be “corrected” to something wrong. But it is reasonably reliable provided the chance of an error is small, and there are other methods available when errors are more likely.
Suppose you receive the codeword 1010010. When you form the diagram, shown on the left of Fig. 1.2, you see that the sum of the top left circle is even (2), but the top right and bottom sums are both odd (3 and 1 respectively). You can change at most one digit, so the only solution is to change the entry common to the two circles, as shown in the right-hand diagram. The corrected codeword is 1011010, and you believe the intended message was 1011.
Fig. 1.2 Correcting a codeword with one error
Suppose the sums of the entries in the top left, top right, and bottom circles are X, Y, and Z respectively. Then:
• if only X is odd, change entry E;
• if only Y is odd, change entry F;
• if only Z is odd, change entry G;
• if X and Y are odd, change entry A;
• if X and Z are odd, change entry B;
• if Y and Z are odd, change entry D;
• if all three are odd, change entry C.
And, if all three are even, make no changes.
How useful is this process? Suppose information is being transmitted electronically, and there is one chance in 10 that an error will be made on any given symbol.
Then the probability of a four-symbol binary message being received correctly is 0.94, or about 0.656. So roughly one in every three messages will be received incorrectly. If there are seven symbols, the chance of no errors is 0.97, approximately 0.478. The chance that the first symbol will be received incorrectly but the rest will be correct is 0.96 × 0.1, and it is the same for each other symbol, so the chance of exactly one error is 0.96 × 0.1 × 7, or 0.372. So the probability of at most one error is 0.85. In those cases the Venn diagram method returns the correct message, so Venn diagram encoding improves the chance of receiving the message correctly from about 2 in 3 to about 5 in 6.
However, most electrical transmissions are far more reliable than that. If the chance of an error in any symbol is 1 in 100, the probability of an error in a fourdigit transmission is about 1 in 25, while the probability that the message would be decoded correctly using Venn diagram decoding is 0.998—the chance of a mistake in a message is 1 in 500.
Of course, errors are more likely in some transmissions. An example is transmissions from probes sent to the moon and planets. For these cases, methods are available that correct far more than single errors.