1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ainat [17]
3 years ago
8

Using the bijection rule to count binary strings with even parity.

Mathematics
1 answer:
AleksandrR [38]3 years ago
3 0

Answer:

Lets denote c the concatenation of strings. For a binary string <em>a</em> in B9, we define the element f(a) in E10 this way:

  • f(a) = a c {1} if a has an odd number of 1's
  • f(a) = a c {0} if a has an even number of 1's

Step-by-step explanation:

To show that the function f defined above is a bijective function, we need to prove that f is well defined, injective and surjective.

f   is well defined:

To see this, we need to show that f sends elements fromo b9 to elements of E10. first note that f(a) has 1 more binary integer than a, thus, it has 10. if a has an even number of 1's, then f(a) also has an even number because a 0 was added. On the other hand, if a has an odd number of 1's, then f(a) has one more 1, as a consecuence it will have an even number of 1's. This shows that, independently of the case, f(a) is an element of E10. Thus, f is well defined.

f is injective (or one on one):

If a and b are 2 different binary strings, then f(a) and f(b) will also be different because the first 9 elements of f(a) form a and the first elements of f(b) form b, thus f(a) is different from f(b). This proves that f in injective.

f is surjective:

Let y be an element of E10, Let x be the first 9 elements of y, then f(x) = y:

  • If x has an even number of 1's, then the last digit of y has to be 0, and f(x) = x c {0} = y
  • If x has an odd number of 1's, then the last digit of y has to be a 1, otherwise it wont be an element of E10, and f(x) = x c {1} = y

This shows that f is well defined from B9 to E10, injective, and surjective, thus it is a bijection.

You might be interested in
On a string of lights for every 6 green lights,there are 4 white lights.If their are 30 green lights,how many white lights are t
kifflom [539]
30÷5=6

4×5=20

for every 30 green lights there are 20 white lights
3 0
3 years ago
Read 2 more answers
Can someone plsss help me no links
nirvana33 [79]

Answer:

Number one the base is 24 and the Volume is 120

Number two the base is also 24 and the Volume is 240.

Step-by-step explanation:

For #1:

For the first one the area of the base is 8x3 which equals 24 so for base Number 1 its 24.

All we got to do to figure out the volume is multiply by 10 *the height* and then divide by 2 because we are finding the volume of a pyramid. 24x10 = 240/2 = 120. So the volume for Number 1 is 120.

For #2:

It has the exact same number except we are dealing with a rectangular prism which means at the end we don't have to divide by 2. For the base its  8 x 3 = 24 the same as the pyramid.  For the volume-  8 x 3 = 24 x 10 = 240 which means the volume is 240. And of course don't forget the unit yards³

Hope I was able to help!

8 0
2 years ago
Factor 81z^4 - 16<br> Please answer asap
Oksanka [162]

81x%5E4-16 Start with the given expression.

%289x%5E2%29%5E2-16 Rewrite 81x%5E4 as %289x%5E2%29%5E2.

%289x%5E2%29%5E2-%284%29%5E2 Rewrite 16 as %284%29%5E2.

Notice how we have a difference of squares A%5E2-B%5E2 where in this case A=9x%5E2 and B=4.

So let's use the difference of squares formula A%5E2-B%5E2=%28A%2BB%29%28A-B%29 to factor the expression:

A%5E2-B%5E2=%28A%2BB%29%28A-B%29 Start with the difference of squares formula.

%289x%5E2%29%5E2-%284%29%5E2=%289x%5E2%2B4%29%289x%5E2-4%29 Plug in A=9x%5E2 and B=4.

So this shows us that 81x%5E4-16 factors to %289x%5E2%2B4%29%289x%5E2-4%29.

In other words 81x%5E4-16=%289x%5E2%2B4%29%289x%5E2-4%29.

Now let's factor 9x%5E2-4 further

-------------------------------------

 

9x%5E2-4 Start with the given expression.

%283x%29%5E2-4 Rewrite 9x%5E2 as %283x%29%5E2.

%283x%29%5E2-%282%29%5E2 Rewrite 4 as %282%29%5E2.

Notice how we have a difference of squares A%5E2-B%5E2 where in this case A=3x and B=2.

So let's use the difference of squares formula A%5E2-B%5E2=%28A%2BB%29%28A-B%29 to factor the expression:

A%5E2-B%5E2=%28A%2BB%29%28A-B%29 Start with the difference of squares formula.

%283x%29%5E2-%282%29%5E2=%283x%2B2%29%283x-2%29 Plug in A=3x and B=2.

So this shows us that 9x%5E2-4 factors to %283x%2B2%29%283x-2%29.

In other words 9x%5E2-4=%283x%2B2%29%283x-2%29.

----------------------------------------------------------------

Answer:

So 81x%5E4-16 completely factors to %289x%5E2%2B4%29%283x%2B2%29%283x-2%29

3 0
2 years ago
Solve the equation 4*e+2=1 (mod5)
otez555 [7]

Here's a way to do it.

Let 4e +2 = 5n +1 . . . . . . for some integer n

Then e = (5n -1)/4 = n + (n -1)/4

We want (n-1)/4 to be an integer, so let it be integer m.

... m = (n -1)/4

... 4m = n -1

... 4m +1 = n

Substituting this into our expression for e gives

... e = (5(4m+1) -1)/4 = (20m +4)/4 = 5m +1

e = 5m+1 for any integer m

4 0
3 years ago
Tyler believes that an 8-sided die can be used to predict whether customers at his store will use a coupon when making their pur
Alik [6]
"1 indicating a coupon and all other outcomes indicating no coupon"
Probability is (number of successful outcomes) / (number of possible outcomes)

Theoretical Probability of rolling a 1: 1/8 

Experimental Probability of using coupons: 4/48  =  1/12

So, the experimental probability of a customer using a coupon (that is, 1/12) is smaller than the theoretical probability of rolling a 1 (that is, 1/8).
8 0
3 years ago
Read 2 more answers
Other questions:
  • Which composition of transformations would be the inverse of rotating a figure 90° counterclockwise and then reflecting it over
    12·2 answers
  • A coyote can run at top speed at 44 miles per hour how far can it run in 15 minutes
    9·2 answers
  • Write a proportion to solve this problem: if 12 math books weigh 40 pounds, how much would 18 math books weigh
    6·1 answer
  • Is there a relationship between the degree of a polynomial and how "steep" it is on the left and right edges? If so, what is it
    15·1 answer
  • A pack of gum costs $2.95. If it holds 12 sticks of gum, about how much would one individual stick of gum cost?
    12·2 answers
  • Can someone help with these two questions?
    11·2 answers
  • Attached screenshot please help
    8·1 answer
  • SOMEONE PLEASE HELP ME RN!!! Ill mark brainliest
    10·2 answers
  • How many sides does the polygon have ?
    13·1 answer
  • Which graph represents the polynomial function?<br><br> f(x)=−x3+x2+9x−9
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!