Dot in LaTeX (\dot{x})

x˙\dot{x}
LaTeX command
\dot{x}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Adds a single dot above a variable, Newton's notation for the first time derivative.

In mechanics and dynamical systems \dot{x} means dx/dt, so equations like \dot{x} = Ax or the Lagrangian L(q, \dot{q}, t) are written compactly. Physicists also use it for rates such as \dot{m} for mass flow. The dot is a math accent and works over Greek letters too: \dot{\theta}. Do not confuse it with \cdot (a centered multiplication dot) or with the text-mode accent \.{z} used in Polish words. For the second derivative use \ddot{x} rather than stacking two \dot commands, which misaligns the dots.

Also listed under: التفاضل والتكامل والتحليل

Minimal compilable example

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

x˙(t)=Ax(t)+Bu(t)\dot{x}(t) = A x(t) + B u(t)
\documentclass{article}
\begin{document}
Dot: $\dot{x}$

\[ \dot{x}(t) = A x(t) + B u(t) \]
\end{document}

Related symbols

All التشكيل والمعدّلات →

Frequently asked questions

How do I write Dot in LaTeX?
Type \dot{x} in math mode, for example $\dot{x}(t) = A x(t) + B u(t)$. It works in plain LaTeX without loading any package.
Which package do I need for \dot{x}?
None. \dot{x} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \dot{x} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\dot{x}$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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