# Clausen function

(Redirected from Lobachevsky function)
Graph of the Clausen function Cl2(θ)

In mathematics, the Clausen function - introduced by Thomas Clausen (1832) - is a transcendental, special function of a single variable. It can variously be expressed in the form of a definite integral, a trigonometric series, and various other special functions. It is intimately connected with the Polylogarithm, Inverse tangent integral, Polygamma function, Riemann Zeta function, Dirichlet eta function, and Dirichlet beta function.

The Clausen function of order 2 - often referred to at the Clausen function, despite being but one of a class of many - is given by the integral:

$\operatorname{Cl}_2(\varphi)=-\int_0^{\varphi} \log\Bigg|2\sin\frac{x}{2} \Bigg|\, dx:$

In the range :$0 < \varphi < 2\pi\,$ the Sine function inside the absolute value sign remains strictly positive, so the absolute value signs may be omitted. The Clausen function also has the Fourier series representation:

$\operatorname{Cl}_2(\varphi)=\sum_{k=1}^{\infty}\frac{\sin k\varphi}{k^2} = \sin\varphi +\frac{\sin 2\varphi}{2^2}+\frac{\sin 3\varphi}{3^2}+\frac{\sin 4\varphi}{4^2}+ \, \cdots$

The Clausen functions - as a class of functions - feature extensively in many areas of modern mathematical research, particularly in relation to the evaluation of many classes of logarithmic and Polylogarithmic integrals, both definite and indefinite. They also have numerous applications with regard to the summation of Hypergeometric series, Central Binomial sums, sums of the Polygamma function, and Dirichlet L-series.

## Basic properties

The Clausen function (of order 2) has simple zeros at all (integer) multiples of :$\pi, \,$ since if :$k\in \mathbb{Z} \,$ is an integer, :$\sin k\pi=0$

$\text{Cl}_2(m\pi) =0, \quad m= 0,\, \pm 1,\, \pm 2,\, \pm 3,\, \cdots$

It has maxima at :$\theta = \frac{\pi}{3}+2m\pi \quad[m\in\mathbb{Z}]$

$\text{Cl}_2\left(\frac{\pi}{3}+2m\pi \right) =1.01494160 \cdots$

and minima at :$\theta = -\frac{\pi}{3}+2m\pi \quad[m\in\mathbb{Z}]$

$\text{Cl}_2\left(-\frac{\pi}{3}+2m\pi \right) =-1.01494160 \cdots$

The following properties are immediate consequences of the series definition:

$\text{Cl}_2(\theta+2m\pi) = \text{Cl}_2(\theta)$
$\text{Cl}_2(-\theta) = -\text{Cl}_2(\theta)$

(Ref: See Lu and Perez, 1992, below for these results - although no proofs are given).

## General definition

More generally, one defines the two generalized Clausen functions:

$\operatorname{S}_z(\theta) = \sum_{k=1}^\infty \frac{\sin k\theta}{k^z}$
$\operatorname{C}_z(\theta) = \sum_{k=1}^\infty \frac{\cos k\theta}{k^z}$

which are valid for complex z with Re z >1. The definition may be extended to all of the complex plane through analytic continuation.

When z is replaced with a non-negative integer, the Standard Clausen Functions are defined by the following Fourier series:

$\operatorname{Cl}_{2m+2}(\theta) = \sum_{k=1}^\infty \frac{\sin k\theta }{k^{2m+2}}$
$\operatorname{Cl}_{2m+1}(\theta) = \sum_{k=1}^\infty \frac{\cos k\theta }{k^{2m+1}}$
$\operatorname{Sl}_{2m+2}(\theta) = \sum_{k=1}^\infty \frac{\cos k\theta }{k^{2m+2}}$
$\operatorname{Sl}_{2m+1}(\theta) = \sum_{k=1}^\infty \frac{\sin k\theta }{k^{2m+1}}$

N.B. The SL-type Clausen functions have the alternative notation  :$\operatorname{Gl}_m(\theta)\,$ and are sometimes referred to as the Glaisher-Clausen functions (after James Whitbread Lee Glaisher, hence the GL-notation).

## Relation to the Bernoulli Polynomials

The SL-type Clausen function are polynomials in $\, \theta\,$, and are closely related to the Bernoulli polynomials. This connection is apparent from the Fourier series representations of the Bernoulli Polynomials:

