What is the proof for the Product Rule in Calculus?

In summary, the OP is having trouble proving that the derivative of f(x)*g(x) is f'(x)*g(x)+f(x)*g'(x).
  • #1
Lemniscates
9
0
Hello all,

I'm having trouble with proving that the derivative of f(x)*g(x) is f'(x)*g(x)+f(x)*g'(x).
Now, I've already seen the actual proof, and I can understand its reasoning, but the first time I tried to prove without looking at the solution, this is what I wrote before I became rather confused:

So, using the limit definition of the derivative, I get that the derivative of f(x)*g(x) is:

[itex]
\displaystyle\lim_{\Delta x \rightarrow 0} {\frac{f(x+\Delta x)g(x+\Delta x) - f(x)g(x)} {\Delta x}}
[/itex]

I can rewrite this as:
[itex]
\displaystyle\lim_{\Delta x \rightarrow 0} {(f(x+\Delta x)\frac{g(x+\Delta x) }{\Delta x} - f(x)\frac{g(x)}{\Delta x})}
[/itex]

Then I used some limit rules (multiplication and subtraction of limits) to rewrite the limit:
[itex]
\displaystyle\lim_{\Delta x \rightarrow 0} {f(x+\Delta x)} \displaystyle\lim_{\Delta x \rightarrow 0}{\frac{g(x+\Delta x)}{\Delta x}} - \displaystyle\lim_{\Delta x \rightarrow 0} {f(x)} \displaystyle\lim_{\Delta x \rightarrow 0}{\frac{g(x)}{\Delta x}}
[/itex]

I believe that, because f(x) and g(x) are differentiable (and therefore continuous), this evaluates to:
[itex]
f(x) \displaystyle\lim_{\Delta x \rightarrow 0}{\frac{g(x+\Delta x)}{\Delta x}} - f(x) \displaystyle\lim_{\Delta x \rightarrow 0}{\frac{g(x)}{\Delta x}}
[/itex]

Then I can factor out f(x) and be left with :
[itex]
f(x)( \displaystyle\lim_{\Delta x \rightarrow 0}{\frac{g(x+\Delta x)}{\Delta x}} - \displaystyle\lim_{\Delta x \rightarrow 0}{\frac{g(x)}{\Delta x}})
[/itex]

Then, because the the limit of a difference is the same as the difference of the two terms' limits:

[itex]
f(x)( \displaystyle\lim_{\Delta x \rightarrow 0}{\frac{g(x+\Delta x)-g(x)}{\Delta x}})
[/itex]

I finally get: [itex]
f(x)g'(x)
[/itex]

I realize that this isn't the right answer. Where am I going wrong?
 
Last edited:
Physics news on Phys.org
  • #2
Lemniscates said:
Hello all,

Then I used some limit rules (multiplication and subtraction of limits) to rewrite the limit:
[itex]
\displaystyle\lim_{\Delta x \rightarrow 0} {f(x+\Delta x)} \displaystyle\lim_{\Delta x \rightarrow 0}{\frac{g(x+\Delta x)}{\Delta x}} - \displaystyle\lim_{\Delta x \rightarrow 0} {f(x)} \displaystyle\lim_{\Delta x \rightarrow 0}{\frac{g(x)}{\Delta x}}
[/itex]

You can only write the limit of a difference as a difference of two limits if the two limits actually exist. The two limits you have written here will not exist in general.
 
  • Like
Likes 1 person
  • #3
f(x+h)g(x+h) - f(x)g(x) = {f(x+h)g(x+h) - f(x)g(x+h)} + {f(x)g(x+h) - f(x)g(x)}

Let h -> 0. Assume f and g are well behaved.
{f(x+h)g(x+h) - f(x)g(x+h)}/h -> g(x)f'(x)
{f(x)g(x+h) - f(x)g(x)}/h -> f(x)g'(x)

I hope this clarifies it.
 
  • #4
Thank you, HS, for helping me find the hole in my proof.

And thank you mathman, but I've already seen the actual proof, which makes sense to me. I just needed someone to explain why my version didn't work.
 
  • #5
Why not use the chain rule for multiple variables employing parametric identities?

Let [itex]W=uv[/itex]

