A logarythmic/exponential equation where x is the exponent

  • Thread starter Ryker
  • Start date
  • Tags
    Exponent
In summary, x can only be solved for by graphing. There is no way to solve such an equation with "elementary" function though you might be able to rewrite so that you could use "Lambert's W function" which is defined to be the inverse function to f(x)= xe^x.
  • #1
Ryker
1,086
2

Homework Statement


2x-2 - 2 = 5 - x

Find x.


Homework Equations


log(a)x = y


The Attempt at a Solution


I've thought about this a lot and the best I could come up with was getting to ...

x = log(2)(12 - 4x)

The problem is that I seem to be going in circles and I can't drop x to the same level on both sides of the equation. And the thing that really bothers me is that this problem isn't termed as advanced in the book that I'm going through. The book does, however, state that one should take aid in the graphs (charting of which is a part of the problem given). If you do it that way, it's pretty easy to arrive at the solution, but I want to find it without that or just randomly guessing numbers 1, 2, 3 etc. and trying them out.

Any help would be immensely appreciated :)
 
Physics news on Phys.org
  • #2
I do not believe there is an algebraic way to solve for x. Graphing would be the simplest solution.
 
  • #3
There isn't? Well, if that's true, then it would make my day, because I've been trying to find a solution for hours and felt really stupid that I couldn't do a problem not even designated as "advanced" :D

But if anyone does think of a solution to this without reading the graph, I'd be much obliged.
 
  • #4
There is no way to solve such an equation with "elementary" function though you might be able to rewrite so that you could use "Lambert's W function" which is defined to be the inverse function to [itex]f(x)= xe^x[/itex].
 
  • #5
Cool, that's great to hear then. Thanks again!
 
  • #6
I think solving this in terms of the W function offers some nice algebra practice. We wish to get it into the Lambert W form:

[tex]K=h(x)e^{h(x)}[/tex]

then taking the W function of both sides we write it as:

[tex]h(x)=W[K][/tex]

where x then can be isolated from h(x). How about I just show you some of the steps and you fill in the blanks?

Begin with:

[tex]2^{x-2}=7-x[/tex]

[tex]\vdots[/tex]

[tex]1=-(x-7)e^{-(x-2)\log(2)}[/tex]

[tex]\vdots[/tex]

[tex]2^5=-(x-7)e^{-(x-7)\log(2)}[/tex]

[tex]2^5\log(2)=-(x-7)\log(2)e^{-(x-7)\log(2)}[/tex]

That's now in Lambert W form. Can you solve for x now?
 
Last edited:
  • #7
Hmm, are those "(2)" bases of the logarithm? If yes, which of the integers are "numbers x" of the respective logarithms? 25 and -(x - 7)? Because right now, I'm still lost insofar as solving this is concerned :/
 
  • #8
Ryker said:
Hmm, are those "(2)" bases of the logarithm? If yes, which of the integers are "numbers x" of the respective logarithms? 25 and -(x - 7)? Because right now, I'm still lost insofar as solving this is concerned :/

In general, the symbol, "log" refers to log base e in higher math although in high-school it is usually associated with something else. So [itex]\log(2)[/itex] is just log base e of 2. So starting with:

[tex]2^{x-2}=7-x[/tex]

then that's just:

[tex]e^{(x-2)\log(2)}=7-x[/tex]

dividing by the left-side:

