How does one integrate $\int \cos(x^2) dx$

$\begingroup$

How does one integrate $\int \cos(x^2) dx$?

I have thought about using standard techniques of 'integration by parts' and 'partial fractions' but neither of them work. I tried plugging it into Wolfram Alpha and I got $\sqrt{\frac{\pi}{2}} C {\sqrt{\frac{2}{\pi}}} + $ a constant.

I am confused as to what the $C$ is supposed to mean and how to evaluate this intergral.

Thank you in advance.

$\endgroup$ 3

1 Answer

$\begingroup$

There's no elementary integral for this function i.e. it can't be solved in closed form. This is because there's no closed form anti-derivative of cos($x^2$). You'll have to use some kind of numerical method to solve it.The most straightforward method of solving it is to use the Taylor expansion of cosine replacing x with $x^2$:

$$\cos(x^2) = \sum_{n=0}^\infty (-1)^n \frac{(x^2)^{2n}}{(2n)!}$$

and then integrating term by term within a certain domain of accuracy. What C is,I'm not sure without access to Wolfram's database, but it's probably some kind of numerical integral the algorithm uses in this case.

The integral can also be solved using complex analysis methods, but I was going on the assumption you aren't knowledgible on complex function theory. If you're interested in the theory and methods of such integrals further, there's a very nice discussion of it by Brian Conrad here.

$\endgroup$ 2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like