DP Math AI · HL · Statistics and Probability · Updated

AHL 4.13—Non-linear regression

Get started

Introduction to Non-Linear Regression

In many real-world situations, the relationship between two variables is not a straight line. Non-linear regression allows us to fit curves to data, capturing more complex patterns that linear models cannot describe.

Non-Linear Regression

A statistical method that models the relationship between a dependent variable and one or more independent variables using a non-linear function, fitted by minimising the sum of squared residuals.

Non-linear regression is an extension of linear regression — the core ideas (fitting a curve, measuring residuals, assessing goodness of fit) are the same, but the shape of the model is more flexible.

Analogy

Think of linear regression as fitting a straight road between two cities. Non-linear regression is like mapping a winding mountain path — the destination is the same (best fit), but the route adapts to the terrain of the data.

In IB Math AI HL, you are expected to:

  • Recognise which type of non-linear model is appropriate for a dataset
  • Use technology to determine regression equations
  • Interpret and evaluate models using the coefficient of determination
  • Understand the limitations of and the danger of overfitting

Types of Non-Linear Regression Models

The five main types of non-linear regression models you need to know are:

ModelEquationTypical Use Case
QuadraticProjectile motion, area relationships
CubicS-shaped or multi-bend data
ExponentialPopulation growth, radioactive decay
PowerPhysical scaling laws
SinePeriodic/seasonal data

Choosing the right model depends on both the shape of the scatter plot and the real-world context:

  • Quadratic — data forms a single-bend parabolic shape
  • Cubic — data has two bends or an inflection point
  • Exponential — data grows or decays at an accelerating rate
  • Power — data shows a proportional scaling relationship
  • Sine — data oscillates regularly around a mean value
Example

Real-world examples:

  • A ball thrown upward follows a quadratic path.
  • The number of bacteria doubling every hour follows an exponential model: .
  • Average monthly temperature in a city follows a sine model, cycling annually.
  • The relationship between an animal's mass and metabolic rate often follows a power model.
Exam Tip

Always plot your data first! A scatter plot will immediately suggest which family of curves might fit best. Never guess the model type without looking at the data.

Free preview

11 more sections in this topic

Checking your topic access