$B_{2n-1}(x)=\frac{2(-1)^n(2n-1)!}{(2\pi)^{2n-1}} \, \sum_{k=1}^{\infty}\frac{\sin 2\pi kx}{k^{2n-1}}$
$B_{2n}(x)=\frac{2(-1)^{n-1}(2n)!}{(2\pi)^{2n}} \, \sum_{k=1}^{\infty}\frac{\cos 2\pi kx}{k^{2n}}$

Setting $\, x= \theta/2\pi \,$ in the above, and then rearranging the terms gives the following closed form (polynomial) expressions:

$\text{Sl}_{2m}(\theta) = \frac{(-1)^{m-1}(2\pi)^{2m}}{2(2m)!} B_{2m}\left(\frac{\theta}{2\pi}\right)$
$\text{Sl}_{2m-1}(\theta) = \frac{(-1)^{m}(2\pi)^{2m-1}}{2(2m-1)!} B_{2m-1}\left(\frac{\theta}{2\pi}\right)$

Where the Bernoulli polynomials $\, B_n(x)\,$ are defined in terms of the Bernoulli numbers $\, B_n \equiv B_n(0)\,$ by the relation:

$B_n(x)=\sum_{j=0}^n\binom{n}{j} B_jx^{n-j}$

Explicit evaluations derived from the above include:

$\text{Sl}_1(\theta)= \frac{\pi}{2}-\frac{\theta}{2}$
$\text{Sl}_2(\theta)= \frac{\pi^2}{6}-\frac{\pi\theta}{2}+\frac{\theta^2}{4}$
$\text{Sl}_3(\theta)= \frac{\pi^2\theta}{6} -\frac{\pi\theta^2}{4}+\frac{\theta^3}{12}$
$\text{Sl}_4(\theta)= \frac{\pi^4}{90}-\frac{\pi^2\theta^2}{12}+\frac{\pi\theta^3}{12}-\frac{\theta^4}{48}$

## Duplication formula

For :$0 < \theta < \pi$, the duplication formula can be proven directly from the Integral definition (see also Lu and Perez, 1992, below for the result - although no proof is given):

$\operatorname{Cl}_{2}(2\theta) = 2\operatorname{Cl}_{2}(\theta) - 2\operatorname{Cl}_{2}(\pi-\theta)$

Immediate consequences of the duplication formula, along with use of the special value :$\operatorname{Cl}_2\left(\frac{\pi}{2}\right)=G$, include the relations:

$\operatorname{Cl}_2\left(\frac{\pi}{4}\right)- \operatorname{Cl}_2\left(\frac{3\pi}{4}\right)=\frac{G}{2}$
$2\operatorname{Cl}_2\left(\frac{\pi}{3}\right)= 3\operatorname{Cl}_2\left(\frac{2\pi}{3}\right)$

For higher order Clausen functions, duplication formulae can be obtained from the one given above; simply replace $\, \theta \,$ with the dummy variable $\, x \,$, and integrate over the interval $\, [0, \theta]. \,$ Applying the same process repeatedly yields:

$\operatorname{Cl}_{3}(2\theta) = 4\operatorname{Cl}_{3}(\theta) + 4\operatorname{Cl}_{3}(\pi-\theta)$
$\operatorname{Cl}_{4}(2\theta) = 8\operatorname{Cl}_{4}(\theta) - 8\operatorname{Cl}_{4}(\pi-\theta)$
$\operatorname{Cl}_{5}(2\theta) = 16\operatorname{Cl}_{5}(\theta) + 16 \operatorname{Cl}_{5}(\pi-\theta)$
$\operatorname{Cl}_{6}(2\theta) = 32\operatorname{Cl}_{6}(\theta) - 32 \operatorname{Cl}_{6}(\pi-\theta)$

And more generally, upon induction on $\, m, \, \, m \ge 1$

$\operatorname{Cl}_{m+1}(2\theta) = 2^m\Bigg[\operatorname{Cl}_{m+1}(\theta) + (-1)^m \operatorname{Cl}_{m+1}(\pi-\theta) \Bigg]$

Use of the generalized duplication formula allows for an extension of the result for the Clausen function of order 2 - involving Catalan's constant. For $\, m \in \mathbb{Z} \ge 1\,$

$\text{Cl}_{2m}\left(\frac{\pi}{2}\right) = 2^{2m-1}\left[\text{Cl}_{2m}\left(\frac{\pi}{4}\right)- \text{Cl}_{2m}\left(\frac{3\pi}{4}\right) \right] = \beta(2m)$

