left side: f(x)=

right side: g(x)=

To use, do this:
1) specify the left side
2) specify the right side
3) move point A, and compare the values 
4) all are calculated dynamically

Show Directions

show less than solutions

show greater than solutions

f(x) = 2 * sqrt(-x^(2) - 4 * x)
g(x) = -x + 2
E = Intersect(f, g, (1, 1))
inputBox1 = Textfield(f)
inputBox2 = Textfield(g)
A = Point(xAxis)
B: (x(A), 1)
a = Line(A, B)
C = Intersect(f, a, (-0.4044648645506482, 2.411860386959924))
D = Intersect(g, a, (-0.4044648645506482, 2.4044648645506483))
text1: "$ f(" + (LaTeX[x(A)]) + ")= " + (LaTeX[y(C)]) + "$"
text2: "$ g(" + (LaTeX[x(A)]) + ")=" + (LaTeX[y(D)]) + " $"
c = Segment(A, D)
d = Segment(A, C)
b = false
leftendpoint = -10
rightendpoint = 10
list1: {Roots[f(x) - g(x), leftendpoint, rightendpoint]}
e: f(x) < g(x)
h = true
i: f(x) > g(x)
j = true
testo1: "$$" + (LaTeX[i]) + "$$"
testo2: "$$" + (LaTeX[f]) + "≤" + (LaTeX[g]) + "$$"
k: (x < -4) ∨ (x > 0)
G = Intersect(g, f, (-1.9999999999999996, 3.9999999999999996))
H = Intersect(f, g, (-0.3999999999999998, 2.3999999999999995))
p(x) = sqrt(-x^(2) - 4 * x) + 0.008201922994616917
q(x) = (-x) / 2 + 1
tratto1 = AttachCopyToView(PolyLine[(-4.016580672737244, -0.01085486856678012), (-3.9983988817564393, 0.005548977422453712), (-4.004459478750041, 0.03015474640630446), (-4.016580672737244, -0.0026529455721632034), (-3.9983988817564393, -0.01085486856678012), (NaN, NaN), (-4.004459478750041, -0.019056791561397033), (-4.010520075743642, 0.005548977422453712), (NaN, NaN), (-4.004459478750041, -0.02725871455601395), (-4.028701866724448, -0.01085486856678012), true], 1, (-5.574154100092874, -0.4373548642868597), (2.704621393167009, 4.16392393569323), (-0.7358150945771758, 559.3234540941075), (1365.2641849054228, -1.6765459058925085))
tratto2 = AttachCopyToView(PolyLine[(-4.004459478750041, 0.005548977422453712), (-3.9802170907756342, 0.005548977422453712), (-3.949914105807626, 0.005548977422453712), (-3.925671717833219, 0.005548977422453712), (-3.9014293298588125, 0.005548977422453712), (-3.8771869418844056, 0.005548977422453712), (-3.852944553909999, 0.005548977422453712), (-3.828702165935592, 0.005548977422453712), (-3.8044597779611857, 0.005548977422453712), (-3.780217389986779, 0.005548977422453712), (-3.7559750020123723, 0.005548977422453712), (-3.7317326140379654, 0.005548977422453712), (-3.7135508230571608, -0.0026529455721632034), (-3.6953690320763557, -0.01085486856678012), (-3.6711266441019488, -0.01085486856678012), (-3.6468842561275423, -0.01085486856678012), (-3.616581271159534, -0.01085486856678012), (-3.592338883185127, -0.01085486856678012), (-3.5680964952107206, -0.01085486856678012), (-3.5499147042299155, -0.019056791561397033), (-3.519611719261907, -0.019056791561397033), (-3.489308734293899, -0.019056791561397033), (-3.465066346319492, -0.019056791561397033), (-3.4287027643578822, -0.01085486856678012), (-3.398399779389874, -0.0026529455721632034), (-3.3438544064474587, -0.0026529455721632034), (-3.319612018473052, -0.0026529455721632034), (-3.27718783951784, -0.0026529455721632034), (-3.2529454515434337, -0.0026529455721632034), (-3.228703063569027, -0.0026529455721632034), (-3.2044606755946203, -0.0026529455721632034), (-3.174157690626612, -0.0026529455721632034), (-3.149915302652205, -0.0026529455721632034), (-3.1135517206905954, -0.0026529455721632034), (-3.0953699297097903, -0.01085486856678012), (-3.0711275417353834, -0.01085486856678012), (-3.046885153760977, -0.01085486856678012), (-3.02264276578657, -0.01085486856678012), (-2.94991560186335, -0.01085486856678012), (-2.9074914229081386, -0.01085486856678012), (-2.8832490349337316, -0.01085486856678012), (-2.859006646959325, -0.01085486856678012), (-2.8347642589849182, -0.01085486856678012), (-2.8105218710105118, -0.01085486856678012), (-2.7802188860425034, -0.01085486856678012), (-2.7438553040808933, -0.01085486856678012), (-2.7196129161064864, -0.01085486856678012), (-2.6832493341448767, -0.0026529455721632034), (-2.5923403792408513, -0.0026529455721632034), (NaN, NaN), (-2.58627978224725, 0.005548977422453712), (-2.562037394272843, 0.005548977422453712), (-2.5377950062984365, 0.005548977422453712), (-2.507492021330428, 0.005548977422453712), (-2.471128439368818, 0.005548977422453712), (-2.434764857407208, 0.005548977422453712), (-2.4105224694328014, 0.005548977422453712), (-2.380219484464793, 0.005548977422453712), (-2.3499164994967847, 0.005548977422453712), (-2.3074923205415727, 0.005548977422453712), (-2.2832499325671662, 0.005548977422453712), (-2.2590075445927598, 0.005548977422453712), (-2.234765156618353, 0.005548977422453712), (-2.2105227686439464, 0.005548977422453712), (-2.162037992695133, 0.005548977422453712), (-2.1317350077271247, 0.005548977422453712), (-2.1074926197527177, 0.005548977422453712), (-2.0893108287719127, -0.0026529455721632034), (-2.065068440797506, -0.0026529455721632034), (-2.046886649816701, -0.01085486856678012), (-2.022644261842294, -0.01085486856678012), (NaN, NaN), (-2.010523067855091, -0.01085486856678012), (-1.9862806798806842, -0.01085486856678012), (-2.0044624708614895, -0.0026529455721632034), (NaN, NaN), (-0.3984042675570465, 0.046558592395538285), (-0.3984042675570465, 0.005548977422453712), (-0.4044648645506482, -0.019056791561397033), (-0.3984042675570465, 0.005548977422453712), (-0.3984042675570465, 0.038356669400921375), (NaN, NaN), (-0.3802224765762415, 0.013750900417070626), (-0.35598008860183483, 0.013750900417070626), (-0.3196165066402248, 0.013750900417070626), (-0.2893135216722164, 0.013750900417070626), (-0.26507113369780977, 0.013750900417070626), (-0.24082874572340307, 0.013750900417070626), (-0.21658635774899637, 0.013750900417070626), (-0.18022277578738635, 0.013750900417070626), (-0.15598038781297968, 0.013750900417070626), (-0.1256774028449713, 0.013750900417070626), (-0.10143501487056462, 0.013750900417070626), (-0.08325322388975961, 0.005548977422453712), (-0.05901083591535293, 0.005548977422453712), (NaN, NaN), (-0.05295023892175126, 0.005548977422453712), (-0.028707850947344578, 0.005548977422453712), (-0.0044654629729378925, 0.005548977422453712), (0.01977692500146879, 0.005548977422453712), (-0.010526059966539564, 0.013750900417070626), (0.00765573101426545, 0.005548977422453712), (NaN, NaN), (0.00765573101426545, 0.005548977422453712), (0.025837521995070462, -0.0026529455721632034), true], 1, (-5.574154100092874, -0.4373548642868597), (2.704621393167009, 4.16392393569323), (0, 561), (1366, 0))