Ask Your Question

abc321's profile - activity

2021-06-02 14:32:03 +0200 received badge  Famous Question (source)
2021-04-21 02:51:10 +0200 received badge  Notable Question (source)
2017-10-24 12:36:03 +0200 received badge  Popular Question (source)
2015-05-26 11:38:05 +0200 asked a question Solving system of inequalities in one variable

I am probably missing something about how to use sage:

If I run this:

x = var('x')
a = var('a')
solve([a*x>0,a>0],[x])

I get this results:

[[0 < x, a > 0], [x < 0, -a > 0, a > 0]]

However, I would expect something like:

[0 < x, a > 0]

What am I missing?

Thanks

2015-05-26 11:37:22 +0200 asked a question Solve a system of inequalities in one variable

I am probably missing something about how to use sage:

If I run this:

x = var('x')
a = var('a')
solve([a*x>0,a>0],[x])

I get this results:

[[0 < x, a > 0], [x < 0, -a > 0, a > 0]]

However, I would expect something like:

[0 < x, a > 0]

What am I missing?

Thanks