Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to simplify complicated expressions

Hello,

This complicated expression would be a zero function, but I can't achive to simplify it. I think I've run into lots of expressions like this one, but I've never come up with a solution.

var('R d',domain='positive') var('p',domain='real') var('t',domain='real',latex_name="\theta")

f=(Rcos(t) - d)p/(-2Rdcos(t) + R^2 + d^2)^(3/2) + (Rcos(t) -R^2/d)R^3p/((-2R^3cos(t)/d + R^2 + R^4/d^2)^(3/2)d^3) +Rp/(sqrt(-2R^3cos(t)/d + R^2 + R^4/d^2)*d^2)

How to simplify complicated expressions

Hello,

This complicated expression would be a zero function, but I can't achive to simplify it. I think I've run into lots of expressions like this one, but I've never come up with a solution.

This is mi code:

var('R d',domain='positive')
var('p',domain='real')
var('t',domain='real',latex_name="\theta")

var('t',domain='real',latex_name="\\theta")

f=(Rcos(t) f=(R*cos(t) - d)p/(-2Rdcos(t) d)*p/(-2*R*d*cos(t) + R^2 + d^2)^(3/2) + (Rcos(t) -R^2/d)R^3p/((-2R^3cos(t)/d (R*cos(t) -R^2/d)*R^3*p/((-2*R^3*cos(t)/d + R^2 + R^4/d^2)^(3/2)d^3) +Rp/(sqrt(-2R^3cos(t)/d R^4/d^2)^(3/2)*d^3) +R*p/(sqrt(-2*R^3*cos(t)/d + R^2 + R^4/d^2)*d^2)

R^4/d^2)*d^2

How to simplify complicated expressions

Hello,

This complicated expression would be a zero function, but I can't achive to simplify it. I think I've run into lots of expressions like this one, but I've never come up with a solution.

This is mi code:

var('R d',domain='positive')
var('p',domain='real')
var('t',domain='real',latex_name="\\theta")

f=(R*cos(t) - d)*p/(-2*R*d*cos(t) + R^2 + d^2)^(3/2) + (R*cos(t) -R^2/d)*R^3*p/((-2*R^3*cos(t)/d + R^2 + R^4/d^2)^(3/2)*d^3) +R*p/(sqrt(-2*R^3*cos(t)/d + R^2 + R^4/d^2)*d^2

How to simplify complicated expressions

Hello,

This complicated expression would be a zero function, but I can't achive to simplify it. I think I've run into lots of expressions like this one, but I've never come up with a solution.

This is mi code:

var('R d',domain='positive')
var('p',domain='real')
var('t',domain='real',latex_name="\\theta")

f=(R*cos(t) - d)*p/(-2*R*d*cos(t) + R^2 + d^2)^(3/2) + (R*cos(t) -R^2/d)*R^3*p/((-2*R^3*cos(t)/d + R^2 + R^4/d^2)^(3/2)*d^3) +R*p/(sqrt(-2*R^3*cos(t)/d + R^2 + R^4/d^2)*d^2