Yes, bitcoin mining is profitable as long as you can solve the mathematical equation with your hardware, and it is cheaper than buying bitcoins from other exchanges.
The better the mining power of your hardware, the more bitcoins you can mine in the blockchain.