Elliptic Integral K in LaTeX (K(k))

K(k)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.

K(k)=∫0π/2dθ1−k2sin⁡2θK(k) = \int_0^{\pi/2} \frac{d\theta}{\sqrt{1 - k^2 \sin^2\theta}}
\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

All الدوال الخاصة →

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.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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