Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I have graph $G=(V,E)\\$

What is the meaning of $|G|$? (The cardinality of G).

I'd like to few words about it...

Thank you!

share|cite|improve this question
$|V|{}{}{}{}{}$. – Andrés E. Caicedo Jul 13 '13 at 16:54
So, it's just the amount of the vertices? – Yoar Jul 13 '13 at 16:55
That is the standard use. – Andrés E. Caicedo Jul 13 '13 at 16:55
Thank you so much! you helped me a lot. – Yoar Jul 13 '13 at 17:07
up vote 10 down vote accepted

Generally, for a given graph $\,G=(V,E),\;$ the standard meaning of $|G|$ is simply $$|G| = |V|$$

share|cite|improve this answer
While we're on the subject, a few authors write $\|G\|$ to denote the number of edges. – Austin Mohr Jul 13 '13 at 16:59


|V| = number of vertices or graph order.

|E| = number of edges or graph size.

Some like to use |G| to mean the graph order though.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.