[tex]1=(7-x)e^{-(x-2)\log(2)[/tex]

or:

[tex]1=-(x-7)e^{-(x-2)\log(2)}[/tex]

but we wish to get it into Lambert W-form so we need to make the exponent in terms of that -(x-7) term so to do that we multiply both sides by [itex]e^{5\log(2)}=2^5[/itex] to obtain:

[tex]2^5=-(x-7)e^{-(x-7)\log(2}[/tex]

and then just another factor of [itex]\log(2)[/itex] on both sides puts it into the desired form.
 
Last edited:
  • #9
Nicely done! I (very briefly) considered trying that myself- be then decided "that's not my problem"! Glad you did it.
 
  • #10
jackmell said:
In general, the symbol, "log" refers to log base e in higher math although in high-school it is usually associated with something else. So [itex]\log(2)[/itex] is just log base e of 2. So starting with:

[tex]2^{x-2}=7-x[/tex]

then that's just:

[tex]e^{(x-2)\log(2)}=7-x[/tex]

dividing by the left-side:

[tex]1=(7-x)e^{-(x-2)\log(2)[/tex]

or:

[tex]1=-(x-7)e^{-(x-2)\log(2)}[/tex]

but we wish to get it into Lambert W-form so we need to make the exponent in terms of that -(x-7) term so to do that we multiply both sides by [itex]e^{5\log(2)}=2^5[/itex] to obtain:

[tex]2^5=-(x-7)e^{-(x-7)\log(2}[/tex]

and then just another factor of [itex]\log(2)[/itex] on both sides puts it into the desired form.
Damn, that's impressive. Though, the doofus I am, I just realized that my original equation was wrong, it was supposed to be + 2, and not - 2. So I guess I can't really say if I can solve for x after you've served it on a platter, but I was thinking one now just has to bring down e's exponent to 2-(x-7), multiply that with -(x-7) and then carry it over to the log(2)'s exponent. After that you then solve the logarithm to get 2 on the power described above, which you in the last step equate with 5. Would that be correct?

Oh, and sorry for the late reply, the thing is I'm revising high school maths, and due to time constraints I have to move on really fast. And basically when I found out you need advanced maths to solve this problem I was relieved that at this stage I wasn't supposed to know that yet. When does one learn about Lambert's W function anyway?
 
  • #11
Yes, you can solve it the same way and right, you need to bring the exponent to -(x-7) or multiply by [itex]2^9[/itex] this time. The W function is not normally studied in any course that I know of although would be most appropriately done so in Complex Analysis since it's an infinitely-valued complex-analytic function.
 
  • #12
jackmell said:
Yes, you can solve it the same way and right, you need to bring the exponent to -(x-7) or multiply by [itex]2^9[/itex] this time. The W function is not normally studied in any course that I know of although would be most appropriately done so in Complex Analysis since it's an infinitely-valued complex-analytic function.
Ah, okay, so it isn't even studied at the university level? In any case, thanks heaps for your help.
 

FAQ: A logarythmic/exponential equation where x is the exponent

What is a logarithmic equation?

A logarithmic equation is an equation in which the variable appears as the exponent of a logarithm. The general form of a logarithmic equation is logb(x) = y, where b is the base of the logarithm, x is the input value, and y is the output value.

What is an exponential equation?

An exponential equation is an equation in which the variable appears as the exponent of a number. The general form of an exponential equation is ax = y, where a is the base, x is the exponent, and y is the output value.

How do I solve a logarithmic equation where x is the exponent?

To solve a logarithmic equation where x is the exponent, you can use the properties of logarithms to rewrite the equation in a simpler form. Then, you can use algebraic methods to isolate the variable and solve for its value. Remember to check your answers by substituting them back into the original equation.

What is the difference between a logarithmic equation and an exponential equation?

The main difference between a logarithmic equation and an exponential equation is the variable's placement. In a logarithmic equation, the variable is the exponent of a logarithm, while in an exponential equation, the variable is the exponent of a number. Additionally, the inverse operation of a logarithm is an exponential, and the inverse operation of an exponential is a logarithm.

Can an exponential equation be rewritten as a logarithmic equation?

Yes, an exponential equation can be rewritten as a logarithmic equation using the properties of logarithms. For example, the exponential equation 2x = 32 can be rewritten as log2(32) = x. This allows us to solve for the variable x using logarithms.

Similar threads

Replies
4
Views
1K
Replies
6
Views
1K
Replies
14
Views
860
Replies
4
Views
1K
Replies
2
Views
1K
Replies
2
Views
894
Back
Top