Clastify logo
Clastify logo
Exam prep
Exemplars
Review
HOT

Applications of Functions

Master IB Math AI Applications of Functions with notes created by examiners and strictly aligned with the syllabus.

IB Syllabus Requirements for Applications of Functions

2.5

Modelling with functions

2.6

Developing, testing and using models

2.9

Further function models

HL

2.10

Logarithmic scales and linearization

HL

2.5

MODELLING WITH FUNCTIONS

What a model does

A mathematical model is a simplified mathematical representation of selected features from a real situation. It isn’t the situation itself. Instead, assumptions are chosen deliberately so that a useful relationship can be expressed and analysed.

For a function model,

y=f(x)y=f(x)

.

In the formulas below, coefficients such as aa, bb, cc, dd, kk, mm and rr are constants; their meanings and units depend on the context. The symbol nn is an integer exponent (dimensionless), while ee is the natural exponential base (dimensionless).

Choosing a model means choosing a pattern of change. Look for what remains approximately constant: perhaps an additive change, a multiplicative factor, a repeated cycle or another structural feature.

Comparison of common function families and key graph features.

FamilyExample modelKey graph featuresChange pattern
Lineary=2x+1y=2x+1Straight line; gradient 22; yy-intercept (0,1)(0,1)Steady additive change
Quadraticy=(x1)2+4y=-(x-1)^2+4Parabola opening down; vertex (1,4)(1,4); x-intercepts (1,0)(-1,0) and (3,0)(3,0)Rises then falls
Exponential growthy=2xy=2^xPasses through (0,1)(0,1); horizontal asymptote y=0y=0Multiplies by 22 each step
Exponential decayy=(12)xy=\left(\tfrac12\right)^xPasses through (0,1)(0,1); horizontal asymptote y=0y=0Multiplies by 12\tfrac12 each step
Inverse variationy=4xy=\frac{4}{x}Vertical asymptote x=0x=0; horizontal asymptote y=0y=0; two branchesInverse proportion
Cubicy=x33xy=x^3-3xS-shaped curve; turning points (1,2)(-1,2) and (1,2)(1,-2); x-intercepts (3,0)(-\sqrt3,0), (0,0)(0,0), (3,0)(\sqrt3,0)Changes direction twice
Sinusoidaly=2sin(π2x)+1y=2\sin\left(\tfrac{\pi}{2}x\right)+1Amplitude 22; midline y=1y=1; period 44; max 33; min 1-1Repeats every 44 units

Linear and piecewise linear models

A linear model is a function model with a constant rate of change:

f(x)=mx+cf(x)=mx+c

Linear models work well for conversions, charges involving a fixed fee plus a constant usage rate, and quantities that change steadily with time. Repeated equal differences also connect them directly with arithmetic sequences.

A piecewise linear model has a domain divided into intervals, with a linear rule on each interval. Use one when the rate changes at a threshold—for example, a delivery charge with different rates for different mass bands. Pay attention to endpoints. A filled point includes the boundary value; an open point excludes it.

Quadratic models

A quadratic model is a polynomial function of degree two:

f(x)=ax2+bx+c,a0f(x)=ax^2+bx+c,\qquad a\neq 0

Its graph is a parabola, and the sign of aa decides whether it opens upwards or downwards. The vertex is the turning point. The axis of symmetry is the vertical line passing through it. Input values that satisfy f(x)=0f(x)=0 are called the zeros or roots; on the graph, they are the xx-intercepts. The yy-intercept is f(0)=cf(0)=c.

Quadratic models can describe a quantity that rises and then falls, a minimum operating cost or a relationship governed by a parabolic shape. Technology can dynamically generate a family of parabolas and solve f(x)=0f(x)=0. Roots outside the contextual domain must be rejected—for example, a negative time when time begins at release.

Quadratic relationships have a long history. Algebraic procedures developed in ancient Mesopotamian and South Asian traditions show that mathematical knowledge is not the product of one culture alone. One historical multiplication identity is

