Question: Let $\sum\_{k=0}^\infty a\_k x^k$ be the power series representaion of a real valued function $f(x)$ in $(-1,1).$ Is there any necessary and sufficient condition on the coefficients so that $f(x)\geq 0$ for all $x\in [0,1).$ An obvious sufficient condition is $a\_n\geq 0$ for all $n.$

Any help or reference will be appreciated.

Answer: 
Even the necessary and sufficient condition that a polynomial expression is positive of a given interval becomes very complicated as the degree of the polynomial increases. However, there are sufficient condition, for instance the SOS (sums of squares) method. In some cases, the conditions are necessary and sufficient.

As for series, that becomes even more difficult I guess. 

Here is an example of a positive series on $\mathbb{R}$

$$1 - \cos x = \sum\_{n\ge 1}(-1)^{n-1}\frac{x^{2n}}{(2n)!}$$

If you didn't know anything about trigonometric functions, proving this inequality can be done by showing that the series is a square of another series (in this case $\sqrt{2} \sin \frac{x}{2})$ that you are lucky to guess.
This could tell you something but complete answer is, for me, out of reach.

For the series $f(x)=\sum\_{k=0}^{\infty}a\_kx^k$ define $P\_n(x)$ as $P\_n(x)=\sum\_{k=0}^na\_kx^k$. Then $f(x)=\lim\_{n \to \infty} P\_n(x)$.

If for every point $a$ from the interval where $f$ is defined we have $P\_n(a)>0$ for every $n \in \mathbb N$ then we have $P\_n(a)=\lim\_{x \to a}P\_n(x)$ and if we combine this with $f(x)=\lim\_{n \to \infty} P\_n(x)$ we obtain $f(a)=\lim\_{n \to \infty}(\lim\_{x \to a}P\_n(x))\geq 0$ because $P\_n(x)>0$ for every $x$ and every $n$.

If you would ask me a friendly advice I would tell you that you study polynomials if you want an answer to the question like yours and when enriched with knowledge about polynomials then hopefully passing to the limit will conserve some of the properties. 

Of course that this above is not always necessary as $e^{x}-ex$ shows because you have $e^{x}-ex>0$ in $[0,1)$ but we have $P\_2(\frac {9}{10})<0$.

You should reward a bounty to more thorough and more complete answers, I will see can I come up with some brand new ideas to improve these few trivial thoughts written here.