Double Dot in LaTeX (\ddot{x})
- LaTeX command
\ddot{x}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Places two dots above a variable to denote its second time derivative, as in acceleration.
Newton's second law is commonly written m\ddot{x} = F, and the harmonic oscillator as \ddot{x} + \omega^2 x = 0. In Lagrangian mechanics the Euler-Lagrange equations produce \ddot{q} terms. Although it resembles an umlaut, \ddot is a math accent; for German or Turkish words in text use \"{o} instead. The dots are centered over the symbol's slanted axis, so over italic letters they shift slightly right, which is intentional. For a third derivative \dddot{x} exists, though beyond that Leibniz notation or x^{(n)} is clearer.
Also listed under: Calculus & Analyse
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Double Dot: $\ddot{x}$
\[ m\ddot{x} + c\dot{x} + kx = F(t) \]
\end{document}Related symbols
- Triple Dot
\dddot{x} - Dot
\dot{x} - Bar
\bar{x} - Wide Tilde
\widetilde{xyz} - Overline
\overline{xyz} - Tilde
\tilde{x}
Frequently asked questions
- How do I write Double Dot in LaTeX?
- Type \ddot{x} in math mode, for example $m\ddot{x} + c\dot{x} + kx = F(t)$. It works in plain LaTeX without loading any package.
- Which package do I need for \ddot{x}?
- None. \ddot{x} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \ddot{x} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\ddot{x}$ in running text.
Beste AI LaTeX Editor, Overleaf Alternatief
Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI
- Genereer mooie TikZ-diagrammen met AI
- Upload afbeelding en converteer naadloos naar LaTeX
- Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen