The given problem can be exemplified in the following diagram:
Since the book is at rest we notice that the two forces acting are:
![\begin{gathered} N=\text{ normal force} \\ F_g=\text{ force of gravity} \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/a5bcj4znrcy91rm6il8el2x1gj3enqjspo.png)
We can add the forces in the vertical direction and we get:
![\Sigma F_v=N-F_g](https://img.qammunity.org/2023/formulas/physics/college/mov7rahkib1iayie0kacnhl9fyqznclwnw.png)
Since the book is at rest according to NEwton's second law the sum of forces must be equal to the product of the mass by the acceleration but the acceleration is zero, therefore:
![N-F_g=0](https://img.qammunity.org/2023/formulas/physics/college/dbcis0dsx643b3gyw9a48mlqrmxggplhnz.png)
Adding the force of gravity to both sides:
![N=F_g](https://img.qammunity.org/2023/formulas/physics/college/xqp7a181h5x7hizqvknwm7rbeset7bmazf.png)
This means that the normal force balances the force of gravity.