where [itex]u = x(t)[/itex] and [itex]v=y(t)[/itex]

then [itex]dW=W_udu + W_vdv[/itex]

Using approximations we can say: [itex]\frac{dW}{dt} = \frac{\partial W}{\partial u} \frac{du}{dt} + \frac{\partial W}{\partial v} \frac{dv}{dt}[/itex]

Because of the parametric equations we can define the partial terms and [itex]u[/itex] and [itex]v[/itex] with respect to each other and to [itex]t[/itex];

Thus, [itex]W_u=v , \frac{du}{dt}=x'(t) , W_v=u , \frac{dv}{dt}=y'(t)[/itex]

Then just plug-and-play! :

[itex]y(t)x'(t) + x(t)y'(t)[/itex]

To show it using limits simply carry over the epsilon/delta definition for single variables to multiple variables (partials).
 
  • #6
That has to be one of the most needlessly convoluted way to prove something I have personally ever seen. The standard proof of the single-variable product rule using single-variable techniques is in and of itself simpler and way more minimalist.
 
  • #7
CubicFlunky77 said:
Why not use the chain rule for multiple variables employing parametric identities?

Yes, because the OP surely has seen the chain rule for multivariable calculus before if he's trying to prove the product rule.

Please don't give out responses that are above the current level of understanding of the OP. Thanks.
 
  • #8
Lemniscates said:
Thank you, HS, for helping me find the hole in my proof.

And thank you mathman, but I've already seen the actual proof, which makes sense to me. I just needed someone to explain why my version didn't work.

The hole is that you replace [itex] f(x+ \Delta x ) [/itex] by [itex] f(x ) [/itex] between the third and the fourth expression, where you said
I believe that, because f(x) and g(x) are differentiable (and therefore continuous), this evaluates to:

What HS-Scientist wrote isn't really a problem, because you could have kept the entire expression as a single limit anyway.
 
  • #9
This thread is hysterical. I think it is worthwhile to learn both proofs. The Newton quotient proof is very visual we note (perhaps by drawing a rectangle) that

Δ(fg)=(Δf)g+f(Δg)+Δ(f)(Δg)

Many people like the nonsymmetrical variation for some reason.
HS-Scientist's objection is dealt with by supposing f' and g' exist

WannabeNewton that proof is extremely straight forward how is it needlessly convoluted?
The distinction between one and several variables is entirely artificial.
single variable calculus exercise
$$\dfrac{d}{dx} c \, x=c$$
several variable calculus exercise
$$\dfrac{\partial}{\partial x} z \, x=z$$
exactly the same idea
The OP claims knowledge of the chain rule. He/She therefore knows the multivariable chainrule with or without being aware of it.
The second proof has several benefits. It helps one develop derivative intuition. Many absurd errors are commited because students reading crap books like Stewart have no intuition. To them (uv)'=u'+v' or (x^x)'=x^x is perfectly reasonable. The key concept is the derivative of a function where the variable appears multiple times can be found by adding the derivatives of each appearance. This is because differentiation is linear.
 
  • #10
The cynicism and hostility was uncalled for. Proving the product rule for single variables is a very typical homework problem in the vast majority of AP Calculus high-school classes let alone colleges. Since this is not the homework section I had no idea the OP didn't know the chain-rule for multiple variables. Also, I personally struggled to understand the product rule proof for single variables. The method I used, was done in my community college class and is 100% crystal clear to me.
 
  • #11
^Bravo

Also many advanced undergraduates/grad students ask questions like this when they realize something they should have known years ago slipped by.
 
  • #12
lurflurf said:
Also many advanced undergraduates/grad students ask questions like this when they realize something they should have known years ago slipped by.

Now you're just guessing. There is no reason to assume the OP had any acquaintance with multivariable calc. In fact, if somebody asks something about single-variable calculus, then it's simply common sense to not start using tools that are not covered in a single-variable calculus course.

Anyway, let's keep this thread on topic.
 
  • #13
That's not guessing, it is being open to possibility. It is not like the OP listed the topics known. In any case the two topics are within a year of each other anyway, and topics are presented in order in different books/classes. One might read a book out of order. Most importantly the most common ordering of calculus topics is nonoptimal. If one has the misfortune of a book that does the product rule before the chain rule, one may simply flip to the chain rule bit read it then flip back, problem solved.

