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
Are these two functions inverse of each other? 3 g(x) + = 4x + 3 and f(x) = -x f(x) = -~- 4 Ο Νο O Yes​
Art [367]

Answer:

Yes!

Step-by-step explanation:

3 0
3 years ago
55 is 40% of what number
SCORPION-xisa [38]
You simply put 40 over a hundred and 55 over n (which is the number were trying to find)  so you do cross multiplication. 55 times a hundred and after you get the answer. You divide it by 40 and should get 137.5.
3 0
3 years ago
Riverdale High ordered 84 shirts with their logo on them. if 8 of the shirts were defective what percent of the shirts were not
Ymorist [56]

8 were defective.

Defective percent = 8/84 x 100 = 9.5238% were defective.

Percent not defective = 100% - 9.5238% = 90.4761%

Rounding to the nearest tenth 90.5% were not defective.

The question doesn’t say how to round the answer so you may need to round differently than I did.

8 0
3 years ago
Read 2 more answers
8 times the difference of u and 10
koban [17]

Answer: 8(u - 10)

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
3(b + 8) = b + 48 PORFAVOR con plantamiento operacion y resultado, y de paso me explique el temas nsd9ucancuqna :( amaba matemat
ipn [44]

Answer:

b=12

Step-by-step explanation:

3b +24= b +48

       -24       -24

   3b =  b+ 24

   -b      -b

2b = 24

÷2     ÷2

b=12

5 0
3 years ago
Other questions:
  • Solve the equation for k.<br> 4k - 2z = 8
    9·2 answers
  • Which fraction is equivalent to One-sixth?
    6·2 answers
  • Chose an equation below that represents the line passing through the point (-2,-3) with a slope of -6
    8·1 answer
  • How would you write the absolute value of 5.23
    15·1 answer
  • Grandpa gump is 63yrs old. His age is 2 years less than 5 times the age of billy Gump. How old is Billy?
    6·1 answer
  • Someone please help!!!!! i will mark brainliest :)
    12·1 answer
  • I NEED HELP ASAP! In a magic square, the sum of the numbers in each row, column, and diagonal is the same. Write and solve equat
    9·1 answer
  • BC = x + 14, AB = x + 10, AC = 22
    11·1 answer
  • Rackel runs 3.2 miles each weekday and 1.5 each day of the weekend how many miles will she rin i 6 weeks
    5·1 answer
  • 8. Sam packed 15 boxes in 5 days. Dylan packed 60 boxes 4 weeks and 2 days. Who packed the most
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!