Double Dot in LaTeX (\ddot{x})

x¨\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 at Analysis

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

mx¨+cx˙+kx=F(t)m\ddot{x} + c\dot{x} + kx = F(t)
\documentclass{article}
\begin{document}
Double Dot: $\ddot{x}$

\[ m\ddot{x} + c\dot{x} + kx = F(t) \]
\end{document}

Related symbols

All Accents at Modifiers →

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.
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