Recall that the triangle inequality for the Hamming distance says that d(a, b) + d(b, c)...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Recall that the triangle inequality for the Hamming distance says that d(a, b) + d(b, c) ≤ d(a, c). Here a, b and c are q-ary words of length n. We will say that b lies between a and c if equality holds in the above formula, i.e., d(a, b) + d(b, c) = d(a, c). The purpose of the next four exercises is to discover and prove a formula for the number of words that lie between a and c. (3) How many words lie between a and a? (4) Assume q = 2 and n = 3. How many words lie (i) between (0,0,0) and (1, 1, 1)? (ii) between (0,0,0) and (1,1,0)? (iii) between (0, 0, 0) and (1,0,0)? (5) Suppose q = 2, a and c are binary words of length n and d(a, c) = d. Based on your answers in Problems 3 and 4, guess a formula for the number of binary words of length n lying between a and c. Prove this formula. (6) We now allow q to be arbitrary and ask the same question as in Problem 5. Given q-ary words a and b of length n and at Hamming distance d, how many q-ary words of length n lie between a and c? Prove your answer. (7) How many binary words of length 6 are at Hamming distance (a) at Hamming distance 6 from (1,0, 1, 0, 1, 0)? (b) at Hamming distance 5 from (1, 0, 1, 0, 1, 0)? Recall that the triangle inequality for the Hamming distance says that d(a, b) + d(b, c) ≤ d(a, c). Here a, b and c are q-ary words of length n. We will say that b lies between a and c if equality holds in the above formula, i.e., d(a, b) + d(b, c) = d(a, c). The purpose of the next four exercises is to discover and prove a formula for the number of words that lie between a and c. (3) How many words lie between a and a? (4) Assume q = 2 and n = 3. How many words lie (i) between (0,0,0) and (1, 1, 1)? (ii) between (0,0,0) and (1,1,0)? (iii) between (0, 0, 0) and (1,0,0)? (5) Suppose q = 2, a and c are binary words of length n and d(a, c) = d. Based on your answers in Problems 3 and 4, guess a formula for the number of binary words of length n lying between a and c. Prove this formula. (6) We now allow q to be arbitrary and ask the same question as in Problem 5. Given q-ary words a and b of length n and at Hamming distance d, how many q-ary words of length n lie between a and c? Prove your answer. (7) How many binary words of length 6 are at Hamming distance (a) at Hamming distance 6 from (1,0, 1, 0, 1, 0)? (b) at Hamming distance 5 from (1, 0, 1, 0, 1, 0)?
Expert Answer:
Answer rating: 100% (QA)
Solution S No words lie 22 n 3 110 010 from dca a 0 000 000 1190 0... View the full answer
Related Book For
Elementary Linear Algebra with Applications
ISBN: 978-0132296540
9th edition
Authors: Bernard Kolman, David Hill
Posted Date:
Students also viewed these mathematics questions
-
Verify the triangle inequality for the two particular functions appearing in Exercise 3.1.30 with respect to the L2 inner product on (a) The unit square (b) The unit disk
-
The Triangle Inequality for vectors is |a + b | < |a| + |b| (a) Give a geometric interpretation of the Triangle Inequality. (b) Use the Cauchy-Schwarz Inequality from Exercise 61 to prove the...
-
Verify the triangle inequality for each pair of vectors in Exercise 3.2.1.
-
Use a calculator to evaluate an ordinary annuity formula \[A=m\left[\frac{\left(1+\frac{r}{n}ight)^{n t}-1}{\frac{r}{n}}ight]\] for \(m, r\), and \(t\) (respectively) given in Problems 7-22. Assume...
-
On December 31, 2012, Delchamps Group reported a balance in Restructuring Provisions of 50.9 million, of which 12.5 million was expected to be paid in 2013, with the remainder to be settled during...
-
The direct integration procedure also yields an expression for a rod of finite length (see Example 23.4). Can you use Gauss's law to derive this expression as well? Why or why not? Data from Example...
-
The sack of cement has a weight of \(90 \mathrm{lb}\). If it is dropped from rest at a height of \(h=4 \mathrm{ft}\) onto the center of the W10 \(\times 39\) structural steel A-36 beam, determine the...
-
Ralph Rack straw your next-door neighbor, surprised his wife last January by having a hot tub installed in their back yard while she was away on a business trip. It surprised her, all right, but...
-
1. What drove Amazon's early success? What did Amazon's bookselling model do for the customers and its cost to serve? Why did Amazon move into so many categories so quickly? What mistakes did Amazon...
-
Dino Dog Collars uses activity-based costing. Dinos system has the following features: Each collar has four parts, direct materials cost is $ 9.00 per collar, and direct labor cost is $ 4.00 per...
-
(a)Find the equation of the tangent line to the curve 8xy - 5x +7 y = 10(x-3y), at the point (2,-2). (b) Given that f(x, y) = 6xy cosx + 5y siny + 10x? e-3x. find fxi fyy fry Jyx
-
Consider a one-period model with two risky assets Sl and S2. The prices of S1 and $2 will have the following three different scenarios. (We assume that all the random variables are defined on some...
-
Sylvia is planning an investment. Her annual combined Federal and provincial marginal tax rate is 32%. If she invests $1,000 every year for 3 years starting today, how much after-tax income will she...
-
The bond has a face value of $1000 and is bought at par with a coupon rate of 5%. After one year, the market yield on the bond changes to 9 %. Yrs to maturity Initial curr yield Initial P(t) P(t+1)...
-
Suppose you are the financial manager of a firm considering the following five projects. Project A Project B Project C Project D Project E Initial Investment -$10,000 -$15,000 -$14,000 -$6,000...
-
Joe purchases 3 sandwiches and 5 slices of pizza per month. At this, consumption bundle, Joe's marginal rate of substituting pizza for sandwich is 2/5. The price of sandwich is $6 and price of pizza...
-
Identify the circumstances which have led to an increase in the risk of litigation. a. Handing of media b. Challenges of Rigating in multiple jurisdictions c. Complexities arising from simultaneous...
-
d) For die casting processes: 1. What are the most common metals processed using die casting and discuss why other metals are not commonly die casted? 2. Which die casting machines usually have a...
-
Complete the proof of Theorem 6.3 by showing that the matrix A is unique. (Suppose that there is another matrix B such that L(x) = Bx for x in Rn. Consider L(ej) for j = 1, 2... n. Show that A = B.)
-
`For the orthogonal matrix Verify that (Ax, Ay) = (x, y) for any vectors x and y in R2? S- SI- -S-
-
For each of the following matrices find, if possible, a non-singular matrix P such that P-1 A P is diagonal: (a) (b) (c) (d) 320 212 203 100 302 211 102 3 0
-
The timber beam has a width of 6 in. Determine its height \(h\) so that it simultaneously reaches an allowable bending stress of \(\sigma_{\text {allow }}=1.50 \mathrm{ksi}\) and an allowable shear...
-
If the bearing pads at \(A\) and \(B\) support only vertical forces, determine the greatest magnitude of the uniform distributed loading \(w\) that can be applied to the beam. \(\sigma_{\text {allow...
-
The beam is constructed from two boards. If each nail can support a shear force of \(200 \mathrm{lb}\), determine the maximum spacing of the nails, \(s, s^{\prime}\), and \(s^{\prime \prime}\), to...
Study smarter with the SolutionInn App