GATE CSE
First time here? Checkout the FAQ!
x
+2 votes
142 views

Consider the following statements:

  1. A graph in which there is a unique path between every pair of vertices is a tree.
  2. A connected graph with e=v-1 is a tree
  3. A connected graph with e=v-1 that has no circuit is a tree

Which one of the above statements is/are true?

  1. I and III
  2. II and III
  3. I and II
  4. All of the above
asked in DS by Active (1.6k points)  
edited by | 142 views

1 Answer

+4 votes
Best answer

Lets go one by one,

(i) A graph in which there is a unique path between every pair of vertices is a tree.

==> This statement is true, Because graph can have unique path only when it does not have cycle. And according to the definition of tree, its a graph without cycel. Hence this is a valid statement.

(ii) A connected graph with e = v − 1 is a tree.

==> This statement is true. Not every graph with e = v - 1, will be a tree. But if the graph is connected hence its true. 

(iii) A graph with e = v − 1 that has no circuit is a tree.

==> This statement is also true, Here he has not mentioned the connected thing, but mentioned that it has no circuit. It means that its connected.

 

You can also proof these, just by taking some example. For the formal Proof check this

answered by Veteran (33.9k points)  
selected by
i need proof.
check now.
u r a savier sir thanks
What is meaning of circuit here ??

I know two types of circuit - A ) Hamilton circuit and B) Eulerian Circuits.

Circuit means cycle. and they are not two types of circuit. cheeky



Top Users May 2017
  1. akash.dinkar12

    3578 Points

  2. pawan kumarln

    2314 Points

  3. Bikram

    1950 Points

  4. Arjun

    1852 Points

  5. sh!va

    1682 Points

  6. Debashish Deka

    1296 Points

  7. Devshree Dubey

    1282 Points

  8. Arunav Khare

    1122 Points

  9. Angkit

    1072 Points

  10. LeenSharma

    1028 Points

Monthly Topper: Rs. 500 gift card
Top Users 2017 May 29 - Jun 04
  1. Arunav Khare

    246 Points

  2. Arjun

    202 Points

  3. pawan kumarln

    108 Points

  4. Rupendra Choudhary

    94 Points

  5. Niharika 1

    90 Points


22,909 questions
29,243 answers
65,404 comments
27,746 users