Skip to content
ihateDesmos

Integral of sin(x²)

Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The integral of sin(x²)
a Fresnel integral + C

The integral of sin(x²) has no elementary formula. It is known as a Fresnel integral. Over 0 to ∞, its value is exactly √(π/8) ≈ 0.62666.

−3−2−1123−110
Open in calculator
y=sin(x2)
in blue.

How to integrate sin(x²)

Method: fresnel integral.

  1. 1
    Substitution fails, because there is no factor of x to pair with du = 2x dx.
  2. 2
    The integral defines a special function, S(x), which involves ∫₀ˣ sin(πt²/2) dt.
  3. 3
    For numbers, use the series sin(x²) = x² − x⁶/3! + x¹⁰/5! − …, and integrate term by term: x³/3 − x⁷/42 + x¹¹/1320 − ….
  4. 4
    The limit from 0 to ∞ can be found with complex analysis: √(π/8).

What it means

The function oscillates faster and faster. Its integral spirals in toward a limit, and plotting it with the cosine version gives the beautiful Cornu spiral used in the design of road and railway curves.

The integral from 0 to 1

Computed numerically: about 0.31027. A direct numerical integration of sin(x²) gives 0.310268, which agrees.

−3−2−1123−1.5−1−0.50.511.5

Table of values

The running total of area from 0 to x, computed numerically.

Running integral from 0
xsin(x²)∫ from 0 to x
−2−0.756802−0.804776
−10.841471−0.310268
000
10.8414710.310268
2−0.7568020.804776

Common mistakes

  • Writing −cos(x²)/(2x). Differentiating that doesn’t give sin(x²).

Frequently asked questions

What is the integral of sin(x²)?
It has no formula in elementary functions. It can be written as a Fresnel integral + C, and any definite integral can be computed numerically.
What is the integral of sin(x²) from 0 to 1?
about 0.31027, which is about 0.310268.
What is the integral of x sin(x²)?
−cos(x²)/2 + C. With the extra factor of x, substitution works.

Keep going

Integrate any function

Type your own function into the integral calculator for the steps, the answer and a graph.

Open the integral calculator