That's the original sentence.
This is one of the hardest books in the world to understand.
What do you think the function of "to understand" is ?
I think it is connected to a whole noun phrase "the hardests books" and
this sentence is the same as
This is one of the books in the world that are the hardest to understand.
Do you agree? Thanks.