Where $\, \beta(x) \,$ is the Dirichlet beta function.

## Proof of the Duplication formula

From the integral definition,

$\operatorname{Cl}_2(2\theta)=-\int_0^{2\theta} \log\Bigg| 2 \sin \frac{x}{2} \Bigg| \,dx$

Apply the duplication formula for the Sine function, :$\sin 2x = 2\sin\frac{x}{2}\cos\frac{x}{2}$ to obtain

$-\int_0^{2\theta} \log\Bigg| \left(2 \sin \frac{x}{4} \right)\left(2 \cos \frac{x}{4} \right) \Bigg| \,dx=$
$-\int_0^{2\theta} \log\Bigg| 2 \sin \frac{x}{4} \Bigg| \,dx -\int_0^{2\theta} \log\Bigg| 2 \cos \frac{x}{4} \Bigg| \,dx=$

Apply the substitution $x=2y, dx=2\, dy$ on both integrals

$\Rightarrow$

$-2\int_0^{\theta} \log\Bigg| 2 \sin \frac{x}{2} \Bigg| \,dx -2\int_0^{\theta} \log\Bigg| 2 \cos \frac{x}{2} \Bigg| \,dx=$
$2\, \operatorname{Cl}_2(\theta) -2\int_0^{\theta} \log\Bigg| 2 \cos \frac{x}{2} \Bigg| \,dx$

On that last integral, set $y=\pi-x, \, x= \pi-y, \, dx = -dy$, and use the trigonometric identity $\cos(x-y)=\cos x\cos y - \sin x\sin y$ to show that:

$\cos\left(\frac{\pi-y}{2}\right) = \sin \frac{y}{2} \Rightarrow$

$\operatorname{Cl}_2(2\theta)=2\, \operatorname{Cl}_2(\theta) -2\int_0^{\theta} \log\Bigg| 2 \cos \frac{x}{2} \Bigg| \,dx=$

$2\, \operatorname{Cl}_2(\theta) +2\int_{\pi}^{\pi-\theta} \log\Bigg| 2 \sin \frac{y}{2} \Bigg| \,dy=$

$\, \operatorname{Cl}_2(\theta) -2\, \operatorname{Cl}_2(\pi-\theta) + 2\, \operatorname{Cl}_2(\pi)$

$\operatorname{Cl}_2(\pi) = 0$

Therefore

$\operatorname{Cl}_2(2\theta)=2\, \operatorname{Cl}_2(\theta)-2\, \operatorname{Cl}_2(\pi-\theta)\, . \, \Box$

## Derivatives of general order Clausen functions

Direct differentiation of the Fourier series expansions for the Clausen functions give:

$\frac{d}{d\theta}\operatorname{Cl}_{2m+2}(\theta) = \frac{d}{d\theta}\sum_{k=1}^\infty \frac{\sin k\theta }{k^{2m+2}}=\sum_{k=1}^\infty \frac{\cos k\theta }{k^{2m+1}}=\operatorname{Cl}_{2m+1}(\theta)$
$\frac{d}{d\theta}\operatorname{Cl}_{2m+1}(\theta) = \frac{d}{d\theta}\sum_{k=1}^\infty \frac{\cos k\theta }{k^{2m+1}}=-\sum_{k=1}^\infty \frac{\sin k\theta }{k^{2m}}=-\operatorname{Cl}_{2m}(\theta)$
$\frac{d}{d\theta}\operatorname{Sl}_{2m+2}(\theta) = \frac{d}{d\theta}\sum_{k=1}^\infty \frac{\cos k\theta }{k^{2m+2}}= -\sum_{k=1}^\infty \frac{\sin k\theta }{k^{2m+1}}=-\operatorname{Sl}_{2m+1} (\theta)$
$\frac{d}{d\theta}\operatorname{Sl}_{2m+1}(\theta) = \frac{d}{d\theta}\sum_{k=1}^\infty \frac{\sin k\theta }{k^{2m+1}}=\sum_{k=1}^\infty \frac{\cos k\theta }{k^{2m}}=\operatorname{Sl}_{2m} (\theta)$

By appealing to the First Fundamental Theorem Of Calculus, we also have:

