| Thread Closed |
regular derivative vs. partial derivative |
Share Thread | Thread Tools |
| Dec7-08, 10:45 PM | #1 |
|
|
regular derivative vs. partial derivative
Through my learning of calculus, I have come under the impression that there is an important difference between the derivative of a variable with respect to another, and the partial derivative of a variable with respect to another. For example:
I think that [tex]\frac{dy^2}{dx} = 2y\frac{dy}{dx}[/tex] and that [tex]\frac{\partial y^2}{\partial x} = 0[/tex] Is that correct? And if it is, then why do practically all online derivative calculator say that: [tex]\frac{dy^2}{dx} = 0[/tex]? Note: They actually use the regular derivative symbols, not the partial derivative symbols. If they did the latter, they would be correct. |
| Dec7-08, 11:01 PM | #2 |
|
|
You are correct.
The answer to the second question is, because they assume dy/dx = 0. In Mathematica for example, you'd have to write y[x] instead of just y to tell Mathematica that y is a function of x and you should get the result you expect. |
| Dec7-08, 11:16 PM | #3 |
|
|
But isn't that dy/dx = 0 assumption incorrect? If we don't know whether y is a function of x or not, should we not take precautions in case it is, and come up with 2y*dy/dx ?
If y isn't a function of x, that still comes out to 0. But if y is a function of x, then 2y*dy/dx is correct and 0 is wrong! Very troubling assumptions by those online calculators. |
| Dec8-08, 01:50 AM | #4 |
|
Recognitions:
|
regular derivative vs. partial derivative
From a particular point of view total derivative and partial derivatives are the same. The dependencies of the variables and the nature of derivatives should be clearly stated, but it is often they are not. One may make the convention that when the total notation is used, variables are dependent unless otherwise stated; and when partial notation is used they are independent unless otherwise stated.
The dy/dx = 0 assumption is not incorrect. The user that does not adust for it is incorrect. If a calculator given 3*4+3 returns 15 but the user intended 3*(4+3) which returns 21 the user was in error. |
| Dec8-08, 06:51 AM | #5 |
|
|
My proposition is that dy^2/dx simply return 2y*dy/dx which is always correct! Whether one wishes to make an assumption (and it is an assumption) that y is independent of x, should be one's own decision to make, not the calculator's. I would have also made the point that we actually have the notation and convention for deriving a variable independently with relation to another, and that that is the partial derivative. And that as a result, and because of the fact that y's independence of x in regular derivatives is rightly in question, the regular derivative calculation should at the very least give the safe, always correct answer. However, you seem to imply that partial derivatives can treat variables dependently. If that's possible, I take this part back. :) |
| Dec8-08, 09:06 AM | #6 |
|
|
If you assume that y is a function of x (and some other variables), then [itex]\partial (y^2)/\partial x= 2y \partial y/\partial x[/itex]. But if you assume that f(x,y)= y2 where x and y are independent variables, then [itex]\partial y/\partial x= 0[/itex] and so [itex]\partial (y^2)/\partial x= 0[/itex] just as with the ordinary derivative. Again, it is not a distinction between "ordinary" and "partial" derivatives, it is a matter of whether you are assuming y is a function of x or assuming that x and y are independent variables. |
| Thread Closed |
| Thread Tools | |
Similar Threads for: regular derivative vs. partial derivative
|
||||
| Thread | Forum | Replies | ||
| Partial derivative of an ordinary derivative? | Differential Equations | 3 | ||
| Partial derivative | Calculus & Beyond Homework | 2 | ||
| converting partial derivative w.r.t. T to partial derivative w.r.t. 1/T | Calculus & Beyond Homework | 2 | ||
| replacing total derivative with partial derivative in Griffiths' book | Advanced Physics Homework | 3 | ||
| Total derivative -> partial derivative | Differential Equations | 6 | ||