Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8011387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:00:06+00:00 2026-06-04T19:00:06+00:00

(a) Let T be a minimum spanning tree of a weighted graph G. Construct

  • 0

(a) Let T be a minimum spanning tree of a weighted graph G. Construct
a new graph G by adding a weight of k to every edge of G. Do the edges
of T form a minimum spanning tree of G. Prove the statement or give a
counterexample.

(b) Let P = {s, . . . , t} describe a shortest weighted path between
vertices s and t of a weighted graph G. Construct a new graph G by
adding a weight of k to every edge of G. Does P describe a shortest
path from s to t in G. Prove the statement or give a counterexample.

My solution:

a) Edges of T still form minimum spanning tree of G, since all edge weights are increased by same amount.

b) P still describes shortest path from s to t in G (same reason)

Can someone please verify the answers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:00:08+00:00Added an answer on June 4, 2026 at 7:00 pm

    Although I don’t think SO is the best place for your question, your answer to question B is definitely wrong.

    Consider a graph with 3 vertices (A,B,C), with the following edges:

    A-B = 1
    A-C = 0
    C-B = 0
    

    The shortest weighted path between A and B is A-C-B. If you add 2 to all the weights, your shortest path becomes A-B.

    (Sorry, missed the first part of the question, there is an answer for that already by now. The reason why a is correct but b is wrong is that spanning trees always contain exactly n-1 edges, while the number of edges in a shortest weighted path may vary.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am confused about the general form of a minimum spanning tree that includes
Here is an excise: Let G be a weighted directed graph with n vertices
Let G be an undirected graph with distinct edge weights. Let T be the
Let us have a graph. When we remove an edge, 2 'cars' are created,
I am new to F# and I have this code: if s.Contains(-) then let
The question is: Consider the directed graph with 5 vertices. Let the Dijkstra’s algorithm
We've a login form and our minimum password length is 8 chars. So when
Let's say you have a form with a component that displays data from a
Consider the following question relative to graph theory : Let G a bipartite graph.
I am looking for recommendations for a tool that will let me construct a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.