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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"outer_function": "<outer_function>",
"inner_function": "<inner_function>"
},
"name": "chain_rule"
}
}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) |