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
klemol [59]
4 years ago
7

After turning a map into a directed graph then into a matrix, I have been asked to square the matrix in class. I ran into this q

uestion that asked me to explain what the squared matrix represents. Does anyone know?
-
Alice and Becky live on Parkway East, at the intersections of Owens Bridge and Bay Bridge, respectively. Carl and David live on Parkway West, at the intersections of Bay Bridge and Owens Bridge, respectively. Parkway East is a one-way street running east. Parkway West is one way running west. Both bridges are two way. Calculate What does the new matrix model represent? Explain.

Mathematics
1 answer:
LUCKY_DIMON [66]4 years ago
4 0
I'm assuming that by "turning the graph into a matrix" you're referring to the adjacency matrix associated with a given directed graph, which encodes a connection between two vertices v_i and v_j by the number a_{ij}=1 if there's an edge beginning at v_i and terminating at v_j and 0 otherwise. Here a_{ij} is the entry of the adjacency matrix \mathbf A in the ith row and jth column.

a_{ij}=\begin{cases}1&\text{if }v_i\to v_j\\0&\text{otherwise}\end{cases}

Let's consider a simple example of a graph G(V,E) on three vertices V=\{v_1,v_2,v_3\}, where the edge set is E=\{v_1v_2,v_1v_3,v_3v_1\}. (image below)

The corresponding adjacency matrix is

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

and squaring this gives the matrix

\mathbf B=\mathbf A^2=\begin{bmatrix}1&1&0\\0&0&0\\0&1&1\end{bmatrix}

Let's think about what the entry b_{11} is saying. We obtained it by computing the vector product,

b_{11}=a_{1j}\cdot a_{i1}=\begin{bmatrix}0&1&1\end{bmatrix}\begin{bmatrix}0\\0\\1\end{bmatrix}=0\cdot0+1\cdot0+1\cdot1=1

We can interpret each term as counting the number of two-step paths we can take starting from v_1 and ending up back on v_1. We'll require that staying in place is not an option, that a path from one vertex to itself must involve leaving the first vertex.

The first term is then 0, since there is no path from v_1 to itself: a_{1,1}\cdot a_{1,1}=0

The second term is also 0, since we can take a step from v_1 over to v_2, but we can't go back: a_{1,2}\cdot a_{2,1}=0

The third term is 1, because we can take a step from v_1 to v_3, and we can then undo that step by going backwards from v_3 to v_1: a_{1,3}\cdot a_{3,1}=1

And so on. We can make the claim that b_{ij} (the (i,j)th element of \mathbf A^2) will give you the number of 2-edge paths from v_i to v_j.

And more generally, \mathbf A^n will give the number of paths consisting of n steps.

You might be interested in
Here are the 30 best lifetime baseball batting averages of all time, arranged in order from lowest to highest:
hichkok12 [17]

Answer:

D

Step-by-step explanation:

0.36|6=0.366

8 0
3 years ago
What is the future value of the loan in the previous problem if the interest is compounded
GenaCL600 [577]

Answer:Your calculator should now display a screen with these variables. I have written what each

variable stands for next to the variable. You calculator likely has numbers next to some of the

variables. This is okay. We will type over them when we need to solve a specific loan problem.

N Number of payments

I% Annual interest rate

PV Loan amount (Normally

entered as a POSITIVE

number in loan problems.)

PMT Monthly payment amount

(Usually entered as a

NEGATIVE number in loan

problems.)

FV Balance when loan is paid

off. (Usually 0 in a loan

problem.)

P/Y Number of payments per

year. (Usually 12 in a loan

problem.)

C/Y How often interest is

charged. (Usually 12 in a

loan problem)

Begin / End Choose Begin if you make a

loan payment the day you

take your loan. Otherwise

choose End. We will always

leave this on END.

Example: A new car is purchased and a $25,000 loan is taken. The loan is for 6 years (72

months) and the interest rate is 4.9% compounded monthly. What is the monthly payment?

Calculator steps: Hit APPS button then select Finance then select TVM solver.

We will solve most of the problems in this chapter from this screen. We need to know what

each variable represents. We will enter values for every variable except for the one we are

solving for. We are computing a monthly payment. We will put values in for every variable,

except (PMT). PMT stands for the payment.

Enter these values on your calculator.

N (number of payments) 72

I% (annual interest rate) 4.9

PV (Loan amount, make

this amount positive.)

25000

PMT Move cursor here and hit

green alpha button then

enter after you have entered

every other value.

FV (what you owe after

make all payments)

0

P/Y (payments per year) 12

C/Y (how often interest is

paid)

12

Begin / End

(We will always leave this

on end.)

End

Once you have entered all of the amounts scroll up to PMT. Make sure your cursor is flashing

next to PMT. It doesn’t matter what value is in the PMT. Your calculator will put in the correct

payment when you tell it to compute the payment. Hit the green ALPHA button the ENTER.

Answer: $401.46

Step-by-step explanation:

3 0
4 years ago
The radius of the base of a cylinder is 38 mm and its height is 51 mm. Find the surface area of the cylinder in terms of π.
KIM [24]
C 6764
You need to find the total surface area which is 21249.73271
Then times each option (a,b,c,d) by pi to see if you get 21249.7321
6 0
4 years ago
Read 2 more answers
What is the square root of 361
ivann1987 [24]
The answer would be 19. If u have a calculator you can just plug it in though
6 0
3 years ago
What are the solutions of the equation? x2- 16/25=0
OverLord2011 [107]

x² - 16/25 = 0

x² = 16/25

x = ±√(16/25) = ±4/5

Answer: x=4/5 and x=-4/5

4 0
4 years ago
Other questions:
  • Is each pair of systems equivalent? Explain.
    11·1 answer
  • Please answer this for me
    14·2 answers
  • How to write 76.12 in words
    14·2 answers
  • Evaluate<br>2000(0.085)<br>1500(0.04)(3)<br>3200(0.045)8<br>please help fast
    15·1 answer
  • What is the result when 2x^3+16x^2+25x-242x3+16x2+25x−24 is divided by x+3x+3? If there is a remainder​
    5·2 answers
  • If the perimeter of the regular hexagon shown above is 78 centimeters, what is the length of each side?
    15·1 answer
  • What is the name of segment BD ?!
    8·1 answer
  • Daniel scored nine points less than a andre in the basketball game Noah scored twice as many points as Diego if noah scored 10 p
    14·1 answer
  • PLEAASE SOMEONE HELP ME IM SO STUCK<br><br> finish the table using the equation y= x/2
    14·1 answer
  • 2. Compare and contrast a function and its inverse. Represent your
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!