# 1D Infinite Square Well: Box Suddenly Increase in Size. Why the coefficients can be derived by inner producting the wave functions?

I have read the question 1D Infinite Square Well: Box Suddenly Increase in Size. How treat this?. There are two key equations in the selected answer.

$$\int_0^{2L} dx \ \psi^*_m\left(x\right) \Psi\left(x,0\right) = \sum_{n=1}^\infty c_n \int_0^{2L} dx \ \psi^*_m\left(x\right) \psi_n\left(x\right) = \sum_{n=1}^\infty c_n\delta_{mn} = c_m \tag{1}$$

$$c_n = \frac{\sqrt{2}}{L} \int_0^{L} dx \ \sin\left(\frac{n \pi x}{ 2L}\right) \sin\left(\frac{\pi x}{L}\right) \tag{2}$$ In the first equation, $$\psi^*_m\left(x\right)$$ and $$\psi_n\left(x\right)$$ are orthonormal (the wave function is mutually orthonormal), so the right hand side(R.H.S.) of the equation is equal to the left hand side(L.H.S.) of the equation. However, in the second equation, $$\sin\left(\frac{n \pi x}{ 2L}\right)$$ and $$\sin\left(\frac{\pi x}{L}\right)$$ are not orthonormal through $$[0, L]$$. Why $$c_{n}$$ still equal to the L.H.S.?

The system suffers a sudden perturbation when the size of the well is doubled. If the perturbation occurs at $$t=0$$ the wave function of the system will be $$\psi(0^+)=\psi(0^-)$$. This means that at $$t=0^+$$, the wave function will still be in the ground state of an infinite well of width $$L$$. However, the Hamiltonian changed during the perturbation, so you wave function will no longer be an eigenstate.
You should expand you wave function in the new basis so that you can deduce the time evolution of the wave function for $$t>0$$. Equation (2) gives you the coefficients of the expansion into the new basis. The formula between (1) and (2) makes use of the orthonormality relation among the eigenstates of the new Hamiltonian to define $$c_n$$.
{"ft_lang_label":"__label__en","ft_lang_prob":0.702184,"math_prob":0.99999046,"size":899,"snap":"2023-40-2023-50","text_gpt3_token_len":328,"char_repetition_ratio":0.16424581,"word_repetition_ratio":0.0,"special_character_ratio":0.36484984,"punctuation_ratio":0.11675127,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000008,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-26T16:16:18Z\",\"WARC-Record-ID\":\"<urn:uuid:e414fc73-5ebd-4998-8e4e-720d7672f616>\",\"Content-Length\":\"153243\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:605c7eb3-6723-4c3e-89e3-5f15583e7a3d>\",\"WARC-Concurrent-To\":\"<urn:uuid:2546dd52-a8cf-4aba-87a7-2551ac2e0146>\",\"WARC-IP-Address\":\"104.18.10.86\",\"WARC-Target-URI\":\"https://physics.stackexchange.com/questions/460911/1d-infinite-square-well-box-suddenly-increase-in-size-why-the-coefficients-can\",\"WARC-Payload-Digest\":\"sha1:W3Y5I7Q7Z5577FUPZEAWGYKW3DHXONXP\",\"WARC-Block-Digest\":\"sha1:4H6NZPGMAWHUA5WEK7TLADQAN3ROY2XR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510214.81_warc_CC-MAIN-20230926143354-20230926173354-00126.warc.gz\"}"}