Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

That doesn't look like a linear equation, and assuming you are working with only real numbers, the domain and range of that function extends to $\infty$, and is not limited to $[-4,4]$.

It appears that Wolfram Alpha is giving you the solution of the values of $x$ when the function is positive. You can get that in Sage by using solve:

sage: solve(abs(x) - 4 > 0, x)
#0: solve_rat_ineq(ineq=abs(x)-4 > 0)
[[4 < x], [x < -4]]

That doesn't look like a linear equation, and assuming you are working with only real numbers, the domain and range of that function extends to $\infty$, and is not limited to $[-4,4]$.Whoops! Stupid answer deleted. :-/

It appears that Wolfram Alpha is giving you the solution of the values of $x$ when the function is positive. You can get that in Sage by using solve:

sage: solve(abs(x) - 4 > 0, x)
#0: solve_rat_ineq(ineq=abs(x)-4 > 0)
[[4 < x], [x < -4]]