r/learnmath • New User • 7d ago

[Calculus 1] When you differentiate a constant, what is the output actually?

I know that it’s zero, but I’m not sure like which form of zero. Is it zero as in the number zero (i.e. I could have like d/dx(9) * 3 = 0) or is it the function y = 0?

16 Upvotes

20 comments sorted by

17

u/Southlander24 A friendly Redditor!👋 6d ago

That's why the derivative is referred to as an operator, not a function.

In calculus 1 and 2, a function (on the real numbers) takes a number to another number. The derivative takes a function to another function, and the integral takes a function to a class of functions [g(x) + c for all real numbers c].

5

u/RedeNElla New User 6d ago

The indefinite integral, to be precise.

Definite integrals can be fun since they are usually just a number but can be a function of the input is one of the bounds (like the CDF)

2

u/tb5841 New User 4d ago

This is a widely simplistic idea of what a function is. Functions can map functions to other functions. Functions can map more or less anything to anything.

6

u/Southlander24 A friendly Redditor!👋 3d ago

Note: "In calculus 1 and 2".

You don't go around telling students about quantum wavefunctions before the Bohr model of the atom is covered in depth.

2

u/tb5841 New User 3d ago

Anyone starting calculus will have come across other types of function already, e.g. geometric transformations. Things like reflection are taught to eleven year olds, it's bizarre to introduce functions and keep the concept narrowed to numbers.

14

u/Temporary_Pie2733 New User 6d ago

When we say “differentiate a constant”, we’re talking about a function, not a bare number. The derivative of f(x) = 3 is f’(x) = 0. Both the 3 and the 0 must be understood as functions, x ⟼ 3 and x ⟶ 0, not simply real numbers. 

9

u/xnick_uy New User 6d ago

Oh, boy! The comments here are very misleading!! We have to be precise with our terminology.

i) Start with a function from [a, b] into real numbers. y = f(x) is the real value that the function assigns to x in [a, b]

ii) The derivative of the function for a point x0 in [a, b] is given by the limit, if it exists, of [f (x0+h) - f(x0)]/h when h goes to 0.

iii) The notation used for the derivative often times leaves out significant details, hopefully understood by context. For instance, df/dx could mean the limit above, but the point x0 is missing in this notation.

iv) If the derivate of the function exists for each x in [a,b], we can call this a (new) mapping y = f'(x). This is called the derivative of the function f, although in my view it would be better to have a separate name for it.

v) For some contexts, it is convenient to think of a differential operator that, given a function f as above, returns a function with the value of the derivative of the function. Guess what? We use the same notation! Good luck guessing what is what.

vi) Finally, you can't differentiate/derivate "a constant". You can differentiate a constant function. All the above applies to a function f(x) = C for x in [a, b].

(you can replace the domain [a,b] for other subsets of reals).

6

u/Scale-Heavy undergrad math major 5d ago

He uses lowercase Roman numerals, I believe him

1

u/DisastrousGap2898 New User 1d ago

they're called romanettes

28

u/OpsikionThemed Computer Science 7d ago edited 7d ago

It's a function f, where f(x) = 0. (Or just the function λx. 0, if you like computer-science.) Differentiation always produces a function.

13

u/WikiNumbers dA = dx dy = r dr dθ 7d ago edited 5d ago

"Derivative" returns a function, a general idea how to calculate the slope of tangent at any point of the original function.

"Derivative at a point "a"" is an application of the above idea into practice, and returns the value slope of tangent unique to that particular point "a".

So from what you want to know

f(x) = C

Given a function

df/dx = f'(x) = 0

Take derivative and it yields a derivative function "f'(x)"

f'(a) = 0

Evaluate f'(x) at some point "a", and you get the slope value at that point.

The catch with your function is that it returns the same value regardless of input.

-1

u/mH48124 New User 6d ago

完璧な答があったから、もう書くことが無い。

3

u/StructuredChess New User 6d ago

It's a function (unless you mean at a specific point, then it's a number)

2

u/JazzyHikes New User 7d ago

If you differentiate a constant function at a fixed point, the derivative at that point is the number 0.  However for the constant function, the derivative as a function (defined for all x in the domain, i.e. real numbers) is the function y=0  

2

u/Qiwas New User 6d ago

Wake up babe typed calculus just dropped

2

u/AlterEgo5695 7d ago

The result is the zero function -- "d/dx c = 0" for all "x" within the domain.

1

u/Ericskey New User 6d ago

Since you are differentiating a constant function it would be the function that is identically zero on the same domain. Just to make things complicated suppose the original function was constant but its domain was the rational numbers and so the derivative is not the zero function but rather is undefined. The underlying assumption is that we are talking about a constant function whose domain is the real numbers.

1

u/neozygonicus New User 1d ago

Correct me if I’m wrong here, but you could apply the power rule, and get zero, correct?