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로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기