\(SA\perp\left(ABCD\right)\Rightarrow\widehat{SMA}\) là góc giữa SM và đáy
\(\Rightarrow\widehat{SMA}=60^0\Rightarrow SA=AM.tan60^0=\sqrt{3a^2+\left(\dfrac{2a}{2}\right)^2}.\sqrt{3}=2a\sqrt{3}\)
Qua B kẻ đường thẳng song song AM cắt AD kéo dài tại E
\(\Rightarrow AM||\left(SBE\right)\Rightarrow d\left(AM;SB\right)=d\left(AM;\left(SBE\right)\right)=d\left(A;\left(SBE\right)\right)\)
Từ A kẻ \(AH\perp BE\) , từ A kẻ \(AK\perp SH\Rightarrow AK=d\left(A;\left(SBE\right)\right)\)
\(\widehat{DAM}=\widehat{AEB}\) (đồng vị) , mà \(\widehat{BAH}=\widehat{AEB}\) (cùng phụ \(\widehat{ABH}\))
\(\Rightarrow\widehat{DAM}=\widehat{BAH}\)
\(\Rightarrow AH=AB.cos\widehat{BAH}=AB.cos\widehat{DAM}=\dfrac{AB.AD}{AM}=\dfrac{2a.a\sqrt{3}}{2a}=a\sqrt{3}\)
\(\dfrac{1}{AK^2}=\dfrac{1}{AH^2}+\dfrac{1}{SA^2}=\dfrac{1}{3a^2}+\dfrac{1}{12a^2}=\dfrac{5}{12a^2}\)
\(\Rightarrow AK=\dfrac{2a\sqrt{15}}{5}\)