Rational Inequalities

BSS_Math shared this question 2 years ago
Answered

Does Geogebra calculate inequalities for just polynomial functions? I have noticed simple commands as x^2-2<0 will shade in or place a solution on graphics. However if you type in x/(x-1)<0, this will show up as a function. Moreover, exponential and sinusoidal functions do not work for inequalities either.

My end goal is to create a program that can take any two rational functions f(x), and g(x) and solve f(x)<g(x) etc and output the answer either visually or via text. My program currently works for f(x) and g(x) being polynomials (haven't figured out the text tho).

Comments (7)

photo
1

About a rational inequality, you can solve it in CAS view, or in Algebra View with a workaround.

See pic

photo
1

like......

Files: foro.ggb
photo
1

Or this, also

photo
1

with CAS view I get intervals of inequality, and it worked good. but i don't undertand this example -how did you construct the functions h and p?

photo
photo
1

Ah, this is a simple solution!

Thank you both!

photo
1

thank you mathmagic

is there a way to write the borders of the solution of the inequalities - in other words to make the x-values as independent numbers so we can print the solution and use them as Objects?

photo
1

do you mean f(x)==g(x)?

there is not a general method for all functions. try intersect,solutions, Nsolutions, CAS etc

they work depending of functions you wan

an example could help

when you have a set of points you can use x(setofpoints) for x coords

© 2021 International GeoGebra Institute