The Indefinite Integral of Zero

In summary: The indefinite integral represents a set of functions that differ by a constant, so you should not treat it as a single function.
  • #1
PFuser1232
479
20
Argument A

##∫ 0 dx = 0x + C = C##

Argument B

##∫ 0 dx = ∫ (0)(1) dx = 0 ∫ 1 dx = 0(x+C) = 0##

Discuss.
 
Physics news on Phys.org
  • #2
The "Discuss" part makes me think this is a homework problem.
 
  • #3
Mark44 said:
The "Discuss" part makes me think this is a homework problem.

It's not, I just wanted to know which argument is right and why.
 
  • #4
Argument B is silly, as it factors 0 into 0 times 1, and then moves the 0 outside the integral.
 
  • #5
Mark44 said:
Argument B is silly, as it factors 0 into 0 times 1, and then moves the 0 outside the integral.

What about the rule ##∫a f(x) dx = a ∫ f(x) dx##?
 
  • #6
The indefinite integral does not calculate a function. It calculates an equivalence class of function. All constant functions are in the same equivalence class.

Further, ##\int 0 \, dx## being constant is wrong. If for example the domain is ##\mathbb{R}\setminus\{0\}## then you would have two constants, not necessarily equal.
 
  • #7
MohammedRady97 said:
Argument A

##∫ 0 dx = 0x + C = C##
There's no need to write 0x in the above.
##\int 0 dx = C##
MohammedRady97 said:
Argument B

##∫ 0 dx = ∫ (0)(1) dx = 0 ∫ 1 dx = 0(x+C) = 0##
##\int 0 dx = 0\int dx = 0x + C = C##
You don't get rid of the arbitrary constant as you showed above.

Since d/dx(C) = 0, then any antiderivative of 0 is C, for some arbitrary constant.
MohammedRady97 said:
Discuss.
 
  • #8
pwsnafu said:
Further, ##\int 0 \, dx## being constant is wrong. If for example the domain is ##\mathbb{R}\setminus\{0\}## then you would have two constants, not necessarily equal.
Can you elaborate on this? I'm not following you. How does the domain enter into this problem, given that we're working with indefinite integrals?
 
  • #9
MohammedRady97 said:
Argument A

##∫ 0 dx = 0x + C = C##

Argument B

##∫ 0 dx = ∫ (0)(1) dx = 0 ∫ 1 dx = 0(x+C) = 0##

Discuss.

For what it's worth, I think this is an interesting question. What do you think? A or B?

Hint: one answer is clearly wrong, but it's not so easy to explain exactly why.
 
  • #10
Mark44 said:
Can you elaborate on this? I'm not following you. How does the domain enter into this problem, given that we're working with indefinite integrals?

This is not easy to see when you have ##f(x) = 0##, so the example I give my students is
##f : \mathbb{R}\setminus\{0\} \rightarrow \mathbb{R}## where ##f(x) = -x^{-2}## and
##g: (0, \infty) \rightarrow \mathbb{R}## where ##g(x) = -x^{-2}##.
Then the function
##h(x) = x^{-1} + 1## for ##x > 0## and ##h(x) = x^{-1} - 1## for ##x < 0## is an antiderivative of f. But it isn't expressible as ##F(x) + C## where C is an "arbitrary constant". The "constant" changes as you pass over the "hole". On the other hand, h isn't an antiderivative of g (because the domains don't match), but the restriction of h to ##(0,\infty)## is an antiderivative of g and expressible in the form ##G(x) + C##.

The difference lies in the number of connected components of the domain. The former has two so there are two constants of integration, one for x<0 and another for x>0. The latter only has one connected component, and there is one constant of integration. In general ##\int f(x) \, dx = F(x) + H(x)## where ##F' = f## and ##H## is constant on individual connected components of the domain of f.*

Writing ##f(x) = 0## is ambiguous. It most likely has domain of all of reals. But it could be any subset of R. OP did not specifiy the domain, hence he cannot make the conclusion that the constant of integration is indeed a constant value always.

*Edit: I'm ignoring functions like Cantor's functions here.
 
Last edited:
  • Like
Likes dextercioby
  • #11
pwsnafu said:
The indefinite integral does not calculate a function. It calculates an equivalence class of function. All constant functions are in the same equivalence class.

Further, ##\int 0 \, dx## being constant is wrong. If for example the domain is ##\mathbb{R}\setminus\{0\}## then you would have two constants, not necessarily equal.

So the indefinite integral is basically a set of functions?
A set of antiderivatives, more specifically.
 
Last edited:
  • #12
PeroK said:
For what it's worth, I think this is an interesting question. What do you think? A or B?

Hint: one answer is clearly wrong, but it's not so easy to explain exactly why.

My gut tells me it's A.
 
  • #13
MohammedRady97 said:
My gut tells me it's A.

Your head should tell you that as well. In general, you have to be careful with the constant of integration. It's an informal way of specifying an equivalence class of functions (as pointed out above). So, that's where the multiplication by 0 breaks down. If you do things more formally, you still have an equivalence class after multiplication by 0 - so you don't get rid of the constant of integration.

And, yes, an indefinite integral is actually a set of functions.
 
  • #14
PeroK said:
Your head should tell you that as well. In general, you have to be careful with the constant of integration. It's an informal way of specifying an equivalence class of functions (as pointed out above). So, that's where the multiplication by 0 breaks down. If you do things more formally, you still have an equivalence class after multiplication by 0 - so you don't get rid of the constant of integration.

And, yes, an indefinite integral is actually a set of functions.

And how exactly do I do things more formally?
Does ##∫a f(x) dx = a ∫ f(x) dx## only apply for nonzero a?
 
  • #15
MohammedRady97 said:
And how exactly do I do things more formally?
Does ##∫a f(x) dx = a ∫ f(x) dx## only apply for nonzero a?
No. You work with equivalence classes of functions, not with a constant of integration.

An analogy would be ##0 \cdot x(mod \ n) = 0 (mod \ n) ≠ 0##
 
  • #16
PeroK said:
No. You work with equivalence classes of functions, not with a constant of integration.

An analogy would be ##0 \cdot x(mod \ n) = 0 (mod \ n) ≠ 0##

So what you're saying is I should treat the indefinite integral as a set of functions ## {F(x) + C | C ∈ ℝ} ##, but not as a single function?
 
  • #17
MohammedRady97 said:
So what you're saying is I should treat the indefinite integral as a set of functions ## {F(x) + C | C ∈ ℝ} ##, but not as a single function?
Yes.

If a function f has two distinct antiderivatives F1 and F2 (IOW F1] = f and F2] = f) then F1(x) - F2(x) ≡ C.

An example in the same vein is this:
$$\int sin(x)cos(x)dx$$
One student uses substitution to evaluate this integral, using u = sin(x), so du = cos(x)dx.
Then integral becomes ##\int udu = (1/2)u^2 = (1/2)sin^2(x)##.

Another student also uses substitution, but with u = cos(x), du = -sin(x)dx
With this substitution, the integral becomes ##-\int udu = -(1/2)u^2 = -(1/2)cos^2(x)##.

(Notice that both students omitted the constant of integration.)

Here we have two distinct antiderivatives for the same integrand. As it turns out, the two antiderivatives differ by a constant: (1/2)sin2(x) = -(1/2)cos2(x) + 1/2, independent of the value of x.
 
  • Like
Likes panzerlol
  • #18
MohammedRady97 said:
What about the rule ##∫a f(x) dx = a ∫ f(x) dx##?

As PeroK mentioned, such rules are not about symbols representing unique functions. The symbol [itex] \int f(x) [/itex] does not represent a unique function. Such rules don't work if you interpret the anti-derivative symbol to be a unique function.

For example If suppose we say that [itex] \int x dx [/itex] represents unique function [itex] x^2/2 + 1 [/itex].
and the rule you quoted says [itex] \int 2x [/itex] is the unique function [itex] 2( x^2/2 + 1) = x^2 + 2[/itex]. This would contradict any calculation that said [itex] \int 2 x = x^2 [/itex] or [itex] \int 2 x = x^2 + 5 [/itex] etc.
 
  • #19
For indefinite integrals, the arbitrary added constant is just there. All you are doing in B is omitting it.
 
  • #20
Mark44 said:
Yes.

If a function f has two distinct antiderivatives F1 and F2 (IOW F1] = f and F2] = f) then F1(x) - F2(x) ≡ C.

An example in the same vein is this:
$$\int sin(x)cos(x)dx$$
One student uses substitution to evaluate this integral, using u = sin(x), so du = cos(x)dx.
Then integral becomes ##\int udu = (1/2)u^2 = (1/2)sin^2(x)##.

Another student also uses substitution, but with u = cos(x), du = -sin(x)dx
With this substitution, the integral becomes ##-\int udu = -(1/2)u^2 = -(1/2)cos^2(x)##.

(Notice that both students omitted the constant of integration.)

Here we have two distinct antiderivatives for the same integrand. As it turns out, the two antiderivatives differ by a constant: (1/2)sin2(x) = -(1/2)cos2(x) + 1/2, independent of the value of x.

I have always tackled such problems by using two different constants of integration for the two antiderivatives, then relating them according to the two results.
 
  • #21
Stephen Tashi said:
As PeroK mentioned, such rules are not about symbols representing unique functions. The symbol [itex] \int f(x) [/itex] does not represent a unique function. Such rules don't work if you interpret the anti-derivative symbol to be a unique function.

For example If suppose we say that [itex] \int x dx [/itex] represents unique function [itex] x^2/2 + 1 [/itex].
and the rule you quoted says [itex] \int 2x [/itex] is the unique function [itex] 2( x^2/2 + 1) = x^2 + 2[/itex]. This would contradict any calculation that said [itex] \int 2 x = x^2 [/itex] or [itex] \int 2 x = x^2 + 5 [/itex] etc.

So technically, if we're doing a rigorous treatment of indefinite integrals, would the statement ##∫ 1/x dx = ln|x| + C## (for example) be wrong because it would imply that the indefinite integral is a single unique function? Should we draw a line between the often interchangeable terms "Indefinite Integral" and "Antiderivative" by expressing Indefinite Integrals as sets of all possible Antiderivatives? Or are they synonyms?
 
Last edited:
  • #22
MohammedRady97 said:
it would imply that the indefinite integral is a single unique function?
It doesn't specify a unique function unless you interpret [itex] C [/itex] as symbolizing a unique number.

Should we draw a line between the often interchangeable terms "Indefinite Integral" and "Antiderivative" by expressing Indefinite Integrals as sets of all possible Antiderivatives? Or are they synonyms?
There are areas of mathematics where terminology is imprecise. I think most peopl treat "indefinite integral" as a synonym for "antiderivative". Many people say "the" indefinite integral or "the" antiderivative even though they know the functions are only unique "up to a constant". If we want to study the symbolic calculations of calculus in a rigorous way as a manipulation of strings (the way a symbolic algebra computer program woud do them) then we'd have to use more precise terminology. As I recall, a mathematician named Ritt did such work. We can investigate what terminology he used.
 
  • #23
I just skimmed through the answers and didn't see a comment like this. I'm sorry if I missed it and am just repeating what someone else said.

You can safely think of an antiderivative as exactly what the name says: the inverse of a derivative.

d/dx 5 = 0.

So, the antiderivative of 0 dx has to be the same shape as 5, namely, a constant.

Edit:

MohammedRady97 said:
So what you're saying is I should treat the indefinite integral as a set of functions ## {F(x) + C | C ∈ ℝ} ##, but not as a single function?

I don't think there is any reason to restrict C to the reals. C could just as easily be 5+3i, because d/dx (5+3i)=0
 
Last edited:
  • #24
Nick O said:
You can safely think of an antiderivative as exactly what the name says: the inverse of a derivative.

d/dx 5 = 0.

So, the antiderivative of 0 dx has to be the same shape as 5, namely, a constant.

The derivative is not injective. It does not have an inverse. It has a right inverses.

I don't think there is any reason to restrict C to the reals. C could just as easily be 5+3i, because d/dx (5+3i)=0

You restrict to the co-domain of the function you are integrating. If the OP chose R, you restrict the constant to R.
 
  • #25
pwsnafu said:
The derivative is not injective. It does not have an inverse. It has a right inverses.
You restrict to the co-domain of the function you are integrating. If the OP chose R, you restrict the constant to R.

Agreed.
But I am not questioning the validity of the fact that an antiderivative of 0 is just a constant, I was questioning the validity of the constant multiple rule for indefinite integrals.
 
  • #26
Stephen Tashi said:
It doesn't specify a unique function unless you interpret [itex] C [/itex] as symbolizing a unique number.

There are areas of mathematics where terminology is imprecise. I think most peopl treat "indefinite integral" as a synonym for "antiderivative". Many people say "the" indefinite integral or "the" antiderivative even though they know the functions are only unique "up to a constant". If we want to study the symbolic calculations of calculus in a rigorous way as a manipulation of strings (the way a symbolic algebra computer program woud do them) then we'd have to use more precise terminology. As I recall, a mathematician named Ritt did such work. We can investigate what terminology he used.

So should I interpret the indefinite integral of a function as a "set", or as a function with a "variable constant of integration"?
 
  • #27
MohammedRady97 said:
So should I interpret the indefinite integral of a function as a "set", or as a function with a "variable constant of integration"?
?
 
  • #28
MohammedRady97 said:
So should I interpret the indefinite integral of a function as a "set", or as a function with a "variable constant of integration"?

What distinction are you making between a "set" and "a function with a variable constant of integration"? From an abstract point of view a an expression for a function with a "variable constant" defines a set of functions.

How you should think about the symbols in the rules of integration depends on your purposes. If you are trying to develop computer programs (like Mathematica) to do symbolic calculations then you may have to get into very technical jargon. Is that what you are trying to do?
 
  • #29
Stephen Tashi said:
As PeroK mentioned, such rules are not about symbols representing unique functions. The symbol [itex] \int f(x) [/itex] does not represent a unique function. Such rules don't work if you interpret the anti-derivative symbol to be a unique function.

For example If suppose we say that [itex] \int x dx [/itex] represents unique function [itex] x^2/2 + 1 [/itex].
and the rule you quoted says [itex] \int 2x [/itex] is the unique function [itex] 2( x^2/2 + 1) = x^2 + 2[/itex]. This would contradict any calculation that said [itex] \int 2 x = x^2 [/itex] or [itex] \int 2 x = x^2 + 5 [/itex] etc.

Well, I could say ##\int x dx = \frac{x^2}{2} + C## where ##C## can take on any value. We can then find ##\int 2x dx## as follows:
##\int 2x dx = 2\int x dx = 2[\frac{x^2}{2} + C] = x^2 + 2C##
Now, ##2C## is a constant just as well as ##C##; we might as well call them ##C_1## and ##C_2##, doesn't matter. What matters is they're both "constants" of integration (and yes, they can take on many values). There's no problem with this example. 2 is not a problem, 0 is. The product of 0 and anything is 0, how can we then still keep the constant C (or variable) without violating this rule?
 
  • #30
As has been mentioned, ##\int f## is not a single function but an equivalence class of functions. To make this explicit, I'll denote this set as ##[\int f]##. If a function F is an element of ##[\int f]##, we mean that ##F' = f##.

When we say that ##\int cf = c \int f##, we mean that the set ##[\int cf]## and the set ##c[\int f]## are equal. The first set is easy enough to understand: if F is in the set ##[\int cf]##, then ##F'(x) = (cf)(x)## for all x. But what does ##c[\int f]##, a scalar multiplying a set, mean? Your example posits if ##F \in c[\int f]##, then ##F = c\cdot G## where ##G## is some element of ##[\int f]##. It follows then that ##c=0## implies ##F=0##. This leads to the contradiction you noted, so it's not the right interpretation if we want the notation to make sense. If instead we say that if F is an element of ##c[\int f]##, we mean that ##F'(x) = c\cdot f(x)## for all x, there's no problem. If ##c=0##, we have ##F' = 0##, which implies F is constant. Moreover, since ##(cf)(x) = c\cdot f(x)##, it's clear the two sets are equal for any value of c.

If you're familiar with solving differential equations, you can look at it this way as well: Differentiating ##F = \int cf## or ##F = c \int f## yields the same differential equation F' = cf. The general solution to this differential equation consists of a homogeneous part, which is the solution to F'=0, plus a particular solution Fp where F'p = cf. If ##c=0##, you lose the particular solution, but you're still left with the homogeneous solution, which is the constant of integration. In other words, the constant ##c## doesn't affect the constant of integration.
 
  • Like
