Question on solving an equation involving logs

  • Thread starter Pyroadept
  • Start date
In summary, the conversation discusses solving a logarithmic equation for x with given constants a, b, and c. The method for solving is explained for the case where a equals b, but the conversation then turns to the more general case where a does not equal b. Various approaches are suggested, such as dividing both sides by b and using properties of logarithms. The conversation concludes with the suggestion to rewrite the equation in terms of base e and solve from there.
  • #1
Pyroadept
89
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
  • #2
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)
 
  • #3
Pyroadept said:
(Here, by 'log' I mean natural logarithm)

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

So if I get it down to:

p[itex]^{a}[/itex](1-p)[itex]^{b}[/itex] = e^c

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

So if I get it down to:

p[itex]^{a}[/itex](1-p)[itex]^{b}[/itex] = 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.
 
  • #6
Pyroadept said:
I thought it might come out looking like an 'In'... :)

So if I get it down to:

p[itex]^{a}[/itex](1-p)[itex]^{b}[/itex] = 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
[itex]\displaystyle p^{\,a/b}(1-p)=e^{\,c/b}[/itex]​
 
  • #7
Thanks guys, I appreciate it! :)
 

FAQ: Question on solving an equation involving logs

What is a logarithm?

A logarithm is a mathematical function that calculates the power to which a given number (called the base) must be raised in order to obtain another number. In other words, it is the inverse of the exponential function. For example, if the base is 2, then log28 = 3, because 23 = 8.

How do I solve an equation involving logarithms?

To solve an equation involving logarithms, you need to isolate the logarithm on one side of the equation and its argument (the expression inside the logarithm) on the other side. Then, you can use the properties of logarithms to simplify the equation and solve for the variable. It is important to check for extraneous solutions, as some logarithmic equations may have solutions that do not satisfy the original equation.

What are the properties of logarithms?

The properties of logarithms are as follows:

  • Product rule: logb(xy) = logbx + logby
  • Quotient rule: logb(x/y) = logbx - logby
  • Power rule: logb(xn) = nlogbx
  • Change of base formula: logbx = logax / logab

Can I use a calculator to solve logarithmic equations?

Yes, most scientific calculators have a logarithm function (usually denoted as "log" or "ln") that can be used to solve logarithmic equations. However, you may need to adjust the settings on your calculator to ensure that the logarithm is using the correct base.

Why are logarithms important?

Logarithms are important because they allow us to simplify complex mathematical calculations and equations. They are commonly used in fields such as science, engineering, and finance to represent data that varies over several orders of magnitude. Logarithms also have many applications in solving real-world problems, such as calculating population growth rates or earthquake magnitudes.

Back
Top