Solve for x logarithm question

  • Thread starter Ascleipus
  • Start date
  • Tags
    Logarithm
In summary, the problem asks to solve for x, but gives no indication as to what kind of x should be used. After experimenting with different exponents, I end up with the following equation: x=ln(10) \frac{W\left(\frac{5^{5/ln(10)}}{ln(10)/4} \right)}{4} where W is Lambert's W function.
  • #1
Ascleipus
21
0

Homework Statement


The problem asks to solve for x

log(x)=-4x+5 (the log has base 10 - not natural log)


Homework Equations





The Attempt at a Solution


log(x)=-4x+5

10^-4x+5=x

log(10^-4x+5)=log(x)
-4x+5*log(10)=log(x)
-4x+5=log(x)

seems at first to be a simple enough question to solve, however I only end up with a circular solution bringing me back to the original question when i take the log of this to bring down the exponent (of course)


Any help would be appreciated :)
 
Physics news on Phys.org
  • #2
You could try writing $$log_{10}x=\frac{ln x}{ln10} $$
 
  • #3
There isn't going to be any simple "algebraic" way to solve that because you have the unknown, x, both inside and outside the logarithm. The first thing I would do is use CAF123's suggestion to change to natural logarithm: [itex]ln(x)/ln(10)= -4x+ 5[/itex] so that [itex]ln(x)= (-4/ln(10))x+ 5/ln(10)[/itex]. Now take the exponential of both sides:
[itex]x= e^{(-4ln(10))x}e^{5/ln(10)}[/itex]

[itex]xe^{(4/ln(10))x}= e^{5/ln(10)}[/itex]

Now let y= (4/ln(10))x so that x= (ln(10)/4)y and the equation becomes
[itex](ln(10)/4)ye^y= 5^{5/ln(10)}[/itex]

[tex]ye^y= \frac{5^{5/ln(10)}}{ln(10)/4}[/tex]

and therefore
[tex]y= W\left(\frac{5^{5/ln(10)}}{ln(10)/4)}\right)[/tex]
where "W" is Lambert's W function (http://en.wikipedia.org/wiki/Lambert_W_function) which is defined as the inverse function to [itex]f(x)= xe^x[/itex]
(I told you there was no simple "algebraic" solution!)

Since we defined y= (4/ln(10))x, we have, finally,
[tex]x= ln(10)\frac{W\left(\frac{5^{5/ln(10)}}{ln(10)/4)}\right)}{4}[/tex]
May you have joy of it!

Since this was posted under "Precalculus Mathematics", where in the world did you get this problem?
 
  • #4
HallsofIvy said:
There isn't going to be any simple "algebraic" way to solve that because you have the unknown, x, both inside and outside the logarithm. The first thing I would do is use CAF123's suggestion to change to natural logarithm: [itex]ln(x)/ln(10)= -4x+ 5[/itex] so that [itex]ln(x)= (-4/ln(10))x+ 5/ln(10)[/itex].

Should that be ##ln(x) = ln(10)[5 - 4x]?## Instead of taking the exponential of both sides, I then said ##ln(x) = 5ln(10) - 4x ln(10)\,\Rightarrow ln(x) = ln \left(\frac{10^5}{10^{4x}} \right)##. I now take exp to get ##x10^{4x} = 10^5.##
 
  • #5
it will be easier to solve this question using Newton-Raphson method. :)
 
  • #6
CAF123 said:
Should that be ##ln(x) = ln(10)[5 - 4x]?## Instead of taking the exponential of both sides, I then said ##ln(x) = 5ln(10) - 4x ln(10)\,\Rightarrow ln(x) = ln \left(\frac{10^5}{10^{4x}} \right)##. I now take exp to get ##x10^{4x} = 10^5.##
Yes, I messed that up. Thanks for catching it. But that still has no "algebraic" solution. In order to use the W function, you will need to convert to "e". [tex]10^{4x}= e^{ln(10^{4x}}= e^{4xln(10)}[/tex] so the equation is the same as [tex]xe^{4xln(10)}= 10^5[/tex].

Let y= 4x ln(10) so that x= y/(4 ln(10)). The equation becomes, in terms of y, [tex]\frac{ye^y}{4ln(10}= 10^5[/tex]. [tex]ye^y= 400000 ln(10)[/tex], [tex]y= W\left(40000 ln(10)\right)[/tex].

Then [tex]x= \frac{W\left(40000 ln(10)\right)}{4 ln(10)}[/tex]
 
  • #7
Ascleipus said:

Homework Statement


The problem asks to solve for x

log(x)=-4x+5 (the log has base 10 - not natural log)

You can solve the equation numerically by iteration.
Rewrite it as

x=(5-log(x))/4,

Get the next approximation from a previous one by xk+1=(5-log(xk))/4.

Using x1=1, substitute and get the next approximation: x2=1.25. Substitute again, now you get x3=1.227 ...
 
  • #8
ehild said:
You can solve the equation numerically by iteration.
Rewrite it as

x=(5-log(x))/4,

Get the next approximation from a previous one by xk+1=(5-log(xk))/4.

Using x1=1, substitute and get the next approximation: x2=1.25. Substitute again, now you get x3=1.227 ...
Well, sure, if you want to do it the easy way!
 

Related to Solve for x logarithm question

What is a logarithm?

A logarithm is a mathematical function that helps us solve exponential equations. It tells us what power we need to raise a base number to in order to get a specific number.

What does it mean to "solve for x" in a logarithm question?

Solving for x in a logarithm question means finding the value of x that makes the equation true. In other words, you are trying to find the number that you need to raise the base to in order to get the given number.

How do I solve a logarithm equation?

To solve a logarithm equation, you need to use the properties of logarithms to simplify the equation. Then, you can use algebraic techniques to isolate the variable, x, on one side of the equation. Finally, you can use the inverse property of logarithms to find the value of x.

What are the common properties of logarithms?

The common properties of logarithms are the product property, quotient property, power property, and inverse property. These properties help us simplify logarithm equations and solve for x.

Can a logarithm have more than one solution?

Yes, a logarithm can have more than one solution. This is because the exponential function is not a one-to-one function, meaning that different values of x can result in the same value of the logarithm. However, in most cases, we are only interested in the principal solution, which is the positive value of x that satisfies the equation.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
10
Views
642
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
7
Views
1K
  • Precalculus Mathematics Homework Help
Replies
11
Views
5K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
2K
  • Precalculus Mathematics Homework Help
Replies
17
Views
2K
  • Precalculus Mathematics Homework Help
2
Replies
38
Views
5K
  • Precalculus Mathematics Homework Help
Replies
2
Views
777
Back
Top