Phi in LaTeX (\phi)

ϕ\phi
LaTeX command
\phi
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
ϕU+03D5

Where it is used

Lowercase Greek phi, used for angles, the golden ratio, Euler's totient function, and feature maps.

\phi gives the closed, stroked form, while \varphi gives the open, loopy form; many authors choose \varphi for functions and keep \phi for angles. Number theory writes Euler's totient as \varphi(n) or \phi(n), the golden ratio is \phi = (1 + \sqrt{5})/2, and spherical coordinates use \phi for an angle. Machine learning uses \phi(x) for a feature map in kernel methods, and physics uses it for scalar potentials and wavefunctions. Do not confuse \phi with \emptyset or the Scandinavian Ø.

Also listed under: 삼각함수

Minimal compilable example

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

ϕ=1+52≈1.618\phi = \frac{1 + \sqrt{5}}{2} \approx 1.618
\documentclass{article}
\begin{document}
Phi: $\phi$

\[ \phi = \frac{1 + \sqrt{5}}{2} \approx 1.618 \]
\end{document}

Related symbols

All 그리스 기호 →

Frequently asked questions

How do I write Phi in LaTeX?
Type \phi in math mode, for example $\phi = \frac{1 + \sqrt{5}}{2} \approx 1.618$. It works in plain LaTeX without loading any package.
Which package do I need for \phi?
None. \phi is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \phi in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\phi$ in running text. If you only need the glyph in text, paste the Unicode character ϕ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기