261 views
5 votes
5 votes

Consider a weighted undirected graph with distinct positive edge weights and let $(u,v)$ be an edge in the graph. It is known that the shortest path from the source vertex $s$ to $u$ has weight $36$ and the shortest path from $s$ to $v$ has weight $44$. Which of the following statements is/are always TRUE? (Mark all the correct options)

  1. weight $(u, v) < 8$
  2. weight $(u, v) \leq 8$
  3. weight $(u, v) > 8$
  4. weight $(u, v) \geq 8$

1 Answer

Best answer
2 votes
2 votes
The difference between the shortest distances to $u$ and $v$ is $44-36 = 8.$ So, if the weight of $(u,v)$ is less than $8,$ the difference in shortest distances becomes less than $8$ which is not possible. So options A and B are not possible.
    
    If weight $(u,v) = 8,$ all conditions are satisfied and option C is not satisfying.
    
    So, correct answer is option D.
selected by
Answer:

Related questions

4 votes
4 votes
1 answer
2