$\frac{d}{d\theta}\operatorname{Cl}_2(\theta) = \frac{d}{d\theta} \left[ -\int_0^{\theta} \log \Bigg| 2\sin \frac{x}{2}\Bigg| \,dx \, \right] = - \log \Bigg| 2\sin \frac{\theta}{2}\Bigg| = \operatorname{Cl}_1(\theta)$

## Relation to the Inverse Tangent Integral

The Inverse tangent integral is defined on the interval :$0 < z < 1$ by

$\operatorname{Ti}_2(z)=\int_0^z \frac{\tan^{-1}x}{x}\,dx = \sum_{k=0}^{\infty}(-1)^k\frac{z^{2k+1}}{(2k+1)^2}$

It has the following closed form in terms of the Clausen Function:

$\operatorname{Ti}_2(\tan \theta)= \theta\log(\tan \theta) + \frac{1}{2}\operatorname{Cl}_2(2\theta) +\frac{1}{2}\operatorname{Cl}_2(\pi-2\theta)$

## Proof of the Inverse Tangent Integral relation

From the integral definition of the Inverse tangent integral, we have

$\operatorname{Ti}_2(\tan \theta) = \int_0^{\tan \theta}\frac{\tan^{-1}x}{x}\,dx$

Performing an integration by parts

$\int_0^{\tan \theta}\frac{\tan^{-1}x}{x}\,dx= \tan^{-1}x\log x \, \Bigg|_0^{\tan \theta} - \int_0^{\tan \theta}\frac{\log x}{1+x^2}\,dx=$
$\theta \log{\tan \theta} - \int_0^{\tan \theta}\frac{\log x}{1+x^2}\,dx$

Apply the substitution :$x=\tan y,\, y=\tan^{-1}x,\, dy=\frac{dx}{1+x^2}\,$ to obtain

$\theta \log{\tan \theta} - \int_0^{\theta}\log(\tan y)\,dy$

For that last integral, apply the transform :$y=x/2,\, dy=dx/2\,$ to get

$\theta \log{\tan \theta} - \frac{1}{2}\int_0^{2\theta}\log\left(\tan \frac{x}{2}\right)\,dx=$
$\theta \log{\tan \theta} - \frac{1}{2}\int_0^{2\theta}\log\left(\frac{\sin (x/2) }{\cos (x/2)}\right)\,dx=$
$\theta \log{\tan \theta} - \frac{1}{2}\int_0^{2\theta}\log\left(\frac{2\sin (x/2) }{2\cos (x/2)}\right)\,dx=$
$\theta \log{\tan \theta} - \frac{1}{2}\int_0^{2\theta}\log\left(2\sin \frac{x}{2}\right)\,dx+ \frac{1}{2}\int_0^{2\theta}\log\left(2\cos \frac{x}{2}\right)\,dx=$
$\theta \log{\tan \theta} +\frac{1}{2}\operatorname{Cl}_2(2\theta)+ \frac{1}{2}\int_0^{2\theta}\log\left(2\cos \frac{x}{2}\right)\,dx$

Finally, as with the proof of the Duplication formula, the substitution $x=(\pi-y)\,$ reduces that last integral to

$\int_0^{2\theta}\log\left(2\cos \frac{x}{2}\right)\,dx= \operatorname{Cl}_2(\pi-2\theta)- \operatorname{Cl}_2(\pi) = \operatorname{Cl}_2(\pi-2\theta)$

Thus

$\operatorname{Ti}_2(\tan \theta) = \theta \log{\tan \theta} +\frac{1}{2}\operatorname{Cl}_2(2\theta)+ \frac{1}{2} \operatorname{Cl}_2(\pi-2\theta)\, . \, \Box$

## Relation to the Barnes' G-function

For real :$0 < z < 1$, the Clausen function of second order can be expressed in terms of the Barnes G-function and (Euler) Gamma function:

$\operatorname{Cl}_{2}(2\pi z) = 2\pi \log \left( \frac{G(1-z)}{G(1+z)} \right) -2\pi \log \left( \frac{\sin \pi z}{ \pi } \right)$

Or equivalently

$\operatorname{Cl}_{2}(2\pi z) = 2\pi \log \left( \frac{G(1-z)}{G(z)} \right) -2\pi \log \Gamma(z)-2\pi \log \left( \frac{\sin \pi z}{ \pi } \right)$

Ref: See Adamchik, "Contributions to the Theory of the Barnes function", below.

## Relation to the Polylogarithm

