Right arrow symbol (→)
→ is the right arrow. In maths it reads 'tends to', 'maps to' or 'if… then', depending on where it stands.
- implies
- left arrow
- left-right arrow
- Unicode
U+2192- HTML
→- Alt code
Alt 26- LaTeX
\rightarrow
What it means
In a limit it means 'tends to': says x gets as close to 0 as you like. Between two sets it gives a function's type: takes real numbers to real numbers.
In logic means 'if p, then . Many books keep the double arrow ⇒ for 'implies' between whole statements, and → for limits and functions. In chemistry it separates what reacts from what forms: .
Outside maths it simply points the way: the next step, see over, from one place to another.
How to type it
| Windows | Hold Alt and type 26 on the number pad |
|---|---|
| Mac | No shortcut: press Control + Command + Space and search “rightwards arrow” |
| Word | Type 2192, then press Alt + X |
| Google Docs | Insert > Special characters, then search “rightwards arrow” |
| iPhone and Android | Tap Copy above. To keep it to hand, add a text replacement: on iPhone in Settings > General > Keyboard > Text Replacement, on Android in Gboard’s settings under Dictionary > Personal dictionary |
| HTML | → or → |
In LaTeX
\rightarrow (or its alias \to) typesets a rightward arrow →, used for functions, limits, sequences and mappings.
LaTeX command
\rightarrowNot the symbol you meant? Draw it to find the command →
Typing up handwritten notes? Convert a whole page of handwriting to LaTeX →
The rightward arrow shows up in several distinct mathematical roles. In function notation, f : declares that f maps elements of A to elements of B. In limits, or describes a variable approaching a value. In sequences and processes, it can show one state evolving into the next.
\to is simply a shorter alias for \rightarrow, producing an identical glyph; most authors use \to in running text and limits for brevity, and \rightarrow when spelling things out feels clearer, such as in a labelled diagram. Neither is more correct than the other.
For showing exactly where an element goes under a function, use \mapsto instead of \rightarrow: reads 'x maps to x squared', pairing naturally with the function declaration f : \mathbb{R} \to \mathbb{R},\ . Reserve \rightarrow for the domain-to-codomain statement and \mapsto for the specific rule.
Other forms
\toalias, common in limits\leftarrowleft (←)\leftrightarrowboth ways (↔)\mapstomaps to (↦)Examples
$f : A \to B$a function from A to B
$x \mapsto x^2$the squaring map, paired with \mapsto not \to
$\lim_{x \to \infty} \frac{1}{x} = 0$x approaching infinity in a limit
$n \to \infty$a sequence index tending to infinity
$f : \mathbb{R} \to \mathbb{R}, \quad x \mapsto x^2$a full function declaration combining \to and \mapsto
Tips and common mistakes
- Use
\to(shorthand) or\rightarrow(full name) interchangeably, they produce the same arrow; pick one convention and keep it consistent within a document. - Use
\rightarrowfor the domain-to-codomain statement, f : , and\mapstofor the explicit rule on elements, (x); mixing them up is a very common notational slip. - In limits, always attach the arrow to the variable and its target directly under
\lim:\lim_{x \to a}f(x), not as separate floating symbols. - Do not use
\rightarrowfor logical implication, use\impliesor\Rightarrowinstead; the plain arrow is reserved for functions, limits and mappings in most conventions. - For a longer, more visually prominent arrow, for instance over a long label or in a commutative diagram, use
\longrightarrowinstead.
Working from handwritten notes?
LatexNotes turns a photo or PDF of handwritten mathematics into LaTeX, graphs and all. It is built with real pdflatex before you see it, and the .tex file is yours to edit or take to Overleaf. Free to try, no sign-up.
See how handwriting to LaTeX works, step by step, or go from GoodNotes to LaTeX if you write on an iPad (Notability works the same way).
Convert your maths to LaTeX →FAQ
How do I type → on Windows?
Hold Alt and type 26 on the number pad, which works in most programs. In Word, type 2192 and press Alt + X, or type --> and Word turns it into an arrow.
What is the difference between → and ⇒?
→ is for limits, functions and 'if… then' in logic. ⇒ links whole statements in a proof: 'this implies that'.
What is the difference between \to and \rightarrow?
None visually or semantically, \to is simply a shorter alias for \rightarrow, and both produce the identical → glyph. \to is more common in limits and inline text purely because it is quicker to type.
What is the difference between \to and \mapsto?
\to connects a domain and codomain, as in f : , describing where a function's inputs and outputs live in general. \mapsto shows the specific rule applied to an individual element, as in , showing exactly what happens to x.
How do I write a limit with an arrow in LaTeX?
Use \lim_{x \to a} f(x), placing the variable and its target inside the subscript of \lim, connected by \to.
How do I get a longer arrow?
Use \longrightarrow instead of \rightarrow; it produces a stretched-out version of the same arrow, useful for labelled arrows or commutative diagrams.