Dual Basis in LaTeX (e^i)

eie^i
LaTeX command
e^i
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Dual basis covectors, defined by e^i(e_j) = \delta^i_j, used to extract components of a vector.

Applying e^i to a vector picks out its i-th component, e^i(v) = v^i, and covectors expand as \alpha = \alpha_i e^i. For coordinates the dual basis is e^i = dx^i, and in Cartan's method the orthonormal coframe e^a gives the metric as g = \delta_{ab}\, e^a \otimes e^b. Because the index is a superscript, e^i can be misread as a power of e; if there is any risk, say so or use \theta^i, a common alternative for coframes.

Minimal compilable example

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

ei(ej)=δji,α=αi eie^i(e_j) = \delta^i_j,\quad \alpha = \alpha_i\, e^i
\documentclass{article}
\begin{document}
Dual Basis: $e^i$

\[ e^i(e_j) = \delta^i_j,\quad \alpha = \alpha_i\, e^i \]
\end{document}

Related symbols

All ترميز التنسور →

Frequently asked questions

How do I write Dual Basis in LaTeX?
Type e^i in math mode, for example $e^i(e_j) = \delta^i_j,\quad \alpha = \alpha_i\, e^i$. It works in plain LaTeX without loading any package.
Which package do I need for e^i?
None. e^i is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use e^i in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $e^i$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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