chain_rule
Apply the chain rule to composite functions by providing outer and inner expressions. Define the inner variable and differentiation variable to compute the symbolic derivative.
Instructions
Apply the chain rule for composite functions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable | No | Variable to differentiate with respect to | x |
| inner_var | No | Variable name for inner function in outer function | u |
| inner_function | Yes | Inner function (e.g., 'x**2 + 1') | |
| outer_function | Yes | Outer function (e.g., 'sin(u)' where u is the inner function) |