This article is about the derivative of a product. For the relation between derivatives of 3 dependent variables, seeTriple product rule. For a counting principle in combinatorics, seeRule of product. For conditional probabilities, seeChain rule (probability).
Geometric illustration of a proof of the product rule[1]
The rule may be extended or generalized to products of three or more functions, to a rule for higher-order derivatives of a product, and to other contexts.
Discovery of this rule is credited toGottfried Leibniz, who demonstrated it using"infinitesimals" (a precursor to the moderndifferential).[3] (However, J. M. Child, a translator of Leibniz's papers,[4] argues that it is due toIsaac Barrow.) Here is Leibniz's argument:[5] Letu andv be functions. Thend(uv) is the same thing as the difference between two successiveuv's; let one of these beuv, and the otheru+du timesv+dv; then:
Since the termdu·dv is "negligible" (compared todu anddv), Leibniz concluded thatand this is indeed the differential form of the product rule. If we divide through by the differentialdx, we obtainwhich can also be written inLagrange's notation as
Suppose we want to differentiate By using the product rule, one gets the derivative (since the derivative of is and the derivative of thesine function is the cosine function).
One special case of the product rule is theconstant multiple rule, which states: ifc is a number, and is a differentiable function, then is also differentiable, and its derivative is This follows from the product rule since the derivative of any constant is zero. This, combined with the sum rule for derivatives, shows that differentiation islinear.
The rule forintegration by parts is derived from the product rule, as is (a weak version of) thequotient rule. (It is a "weak" version in that it does not prove that the quotient is differentiable but only says what its derivative isif it is differentiable.)
Leth(x) =f(x)g(x) and suppose thatf andg are each differentiable atx. We want to prove thath is differentiable atx and that its derivative,h′(x), is given byf′(x)g(x) +f(x)g′(x). To do this, (which is zero, and thus does not change the value) is added to the numerator to permit its factoring, and then properties of limits are used.The fact that follows from the fact that differentiable functions are continuous.
By definition, if are differentiable at, then we can writelinear approximations: andwhere the error terms are small with respect toh: that is,also written. Then:The "error terms" consist of items such as and which are easily seen to have magnitude Dividing by and taking the limit gives the result.
Let. Taking theabsolute value of each function and thenatural log of both sides of the equation,Applying properties of the absolute value and logarithms, Taking thelogarithmic derivative of both sides and then solving for:Solving for and substituting back for gives:Note: Taking the absolute value of the functions is necessary for thelogarithmic differentiation of functions that may have negative values, as logarithms are onlyreal-valued for positive arguments. This works because, which justifies taking the absolute value of the functions for logarithmic differentiation.
The product rule can be generalized to products of more than two factors. For example, for three factors we haveFor a collection of functions, we have
Thelogarithmic derivative provides a simpler expression of the last form, as well as a direct proof that does not involve anyrecursion. Thelogarithmic derivative of a functionf, denoted hereLogder(f), is the derivative of thelogarithm of the function. It follows thatUsing that the logarithm of a product is the sum of the logarithms of the factors, thesum rule for derivatives gives immediatelyThe last above expression of the derivative of a product is obtained by multiplying both members of this equation by the product of the
It can also be generalized to thegeneral Leibniz rule for thenth derivative of a product of two factors, by symbolically expanding according to thebinomial theorem:
Applied at a specific pointx, the above formula gives:
Furthermore, for thenth derivative of an arbitrary number of factors, one has a similar formula withmultinomial coefficients:
There are also analogues for other analogs of the derivative: iff andg are scalar fields then there is a product rule with thegradient:
Such a rule will hold for any continuousbilinear product operation. LetB :X ×Y →Z be a continuous bilinear map between vector spaces, and letf andg be differentiable functions intoX andY, respectively. The only properties of multiplication used in the proof using thelimit definition of derivative is that multiplication is continuous and bilinear. So for any continuous bilinear operation,This is also a special case of the product rule for bilinear maps inBanach space.
Derivations in abstract algebra and differential geometry
Inabstract algebra, the product rule is the defining property of aderivation. In this terminology, the product rule states that the derivative operator is a derivation on functions.
Among the applications of the product rule is a proof thatwhenn is a positive integer (this rule is true even ifn is not positive or is not an integer, but the proof of that must rely on other methods). The proof is bymathematical induction on the exponentn. Ifn = 0 thenxn is constant andnxn − 1 = 0. The rule holds in that case because the derivative of a constant function is 0. If the rule holds for any particular exponentn, then for the next value,n + 1, we haveTherefore, if the proposition is true forn, it is true also for n + 1, and therefore for all naturaln.
^Note: This is a usual image since the 17th century, essentially the same illustration given inJames Stewart:Calculus: Early Transcendentals edition 7, p. 185 in the section "The geometry of the Product Rule".