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 Functions at Mapping →

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 poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers