Regular derivative vs. partial derivative

Click For Summary

Discussion Overview

The discussion revolves around the differences between regular derivatives and partial derivatives, particularly in the context of how online calculators handle these concepts. Participants explore the implications of assuming variable dependencies and the correctness of derivative calculations.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant asserts that the derivative \(\frac{dy^2}{dx} = 2y\frac{dy}{dx}\) while \(\frac{\partial y^2}{\partial x} = 0\), questioning the correctness of online calculators that return \(\frac{dy^2}{dx} = 0\).
  • Another participant agrees with the first claim, suggesting that online calculators assume \(\frac{dy}{dx} = 0\) without clarifying the dependency of \(y\) on \(x\).
  • A different participant challenges the assumption that \(\frac{dy}{dx} = 0\) is correct, arguing that if \(y\) could be a function of \(x\), then \(\frac{dy^2}{dx}\) should yield \(2y\frac{dy}{dx}\).
  • One participant discusses the conventions of total and partial derivatives, suggesting that the assumptions about variable dependencies should be clearly stated, and that the assumption of \(\frac{dy}{dx} = 0\) is not incorrect if the user does not adjust for it.
  • Another participant expresses confusion about treating variables as dependent in partial notation and requests clarification on this point.
  • One participant reiterates that \(\frac{dy^2}{dx}\) should always return \(2y\frac{dy}{dx}\) and emphasizes that the decision to assume independence should be left to the user, not the calculator.
  • A later reply clarifies that the distinction between ordinary and partial derivatives is not the main issue; rather, it depends on whether \(y\) is assumed to be a function of \(x\) or if \(x\) and \(y\) are independent variables.

Areas of Agreement / Disagreement

Participants express differing views on the assumptions made by online calculators regarding variable dependencies. There is no consensus on the correctness of these assumptions or the implications for derivative calculations.

Contextual Notes

Participants highlight the importance of clearly stating the dependencies of variables when discussing derivatives, as well as the potential for confusion when assumptions are not explicitly defined.

DocZaius
Messages
365
Reaction score
11
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.
 
Last edited:
Physics news on Phys.org
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.
 
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.
 
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.
 
lurflurf said:
...and when partial notation is used they are independent unless otherwise stated.

I wasn't even aware that it was possible to treat variables as dependent with partial notation. Could you give the simplest example possible of partial notation being used with variables being treated as dependent?

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.

The order of operations convention isn't a very good comparison to make, since the answer the calculator returns there is either entirely correct or entirely wrong in regards to the user's intention (and that intention misplaced if he disagrees with order of operations, a very strong convention)

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. :)
 
Last edited:
DocZaius said:
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.
This has nothing to do with the distinction between "ordinary" and "partial" derivatives. If you assume that y is a function of the single variable x, then d(y^2)/dx= 2y dy/dx by the chain rule. If y is NOT a function of x, then dy/dx= 0 and so d(y^2)/dx= 0.

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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K