Elliptic Integral K in LaTeX (K(k))
- LaTeX command
K(k)- Package
- No package needed: built into LaTeX
- Mode
- Text and math mode
Where it is used
Complete elliptic integral of the first kind, an integral of 1/sqrt(1 - k^2 sin^2 theta) over a quarter period.
K(k) = \int_0^{\pi/2} \frac{d\theta}{\sqrt{1 - k^2 \sin^2\theta}}, with K(0) = \pi/2 and a logarithmic blow-up as k \to 1. It gives the exact period of a pendulum, T = 4\sqrt{L/g}\,K(\sin(\theta_0/2)). The biggest pitfall is the argument convention: some texts and software use the parameter m = k^2, writing K(m), so K(0.5) can mean two different numbers. State whether you use the modulus k or the parameter m. The incomplete version is F(\phi, k). The AGM gives a fast formula: K(k) = \frac{\pi}{2\,\mathrm{AGM}(1, \sqrt{1-k^2})}.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Elliptic Integral K: $K(k)$
\[ K(k) = \int_0^{\pi/2} \frac{d\theta}{\sqrt{1 - k^2 \sin^2\theta}} \]
\end{document}Related symbols
- Elliptic Integral E
E(k) - Polygamma
\psi^{(n)}(x) - Dirac delta function
\delta(x) - Digamma
\psi(x) - Heaviside step function
H(x) - Hypergeometric
{}_2F_1(a,b;c;z)
Frequently asked questions
- How do I write Elliptic Integral K in LaTeX?
- Type K(k) in math mode, for example $K(k) = \int_0^{\pi/2} \frac{d\theta}{\sqrt{1 - k^2 \sin^2\theta}}$. It works in plain LaTeX without loading any package.
- Which package do I need for K(k)?
- None. K(k) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use K(k) in text mode, or only in math mode?
- Both. K(k) compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf
Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI
- Gumawa ng magagandang TikZ diagrams gamit ang AI
- Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
- Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers