Product Rule
The product rule is a fundamental concept in calculus used to compute the derivative of the product of two functions. If you have two functions, and , the product rule helps you find the derivative of their product
with respect to . Mathematically, the product rule states that:
where is the derivative of with respect to , is the derivative of with respect to , and is the derivative of with respect to .
Examples
Find the derivative of the product function with respect to
- Define the functions and :
- Compute the derivatives:
- Apply the product rule:
In Sympy this looks like:
import sympy
x = sympy.symbols("x")
u_x = x**2 + 1
v_x = 3 * x - 4
u_prime = sympy.diff(u_x, x)
v_prime = sympy.diff(v_x, x)
w_prime = u_prime * v_x + u_x * v_prime
sympy.simplify(w_prime)
Tags: Mathematics