Ask Your Question
1

Output of solve - what does it mean?

asked 2012-04-20 01:40:53 +0200

d3banjan gravatar image

After a lengthy bit of coding,

var('r,t')
eq = [corr[1][1].subs({r_11:r,t_12:t,t_13:t,t_21:t,r_22:r,t_23:t,t_31:t,t_32:t,r_33:r})==0]
solve(eq,r,t)

yields $$ \newcommand{\Bold}[1]{\mathbf{#1}}\left(\left[r = -\sqrt{-\frac{\alpha_{1} t^{2}}{\alpha_{2}} - \frac{\alpha_{3} t^{2}}{\alpha_{2}} + 1}, r = \sqrt{-\frac{\alpha_{1} t^{2}}{\alpha_{2}} - \frac{\alpha_{3} t^{2}}{\alpha_{2}} + 1}, r = 0\right], \left[1, 1, 1\right]\right)$$ Note that the second element of the output is just [1,1,1], instead of t==1. Can someone help with interpreting this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-04-20 03:34:47 +0200

Shashank gravatar image

You are trying to solve a system with one equation and two unknowns. This cannot be done. So what sage is doing is assuming t=1 and then solving it.

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

1 follower

Stats

Asked: 2012-04-20 01:40:53 +0200

Seen: 267 times

Last updated: Apr 20 '12