2
Integration by parts The rule for differentiating a product of two functions of a single variable x is d dx f (x)g (x) = f (x)g (x)+ f (x) g (x). A rule for differentiating a general product is called a Leibniz rule. We can use it to make an integration-by-parts formula, thus f (x)g (x)= d dx f (x)g (x) f (x) g (x). Therefore b a f (x)g (x) dx = f (x)g (x) b a b a f (x) g (x) dx. Similarly, there are Leibniz rules for other kinds of derivatives, such as div. grad. and curl, and other types of products, such as dot, cross and scalar multiply. Suppose f and g are any field quantities, maybe vector or scalar, and suppose is any product that makes sense. Finally, let D be again any kind of derivative that makes sense. Then very roughly D (fg )=(D f ) g + f (D g ) is the general form of a Leibniz rule. Take for a first example the gradient. The Leibniz rule is (fg )=(f ) g + f (g ), so r b ra f ( r)g ( r) · d r = f ( r b )g ( r b ) f ( r a )g ( r a )+ r b ra g ( r)f ( r) · d r. So this is the gradient’s integration by parts formula. Now take the divergence. The fundamental theorem in this case is the diver- gence theorem, V ∇· vd 3 x = ∂V v · n dS, 1

Integration by Parts the Rule for Differentiiating a Product o

Embed Size (px)

DESCRIPTION

The rule for differentiating a product of two functions of a single variable xisddxf(x)g(x)= f(x)g(x) + f(x) g(x).A rule for differentiating a general product is called a Leibniz rule. We canuse it to make an integration-by-parts formula, thus

Citation preview

  • Integration by parts

    The rule for dierentiating a product of two functions of a single variable xis

    d

    dx

    (f(x)g(x)

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

    A rule for dierentiating a general product is called a Leibniz rule. We canuse it to make an integration-by-parts formula, thus

    f (x)g(x) =d

    dx

    (f(x)g(x)

    ) f(x) g(x).

    Therefore

    ba

    f (x)g(x) dx = f(x)g(x)ba

    ba

    f(x) g(x) dx.

    Similarly, there are Leibniz rules for other kinds of derivatives, such as div.grad. and curl, and other types of products, such as dot, cross and scalarmultiply. Suppose f and g are any eld quantities, maybe vector or scalar,and suppose is any product that makes sense. Finally, let D be again anykind of derivative that makes sense. Then very roughly

    D (f g) = (D f) g + f (D g)

    is the general form of a Leibniz rule.

    Take for a rst example the gradient. The Leibniz rule is

    (f g) = (f) g + f (g),

    so

    rbra

    f(r)g(r) dr = f(rb)g(rb) f(ra)g(ra) + rbra

    g(r)f(r) dr.

    So this is the gradients integration by parts formula.

    Now take the divergence. The fundamental theorem in this case is the diver-gence theorem,

    V v d3x =

    V

    v n dS,

    1

  • where V is some volume or 3D region, V is the closed surface poundingV , dS is the surface area increment, with local outward normal n, and d3x(same as d in Griths) is the volume element.

    In this case the Leibniz rule involves two dierent kinds of functions, ascalar function f(r), and a vector function v(r). Then is just the ordinaryproduct f(r)v(r). The vector identity

    (f(r)v(r)) = (f(r)) v(r) + f(r) ( v(r)) .

    works as a rather generalized Leibniz rule, and so we have an integration byparts formula

    V

    (f(r)) v(r) d3x =

    Vf(r)v(r) n dS

    V

    f(r) ( v(r)) d3x,

    or, going the other way

    V

    f(r) ( v(r)) d3x =

    Vf(r)v(r) n dS

    V

    (f(r)) v(r) d3x.

    2