Skip to content

Search topics

Practise for free Sign in

Calculator Exponentials and logarithms

Solve aˣ = b

In one sentence

Gives x = ln b/ln a.

Last checked Source: uk-dfe-alevel-maths-subject-content Source: Department for Education, GCE AS and A level subject content for mathematics (topics derived; every example and value computed here), uk-dfe-alevel-maths-subject-content www.gov.uk (opens in a new tab)

Key facts

Solve aˣ = b

Formula ref
x = ln b/ln a
Topic
Exponentials and logarithms

Inputs

  • a > 0, a ≠ 1
  • b > 0

Worked input

  • Input 7ˣ = 90.
  • x = ln 90/ln 7 = 2.3124.
  • Solve 3ˣ = 81, where 81 is a power of 3, so the logarithms cancel to a whole number. ln 81/ln 3 = 4. When the target is an exact power of the base the logarithms cancel to give a whole number, and recognising this lets you write the answer straight down. Always state the final answer to a sensible number of significant figures, and if the equation comes from a context such as growth over years, say what the value of x means in that context, because an unlabelled number loses the communication mark. Check: 3 × 3 × 3 × 3 is 81, so x = 4 is the exact solution and no rounding was needed.
  • Solve 2ˣ = 0.1, where the target is below 1, so x has to be negative. ln 0.1/ln 2 = −3.3219. A target below one forces a negative exponent whatever the base, so the sign of the answer is known before any calculation, and the size can be bracketed between two whole numbers. Check: 2⁻³ = 0.125 and 2⁻⁴ = 0.0625, so the solution lies between −4 and −3, and −3.3219 does.
  • Solve 5ˣ = 1, the case where the target is exactly 1. ln 1 is zero, so x = 0. A target of exactly one always gives an exponent of zero, because any positive base to the power zero is one, so this special case needs no calculation at all. Check: any non-zero base raised to the power 0 equals 1, so x = 0 is the only solution.

How to use it

  • Enter a and b.
  • Substitute back to check.

Solve aˣ = b in your study of A-level maths, set out with its source.

Related pages include Exponential fit from two points, Resultant force calculator, Power law fit from two points and Resolve a force calculator.

Study brief

  • To prepare for the a level maths, students must understand how to handle equations involving exponential forms. When encountering equations of the form e raised to the power of ax + b = p, the solution for x is expected to be found. This process relates to the use of logarithms, where the expression ln (ax + b) = q may be used. Understanding the laws of logarithms is essential for these calculations. These laws include loga x + loga y = loga (xy), loga x − loga y = loga (x/y), and k loga x = loga xk, which remains valid even when k equals −1 or −1/2. In some instances, solving equations of the form a to the power of x = b might require using the change of base formula. These mathematical skills are part of the Pearson Edexcel Level 3 Advanced GCE in Mathematics Specification, Issue 4, dated February 2020.

Practise for free

Test yourself with exam-style questions and see why each answer is right or wrong.

Start practising
Free practice, no card Start without an account Sources checked Every fact names its official source
Works on any device Phone, tablet or desktop
Contact us Questions or a correction