Skip to study

CHAPTER 03 · FUNCTIONS

Linear & quadratic functions

Progress stays on this device

papers Chapter & section analysis

Your chapter

Use linear and quadratic models for costs, trajectories and design constraints.

Read all chapter notes

3.1

papers

Gradient of a linear function

Gradient measures the rate of change of y with respect to x. A positive gradient rises to the right; a negative gradient falls. A horizontal line has gradient zero, while a vertical line has undefined gradient.

Parallel non-vertical lines have equal gradients. Perpendicular non-vertical lines have gradients whose product is −1. A horizontal line is perpendicular to a vertical line.

m=y2−y1x2−x1\displaystyle m = \frac{y_{2} - y_{1}}{x_{2} - x_{1}}. Perpendicular lines: m1m2=−1\displaystyle m_{1} m_{2} = -1.

Watch out: Switching the order in only one subtraction changes the sign incorrectly.

Worked example

Find the gradient of the line through (1, 2)\displaystyle \left(1,\,2\right) and (5, 14)\displaystyle \left(5,\,14\right).

  1. Change in y=14−2=12\displaystyle y = 14 - 2 = 12.
  2. Change in x=5−1=4\displaystyle x = 5 - 1 = 4.
  3. Gradient = 124=3\displaystyle \frac{12}{4} = 3.

3.2

papers

Linear functions

Use y=mx+c\displaystyle y = mx + c when gradient and intercept are known, or y−y1=m(x−x1)\displaystyle y - y_{1} = m \left(x - x_{1}\right) when a point and gradient are known. Standard form ax+by+d=0\displaystyle +d = 0 represents vertical lines as well.

Find intersections by solving two equations together. A linear model has a constant rate of change; interpret the intercept and gradient using the units in the situation.

y=mx+c\displaystyle y = mx + c; y−y1=m(x−x1)\displaystyle y - y_{1} = m \left(x - x_{1}\right); ax + by +d=0\displaystyle +d = 0.

Watch out: The intercept is the value at x=0\displaystyle x = 0, even if x=0\displaystyle x = 0 is outside the realistic domain of a model.

Worked example

A line has gradient 2 and passes through (3, 8)\displaystyle \left(3,\,8\right). Find y when x=6\displaystyle x = 6.

  1. Use y−8=2(x−3)\displaystyle y - 8 = 2 \left(x - 3\right).
  2. Equivalently y=2x+2\displaystyle y = 2 x + 2.
  3. At x=6\displaystyle x = 6, y=14\displaystyle y = 14.

3.3

papers

Transformations of functions

Adding k outside a function shifts it up by k. Replacing x by x−h\displaystyle x - h shifts it right by h. Multiplying the output by a scales vertically; a negative a also reflects in the x-axis.

In f(bx)\displaystyle f\left(bx\right), horizontal distances divide by b: the scale factor is 1∣b∣\displaystyle \frac{1}{\left|b\right|}, with reflection in the y-axis if b<0\displaystyle b < 0. For y=af(b(x−h))+k\displaystyle y = af \left(b \left(x - h\right)\right) + k, a point (u, v)\displaystyle \left(u,\,v\right) maps to (h+ub, k+av)\displaystyle \left(h + \frac{u}{b},\,k + av\right).

y=af(b(x−h))+k\displaystyle y = af \left(b \left(x - h\right)\right) + k: (u, v)↦(h+ub, k+av)\displaystyle \left(u,\,v\right) \mapsto \left(h + \frac{u}{b},\,k + av\right), b≠0\displaystyle b \ne 0.

Watch out: Horizontal shifts have the opposite sign inside the bracket. Order matters when stretches and translations are combined.

Worked example

The graph y=x2\displaystyle y = x^{2} becomes y=2(x−2)2+3\displaystyle y = 2 \left(x - 2\right)^{2} + 3. Find the transformed graph’s y-value at x=4\displaystyle x = 4.

  1. The vertex moves to (2, 3)\displaystyle \left(2,\,3\right); vertical scale factor is 2.
  2. Substitute x=4\displaystyle x = 4: 2(4−2)2+3\displaystyle 2 \left(4 - 2\right)^{2} + 3.
  3. y=11\displaystyle y = 11.

3.4

papers

Graphing quadratic functions

Every real quadratic with a≠0\displaystyle a \ne 0 has expanded and vertex forms. When real roots exist, it also has a factorisation into real linear factors. Expanded form shows the y-intercept, factorised form shows real roots, and vertex form shows the turning point.

The sign of a determines whether the parabola opens upward or downward. Its symmetry axis passes through the vertex. Relate roots to x-intercepts and use the axis to locate the turning point.

