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
Aleonysh [2.5K]
2 years ago
12

Find the number of paths of length 4 between two different vertices in K5​

Mathematics
1 answer:
Mkey [24]2 years ago
4 0

K₅ is the 5-complete graph, with adjacency matrix

A = \begin{bmatrix} 0 & 1 & 1 & 1 & 1 \\ 1 & 0 & 1 & 1 & 1 \\ 1 & 1 & 0 & 1 & 1 \\ 1 & 1 & 1 & 0 & 1 \\ 1 & 1 & 1 & 1 & 0 \end{bmatrix}

The (i, j)-th entry of the matrix A⁴ gives the number of length-4 paths from vertex i to vertex j. Computing A⁴ isn't so bad:

A^2 =  \begin{bmatrix} 0 & 1 & 1 & 1 & 1 \\ 1 & 0 & 1 & 1 & 1 \\ 1 & 1 & 0 & 1 & 1 \\ 1 & 1 & 1 & 0 & 1 \\ 1 & 1 & 1 & 1 & 0 \end{bmatrix}  \begin{bmatrix} 0 & 1 & 1 & 1 & 1 \\ 1 & 0 & 1 & 1 & 1 \\ 1 & 1 & 0 & 1 & 1 \\ 1 & 1 & 1 & 0 & 1 \\ 1 & 1 & 1 & 1 & 0 \end{bmatrix} =  \begin{bmatrix} 4 & 3 & 3 & 3 & 3 \\ 3 & 4 & 3 & 3 & 3 \\ 3 & 3 & 4 & 3 & 3 \\ 3 & 3 & 3 & 4 & 3 \\ 3 & 3 & 3 & 3 & 4 \end{bmatrix}

A^4 = \begin{bmatrix} 4 & 3 & 3 & 3 & 3 \\ 3 & 4 & 3 & 3 & 3 \\ 3 & 3 & 4 & 3 & 3 \\ 3 & 3 & 3 & 4 & 3 \\ 3 & 3 & 3 & 3 & 4 \end{bmatrix} \begin{bmatrix} 4 & 3 & 3 & 3 & 3 \\ 3 & 4 & 3 & 3 & 3 \\ 3 & 3 & 4 & 3 & 3 \\ 3 & 3 & 3 & 4 & 3 \\ 3 & 3 & 3 & 3 & 4 \end{bmatrix} = \begin{bmatrix} 52 & 51 & 51 & 51 & 51 \\ 51 & 52 & 51 & 51 & 51 \\ 51 & 51 & 52 & 51 & 51 \\ 51 & 51 & 51 & 52 & 51 \\ 51 & 51 & 51 & 51 & 52 \end{bmatrix}

We want the paths between two distinct vertices, so we ignore the entries on the diagonal and take the total of the non-diagonal entries, 20 • 51 = 1020.

You might be interested in
A hiker is standing 40 feet away from a tree that is 50 feet tall.
Simora [160]

Answer:

87.9°

Step-by-step explanation:

arctan(50/40)=87.9°

6 0
3 years ago
Which of the following requires a proof?
marshall27 [118]
A theorem requires a proof.
3 0
3 years ago
The Cia estimates the world population is growing at a rate of 1.167% each year.the world population for 2007 was about 6.6 bill
labwork [276]
Hcvnmbvcchjjhhfgcxgjjbxxghnkn8
5 0
2 years ago
The height of a cone-shaped statue is 9 ft, and the diameter is 12 ft. What is the volume of the statue? Use 3.14 to approximate
neonofarm [45]
Height = 9 ft
Radius = Diameter/2 = 12/2 = 6 ft
Volume of a cone = 1/3πr²h
= 2/3 × 3.14 × 6 × 6 × 9
= 339.12 ≈ 339.1 cubic foot.
4 0
3 years ago
Read 2 more answers
Why are bars of the histogram all the same width?
Aleksandr-060686 [28]
The widths of the bars are equal to ensure that numbers aren't represented improperly. If a bar was wider than another that was the same height, it could be misinterpreted as being larger. 
3 0
3 years ago
Other questions:
  • Admission to carnival is $5 and each game at the carnival cost $0.85 you have $15 dollars to spend on admission and games. What
    8·1 answer
  • I have found the integral and I get
    9·1 answer
  • PLEASE HELP--
    7·1 answer
  • Consider a value to be significantly low if its z score less than or equal to minus2 or consider a value to be significantly hig
    5·1 answer
  • Normally the rate at which you expend energy during a brisk walk is 3.6 Calories per minute. (A Calorie is the common unit of fo
    6·1 answer
  • An industrial laser cuts steel plates that are 11.93 meters long. The laser can have an error value of at most 0.02 meters.
    8·1 answer
  • Triangle LMN is given. What is the value of cos(N)?
    15·1 answer
  • The graph of the rational function f is shown. Which graph is the graph of g(x)=-f(x)?
    10·2 answers
  • Can somebody help me plleeeaseee
    15·2 answers
  • Find the area of the hexagon
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!