Ma · Mathematics

Why Is the Integral of sin(sin x) Not Elementary?

Published By the 9to5Science editorial team

At a glance

  1. 1. Set expectations

    The integral exists, but it does not have an elementary antiderivative.

  2. 2. Use a Fourier expansion

    Expand sin(sin x) in odd harmonics using Bessel functions.

  3. 3. Integrate each term

    Integrate the convergent Fourier series term by term to get an exact representation.

  4. 4. Evaluate when needed

    Use the series for values, or use numerical integration for a definite integral.

Advertisement

The integral ∫sin⁡(sin⁡x) dx\int \sin(\sin x)\,dx has not been overlooked: it is a standard example of an integral without an elementary antiderivative. “Not elementary” does not mean that the integral is undefined or impossible to evaluate. It means that the usual elementary functions—such as polynomials, exponentials, logarithms, trigonometric functions, and their inverses—do not provide an antiderivative.

A useful exact answer comes from expanding the integrand as a Fourier series. The coefficients are Bessel functions, which are well-established special functions.

Why ordinary integration rules do not finish it

For an integral such as ∫sin⁡(3x) dx\int \sin(3x)\,dx, a direct substitution or a standard antiderivative rule works. Here the inner function is itself sin⁡x\sin x, but the chain rule does not reverse in a simple way: differentiating cos⁡(sin⁡x)\cos(\sin x) gives −cos⁡(sin⁡x)cos⁡x-\cos(\sin x)\cos x, not sin⁡(sin⁡x)\sin(\sin x).

Trying u=sin⁡xu=\sin x also leaves a factor involving 1−u2\sqrt{1-u^2} (on intervals where that substitution is invertible). That does not turn the integral into a familiar elementary one. More generally, no failed substitution by itself proves non-elementarity. For this integral, the claim can be justified using Liouville’s theorem for elementary integration (equivalently, the hyperexponential case of the Risch criterion). On an interval where t=sin⁡xt=\sin x is invertible, an elementary primitive in xx would give an elementary primitive in tt of sin⁡t/1−t2\sin t/\sqrt{1-t^2}, since x=arcsin⁡tx=\arcsin t is elementary. Put y=1−t2y=\sqrt{1-t^2} and write sin⁡t=(eit−e−it)/(2i)\sin t=(e^{it}-e^{-it})/(2i). The criterion would then require an algebraic solution RR of R′+iR=1/yR'+iR=1/y for the eite^{it} term. There is no such solution: after taking a field trace if necessary, it would lie in K=C(t,y)K=\mathbb C(t,y), and writing R=A+ByR=A+By with A,B∈C(t)A,B\in\mathbb C(t) gives

A′+iA=0,B′+(i−t1−t2)B=11−t2.A'+iA=0,\qquad B'+\left(i-\frac{t}{1-t^2}\right)B=\frac{1}{1-t^2}.

The first equation has no nonzero rational solution. The second has no rational solution BB: pole balances rule out finite poles, including at t=±1t=\pm1, so BB would have to be a polynomial; at infinity, the term iBiB then cannot be canceled by B′B' to match the right-hand side. Thus no elementary antiderivative exists.

An exact answer using Bessel functions

The Jacobi–Anger expansion gives, for real xx,

sin⁡(sin⁡x)=2∑k=0∞J2k+1(1)sin⁡((2k+1)x),\sin(\sin x)=2\sum_{k=0}^{\infty}J_{2k+1}(1)\sin((2k+1)x),

where JnJ_n is the Bessel function of the first kind of integer order nn. Integrating each harmonic yields

∫sin⁡(sin⁡x) dx=−2∑k=0∞J2k+1(1)2k+1cos⁡((2k+1)x)+C.\int \sin(\sin x)\,dx=-2\sum_{k=0}^{\infty}\frac{J_{2k+1}(1)}{2k+1}\cos((2k+1)x)+C.

This is an exact antiderivative, expressed as an infinite series rather than a finite combination of elementary functions. The series converges for every real xx; its terms decrease rapidly because the Bessel coefficients Jn(1)J_n(1) become very small as nn grows. Term-by-term differentiation recovers the Fourier expansion of the integrand.

If you want the antiderivative normalized to be zero at x=0x=0, a convenient equivalent form is

F(x)=2∑k=0∞J2k+1(1)2k+1(1−cos⁡((2k+1)x)).F(x)=2\sum_{k=0}^{\infty}\frac{J_{2k+1}(1)}{2k+1}\bigl(1-\cos((2k+1)x)\bigr).

Differentiating this expression gives F′(x)=sin⁡(sin⁡x)F'(x)=\sin(\sin x), and F(0)=0F(0)=0.

Worked example: a definite integral

The series is also useful when you need a number. For example, consider

∫0π/2sin⁡(sin⁡x) dx.\int_0^{\pi/2}\sin(\sin x)\,dx.

Since ∣sin⁡x∣≤1|\sin x|\leq 1 on this interval, expand the outer sine in its Taylor series and integrate term by term:

∫0π/2sin⁡(sin⁡x) dx=∫0π/2(sin⁡x−sin⁡3x3!+sin⁡5x5!−sin⁡7x7!+⋯ )dx=1−16⋅23+1120⋅815−15040⋅1635+⋯≈0.893244.\begin{aligned} \int_0^{\pi/2}\sin(\sin x)\,dx &=\int_0^{\pi/2}\left(\sin x-\frac{\sin^3x}{3!}+\frac{\sin^5x}{5!}-\frac{\sin^7x}{7!}+\cdots\right)dx\\ &=1-\frac{1}{6}\cdot\frac{2}{3}+\frac{1}{120}\cdot\frac{8}{15}-\frac{1}{5040}\cdot\frac{16}{35}+\cdots\\ &\approx 0.893244. \end{aligned}

The values used here follow from the standard odd-power integral ∫0π/2sin⁡2m+1x dx=(2⋅4⋯2m)/(3⋅5⋯(2m+1))\int_0^{\pi/2}\sin^{2m+1}x\,dx=(2\cdot4\cdots2m)/(3\cdot5\cdots(2m+1)). The alternating terms become small quickly, so just a few give a good approximation.

Common mistakes

  • Calling it “unsolved.” The integral has an exact series representation and can be evaluated numerically. What is unavailable is an elementary antiderivative.
  • Treating a failed substitution as proof. Substitutions can be useful, but trying a few and getting nowhere does not establish non-elementarity.
  • Confusing a special-function answer with an elementary one. Bessel functions are standard and useful, but they are not elementary functions.
  • Forgetting the constant of integration. The indefinite integral represents a family of antiderivatives, so include +C+C unless a starting value fixes the constant.

For practical work, use the Bessel series for a symbolic exact representation, or evaluate a definite integral with a convergent series or numerical quadrature. The lack of an elementary formula is a limitation of the available function vocabulary, not a barrier to accurate calculation.

References

  1. NIST Digital Library of Mathematical Functions, §10.12: Generating Function and Associated Series

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.