Malcolm was an arrogant dick who was hated not just for his demeanor, but also, as stated in the original novel, for his proclivity for screwing the wives of his colleagues.
Yen Wenjie behaves nothing like Ian Malcolm. Yes, she is one of the world's preeminent astrophysicists, and clearly knows it. But this is acknowledged by her colleagues and not begrudgingly. Her hubris is displayed by the choices she makes in secret and their unforeseen consequences. And these choices are the driver for everything else that happens. So more Hammond than Malcolm, but with more understandable reasons for her actions.
Similarly as Jurassic Park was a showcase for chaos theory, 3 Body Problem is for Dark Forest Theory.
But how one can easily plot the Position (0), Velocity (1), and Acceleration (2) of an object
but the Jerk Function (3rd derivative of position in regards to time in calculus) that is when chaos / complexity starts to emerge, the bare minimum with the math.
When you can start playing tricks with the math or the senses like hitting a speed bump and you are surprised by the force of the jerk / lurch and the sudden stop or the new direction. That is chaos theory! (malcom trying to hit on a 25 year old grad student, a blonde, and she surprises him by leaping out of the jeep to pursue her true hearts desire, the dino)