MHB Hp1357's question at Yahoo Answers regarding an extended product rule

AI Thread Summary
The discussion centers on applying the product rule in calculus to derive the derivative of a product of multiple functions. The product rule is demonstrated through a step-by-step induction proof, showing how to extend the rule from two functions to n functions. The specific problem involves finding the derivative of the function f(x) defined as the product of terms (1+kx) for k from 1 to n. The final result for f'(0) is calculated as the sum of the first n integers, leading to the formula f'(0) = n(n+1)/2. This comprehensive approach illustrates both the application of the product rule and the solution to the posed calculus problem.
MarkFL
Gold Member
MHB
Messages
13,284
Reaction score
12
Here is the question:

The Product Rule, Calculus Help?

This is a problem from my calculus textbooks:

Determine an expression for f'(x) is f(x)=g1(x)g2(x)g3(x)...gn-1(x), gn(x). If f(x)=(1+x)(1+2x)(1+3x)...(1+nx) find f'(0).

I have posted a link there to this thread so that the OP may view my work.
 
Mathematics news on Phys.org
Hello hp1357,

a) The product rule for a composite function that is the product of two functions is well-known and will be the basis for working this problem (and accepted without proof):

$$\frac{d}{dx}\left(g_1(x)\cdot g_2(x) \right)=g_1'(x)\cdot g_2(x)+g_1(x)\cdot g_2'(x)$$

Using this rule, let's look at:

$$\frac{d}{dx}\left(g_1(x)\cdot g_2(x)\cdot g_3(x) \right)$$

Now, let's associate two of the functions together, it doesn't matter which two, so let's use the first two:

$$\frac{d}{dx}\left(\left(g_1(x)\cdot g_2(x) \right)\cdot g_3(x) \right)$$

Now, using the product rule above, we may state:

$$\frac{d}{dx}\left(\left(g_1(x)\cdot g_2(x) \right)\cdot g_3(x) \right)=\frac{d}{dx}\left(g_1(x)\cdot g_2(x) \right)\cdot g_3(x)+\left(g_1(x)\cdot g_2(x) \right)\cdot g_3'(x)$$

Using the product rule again, we find:

$$\frac{d}{dx}\left(\left(g_1(x)\cdot g_2(x) \right)\cdot g_3(x) \right)=\left(g_1'(x)\cdot g_2(x)+g_1(x)\cdot g_2'(x) \right)\cdot g_3(x)+\left(g_1(x)\cdot g_2(x) \right)\cdot g_3'(x)$$

And distributing, we find:

$$\frac{d}{dx}\left(\left(g_1(x)\cdot g_2(x) \right)\cdot g_3(x) \right)=g_1'(x)\cdot g_2(x)\cdot g_3(x)+g_1(x)\cdot g_2'(x)\cdot g_3(x)+g_1(x)\cdot g_2(x)\cdot g_3'(x)$$

Now, this is enough to suggest the pattern (our induction hypothesis $P_n$):

$$\frac{d}{dx}\left[\prod_{k=1}^n\left(g_k(x) \right) \right]=\sum_{k=1}^n\left[\prod_{j=1}^{k-1}\left(g_j(x) \right)\cdot\frac{d}{dx}\left(g_k(x) \right)\cdot\prod_{j=k+1}^n\left(g_j(x) \right) \right]$$

Next, consider:

$$\frac{d}{dx}\left[\prod_{k=1}^n\left(g_k(x) \right)\cdot g_{n+1}(x) \right]$$

Using the product rule, and incorporating the new factor into the product. we may state:

$$\frac{d}{dx}\left[\prod_{k=1}^{n+1}\left(g_k(x) \right) \right]=\frac{d}{dx}\left[\prod_{k=1}^n\left(g_k(x) \right) \right]\cdot g_{n+1}(x)+\prod_{k=1}^n\left(g_k(x) \right)\cdot g_{n+1}'(x)$$

Using our induction hypothesis, this becomes:

$$\frac{d}{dx}\left[\prod_{k=1}^{n+1}\left(g_k(x) \right) \right]=\sum_{k=1}^n\left[\prod_{j=1}^{k-1}\left(g_j(x) \right)\cdot\frac{d}{dx}\left(g_k(x) \right)\cdot\prod_{j=k+1}^n\left(g_j(x) \right) \right]\cdot g_{n+1}(x)+\prod_{k=1}^n\left(g_k(x) \right)\cdot g_{n+1}'(x)$$

Now, incorporating the factor at the end of the first term on the right, we have:

$$\frac{d}{dx}\left[\prod_{k=1}^{n+1}\left(g_k(x) \right) \right]=\sum_{k=1}^n\left[\prod_{j=1}^{k-1}\left(g_j(x) \right)\cdot\frac{d}{dx}\left(g_k(x) \right)\cdot\prod_{j=k+1}^{n+1}\left(g_j(x) \right) \right]+\prod_{k=1}^n\left(g_k(x) \right)\cdot g_{n+1}'(x)$$

And finally incorporating the second term on the right within the first summation term, we have:

$$\frac{d}{dx}\left[\prod_{k=1}^{n+1}\left(g_k(x) \right) \right]=\sum_{k=1}^{n+1}\left[\prod_{j=1}^{k-1}\left(g_j(x) \right)\cdot\frac{d}{dx}\left(g_k(x) \right)\cdot\prod_{j=k+1}^{n+1}\left(g_j(x) \right) \right]$$

We have derived $P_{n+1}$ from $P_n$, thereby completing the proof by induction.

b) Now, if:

$$f(x)=\prod_{k=1}^n\left(g_k(x) \right)$$

and

$$g_k(x)=(1+kx)$$, we see that we have:

$$f'(x)=\sum_{k=1}^n\left[\prod_{j=1}^{k-1}\left(1+jx \right)\cdot k\cdot\prod_{j=k+1}^n\left(1+jx \right) \right]$$

Hence:

$$f'(0)=\sum_{k=1}^n(k)=\frac{n(n+1)}{2}$$
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Back
Top