I'm having trouble understanding whether or not an MST would be a tree or not.
Let's say that given a graph G = (V, E), do any subset of edges T ⊆ E that connects all vertices in V and have minimal total weight must be a tree, or can it be some other subgraph when - Some edges may have negative weights. - All of the edges have positive weight.
I'm thinking that for some edges that may have negative weights, it must be a tree and for the edges with all edges having positive weights, it can be some other subgraph.
Please help me if I'm correct or wrong.
If it must be a tree, could you explain the contradictions to connectedness and minimality. But if you think that it could be some other subgraph, then could you show me an example where a connected graph that may not be a tree has lower weight in it.