Value of a function definition help

In summary, the limit of a function is the value of the function at a specific point in the domain of the function. If a function has a limit, the limit is always defined at that specific point. If a function does not have a limit, then the limit is undefined.
  • #1
pivoxa15
2,255
1
Is the value of a function defined as the limit as x approaches each value in the domain of f(x)?

What happens if at a specific x, you have f(x)-> 0/0? is there usually a limit for which f(x) approaches in this situation?
 
Last edited:
Physics news on Phys.org
  • #2
Q1: no

Q2: a limit of the form 0/infinity is equal to 0.
 
  • #3
What should the answer to Q1 be?

WIth Q2. I am sorry, I stated it wrongly. It should be 0/0. I have corrected it in the OP.
 
  • #4
actually 0/0 is undefined. it can take different values in different situations.

example:
suppose f(x)= x^2/x
when u take limit for x->0 it becomes 0/0 .
but when u cancel x it gives ans as 0.

suppose f(x)= x/x^2
directly taking x-> gives again 0/0 .
but after cancellation it gives ans as infinity.
 
  • #5
So f(0)=1 when f(x)=x/x so 0/0 in this case equals to 1.

but 1/0 is undefined also isn't it? what is f(x)=1/x when x=0? There isn't one particular value for 1/0 like there was for 0/0 in the first situation is there? If so why?
 
  • #6
pivoxa15 said:
So f(0)=1 when f(x)=x/x
Yes
pivoxa15 said:
so 0/0 in this case equals to 1.
No! 0/0 is undefined. Always! It's not "equal to" any number.

pivoxa15 said:
but 1/0 is undefined also isn't it?
Yes.
pivoxa15 said:
what is f(x)=1/x when x=0?
It's not defined for x =0. You just said so yourself.
pivoxa15 said:
There isn't one particular value for 1/0 like there was for 0/0 in the first situation is there? If so why?
You're talking gibberish. 1/0 doesn't have a value. In any 'situation'.
 
  • #7
cepheid said:
Yes No! 0/0 is undefined. Always! It's not "equal to" any number.

Yes. It's not defined for x =0. You just said so yourself. You're talking gibberish. 1/0 doesn't have a value. In any 'situation'.

But 0/0 can in some situations like x/x=1 where you take the limit as x->0. If you define any function with the limit as x approaches each specific point in the domain than you can define situations like x/x when x=0 couldn't you?
 
  • #8
pivoxa15 said:
Is the value of a function defined as the limit as x approaches each value in the domain of f(x)?

What happens if at a specific x, you have f(x)-> 0/0? is there usually a limit for which f(x) approaches in this situation?
Your original question doesn't make sense. If x is in the domain of a function f, then, by definition of "domain", the value of the function, f(x), is defined there. Do you mean the limit of the function? It is quite possible for a function value to be defined and the limit not exist there.
For example, f(x)= 0 if x is rational and 1 if x is irrational is defined for all real numbers but the limit does not exist anywhere.

pivoxa15 said:
So f(0)=1 when f(x)=x/x so 0/0 in this case equals to 1.
NO! If f(x)= x/x then its domain is "all real numbers except 0". f(0) is not defined. On the other hand, its limit as x goes to 0 IS defined and is 1. This is an example in which the limit is defined at a "limit point" of the domain that is not in the domain.

pivoxa15 said:
But 0/0 can in some situations like x/x=1 where you take the limit as x->0. If you define any function with the limit as x approaches each specific point in the domain than you can define situations like x/x when x=0 couldn't you?
NO again! You are confusing the limit with the value of the function. That's why your Calculus teacher is always careful to say things like
[tex]\frac{x^2- 4}{x-2}= x+ 2[/tex] as long as x is not equal to 2.

y= x+ 2 is defined for all x. Its graph is a straight line. (x2-4)/(x-2) is not defined at x= 2. Its graph is a straight line with a hole at (2, 4).
 
  • #9
HallsofIvy said:
NO again! You are confusing the limit with the value of the function. That's why your Calculus teacher is always careful to say things like
[tex]\frac{x^2- 4}{x-2}= x+ 2[/tex] as long as x is not equal to 2.

y= x+ 2 is defined for all x. Its graph is a straight line. (x2-4)/(x-2) is not defined at x= 2. Its graph is a straight line with a hole at (2, 4).

You have raised the issue that was the reason why I created this thread. Are you claiming f(x)=x/x does not equal to g(x)=1? Hence f(x) does not equal to g(x)? If so then it means g(x) is analytic everywhere in the domain of x but f(x) is not analytic everywhere? This would also mean that if you had a function g(x)=1 then it would be wrong to multiply the top and bottom by an arbitary x.
 
Last edited:
  • #10
You have raised the issue that was the reason why I created this thread. Are you claiming f(x)=x/x does not equal to g(x)=1?

f(x)=x/x = 1 = g(x) is true only when x is not equal to zero. What I (& u) calculated for other functions was the value which they approach on taking the limit. But they don't take those values actually.


Hence f(x) does not equal to g(x)? If so then it means g(x) is analytic everywhere in the domain of x but f(x) is not analytic everywhere? This would also mean that if you had a function g(x)=1 then it would be wrong to multiply the top and bottom by an arbitary x.


As long as x is not equal to zero u can divide it with any expression.
 
  • #11
pivoxa15 said:
You have raised the issue that was the reason why I created this thread. Are you claiming f(x)=x/x does not equal to g(x)=1? Hence f(x) does not equal to g(x)? If so then it means g(x) is analytic everywhere in the domain of x but f(x) is not analytic everywhere? This would also mean that if you had a function g(x)=1 then it would be wrong to multiply the top and bottom by an arbitary x.

You're being very careless. Functions are not arbitrary maps, they have DOMAINS! f(x)=x/x has natural domain (the largest one possible) of R/{0} yet g(x) has natural domain R. If two functions do not share the same domain they cannot be equal.

f(0) is undefined until you actually define it as something. For example, we can have the function f(x)=x/x when x is not zero, and 1 when x=0 with domain R. This is the same as g(x)=1 with domain R.
 
  • #12
I would suggest, until you get comfortable with this mathematically, to think of something like f(x)=x/x as a recipe, and to work out f(x) you evaluate the top, then the bottom and then divide them. You can't do that for x=0, because the function is written like that. Of course that is a contrived example.

Better is sin(x)/x. You cannot simply by plugging in numbers evaluate that at 0. Nor can you simplify it so you can now evaluate it at 0. However, the function sin(x)/x, for x=/=0, and 1 for x=0 is a prefectly defined function on all of R (and I am abusing mathematics here horribly in an attempt to explain what's written in very stupid calculus books). Of course so is sin(x)/x for x=/=0, and 0 for x=0. One is a continuous function, the other isn't.
 
  • #13
pivoxa15 said:
You have raised the issue that was the reason why I created this thread. Are you claiming f(x)=x/x does not equal to g(x)=1? Hence f(x) does not equal to g(x)? If so then it means g(x) is analytic everywhere in the domain of x but f(x) is not analytic everywhere? This would also mean that if you had a function g(x)=1 then it would be wrong to multiply the top and bottom by an arbitary x.

g(x)=1 is obviously analytic everywhere. If by "f(x)= x/x is not analytic everywhere" in the precisely correct sense: there is at least one point at which f is not analytic- that is true. f is analytic everywhere except at 0. Yes, it would be incorrect to multiply the top and bottom of a fraction by "an arbitrary x". It would be correct to multiply the top and bottom of a fraction by any number except 0!
 

What is the value of a function definition?

The value of a function definition is the capability to create a reusable block of code that can perform a specific task. It allows for more efficient and organized programming, as the same set of instructions can be used multiple times without having to rewrite the code.

Why is it important to define functions?

Defining functions is important because it helps to avoid repetition of code and makes the code more readable and manageable. It also allows for easier debugging and maintenance of the code.

What is the difference between a function definition and a function call?

A function definition is the actual code block that defines the instructions and parameters for a specific task, while a function call is the act of using that code block to perform the task. In other words, a function definition is where the function is created, and a function call is where the function is executed.

What are the components of a function definition?

A function definition typically consists of a function name, a parameter list (optional), and a code block containing the instructions to be executed. Some functions may also have a return statement to return a value.

How can function definitions be helpful in programming?

Function definitions are helpful in programming because they promote code reusability, improve code organization and readability, and make debugging and maintenance easier. They also allow for more efficient and concise coding, as the same set of instructions can be used multiple times without having to rewrite the code.

Similar threads

  • Calculus and Beyond Homework Help
Replies
20
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
858
  • Calculus and Beyond Homework Help
Replies
2
Views
608
  • Calculus and Beyond Homework Help
Replies
2
Views
808
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
167
  • Calculus and Beyond Homework Help
Replies
27
Views
606
  • Calculus and Beyond Homework Help
Replies
11
Views
688
  • Calculus and Beyond Homework Help
Replies
3
Views
163
  • Calculus and Beyond Homework Help
Replies
12
Views
697
Back
Top