I'm currently working on Raman spectroscopy and while reading some literature I came across the first and second derivative of a spectrum. It's not clear to me why they are useful to look at since they look very noisy to me.

I tried graphing the first and second derivative of a spectrum I attained from liquid whey (see the following pictures, 1. accquired raman spectrum (smoothed), 2. first derivative, 3. second derivative):

first derivative Smoothed raman spectrum of whey second derivative

What information can I read from the first/second derivative in this specific example and in general?


1 Answer 1


Derivative spectroscopy was at its peak in the 70-80s. It is still very useful. The only problem with derivatives is that they enhance noise like crazy i.e., they suppress low frequency signals and enhance high frequency signals.

Before you do anything with the derivatives, you have to apply a smoothing process on them, specially on the second derivative. This "problem" of noise with derivatives was very well known then and smoothing was necessary before anyone used them.

For smoothing, you have apply a filter in such a way that it does not shift the peak positions, and the simplest one is the centered moving average. Choose an odd number of data points, say 5 (or higher), so the data at point x_3 will have two data points above and two data points below. Take the average of all 5, at position number x_3. Continue doing this for the rest of the points. You will start to see features in the second derivative.

Basically, derivatives are used to reveal the fine structure of a band. Shoulders become clear. The second derivative can "act" like a high resolution signature of a given molecule.

A very nice paper on higher order derivatives is High‐Resolution, Higher‐Order UV/VIS Derivative Spectrophotometry

And there are some other tricks with second derivatives to resolve overlapping signals by my co-author.


  • $\begingroup$ I forgot to add that my initial spectrum is already smoothed with a savitzky golay filter. However, I still feel that the second derivative looks very noisy. So do I apply a stronger filter in the beginning or do I smooth again after every derivative? $\endgroup$ Jul 8, 2019 at 14:33
  • $\begingroup$ The order of filtration does not matter. I usually use it after. Savitsky Golay may introduce artifacts in sharp signals. You may also see the second derivative trick in "Increasing Chromatographic Resolution for Analytical Signals Using Derivative Enhancement Approach" in Talanta. $\endgroup$
    – AChem
    Jul 8, 2019 at 14:37
  • $\begingroup$ Upvoted because of 'was at its peak'... $\endgroup$
    – Quatermain
    Mar 29, 2021 at 9:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.