Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Suppose that to generate a random simple graph with n vertices we first choose a real number p with\({\bf{0}} \le {\bf{p}} \le {\bf{1}}\). For each of the\({\bf{C}}\left( {{\bf{n,2}}} \right)\)pairs of distinct vertices we generate a random number x between 0 and 1.

If\({\bf{0}} \le {\bf{x}} \le {\bf{p}}\), we connect these two vertices with an edge; otherwise these vertices are not connected.```

a) What is the probability that a graph with m edges where\({\bf{0}} \le {\bf{m}} \le {\bf{C}}\left( {{\bf{n,2}}} \right)\)is generated?

b) What is the expected number of edges in a randomly generated graph with n vertices if each edge is included with probability p?

c) Show that if\({\bf{p = }}\frac{{\bf{1}}}{{\bf{2}}}\)then every simple graph with n vertices is equally likely to be generated.

A property retained whenever additional edges are added to a simple graph (without adding vertices) is called monotone increasing, and a property that is retained whenever edges are removed from a simple graph (without removing vertices) is called monotone decreasing.

Short Answer

Expert verified

(a) The value obtained is \(C\left( {n,m} \right){P^m}\left( {1 - P} \right)\).

(b) The expected number is \(np\).

(c) All labelled graphs are equally likely.

Step by step solution

01

 Introduction

A vertex (or node) of a graph is one of the objects that are connected together. The connections between the vertices are called edges or links.

02

(a) Find the value

It have for a complete graph\(G\)having\(m\)edges where\(0 \le m \le C\left( {n,2} \right)\). Then the required probability is given by:\(C\left( {n,m} \right){P^m}\left( {1 - P} \right)\).

Hence, the value obtained is \(C\left( {n,m} \right){P^m}\left( {1 - P} \right)\).

03

(b) Find the expected number

Let us take a graph\(G\)having\(n\)vertices.

Expected number is given by\(np\).

Hence, the expected number is \(np\).

04

(c) Find the graph

Let us take a simple graph\(G\)having\(n\). It need to generate a labelled graph

\(G\),so it need to pair up the vertices and need to apply the process to them, then need to apply the process to them, then need to choose a random number \(x\)with the condition that\(x \le \frac{1}{2}\)(\(G\)has an edge between that pair of vertices) and\( \ge \frac{1}{2}\)(\(G\)has no edge).

Hence, the probability of making the right selection is equal for each edge and\(\frac{1}{2}C\left( {n,2} \right)\)overall.

Hence, all labelled graphs are equally likely.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

a) Show that the puzzle can be reduced to determining whether there is a Hamilton circuit in the graph in which each knight is represented by a vertex and two knights are connected in the graph if they are friends.

b) Answer the question posed in the puzzle. (Hint: Use Diracโ€™s theorem.)

To prove if G is a chromatically k-critical graph, then the degree of every vertex of G is at least k-1.

The complete m-partite graph \({{\rm{K}}_{{{\rm{n}}_{\rm{1}}}{\rm{,}}{{\rm{n}}_{\rm{2}}}{\rm{,}}.......{\rm{,}}{{\rm{n}}_{\rm{m}}}}}\)has vertices partitioned into \({\rm{m}}\)subsets of \({{\rm{n}}_{\rm{1}}}{\rm{,}}{{\rm{n}}_{\rm{2}}}{\rm{,}}.......{\rm{,}}{{\rm{n}}_{\rm{m}}}\)elements each, and vertices are adjacent if and only if they are in different subsets in the partition.

How many vertices and how many edges does the complete m-partite graph \({{\rm{K}}_{{{\rm{n}}_{\rm{1}}}{\rm{,}}{{\rm{n}}_{\rm{2}}}{\rm{,}}.......{\rm{,}}{{\rm{n}}_{\rm{m}}}}}\)have?

a) Show that if the diameter of the simple graph\({\bf{G}}\)is at least four, then the diameter of its complement\({\bf{\bar G}}\)is no more than two.

b) Show that if the diameter of the simple graph\({\bf{G}}\)is at least three, then the diameter of its complement\({\bf{\bar G}}\)is no more than three.

Extend Dijkstraโ€™s algorithm for finding the length of a shortest path between two vertices in a weighted simple connected graph so that the length of a shortest path between the vertex a and every other vertex of the graph is found.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free