Post Reply 
Desolve gives wrong results
12-24-2019, 06:21 AM
Post: #5
RE: Desolve gives wrong results
(12-23-2019 06:47 PM)CyberAngel Wrote:  
(12-23-2019 03:25 PM)COB160 Wrote:  Goodafternoon everybody,
I am dealing with desolve HP prime function, in particular if I type desolve(y'=-x/y,y) i get two wrong results, wich are: sqrt(-2*G_0-x^2 ) and -sqrt(-2*G_0-X^2). In fact the correct result should be, according to wolframalpha: sqrt(-x^2+c) and -sqrt(-x^2+c). Does the difference depend on the interpretation of G_0 or c constant? Otherwise the result is incorrect with respect of the sign.
Thank in advance for your help

The constant(s) could be anything
thus the answers are all correct.

Correct but unfriendly, as the constant could be simplified to c_1 say, even if c is reserved.
Its fortunate indeed that the OP didnt require the answer to
desolve(y'=-i*x/y,y)
Wolfram gives this as
y(x) = -sqrt(c_1 - i*x^2) and y(x) = sqrt(c_1 - i*x^2)

Prime with Simplify:Maximum gives the undeniably spectacular
Code:
[(512*G_0^9*x^16*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*G_0*x^28+96*G_​0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20+128*G_0^4*x^2​0+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20+256*G_0^6*x^1​6-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64*G_0^4*x^12+x^16-32*G_0^3*x^12-32*G_0^2*x^12+256*G_0^6*x^8+8*G_0*x^12-128*G_0^4*x^8+4*x^12+16*G_0^2*x^8)+4*x^32+64*G_0^3*x^28+32*G_0^2*x^28-24*G_0*x^28+192*G_0^5*x^24-8*x^28-224*G_0^3*x^24-48*G_0^2*x^24-512*G_0^6*x^20+12*G_0*x^24-640*G_0^5*x^20-512*G_0^9*x^16-64*G_0^4*x^20-1024*G_0^8*x^16-512*G_0^7*x^16-16*G_0^2*x^20-256*G_0^6*x^16+16*G_0*x^20-448*G_0^5*x^16-1024*G_0^8*x^12+8*x^20+128*G_0^3*x^16-1024*G_0^7*x^12+48*G_0^2*x^16+256*G_0^6*x^12-2*G_0*x^16+128*G_0^5*x^12+64*G_0^4*x^12-4*x^16+64*G_0^3*x^12-512*G_0^7*x^8-16*G_0^2*x^12-8*G_0*x^12+256*G_0^5*x^8-32*G_0^3*x^8)+(-768*)*G_0^8*x^18*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*G_0*x^28+96*​G_0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20+128*G_0^4*x​^20+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20+256*G_0^6*x​^16-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64*G_0^4*x^12+x^16-32*G_0^3*x^12-32*G_0^2*x^12+256*G_0^6*x^8+8*G_0*x^12-128*G_0^4*x^8+4*x^12+16*G_0^2*x^8)+4*x^32+64*G_0^3*x^28+32*G_0^2*x^28-24*G_0*x^28+192*G_0^5*x^24-8*x^28-224*G_0^3*x^24-48*G_0^2*x^24-512*G_0^6*x^20+12*G_0*x^24-640*G_0^5*x^20-512*G_0^9*x^16-64*G_0^4*x^20-1024*G_0^8*x^16-512*G_0^7*x^16-16*G_0^2*x^20-256*G_0^6*x^16+16*G_0*x^20-448*G_0^5*x^16-1024*G_0^8*x^12+8*x^20+128*G_0^3*x^16-1024*G_0^7*x^12+48*G_0^2*x^16+256*G_0^6*x^12-2*G_0*x^16+128*G_0^5*x^12+64*G_0^4*x^12-4*x^16+64*G_0^3*x^12-512*G_0^7*x^8-16*G_0^2*x^12-8*G_0*x^12+256*G_0^5*x^8-32*G_0^3*x^8)+1024*G_0^8*x^16*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*​G_0*x^28+96*G_0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20​+128*G_0^4*x^20+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20​+256*G_0^6*x^16-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64*G_0^4*x^12+x^16-32*G_0^3*x^12-32*G_0^2*x^12+256*G_0^6*x^8+8*G_0*x^12-128*G_0^4*x^8+4*x^12+16*G_0^2*x^8)+4*x^32+64*G_0^3*x^28+32*G_0^2*x^28-24*G_0*x^28+192*G_0^5*x^24-8*x^28-224*G_0^3*x^24-48*G_0^2*x^24-512*G_0^6*x^20+12*G_0*x^24-640*G_0^5*x^20-512*G_0^9*x^16-64*G_0^4*x^20-1024*G_0^8*x^16-512*G_0^7*x^16-16*G_0^2*x^20-256*G_0^6*x^16+16*G_0*x^20-448*G_0^5*x^16-1024*G_0^8*x^12+8*x^20+128*G_0^3*x^16-1024*G_0^7*x^12+48*G_0^2*x^16+256*G_0^6*x^12-2*G_0*x^16+128*G_0^5*x^12+64*G_0^4*x^12-4*x^16+64*G_0^3*x^12-512*G_0^7*x^8-16*G_0^2*x^12-8*G_0*x^12+256*G_0^5*x^8-32*G_0^3*x^8)+1024*G_0^8*x^12*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*​G_0*x^28+96*G_0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20​+128*G_0^4*x^20+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20​+256*G_0^6*x^16-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64*G_0^4*x^12+x^16-32*G_0^3*x^12-32*G_0^2*x^12+256*G_0^6*x^8+8*G_0*x^12-128*G_0^4*x^8+4*x^12+16*G_0^2*x^8)+4*x^32+64*G_0^3*x^28+32*G_0^2*x^28-24*G_0*x^28+192*G_0^5*x^24-8*x^28-224*G_0^3*x^24-48*G_0^2*x^24-512*G_0^6*x^20+12*G_0*x^24-640*G_0^5*x^20-512*G_0^9*x^16-64*G_0^4*x^20-1024*G_0^8*x^16-512*G_0^7*x^16-16*G_0^2*x^20-256*G_0^6*x^16+16*G_0*x^20-448*G_0^5*x^16-1024*G_0^8*x^12+8*x^20+128*G_0^3*x^16-1024*G_0^7*x^12+48*G_0^2*x^16+256*G_0^6*x^12-2*G_0*x^16+128*G_0^5*x^12+64*G_0^4*x^12-4*x^16+64*G_0^3*x^12-512*G_0^7*x^8-16*G_0^2*x^12-8*G_0*x^12+256*G_0^5*x^8-32*G_0^3*x^8)+(-1024*)*G_0^7*x^18*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*G_0*x^28+96​*G_0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20+128*G_0^4*​x^20+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20+256*G_0^6*​x^16-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64*G_0^4*x^12+x^16-32*G_0^3*x^12-32*G_0^2*x^12+256*G_0^6*x^8+8*G_0*x^12-128*G_0^4*x^8+4*x^12+16*G_0^2*x^8)+4*x^32+64*G_0^3*x^28+32*G_0^2*x^28-24*G_0*x^28+192*G_0^5*x^24-8*x^28-224*G_0^3*x^24-48*G_0^2*x^24-512*G_0^6*x^20+12*G_0*x^24-640*G_0^5*x^20-512*G_0^9*x^16-64*G_0^4*x^20-1024*G_0^8*x^16-512*G_0^7*x^16-16*G_0^2*x^20-256*G_0^6*x^16+16*G_0*x^20-448*G_0^5*x^16-1024*G_0^8*x^12+8*x^20+128*G_0^3*x^16-1024*G_0^7*x^12+48*G_0^2*x^16+256*G_0^6*x^12-2*G_0*x^16+128*G_0^5*x^12+64*G_0^4*x^12-4*x^16+64*G_0^3*x^12-512*G_0^7*x^8-16*G_0^2*x^12-8*G_0*x^12+256*G_0^5*x^8-32*G_0^3*x^8)+512*G_0^7*x^16*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*G​_0*x^28+96*G_0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20+​128*G_0^4*x^20+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20+​256*G_0^6*x^16-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64*G_0^4*x^12+x^16-32*G_0^3*x^12-32*G_0^2*x^12+256*G_0^6*x^8+8*G_0*x^12-128*G_0^4*x^8+4*x^12+16*G_0^2*x^8)+4*x^32+64*G_0^3*x^28+32*G_0^2*x^28-24*G_0*x^28+192*G_0^5*x^24-8*x^28-224*G_0^3*x^24-48*G_0^2*x^24-512*G_0^6*x^20+12*G_0*x^24-640*G_0^5*x^20-512*G_0^9*x^16-64*G_0^4*x^20-1024*G_0^8*x^16-512*G_0^7*x^16-16*G_0^2*x^20-256*G_0^6*x^16+16*G_0*x^20-448*G_0^5*x^16-1024*G_0^8*x^12+8*x^20+128*G_0^3*x^16-1024*G_0^7*x^12+48*G_0^2*x^16+256*G_0^6*x^12-2*G_0*x^16+128*G_0^5*x^12+64*G_0^4*x^12-4*x^16+64*G_0^3*x^12-512*G_0^7*x^8-16*G_0^2*x^12-8*G_0*x^12+256*G_0^5*x^8-32*G_0^3*x^8)+(-1024*)*G_0^7*x^14*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*G_0*x^28+96​*G_0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20+128*G_0^4*​x^20+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20+256*G_0^6*​x^16-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64*G_0^4*x^12+x^16-32*G_0^3*x^12-32*G_0^2*x^12+256*G_0^6*x^8+8*G_0*x^12-128*G_0^4*x^8+4*x^12+16*G_0^2*x^8)+4*x^32+64*G_0^3*x^28+32*G_0^2*x^28-24*G_0*x^28+192*G_0^5*x^24-8*x^28-224*G_0^3*x^24-48*G_0^2*x^24-512*G_0^6*x^20+12*G_0*x^24-640*G_0^5*x^20-512*G_0^9*x^16-64*G_0^4*x^20-1024*G_0^8*x^16-512*G_0^7*x^16-16*G_0^2*x^20-256*G_0^6*x^16+16*G_0*x^20-448*G_0^5*x^16-1024*G_0^8*x^12+8*x^20+128*G_0^3*x^16-1024*G_0^7*x^12+48*G_0^2*x^16+256*G_0^6*x^12-2*G_0*x^16+128*G_0^5*x^12+64*G_0^4*x^12-4*x^16+64*G_0^3*x^12-512*G_0^7*x^8-16*G_0^2*x^12-8*G_0*x^12+256*G_0^5*x^8-32*G_0^3*x^8)+1024*G_0^7*x^12*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*​G_0*x^28+96*G_0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20​+128*G_0^4*x^20+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20​+256*G_0^6*x^16-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64*G_0^4*x^12+x^16-32*G_0^3*x^12-32*G_0^2*x^12+256*G_0^6*x^8+8*G_0*x^12-128*G_0^4*x^8+4*x^12+16*G_0^2*x^8)+4*x^32+64*G_0^3*x^28+32*G_0^2*x^28-24*G_0*x^28+192*G_0^5*x^24-8*x^28-224*G_0^3*x^24-48*G_0^2*x^24-512*G_0^6*x^20+12*G_0*x^24-640*G_0^5*x^20-512*G_0^9*x^16-64*G_0^4*x^20-1024*G_0^8*x^16-512*G_0^7*x^16-16*G_0^2*x^20-256*G_0^6*x^16+16*G_0*x^20-448*G_0^5*x^16-1024*G_0^8*x^12+8*x^20+128*G_0^3*x^16-1024*G_0^7*x^12+48*G_0^2*x^16+256*G_0^6*x^12-2*G_0*x^16+128*G_0^5*x^12+64*G_0^4*x^12-4*x^16+64*G_0^3*x^12-512*G_0^7*x^8-16*G_0^2*x^12-8*G_0*x^12+256*G_0^5*x^8-32*G_0^3*x^8)+512*G_0^7*x^8*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*G_​0*x^28+96*G_0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20+1​28*G_0^4*x^20+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20+2​56*G_0^6*x^16-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64*G_0^4*x^12+x^16-32*G_0^3*x^12-32*G_0^2*x^12+256*G_0^6*x^8+8*G_0*x^12-128*G_0^4*x^8+4*x^12+16*G_0^2*x^8)+4*x^32+64*G_0^3*x^28+32*G_0^2*x^28-24*G_0*x^28+192*G_0^5*x^24-8*x^28-224*G_0^3*x^24-48*G_0^2*x^24-512*G_0^6*x^20+12*G_0*x^24-640*G_0^5*x^20-512*G_0^9*x^16-64*G_0^4*x^20-1024*G_0^8*x^16-512*G_0^7*x^16-16*G_0^2*x^20-256*G_0^6*x^16+16*G_0*x^20-448*G_0^5*x^16-1024*G_0^8*x^12+8*x^20+128*G_0^3*x^16-1024*G_0^7*x^12+48*G_0^2*x^16+256*G_0^6*x^12-2*G_0*x^16+128*G_0^5*x^12+64*G_0^4*x^12-4*x^16+64*G_0^3*x^12-512*G_0^7*x^8-16*G_0^2*x^12-8*G_0*x^12+256*G_0^5*x^8-32*G_0^3*x^8)+(-512*)*G_0^6*x^22*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*G_0*x^28+96*​G_0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20+128*G_0^4*x​^20+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20+256*G_0^6*x​^16-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64*G_0^4*x^12+x^16-32*G_0^3*x^12-32*G_0^2*x^12+256*G_0^6*x^8+8*G_0*x^12-128*G_0^4*x^8+4*x^12+16*G_0^2*x^8)+4*x^32+64*G_0^3*x^28+32*G_0^2*x^28-24*G_0*x^28+192*G_0^5*x^24-8*x^28-224*G_0^3*x^24-48*G_0^2*x^24-512*G_0^6*x^20+12*G_0*x^24-640*G_0^5*x^20-512*G_0^9*x^16-64*G_0^4*x^20-1024*G_0^8*x^16-512*G_0^7*x^16-16*G_0^2*x^20-256*G_0^6*x^16+16*G_0*x^20-448*G_0^5*x^16-1024*G_0^8*x^12+8*x^20+128*G_0^3*x^16-1024*G_0^7*x^12+48*G_0^2*x^16+256*G_0^6*x^12-2*G_0*x^16+128*G_0^5*x^12+64*G_0^4*x^12-4*x^16+64*G_0^3*x^12-512*G_0^7*x^8-16*G_0^2*x^12-8*G_0*x^12+256*G_0^5*x^8-32*G_0^3*x^8)+512*G_0^6*x^20*√(6*G_0*x^32+√(x^4+4*G_0^2)*(x^32+16*G_0^2*x^28+8*G​_0*x^28+96*G_0^4*x^24+96*G_0^3*x^24+16*G_0^2*x^24+256*G_0^6*x^20+384*G_0^5*x^20+​128*G_0^4*x^20+256*G_0^8*x^16+6*x^24+32*G_0^3*x^20+512*G_0^7*x^16+48*G_0^2*x^20+​256*G_0^6*x^16-16*G_0*x^20+256*G_0^5*x^16+224*G_0^4*x^16-12*x^20-96*G_0^3*x^16+512*G_0^7*x^12-64*G_0^2*x^16+512*G_0^6*x^12-128*G_0^5*x^12-64
[.....]

I had to truncate the result as its longer than the forum can handle!
Code:

Please correct the following errors before continuing:
The message is too long. Please enter a message shorter than 65535 characters (currently 133051).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Desolve gives wrong results - COB160 - 12-23-2019, 03:25 PM
RE: Desolve gives wrong results - COB160 - 12-23-2019, 07:28 PM
RE: Desolve gives wrong results - Stevetuc - 12-24-2019 06:21 AM
RE: Desolve gives wrong results - Stevetuc - 12-24-2019, 03:53 PM
RE: Desolve gives wrong results - Stevetuc - 12-24-2019, 04:55 PM
RE: Desolve gives wrong results - COB160 - 12-24-2019, 08:17 AM
RE: Desolve gives wrong results - COB160 - 12-24-2019, 08:25 AM
RE: Desolve gives wrong results - Aries - 12-25-2019, 09:13 AM
RE: Desolve gives wrong results - parisse - 12-24-2019, 06:54 PM
RE: Desolve gives wrong results - Stevetuc - 12-24-2019, 09:43 PM
RE: Desolve gives wrong results - parisse - 12-25-2019, 04:39 PM
RE: Desolve gives wrong results - Stevetuc - 12-25-2019, 06:25 PM
RE: Desolve gives wrong results - Marcel - 12-25-2019, 02:15 PM
RE: Desolve gives wrong results - lrdheat - 12-25-2019, 05:29 PM



User(s) browsing this thread: 1 Guest(s)