ab=(a+b)2a2b22ab=\frac{(a+b)^2-a^2-b^2}{2}

There is also a geometric view of a parabola: it is a conic section formed when an appropriate plane cuts a cone. This geometric representation and the algebraic graph describe the same mathematical object.

Exponential growth and decay

An exponential model is a function model where equal increases in the input multiply the changing part of the output by a constant factor. Useful forms include

f(x)=kax+cf(x)=ka^x+c f(x)=kax+c,a>0f(x)=ka^{-x}+c,\qquad a>0

and

f(x)=kerx+cf(x)=ke^{rx}+c

The line y=cy=c is a horizontal asymptote. It is a horizontal line approached by the graph as the relevant input becomes very large or very negative. For kax+cka^x+c, growth occurs when a>1a>1 and decay when 0<a<10<a<1, subject to the sign of kk. For kerx+cke^{rx}+c, positive rr gives growth and negative rr gives decay when k>0k>0.

Exponential models connect to geometric sequences, compound interest, loan repayment and depreciation because every equal interval applies a constant multiplier. They also model population change, transmission processes, cooling and radioactive decay. Use the terminology carefully: rapid growth isn’t necessarily exponential. In mathematics, “exponential growth” requires an approximately constant multiplicative factor over equal intervals, rather than simply a dramatic increase.

Direct and inverse variation

A power variation model is a function model in which the output is proportional to a fixed power of the input:

f(x)=axn,nZf(x)=ax^n,\qquad n\in\mathbb{Z}

When n>0n>0, the model describes direct power variation. When n<0n<0, it describes inverse variation because xn=1/xnx^n=1/x^{-n}. In that case, the yy-axis, with equation x=0x=0, is a vertical asymptote. This is a vertical line approached by the graph while the function becomes unbounded or remains undefined.

These models represent relationships such as pressure-volume effects, demand responses and inverse-square behaviour in physical systems. The exponent shows how strongly the output responds: doubling xx multiplies the output by 2n2^n.

Cubic models

A cubic model is a polynomial function of degree three:

f(x)=ax3+bx2+cx+d,a0f(x)=ax^3+bx^2+cx+d,\qquad a\neq 0

A cubic can change direction twice and may have one, two or three distinct xx-intercepts. That flexibility makes cubic models useful for volume relationships, efficiency curves and quantities moving through several phases of increase and decrease. A graph by itself is not enough. The model still needs a meaningful domain and must follow physical restrictions, such as non-negative lengths or volumes.

Sinusoidal models

A sinusoidal model is a periodic function model based on a sine or cosine curve:

f(x)=asin(bx)+df(x)=a\sin(bx)+d

or

f(x)=acos(bx)+df(x)=a\cos(bx)+d

Using degree measure, the amplitude is a|a| and the period is

360b\frac{360^\circ}{|b|}

while the principal axis is the midline y=dy=d. The maximum output is d+ad+|a|, and the minimum is dad-|a|. Sinusoidal models suit repeating phenomena, including seasonal measurements, rotating mechanisms and wave-like motion.

At this level, treat sine and cosine forms as given instead of translating one into the other. You need to interpret the amplitude, period and principal axis.

Models as representations

Models connect mathematics with experimental science, economics and business. A single family of curves can describe structurally similar patterns in quite different settings. Models work by removing detail while keeping the relationship that matters. Simplicity helps when it makes assumptions and parameters understandable, but too much simplicity may remove the feature needed for prediction.

This leads to the central knowledge question: mathematical models can produce exact consequences from chosen assumptions, whereas models in other areas are also judged against observation. Their conclusions remain conditional—if the assumptions are unsuitable, elegant mathematics will not rescue the result.

2.6

DEVELOPING, TESTING AND USING MODELS

The modelling cycle

Mathematical modelling is an iterative process. It translates a real situation into mathematics, analyses the resulting representation, checks the output against reality and, when needed, revises the model. Think of this as a cycle—finding an equation isn’t the end of the process.

