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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث