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 poweredAI로 LaTeX 작성

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

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

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