wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider an undirected graph G where self-loop are not allowed. The vertex set of G is {(i, j)} 1i12, 1j12). There is an edge between (a, b) and (c, d) if |ac|1 and |bd|1. The number of edges in this graph is
  1. 506

Open in App
Solution

The correct option is A 506
The given condition translates into the graph shown below where every vertex is connected only with its neighbours.

From above diagram:
(i) The four corner vertices have each 3 degrees which gives 4 × 3 = 12 degrees.
(ii) The 40 side vertices have 5 degrees each contributing a total of 40 × 5 = 200 degrees.
(iii) The 100 interior vertices each have 8 degree contributing a total of 100 × 8 = 800 degrees.

So total degree of the graph
12 + 200 + 800 = 1012 degrees

Now the number of edges in any undirected graph
=Total degrees2

Therefore the number of edges in this graph
=10122=506

flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon