let $n$ be give postive integers,and $a_{i}>0,b_{i}>0(i=1,2,\cdots,n)$.and such $$\sum_{i=1}^{n}a^2_{i}=\sum_{i=1}^{n}b^2_{i}=1$$ find the maximum of the value $$\min_{1\le i\le n}\left(\dfrac{a_{i}}{b_{i}}\right)$$
My attemp:let $$f=\max\min_{1\le i\le n}\left(\dfrac{a_{i}}{b_{i}}\right)$$ since $$a^2_{i}=1-\sum_{j\neq i}a^2_{j}$$ $$b^2_{i}=1-\sum_{j\neq i}b^2_{j}$$ so $$\left(\dfrac{a_{i}}{b_{i}}\right)^2=\dfrac{1-\sum_{j\neq i}a^2_{j}}{1-\sum_{j\neq i}b^2_{j}}$$