A practical modelling process is:

  1. identify the variables, units, purpose and assumptions;
  2. inspect the context or data, then choose a plausible function family;
  3. establish a reasonable domain;
  4. determine the parameters;
  5. use the model to calculate, interpret or predict;
  6. test the output against the data and the context;
  7. refine or reject the model if necessary.

Image

Choosing the function and domain

Use both shape and context when choosing a model. Roughly constant first differences point towards a linear model, while constant second differences suggest a quadratic. Approximately constant ratios indicate an exponential, and repeated peaks suggest a sinusoidal model. Shape alone isn’t conclusive. For example, a short section of an exponential curve can look almost linear.

A parameter is a constant in a model whose value controls a feature of the relationship, such as slope, initial value, curvature, amplitude or growth factor. Before calculating a parameter, identify what it would represent.

The domain of a model is the set of input values over which the model is intended to represent the situation. This can be narrower than the algebraic domain. Time might begin at zero, dimensions may need to be positive, and a pricing rule may apply only during a stated contract. A population model may also be reliable only over the period covered by the observations.

Finding parameters

Initial conditions, known points or simultaneous equations can be used to find parameters. Substitute every known point into the proposed function. A linear model usually requires two independent conditions. A quadratic needs three, and a cubic needs four unless extra structural information is given.

When a quadratic is fitted through three known points, substitution gives three linear equations in the three unknown coefficients. Use technology to solve systems of up to three linear equations in three variables. Keep full calculator precision during the working, then round only the final reported parameters as the context requires.

An initial condition is a known value of a model at a specified starting input, commonly f(0)f(0). It may immediately identify an intercept or starting amount. When the functional form has already been supplied, direct substitution is often quicker and clearer than regression.

Regression offers another way to fit models to data, although formal regression methods belong with statistics. Non-linear regression is not required here at this level. The focus is on choosing a theoretical model and finding its parameters from conditions or simultaneous equations.

Testing and reflecting

Fitting a curve doesn’t automatically produce a good model. Test it by asking:

  • Does its shape agree with the observed pattern?
  • Do its intercepts, turning points, asymptotes and parameter signs make contextual sense?
  • Are predicted values possible and reasonably close to observations?
  • Does the model respect known bounds, thresholds or cycles?
  • Are the assumptions plausible over the stated domain?

Image

A model may be mathematically accurate at the supplied points but still behave unreasonably between or beyond them. Scientific modelling calls for judgment as well as calculation. When two models explain the data nearly equally well, the simpler one is often preferable because its assumptions are clearer. Simplicity is not helpful, though, if it hides an important mechanism.

Reading and using a model

A model can be used in several ways: substitute an input to predict an output, solve an equation to find the input that produces a target output, or interpret a feature of its graph in context. Give the meaning and units of the result instead of reporting an isolated calculator value.

Interpolation is prediction for an input within the range of observed data. Extrapolation is prediction beyond that observed range. Extrapolation is far less secure because the established pattern may not continue. Growth could meet a resource limit, a tariff might change, or a periodic pattern may shift. Treat a prediction more cautiously as it moves further outside the fitted range.

Models work well because they convert assumptions into consequences that can be tested. They play a particularly important role in experimental work: observations shape the model, and its predictions guide further observations. Mathematics supplies the internal deductions, but evidence determines whether the representation remains useful.

2.9

FURTHER FUNCTION MODELS

HL

Half-life from an exponential model

The half-life is the time it takes for the changing quantity in an exponential decay model to fall to half its current value. For

f(x)=kerx,r<0f(x)=ke^{rx},\qquad r<0

the half-life is

T1/2=ln2rT_{1/2}=\frac{\ln 2}{-r}

When the model has a non-zero asymptote, as in f(x)=kerx+cf(x)=ke^{rx}+c, the difference f(x)cf(x)-c halves—not necessarily the complete output.

