# math question, solving for x when i know the exponent and the answer

**URL:** <https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798>\
**Category:** Factual Questions\
**Created:** [October 29, 2004, 3:55am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798 "2004-10-29T03:55:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivar](https://avatars.discourse-cdn.com/v4/letter/i/51bf81/32.png) [@Ivar](https://boards.straightdope.com/u/Ivar)\
**Post date:** [October 29, 2004, 3:55am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/1 "2004-10-29T03:55:08Z")

</div>

I have the following

.96=x^.05

what’s the manipulation to solve for x?

IOW, .96^(?)=x

---

<div class="post-metadata">

**Author:** ![Joey\_P](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@Joey\_P](https://boards.straightdope.com/u/Joey_P)\
**Post date:** [October 29, 2004, 3:57am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/2 "2004-10-29T03:57:26Z")

</div>

logs

---

<div class="post-metadata">

**Author:** ![Joey\_P](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@Joey\_P](https://boards.straightdope.com/u/Joey_P)\
**Post date:** [October 29, 2004, 4:05am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/3 "2004-10-29T04:05:20Z")

</div>

Or x = .96[sup]1/.05[/sup]

That’s taking the .05th root of each side.

---

<div class="post-metadata">

**Author:** ![wolf\_meister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/wolf_meister/32/15202_2.png) [@wolf\_meister](https://boards.straightdope.com/u/wolf_meister)\
**Post date:** [October 29, 2004, 6:13am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/4 "2004-10-29T06:13:33Z")

</div>

JoeyP didn’t show the entire procedure:

If .96=x^.05 then by taking logs of both sides we have:

log(.96) = .05 \* log(x)

log(.96)  
------------ = log(x)  
.05

-.01773  
------------ = log(x)  
.05

-0.35458 = log(x)

x = .70147

Hmm seems that is a different answer from what JoeyP has.

---

<div class="post-metadata">

**Author:** ![Snarky\_Kong](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@Snarky\_Kong](https://boards.straightdope.com/u/Snarky_Kong)\
**Post date:** [October 29, 2004, 6:21am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/5 "2004-10-29T06:21:40Z")

</div>

> [@wolf\_meister](#):
>
> JoeyP didn’t show the entire procedure:
> 
> If .96=x^.05 then by taking logs of both sides we have:
> 
> log(.96) = .05 \* log(x)
> 
> log(.96)  
> ------------ = log(x)  
> .05
> 
> -.01773  
> ------------ = log(x)  
> .05
> 
> -0.35458 = log(x)
> 
> x = .70147
> 
> Hmm seems that is a different answer from what JoeyP has.

Yeah, you used log base 10 in taking the log of .96 and the natural log of x in your last step.

---

<div class="post-metadata">

**Author:** ![wolf\_meister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/wolf_meister/32/15202_2.png) [@wolf\_meister](https://boards.straightdope.com/u/wolf_meister)\
**Post date:** [October 29, 2004, 6:24am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/6 "2004-10-29T06:24:53Z")

</div>

Damn I was using Excel to find those logs. I always thought Excel defaulted to natural logs. Seems it defaults to base 10 logs. :smack:

SO… reworking the last step

-0.35458 = log(x)

x = 10^-0.35458

x = .442002

and JoeyP’s answer is

.96^20 which equals

.442002 which agrees with the “revised” answer.

---

<div class="post-metadata">

**Author:** ![RealTronic](https://avatars.discourse-cdn.com/v4/letter/r/9dc877/32.png) [@RealTronic](https://boards.straightdope.com/u/RealTronic)\
**Post date:** [October 29, 2004, 6:28am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/7 "2004-10-29T06:28:24Z")

</div>

Both your methods are correct, however **wolf\_meister** you must have made some calculation error in the final step since the correct answer should be 0.442002 which is

a) 0.96^1/0.05  
or  
b) 10^log(x)

---

<div class="post-metadata">

**Author:** ![Nightime](https://avatars.discourse-cdn.com/v4/letter/n/e9c0ed/32.png) [@Nightime](https://boards.straightdope.com/u/Nightime)\
**Post date:** [October 29, 2004, 6:29am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/8 "2004-10-29T06:29:29Z")

</div>

Your last step is wrong Wolf.  
if -0.35458 = log(x)  
then x = 10^(-.35458) = .442

I can see what you did though - you used base 10 logs to start, then you switched to natural logs at the end.

---

<div class="post-metadata">

**Author:** ![Nightime](https://avatars.discourse-cdn.com/v4/letter/n/e9c0ed/32.png) [@Nightime](https://boards.straightdope.com/u/Nightime)\
**Post date:** [October 29, 2004, 6:30am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/9 "2004-10-29T06:30:53Z")

</div>

Wow. My record for simulposts.

---

<div class="post-metadata">

**Author:** ![wolf\_meister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/wolf_meister/32/15202_2.png) [@wolf\_meister](https://boards.straightdope.com/u/wolf_meister)\
**Post date:** [October 29, 2004, 6:31am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/10 "2004-10-29T06:31:10Z")

</div>

Good work Snarky.

As I was typing my correction, you already posted yours.

I was using the log function in Excel which yielded natural logs\* in earlier versions\*. _Now_ it seems that “log” yields base 10 logs.

Ironically, I should have used my own logarithm calculator at  
[http://www.1728.com/logrithm.htm](http://www.1728.com/logrithm.htm)

:smack:

---

<div class="post-metadata">

**Author:** ![nivlac](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@nivlac](https://boards.straightdope.com/u/nivlac)\
**Post date:** [October 29, 2004, 6:33am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/11 "2004-10-29T06:33:46Z")

</div>

> [@Ivar](#):
>
> I have the following
> 
> .96=x^.05
> 
> what’s the manipulation to solve for x?
> 
> IOW, .96^(?)=x

The solution of x^a = b does not require logs. The easy answer is x = b^(1/a). Now if the unknown x is part of an exponent, then you’ll have to resort to logs. That’s how you can bring x “down” a level to solve.

---

<div class="post-metadata">

**Author:** ![wolf\_meister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/wolf_meister/32/15202_2.png) [@wolf\_meister](https://boards.straightdope.com/u/wolf_meister)\
**Post date:** [October 29, 2004, 6:37am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/12 "2004-10-29T06:37:58Z")

</div>

**Nightime**  
and it seems I set a personal record for 2 “smack-the-head” postings in the same thread. 😃

---

<div class="post-metadata">

**Author:** ![Snarky\_Kong](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@Snarky\_Kong](https://boards.straightdope.com/u/Snarky_Kong)\
**Post date:** [October 29, 2004, 6:40am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/13 "2004-10-29T06:40:33Z")

</div>

> [@wolf\_meister](#):
>
> Good work Snarky.
> 
> As I was typing my correction, you already posted yours.
> 
> I was using the log function in Excel which yielded natural logs\* in earlier versions\*. _Now_ it seems that “log” yields base 10 logs.
> 
> Ironically, I should have used my own logarithm calculator at  
> [http://www.1728.com/logrithm.htm](http://www.1728.com/logrithm.htm)
> 
> :smack:

Heck I was amazed that I got it in there before everyone else.

---

<div class="post-metadata">

**Author:** ![Bryan\_Ekers](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bryan_ekers/32/183_2.png) [@Bryan\_Ekers](https://boards.straightdope.com/u/Bryan_Ekers)\
**Post date:** [October 29, 2004, 6:44am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/14 "2004-10-29T06:44:30Z")

</div>

Log, shmog. Just raise both sides of the equation to the 20th power, which is equivalent to Joey P’s second post, only more simply explained.

---

<div class="post-metadata">

**Author:** ![Roches](https://avatars.discourse-cdn.com/v4/letter/r/bc8723/32.png) [@Roches](https://boards.straightdope.com/u/Roches)\
**Post date:** [October 29, 2004, 7:39am UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/15 "2004-10-29T07:39:29Z")

</div>

wolf\_meister: Excel is designed to be used in offices. It generally makes scientific and technical calculations as difficult as possible – so why would you think it would default to natural logs? =) (Not that I can imagine many business applications for logarithms anyway, but still.)

I like how you can’t use superscript or subscript in the graphing tool (or in certain places in Powerpoint, IIRC). Try making a graph called ‘Dissociation Constants of Halogen-Substituted Derivatives of Butanoic Acid (CH[sub]3[/sub]CH[sub]2[/sub]CH[sub]2[/sub]COOH)’. Polyatomic ions are also impossible (something like **ClO[sub]4[/sub][sup]-[/sup]**, only the superscript and subscript are aligned vertically. If you want that to look right, you have to use Equation Editor.

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [October 29, 2004, 1:21pm UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/16 "2004-10-29T13:21:29Z")

</div>

> [@Roches](#):
>
> Excel is designed to be used in offices. It generally makes scientific and technical calculations as difficult as possible – so why would you think it would default to natural logs?

I don’t know off hand whether it does or not, but _if_ it does, I’d guess it’s because that’s the easiest kind for the computer to calculate. As far as I know, the computer’s algorithm for finding logs to other bases (like common logs) would involve finding natural logs and converting.

The OP’s equation could also be written as .96 = x[sup]1/20[/sup], which makes it more obvious why **Bryan Ekers** ’s simple solution is correct.

---

<div class="post-metadata">

**Author:** ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)\
**Post date:** [October 29, 2004, 1:38pm UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/17 "2004-10-29T13:38:10Z")

</div>

> [@Thudlow Boink](#):
>
> I don’t know off hand whether it does or not, but _if_ it does, I’d guess it’s because that’s the easiest kind for the computer to calculate. As far as I know, the computer’s algorithm for finding logs to other bases (like common logs) would involve finding natural logs and converting.

It’s no harder to find one than the other, and even if it were, the conversion process consists simply of multiplying by a constant. The constant is log[sub]10[/sub] e = 0.434294. To convert the other way, you multiply by log[sub]e[/sub] 10 = 2.30259 = 1 / 0.434294.

---

<div class="post-metadata">

**Author:** ![Desmostylus](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@Desmostylus](https://boards.straightdope.com/u/Desmostylus)\
**Post date:** [October 29, 2004, 1:48pm UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/18 "2004-10-29T13:48:30Z")

</div>

I take that back. It _can be_ slightly easier to calculate log[sub]e[/sub] than log[sub]10[/sub], but only because you can omit a single multiplication if you’re using a power series.

---

<div class="post-metadata">

**Author:** ![wolf\_meister](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/wolf_meister/32/15202_2.png) [@wolf\_meister](https://boards.straightdope.com/u/wolf_meister)\
**Post date:** [October 29, 2004, 2:02pm UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/19 "2004-10-29T14:02:16Z")

</div>

As I said, the Excel default for logs _was_ natural logs but I suppose they changed it in time for me to make my miscalculation. Instead of using their anti-log function (which would be exp ???) I figured I’d take the easy way (and incorrect way) and raise ‘e’ (I typed out 2.718281828) and to the -.35458th power. It would have been easier (and correct) to have used 10.

In case you are wondering, my log calculator (and the others) are correct. The one thing I like about programming is that you have to get your calculations correct _just once_. Then you don’t have to worry about which logs to use, etc.

I also think **Bryan Ekers** answer / explanation is the best. Of course JoeyP was first.

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://boards.straightdope.com/u/Jinx)\
**Post date:** [October 29, 2004, 2:23pm UTC](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798/20 "2004-10-29T14:23:46Z")

</div>

So, in general, when solving problems such as the OP, do you use ln? or log? And, if it’s ln (natural log) how do we know this? If ln, then how did “e” enter into the problem…and, why doesn’t base 10 work? It seems counterintuitive that base 10 wouldn’t work…when our whole number system is based on powers of ten. - Jinx

[Next page](https://boards.straightdope.com/t/math-question-solving-for-x-when-i-know-the-exponent-and-the-answer/271798.md?page=2)
