Properties
Category
English
Similar Topics
Statistics
Comments
15
Participants
12
Subscribers
7
Votes
12
Views
105588
Share
How do you restrict the domain in Geogebra?
Answered
Hi, Can i please get some help here. I've been trying for hours to try and find a way to restrict the domain of some functions i input. Is there an easy way to do this in geogebra?
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2021 International GeoGebra Institute
Hallo,
you tried for hours? Do you know the "Help" menu?
From ggb help menu:
Function
Function[Function, Number a, Number b]: Yields a function graph, that is equal to f on the interval [a, b] and not defined outside of [a, b].
Note: This command should be used only in order to display functions in a certain interval.
Regards Abakus
Thank you, this was exactly what i needed.
Besides Function[], there is If[].
andYou can use either one although at various times one could be superior to the other. I am still learning that part.
Tony
Hi Chucky13!
It's good to point out that the restriction given by "Function[]" doesn't work when the function is used to define others functions. From the GeoGebra 3.2 Online Help:
f(x) = Function[x^2, 1, 1] gives you the graph of function x^2 in the interval [1, 1]. If you then type in g(x) = 2 f(x) you will get the function g(x) = 2 x^2, but this function is not restricted to the interval [1, 1].
Best regards, Humberto.
Hello there;
Is this helpful for constructing piecewise functions too?
I tried to get the one sided limit of f(x)=If(x<1,x+3,x≟1,3,x>1,x^(2)4x+4) from the right at x=1, but it seems it didn't work.
Link to the corresponding worksheet is behind:
https://ggbm.at/kDT6CYzX
Maybe its outcome isn't actually a function.
I think there is a little bug, I get answer only when f has two pieces
What do you do if you want only positive xvalues?
In other programs it's very easy: f(x) = 2x, x > 0
I just found out (version 6) that the easiest way (for me) is:
f(x) := 3x, 0 < x < 10
Comments have been locked on this page!