Skip to content
ihateDesmos

Integral of cos(x²)

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

The integral of cos(x²) has no elementary formula. It is the other Fresnel integral. Over 0 to ∞, its value is also exactly √(π/8) ≈ 0.62666.

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

How to integrate cos(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, C(x), which involves ∫₀ˣ cos(πt²/2) dt.
  3. 3
    For numbers, use the series cos(x²) = 1 − x⁴/2! + x⁸/4! − …, and integrate term by term: x − x⁵/10 + x⁹/216 − ….
  4. 4
    The limit from 0 to ∞ is √(π/8), the same as for the sine version.

What it means

Fresnel integrals first arose in the optics of light passing through an edge, and they describe how waves bend. They are also how road curves ease in smoothly.

The integral from 0 to 1

Computed numerically: about 0.90452. A direct numerical integration of cos(x²) gives 0.904524, 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
xcos(x²)∫ from 0 to x
−2−0.653644−0.461461
−10.540302−0.904524
010
10.5403020.904524
2−0.6536440.461461

Common mistakes

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

Frequently asked questions

What is the integral of cos(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 cos(x²) from 0 to 1?
about 0.90452, which is about 0.904524.

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