Half-life models apply to decaying substances and attenuation processes in chemistry and physics. After each half-life, the amount above the asymptote is multiplied by 1/21/2 rather than reduced by a fixed amount.

Natural logarithmic models

A natural logarithmic model is a function model in which the output changes linearly with the natural logarithm of the input:

f(x)=a+blnx,x>0f(x)=a+b\ln x,\qquad x>0

The restriction x>0x>0 is essential. Multiplying xx by a constant produces a constant additive change in f(x)f(x). Its graph has vertical asymptote x=0x=0. It changes rapidly near zero, then progressively more slowly as xx increases. Logarithmic models are useful when equal ratios in the input matter more than equal differences.

Shifted sinusoidal models

A shifted sinusoidal model can be written as

f(x)=asin(b(xc))+df(x)=a\sin\bigl(b(x-c)\bigr)+d

Angles are measured in radians unless a degree symbol is shown. The amplitude is a|a|, and the principal axis is y=dy=d. The period is

2πb\frac{2\pi}{|b|}

while the horizontal translation cc is called the phase shift. This is the displacement of the cycle along the input axis. If the model is explicitly written with a degree symbol, use degree-based periods instead.

Image

This form works well for periodic measurements such as oscillations, cyclic environmental records and alternating electrical signals. Check the starting position carefully: amplitude and period alone don’t determine the phase.

Logistic models

A logistic model is a bounded growth function. Growth begins approximately exponentially, then slows as a limiting resource becomes important and approaches an upper level:

f(x)=L1+Cekx,L>0, C>0, k>0f(x)=\frac{L}{1+Ce^{-kx}},\qquad L>0,\ C>0,\ k>0

The horizontal asymptote y=Ly=L is the carrying capacity, the limiting level that the environment or system can sustain under the model's assumptions. Also,

f(0)=L1+Cf(0)=\frac{L}{1+C}

The curve is S-shaped. Growth is slow at first, reaches its fastest rate in the middle region, then slows as the output approaches LL. This model is appropriate only when growth has a plausible restriction, such as finite space, nutrients or market size.

Image

One theoretical origin comes from the differential equation

dPdt=kP(1PL)\frac{dP}{dt}=kP\left(1-\frac{P}{L}\right)

If P=P0P=P_0 at t=0t=0, where P0P_0 is the initial quantity (the same units as PP), then

P=L1+Cekt,C=LP01P=\frac{L}{1+Ce^{-kt}},\qquad C=\frac{L}{P_0}-1

This shows why growth slows: as PP approaches the capacity, the factor 1P/L1-P/L approaches zero.

Piecewise models and continuity

A piecewise model is a function defined by different rules on different subdomains. It fits systems whose behaviour changes at a threshold, including progressive charges, staged motion and materials that follow different rules under different conditions.

A piecewise function is continuous at a boundary if the adjoining pieces meet at the same included point, leaving no jump or hole in the graph. You don’t need a formal definition of continuity; simply match the output values at the boundary.

For example, consider

