# Wolfram Function Repository

Instant-use add-on functions for the Wolfram Language

Function Repository Resource:

Represent the derivative of a product, explicitly displaying the terms

Contributed by:
Wolfram|Alpha Math Team

ResourceFunction["ProductRule"][ computes the derivative of the product |

ResourceFunction["ProductRule"] accepts the following options:

See how to apply the product rule to compute the derivative of sin(x) * x^{2} with respect to *x*:

In[1]:= |

Out[1]= |

If there is no explicit product in the first argument of ProductRule, one of the factors is taken to be 1:

In[2]:= |

Out[2]= |

If there is a product with multiple factors in the first argument of ProductRule, the factors are split into two separate products:

In[3]:= |

Out[3]= |

Setting "InactiveInnerDerivatives" to True inactivates the derivatives of the factors within the structure of the product rule:

In[4]:= |

Out[4]= |

Setting "PrintNapkin" to True prints a grid with the side "napkin" work needed to apply the product rule (i.e., identifying and computing the derivatives of each factor):

In[5]:= |

Out[5]= |

Setting "PrintRule" to True prints a general statement of the product rule for derivatives:

In[6]:= |

Out[6]= |

- 2.0.0 – 23 March 2023
- 1.0.0 – 30 December 2022

This work is licensed under a Creative Commons Attribution 4.0 International License