ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 01 Feb 2018 19:28:09 +0100What does r signify in this output?https://ask.sagemath.org/question/40924/what-does-r-signify-in-this-output/It appears after lam ==
solve([diff(P,x) == 0, diff(P,y) == 0], x, y, lam)
[[x == 816.8214285714286, y == 506.0324074074074, lam == r5], [x == -816.2645502645503, y == -514.5402298850574, lam == r6], [x == (13.33265402759081 + 1414.015105182754*I), y == (3.906674551362281 - 883.7900965450355*I), lam == r7], [x == (13.33265402759081 - 1414.015105182754*I), y == (3.906674551362281 + 883.7900965450355*I), lam == r8]]Thu, 01 Feb 2018 19:02:18 +0100https://ask.sagemath.org/question/40924/what-does-r-signify-in-this-output/Comment by dan_fulea for <p>It appears after lam == </p>
<pre><code>solve([diff(P,x) == 0, diff(P,y) == 0], x, y, lam)
[[x == 816.8214285714286, y == 506.0324074074074, lam == r5], [x == -816.2645502645503, y == -514.5402298850574, lam == r6], [x == (13.33265402759081 + 1414.015105182754*I), y == (3.906674551362281 - 883.7900965450355*I), lam == r7], [x == (13.33265402759081 - 1414.015105182754*I), y == (3.906674551362281 + 883.7900965450355*I), lam == r8]]
</code></pre>
https://ask.sagemath.org/question/40924/what-does-r-signify-in-this-output/?comment=40925#post-id-40925The `r1, r2, r3, r4` "free variables" were allocated at some previous run.
In this run, the lamba value, declared as a variable of the system (although it has nothing to do with the system (if `P` not mentioned here, but in some other post, does also not depend on `lam`)), is not involved in the system. So it can be freely chosen. In each of the four new solution is chosen a new one, so this gives rise to `r5, r6, r7, r8`.Thu, 01 Feb 2018 19:13:10 +0100https://ask.sagemath.org/question/40924/what-does-r-signify-in-this-output/?comment=40925#post-id-40925Comment by ds22 for <p>It appears after lam == </p>
<pre><code>solve([diff(P,x) == 0, diff(P,y) == 0], x, y, lam)
[[x == 816.8214285714286, y == 506.0324074074074, lam == r5], [x == -816.2645502645503, y == -514.5402298850574, lam == r6], [x == (13.33265402759081 + 1414.015105182754*I), y == (3.906674551362281 - 883.7900965450355*I), lam == r7], [x == (13.33265402759081 - 1414.015105182754*I), y == (3.906674551362281 + 883.7900965450355*I), lam == r8]]
</code></pre>
https://ask.sagemath.org/question/40924/what-does-r-signify-in-this-output/?comment=40926#post-id-40926@dan_fulea Yeah, I realize `lam` has nothing to do with the system. I am just trying to emulate an example from a textbook which includes the variable `lam`. However, I am unable to figure out what `lam` is supposed to do or what it is supposed to equal.Thu, 01 Feb 2018 19:28:09 +0100https://ask.sagemath.org/question/40924/what-does-r-signify-in-this-output/?comment=40926#post-id-40926