Range in LaTeX (\text{range}(f))

range(f)\text{range}(f)
LaTeX command
\text{range}(f)
Package
Add to your preamble:\usepackage{amsmath}
Mode
Text and math mode

Where it is used

Range of f, usually meaning the set of values f actually attains.

The word is ambiguous: most modern texts treat range as the image, but some older ones use it for the codomain, so state your definition. In linear algebra, \text{range}(A) is the column space, and the fundamental theorem of linear algebra says it is the orthogonal complement of the null space of A^{\top}. Typesetting with \operatorname{range} gives upright letters with operator spacing; operator theorists often write \mathcal{R}(A) or \operatorname{ran} T instead. \text{range} works, but it follows the surrounding text font, including italics.

Minimal compilable example

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

range(A)={Ax∣x∈Rn}\text{range}(A) = \{A\mathbf{x} \mid \mathbf{x} \in \mathbb{R}^n\}
\documentclass{article}
\usepackage{amssymb,amsmath}
\begin{document}
Range: $\text{range}(f)$

\[ \text{range}(A) = \{A\mathbf{x} \mid \mathbf{x} \in \mathbb{R}^n\} \]
\end{document}

Related symbols

All 関数・写像 →

Frequently asked questions

How do I write Range in LaTeX?
Type \text{range}(f) in math mode, for example $\text{range}(A) = \{A\mathbf{x} \mid \mathbf{x} \in \mathbb{R}^n\}$. Load amsmath first with \usepackage{amsmath}.
Which package do I need for \text{range}(f)?
\text{range}(f) needs amsmath: add \usepackage{amsmath} to your preamble before the document starts.
Can I use \text{range}(f) in text mode, or only in math mode?
Both. \text{range}(f) compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredAIでLaTeXを書く

最高のAI LaTeXエディタ、Overleaf代替

Octreeは15以上の大学の研究者がAIを使って論文をより速く書くのを支援

  • AIで美しいTikZダイアグラムを生成
  • 画像をアップロードしてシームレスにLaTeXに変換
  • 論文の執筆とフォーマットに即座にサポートを取得