Real Numbers in LaTeX (\mathbb{R})

R\mathbb{R}
LaTeX command
\mathbb{R}
Package
Add to your preamble:\usepackage{amssymb}
Mode
Math mode only
Copy the Unicode character
ℝU+211D

Where it is used

Blackboard-bold R, the set of real numbers that make up the continuous number line.

\mathbb{R}^n is Euclidean space, f : \mathbb{R} \to \mathbb{R} a real function, and \mathbb{R}_{\ge 0} or \mathbb{R}_+ the nonnegative reals (conventions differ on whether \mathbb{R}^+ includes 0). Matrix spaces are written \mathbb{R}^{m \times n}. The extended reals are \overline{\mathbb{R}} or [-\infty, \infty]. Avoid \Re, which prints a fraktur R for the real part of a complex number, not the set of reals. Many authors define a short macro \R. Its completeness, every bounded set having a supremum, is what separates it from \mathbb{Q}.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

f:Rn→R,x↦∥x∥2f : \mathbb{R}^n \to \mathbb{R}, \quad x \mapsto \|x\|^2
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Real Numbers: $\mathbb{R}$

\[ f : \mathbb{R}^n \to \mathbb{R}, \quad x \mapsto \|x\|^2 \]
\end{document}

Related symbols

All 집합론 →

Frequently asked questions

How do I write Real Numbers in LaTeX?
Type \mathbb{R} in math mode, for example $f : \mathbb{R}^n \to \mathbb{R}, \quad x \mapsto \|x\|^2$. Load amssymb first with \usepackage{amssymb}.
Which package do I need for \mathbb{R}?
\mathbb{R} needs amssymb: add \usepackage{amssymb} to your preamble before the document starts.
Can I use \mathbb{R} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\mathbb{R}$ in running text. If you only need the glyph in text, paste the Unicode character ℝ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기