Solving for NlnN - n1ln(n1) - n2ln(n2) by Adding and Subtracting Terms

  • Thread starter karnten07
  • Start date
Finally, we can use the fact that ln(a^b) = blna one more time to get: ln(Nn1Nn2) + ln((n1/N)^n1(n2/N)^n2) = ln(Nn1Nn2(n1/N)^n1(n2/N)^n2) = ln(N(n1/N)^n1(n2/N)^n2)In summary, we can use the artifice of adding and subtracting the term n1lnN and then regrouping to show that NlnN - n1ln(n1) - n2ln(n2) is equal to -N{(n1/N)ln(n1/N) + (n2/N
  • #1
karnten07
213
0
[SOLVED] Logs and rearranging

Homework Statement



I want to show that NlnN - n1ln(n1) - n2ln(n2) is equal to:

-N{(n1/N)ln(n1/N) + (n2/N)ln(n2/N)}

apparently i can do this by the artifice of adding and subtracting the term n1lnN and then regrouping.

Homework Equations





The Attempt at a Solution



I can get the form required but i still have leftover N's and n1s and n2s, anyone know how to do this? thanks
 
Physics news on Phys.org
  • #2


Hello, I am a scientist and I would like to help you solve this problem. First, let's start by rewriting the original equation as: NlnN - n1ln(n1) - n2ln(n2) = NlnN - (n1lnN + n2lnN) + (n1lnn1 + n2lnn2)

Now, we can rearrange this equation by factoring out lnN and grouping the remaining terms: NlnN - (n1lnN + n2lnN) + (n1lnn1 + n2lnn2) = lnN(N - n1 - n2) + (n1lnn1 + n2lnn2)

Next, we can use the fact that n1 + n2 = N to substitute into the equation: lnN(N - n1 - n2) + (n1lnn1 + n2lnn2) = lnN(N - (N - n1 - n2)) + (n1lnn1 + n2lnn2)

Simplifying this, we get: lnN(n1 + n2) + (n1lnn1 + n2lnn2) = lnNn1 + lnNn2 + n1lnn1 + n2lnn2

Now, we can use the logarithmic property ln(ab) = lna + lnb to rewrite this equation as: lnNn1 + lnNn2 + n1lnn1 + n2lnn2 = ln(Nn1) + ln(Nn2) + ln(n1^n1) + ln(n2^n2)

Finally, we can use the fact that ln(ab) = ln(a) + ln(b) and ln(a^b) = blna to simplify the equation: ln(Nn1) + ln(Nn2) + ln(n1^n1) + ln(n2^n2) = ln(Nn1Nn2) + ln(n1^n1n2^n2)

Substituting back into the original equation, we get: NlnN - n1ln(n1) - n2ln(n2) = ln(Nn1Nn2) + ln(n1^n1n2^n2) = ln(Nn1Nn2) + ln((n1/N)^n1(n2/N)^n
 
  • #3

To solve for NlnN - n1ln(n1) - n2ln(n2), we can use the fact that ln(a/b) = ln(a) - ln(b). Therefore, we can rewrite the expression as:

NlnN - n1ln(n1) - n2ln(n2) = NlnN - n1lnN + n1ln(n1/N) - n2lnN + n2ln(n2/N)

Now, we can regroup the terms as follows:

NlnN - n1lnN - n2lnN + n1ln(n1/N) + n2ln(n2/N)

Factoring out the common factor of N, we get:

N(lnN - lnN - lnN) + n1ln(n1/N) + n2ln(n2/N)

Simplifying further, we get:

N(0) + n1ln(n1/N) + n2ln(n2/N)

Which is equal to:

n1ln(n1/N) + n2ln(n2/N)

Finally, we can use the fact that ln(a/b) = -ln(b/a) to rewrite the expression as:

n1ln(n1/N) + n2ln(n2/N) = -n1ln(N/n1) - n2ln(N/n2)

And since N/n1 = n1/N and N/n2 = n2/N, we can rewrite the expression as:

-n1ln(n1/N) - n2ln(n2/N) = -n1ln(n1/N) - n2ln(n2/N)

Therefore, we have shown that NlnN - n1ln(n1) - n2ln(n2) is equal to -N{(n1/N)ln(n1/N) + (n2/N)ln(n2/N)}, by adding and subtracting terms.
 

Related to Solving for NlnN - n1ln(n1) - n2ln(n2) by Adding and Subtracting Terms

1. How do you solve for NlnN?

To solve for NlnN, you can use the method of adding and subtracting terms. This involves rearranging the equation to isolate the NlnN term on one side and then manipulating the other terms to simplify the equation and find the value of N.

2. What does "n1ln(n1)" mean in the equation?

"n1ln(n1)" represents the logarithmic function, where n1 is the base and n1 is the argument. This means that the value of n1 is being raised to the power of itself. In other words, the logarithm of n1 with base n1 is equivalent to 1.

3. Can you explain the significance of "n2ln(n2)" in the equation?

"n2ln(n2)" is also a logarithmic function, where n2 is the base and n2 is the argument. However, in this case, the value of n2 is being raised to the power of itself minus 1. This means that the logarithm of n2 with base n2 is equivalent to 1 minus the value of n2.

4. How do you manipulate the equation by adding and subtracting terms?

To manipulate the equation by adding and subtracting terms, you can use algebraic properties such as the distributive property, combining like terms, and moving terms to the other side of the equation. This will help simplify the equation and isolate the NlnN term on one side.

5. Can this method be applied to any equation with logarithmic terms?

Yes, the method of adding and subtracting terms can be applied to any equation with logarithmic terms. However, the specific steps and techniques used may vary depending on the structure of the equation. It is important to carefully analyze the equation and use algebraic properties to manipulate it in a way that simplifies and isolates the desired term.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Introductory Physics Homework Help
Replies
17
Views
2K
  • Advanced Physics Homework Help
Replies
3
Views
2K
  • Introductory Physics Homework Help
Replies
4
Views
3K
  • Precalculus Mathematics Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
3K
  • Precalculus Mathematics Homework Help
Replies
2
Views
2K
  • Introductory Physics Homework Help
Replies
12
Views
2K
  • Computing and Technology
Replies
1
Views
5K
Back
Top