The Clausen functions represent the real and imaginary parts of the Polylogarithm, on the Unit Circle:

$\operatorname{Cl}_{2m}(\theta) = \Im (\operatorname{Li}_{2m}(e^{i \theta})), \quad m\in\mathbb{Z} \ge 1$
$\operatorname{Cl}_{2m+1}(\theta) = \Re (\operatorname{Li}_{2m+1}(e^{i \theta})), \quad m\in\mathbb{Z} \ge 0$

This is easily seen by appealing to the series definition of the Polylogarithm.

$\text{Li}_n(z)=\sum_{k=1}^{\infty}\frac{z^k}{k^n} \quad \Rightarrow \text{Li}_n\left(e^{i\theta}\right)=\sum_{k=1}^{\infty}\frac{\left(e^{i\theta}\right)^k}{k^n}= \sum_{k=1}^{\infty}\frac{e^{ik\theta}}{k^n}$

By Euler's Theorem,

$e^{i\theta} = \cos \theta +i\sin \theta$

and by de Moivre's Theorem (DeMoivre's Formula)

$(\cos \theta +i\sin \theta)^k= \cos k\theta +i\sin k\theta \quad \Rightarrow \text{Li}_n\left(e^{i\theta}\right)=\sum_{k=1}^{\infty}\frac{\cos k\theta}{k^n}+ i \, \sum_{k=1}^{\infty}\frac{\sin k\theta}{k^n}$

Hence

$\text{Li}_{2m}\left(e^{i\theta}\right)=\sum_{k=1}^{\infty}\frac{\cos k\theta}{k^{2m}}+ i \, \sum_{k=1}^{\infty}\frac{\sin k\theta}{k^{2m}} = \text{Sl}_{2m}(\theta)+i\text{Cl}_{2m}(\theta)$
$\text{Li}_{2m+1}\left(e^{i\theta}\right)=\sum_{k=1}^{\infty}\frac{\cos k\theta}{k^{2m+1}}+ i \, \sum_{k=1}^{\infty}\frac{\sin k\theta}{k^{2m+1}} = \text{Cl}_{2m+1}(\theta)+i\text{Sl}_{2m+1}(\theta)$

## Relation to the Polygamma function

The Clausen functions are intimately connected to the Polygamma function. Indeed, it is possible to express Clausen functions as linear combinations of sine functions and Polygamma functions. One such relation is shown here, and proven below:

$\text{Cl}_{2m}\left( \frac{q\pi}{p}\right)= \frac{1}{(2p)^{2m}(2m-1)!} \, \sum_{j=1}^{p} \sin\left(\tfrac{qj\pi}{p}\right)\, \left[\psi_{2m-1}\left(\tfrac{j}{2p}\right)+(-1)^q\psi_{2m-1}\left(\tfrac{j+p}{2p}\right)\right]$

Let $\,p\,$ and $\,q\,$ be positive integers, such that $\,q/p\,$ is a rational number $\,0 < q/p < 1\,$, then, by the series definition for the higher order Clausen function (of even index):

$\text{Cl}_{2m}\left( \frac{q\pi}{p}\right)= \sum_{k=1}^{\infty}\frac{\sin (kq\pi/p)}{k^{2m}}$

We split this sum into exactly p-parts, so that the first series contains all, and only, those terms congruous to $\,kp+1,\,$ the second series contains all terms congruous to $\,kp+2,\,$ etc., up to the final p-th part, that contain all terms congruous to $\,kp+p\,$

$\text{Cl}_{2m}\left( \frac{q\pi}{p}\right)=$
$\sum_{k=0}^{\infty}\frac{\sin \left[(kp+1)\frac{q\pi}{p}\right]}{(kp+1)^{2m}} + \sum_{k=0}^{\infty}\frac{\sin \left[(kp+2)\frac{q\pi}{p}\right]}{(kp+2)^{2m}} + \sum_{k=0}^{\infty}\frac{\sin \left[(kp+3)\frac{q\pi}{p}\right]}{(kp+3)^{2m}} + \, \cdots \,$
$+ \sum_{k=0}^{\infty}\frac{\sin \left[(kp+p-2)\frac{q\pi}{p}\right]}{(kp+p-2)^{2m}} + \sum_{k=0}^{\infty}\frac{\sin \left[(kp+p-1)\frac{q\pi}{p}\right]}{(kp+p-1)^{2m}} + \sum_{k=0}^{\infty}\frac{\sin \left[(kp+p)\frac{q\pi}{p}\right]}{(kp+p)^{2m}}$