ax2+bx+c=a(x−h)2+k\displaystyle ax^{2} + bx + c = a \left(x - h\right)^{2} + k, where a≠0\displaystyle a \ne 0 and h=−b2a\displaystyle h = \frac{-b}{2 a}. When real roots r1\displaystyle r_{1}, r2\displaystyle r_{2} exist: ax2+bx+c=a(x−r1)(x−r2)\displaystyle ax^{2} + bx + c = a \left(x - r_{1}\right) \left(x - r_{2}\right).

Watch out: An upward parabola has a minimum, not a maximum.

Worked example

f(x)=2(x−3)2−4\displaystyle f\left(x\right) = 2 \left(x - 3\right)^{2} - 4. Find the x-coordinate of the vertex.

  1. The squared term is zero when x=3\displaystyle x = 3.
  2. The vertex is (3, −4)\displaystyle \left(3,\,-4\right).
  3. It is a minimum.

3.5

papers

Factorising & completing the square

If a quadratic factorises, use the zero-product rule to solve it. Otherwise complete the square: x2+bx=(x+b2)2−(b2)2\displaystyle x^{2} + bx = \left(x + \frac{b}{2}\right)^{2} - \left(\frac{b}{2}\right)^{2}. Divide by a first when a≠1\displaystyle a \ne 1.

Completing the square gives exact roots and reveals the vertex. To solve an inequality, mark the roots on a number line and test the sign of the quadratic in each interval. Include roots for ≤ or ≥.

x2+bx+c=(x+b2)2+c−b24\displaystyle x^{2} + bx + c = \left(x + \frac{b}{2}\right)^{2} + c - \frac{b^{2}}{4}.

Watch out: When taking a square root in an equation, include both + and − unless the domain removes one.

Worked example

Solve x2−7x+10=0\displaystyle x^{2} - 7 x + 10 = 0. Enter both real roots, separated by a comma.

  1. Factorise: (x−2)(x−5)=0\displaystyle \left(x - 2\right) \left(x - 5\right) = 0.
  2. A product is zero if at least one factor is zero.
  3. x=2\displaystyle x = 2 or x=5\displaystyle x = 5.

3.6

papers

Quadratic formula & discriminant

The quadratic formula solves any quadratic with a≠0\displaystyle a \ne 0. Keep the discriminant in brackets and simplify square roots for exact answers. Use technology for decimal approximations when appropriate.

The discriminant determines real-root behaviour. Two curves intersect where their equations are equal, so a discriminant condition can tell you when a line meets, touches or misses a parabola.

x=−b±b2−4ac2a\displaystyle x = \frac{-b \pm \sqrt{b^{2} - 4 ac}}{2 a}. Δ>0\displaystyle \Delta > 0: two real roots; Δ=0\displaystyle \Delta = 0: repeated root; Δ<0\displaystyle \Delta < 0: no real roots.

Watch out: The entire numerator is divided by 2a. The discriminant is not the root itself.

Worked example

Find the discriminant of 1x2−5x+3=0\displaystyle 1 x^{2} - 5 x + 3 = 0.

  1. Use Δ=b2−4ac\displaystyle \Delta = b^{2} - 4 ac.
  2. Δ=(−5)2−4×1×(3)\displaystyle \Delta = \left(-5\right)^{2} - 4 \times 1 \times \left(3\right).
  3. Δ=13\displaystyle \Delta = 13; there are two distinct real roots.

3.7

papers

Applications of quadratics

Choose variables, define units and form a quadratic model from the conditions. Three independent data points usually determine an expanded quadratic; roots and a known point can make factorised form quicker.

Use the vertex for a maximum or minimum, roots for zero levels, and intersections for meeting constraints. Restrict the domain to the part of the model that makes sense, then interpret your answer in context.

For f(x)=ax2+bx+c\displaystyle f\left(x\right) = ax^{2} + bx + c, vertex input x=−b2a\displaystyle x = \frac{-b}{2 a}.

Watch out: A negative time or length can solve an equation correctly while being invalid in the situation.

Worked example

A ball’s height is h(t)=20t−5t2\displaystyle h\left(t\right) = 20 t - 5 t^{2} metres, for t≥0\displaystyle t \ge 0 until it lands. Find its maximum height.

  1. The time at the vertex is t=−b2a=2010=2s\displaystyle t = \frac{-b}{2 a} = \frac{20}{10} = 2 s.
  2. Substitute into h(t)\displaystyle h\left(t\right).
  3. The maximum height is 20 m.