TITLE: Do partitions of unity exist if we impose additional conditions on the derivatives?
QUESTION [9 upvotes]: Let $ ~~\cup_{k=-1}^{\infty} U_k = \mathbb{R} $ be an open covering of 
$\mathbb{R}$. It is a well known fact that partitions of unity subbordinate to 
the cover exists, i.e. there exists smooth 
functions $ \varphi_{k} : U_k \rightarrow \mathbb{R} $ with compact 
support such that 
$$ \sum_{k=-1}^{\infty} \varphi_k(x)^2 \equiv 1.$$ 
My first question is vague: Do there exist partitions of unity 
subbordinate to the cover 
if we impose some additional conditions on the derivatives (and the 
nature of the conditions are in terms of equalities, not inequalities.) ? 
A more precise question is as follows: 
Given a smooth function $f: \mathbb{R} \rightarrow \mathbb{R}$,
do there exist functions
$ \varphi_{k} : U_k \rightarrow \mathbb{R} $ with compact support 
such that in addition to being a partition of unity subbordinate 
to the cover, it also satisfies 
$$ \sum_{k=-1}^{\infty} \varphi_{k}^{\prime}(x)^2 \equiv f(x)$$
? Here prime denotes derivative with respect to $x$. 
I assume the answer should depend on what $f(x)$ is. Ideally 
$\varphi_k$ should be smooth functions, but at the very least they ought 
to be $C^1$. 
I would prefer if we do not assume $f$ is nowhere vanishing, 
but if there is an answer assuming that, I would still like to see it. 
Remark: The answer probably also depends on the open covering. 
$\textbf{Very specific question:}$  Choose some number 
$\tau \in (\sqrt{2}, 2) $. Say  $\tau = 1.5$. Now define 
$$ U_k = \{ x \in \mathbb{R}: \frac{2^k}{\tau} < |x| < 2^k \tau \} \qquad k=0,1,2, \ldots $$ 
$$ U_{-1} = (-1,1).$$ 
The collection $\{U_k\}_{k=-1}^{\infty} $ is an open covering of $\mathbb{R}$.
I want smooth functions $\varphi_k: U_k \rightarrow \mathbb{R}$ and 
numbers $n_k$ such that 
$$ \sum_{k= -1}^{\infty} \varphi_k(x)^2 \equiv 1 $$
and 
$$ \sum_{k=-1}^{\infty} n_k^2 (\varphi_k(x)^2 + \varphi_k^{\prime}(x)^2)
\equiv e^x$$ 
It is easy to see that if I set $n_k =1$ and $f(x) = e^x-1$, then it is 
the previous question I had asked. This question is "easier", because one 
is allowed to choose the numbers $n_k$ (in other words there is a better 
chance that the answer here might be yes, because of the freedom in 
choosing $n_k$).

REPLY [6 votes]: I hope the following construction will give you what you really need. If not, you'll have to explain why.
Take any nice locally finite covering $\mathbb R\subset\cup_j U_j$ and take any smooth partition of unity $1=\sum_j\psi_j^2$ subordinated to this covering. Take any smooth positive function $F$ on $\mathbb R$. Choose the numbers $n_j>0$ so that $\sum_j n_j^2(\psi_j^2+(\psi_j')^2)\le F/2$. Define the smooth function $\theta$ by
$$
(\theta^{\,\prime})^2\sum_j n_j^2\psi_j^2=F-\sum_j n_j^2(\psi_j^2+(\psi_j')^2)
$$
Finally, associate with each $U_j$ two functions $\varphi_{j,0}=\psi_j\cos\theta$ and $\varphi_{j,1}=\psi_j\sin\theta$ and enjoy the identities
$$
\sum_{j,k}\varphi_{j,k}^2=1, \quad \sum_{j,k}n_j^2(\varphi_{j,k}^2+(\varphi_{j,k}')^2)=F\,.
$$