It is easy to forget the boundary term when integrating by parts. That mistake may prescribe a condition on \( u' \)!