I want to prove the following$$n - 2\sqrt{n} = \Theta(n)$$
Is it correct to say $$n -1 \leq n \leq n +1 => f(n)=n=\Theta(n)$$ $$\sqrt{n}\leq|-2\sqrt{n}| = 2\sqrt{n}\leq3\sqrt{n} =>g(n)=-2\sqrt{n}=O\sqrt{n}$$
So: $n - 2\sqrt{n} = max(O(n),O(\sqrt{n}))=O(n)$
And: $n - 2\sqrt{n} = max(\Omega(n),\Omega(\sqrt{n}))=\Omega(n)$
So: $n - 2\sqrt{n} = \Theta(n)$
Edit for possible duplicate:I am not interested in the solution to this problem , but whether my methodology for solving the problem is correct or not.