What is the value of n in x^n=y if x and y are given?

  • Thread starter univeruser
  • Start date
  • Tags
    Value
In summary, the conversation discusses solving the equation xn=y, if x and n are given, and how to calculate logs by hand. The equation is an exponential equation and the logarithm of a number, relative to some base, is the exponent on the base that produces that number. While there are ways to calculate logs by hand, they are not easy and usually require the use of a calculator. However, for approximate answers, it is possible to use power series and rounding to the nearest integer to estimate the value of n in cases where it is a positive integer.
  • #1
univeruser
54
0
Hi all. As the question suggests, there is nothing much I need to explain. It's simple: what is xn=y, if x and n are given? Since this is an algebraic equation, it becomes x=n√y. Like for example, 3n=9. With a little bit of common sense, we can see that n is 2, but what about larger numbers?

Please try to keep your method of solving this equation simple, given my inability to understand complicated stuff like logs, antilogs, etc.

If anyone wants to know why I want this, it's because I've been cracking my head on it for weeks. Just like that.

P.S. Please don't use logs. Because, if you look at it carefully, you shall see that this equation itself is a logarithm. x is the base, n the unknown log of y, and y the number.

Better still, tell me how logs can be calculated easily on hand. The same thing, of course.
 
Mathematics news on Phys.org
  • #2
univeruser said:
Hi all. As the question suggests, there is nothing much I need to explain. It's simple: what is xn=y, if x and n are given? Since this is an algebraic equation, it becomes x=n√y. Like for example, 3n=9. With a little bit of common sense, we can see that n is 2, but what about larger numbers?

I don't understand what you are asking. So if x and n is given, are you asking how to calculate xn?

Or are you asking how to calculate n, given x and y, which is what your numeric example suggests.

In the latter case, you are asking how to calculate the value of the logarithm. That's all logarithm means. A logarithm IS the number to which you must raise a number x (called the base) in order to obtain a given number y.

If you have y = xn, then the equation is rewritten to give n, or x, as follows:
[tex]\begin{align*}
y &= x^n \\
x & = y^{1/n} \\
n & = \log_x \; y
\end{align*}[/tex]​

There's no easy direct way to solve any of these by hand, except in some special cases, such as calculating y or x when n is 2. There are ways to obtain numeric solutions by successive approximations, however. Is that what you want?

Cheers -- sylas
 
  • #4
univeruser said:
P.S. Please don't use logs.
With this one statement, your request becomes impossible. Or at best impractical, since the only other option would be trial and error.

It's like asking how to solve Ax = B, where A and B are given ... but please don't use multiplication or division!
 
  • #5
But don't you see, it's the lack of simplicity for calculating logs by hand that has forced univeruser to make such a remark.

The difference in your example is that the process of division has rules that make the problem simple to solve by hand. Logs on the other hand are problematic to say the least.
 
  • #6
univeruser said:
Hi all. As the question suggests, there is nothing much I need to explain. It's simple: what is xn=y, if x and n are given? Since this is an algebraic equation, it becomes x=n√y. Like for example, 3n=9. With a little bit of common sense, we can see that n is 2, but what about larger numbers?
The thread title and the first paragraph aren't consistent, and might have lead to some confusion. The title asks what's the value of n if x and y are given, and in the first paragraph, you're asking what is xn = y if x and n are given.
univeruser said:
Please try to keep your method of solving this equation simple, given my inability to understand complicated stuff like logs, antilogs, etc.

If anyone wants to know why I want this, it's because I've been cracking my head on it for weeks. Just like that.

