So, provided we can write down the tree diagram, and these aren’t usually too bad to write down, we can do the chain rule for any set up that we might run across.
We’ve now seen how to take first derivatives of these more complicated situations, but what about higher order derivatives? How do we do those? It’s probably easiest to see how to deal with these with an example