Questions tagged [derivative]

In calculus, a derivative is a measure of a function's rate of change as its input changes.

Loosely speaking, a derivative can be thought of as how much one quantity is changing in response to changes in some other quantity; for example, the derivative of the position of a moving object with respect to time is the object's instantaneous velocity.

The derivative of a function at a chosen input value describes the best linear approximation of the function near that input value. For a real-valued function of a single real variable, the derivative at a point equals the slope of the tangent line to the graph of the function at that point. In higher dimensions, the derivative of a function at a point is a linear transformation called the linearization.1 A closely related notion is the differential of a function.

The process of finding a derivative is called differentiation. The reverse process is called antidifferentiation. The fundamental theorem of calculus states that antidifferentiation is the same as integration. Differentiation and integration constitute the two fundamental operations in single-variable calculus.

enter image description here

845 questions
-1
votes
1 answer

How to compute the derivative of a function through the Fourier domain?

I am currently working on a project where I have to reconstruct an Image from its gradient by solving a Poisson equation, which we solve in the Fourier domain. The solution involves the product of the image's FT and that of the discrete derivation…
bathal
  • 58
  • 6
-1
votes
3 answers

What is the first minimum OR saddle point (calculus derivative) of a numpy array?

I have the following numpy array which is depicted above. Functions like print(arr.argsort()[:3]) will return the three lowest indeces of the three lowest value: [69 66 70] How do I return the first index where the first minimum or first saddle…
Ivan
  • 7,448
  • 14
  • 69
  • 134
-1
votes
1 answer

Is there a way to calculate the 2nd derivative of data without first calculating the first derivative?

I'm trying to avoid rounding error with the gradient function in MATLAB. In MATLAB, or any other code base, is it possible to directly calculate the 2nd derivative from x and y values, and avoid truncation error associated with taking the derivative…
Ben
  • 332
  • 1
  • 3
  • 13
-1
votes
2 answers

How to write the following function so that gradient can be found before putting the variable values

function [y] = sumsqu(xx) d = length(xx); sum = 0; for ii = 1:d xi = xx(ii); sum = sum + ii*xi^2; end y = sum; end Above is the code for d variables. Whenever I call the function I get the sum as expected. Now I want to find the…
TusarJit
  • 1
  • 1
-1
votes
1 answer

How to get errors from PID?

Need to add PID controller. Can you help me how to get error, integration error and derivative error from PID? I need this values to generate PID parameters by genetic alghorithm. J = 0.01; b = 0.1; K = 0.01; R = 1; L = 0.5; A = [-b/J K/J …
Masaj
  • 217
  • 3
  • 14
-1
votes
1 answer

python taking derivatives of polynomials

I want to take the derivative of polynomials for the given variable in python but i cant figure out where to start. I have tried to write recursive functions but i dont understand how to parse polynomial one by one? Should i seperate the…
-1
votes
1 answer

Equation having sqrt ,abs and the derivative on c

First, i would like to tell you that english isnt my nature language so maybe a word or meaning i am not express it right.The problem now is i recently did one exercise and the question was to use the Newton-Raphson method for sqrt.Anyway, i think…
ek.Nik
  • 185
  • 1
  • 8
-1
votes
1 answer

In Matlab Finding gradient of an image using first derivative

How can I do enhancements on an image using the first derivative. I do not want to use operators like sobel.. I want to find the gradient using the first derivative
-1
votes
2 answers

Derivative of f, such that f<-function(x){x^2} (or similar) without yacas

I need to find derivative of function defined like f<-function(x){x^2} After that I want to have a derivative function g, such that I would be able to get something like: g(5) # entered 10 # answer without Yacas or similar…
Alex Alex
  • 235
  • 2
  • 14
-1
votes
1 answer

Derivative long equation in matlab, then calculation the result

I have a example like this: I have a velocity of one element===derivative it====> the acceleration of element. The velocity is calculate from many equation, like this: syms m w k E mI c w t L…
-1
votes
3 answers

Higher Order Derivatives

I am trying to write a python program in which the user inputs the polynomial and it calculates the derivative. My current code is: print ("Derviatives: ") k5 = raw.input("Enter 5th degree + coefficent: ") k4 = raw.input("Enter 4th degree +…
-1
votes
1 answer

how to find derivative of an array of numbers

I need help in finding derivative of single array consisting on [1111222221111122222] need how to get derivative of 1, -1 and 0 from above ? iam using numpy. i need some help in logic
user3923728
  • 21
  • 1
  • 3
-1
votes
2 answers

How to calculate the differential coefficient in c

Thanks a lot people for your help so far but I made a big mistake I need the derivation of a function at a specific point! I have to calculate the first derivation of a function and I really have no clue how to get there. If I just had to calculate…
Akkyen
  • 83
  • 1
  • 6
-1
votes
1 answer

derivative and value of a polynomial having symbolic coefficients

![enter image description here][1]I have an unknown equation of a curve y = a0 + a1*x + a2*x^2 +....+ a9*x^9 where coefficients are symbolic. I want to find its derivative and its values on particular xi. xi = 0:01:10; syms a0 a1 a2 a3 a4 a5 a6…
Ankush
  • 235
  • 3
  • 14
-2
votes
3 answers

Take the derivative of a lambda function in Python

If I have a lambda function such as: f = lambda x : x**2 Which does not call any Python C extensions How can I automatically create another lambda function f1 that represents the first derivative of the original f function? f1 = lambda x :…
Cardstdani
  • 4,999
  • 3
  • 12
  • 31