Number sets in LaTeX

To write number sets such as real numbers (\mathbb{R}), we need to use additional package either amssymb or amsfonts. In preamble, just type

\usepackage{amssymb}
or
\usepackage{amsfonts}.

Then, we can use the command mathbb like \mathbb{set}.

  • Real numbers (\mathbb{R}) contain every number except complex numbers.
  • Natural numbers (\mathbb{N}) = {1, 2, 3, 4, …}.
  • Whole numbers (\mathbb{W}) = {0, 1, 2, 3, 4, …}.
  • Integers (\mathbb{Z}) = {…, -3, -2, -1, 0, 1, 2, 3, …}.
  • Rational numbers (\mathbb{Q}) can be written as a ratio of two integers such as 1/2 and 3/7.
  • Irrational numbers (\mathbb{I}) contain all numbers that cannot be written as rational number: \pi and \sqrt{2}.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s