For finding when the median of a beta distribution is $\frac{1}{2}$, this answer says:
If a $\mathrm{Beta}(a,b)$ distribution has $a>b$ then $\mathbb P(X \le \frac12) \lt \frac12$ and its median is above $\frac12$, while if $a<b$ then then $\mathbb P(X \le \frac12) \gt \frac12$ and its median is below $\frac12$.
This can be proved by comparing the densities at $x$ and $1-x$ and then integrating over the half intervals. When $a=b$ you get $\mathbb P(X \le \frac12) = \frac12$ and a median of $\frac12$ by symmetry.
I don't understand the second part (where the property mentioned) is proved. What is meant by "comparing the densities", and why is that important? Is the integration actually to be done), or is there a trick to see that it is less than, or more than $\frac{1}{2}$
I understand that symmetry might be useful in this situation, but I don't where to start applying it.