How to determine D and E given A/(B-C)=D/B + E/C?

  • B
  • Thread starter Dukon
  • Start date
In summary: Your final equation is incorrect. It should be:D = A - E(B - C)But even with this equation, there is no way to solve for both D and E without knowing more about the relationship between them.
  • #1
Dukon
73
3
[itex] { A \over B - C} = {D \over B} + {E \over C } [/itex]

Given the above equation and that A,B,C are known, how are the only two unknowns D and E determined from the knowns: A,B,C?

By the method of partial fractions, I could let [itex] b \equiv \sqrt{B} [/itex] and [itex] c \equiv \sqrt{C} [/itex] to rewrite the target where [itex] B-C = (b+c)(b-c) [/itex] but I see that as a dead end because D is defined over B not over (b+c). Therefore, pursuing a different approach the original equation may be written:
[tex] { A \over B - C } = {A \over B (1-{C\over B}) } = { D(1 - {C\over B}) \over B (1 - {C\over B}) } + { E \left( {B \over C} \left( 1-{C\over B} \right) \right) \over C \left( {B \over C} \left( 1-{C\over B} \right) \right)} [/tex]
At this point all denominators are same so now exists one equation in two unknowns D & E:
[tex] A = { D(1 - {C\over B}) } + { E \left( {B \over C} \left( 1-{C\over B} \right) \right) } = { D(1 - {C\over B}) } + { E \left( {B \over C} - 1 \right) } [/tex]
where the one equation in two unknowns is:
[tex] D = {A \over (1 - {C\over B}) } + E = {A \over B - C} B + E [/tex]
But what can I use as the second equation?
 
Last edited:
Mathematics news on Phys.org
  • #2
Looks like you have the yield of a portfolio and want to know what the contributions of single positions are.

I think all you can do is multiplying the whole thing with ##BC(B-C)## and compare single terms.
 
  • #3
Doug Brown said:
[itex] { A \over B - C} = {D \over B} + {E \over C } [/itex]

Given the above situation, how are D and E determined from A,B,C?
I don't see how this would be possible. You have one equation with five variables. If we treat A, B, and C as unknown constants (i.e., parameters), you still have one equation with two unknown variables. The best you can do is to solve for D in terms of A, B, C, and E, or solve for E in terms of A, B, C, and D.
 
  • #4
If you know that D and E are integers, you might be able to narrow down the possible solutions. If they are positive integers, there might be a unique solution. It depends on A, B, C then.
 
  • #5
Doug Brown said:
But what can I use as the second equation?
If you don't have a second equation from your problem statement: Nothing.
Something went wrong in your steps, the final equation is wrong.

It's like asking to solve X=Y for both X and Y. It is impossible.
 
  • #6
Thank you for your responses, however, my terminal did not alert me in real time to your comments so I have not digested them completely yet. From first glances I can say that:

A,B,C can be taken to be known. In fact they are functions of constants of nature, so they are known and do not need to be solved for. Only D and E are the unknown functions of A,B,C and hence of the fundamental constants of which A,B,C are defined. So this is not a problem with 5 unknowns just two. Please pardon the confusion.

Let me take a look at all the comments again and see if a second equation exists somewhere in this problem I have not yet observed
 
  • #7
fresh_42 said:
Looks like you have the yield of a portfolio and want to know what the contributions of single positions are.

I think all you can do is multiply the whole thing with ##BC(B-C)## and compare single terms.

Not sure if I understand your suggestion but this is what I arrive at doing what I think this means
[tex] \left( A \over B - C \right) BC(B-C) = {D\over B} BC(B-C) + {E\over C} BC(B-C) [/tex]
This reduces after standard algebra to
[tex] ABC = DC(B-C) + EB(B-C) [/tex]
from which again one equation in two unknowns may be solved slightly different from my first equation
[tex] D = \left( A \over B - C \right) BC - EB [/tex]
which actually is different from the first different equation for D I obtained now presented in initial posting of this thread. Subtracting the second equation from the first, eliminates D and the resulting expression for E becomes:
[tex] E = \left( A \over B - C \right) { C - 1 \over B + 1 } B [/tex]
which does in fact solve for the unknown functions D and E in terms of the known functions A,B,C.

Now plugging back in my actual expressions for each of A,B,C would result in the equation I really need for this problem where the original goal was to separate the actual constants of Nature off into their own constant separate from the variables over which I wish to explore my solution of which the initial equation was a part. The point is I wanted to separate out all the constants to define them outside my for loops in my C++ code, so that my C++ for loops are only over my time and distance variables.

Therefore I thank fresh_42 for the financial advice for how I show individual portfolio contributions even though this is not a financial problem :)
 
  • #8
Mark44 said:
I don't see how this would be possible. You have one equation with five variables. If we treat A, B, and C as unknown constants (i.e., parameters), you still have one equation with two unknown variables. The best you can do is to solve for D in terms of A, B, C, and E, or solve for E in terms of A, B, C, and D.

Good point. I added extra problem definition which is that A,B,C are known (not unknowns) so this really is just a two unknown problem. You are right about your either/or comment. However, the portfolio trick does provide a second equation and result is now added at end of the thread. Thank you for your comment!
 
  • #9
Doug Brown said:
Nothing wrong in steps.
There is something wrong with your steps. You claim you can find unique numerical solutions to an equation of the type X=Y. That cannot work.

