Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Solving multiple system of equation in sagemath

a,b,c,d,x,f,g,h,k,p,q,r,s,u,v,l,m,n= var('a b c d x f g h k p q r s u v l m n')

f1 = ap+bq+c*r+1

f2 = ds+ux+f*v-1

f3 = gl+hm+k*n-1

f4 = as+bu+c*v

f5=al+bm+c*n

f6=dl+xm+f*n

f7=ap+ds+g*l-1

f8=bp+xs+h*l+2

f9=cp+fs+k*l-1

f10=aq+du+g*m

f11=bq+xu+h*m-1

f12= cq+fu+k*m

f13= ar+dv+g*n

f14= br+xv+h*n-2

f15= cr+fv+k*n+1

solve([f1==0,f2==0,f3==0,f4==0,f5==0,f6==0,f7==0,f8==0,f9==0,f10==0,f11==0,f12==0,f13==0,f14==0,f15==0],a,b,c,d,x,f,g,h,k,p,q,r,s,u,v)

I am trying to solve these 15 system of equations but I am not getting any result. Is there any wrong here?

Solving multiple system of equation in sagemath

a,b,c,d,x,f,g,h,k,p,q,r,s,u,v,l,m,n= var('a b c d x f g h k p q r s u v l m n')

f1 = ap+bq+c*r+1

f2 = ds+ux+f*v-1

f3 = gl+hm+k*n-1

f4 = as+bu+c*v

f5=al+bm+c*n

f6=dl+xm+f*n

f7=ap+ds+g*l-1

f8=bp+xs+h*l+2

f9=cp+fs+k*l-1

f10=aq+du+g*m

f11=bq+xu+h*m-1

f12= cq+fu+k*m

f13= ar+dv+g*n

f14= br+xv+h*n-2

f15= cr+fv+k*n+1

solve([f1==0,f2==0,f3==0,f4==0,f5==0,f6==0,f7==0,f8==0,f9==0,f10==0,f11==0,f12==0,f13==0,f14==0,f15==0],a,b,c,d,x,f,g,h,k,p,q,r,s,u,v)

I am trying to solve these 15 system of equations but I am not getting any result. Is there any wrong here?

Solving multiple system of equation in sagemath

a,b,c,d,x,f,g,h,k,p,q,r,s,u,v,l,m,n= var('a b c d x f g h k p q r s u v l m n')

f1 = ap+bq+c*r+1

f2 = ds+ux+f*v-1

f3 = gl+hm+k*n-1

f4 = as+bu+c*v

f5=al+bm+c*n

f6=dl+xm+f*n

f7=ap+ds+g*l-1

f8=bp+xs+h*l+2

f9=cp+fs+k*l-1

f10=aq+du+g*m

f11=bq+xu+h*m-1

f12= cq+fu+k*m

f13= ar+dv+g*n

f14= br+xv+h*n-2

f15= cr+fv+k*n+1

solve([f1==0,f2==0,f3==0,f4==0,f5==0,f6==0,f7==0,f8==0,f9==0,f10==0,f11==0,f12==0,f13==0,f14==0,f15==0],a,b,c,d,x,f,g,h,k,p,q,r,s,u,v)

I am trying to solve these 15 system of equations but I am not getting any result. Is there any wrong here?

Solving multiple system of equation in sagemath

a,b,c,d,x,f,g,h,k,p,q,r,s,u,v,l,m,n= var('a b c d x f g h k p q r s u v l m n')

f1 = $ap+bq+c*r+1$

f2 = $ds+ux+f*v-1$

f3 = $gl+hm+k*n-1$

f4 = $as+bu+c*v$

f5=$al+bm+c*n$

f6=$dl+xm+f*n$

f7=$ap+ds+g*l-1$

f8=$bp+xs+h*l+2$

f9=$cp+fs+k*l-1$

f10=$aq+du+g*m$

f11=$bq+xu+h*m-1$

f12=$ cq+fu+k*m$

f13=$ ap+bq+c*r+1

f2 = ds+ux+f*v-1

f3 = gl+hm+k*n-1

f4 = as+bu+c*v

f5=al+bm+c*n

f6=dl+xm+f*n

f7=ap+ds+g*l-1

f8=bp+xs+h*l+2

f9=cp+fs+k*l-1

f10=aq+du+g*m

f11=bq+xu+h*m-1

f12= cq+fu+k*m

f13= ar+dv+g*nv+g*n$

f14= b$br+xv+h*n-2v+h*n-2$

f15= c$cr+fv+k*n+1v+k*n+1$

solve([f1==0,f2==0,f3==0,f4==0,f5==0,f6==0,f7==0,f8==0,f9==0,f10==0,f11==0,f12==0,f13==0,f14==0,f15==0],a,b,c,d,x,f,g,h,k,p,q,r,s,u,v)

I am trying to solve these 15 system of equations but I am not getting any result. Is there any wrong here?

Solving multiple system of equation in sagemath

a,b,c,d,x,f,g,h,k,p,q,r,s,u,v,l,m,n= var('a b c d x f g h k p q r s u v l m n')

f1 = $aap+bq+c*r+1$q+c*r+1

f2 = $dds+ux+f*v-1$x+f*v-1

f3 = $ggl+hm+k*n-1$m+k*n-1

f4 = $aas+bu+c*v$

f5=$au+c*v

f5=al+bm+c*n$

f6=$dm+c*n

f6=dl+xm+f*n$

f7=$am+f*n

f7=ap+ds+g*l-1$

f8=$bs+g*l-1

f8=bp+xs+h*l+2$

f9=$cs+h*l+2

f9=cp+fs+k*l-1$

f10=$as+k*l-1

f10=aq+du+g*m$

f11=$bu+g*m

f11=bq+xu+h*m-1$

f12=$ u+h*m-1

f12= cq+fu+k*m$

f13=$ u+k*m

f13= ar+dv+g*n$v+g*n

f14= $bbr+xv+h*n-2$v+h*n-2

f15= $ccr+fv+k*n+1$v+k*n+1

solve([f1==0,f2==0,f3==0,f4==0,f5==0,f6==0,f7==0,f8==0,f9==0,f10==0,f11==0,f12==0,f13==0,f14==0,f15==0],a,b,c,d,x,f,g,h,k,p,q,r,s,u,v)

I am trying to solve these 15 system of equations but I am not getting any result. Is there any wrong here?

click to hide/show revision 6
None

updated 0 years ago

Max Alekseyev gravatar image

Solving multiple system of equation in sagemath

a,b,c,d,x,f,g,h,k,p,q,r,s,u,v,l,m,n= var('a b c d x f g h k p q r s u v l m n')

f1 = ap+bq+c*r+1

a*p+b*q+c*r+1

f2 = ds+ux+f*v-1

d*s+u*x+f*v-1

f3 = gl+hm+k*n-1

g*l+h*m+k*n-1

f4 = as+bu+c*v

a*s+b*u+c*v f5=a*l+b*m+c*n

f5=al+bm+c*n

f6=d*l+x*m+f*n f7=a*p+d*s+g*l-1

f6=dl+xm+f*n

f8=b*p+x*s+h*l+2 f9=c*p+f*s+k*l-1

f7=ap+ds+g*l-1

f10=a*q+d*u+g*m f11=b*q+x*u+h*m-1

f8=bp+xs+h*l+2

f12= c*q+f*u+k*m f13= a*r+d*v+g*n

f9=cp+fs+k*l-1

f14= b*r+x*v+h*n-2 f15= c*r+f*v+k*n+1

f10=aq+du+g*m

f11=bq+xu+h*m-1

f12= cq+fu+k*m

f13= ar+dv+g*n

f14= br+xv+h*n-2

f15= cr+fv+k*n+1

solve([f1==0,f2==0,f3==0,f4==0,f5==0,f6==0,f7==0,f8==0,f9==0,f10==0,f11==0,f12==0,f13==0,f14==0,f15==0],a,b,c,d,x,f,g,h,k,p,q,r,s,u,v)

solve([f1==0,f2==0,f3==0,f4==0,f5==0,f6==0,f7==0,f8==0,f9==0,f10==0,f11==0,f12==0,f13==0,f14==0,f15==0],a,b,c,d,x,f,g,h,k,p,q,r,s,u,v)

I am trying to solve these 15 system of equations but I am not getting any result. Is there any wrong here?

click to hide/show revision 7
None

updated 0 years ago

Max Alekseyev gravatar image

Solving multiple system of equation in sagemath

.

a,b,c,d,x,f,g,h,k,p,q,r,s,u,v,l,m,n= var('a b c d x f g h k p q r s u v l m n')

n')
f1 = a*p+b*q+c*r+1

f2 = d*s+u*x+f*v-1

f3 = g*l+h*m+k*n-1

f4 = a*s+b*u+c*v

f5=a*l+b*m+c*n

f6=d*l+x*m+f*n

f7=a*p+d*s+g*l-1

f8=b*p+x*s+h*l+2

f9=c*p+f*s+k*l-1

f10=a*q+d*u+g*m

f11=b*q+x*u+h*m-1

f12= c*q+f*u+k*m

f13= a*r+d*v+g*n

f14= b*r+x*v+h*n-2

f15= c*r+f*v+k*n+1

solve([f1==0,f2==0,f3==0,f4==0,f5==0,f6==0,f7==0,f8==0,f9==0,f10==0,f11==0,f12==0,f13==0,f14==0,f15==0],a,b,c,d,x,f,g,h,k,p,q,r,s,u,v)

I am trying to solve these 15 system of equations but I am not getting any result. Is there any wrong here?