f(x)={2+x,0x<3,ax2x,x3.f(x)= \begin{cases} 2+x, & 0\leq x<3,\\ ax^2-x, & x\geq 3. \end{cases}

As xx approaches 33, the left-hand rule approaches 55. Continuity requires 9a3=59a-3=5, so a=8/9a=8/9. Although the first interval excludes 33, its value as xx approaches 33 must still match the value given by the second rule.

Image

You may also meet an unfamiliar model in context. Before using it, identify its domain, parameters, intercepts, asymptotes, turning behaviour and long-term pattern. No hierarchy of subjects makes one model universally “best”; its usefulness depends on the question, assumptions and evidence involved.

2.10

LOGARITHMIC SCALES AND LINEARIZATION

HL

Why use logarithmic scales?

A logarithmic scale is an axis scale where equal distances show equal multiplicative factors, not equal additive differences. It keeps very large ranges manageable while drawing attention to relative change. Repeated multiplication by ten, for instance, appears as equal spacing even though the absolute increases become much larger.

Logarithmic axes work well when one or both variables cover several orders of magnitude, or when growth rate matters more than raw size. Long-term biological growth, online activity and physical decay can then be compared more easily. There is a catch: an alarming rise may look visually moderate. Always check the axis labels and scale before interpreting the graph.

Semi-log graphs and exponential relationships

A semi-log graph is a coordinate graph with one logarithmic axis and one linear axis. If

y=kerx,y>0y=ke^{rx},\qquad y>0

then taking natural logarithms gives

lny=lnk+rx\ln y=\ln k+rx

A plot of lny\ln y against xx should therefore be approximately linear. The gradient is rr, while the vertical intercept is lnk\ln k. Hence,

k=einterceptk=e^{\text{intercept}}

Likewise, for y=kaxy=ka^x,

lny=lnk+xlna\ln y=\ln k+x\ln a

Here, the gradient is lna\ln a, so a=egradienta=e^{\text{gradient}}. A straight-line pattern on a semi-log representation supports an exponential relationship.

Log-log graphs and power relationships

A log-log graph is a coordinate graph where both axes use logarithmic scales. A general power relationship can be written as

y=Kxp,x>0, y>0y=Kx^p,\qquad x>0,\ y>0

Taking logarithms gives

lny=lnK+plnx\ln y=\ln K+p\ln x

The plot of lny\ln y against lnx\ln x should be approximately linear. Its gradient is pp and its intercept is lnK\ln K, giving K=einterceptK=e^{\text{intercept}}.

Changing the logarithm base does not affect whether the transformed relationship is linear, as long as the same base is used consistently. If base-ten logarithms are used, recover an intercept parameter with powers of ten rather than ee.

Log-scale linearization for exponential and power laws

FeatureExponential dataPower-law data
Appearance on linear axesCurvedCurved
Straight-line transformSemi-log: plot lny\ln y against xxLog-log: plot lny\ln y against lnx\ln x
Gradientrrpp
Interceptlnk\ln k, so k=einterceptk=e^{\text{intercept}}lnK\ln K, so K=einterceptK=e^{\text{intercept}}
Log-scale meaningEqual gaps mean equal ratiosEqual gaps mean equal ratios; e.g. 1, 10, 100 are equally spaced on a base-10 log axis

Linearizing and interpreting data

Linearization is a transformation of variables that turns a proposed non-linear relationship into an approximately straight-line relationship. Use this procedure:

  1. identify the proposed relationship;
  2. take logarithms and rearrange into straight-line form;
  3. transform the appropriate variable or variables;
  4. fit a best-fit straight line using technology;
  5. use the gradient and intercept to recover the original parameters;
  6. interpret those parameters in the original context.

A strong linear association after transformation supports the proposed model. Pearson's product moment correlation coefficient can help assess this linear association. It does not prove that the model is correct. Transformed data may hide clusters, unusual points or systematic curvature, and correlation alone does not establish a causal mechanism.

For a supplied graph, remember:

  • straight on linear-linear axes suggests a linear relationship;
  • straight on semi-log axes suggests an exponential relationship;
  • straight on log-log axes suggests a power relationship;
  • equal distances on a logarithmic axis represent equal ratios;
  • zero and negative values cannot appear on an ordinary logarithmic axis.

You are expected to interpret semi-log and log-log graphs, not draw or sketch them by hand. Technology should carry out the transformations and produce the best-fit line, but you still need to understand what the slope and intercept mean.

These representations appear across science. Logarithmic response scales compress wide ranges, exponential decay becomes linear on semi-log axes, and transformed laboratory data can reveal parameters such as a reaction's activation behaviour. Their applicability is powerful, but it is not the sole measure of mathematical value. A method may offer theoretical insight before it has an obvious practical use. Equally, a useful graph can mislead when its scale or assumptions are ignored.

Were those notes helpful?

linear-equations-and-graphs Linear Equations & Graphs