Why is the answer (output) from the Solve expression shown below {}? Can someone please tell me what's wrong with the expression. I want to know σ1 and σ2}.
Solve[{S - N1 == 0, S - N2 == 0, σ1 == N1/A1, σ2 == N2/A2}, {σ1, σ2}]
Why is the answer (output) from the Solve expression shown below {}? Can someone please tell me what's wrong with the expression. I want to know σ1 and σ2}.
Solve[{S - N1 == 0, S - N2 == 0, σ1 == N1/A1, σ2 == N2/A2}, {σ1, σ2}]
Solvedocumentation page;{}is returned when there are no solutions. – Edmund Jun 11 '17 at 10:38{A1, A2, N1, N2, S, \[Sigma]1, \[Sigma]2}instead of just{\[Sigma]1, \Sigma[2]}gives{N1 -> S, N2 -> S, \[Sigma]1 -> S/A1, \[Sigma]2 -> S/A2}– I should change my Username Jun 11 '17 at 10:45Solve[{S - N1 == 0, S - N2 == 0, [Sigma]1 == N1/A1, [Sigma]2 == N2/A2}, {A1, A2, N1, N2, S, [Sigma]1, [Sigma]2}] I get this {{N1->A1 [Sigma]1,N2->A1 [Sigma]1,S->A1 [Sigma]1,[Sigma]2->(A1 [Sigma]1)/A2}}
– marcus Jun 11 '17 at 10:58Reducefirst. But going directly withSolve[{S - N1 == 0, S - N2 == 0, \[Sigma]1 == N1/A1, \[Sigma]2 == N2/A2}, {N2, S, \[Sigma]1, \[Sigma]2}]solves to{{N2 -> N1, S -> N1, \[Sigma]1 -> N1/A1, \[Sigma]2 -> N1/A2}}. But mathematically I have no idea if its right, I just brute forced it until I got an output with\[Sigma1]and\[Sigma]2– I should change my Username Jun 11 '17 at 11:09SolvebyReduce, you get, as part of the reduce system, two equationsN2 == S && N1 == S, and so the solution is removed becauseN1andN2are treated as continuous parameters. There are two ways to solve it that treatN1andN2as variables instead of parameters.... – Michael E2 Jun 11 '17 at 16:37N1,N2variables to be solved for:Solve[system, {\[Sigma]1, \[Sigma]2, N1, N2}]. Method 2: MakeN1,N2variables to be eliminated:Solve[system, {\[Sigma]1, \[Sigma]2}, {N1, N2}]. In both methods, the symbolsN1,N2are treated as variables and not as parameters. (And these methods assume that is the intention. If not, identify which symbols are variables and which are parameters and proceed accordingly.) – Michael E2 Jun 11 '17 at 16:56