For functions at xx, the product rule is

(fg)(x)=f(x)g(x)+f(x)g(x).(fg)'(x)=f'(x)g(x)+f(x)g'(x).

To prove it, write the difference quotient as

f(x+h)f(x)hg(x+h)+f(x)g(x+h)g(x)h\frac{f(x+h)-f(x)}h g(x+h) +f(x)\frac{g(x+h)-g(x)}h

and use continuity of the differentiable function gg.

Partial and bilinear versions

Holding the other variables fixed gives j(fg)=(jf)g+fjg\partial_j(fg)=(\partial_j f)g+f\partial_jg. More generally, for a fixed continuous bilinear map BB, jB(u,v)=B(ju,v)+B(u,jv)\partial_jB(u,v)=B(\partial_j u,v)+B(u,\partial_jv). This includes dot products, cross products, outer products and matrix multiplication. The order of factors is retained when the product is noncommutative.