Suppose $f$ is a $C^\infty$ function from the reals to the reals that is never negative. Does it have a $C^\infty$ square root? Clearly the only problem points are those at which $f$ vanishes.
$\begingroup$
$\endgroup$
1

9$\begingroup$ A natural extension of the question is whether every nonnegative smooth function is the sum of finitely many squares of smooth functions. The standard anwser from the literature seems to be "there is an unpublished counterexample by S.Cohen and D.Epstein". Does anybody know what this counterexample look like ? $\endgroup$– Guillaume AubrunCommented Aug 27, 2012 at 15:11
Add a comment

2 Answers
$\begingroup$
$\endgroup$
1
The answer is "no". This is covered in great detail here:

1$\begingroup$ There is a famous open problem, whose solution is attributed to Paul Cohen, but no published paper seems to be available: there exists $f\in C^\infty(\mathbb R,\mathbb R_+)$ such that $f$ is not a finite sum of squares of smooth functions. That could be a relevant question for MO. $\endgroup$– BazinCommented Aug 31, 2012 at 20:18
$\begingroup$
$\endgroup$
3
The function $$f(x) = \begin{cases} \sin^2 \left(\frac{1}{x} \right) e^{1/x} + e^{2/x} & \text{if $x > 0$,}\\ 0 & \text{if $x \leq 0$,} \end{cases}$$ is $C^\infty$ but has no $C^2$ square root. I found this example in the paper Choosing roots of polynomials smoothly by Alekseevsky, Kriegl, Losik, and Michor (available freely here). This example appears to have come from Frank Warner's (unpublished) 1963 dissertation.

$\begingroup$ Yes, and functions of this type are discussed in section 2 of the reference I gave in my answer. $\endgroup$ Commented Aug 25, 2012 at 4:17

1$\begingroup$ Both answers were helpful. It appears that the answer is yes if you add the additional assumption that $f^3$ has a square root. Of course, a square root of $f$ is a square root of $f^3$ divided by $f$, but while you can easily show such a function is continuous, it is not so easy to show it $C^\infty$. But thanks to both of you. I wish I could check both. $\endgroup$ Commented Aug 25, 2012 at 11:15

$\begingroup$ See also the followup mat.univie.ac.at/~michor/roots2.pdf $\endgroup$ Commented May 20, 2013 at 3:47