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: التفاضل والتكامل والتحليل

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 التشكيل والمعدّلات →

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

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

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

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