✔ 最佳答案
Q: why the natural frequency is a straight line?
The natural frequency is a fixed value which depends on the characteristics of the oscillating system. The dotted-line on the graph only indicates to you the position on the frequency axis where the natural frequency is located.
Q: to make resonance occur, the driving frequency should close to
or equal to the natural frequency in each case?
For resonance occurs, the driving frequency from the source should be equal to the natural frequency of the oscillating system. But in case where damping occurs, because damping dissipates energy, the resonsance peak wil occur at a a frequency lower than the natural frequency.
The following web-page gives a good animation to a forced oscillation system. You could vary the damping (i.e. attenuation) and watch the result.
http://www.walter-fendt.de/ph14e/resonance.htm