P.S. Please don't use logs. Because, if you look at it carefully, you shall see that this equation itself is a logarithm. x is the base, n the unknown log of y, and y the number.
No, an equation can't be a logarithm. The equation is an exponential equation, since the variable you wish to solve for is in the exponent. You're part right, though -- the logarithm of a number is an exponent. More precisely, the logarithm, relative to some base, of a number a is the exponent on the base that produces that number. In mathematical terms. y = logb a <==> a = by.
univeruser said:
Better still, tell me how logs can be calculated easily on hand. The same thing, of course.
Generally speaking, logs can't be calculated easily by hand. The same is true for other functions, such as the sine, cosine, and tangent functions. We have ways of calculating values involving these trig functions as well as the logs of numbers in a few bases, and most of them involve power series of one kind or another. The calculations can be done by hand, but they're not what I would call easy.
 
  • #7
Estimating logarithms

As others have already pointed out, if you want an accurate answer for arbitrary values of x, y and n, you have no choice but to use logs, and you'll need a calculator (or, for old-schoolers, book of log tables or slide rule) or else be a masochist for working out a long and complicated power series formula.

However, if you only need an approximate answer, there are ways to make an estimate. And the way you phrased your original question suggests that you might only be interested in the case where n is a positive integer. In this case you can get an approximate answer and round to the nearest integer and with luck that will be the correct answer. (Even if not, you can add or subtract one until you find the right answer, which shouldn't take long.)

So how to get an approximate answer?

Note first that 210 = 1024 is quite close to 103 = 1000, so we can say, approximately,

103 ≈ 210

so, taking 10th roots,

100.3 ≈ 2​

and then, doubling

100.6 = 102×0.3 ≈ 22 = 4
100.9 = 103×0.3 ≈ 23 = 8​

Continuing doubling we get this:


100.0 = 1
100.3 ≈ 2
100.6 ≈ 4
100.9 ≈ 8
101.2 ≈ 16
101.5 ≈ 32
101.8 ≈ 64
102.1 ≈ 125
102.4 ≈ 250
102.7 ≈ 500
103.0 = 1000

Note also that


100.1 = 102.1 / 102 ≈ 125/100 = 1.25
100.2 = 101.2 / 101 ≈ 16/10 = 1.6

and so on, so we get


100.0 = 1
100.1 ≈ 1.25
100.2 ≈ 1.6
100.3 ≈ 2
100.4 ≈ 2.5
100.5 ≈ 3.2
100.6 ≈ 4
100.7 ≈ 5
100.8 ≈ 6.4
100.9 ≈ 8
101.0 = 10

This is enough to estimate any power of ten where the exponent is given to one decimal place, e.g.


104.2 = 100.2 × 104 ≈ 16000

So now let's apply this to an actual problem. E.g. solve 3n = 2187.

From the above table we can estimate that 3 ≈ 100.5 and 2187 ≈ 103.3.

So


100.5n ≈ 103.3

and so


0.5n ≈ 3.3
n ≈ 6.6

If you were told in advance that n was an integer, you could guess the answer must be 7 and then check that that is indeed correct.

The above technique can be taken further (more accurately) by filling in the table for values in between, e.g. 100.05 ≈ 1.1, 100.15 ≈ 1.4, ...
 

Related to What is the value of n in x^n=y if x and y are given?

1. What is the value of n?

The value of n represents the power or exponent in the mathematical equation x^n=y.

2. How do you find the value of n?

To find the value of n, you can use logarithms or algebraic manipulation to solve for n in the equation x^n=y.

3. Can n be a negative number?

Yes, n can be a negative number in the equation x^n=y. This represents a fractional or decimal power, which can be solved using logarithms or algebra.

4. What is the significance of n in the equation?

The value of n determines the relationship between x and y in the equation x^n=y. It represents the number of times x is multiplied by itself to equal y.

5. Are there any restrictions on the values of x and y in the equation?

Yes, there are some restrictions on the values of x and y in the equation x^n=y. The value of x cannot be 0, and the value of y must be a positive number.

Similar threads

  • General Math
Replies
3
Views
1K
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
17
Views
470
  • General Math
Replies
2
Views
1K
Replies
1
Views
2K
Replies
17
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
231
Replies
4
Views
1K
  • General Math
Replies
4
Views
1K
Replies
9
Views
1K
Back
Top