Convex Analysis And Its Application To Quantum Information Theory