First of all, periodic boundary conditions look like a pair of boundary conditions, e.g. like $$u(-1,t)=u(1,t), \quad u_x(-1,t)=u_x(1,t).$$
Start by separating variables, finding the eigenvalues $\lambda_n$, eigenfunctions $X_n(x)$, and temporal solutions $T_n(t)$.
Superimpose those to get something of the form $u(x,t)=\sum_n c_n X_n(x)T_n(t)$.
To obtain the coefficients in the series solution above, evaluate $u(x,t)$ at $t=0$, apply the initial data, and recognize this as an appropriate Fourier series. Use your knowledge of Fourier series and/or orthogonality on $[-1,1]$ to deduce formulas for the coefficients.
Edit based on progress in the comments:
The superimposed solution should look like $$u(x,t)=\sum_{n=1}^\infty [a_n\cos(n\pi x)+b_n\sin(n\pi x)]e^{10(n\pi)^2 t}.$$
Then, the initial condition $u(x,0)=f(x)$, $-1<x<1$, leads to
$$u(x,0)=\underbrace{\sum_{n=1}^\infty a_n\cos(n\pi x)+b_n\sin(n\pi x)=f(x)}, \quad -1<x<1,$$
which can be found as standard Fourier coefficients.
But, in B, I follow the same method as in A, and I got what it seems a solution too. ¿Should I find any problem with $u_0(x)=x^2$?
– Mark_Hoffman Jan 21 '13 at 22:40This verifies the boundary and initial conditions, and I think that also verifies, $u_t=-10u_{xx}$. ¿It's ok, or are there any problems considering $x^2$ as an initial function in the pde?
– Mark_Hoffman Jan 21 '13 at 23:07I have $Tn(t)=e^{10n^2\pi^2t}$.
$Xn(x)=a_ncos\lambda x+b_nsin\lambda x$, where $\lambda$ is $n\pi$ due to the periodic conditions.
Then $u(x,t)=\sum(a_ncos(n\pi x)+b_nsin(n\pi x))e^{10n^2\pi^2t}$
The coefficient of the sines, for $u_0=x^2$,is equal to $\int_{-1}^{1}x^2sin(n\pi x)$ And this integral is zero. For the coefficient of the cosines, I get the one that i wrote before.
But then, ¿there is actually a solution in that case?
I hope there was a "trick", some condition that the function $x^2$ didn't fit or something (for the way the question was made).
– Mark_Hoffman Jan 22 '13 at 00:37