Ask Your Question

function division

asked 2013-09-28 09:10:14 +0200

bxdin gravatar image

I plotted the 2 following equations: (2x^3+2x) / (x^2+1) 2*x

p1 = plot((2*x^3+2*x) / (x^2+1), (x,-15,15), ymin=-15, ymax=15)
p2 = plot(2*x, (x,-15,15), ymin=-15, ymax=15, color='red') 
p0= p1+p2

And they both displayed the same output: I tried to do, (2x^3+2x) / (x^2+1) , but was displayed, 2*(x^3 + x)/(x^2 + 1)

How can I get 2*x to be displayed as the output?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-09-28 10:18:52 +0200

tmonteil gravatar image

Does this help ?

sage: a = (2*x^3+2*x) / (x^2+1)
sage: a.full_simplify()
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-09-28 09:10:14 +0200

Seen: 161 times

Last updated: Sep 28 '13