# Determine domain and range of linear equation?

I was able to determine obtain this easily with, Wolfram Alpha: http://www.wolframalpha.com/input/?i=...

Is it possible with Sage 5.9?

Determine domain and range of linear equation?

I was able to determine obtain this easily with, Wolfram Alpha: http://www.wolframalpha.com/input/?i=...

Is it possible with Sage 5.9?

add a comment

1

Though it is not created for that purpose, you can use interval arithmetics:

```
sage: f(x) = abs(x) - 4
sage: a = RIF(-infinity,infinity) ; a
[-infinity .. +infinity]
sage: a.parent()
Real Interval Field with 53 bits of precision
sage: f(a)
[-4.0000000000000000 .. +infinity]
```

Here you get the exact result, but note that in general, you will only get an interval that contains the image of the function.

0

Whoops! Stupid answer deleted. :-/

Asked: **
2013-06-22 10:08:35 -0500
**

Seen: **985 times**

Last updated: **Jun 23 '13**

Define range of y axis, instead of just x axis?

using sage solve for more than 4 variables

Does Sage show steps to solving an equation?

How to enforce limits to the x-axis in plots?

How-to: (Linear ...) regression in Sage

Define a factor of an equation

d²y/dt² (1-2α)dy/dt (α²-α e^(-2t))y = u find the impulse response of equation

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.