The original mistake is ambiguous.
On second reading HS-Scientist's comment is spot on if the mistake started there.
The OP's proof is quite correct (reasoning and result) in the case g(x)=0
(also the case f'(x)=0)
When this is not the case HS-Scientist's is correct the limit manipulation is invalid.
The best thing to do as I said above is write
f(x+h)=f(x)+(f(x+h)-f(x))=
g(x+h)=g(x)+(g(x+h)-g(x))=

now we can return to the OP proof which is nonsymmetric
(f(x+h)g(x+h)-f(x)g(x))/h=(f(x+h)-f(x))g(x)/h+f(x)(g(x+h)-g(x))/h
as OP omits the term (f(x+h)-f(x))g(x)/h it is assumed that
lim (f(x+h)-f(x))g(x)/h=0

either f'(x)=0 or g(x)=0
which is not true in general
 
  • #14
lurflurf said:
That's not guessing, it is being open to possibility. It is not like the OP listed the topics known.

Right. And in that case it's best to assume a minimal amount of knowledge. Assuming a knowledge of multivariable calculus is not ok here.

In any case the two topics are within a year of each other anyway, and topics are presented in order in different books/classes. One might read a book out of order. Most importantly the most common ordering of calculus topics is nonoptimal. If one has the misfortune of a book that does the product rule before the chain rule, one may simply flip to the chain rule bit read it then flip back, problem solved.

Do you have any book that proves the multivariable chain rule before the single variable product rule?? Do you really think it's misfortune to prove the product rule first? Do you really think we should let students wait a year to actually prove the product rule when a very simple limit argument suffices? With all due respect, but what you're proposing is not in the best interest of the students.
 
  • #15
I don't see what the big deal is. OP posted a question, OP received answer, user posted an alternate method. I think being aware of how to prove a proof different ways doesn't hurt. :)
 
  • #16
Let's get back to the math now and keep things on-topic.
 
  • #17
willem2 said:
The hole is that you replace [itex] f(x+ \Delta x ) [/itex] by [itex] f(x ) [/itex] between the third and the fourth expression

No, this is perfectly valid if you are allowed to break up limits. If f is continuous (which you know since we are assuming that f is differentiable, then [itex] lim_{\Delta x \rightarrow 0} f(x+\Delta x)=f(x) [/itex].

What HS-Scientist wrote isn't really a problem, because you could have kept the entire expression as a single limit anyway.

How would you be able to do the same proof without breaking up the limit?
 

Related to What is the proof for the Product Rule in Calculus?

1. What is the product rule in calculus?

The product rule is a fundamental rule in calculus that is used to find the derivative of a product of two functions. It states that the derivative of the product of two functions is equal to the first function times the derivative of the second function plus the second function times the derivative of the first function.

2. How is the product rule derived?

The product rule can be derived using the limit definition of the derivative. By expanding the difference quotient and simplifying, the product rule can be obtained.

3. When is the product rule used in real-life applications?

The product rule is used in various real-life applications, such as in physics to find the velocity of an object with changing mass, in economics to calculate the marginal cost of production, and in biology to model population growth.

4. Can the product rule be applied to more than two functions?

Yes, the product rule can be extended to more than two functions. It is known as the generalized product rule and states that the derivative of the product of n functions is equal to the sum of all possible combinations of the derivatives of the individual functions multiplied by the remaining functions.

5. How does the product rule relate to the chain rule?

The product rule and the chain rule are closely related. The product rule is used to find the derivative of a product of two functions, while the chain rule is used to find the derivative of a composite function. In some cases, both rules may need to be applied to find the derivative of a function.

Similar threads

Replies
2
Views
1K
  • Calculus
Replies
9
Views
2K
Replies
14
Views
1K
Replies
24
Views
2K
Replies
16
Views
3K
Replies
9
Views
953
  • Calculus
Replies
6
Views
1K
Replies
1
Views
1K
  • Calculus
Replies
4
Views
1K
Replies
3
Views
2K
Back
Top