For the book, you may refer: https://amzn.to/3aT4ino
This lecture explains how to check whether the function is convex or concave.
Other lectures:
Quadratic form: https://youtu.be/6jjTLDX_JOk
Hessian Matrix: https://youtu.be/mJB-XLV0QJc
Convex & Concave function: https://youtu.be/nZ7vjo2dQ1o
Maxima & Minima of the function: https://youtu.be/gJHgIcMeS2M