Clarification of the independent variable for a partial derivative

Click For Summary
SUMMARY

The discussion clarifies the interpretation of partial derivatives in the context of a non-linear 3D function. Specifically, when calculating the partial derivative of Z with respect to X while holding Y constant, the slope obtained represents the rate of change of Z for an infinitesimal change in X. The user emphasizes that using larger increments can yield drastically different rates of change, reinforcing the necessity of considering very small changes for accurate derivative calculations. Additionally, the conversation touches on the application of these concepts in shader functions, where changes are often represented in pixel increments.

PREREQUISITES
  • Understanding of partial derivatives in multivariable calculus
  • Familiarity with non-linear functions and their graphical representations
  • Knowledge of tangent lines and their significance in calculus
  • Basic concepts of shader programming and pixel manipulation
NEXT STEPS
  • Study the concept of infinitesimals in calculus for deeper insights
  • Explore the application of partial derivatives in computer graphics and shader programming
  • Learn about the geometric interpretation of derivatives and tangent lines
  • Investigate the differences between discrete and continuous changes in mathematical functions
USEFUL FOR

Students and professionals in mathematics, computer graphics developers, and anyone interested in the practical applications of calculus in programming and graphical representations.

Dorslek
Messages
14
Reaction score
0
For some non-linear 3D function, let's say I want to take the partial derivative for x where y is constant. Each point for Z will be different of course since it's non-linear.

So let's say I plug in an X of 3 where Y is constant for some function and I get a slope of 5 as my answer. Is it correct to interpret it as:

"If I move a very small amount away from 3 on the x-axis, the Z-axis will be 5 times as large as that very small amount and thus you have your tangent line"

So the concept I'm trying to make sure I have down 100 percent is that I always interpret the change in X as a very small amount and the change in Z as the rate of change relative to this very small change correct?

I couldn't in my example use one unit away or twenty units away from 3 since the answer can be drastically different from my rate of change at 3 based on the very small amount away from 3.

This clarification was brought about not only to make sure I'm thinking about this right but also in the fact that when you use ddx/ddy in shader functions, their very small change is always one pixel to the right/up/down/left away.
 
Last edited:
Physics news on Phys.org
I'm not particularly comfortable with talking about "infinitesmals" since the logical basis needed is pretty complicated (and 1 "pixel" is not normally what you mean by "infinitesmal"). However, it is true that the line x= X+ t, y= Y, z= f(X, Y)+ f_x t and the line x= X, y= Y+ t, z= f(X, Y)+ f_yt are tangent to the surface z= f(x,y) at (X, Y, F(X, Y))
 
HallsofIvy said:
I'm not particularly comfortable with talking about "infinitesmals" since the logical basis needed is pretty complicated (and 1 "pixel" is not normally what you mean by "infinitesmal"). However, it is true that the line x= X+ t, y= Y, z= f(X, Y)+ f_x t and the line x= X, y= Y+ t, z= f(X, Y)+ f_yt are tangent to the surface z= f(x,y) at (X, Y, F(X, Y))

Edited that out. I can then assume then if no units are mentioned, such as a pixel, that a partial derivative for z in x then is always going to be a very small change in X just like when doing a regular derivative?
 

Similar threads

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