Calculus · real student question

Let f and g have derivatives of every order. Prove that the n-th derivative of F = fg satisfies F^(n) = sum over j from 0 to n of C(n,j) f^(n-j) g^(j).

Question

Let ff and gg have derivatives of every order, and set F(x)=f(x)g(x)F(x)=f(x)g(x). Prove that for every natural number nn,

F(n)(x)=j=0n(nj)f(nj)(x)g(j)(x)F^{(n)}(x)=\sum_{j=0}^{n}\binom{n}{j}f^{(n-j)}(x)\,g^{(j)}(x)

where f(0)=ff^{(0)}=f and g(0)=gg^{(0)}=g.

Step-by-step solution

  1. Set up the induction. The claim is a statement about every natural number nn, so prove it for n=1n=1 and then show that the truth at nn forces the truth at n+1n+1. The structural resemblance to the binomial theorem is the clue that Pascal's rule will do the work.

  2. Base case n = 1. The right-hand side reads

    (10)fg+(11)fg=fg+fg\binom10 f'g+\binom11 fg'=f'g+fg'

    which is exactly the ordinary product rule, so the formula holds for n=1n=1.

  3. Assume the formula at n and differentiate once more. Applying the product rule to each term of the inductive hypothesis:

    F(n+1)=j=0n(nj)[f(nj+1)g(j)+f(nj)g(j+1)]F^{(n+1)}=\sum_{j=0}^{n}\binom{n}{j}\left[f^{(n-j+1)}g^{(j)}+f^{(n-j)}g^{(j+1)}\right]

    This splits into two sums, one where ff picked up the extra derivative and one where gg did.

  4. Re-index the second sum so the two align. Substituting k=j+1k=j+1 in the second sum turns it into k=1n+1(nk1)f(n+1k)g(k)\sum_{k=1}^{n+1}\binom{n}{k-1}f^{(n+1-k)}g^{(k)}. Renaming kk back to jj, the two sums now carry the same factor f(n+1j)g(j)f^{(n+1-j)}g^{(j)}:

    F(n+1)=j=0n(nj)f(n+1j)g(j)+j=1n+1(nj1)f(n+1j)g(j)F^{(n+1)}=\sum_{j=0}^{n}\binom{n}{j}f^{(n+1-j)}g^{(j)}+\sum_{j=1}^{n+1}\binom{n}{j-1}f^{(n+1-j)}g^{(j)}

  5. Combine using Pascal's rule. For 1jn1\le j\le n the coefficient of f(n+1j)g(j)f^{(n+1-j)}g^{(j)} is

    (nj)+(nj1)=(n+1j)\binom{n}{j}+\binom{n}{j-1}=\binom{n+1}{j}

    The end terms match too: at j=0j=0 the coefficient is (n0)=1=(n+10)\binom{n}{0}=1=\binom{n+1}{0}, and at j=n+1j=n+1 it is (nn)=1=(n+1n+1)\binom{n}{n}=1=\binom{n+1}{n+1}.

  6. Conclude the induction.

    F(n+1)=j=0n+1(n+1j)f(n+1j)g(j)F^{(n+1)}=\sum_{j=0}^{n+1}\binom{n+1}{j}f^{(n+1-j)}g^{(j)}

    which is the formula with nn replaced by n+1n+1. By induction it holds for every natural number nn.

    F(n)=j=0n(nj)f(nj)g(j)\boxed{F^{(n)}=\sum_{j=0}^{n}\binom{n}{j}f^{(n-j)}g^{(j)}}

  7. Check the case n = 2 explicitly. The formula predicts F=fg+2fg+fgF''=f''g+2f'g'+fg''. Differentiating F=fg+fgF'=f'g+fg' by hand gives fg+fg+fg+fg=fg+2fg+fgf''g+f'g'+f'g'+fg''=f''g+2f'g'+fg'' ✓ — the coefficients 1,2,11,2,1 are the second row of Pascal's triangle, exactly as the binomial analogy suggests.

Answer

F(n)(x)=j=0n(nj)f(nj)(x)g(j)(x)F^{(n)}(x)=\sum_{j=0}^{n}\binom{n}{j}f^{(n-j)}(x)g^{(j)}(x)

Need to solve a different problem like this? Open the solver →