Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi, you can use the assume command

x,y,u,v,p,k=var('x,y,u,v,p,k')
assume(k+1!=0)
integrate(x+y^k, y)

which calculates to

x*y + y^(k + 1)/(k + 1)