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

  • SEARCH
  • Home
  • 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 721605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:53:33+00:00 2026-05-14T05:53:33+00:00

If we have an (arbitrary) connected undirected graph G, whose edges have distinct weights,

  • 0

If we have an (arbitrary) connected undirected graph G, whose edges have distinct weights,

  1. does every MST of G contains the minimum weighted edge?
  2. is there an MST of G that does not contain the maximum weighted edge?

Also, I’m more thankful if someone can give a hint of the key things one must keep in mind when dealing with such MST questions.

This is a homework problem. Thanks.

  • 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-05-14T05:53:34+00:00Added an answer on May 14, 2026 at 5:53 am

    is there an MST of G that does not contain the maximum weighted edge?

    There may be, but there doesn’t have to be. Consider a 4-vertex graph as follows:

    [A]--{2}--[B]
     |         |
     |         |
    {1}       {3}
     |         |
     |         |
    [C]-{50}--[D]
    

    The minimum spanning tree consists of the edge set {CA, AB, BD}. The maximum edge weight is 50, along {CD}, but it’s not part of the MST. But if G were already equal to its own MST, then obviously it would contain its own maximum edge.

    does every MST of G contains the minimum weighted edge?

    Yes. MSTs have a cut property. A cut is simply a partition of the vertices of the graph into two disjoint sets. For any cut you can make, if the weight of an edge in that cut is smaller than the weights of the other edges in the cut, then this edge belongs to all MSTs in the graph. Because you guaranteed that the edge weights are distinct, you have also guaranteed that there is an edge which is smaller than all other edges.

    Also, I’m more thankful if someone can give a hint of the key things one must keep in mind when dealing with such MST questions.

    Your best bet is to reason about things using the properties of MSTs in general, and to try to construct specific counterexamples which you think will prove your case. I gave an instance of each line of reasoning above. Because of the cut and cycle properties, you can always determine exactly which edges are in an MST, so you can systematically test each edge to determine whether or not it’s in the MST.

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

Sidebar

Ask A Question

Stats

  • Questions 356k
  • Answers 356k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I wonder if you would be better off creating a… May 14, 2026 at 8:56 am
  • Editorial Team
    Editorial Team added an answer Use WATIN. Very, very similar to the IE browser control,… May 14, 2026 at 8:56 am
  • Editorial Team
    Editorial Team added an answer Create a custom user type to replace null with ""… May 14, 2026 at 8:56 am

Related Questions

I'm concerned that this might be working on an NP-Complete problem. I'm hoping someone
In my implementation of Java NIO I have not been able to get SelectionKey.attach()
For a particular project, we acquire data for a number of events and collect
A cohort of mine is building a somewhat long search query based on various
We have an auto-complete list that's populated when an you send an email to

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.