I had the question about the boundary condition of wave equations in quantum mechanics, where I think it was sufficient to show that the probability density and momentum was continuous at the boundary, rather than the function itself and its first derivative was continuous at the boundary condition.
See details: https://physics.stackexchange.com/questions/394788/finite-square-well-boundary-condition
Where the following example was given by solve the step well potential.
Unlike the textbook, I was trying to test a new set of boundary condition in step potential where probability density and momentum was continuous at the boundary $x=0$.
Suppose $k_0=\sqrt{2m/\hbar^2E}$ and $k_1=\sqrt{2m/\hbar^2(E-V_0)}$ where $E>V_0$.
$\Psi_1=Ae^{ik_0x}+Be^{-ik_0x}$ for $x=0$ meet at $x=0.$
Solve the boundary condition equaled to $\Psi_1^*(0)\Psi_1(x)=\Psi_2^*(0)\Psi_2(x)$ (Probability density) and $\Psi_1^*(0)\partial_x\Psi_1(x)=\Psi_2^*(0)\partial_x\Psi_2(x)$(momentum).
Thus $(A+B)^2=C^2$ and $(A+B)(ik_0A-ik_0B)=Cik_1C$.
$(A+B)^2=C^2$ and $A^2-B^2=\frac{k_1}{k_0}C$.
Thus $2AB=\frac{k_0+k_1}{k_0}C^2-2A^2$.
If assuming $A,B,C>0$ and was real.
Eventually I obtained $B=A(k_0-k_1)/(k_0+k_1)$ and $C=2Ak_0/(k_0+k_1)$.
Thus $R=B^2/A^2=(k_0-k_1)^2/(k_0+k_1)^2$ which was consist with the boundary condition of the continuous functions, and $C^2/A^2=4k_0^2/(k_0+k_1)^2$ which was also consist with the usual boundary condition.
Thus we solved the equation without assuming the continuous of the function. Rather, assume the coefficient to be real and momentum and probability amplitude was continuous at the $x=0$.
https://physics.stackexchange.com/questions/397127/step-potential-well-solve-the-other-kind-of-given-boundary-condition
My question was that, was those solution valid? Further, was my original statement in the first paragraph correct?