Non-linear regression models
IB Mathematics Applications and Interpretation HLΒ· 45 min read
1. Common Non-Linear Regression Modelsβ β ββββ± 15 min
Many real-world bivariate relationships between an independent variable and dependent variable are not straight-line linear. Linear regression will produce a poor fit for these curved trends, so we use non-linear regression to match the pattern of the data.
Non-linear regression
A statistical technique that models the relationship between two variables as a non-linear function, to better describe curved trends in observed data.
Example:
Population growth over time, radioactive decay, and the relationship between the volume and radius of a sphere are all non-linear.
Exponential growth/decay:
Power model:
Logarithmic model:
Reciprocal model:
Identify which standard non-linear model matches the description: The stopping distance of a car after braking is proportional to the square of its speed .
- 1
Translate the proportional relationship to a mathematical equation:
- 2
- 3
Match the equation to standard non-linear model forms. Here, , , , and .
- 4
This matches the power model form , so this is a power non-linear relationship.
2. Linearizing Non-Linear Modelsβ β β βββ± 20 min
To use standard linear regression to find the parameters of non-linear models, we transform the non-linear equation into the standard linear form , where and/or are transformations of the original and variables.
Model | Original Equation | Transformed Form | Slope | Intercept | ||
|---|---|---|---|---|---|---|
Exponential | ||||||
Power | ||||||
Logarithmic |
Linearize the exponential decay model into linear form for regression.
- 1
Take the natural logarithm of both sides of the equation:
- 2
- 3
Apply logarithm product and power rules to simplify:
- 4
- 5
Match to linear form : , , slope , intercept . This is the required linearized form.
3. Interpreting Parameters and Predictionβ β β βββ± 20 min
Once we have the linear regression for the transformed data, we reverse the transformation to get the parameters of the original non-linear model. We can then interpret these parameters in context and use the model to predict values for given .
A linear regression fitted to transformed log-log (base 10) data for a power model gives the equation . Find the original power model and interpret the exponent.
- 1
Exponentiate both sides with base 10 to reverse the logarithm transformation:
- 2
- 3
Simplify using exponent rules: and
- 4
- 5
Calculate , so the original power model is:
- 6
- 7
Interpretation: is proportional to raised to the power 1.8, so a 10-fold increase in leads to a -fold increase in .
Check your understanding of parameter calculation:
For an exponential model, transformed linear equation is . What is the original model?
Reveal answer
1 βCorrect: The intercept , so , giving .
4. Common Pitfalls
Wrong move:
Using the intercept of the linearized model directly as in the original model
Why:
For exponential and power models, the intercept is , not itself, so this gives an incorrect parameter value
Correct move:
Always exponentiate the intercept to get for exponential and power models after linear regression
Wrong move:
Mixing bases of logarithms during transformation
Why:
Using natural log for transformation but base 10 for exponentiation (or vice versa) gives wrong final parameters
Correct move:
Use the same logarithm base consistently throughout all working steps
Wrong move:
Extrapolating predictions far outside the range of observed data
Why:
Non-linear models grow or decay very quickly outside the data range, leading to highly unreliable predictions
Correct move:
Only predict within the range of the original observed data, and explicitly note any extrapolation as unreliable
Wrong move:
Assuming a high for transformed data guarantees a good fit for the original model
Why:
measures linear fit of transformed data, not the goodness of fit of the original non-linear curve
Correct move:
Always plot the original data and the fitted non-linear curve to visually confirm the model fits the data
5. Quick Reference Cheatsheet
Model Type | Original Equation | Transformed Linear Form | Original Parameters (from ) |
|---|---|---|---|
Exponential | , (base 10 log) | ||
Exponential | , (natural log) | ||
Power | , | ||
Logarithmic | , |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2021 Β· 2
Fit exponential model to population data
- 2022 Β· 2
Predict using fitted power regression model
- 2023 Β· 1
Transform logarithmic model to linear form
Going deeper
What's Next
Non-linear regression is one of the most useful statistical tools for IB AI HL, and you will often use it to model data in your internal assessment project. Mastering linearization techniques builds a foundation for more advanced statistical modeling, and understanding how to transform non-linear relationships connects your knowledge of logarithms from algebra to applied statistics. After this module, you can learn how to test if your non-linear model is a good fit using residual analysis, or explore time series analysis which commonly uses exponential non-linear models for growth and decay forecasting.
