Help solving for 3 equations and 3 unknowns

  • Thread starter Thread starter skybox
  • Start date Start date
  • Tags Tags
    Unknowns
AI Thread Summary
The discussion revolves around solving three equations with three unknowns: P_{1}, P_{2}, and λ. The equations are set to equal zero, and the user initially struggles with the approach to find the solutions. Suggestions include expressing P_{1} and P_{2} in terms of λ, then substituting these into the third equation to solve for λ. The user acknowledges the complexity of the problem and decides to utilize Matlab for a solution. The conversation highlights the importance of algebraic manipulation in solving systems of equations.
skybox
Messages
37
Reaction score
0

Homework Statement


Solve the following equation for P_{1} and P_{2}

Homework Equations


7.0+0.004P_{1}-\lambda(1-0.0004P_{1})=0
7.0+0.004P_{2}-\lambda=0
P_{1}+P_{2}-500-0.0002P_{1}^{2}=0

The Attempt at a Solution


I am having some issues on ways to solve this problem. I guess the main point I am stuck on is how do I even approach it?

I have three unknowns P_{1}, P_{2}, \lambda and three equations, so I should be able to solve for P_{1}, P_{2}.

The example shows that the solutions are:
P_{1}=178.882 , P_{2}=327.496.

Any suggestions or tips would be greatly appreciated
 
Last edited:
Physics news on Phys.org
My first suggestion would be to give some equations. You've given 3 expressions, which don't appear to equate to anything.
 
oay said:
My first suggestion would be to give some equations. You've given 3 expressions, which don't appear to equate to anything.
Woops. Updated. All expressions equal 0
 
skybox said:
Woops. Updated. All expressions equal 0
That's better! :smile:

How are you with algebraic manipulation?

The first equation gives you P_1 in terms of \lambda, and the second gives P_2 in terms of \lambda.

Plug them both into the third equation and you find the value of \lambda.

Use this value of \lambda to find the values of P_1 and P_2.

Job done! :smile:
 
oay said:
That's better! :smile:

How are you with algebraic manipulation?

The first equation gives you P_1 in terms of \lambda, and the second gives P_2 in terms of \lambda.

Plug them both into the third equation and you find the value of \lambda.

Use this value of \lambda to find the values of P_1 and P_2.

Job done! :smile:

Thanks for the help. This is becoming a very complicated solution :S Will just use Matlab to solve!
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top