Solve for the exponent from a known base and result using logarithms.
输入底数 a 与结果 b,求指数 x。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Solving a^x = b | x = log_a(b) = ln(b)/ln(a) | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Existence conditions | A unique real solution exists only for a > 0, a ≠ 1, b > 0 | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Inverse of the logarithm | a^(log_a b) = b and log_a(a^x) = x | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Special value | When b = 1 the solution is x = 0 since a^0 = 1 | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |