I have the following exercise:
We know that the solution of $T(n) = 2T(n/2) + n$ is $\mathcal{O}(n \log_2 n)$. Show that the solution of this recurrence is also $\mathcal{\Omega}(n \log_2 n)$. Conclude that the solution is $\mathcal{\Theta}(n \log_2 n)$.
To solve this i used the substitution method with induction and got the following solution:
$T(n) \ge 2\left(\dfrac{cn}{2}\right) \log_2 \left(\dfrac{n}{2}\right) + n$
$= cn \log_2\left(\dfrac{n}{2}\right) + n$
$= cn \log_2 n - cn \log_2 2 + n$
$= cn \log_2 n - cn + n$
which is larger than or equal to $cn \log_2 n$
for $c = 1$, we get equality.
If the same solution is valid for both the upper and lower bounds, that means that is valid for $\mathcal{\Theta}$, correct?
If my solution is wrong, please do elaborate.
Thank you for taking the time to help.