Difference between these functions .

In summary, the difference between f(x)=3 and f(x)=3x^0 is that the latter requires a separate definition for f(0) and may or may not be continuous at x=0 depending on the definition chosen. There is no consensus among mathematicians on the value of 0^0, with some arguing for 1 and others for it being undefined. However, there are various interesting and logical justifications for each possibility. Computer languages are able to handle this ambiguity by determining the type of the exponent, but there is no clear way to formalize this in mathematical context.
  • #1
Nader AbdlGhani
38
2
What's the difference between [tex]f(x)=3[/tex] and [tex]f(x)=3x^0[/tex] ? and why Limit of the second function when [tex]x\rightarrow0[/tex] exists ? and is the second function continuous at [tex]x=0[/tex] ?
 
Mathematics news on Phys.org
  • #2
You can't present a function by just giving a rule, like you do. You need to give the domain and the codomain too. So what are they?

Also, what is your convention for ##0^0##? Yes, mathematicians disagree on what it should be.
 
  • #3
Assuming R->R:
00 does not have a single common definition, so f(0) needs a separate definition in the second case. If you define f(0)=3, then both functions are identical, and the second function is continuous, otherwise it is not.
 
  • #6
micromass said:
I disagree very much with the mathematician's explanation. They're like saying that ##0^0 = 1## is a consensus among mathematicians, it's not.
Maybe it's not. But I also think it's natural, simply for the reason that taking something to a power is something multiplicative. And therefore it makes sense to define it as the unit 1.
 
  • #7
fresh_42 said:
Maybe it's not. But I also think it's natural, simply for the reason that taking something to a power is something multiplicative. And therefore it makes sense to define it as the unit 1.

Sure, there are plenty of reasons why it should be ##1##. The best are set theoretic and category theoretic. But there is no consensus.
 
  • #8
micromass said:
Sure, there are plenty of reasons why it should be ##1##. The best are set theoretic and category theoretic. But there is no consensus.

At least its a very binary decision and mathematicians can wear the shirt:

"There are 10 different answers to the equation y = 0^0"
 
  • #9
jedishrfu said:
At least its a very binary decision and mathematicians can wear the shirt:
Binary? What about defining 00 as the limit $$\lim_{x \to 0} x^{1/\log(x)} = e$$? You can also get every other number of course.
 
  • Like
Likes jedishrfu
  • #10
Yes, the function ##y^x## has an essential singularity around ##(0,0)##.
 
  • #11
mfb said:
Binary? What about defining 00 as the limit $$\lim_{x \to 0} x^{1/\log(x)} = e$$? You can also get every other number of course.

It all reduces to 1's and 0's somehow. :-)

That's a good example, I didn't see it before. It appears then that there's a whole class of possibilities too with other variations.
 
  • #12
The vast, boring, senseless, stupid, Sisyphus-like, unprofitable and endless job to rewrite formerly beautiful and nice formulas like, e.g.
$$\exp(x) = \sum_{n = 0}^{\infty} \frac{x^n}{n!}$$
is justification enough for the choice of ##1##.
 
  • #13
fresh_42 said:
The vast, boring, senseless, stupid, Sisyphus-like, unprofitable and endless job to rewrite formerly beautiful and nice formulas like, e.g.
$$\exp(x) = \sum_{n = 0}^{\infty} \frac{x^n}{n!}$$
is justification enough for the choice of ##1##.

The thing is though that ##0^0 = 1## in this case only when the exponent is already seen as an integer. If the exponent is seen as a real number then it's better to leave ##0^0## undefined. So we have this weird context-dependent rule: ##y^x = 1## if ##x## is an integer and undefined when it can take on a continuous range of variables. Such a definition would be the most interesting one, but have no idea how to formalize that in a neat way. Maybe some kind of typed logic or something.
 
  • #14
Computer languanges can deal with this very well if you take as input ##0^0##. Then it would find the type of the exponent. If the exponent is an INT, then it's ##1##, if it's a double then it's undefined. But how to do this in mathematical context?
 

What is the difference between a function and a method?

A function is a block of code that performs a specific task and can be called from anywhere in a program. A method is a function that is specific to an object or data type and can only be called on that object or data type.

What are the similarities between a function and a subroutine?

Both a function and a subroutine are blocks of code that can be called from other parts of a program. They both can accept input parameters and return an output result.

What is the difference between a built-in function and a user-defined function?

A built-in function is a function that is already defined and included in a programming language, while a user-defined function is created by the programmer to perform a specific task.

What is the difference between a function and a procedure?

A function returns a value as a result of its execution, while a procedure does not return a value. Procedures are typically used for tasks that do not require a return value, such as printing or displaying information.

What is the difference between a function and a lambda expression?

A function is a named block of code that can be called from anywhere in a program, while a lambda expression is an anonymous function that can be used as a parameter or assigned to a variable. Lambda expressions are typically used for simpler, one-time tasks.

Similar threads

Replies
3
Views
214
Replies
15
Views
2K
  • General Math
Replies
4
Views
761
Replies
4
Views
408
  • General Math
Replies
13
Views
2K
Replies
17
Views
2K
  • General Math
Replies
11
Views
1K
  • General Math
Replies
2
Views
722
  • General Math
Replies
7
Views
770
Back
Top