We can index these sums to form a double sum:

$\text{Cl}_{2m}\left( \frac{q\pi}{p}\right)= \sum_{j=1}^{p} \Bigg\{ \sum_{k=0}^{\infty}\frac{\sin \left[(kp+j)\frac{q\pi}{p}\right]}{(kp+j)^{2m}} \Bigg\} =$
$\sum_{j=1}^{p} \frac{1}{p^{2m}}\Bigg\{ \sum_{k=0}^{\infty}\frac{\sin \left[(kp+j)\frac{q\pi}{p}\right]}{(k+(j/p))^{2m}} \Bigg\}$

Applying the addition formula for the Sine function, $\,\sin(x+y)=\sin x\cos y+\cos x\sin y,\,$ the sine term in the numerator becomes:

$\sin \left[(kp+j)\frac{q\pi}{p}\right]=\sin\left(kq\pi+\frac{qj\pi}{p}\right)=\sin kq\pi \cos \frac{qj\pi}{p}+\cos kq\pi \sin\frac{qj\pi}{p}$
$\sin m\pi \equiv 0, \quad \, \cos m\pi \equiv (-1)^m \quad \Leftrightarrow m=0,\, \pm 1,\, \pm 2,\, \pm 3,\, \cdots$
$\sin \left[(kp+j)\frac{q\pi}{p}\right]=(-1)^{kq}\sin\frac{qj\pi}{p}$

Consequently,

$\text{Cl}_{2m}\left( \frac{q\pi}{p}\right)= \sum_{j=1}^{p} \frac{1}{p^{2m}} \sin\left(\frac{qj\pi}{p}\right)\, \Bigg\{ \sum_{k=0}^{\infty}\frac{(-1)^{kq}}{(k+(j/p))^{2m}} \Bigg\}$

To convert the inner sum in the double sum into a non-alternating sum, split in two in parts in exactly the same way as the earlier sum was split into p-parts:

$\sum_{k=0}^{\infty}\frac{(-1)^{kq}}{(k+(j/p))^{2m}}=\sum_{k=0}^{\infty}\frac{(-1)^{(2k)q}}{((2k)+(j/p))^{2m}}+ \sum_{k=0}^{\infty}\frac{(-1)^{(2k+1)q}}{((2k+1)+(j/p))^{2m}}=$
$\sum_{k=0}^{\infty}\frac{1}{(2k+(j/p))^{2m}}+ (-1)^q\, \sum_{k=0}^{\infty}\frac{1}{(2k+1+(j/p))^{2m}}=$
$\frac{1}{2^p}\left[ \sum_{k=0}^{\infty}\frac{1}{(k+(j/2p))^{2m}}+ (-1)^q\, \sum_{k=0}^{\infty}\frac{1}{(k+\left(\frac{j+p}{2p}\right))^{2m}} \right]$

For $\,m \in\mathbb{Z} \ge 1\,$, the Polygamma function has the series representation

$\psi_{m}(z)=(-1)^{m+1}m! \, \sum_{k=0}^{\infty}\frac{1}{(k+z)^{m+1}}$

So, in terms of the Polygamma function, the previous inner sum becomes:

$\frac{1}{2^{2m}(2m-1)!} \left[\psi_{2m-1}\left(\tfrac{j}{2p}\right)+(-1)^q\psi_{2m-1}\left(\tfrac{j+p}{2p}\right)\right]$

Plugging this back into the double sum gives the desired result:

$\text{Cl}_{2m}\left( \frac{q\pi}{p}\right)= \frac{1}{(2p)^{2m}(2m-1)!} \, \sum_{j=1}^{p} \sin\left(\tfrac{qj\pi}{p}\right)\, \left[\psi_{2m-1}\left(\tfrac{j}{2p}\right)+(-1)^q\psi_{2m-1}\left(\tfrac{j+p}{2p}\right)\right]$

## Relation to the Generalized Logsine Integral

The Generalized Logsine Integral is defined by:

$\mathcal{L}s_n^{m}(\theta) = -\int_0^{\theta} x^m \log^{n-m-1} \Bigg| 2\sin\frac{x}{2} \Bigg| \, dx$

In this generalized notation, the Clausen function can be expressed in the form:

