Legendre Q in LaTeX (Q_n(x))

Qn(x)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.

Q0(x)=12ln⁡1+x1−x,∣x∣<1Q_0(x) = \frac{1}{2} \ln \frac{1+x}{1-x}, \quad |x| < 1
\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

All Speciale Functies →

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.
Math poweredSchrijf LaTeX met AI

Beste AI LaTeX Editor, Overleaf Alternatief

Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI

  • Genereer mooie TikZ-diagrammen met AI
  • Upload afbeelding en converteer naadloos naar LaTeX
  • Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen