Quadratic Models (AI HL)

A quadratic model f(x)=ax2+bx+cf(x)=ax^2+bx+c describes a quantity that rises to a single maximum or falls to a single minimum, and the vertex marks that extreme value. The axis of symmetry is x=−b2ax=-\dfrac{b}{2a}, and the sign of aa shows whether the vertex is a maximum or a minimum. It also covers using the model in optimisation problems. It's part of the broader Linear, Quadratic & Cubic Models topic.

14 questions on this sub-topic.

Syllabus

CodeSyllabus content
SL2.5Modelling with linear models f(x)=mx+cf(x)=mx+c, including piecewise linear models. Quadratic models f(x)=ax2+bx+cf(x)=ax^2+bx+c, a≠0a\ne0: axis of symmetry, vertex, zeros and roots, intercepts. Exponential growth/decay models f(x)=kax+cf(x)=ka^x+c or kerx+cke^{rx}+c, with horizontal asymptote. Direct/inverse variation f(x)=axn, n∈Zf(x)=ax^n,\ n\in\mathbb{Z}, including the y-axis as a vertical asymptote when n<0n<0. Cubic models f(x)=ax3+bx2+cx+df(x)=ax^3+bx^2+cx+d. Sinusoidal models f(x)=asin⁡(bx)+df(x)=a\sin(bx)+d or acos⁡(bx)+da\cos(bx)+d: amplitude, period, principal axis.

Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).

Skills practised on this page:

The model and its vertex

Both the model and its axis of symmetry are in the formula booklet.

Quadratic model and axis of symmetry

f(x)=ax2+bx+c, x=−b2af(x)=ax^2+bx+c,\ x=-\dfrac{b}{2a}

In the formula booklet. The axis of symmetry gives the vertex's xx-coordinate directly - substitute it back into f(x)f(x) for the yy-coordinate.

Setting up an optimisation model

Write the quantity to maximise or minimise as a function of one variable, using any given constraint to eliminate a second one. Once it's a quadratic in a single variable, the vertex formula gives the optimum straight away.

Need the full syllabus wording, the formula reference table, and GDC regression steps? See Linear, Quadratic & Cubic Models.

Key terms

What is the vertex of a quadratic model?

The vertex is the highest or lowest point of the graph and lies on the axis of symmetry. Its yy-coordinate is the maximum or minimum value of the model.

e.g. For f(x)=x2−6x+5f(x)=x^2-6x+5, the axis is x=3x=3 and f(3)=9−18+5=−4f(3)=9-18+5=-4, so the vertex is (3,−4)(3,-4).

What does the sign of a tell you?

If a>0a>0 the parabola opens upwards and the vertex is a minimum. If a<0a<0 it opens downwards and the vertex is a maximum.

e.g. R(x)=−3x2+12xR(x)=-3x^2+12x has a=−3a=-3, so its vertex is a maximum.

What are the zeros of a quadratic model?

The zeros are the values of xx where f(x)=0f(x)=0, so the graph meets the xx-axis there. In context they show when the quantity is zero.

e.g. f(x)=x2−4x−5=(x−5)(x+1)f(x)=x^2-4x-5=(x-5)(x+1) has zeros at x=5x=5 and x=−1x=-1.

What does the constant c represent in a quadratic model?

The constant cc is the value of the model when x=0x=0, which is the yy-intercept. In context it is the starting value.

e.g. In h(t)=−5t2+20t+2h(t)=-5t^2+20t+2, c=2c=2, so the object starts at a height of 22 m.

Worked examples

1
Medium
GDC
[4 marks]

A company’s revenue is modelled by R(x)=−2x2+40xR(x) = -2x^2 + 40x (in $1000s), where xx is the price.

(a) Find the price that maximises revenue.

(b) Find the maximum revenue.

Worked solution

(a) Vertex at x=−b2a=−402(−2)x = -\dfrac{b}{2a} = -\dfrac{40}{2(-2)} M1
x=10.x = 10. A1

(b) R(10)=−2(100)+400R(10) = -2(100) + 400 M1
R(10)=200R(10) = 200 ($200 000). A1On the GDC. (a) Find the price that maximises revenue. (b) Find the maximum revenue in thousands of dollars.

TI-84 Plus CE: (a) type -40/(2*(-2)) sto▶ alpha A enter Then (b) type -2*A^2+40*A where A is the stored value, press alpha A enterCasio fx-CG50: (a) MENU Run-Matrix type -40/(2*(-2)) → ALPHA X,θ,T EXE Then (b) MENU Run-Matrix type -2*A^2+40*A where A is the stored value, press ALPHA X,θ,T EXECasio fx-CG100: (a) HOME Calculate type -40/(2*(-2)) SHIFT X,θ,T,Y ALPHA X,θ,T,Y EXE Then (b) HOME Calculate type -2*A^2+40*A where A is the stored value, press ALPHA X,θ,T,Y EXETI-Nspire CX: (a) Calculator page type -40/(2*(-2)) ctrl var name a enter Then (b) Calculator page type -2*A^2+40*A where A is the stored value, press the name a enterFull GDC guide: Store a value and reuse it Topic page

M1 Vertex −b/2a-b/2a A1 x=10x=10 M1 Substituting x=10x = 10 into R(x)=−2x2+40xR(x) = -2x^2 + 40x A1 Correct answer of 200200
2
Hard
GDC
[6 marks]

A rectangular pen against a wall uses 60 m of fence on three sides.

Find the dimensions giving maximum area.

Worked solution

Width xx, length ℓ=60−2x.\ell = 60 - 2x. M1
Area A=x(60−2x)=60x−2x2.A = x(60 - 2x) = 60x - 2x^2. A1
A′=60−4x=0⇒xA' = 60 - 4x = 0 \Rightarrow x M1
x=15.x = 15. A1
ℓ=30.\ell = 30. A1
Max area =450= 450 m2^{2}. A1On the GDC. Find the x-coordinate of the local maximum of y=x×(60−2x)y=x\times (60-2x) near x=12x=12. Find the length parallel to the wall

TI-84 Plus CE: Y= clear Y1= x*(60-2x) window Xmin 0 Xmax 30 Ymin 0 Ymax 500 graph 2nd trace 4:maximum left bound ◀ enter right bound ▶ enter guess enter then 2nd mode then type 60/2 enterCasio fx-CG50: MENU 5 Y1 x*(60-2x) EXE SHIFT F3 Xmin 0 Xmax 30 Ymin 0 Ymax 500 EXIT F6 SHIFT F5 F2 then MENU Run-Matrix then type 60/2 EXECasio fx-CG100: HOME Graph&Table y1 x*(60-2x) EXE TOOLS View Window Xmin 0 Xmax 30 Ymin 0 Ymax 500 OK draw the graph TOOLS Graph Solve Maximum Value then HOME Calculate then type 60/2 EXETI-Nspire CX: Graphs page, f1(x) = x*(60-2x) enter menu Window/Zoom Window Settings Xmin 0 Xmax 30 Ymin 0 Ymax 500 enter menu Analyze Graph Maximum bounds either side of x = 12 enter then home Calculator then type 60/2 enterFull GDC guide: Find a maximum, minimum or zero of a graph Full GDC guide: Enter a calculation on the home screen Topic page

M1 Constraint A1 A(x)A(x) M1 Maximise A1 x=15x=15 A1 Length A1 Area
3
Medium
GDC
[4 marks]

A ball's height is h(t)=−4.9t2+20t+1.5h(t) = -4.9t^2 + 20t + 1.5 m.

(a) Find the maximum height.

(b) Find when the ball lands (h=0h = 0).

Worked solution

(a) Vertex t=−202(−4.9)≈2.041t = -\dfrac{20}{2(-4.9)} \approx 2.041 s; hh M1
≈21.9\approx 21.9 m. A1

(b) −4.9t2+20t+1.5=0⇒t-4.9t^2 + 20t + 1.5 = 0 \Rightarrow t M1
≈4.16\approx 4.16 s. A1On the GDC. (a) Find the maximum height in metres. (b) Find the x-coordinate of the intersection of y=−4.9x2+20x+1.5y=-4.9x^{2}+20x+1.5 and y=0y=0 near x=4x=4.

TI-84 Plus CE: (a) 2nd mode then type 20^2/(4*4.9)+1.5 enter Then (b) Y= clear Y1= -4.9x^2+20x+1.5 ▼ Y2= 0 window Xmin 0 Xmax 6 Ymin -10 Ymax 30 graph 2nd trace 5:intersect enter enter move to the crossing near x = 4 enterCasio fx-CG50: (a) MENU Run-Matrix then type 20^2/(4*4.9)+1.5 EXE Then (b) MENU 5 Y1 -4.9x^2+20x+1.5 EXE Y2 0 EXE SHIFT F3 Xmin 0 Xmax 6 Ymin -10 Ymax 30 EXIT F6 SHIFT F5 F5 move to the crossing near x = 4 EXECasio fx-CG100: (a) HOME Calculate then type 20^2/(4*4.9)+1.5 EXE Then (b) HOME Graph&Table y1 -4.9x^2+20x+1.5 EXE y2 0 EXE TOOLS View Window Xmin 0 Xmax 6 Ymin -10 Ymax 30 OK draw the graphs TOOLS Graph Solve Intersection move to the crossing near x = 4 OKTI-Nspire CX: (a) home Calculator then type 20^2/(4*4.9)+1.5 enter Then (b) Graphs page, f1(x) = -4.9x^2+20x+1.5 enter ▼ 0 enter menu Window/Zoom Window Settings Xmin 0 Xmax 6 Ymin -10 Ymax 30 enter menu Analyze Graph Intersection bounds either side of x = 4 enterFull GDC guide: Enter a calculation on the home screen Full GDC guide: Find where two graphs meet Topic page

M1 Vertex / maximum A1 Correct answer of ≈21.9\approx21.9 M1 Set h=0h=0 A1 Correct answer of ≈4.16\approx4.16

Common mistakes

  • Giving the vertex's xx-coordinate as the final answer. x=−b/2ax=-b/2a only locates where the maximum or minimum happens - if the question asks for the maximum value itself, you still have to substitute back into f(x)f(x) to get it.
  • Dropping the minus sign in −b/2a-b/2a. It's easy to compute b/2ab/2a on autopilot under time pressure and end up with the vertex reflected to the wrong side of the yy-axis - always write the formula out with its sign before substituting.
  • Optimising with two variables still in play. Before differentiating or using the vertex formula, the quantity being optimised has to be written as a function of a single variable - use the given constraint to eliminate the second one first.

Using your GDC

Every step below is a real button sequence, not a vague "use your calculator" hint - covering the TI-84 Plus, TI-Nspire, and Casio fx-9860/fx-CG50. Pick your model to filter down to just the steps that apply to you.

Show steps for:
Fit a model (quadratic, cubic, exponential, power, sinusoidal)

The heart of AI modelling - find the best-fitting curve for a data set, not just a straight line.

  1. Enter the data in two lists (x and y).
  2. STAT → EDIT to enter L1/L2, then STAT → CALC → QuadReg / CubicReg / ExpReg / PwrReg / SinReg.TI-84
  3. In a Lists & Spreadsheet page enter the data, then menu → Statistics → Stat Calculations → choose the regression type.Nspire
  4. Main menu → Statistics, enter the data in lists, then CALC → REG and pick X² / X³ / Exp / Power / Sin.Casio

Tip: Turn DiagnosticOn (TI-84: 2nd → 0 → DiagnosticOn) to see R². Choose the model with the best R² that also makes sense for the context.

Compare regression models using R²

After fitting several models (linear, quadratic, exponential…), you need to decide which fits the data best - R² is the key tool.

  1. Fit each candidate model in turn and note the R² value each time.
  2. Turn DiagnosticOn first (2nd → 0, scroll to DiagnosticOn, ENTER) - then R² appears after every regression.TI-84
  3. R² is shown automatically after each regression calculation in the Statistics menu.Nspire
  4. R² (displayed as r²) appears in the regression output; run CALC → REG for each model type and compare.Casio
  5. The model with R² closest to 1 explains the most variation in y - but also consider whether the model makes sense for the context.
  6. An exponential model with R² = 0.98 is better than a linear model with R² = 0.91 for the same data.

Tip: R² alone doesn't tell you whether the model is appropriate - always look at the scatter plot too. A high R² on a model that shouldn't apply is meaningless.

See the full GDC guide for more calculator models and topics.

Quick questions

How do I find the vertex of a quadratic model?

For f(x)=ax2+bx+cf(x) = ax^2 + bx + c, the axis of symmetry (and the vertex's xx-coordinate) is x=−b2ax = -\dfrac{b}{2a}. Substitute that value back into f(x)f(x) to get the vertex's yy-coordinate - the maximum or minimum value of the model.

How do I set up a quadratic optimisation problem?

Write the quantity you're maximising or minimising (area, revenue, profit) as a function of one variable, using any given constraint to eliminate a second variable. Once it's a single quadratic in one variable, the vertex formula gives the optimum directly. For calculator steps, see Using your GDC on the full topic page.

How do I know the answer is in the allowed domain?

Check the vertex against the interval the model is valid for. If the model is valid for 0≤x≤50\le x\le5 and the axis of symmetry is at x=8x=8 with a<0a<0, the maximum on the interval occurs at x=5x=5, not at the vertex.

How are the zeros related to the axis of symmetry?

The axis of symmetry lies exactly halfway between the two zeros. If the zeros are at x=1x=1 and x=7x=7, the axis is x=4x=4.

How do I find how long an object stays in the air?

Set the height model equal to zero and solve. For h(t)=−5t2+20th(t)=-5t^2+20t, −5t(t−4)=0-5t(t-4)=0 gives t=0t=0 and t=4t=4, so the object is in the air for 44 seconds.

Ready to practise properly?

14 quadratic-model questions, marked instantly like the real exam.