Ask Your Question

Anon2's profile - activity

2014-12-11 14:26:56 +0200 received badge  Student (source)
2014-12-11 00:11:18 +0200 asked a question I want to manipulate max(x/b,a) so that I end up with an expression with max(0,ab-x)

On paper I would factor 1/b and then subtract and add x and end up with the expression I am looking for.

1/b max(x, ab)

1/b {max(0,ab-x) + x}

Is there a way to do this in sage?