What are the differences in the poetry styles of Wang Anshi and Du Fu?

Spring Hope Du Fu

The country is broken by mountains and rivers, and the city is full of spring vegetation.

I shed tears when I am grateful for the flowers, and I am frightened when I hate others.

The war rages on for three months, and a letter from home is worth ten thousand gold.

The white-headed scratches are shorter, and the lust is overwhelming.

This poem mainly expresses how the author sees the mountains and rivers remain unchanged but the country is ruined and the family is destroyed, and the spring comes back to the earth but the cities are desolate. At this time when he is experiencing adversity and homesickness, he can't help but touch the scene and express his deep sadness and emotion. .

Climbing Feilai Peak

Wang Anshi, Song Dynasty

Climbing the Qianxun Pagoda on Feilai Mountain, I heard the rooster crow and saw the sun rising.

Don’t be afraid of the floating clouds covering your eyes, Your body is at the highest level.

"Climbing Feilai Peak" was written when the author was 30 years old. In the summer of the second year of Huangyou (1050), when he returned to his hometown in Linchuan, Jiangxi Province after completing his term as magistrate of Yin County, Zhejiang Province, he passed through Hangzhou and wrote this poem. This poem is his first entry into officialdom. At this time, he was young and full of energy and had extraordinary ambitions. It was a good time to express his feelings and express his ambitions by climbing Feilai Peak. It can be regarded as the precursor of the Wanyan Book and the prelude to the implementation of the new method.