- #1
Dorslek
- 14
- 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.
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: