hello I have a homework and i think this problem is wrong:
$$ \left\{ \begin{array}{ll} u_{tt} &= u_{xx}\\ u_{x}(0, t) &= 0 \\ u_x (1, t) &= t \\ u(x,0) &= 0 \\ u_t(x,0) &= \cos{\pi x}\\ \end{array} \right. $$
I think in 3rd equation $u_x(1, t)$ must be equal to zero not $t$.
because if $u_x(1, t) = t$ then:
$$ X'(1)T(t) = t \qquad\Rightarrow T(t) = ct \qquad \Rightarrow T''(t) = 0$$
am I wrong? is this problem solvable?
thanks
Why do you think that the problem in unsolvable? Are you solving the problem through separation of variables?
Let $u(x,t)=X(x)T(t)$. Substitution into the PDE produces
$$X(x)T''(t)-X''(x)T(t)=0$$
where by seperating the variables, we obtain
$$\frac{X''(x)}{X(x)}=\frac{T''(t)}{T(t)}=-\lambda$$
for some constant $\lambda$. We have $$X''(x)+\lambda X(x)=0\tag{1}$$ $$T''(t)+\lambda T(t)=0\tag{2}$$
Inside $(1)$, we need to analyze the boundary conditions given by $u_x(0,t)=0$ and $u_x(1,t)=t$. So,
$$u_x(0,t)=X'(0)T(t)=0 ~~~\Rightarrow~~X'(0)=0$$ $$u_x(1,t)=X'(1)T(t)=t ~~~\Rightarrow~~T(t)=\frac{t}{X'(1)} ~~~\Rightarrow~~ T(t) = ct ~~~\Rightarrow~~ T''(t) = 0$$
Hence, we need to solve $-X''(x)T(t)=0$. But, from $(2)$ we see that
$$T''(t)+\lambda T(t) = 0 \implies \lambda T(t)=0 \implies T(t)=0$$
which suggests that
$$u(x,t)=X(x)T(t)=0$$
which appears to be incorrect. Does solving for $(1)$ or $(2)$ first impact the final answer? It appears that we made a fatal mistake by solving $(1)$ first.