Introduction to Algorithms
Introduction to Algorithms
3rd Edition
ISBN: 9780262033848
Author: Thomas H. Cormen, Ronald L. Rivest, Charles E. Leiserson, Clifford Stein
Publisher: MIT Press
bartleby

Concept explainers

Question
Book Icon
Chapter D, Problem 2P

a.

Program Plan Intro

To prove that |R(A)|=2r and conclude that A defines a permutation on Sn only if A has full rank.

Given information:

  • r is the rank of matrix A.
  • Preimage of y is defined by P(A,y)={x:Ax=y} , for given n×n matrix A and given a value yR(A) .

Explanation:

It can be assumed without generality loss, that the first r columns of A are linearly independent.

Then for x1,x3Sn , it can be concluded that Ax1Ax2 based on following two conditions.

  • In the first r entries x1 and x2 are not identical. And x1 , x2
  • have 0’s in the remaining entries.

Now Ax1Ax2 is true since the first r entries of each are a linear combination of the first r rows of A , and it is impossible to have two different linear combinations that are equal of them because they are independent.

Now it is must that |R(A)|2r as there are at least 2r non-equivalent vectors xSn . Alternatively, x is a vector that doesn’t consists of 0’s in the coordinates that larger than r . Therefore Ax=xiai where ai is the ith column of A . Now as each of the last nr columns of A is in fact a linear combination of the first r columns of A , this can be rewritten as a linear combination of the first r columns of A .

Since all of these has been already, |R(A)|=2r . The range cannot include all 2n elements of Sn if A doesn’t have full rank so, permutation can be defined possible by A

b.

Program Plan Intro

To prove that |P(A,y)|=2nr if r is the rank of n×n matrix A and yR(A) .

c.

Program Plan Intro

To prove that |B(S',m)|=2r and that for each block in B(S',m) exactly 2mr numbers in S map to that block.

d.

Program Plan Intro

To show that number of linear permutations of Sn is much less than number of permutations of S using counting argument.

e.

Program Plan Intro

To provide an example of a value n and permutation of Sn that cannot be achieved by any linear permutation.

Blurred answer
Students have asked these similar questions
Modular Program Structure. Analysis of Structured Programming Examples. Ways to Reduce Coupling. Based on the given problem, create an algorithm and a block diagram, and write the program code: Function: y=xsin⁡x Interval: [0,π] Requirements: Create a graph of the function. Show the coordinates (x and y). Choose your own scale and show it in the block diagram. Create a block diagram based on the algorithm. Write the program code in Python. Requirements: Each step in the block diagram must be clearly shown. The graph of the function must be drawn and saved (in PNG format). Write the code in a modular way (functions and the main part should be separate). Please explain and describe the results in detail.
Based on the given problem, create an algorithm and a block diagram, and write the program code: Function: y=xsin⁡x Interval: [0,π] Requirements: Create a graph of the function. Show the coordinates (x and y). Choose your own scale and show it in the block diagram. Create a block diagram based on the algorithm. Write the program code in Python. Requirements: Each step in the block diagram must be clearly shown. The graph of the function must be drawn and saved (in PNG format). Write the code in a modular way (functions and the main part should be separate). Please explain and describe the results in detail.
Based on the given problem, create an algorithm and a block diagram, and write the program code: Function: y=xsin⁡x Interval: [0,π] Requirements: Create a graph of the function. Show the coordinates (x and y). Choose your own scale and show it in the block diagram. Create a block diagram based on the algorithm. Write the program code in Python. Requirements: Each step in the block diagram must be clearly shown. The graph of the function must be drawn and saved (in PNG format). Write the code in a modular way (functions and the main part should be separate). Please explain and describe the results in detail.
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
Text book image
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole
Text book image
Systems Architecture
Computer Science
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Cengage Learning
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage