How to differentiate a three term function?

Click For Summary

Discussion Overview

The discussion revolves around the differentiation of functions with multiple terms, specifically focusing on how to differentiate a three-term function. Participants explore various notations and methods for applying the product rule in calculus, considering functions of multiple variables and their derivatives.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants propose that the differentiation of a three-term function, such as f(x) = xyz, can be approached similarly to two-term functions using the product rule.
  • Others argue that notation is crucial, suggesting that y and z should be treated as functions of another variable, which complicates the differentiation process.
  • A participant provides a detailed breakdown of how to apply the product rule for three functions, emphasizing the need to treat each function as potentially dependent on a common variable.
  • Another participant expresses confusion about the notation and the meaning of functions with multiple variables, seeking clarification on the differences between f(x), f(x,y), and f(x,y,z).
  • Some responses suggest that the differentiation process can be simplified by treating all but one variable as constants, which may help in applying the product rule effectively.
  • A later reply introduces a general pattern for differentiating a product of n functions, indicating that the derivative will consist of n terms, each corresponding to the product of the remaining functions.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach to differentiate three-term functions, with multiple competing views on notation, methodology, and the interpretation of variables involved.

Contextual Notes

There are limitations in the discussion regarding the clarity of notation and the assumptions about the relationships between the variables. Some participants express uncertainty about the proper application of the product rule in the context of multiple variables.

Who May Find This Useful

This discussion may be useful for students new to calculus, particularly those grappling with the differentiation of functions involving multiple variables and the application of the product rule.

JoshHolloway
Messages
221
Reaction score
0
I know this is how to differentiate a funtion consisting of two terms:
[tex]f(x)=xy , f'(x)=x'y+y'x[/tex]

But is this how to differentiate three terms:
[tex]f(x)=xyz , f'(x)=(x'y+y'x)+(y'z+z'y)+(x'z+z'x)[/tex]
:confused:
 
Physics news on Phys.org
JoshHolloway said:
I know this is how to differentiate a funtion consisting of two terms:
[tex]f(x)=xy , f'(x)=x'y+y'x[/tex]

But is this how to differentiate three terms:
[tex]f(x)=xyz , f'(x)=(x'y+y'x)+(y'z+z'y)+(x'z+z'x)[/tex]
:confused:
odd notation you have. I assume you mean y,z are functions of x that is y(x) and z(x). Thoughout ' denotes partial differentiation with respect to x.
anyway
(xyz)'=x'yz+xy'z+zyz'
for a general function f(u1,...,un) you can differentiate holding all functions except one constant at a time. so (In what follows y'=0)
if
g(x)=f(u1(x),u2(x),...,un(x))
g'(x)=(f(u1(x),u2(x),...,un(x)))'
=(f(u1(x),u2(x),...,un(x)))'
=(f(u1(x),u2(y),...,un(y)))'|y=x
+(f(u1(y),u2(x),...,un(y)))'|y=x
+...
+(f(u1(y),u2(y),...,un(x)))'|y=x
or more concreatly for three functions...
if
g(x)=f(u1(x),u2(x),u3(x))
g'(x)=(f(u1(x),u2(x),u3(x)))'
=(f(u1(x),u2(x),u3(x)))'
=(f(u1(x),u2(y),u3(y)))'|y=x
+(f(u1(y),u2(x),u3(y)))'|y=x
+(f(u1(y),u2(y),u3(x)))'|y=x
 
Last edited:
[tex]f(x)=xy[/tex]
This is wrong notation, unless y is a constant. I assume you mean something like

[tex]f(x,y)=xy[/tex]

and you're differentiating with respect to a third variable,

[tex]\begin{align*} f'(x(t),y(t)) &= \frac{d}{dt} \left[ f(x(t),y(t)) \right] \\<br /> &=\frac{d}{dt}(xy)\\<br /> &=\left( \frac{dx}{dt} \right) y+ \left( \frac{dy}{dt} \right)x\\<br /> &=x'y+y'x \end{align}[/tex]

where your notation refers to the product rule of differentiation - stop me if I'm misreading you.

In which case

[tex]\frac{d}{dt}f(x,y,z)[/tex] where [tex]f(x,y,z)=xyz[/tex]

where x, y, and z are functions of t, can be obtained by substitution:

[tex]u=yz,[/tex] (shorthand for u(t) = y(t)z(t) )
[tex]\begin{align*} \frac{d}{dt}f(x,y,z)&=\frac{d}{dt}(xyz)\\<br /> &=\frac{d}{dt}(xu)\\<br /> &=\left( \frac{dx}{dt} \right) u + \left( \frac{du}{dt} \right) x\\<br /> &=x'yz+\frac{d(yz)}{dt}x\end{align}[/tex]

Do you see how this works?
 
Last edited by a moderator:
What you might have been thinking is f is a function of t, as in

[tex]f(t)=x(t) \cdot y(t) \cdot z(t)[/tex]
 
You guys are a little bit over my head. I did not realize what I wrote was incorrect notation. I apologize, but I am extremely new at calculus. What does f(x,y) mean? I know that f(x) means that f is a function of x. And f(x)=y, which is the dependent variable, since it is a function of x. But I do not know what f(x,y) or f(x,y,z) means. Could someone please explain this to me in words. But as for my original question, I meant when you differentiate an expresion containig three variables, do to basically use the product rule the same way one would with two variable, and the add all of this togeter: (x'y+y'x)+(y'z+z'y)+(x'z+z'x) ? Or do you do it like this: (xyz)'=x'yz+xy'z+zyz' , as lurf has said? I am assuming the second way.
 
it would be simplest just to remove the y's from all of your equations

your question is more simply


hod do i differentiate sin(x)cos(x)x^2 with respect to x.

this is straight forward. you can dfferentiate f(x)g(x) so set f(x)=sin(x)cos(x) and g(x)=x^2 and differentiate that.


you should'nt write f(x)=xy at this stage. it's ok to think of y as a function of x, and g(x) as that function, but saying f(x)=xy sort og implies that y is a function of x, though we don't know what (it certainly isn't f(x))
 
The notation is not all that bad as long as it is understood that x, y, and z are functions of some other variable, say t (the problem with the prime notation is that it doesn't make clear what the independent variable is).

One way to see it is to write xyz= (xy)z and treat (xy) as a single function of t:
(xyz)'= ((xy)z)'= (xy)'z+ (xy)z' using the "two term" product rule. But (xy)'= x'y+ xy', again by the "two term" product rule. So (xyz)'= (x'y+ xy')z+ (xy)z'= x'yz+ xy'z+ xyz'.
 
JoshHolloway said:
You guys are a little bit over my head. I did not realize what I wrote was incorrect notation. I apologize, but I am extremely new at calculus. What does f(x,y) mean? I know that f(x) means that f is a function of x. And f(x)=y, which is the dependent variable, since it is a function of x. But I do not know what f(x,y) or f(x,y,z) means. Could someone please explain this to me in words. But as for my original question, I meant when you differentiate an expresion containig three variables, do to basically use the product rule the same way one would with two variable, and the add all of this togeter: (x'y+y'x)+(y'z+z'y)+(x'z+z'x) ? Or do you do it like this: (xyz)'=x'yz+xy'z+zyz' , as lurf has said? I am assuming the second way.
f(x) means we provide a number and get one back.
f(x,y) means we provide wto numbes and get one back
When you are differentiating a function where x appears several times like in the product rule f(x)=u(x)v(x) for example here is something that may help. First it would be much easier is all the x's but one were constants. What you can do is let all the x's but one at a time be constants and add up what you get for each.
I will write the x's I consider constant as X and the other one as x to make it more clear.
f(x)=u(x)v(x)
f'(x)=(u(x)v(x))'
=(u(x)v(X))'+(u(X)v(x))'
=u'(x)v(X)+u(X)v'(x)
=u'(x)v(x)+u(x)v'(x)
Nice if you forget the product rule due to head injury.
Also the ever popular
f(x)=x^x
f'(x)=(x^x)'
=(x^X)'+(X^x)'
=X(x^(X-1))+(x^X)log(x)
=x(x^(x-1))+(x^x)log(x)
=(x^x)(1+log(x))
 
Excellent. Thanks lurf.
 
  • #10
I think I remember seeing something about how to differentiate a product of three functions(each function is of a single variable) in my book. For p(x) = f(x)g(x)h(x), to find p'(x) I think there's a pattern that can be used: A product of n functions(of the same single variable) has a derivative with n terms, with each term being a product of n functions(of the same single variable).

So for p(x) = f(x)g(x)h(x) you get [tex]p'\left( x \right) = f'\left( x \right)g\left( x \right)h\left( x \right) + f\left( x \right)g'\left( x \right)h\left( x \right) + f\left( x \right)g\left( x \right)h'\left( x \right)[/tex]. As in, you move the prime 'across one function' for each successive term. Not entirely sure if the method works in general though.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 46 ·
2
Replies
46
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K