How can I derive the formula using algebra for combining two equations?

raintrek
Messages
68
Reaction score
0
I'm trying to derive a formula but can't seem to work the algebra.

I need to combine these two:

V_{1}p_{1} + V_{2}p_{2} = N

V_{1} + V_{2} = V

to get this:

\frac{V_{1}}{V} = \frac{p-p_{1}}{p_{2}-p_{1}}

where p = N/V

If anyone could show me the steps that would be a huge help. Thanks in advance!
 
Physics news on Phys.org
Were you trying to obtain \frac{V_{1}}{V} = \frac{p-p_{2}}{p_{1}-p_{2}} instead?

With \frac{V_{1}}{V} = \frac{p-p_{1}}{p_{2}-p_{1}}, I got
V_{2}p_{1} + V_{1}p_{2} = N instead.
 
Dang, that will teach me to copy and paste!

I'm sorry, Defennder, here's the correct expressions:

\frac{V_{2}}{V}=\frac{p-p_{1}}{p_{2}-p_{1}}
 
V_{1}p_{1} + V_{2}p_{2} = N
(V-V_{2})p_{1} + V_{2}p_{2} = pV
Rearraging to get:
(p_{2}-p_{1})V_{2} = (p - p_{1})V

From here you just rearrange the terms and you'll get the answer.
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top