$\text{Cl}_2(\theta) = \mathcal{L}s_2^{0}(\theta)$

## Kummer's relation

Ernst Kummer and Rogers give the relation

$\operatorname{Li}_2(e^{i \theta}) = \zeta(2) - \theta(2\pi-\theta)/4 + i\operatorname{Cl}_2(\theta)$

valid for $0\leq \theta \leq 2\pi$.

## Relation to the Lobachevsky function

The Lobachevsky function Λ or Л is essentially the same function with a change of variable:

$\Lambda(\theta) = - \int_0^\theta \log|2 \sin(t)| \,dt = \operatorname{Cl}_2(2\theta)/2$

though the name "Lobachevsky function" is not quite historically accurate, as Lobachevsky's formulas for hyperbolic volume used the slightly different function

$\int_0^\theta \log| \sec(t)| \,dt = \Lambda(\theta+\pi/2)+\theta\log 2.$

## Relation to Dirichlet L-functions

For rational values of $\theta/\pi$ (that is, for $\theta/\pi=p/q$ for some integers p and q), the function $\sin(n\theta)$ can be understood to represent a periodic orbit of an element in the cyclic group, and thus $\operatorname{Cl}_s(\theta)$ can be expressed as a simple sum involving the Hurwitz zeta function.[citation needed] This allows relations between certain Dirichlet L-functions to be easily computed.

## Series acceleration

A series acceleration for the Clausen function is given by

$\frac{\operatorname{Cl}_2(\theta)}{\theta} = 1-\log|\theta| + \sum_{n=1}^\infty \frac{\zeta(2n)}{n(2n+1)} \left(\frac{\theta}{2\pi}\right)^{2n}$

which holds for $|\theta|<2\pi$. Here, $\zeta(s)$ is the Riemann zeta function. A more rapidly convergent form is given by

$\frac{\operatorname{Cl}_2(\theta)}{\theta} = 3-\log\left[|\theta| \left(1-\frac{\theta^2}{4\pi^2}\right)\right] -\frac{2\pi}{\theta} \log \left( \frac{2\pi+\theta}{2\pi-\theta}\right) +\sum_{n=1}^\infty \frac{\zeta(2n)-1}{n(2n+1)} \left(\frac{\theta}{2\pi}\right)^n.$

Convergence is aided by the fact that $\zeta(n)-1$ approaches zero rapidly for large values of n. Both forms are obtainable through the types of resummation techniques used to obtain rational zeta series. (ref. Borwein, etal. 2000, below).

## Special values

Some special values include

$\operatorname{Cl}_2\left(\frac{\pi}{2}\right)=G$
$\operatorname{Cl}_2\left(\frac{\pi}{3}\right)=3\pi \log\left( \frac{G\left(\frac{2}{3}\right)}{ G\left(\frac{1}{3}\right)} \right)-3\pi \log \Gamma\left(\frac{1}{3}\right)+\pi \log \left(\frac{ 2\pi }{\sqrt{3}}\right)$
$\operatorname{Cl}_2\left(\frac{2\pi}{3}\right)=2\pi \log\left( \frac{G\left(\frac{2}{3}\right)}{ G\left(\frac{1}{3}\right)} \right)-2\pi \log \Gamma\left(\frac{1}{3}\right)+\frac{2\pi}{3} \log \left(\frac{ 2\pi }{\sqrt{3}}\right)$
$\operatorname{Cl}_2\left(\frac{\pi}{4}\right)= 2\pi\log \left( \frac{G\left(\frac{7}{8}\right)}{G\left(\frac{1}{8}\right)} \right) -2\pi \log \Gamma\left(\frac{1}{8}\right)+\frac{\pi}{4}\log \left( \frac{2\pi}{\sqrt{2-\sqrt{2}}} \right)$
$\operatorname{Cl}_2\left(\frac{3\pi}{4}\right)= 2\pi\log \left( \frac{G\left(\frac{5}{8}\right)}{G\left(\frac{3}{8}\right)} \right) -2\pi \log \Gamma\left(\frac{3}{8}\right)+\frac{3\pi}{4}\log \left( \frac{2\pi}{\sqrt{2+\sqrt{2}}} \right)$
$\operatorname{Cl}_2\left(\frac{\pi}{6}\right)= 2\pi\log \left( \frac{G\left(\frac{11}{12}\right)}{G\left(\frac{1}{12}\right)} \right) -2\pi \log \Gamma\left(\frac{1}{12}\right)+\frac{\pi}{6}\log \left( \frac{2\pi \sqrt{2} }{\sqrt{3}-1} \right)$
$\operatorname{Cl}_2\left(\frac{5\pi}{6}\right)= 2\pi\log \left( \frac{G\left(\frac{7}{12}\right)}{G\left(\frac{5}{12}\right)} \right) -2\pi \log \Gamma\left(\frac{5}{12}\right)+\frac{5\pi}{6}\log \left( \frac{2\pi \sqrt{2} }{\sqrt{3}+1} \right)$

