# Need help understanding a differentiation

I'm working my way through a solution of a problem and am confused on a step where a differentiation is performed. I'm sure I'm just forgetting some kind of rule, but I've been perusing my textbook and can't seem to figure out what I'm missing. Here's the step I'm talking about: Note that there's a typo in the solution: $\frac{dx^2}{dt^2}$ should be $\frac{d^2x}{dt^2}$.

The top part I understand completely, it's the bottom half I'm confused about. It seems to me that:

$\frac{d^2x}{dt^2} = \frac{d}{dt}(\frac{dx}{dt}) = \frac{dx}{ds}(\frac{\alpha}{2}\sqrt{\frac{K}{m}}e^{-\frac{\alpha t}{2}})$

In other words, I don't understand where the second group of terms (after the + sign) comes from in the last line. Why is it there?

Dick
Homework Helper
I'm working my way through a solution of a problem and am confused on a step where a differentiation is performed. I'm sure I'm just forgetting some kind of rule, but I've been perusing my textbook and can't seem to figure out what I'm missing. Here's the step I'm talking about: Note that there's a typo in the solution: $\frac{dx^2}{dt^2}$ should be $\frac{d^2x}{dt^2}$.

The top part I understand completely, it's the bottom half I'm confused about. It seems to me that:

$\frac{d^2x}{dt^2} = \frac{d}{dt}(\frac{dx}{dt}) = \frac{dx}{ds}(\frac{\alpha}{2}\sqrt{\frac{K}{m}}e^{-\frac{\alpha t}{2}})$

In other words, I don't understand where the second group of terms (after the + sign) comes from in the last line. Why is it there?

It's because dx/ds is generally a function of t. It's not a constant. You need to use the product rule when you differentiate the result of the top half.

• 1 person