Product Rule for Derivatives: Understanding and Applying

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
Winning
Messages
5
Reaction score
0

Homework Statement



[tex]\frac{d}{dx}x^{2}y^{2} = ?[/tex]

Homework Equations



Power rule: [tex]\frac{d}{dx}x^{n} = nx^{n-1}[/tex]
Product rule: [tex]\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + g'(x)f(x)[/tex]

The Attempt at a Solution



My TI-89 titanium gives me [tex]2xy^{2}[/tex]
Which contradicts the power rule.

Doing this by hand gives me
[tex]2x^{2}y + 2xy^{2}[/tex]

Which one is correct? Is "y" considered as it's own function or as a constant?
 
Physics news on Phys.org
Winning said:

Homework Statement



[tex]\frac{d}{dx}x^{2}y^{2} = ?[/tex]

Homework Equations



Power rule: [tex]\frac{d}{dx}x^{n} = nx^{n-1}[/tex]
Product rule: [tex]\frac{d}{dx}[f(x)g(x)] = f'(x)g(x) + g'(x)f(x)[/tex]

The Attempt at a Solution



My TI-89 titanium gives me [tex]2xy^{2}[/tex]
Which contradicts the power rule.

Doing this by hand gives me
[tex]2x^{2}y + 2xy^{2}[/tex]

Which one is correct? Is "y" considered as it's own function or as a constant?
Why do you think that d(y^2)/dx is 2y?

RGV
 
If y does not depend on x, then the calculator's answer is correct. You treat y as a constant in that case.

If y does depend on x, then you have to use the chain rule in addition to the rules you used:

[tex]\frac{d}{dx} (x^2 y^2) = 2xy^2 + 2x^2 y \frac{dy}{dx}[/tex]

Notice that if y is constant (not dependent on x), then

[tex]\frac{dy}{dx} = 0[/tex]

so the above reduces to your calculator's answer.
 
@Ray Vickson: That's a good question... I had a brainfart lol.

@jbunniii: Yeah, y is dependent on x... I forgot to mention that this is part of an Imp. Diff. problem. Thanks!