## Generalized special values

Some special values for higher order Clausen functions include

$\operatorname{Cl}_{2m}\left(0\right)=\operatorname{Cl}_{2m}\left(\pi\right)=\operatorname{Cl}_{2m}\left(2\pi\right)=0$
$\operatorname{Cl}_{2m}\left(\frac{\pi}{2}\right)=\beta(2m)$
$\operatorname{Cl}_{2m+1}\left(0\right)=\operatorname{Cl}_{2m+1}\left(2\pi\right)=\zeta(2m+1)$
$\operatorname{Cl}_{2m+1}\left(\pi\right)=-\eta(2m+1)=-\left(\frac{2^{2m}-1}{2^{2m}}\right)\zeta(2m+1)$
$\operatorname{Cl}_{2m+1}\left(\frac{\pi}{2}\right)=-\frac{1}{2^{2m+1}}\eta(2m+1)=-\left(\frac{2^{2m}-1}{2^{4m+1}}\right)\zeta(2m+1)$

where :$G = \beta(2)$ is Catalan's constant, :$\beta(x)$ is the Dirichlet beta function, :$\eta(x)$ is the Eta function (also called the alternating Zeta function), and :$\zeta(x)$ is the Riemann Zeta function.

$\beta(x)=\sum_{k=0}^{\infty}\frac{(-1)^k}{(2k+1)^x}$

## Integrals of the direct function

The following integrals are easily proven from the series representations of the Clausen function:

$\int_0^{\theta} \operatorname{Cl}_{2m}(x)\,dx=\zeta(2m+1)-\operatorname{Cl}_{2m+1}(\theta)$
$\int_0^{\theta} \operatorname{Cl}_{2m+1}(x)\,dx=\operatorname{Cl}_{2m+2}(\theta)$
$\int_0^{\theta} \operatorname{Sl}_{2m}(x)\,dx=\operatorname{Sl}_{2m+1}(\theta)$
$\int_0^{\theta} \operatorname{Sl}_{2m+1}(x)\,dx=\zeta(2m+2)-\operatorname{Cl}_{2m+2}(\theta)$

## Integral evaluations involving the direct function

A large number of trigonometric and logarithmo-trigonometric integrals can be evaluated in terms of the Clausen function, and various common mathematical constants like $\, G \,$ (Catalan's constant), $\, \log 2 \,$, and the special cases of the Zeta function, $\, \zeta(2) \,$ and $\, \zeta(3) \,$.

The examples listed below follow directly from the integral representation of the Clausen function, and the proofs require little more than basic trigonometry, integration by parts, and occasional term-by-term integration of the Fourier series definitions of the Clausen functions.

$\int_0^{\theta}\log(\sin x)\,dx=-\tfrac{1}{2}\text{Cl}_2(2\theta)-\theta\log 2$
$\int_0^{\theta}\log(\cos x)\,dx=\tfrac{1}{2}\text{Cl}_2(\pi-2\theta)-\theta\log 2$
$\int_0^{\theta}\log(\tan x)\,dx=-\tfrac{1}{2}\text{Cl}_2(2\theta)-\tfrac{1}{2}\text{Cl}_2(\pi-2\theta)$
$\int_0^{\theta}\log(1+\cos x)\,dx=2\text{Cl}_2(\pi-\theta)-\theta\log 2$
$\int_0^{\theta}\log(1-\cos x)\,dx=-2\text{Cl}_2(\theta)-\theta\log 2$
$\int_0^{\theta}\log(1+\sin x)\,dx=2G-2\text{Cl}_2\left(\frac{\pi}{2}+\theta\right)-\theta\log 2$
$\int_0^{\theta}\log(1-\sin x)\,dx=-2G+2\text{Cl}_2\left(\frac{\pi}{2}-\theta\right)-\theta\log 2$