Basis Vector 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

Basis vectors of a vector space or tangent space, indexed with a lower index so components carry upper ones.

A vector is expanded as v = v^i e_i, pairing the lower index on the basis with the upper index on the components. In geometry the coordinate basis is e_i = \partial_i, and in an orthonormal frame g(e_i, e_j) = \delta_{ij}. Physics and engineering often write bold \mathbf{e}_i or hats \hat{e}_i, and use \mathbf{e}_x, \mathbf{e}_y for Cartesian directions. Keep the index low; writing e^i for basis vectors conflicts with the dual basis convention. Under a change of basis e'_i = A^j{}_i e_j, the components transform with the inverse matrix.

Minimal compilable example

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

v=viei,g(ei,ej)=δijv = v^i e_i,\quad g(e_i, e_j) = \delta_{ij}
\documentclass{article}
\begin{document}
Basis Vector: $e_i$

\[ v = v^i e_i,\quad g(e_i, e_j) = \delta_{ij} \]
\end{document}

Related symbols

All テンソル記法 →

Frequently asked questions

How do I write Basis Vector in LaTeX?
Type e_i in math mode, for example $v = v^i e_i,\quad g(e_i, e_j) = \delta_{ij}$. 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 poweredAIでLaTeXを書く

最高のAI LaTeXエディタ、Overleaf代替

Octreeは15以上の大学の研究者がAIを使って論文をより速く書くのを支援

  • AIで美しいTikZダイアグラムを生成
  • 画像をアップロードしてシームレスにLaTeXに変換
  • 論文の執筆とフォーマットに即座にサポートを取得