Example: A=2, B=2, C=1. What are D and E?

Plugging A, B, C into the equation gives 2/1 = D/2 + E, or simplified 4=D+2E. One solution is D=4, E=0, but another solution is D=0, E=2, and there is also D=2, E=1, and D=6, E=-1 and many other solutions.

You claim that there is just one solution, which is clearly wrong. You make mistakes in your steps, leading to new (and wrong) equations, and then call that progress...
 
  • #10
Doug Brown said:
Not sure if I understand your suggestion
This was meant as an illustration to show that it's not possible.
 
  • #11
Well,
Doug Brown said:
##D=(\frac{A}{B−C})BC−EB##
in your post #7 is actually ##DC=(\frac{A}{B−C})BC−EB##
 
  • #12
fresh_42 said:
Well,

in your post #7 is actually ##DC=(\frac{A}{B−C})BC−EB##

Yes you are totally correct. I did make an algebraic error. Thank you for pointing it out!

That now results in simply a final expression [itex] E\left( {B \over C} - 1 \right) = 0 [/itex].

Introducing new information which is that B is arbitrary while C is a constant so their ratio can be other than unity (given their true meanings in my original problem, which is information you don't yet have) this then implies E=0 as the most general solution. This then implies that the equation for D results in a tautology with the original ##A/(B-C)## which means no second equation was obtainable by the "multiply by some function of the denominators" method.

Looks like there really is no way to get a second equation for D unless the original problem adds new information.

Again, thank you for pointing this out! I do stand corrected.
 
  • #13
mfb said:
There is something wrong with your steps. You claim you can find unique numerical solutions to an equation of the type X=Y. That cannot work.

Example: A=2, B=2, C=1. What are D and E?

Plugging A, B, C into the equation gives 2/1 = D/2 + E, or simplified 4=D+2E. One solution is D=4, E=0, but another solution is D=0, E=2, and there is also D=2, E=1, and D=6, E=-1 and many other solutions.

You claim that there is just one solution, which is clearly wrong. You make mistakes in your steps, leading to new (and wrong) equations, and then call that progress...

Please pardon me. I never intended to say that there is only one unique solution. I was only looking for any solution not any sort of only unique solution. I thought because of an algebraic error that this resulted in a 2nd equation for D but in the end once corrected, the benefit disappears as you suspected, and without any new information to provide a second equation, all I am left with is one equation in two unknowns, which is not a solution at all.

I wish the integer value solutions you found were applicable to my original problem but actually the A,B,C are real physical quanties which depend on fundamental constants of Nature so they don't match the solutions you provided. Although your testing method (just try a bunch of values and see if they fit) is worth pursuing.

However, I have already returned to my original problem and devised the needed code fix which turned out to be simple. Namely the easy solution is to invert it and no longer is there a difference in the denominator. The equation ##(B-C)/A## can now simply become ##B/A-C/A## which is a simple (once subtraction) code modification.

Thank you for taking a look and sharing your views, exploring this from all sorts of angles. Much appreciated.
 
Last edited:
  • #14
Doug Brown said:
I was only looking for any solution not any sort of only unique solution.
Well that is easy. Choose any value you like for D. Solve the equation for E (as function of A, B, C, D).
 

Related to How to determine D and E given A/(B-C)=D/B + E/C?

1. What is the formula for determining D and E in the given equation?

The formula for determining D and E in the given equation is A/(B-C)=D/B + E/C.

2. How do you solve for D and E in the given equation?

To solve for D and E in the given equation, you can use algebraic manipulation to isolate the variables on one side of the equation. Then, you can solve for D and E using basic algebraic operations.

3. What are the steps for solving the given equation to find D and E?

The steps for solving the given equation to find D and E are as follows:
1. Multiply both sides of the equation by the least common denominator of B and C.
2. Distribute the denominator to both sides of the equation.
3. Combine like terms on both sides of the equation.
4. Move the terms containing D and E to one side of the equation.
5. Factor out D and E and solve for them using basic algebraic operations.

4. Can you provide an example of how to solve for D and E in the given equation?

Sure, let's say the given equation is 5/(2-3)=D/2 + E/3. Using the steps mentioned above, we can solve for D and E as follows:
1. Multiply both sides by the least common denominator of 2 and 3, which is 6. This gives us 30 = 3D + 2E.
2. Distribute the denominator to both sides. This gives us 30 = 3D + 2E.
3. Combine like terms on both sides. This gives us 30 = 3D + 2E.
4. Move the terms containing D and E to one side. This gives us 30 - 3E = D.
5. Factor out D and E and solve for them. This gives us D = 30 - 3E and E = (30 - D)/2.

5. Are there any special cases to consider when solving for D and E in the given equation?

Yes, there are a few special cases to consider when solving for D and E in the given equation. If the denominators B and C are both equal to 0, then the equation is undefined and there is no solution. Additionally, if the denominators B and C are equal to each other, then the equation becomes linear and there are infinitely many solutions for D and E.

Similar threads

Replies
5
Views
1K
  • General Math
Replies
1
Views
745
Replies
6
Views
964
Replies
1
Views
765
  • General Math
Replies
2
Views
804
Replies
2
Views
1K
Replies
19
Views
2K
Replies
1
Views
859
Replies
9
Views
2K
  • General Math
Replies
1
Views
656
Back
Top