Legendre Q in LaTeX (Q_n(x))
- LaTeX command
Q_n(x)- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Legendre function of the second kind, the second solution of Legendre's equation, singular at x = 1 and -1.
Q_n solves the same equation as P_n, (1 - x^2) y'' - 2x y' + n(n+1) y = 0, but it is not a polynomial: for instance Q_0(x) = \frac{1}{2}\ln\frac{1+x}{1-x} and Q_1(x) = x Q_0(x) - 1. Because of the logarithmic singularities at \pm 1, it is usually discarded in problems on the full sphere and kept only when the domain excludes the poles, such as a cone or region outside a prolate spheroid. Associated versions are Q_n^m(x). Use \ln with \frac for the logarithm, and \left( \right) if the argument grows tall.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Legendre Q: $Q_n(x)$
\[ Q_0(x) = \frac{1}{2} \ln \frac{1+x}{1-x}, \quad |x| < 1 \]
\end{document}Related symbols
- Hermite Polynomial
H_n(x) - Legendre P
P_n(x) - Laguerre Polynomial
L_n(x) - Modified Bessel K
K_n(x) - Chebyshev T
T_n(x) - Modified Bessel I
I_n(x)
Frequently asked questions
- How do I write Legendre Q in LaTeX?
- Type Q_n(x) in math mode, for example $Q_0(x) = \frac{1}{2} \ln \frac{1+x}{1-x}, \quad |x| < 1$. It works in plain LaTeX without loading any package.
- Which package do I need for Q_n(x)?
- None. Q_n(x) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use Q_n(x) in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $Q_n(x)$ in running text.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기