Skip to content

Search topics

Practise for free Sign in

Calculator Exponentials and logarithms

Power law fit from two points

In one sentence

Finds a and n in y = axⁿ 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

Power law fit from two points

Formula ref
n = ln(y₂/y₁)/ln(x₂/x₁), a = y₁/x₁ⁿ
Topic
Exponentials and logarithms

Inputs

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

Worked input

  • Input (2, 16) and (3, 54).
  • n = ln(54/16)/ln(1.5) = 3.000.
  • a = 16/2^3 = 2.00.
  • Take the points (1, 3) and (4, 24), a power law with a fractional power. The power is n = 1.5000 and the multiplier is a = 3.0000, so y = 3.0000x^1.5000. A power law is a straight line on a log-log graph, so two points are enough to find both the exponent and the multiplier, and substituting the second point back confirms the fit. Check: 3 × 4^1.5 = 24, so the fitted curve passes through the second point as well.
  • Take the points (1, 12) and (4, 3), where y falls as x rises, so the power must be negative. The power is n = −1.0000 and the multiplier is a = 12.0000, so y = 12.0000x^−1.0000. A negative exponent describes inverse variation, where the quantity falls as x increases, and an exponent of minus one is exactly inverse proportion. Check: 12 × 4⁻¹ = 3, so this is the inverse proportion y = 12/x and passes through both points.
  • Take the points (2, 10) and (6, 90), where x triples and y grows ninefold, which points to a square law. The power is n = 2.0000 and the multiplier is a = 2.5000, so y = 2.5000x^2.0000. Taking logarithms of both coordinates turns the model into a line whose gradient is the exponent, and an exponent of two is the square law that appears in areas and in many physical formulas. Check: 2.5 × 6² = 90, so the curve y = 2.5x² passes through the second point as well as the first.

How to use it

  • Enter both data points.
  • Plot ln y against ln x to check.

Power law fit from two points in your study of A-level maths, set out with its source.

Related pages include Resultant force calculator, Pulley calculator, Lift reaction calculator and Resolve a force calculator.

Study brief

  • The provided materials for the Pearson Edexcel Level 3 Advanced GCE in Mathematics do not contain information regarding power law fit from two points. The documentation focuses on vector mathematics and Newton's laws of motion. Within the mathematics specification, students learn to calculate the distance d between two points represented by position vectors (x1, y1) and (x2, y2). This distance is found using the formula d^2 = (x1 - x2)^2 + (y1 - y2)^2. In three dimensions, the distance between (x1, y1, z1) and (x2, y2, z2) is calculated using d^2 = (x1 - x2)^2 + (y1 - y2)^2 + (z1 - z2)^2. Additionally, the content covers vector addition, the magnitude and direction of a vector, and the use of position vectors where AB = b - a. Regarding motion, the text specifies that the default value for g is 9.8 m s−2. Students also study forces, including tension, thrust, compression, and resistance, alongside Newton's first and second laws for motion in a straight line with constant acceleration.

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