Adam S. answered 07/01/25
PhD theoretical physicist with expertise in differential equations
To start, let's recall that separation of variables means using an ansatz of the form
u(t,x) = T(t)X(x)
Then we have uxxx = T X''' and utt = T'' X. Since T and X are both functions of a single variable, I'm slightly abusing notation by using a prime for ordinary derivatives with respect to both t and x, depending on whether I'm differentiating T(t) or X(x). So our third-order PDE takes the form:
utt+c2 uxxx = 0 = T''(t)X(x) + c2T(t)X'''(x)
Dividing both sides by u = TX we find
0 = T''(t)/T(t) + c2 X'''(x)/X(x)
Because the first term depends only on t and the second term only on x, the only way they can sum to zero is if they are both separately constant. Let's call the second term k2 so that
T''(t) = -k2 T(t)
and
c2 X'''(x) = k2 X(x)
Note that k2 in principle can be negative; I'm writing it as k2 rather than k so that I don't have to write square root signs later, and I'm choosing the RHS of the T''(t) equation to be negative in the hopes that the solution for T(t) is sines and cosines rather than exponentials. Of course I can always solve these equations with exponentials, which are equivalent to sin and cos if the argument is imaginary.
The solution for T(t) is straightforward,
T(t) = A sin(kx) + B cos(kx)
To solve for X(x) we can use the ansatz X(x) = eλx; the three linearly independent solutions are then the three roots of
k2 = c2 λ3
These are given by (c/k)2/3 λ = 1, -1/2 (1 ± i√3). We can write the last two more compactly as -(-1)1/3 and (-1)2/3, respectively. Note that two of the linearly independent terms can be written in the form
exp[-1/2 (k/c)2/3 x (1 ± i√3)] = exp[-1/2 (k/c)2/3 x][cos(√3/2 (k/c)2/3 x) ± i sin(√3/2 (k/c)2/3 x)]
so let's write X(x) about as nicely as we can for now,
X(x) = C exp[(k/c)2/3 x] + exp[-1/2 (k/c)2/3 x][D cos(√3/2 (k/c)2/3 x) + E sin(√3/2 (k/c)2/3 x)].
Our solution for u(t,x) now is determined up to the five constants A, B, C, D, and E. To constrain these let's turn to our boundary conditions. The easiest one is u(0,t) = 0 for all t, from which we can read off
C + D = 0
The next easiest is the condition uxx(0,t) = 0, which we can evaluate (after setting D = -C and doing a bit of algebra) to
E = -i √3 C
We see that
1/C X(x) = exp[(k/c)2/3 x] - exp[-1/2 (k/c)2/3 x][cos(√3/2 (k/c)2/3 x) - √3 sin(√3/2 (k/c)2/3 x)].
Note that at this point X(x) is entirely fixed up to a multiplicative constant. This means that it is not possible to impose the conditions at x = l. This can be seen from the start by counting: there are three linearly independent solutions to a third-order equation, on which the problem as presented wants to impose four conditions.
The other two conditions are trivially satisfied (unless f(x) and g(x) are given, which is not in your post), because at fixed t, u(t,x) and its derivatives are functions of x.
I hope that helps. As you can see, something seems off in the formulation of the problem, but this should give you an idea how to go about solving higher-order PDEs using separation of variables.
For the record, when I feed this PDE and the given initial conditions into Mathematica, I don't obtain any solution. Interestingly, the solution it obtains ignoring the ICs at x = l are polynomials of x and t, rather than the separable form we've found here. Both are perfectly valid solutions.