Rules that build derivatives
The derivative measures how fast a function changes: . You rarely compute that limit by hand. Instead you combine a few known derivatives (, , , ) with rules for sums, products, quotients and compositions.
The product rule applies when two changing quantities multiply. The value of a position is price times quantity, ; if both move, : one part from the price changing, one from the quantity changing.
The chain rule applies when one function sits inside another: change flows from the inside out. A discount factor depends on the rate through the exponent, so : each unit increase in the rate cuts the factor by times its value.
- Sum rule: .
- Product rule: .
- Quotient rule: .
- Chain rule: differentiate the outside, then multiply by the derivative of the inside.
Compare your formula with the central difference at a few points, with about . If they disagree in the first digits, there is an algebra slip. You will code this check in the Python derivatives topic.
Lab · what's graded
6 tasks · 100 pts- Product rule20 pts
- Chain rule with a logarithm20 pts
- Chain rule with a sine15 pts
- Rules and formulas15 pts
- A derivative at a point15 pts
- A chain-rule derivation15 pts