Likes PFuser1232 and dextercioby
  • #31
The antideriviative of 0 is not 0x, isn't it ?
If you differentiate 1 its 0, so if you reverse that process solution a has to be 1+C and not C for its own.
And for Argument b you would destroy the original sense of C, being a constant that you add because its been removed in the process of differentiation ?
so the Argument b would be something like 0*x+C = 0+C = C
And since in Argument a, there is a constant 1 that you add to C, you could remove the 1 as well since it is included inside C ?
That would be my point of view as an 12 grader...
 
  • #32
the indefinite C after integration usually has to be found from
some equation in accordance with some boundary condition, constraint, or
other condition. It can often be found to be zero that way. You might be
confusing multiplication and addition between your two paragraphs.
 
  • #33
I am not quite at the education level to give a rigorous answer based on Riemann integrals. But I do see that case B is invalid because you are not using linearity to pull a constant out of the integral. In this case 0 is not being treated as a constant but as a function. I'm sure we agree you can't pull the function that is being integrated over out of the integral.

Another viewpoint that might explain why the indefinite integral of 0 = C is that you can think of the output of an indefinite integral as sum of the rates of change of an unknown family of functions,which in this case is all of the constant valued functions that all differ by a constant:). A definite integral is the difference in that function evaluated at two points which in turn is the difference in total rates of change. Where C(b) -C(a) =C-C= 0 .Technically the constant of integration is always there we just omit it in the definite case because it is subtracted out.

Thinking in terms of functions being defined by sums of their rates of change (derivatives or total differentials) as opposed to the traditional Riemann picture and area underneath curves helped me to understand what is happening a little better.And it gives better intuition of why Taylor series work.The function must be analytic though:)

Sorry for a long winded post and I apologize also for not using Latec I will get there though.
 
Last edited:
  • #34
Tim77 said:
I am not quite at the education level to give a rigorous answer based on Riemann integrals. But I do see that case B is invalid because you are not using linearity to pull a constant out of the integral. In this case 0 is not being treated as a constant but as a function. I'm sure we agree you can't pull the function that is being integrated over out of the integral.
I, for one, don't agree! If the function is a constant function, f(x)= a, where a is fixed number, then [tex]\int a dx= a \int dx= ax+ C

Another viewpoint that might explain why the indefinite integral of 0 = C is that you can think of the output of an indefinite integral as sum of the rates of change of an unknown family of functions,which in this case is all of the constant valued functions that all differ by a constant:). A definite integral is the difference in that function evaluated at two points which in turn is the difference in total rates of change. Where C(b) -C(a) =C-C= 0 .Technically the constant of integration is always there we just omit it in the definite case because it is subtracted out.

Thinking in terms of functions being defined by sums of their rates of change (derivatives or total differentials) as opposed to the traditional Riemann picture and area underneath curves helped me to understand what is happening a little better.And it gives better intuition of why Taylor series work.The function must be analytic though:)

Sorry for a long winded post and I apologize also for not using Latec I will get there though.
 
  • #35
HallsofIvy said:
I, for one, don't agree! If the function is a constant function, f(x)= a, where a is fixed number, then [tex]\int a dx= a \int dx= ax+ C

In this case using the wrong procedure leads to the correct answer but you technically can't pull the function out of the integral.You could pull the constant 1 out though. Your example only works in this case because the function is constant and not equal to zero.In general though pulling the object treated as the function out leads to false answers.
Int(e^x) =e^xInt(1) = xe^x+Ce^x??
Int(x)=xInt(1)= x^2+Cx ??

The form f(x)dx is required for integration to have meaning you can't separate it even if f(x)= a and especially if f(x)=0
 

Similar threads

  • Calculus
Replies
4
Views
2K
Replies
2
Views
958
  • Calculus
Replies
3
Views
2K
Replies
1
Views
963
Replies
16
Views
1K
Replies
4
Views
390
Replies
20
Views
2K
Replies
2
Views
314
Replies
31
Views
956
Back
Top