Skip to content

Search topics

Practise for free Sign in

Calculator Exponentials and logarithms

Exponential fit from two points

In one sentence

Finds a and b in y = abˣ through two points.

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

Exponential fit from two points

Formula ref
b = (y₂/y₁)^(1/(x₂ − x₁)), a = y₁/bˣ¹
Topic
Exponentials and logarithms

Inputs

  • (x₁, y₁), (x₂, y₂)

Worked input

  • Input (1, 6) and (4, 48).
  • b³ = 8, so b = 2.
  • a = 6/2 = 3, so y = 3 × 2ˣ.
  • Take (0, 5) and (3, 40), where the first point is on the y-axis, so a is read off directly. The base is b = 2.0000 and the multiplier is a = 5.0000, so y = 5.0000 × 2.0000ˣ. When one of the points has x equal to zero the multiplier is read off directly, and the base comes from the ratio of the two y values, so the fit is very quick. Check: 5 × 2³ = 40, so the curve y = 5 × 2ˣ passes through the second point.
  • Take (2, 36) and (4, 4), a pair where y falls sharply, so the base is below 1. The base is b = 0.3333 and the multiplier is a = 324.0000, so y = 324.0000 × 0.3333ˣ. A base below one describes exponential decay, and the multiplier is then the starting value, found by running the model backwards to x equal to zero, which can be much larger than either given point. Check: 324 × (1/3)⁴ = 4 and 324 × (1/3)² = 36, so the decay curve fits both points.
  • Take (0, 10) and (2, 22.5), where the ratio of the y-values is 2.25, a perfect square, so the base is a neat 1.5. The base is b = 1.5000 and the multiplier is a = 10.0000, so y = 10.0000 × 1.5000ˣ. The ratio of the two y values is the base raised to the difference in x, so a perfect square ratio over a gap of two gives a neat base, which is a clue to the intended answer. Check: 10 × 1.5² = 22.5, so the curve passes through the second point.

How to use it

  • Enter two data points.
  • Plot log y against x to check.

Exponential fit from two points for your study of A-level maths, with its source.

See also Resolve a force calculator, Resultant force calculator, Pulley calculator and Power law fit from two points.

Study brief

  • Exponential functions are used for modelling growth and decay. When working with these models, students may encounter situations involving functions of x, such as exponential and logarithmic functions. Solving mathematical problems often requires using various techniques, including solving simultaneous equations in two variables. For instance, a student might need to solve equations like y = 2x + 3 and y = x2 – 4x + 2. Such processes may involve powers of 2 in one unknown or in both unknowns. Mathematical models frequently include powers of x or trigonometric functions of x. Understanding how to manipulate these functions is essential for a level maths. While certain models require specific formulas, others might be solved using a calculator. Mastery of these algebraic tools allows for the accurate representation of changing quantities over time. These concepts connect to broader areas of study, such as coordinate geometry and the use of functions for modelling various real-world phenomena.

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