Question on solving an equation involving logs

  • Thread starter Thread starter Pyroadept
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on solving the equation a.log(x) + b.log(1-x) = c, where a, b, and c are constants. The initial approach for the case when a equals b simplifies to a quadratic equation, but the challenge arises when a does not equal b. Participants suggest using properties of logarithms and the binomial theorem to manipulate the equation into a solvable form. Ultimately, rewriting the equation as p^{a/b}(1-p) = e^{c/b} is proposed as a potential solution.

PREREQUISITES
  • Understanding of natural logarithms and their properties
  • Familiarity with algebraic manipulation of equations
  • Knowledge of the binomial theorem
  • Experience with exponential functions
NEXT STEPS
  • Study the properties of logarithms in depth
  • Learn about the binomial theorem and its applications
  • Explore methods for solving nonlinear equations
  • Investigate numerical methods for approximating solutions to complex equations
USEFUL FOR

Students and educators in mathematics, particularly those dealing with logarithmic equations and algebraic manipulation techniques.

Pyroadept
Messages
82
Reaction score
0

Homework Statement


(Here, by 'log' I mean natural logarithm)

Solve for x:

a.log(x) + b.log(1-x) = c

for a, b and c constants


Homework Equations





The Attempt at a Solution


Hi everyone,

This is so embarrassing but this is really stumping me! I know how to do it if a=b:

a.log(x) + a.log(1-x) = c

log(x) + log(1-x) = c/a

log(x(1-x)) = c/a

x(1-x) = exp(c/a)

and then you get a quadratic in x which you can solve.

However, I can't work out how to solve it if a is not equal to b, as I can't see how to group up the logs nicely without ending up with horrible powers of x. What direction should I go in?

Thanks for any help!
 
Physics news on Phys.org
Pyroadept said:

Homework Statement


(Here, by 'log' I mean natural logarithm)

Solve for x:

a.log(x) + b.log(1-x) = c

for a, b and c constants

Homework Equations



The Attempt at a Solution


Hi everyone,

This is so embarrassing but this is really stumping me! I know how to do it if a=b:

a.log(x) + a.log(1-x) = c

log(x) + log(1-x) = c/a

log(x(1-x)) = c/a

x(1-x) = exp(c/a)

and then you get a quadratic in x which you can solve.

However, I can't work out how to solve it if a is not equal to b, as I can't see how to group up the logs nicely without ending up with horrible powers of x. What direction should I go in?

Thanks for any help!
For this general case, I doubt that any approach will give a "nice" result.

Divide both sides by b.

Use properties of logarithms:

a∙log(u) = log(ua)

log(p)+log(q) = log(p∙q)
 
Pyroadept said:
(Here, by 'log' I mean natural logarithm)

Wouldn't it be simpler if you had just typed ##\ln## then? :smile:
a\ln (x) + b\ln (1-x) = c<br /> \\\ln x^a+\ln (1-x)^b=c
 
I thought it might come out looking like an 'In'... :)

So if I get it down to:

p^{a}(1-p)^{b} = e^c

how can I solve for p then? Assuming the a and b are large-ish numbers like, say, 10 and 20.
 
Pyroadept said:
I thought it might come out looking like an 'In'... :)

So if I get it down to:

p^{a}(1-p)^{b} = e^c

how can I solve for p then? Assuming the a and b are large-ish numbers like, say, 10 and 20.

Since ##a\not = b##, i think you'll have to first expand ##(1-p)^b## using binomial theorem, and then multiply ##p^a## into that expansion.
 
Pyroadept said:
I thought it might come out looking like an 'In'... :)

So if I get it down to:

p^{a}(1-p)^{b} = e^c

how can I solve for p then? Assuming the a and b are large-ish numbers like, say, 10 and 20.
Of course you could rewrite this as
\displaystyle p^{\,a/b}(1-p)=e^{\,c/b}​
 
Thanks guys, I appreciate it! :)
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K