Understanding an argument given in my textbook about a second order linear ODE with Dirichlet boundary conditions

29 Views Asked by At

Suppose $\frac{d^2y}{dx^2}+\omega y=f(x)$ is given for some well-defined function $f$, with $y(a)=\alpha$ and $y(b)=\beta$. To find the solutions, my textbook splits this into two cases, namely $\omega=0$ and $\omega\ne0$. For $\omega=0$, the arguments are simple and clear. However, for $\omega\ne0$, the following argument is given (note that this is a translation, with personal additions between [ ] brackets):

If $\omega\ne0$, then the solutions to the DE with $f(x)=0$ which are equal to zero in $x=a$ are the multiples of $\sin(\omega(x-a))$. We notice [existence and] uniqueness of solutions [to the inhomogeneous case] if and only if $\sin(\omega(b-a))\ne0$, in other words if $\omega(b-a)$ is not an integer multiple of $\pi$.

So as I see it, they try to prove the conditions for which the solutions to the homogeneous case are zero everywhere, since we know that only in this case the inhomogeneous solutions satisfy existence and uniqueness. When I try to piece together this argument in my own words, I can get to the conclusion in the first sentence. For $y_1(x)=\sin(\omega x)$ and $y_2(x)=\cos(\omega x)$ are linearly independent solutions to the homogeneous case, therefore the general solution is of the form $y(x)=c_1\sin(\omega x)+c_2\cos(\omega x)$, namely a linear combination of these two linearly independent solutions. Next, we notice that since the period of the two harmonic functions $y_1$ and $y_2$ is the same, $y$ is also harmonic and we can write $y(x)=p\sin(\omega(x-q))$ for some $p,q\in\mathbb R$. For this equation to satisfy $y(a)=0$, we must have $q=a+n$ for some $n\in\mathbb Z$, so we can write $y(x)=p\sin(\omega(x-a))$ without loss of generality. Indeed, by varying $c_1$ and $c_2$ we get all multiples of $\sin(\omega(x-a))$. However, the next sentence doesn't make sense to me at all. I expect them to try to get this result to be $0$ as well, since you want a function that is zero everywhere and satisfies $y(a)=y(b)=0$ to have existence and uniqueness of solutions to the inhomogeneous case.

I was wondering if my reasoning so far is correct and also if someone could explain that second sentence to me.

1

There are 1 best solutions below

3
On BEST ANSWER

The second condition is $y(b)=0$ which implies

$$ \sin(\omega(b-a))=0 $$

This occurs when $\omega(b-a) = n\pi$ where $n$ is some integer.