Make an algorithm to solve the problem

Assignment Help Algebra
Reference no: EM1318744

Question: From this point on we will not concern ourselves with the fact that the set of all permutations over Ω forms a group. We will be focusing on individual permutations.

There is another very useful way to describe permutations. We denote by {a1, a2,.......ak} a cycle of k elements. This cycle defines a permutation ρ{a1} = a1, ρ{a2} = a2,...........,ρ{ak-1} = ak and also ρ{ak} = a1. A product of two cycles corresponding to the composition {as functions} of the two corresponding permutation. For example, consider the permutation ρ = {1 2 3}{2 4}, defined as a composition - apply first the rightmost one - of two cycles. Suppose that we wish to find ρ{4} we have that fist 4 goes to 2 in the right cycles. Then, 2 go to 3. Therefore, ρ{4} = 3. How about ρ{1}? The second cycle is not concerned at all with 1 hence, ρ{1} = 2. As another example consider a permutation defined by the product { 1 2 3 4 X 4 5 6 7}{8 9}. Clearly, every product of one or more cycles defines a permutation. The other direction is also true. Actually, given any permutation can we always write it as a product of disjoint cycles? Two cycles are disjoint if they don't have any common element. Such a thing is called cycle-decomposition of the permutation. One of the first theorems for permutations says that

Theorem: Every permutation r over Ω can be written as a product of disjoint cycles. The main focus of this question is to prove this theorem.

For example, consider the permutation we had before:

1812_permutation.jpg

Observe that if we start from 1 we can go to 2 and then from 2 we can go back to 1 and this repeats forever. Also, 3 goes to 3 and then again. Hence, we can write r is r = {1 2}{3}. That is, 1,2 appeared only in one cycle, and 3 only in one. Actually, for notational simplicity we can omit cycles that are identities on certain elements, since this is well-understood. Hence, we could about notation and write r = {1 2}. Also note that indeed those cycles are disjoint.

You will prove this theorem by showing that for every permutation given in the input {r{1},........,r{n}} you can construct in the output the cycle-decomposition of this permutation. That is, your proof will give us for free an algorithm to actually solve this problem in practice.

[A] Define the problem where given the permutation we construct cycle decomposition and give at least two examples of input-outputs. Give an algorithm for the problem.

[B] Prove that your algorithm is correct for the problem.

Reference no: EM1318744

Questions Cloud

Probability that the student will pass : If a student guesses on each question, what is the probability that the student will pass the test?
Use compound interest to find the amount : Use compound interest to find the amount.
Qualitative and quantitative forecasting method : Determine a qualitative and quantitative forecasting method for your operation. Next, create a table in which you identify the characteristics of the operation that relate to each method.
Probability for determining capacity of the plane : Determine the probability that the number of people who show up will exceed the capacity of the plane?
Make an algorithm to solve the problem : Make an algorithm to solve the problem.
Cultural factors of us sports franchises : Prepare a two page paper in APA style that describes, explains, addresses, and answers the following questions or statements. What cultural factors must U.S. sports franchises overcome to increase popularity abroad? Why?
Probability values based on the binomial distribution : For such groups of 800, would it be unusual to get 687 consumers who recognize the Dull Computer Company name?
Present value of annuity : Present value of an annuity due: You wrote a piece of software that does a better job of allowing computers to network than any other program designed for this purpose.
Difference between i-chart and x-bar chart : Would the method described above be a good way to determine which team was taller (explain why or why not)?

Reviews

Write a Review

Algebra Questions & Answers

  Solve the linear model

Select five values for x to plug into the linear function, P(x)=10x-7 and prepare a table of values

  Identify the sample and suggest a population

Identify the sample and suggest a population

  Evaluate the ratios

Evaluate the ratios and check are the ratios equivalent.

  Define variables and profit function

Define variables and profit function

  Make a linear equation

Assume you have a lemonade stand, & when you charge $1 per cup of lemonade you sell 50 cups. But when you raise your price to $2 you only sell 25 cups. Make an equation for the number of cups you sell as a function of the price you charge. Denote "C"..

  Classify linear and non linear functions

For each of the relationships given below, describe whether you think it is best explained by a linear function or a non-linear function.

  Which of the following are functions

Which of the following are functions?  The two problems, i.e., 1 & 3, are multi part relations consider all parts when determining whether or not these relations are functions. Explain your reason for 1, 2, & 3.

  Using venn diagram for solving word problems

Using venn diagram for solving word problems.

  Joint probability density function

The joint probability density function.

  Applications of combination

Applications of combination

  Solving problems using venn diagram

Solving problems using venn diagram.

  Solving problems into equation

Solving problems into equation.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd