Ask Your Question

# Output of solve - what does it mean?

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 close merge delete

## 1 Answer

Sort by ยป oldest newest most voted

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.

more

## Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

## Stats

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

Seen: 264 times

Last updated: Apr 20 '12