Suppose we have $N$ coupled oscillator with the fixed ends.
We can find the normal modes of this system by considering an infinite system and using space translation symmetry to diagonalize the associated matrix for equation of motion.
In infinite system, we have the solution for the normal for any oscillator as
$y_j=\mathbb{Re}\Big[e^{i(\omega t+\phi)}(Ae^{ijka}+Be^{-ijka})\Big]\tag{1}$
with $\omega^2=2\frac{T}{ma}(1-\cos(ka))$ where $k$ can take any value.
Now when we impose the boundary condition that $y_0=y_{N+1}=0$, then we get
$y_{j,m}=A\sin(jk_ma)\cos(\omega_m t+\phi)\tag{2}$
where $k_m=\frac{m\pi}{N+1}$ and $m=1,2,..,N$ are $N$ normal modes.
So, now all the frequencies are not allowed in normal mode, it gets discretized.
We know that with external force we can excite the normal mode of a system.
I have a doubt that how to apply the driving force in this system.
Should we have to displace the particle $0$ with displacement $y_o=A_o\sin\omega' t$, that will drive the other particles?
But if we drive the particle $0$ in this way, then from $(1)$, we get
$y_0=(A+B)\cos(\omega t+\phi)=A_o\sin(\omega' t)$
$\implies A+B=A_o,\;\phi=3\pi/2\;and\;\omega=\omega'\tag{3}$
Thus $\omega'^2=2\omega_o^2(1-\cos(ka))\implies \cos(ka)=\frac{2\omega_o^2-\omega'^2}{2\omega_o^2}$
Thus, $\sin(ka)=\frac{\omega'\sqrt{\omega'^2-4\omega_o^2}}{2\omega_o^2}$
Then we can use $y_{N+1}=0$, to find the values for $A$ or $B$ as a function of driver frequency $\omega'$.
$\implies Ae^{i(N+1)ka}+Be^{-i(N+1)ka}=0$
$\implies A_oe^{i(N+1)ka}-B(\sin(N+1)ka)=0\tag{4}$
Doubt
But from $(3)$ is there any way to show that when $\omega'=\omega_m$ then the amplitude of the oscillations explodes (resonance)? $\sin(N+1)ka$ and $\cos(N+1)ka$ has binomial expansion. But I don't know whether this leads to the desired result.
From $(3)$, I am not sure whether will we get
$B(\omega')\;\alpha\;[(\omega'-\omega_1)(\omega'-\omega_2)...(\omega'-\omega_N)]^{-1}$.
Because only then, the amplitude maximizes when the driver frequency equals the normal mode frequency.