Range in LaTeX (\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.
\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
- Hook Right Arrow
\hookrightarrow - Codomain
\text{cod}(f) - Surjective
\twoheadrightarrow - Domain
\text{dom}(f) - Left Right Arrow
\leftrightarrow - Kernel
\ker(f)
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.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기