跳到主要内容

二次函数

IGCSE 附加数学知识点 2

训练

讲义

English

This topic studies quadratic functions: their maximum or minimum value, sketching their graphs, the conditions for real or equal roots and for a line to meet a curve, and quadratic inequalities.

2.1 Maximum or minimum value of a quadratic function

Completing the square 配方法 turns any quadratic into a form that shows its least or greatest value straight away.

The completed-square form

In $y = a(x - h)^2 + k$, the squared bracket is never negative and is zero when $x = h$. So:

  • if $a > 0$, the least value of $y$ is $k$, when $x = h$: a minimum point 极小值点 $(h, k)$;
  • if $a < 0$, the greatest value of $y$ is $k$, when $x = h$: a maximum point 极大值点 $(h, k)$.
Two parabolas: for a > 0 the curve has a minimum point (h, k); for a < 0 it has a maximum point (h, k)

Both curves are $y = a(x - h)^2 + k$. The sign of $a$ decides whether $(h, k)$ is the lowest or the highest point. Exam papers also call this point the stationary point, for example: "Hence write down the coordinates of the stationary point."

Method when the $x^2$ term is $x^2$

Halve the coefficient of $x$, square the bracket, and subtract the extra square.

Worked example 1. Find the minimum value of $x^2 + 6x + 11$, and the value of $x$ where it occurs.

  1. Half of 6 is 3: $x^2 + 6x + 11 = (x + 3)^2 - 9 + 11 = (x + 3)^2 + 2$.
  2. $(x + 3)^2 \geqslant 0$, and it is 0 when $x = -3$.
  3. Minimum value $2$, when $x = -3$.

Method when the $x^2$ term is $ax^2$

Take $a$ out of the $x$ terms only, complete the square inside, then multiply back.

Worked example 2. Write $2x^2 - 12x + 7$ in the form $a(x + b)^2 + c$.

  1. $2x^2 - 12x + 7 = 2(x^2 - 6x) + 7$.
  2. Inside: $x^2 - 6x = (x - 3)^2 - 9$.
  3. $2[(x - 3)^2 - 9] + 7 = 2(x - 3)^2 - 18 + 7 = 2(x - 3)^2 - 11$.
  4. So $a = 2$, $b = -3$, $c = -11$. Minimum value $-11$, when $x = 3$.

When the $x^2$ term is negative

Write the $x$ terms in a bracket with a minus sign in front. The answer has the form $c - (x + b)^2$, which has a maximum.

Worked example 3. Write $7 + 4x - x^2$ in the form $c - (x + b)^2$, and state its maximum value.

  1. $7 + 4x - x^2 = 7 - (x^2 - 4x)$.
  2. $x^2 - 4x = (x - 2)^2 - 4$, so $7 - [(x - 2)^2 - 4] = 11 - (x - 2)^2$.
  3. $(x - 2)^2 \geqslant 0$, so the greatest value is $11$, when $x = 2$.

Check by expanding: $11 - (x^2 - 4x + 4) = 7 + 4x - x^2$. ✓

Using the least value in a fraction

When a positive quantity is on the bottom of a fraction with 1 on top, the fraction is greatest when the bottom is least. From Worked example 1, $x^2 + 6x + 11$ has least value 2, so the greatest value of $\dfrac{1}{x^2 + 6x + 11}$ is $\dfrac{1}{2}$.

How many solutions has $f(x) = k$?

The solutions are where the horizontal line $y = k$ meets the curve. If the minimum value is $m$:

  • $k > m$: two solutions; $k = m$: one solution; $k < m$: no solutions.

For a maximum value, reverse the signs. From Worked example 1, $x^2 + 6x + 11 = k$ has two solutions when $k > 2$.

2.2 Use maximum or minimum to sketch graph or range

The completed-square form gives the turning point 转折点. Add the axis crossings and you can sketch 草绘 any quadratic, or read off its range 范围.

What a sketch must show

A sketch is not an accurate plot, but it must show:

  • the correct shape: a U (cup) when the $x^2$ term is positive, an upside-down U when it is negative;
  • the turning point, from completing the square;
  • the $x$-intercepts 截距 (roots), from $y = 0$, and the $y$-intercept, from $x = 0$, all labelled.

Worked example 1. Sketch $y = x^2 - 4x - 5$.

  1. Turning point: $x^2 - 4x - 5 = (x - 2)^2 - 9$, so the minimum point is $(2, -9)$.
  2. Roots: $(x - 5)(x + 1) = 0$, so $x = 5$ or $x = -1$.
  3. $y$-intercept: $x = 0$ gives $y = -5$.

Worked example 2. Sketch $y = 3 + 2x - x^2$.

  1. Turning point: $3 + 2x - x^2 = 4 - (x - 1)^2$, so the maximum point is $(1, 4)$.
  2. Roots: $(x - 1)^2 = 4$, so $x - 1 = \pm 2$ and $x = 3$ or $x = -1$.
  3. $y$-intercept: $y = 3$.
Left: the U-shaped curve y = x^2 - 4x - 5 with roots -1 and 5, y-intercept -5 and minimum point (2, -9). Right: the upside-down U-shaped curve y = 3 + 2x - x^2 with roots -1 and 3, y-intercept 3 and maximum point (1, 4)

Both sketches label the turning point, the two roots and the $y$-intercept.

The range of a quadratic on a domain

Use the sketch. If the turning point is inside the domain, it gives one end of the range; the other end comes from whichever end of the domain is further from it.

Worked example 3. $f(x) = x^2 - 4x - 5$ for $0 \leqslant x \leqslant 6$. Find the range of $f$.

  1. The minimum point $(2, -9)$ is inside the domain: least value $-9$.
  2. Ends: $f(0) = -5$ and $f(6) = 36 - 24 - 5 = 7$. The greater is $7$.
  3. Range: $-9 \leqslant f(x) \leqslant 7$.

If the domain is $x \in \mathbb{R}$, the range is everything above a minimum ($f(x) \geqslant k$) or below a maximum ($f(x) \leqslant k$).

2.3 Conditions for roots and for a line to intersect a curve

One number, the discriminant 判别式 $b^2 - 4ac$, tells you how many roots a quadratic has without solving it. The same test tells you whether a line meets a curve.

The discriminant of $ax^2 + bx + c = 0$

$b^2 - 4ac$ roots
$> 0$ two distinct 相异 real roots 实根
$= 0$ two equal roots (one repeated root)
$< 0$ no real roots

"Real roots" with no other word means $b^2 - 4ac \geqslant 0$.

Worked example 1. Find $k$ so that $x^2 + 6x + k = 0$ has equal roots 相等的根.

  1. $a = 1$, $b = 6$, $c = k$. Equal roots: $b^2 - 4ac = 0$.
  2. $36 - 4k = 0$, so $k = 9$.

Worked example 2. Find the values of $k$ for which $2x^2 - 5x + k = 0$ has two distinct real roots.

  1. $b^2 - 4ac > 0$: $25 - 8k > 0$.
  2. $8k < 25$, so $k < \dfrac{25}{8}$.

Does a line meet a curve?

  1. Set the two expressions for $y$ equal.
  2. Rearrange to one quadratic $= 0$.
  3. Use its discriminant: $> 0$ two points, $= 0$ the line is a tangent 切线, $< 0$ no point.
Three copies of a U-shaped curve with a horizontal dashed line: it cuts the curve at two points when the discriminant is positive, touches it at one point when it is zero, and misses it when it is negative

Each discriminant matches one picture: two crossing points, one touching point, or none.

Worked example 3. Find $c$ so that $y = 2x + c$ is a tangent to $y = x^2 - 4x + 10$, and find the point of contact.

  1. $x^2 - 4x + 10 = 2x + c$, so $x^2 - 6x + (10 - c) = 0$.
  2. Tangent: $36 - 4(10 - c) = 0$, so $36 - 40 + 4c = 0$ and $c = 1$.
  3. Then $x^2 - 6x + 9 = 0$, so $(x - 3)^2 = 0$, $x = 3$ and $y = 2(3) + 1 = 7$. Point $(3, 7)$.

When the condition gives a quadratic in $k$

Factorise and sketch the U-shaped graph of the $k$-expression:

  • "$< 0$": the values between the roots;
  • "$> 0$": the values outside the roots.

Worked example 4. Find the values of $k$ for which $y = kx + 1$ does not meet $y = x^2 + x + 5$.

  1. $x^2 + x + 5 = kx + 1$, so $x^2 + (1 - k)x + 4 = 0$.
  2. No meeting point: $(1 - k)^2 - 16 < 0$.
  3. $k^2 - 2k + 1 - 16 < 0$, so $k^2 - 2k - 15 < 0$ and $(k - 5)(k + 3) < 0$.
  4. Between the roots: $-3 < k < 5$.

When $k$ is in the $x^2$ term

The equation $kx^2 + \ldots = 0$ is a quadratic only when $k \neq 0$, so state $k \neq 0$ in the answer.

To show that an equation has distinct real roots for all values of $k$, simplify $b^2 - 4ac$ and explain why it is always positive. A square is never negative.

Worked example 5. Show that $kx^2 + (k + 2)x + 1 = 0$, where $k \neq 0$, has two distinct real roots for all values of $k$.

  1. $b^2 - 4ac = (k + 2)^2 - 4k = k^2 + 4k + 4 - 4k = k^2 + 4$.
  2. $k^2 \geqslant 0$, so $k^2 + 4 \geqslant 4 > 0$. The roots are real and distinct for all $k$.

2.4 Solve quadratic equations for real roots

There are three ways to solve a quadratic equation. Choose the quickest one, and give the answer in the form the question asks for.

Choosing a method

A flowchart: rearrange to ax^2 + bx + c = 0; if it factorises easily, factorise; if not and an exact answer is asked for, use the formula or complete the square and keep surds; otherwise use the formula and round

Always start by moving every term to one side, so that the equation is $ax^2 + bx + c = 0$.

1. Factorising

Worked example 1. Solve $2x^2 - 7x + 3 = 0$.

  1. Find two numbers with product $2 \times 3 = 6$ and sum $-7$: $-6$ and $-1$.
  2. $2x^2 - 6x - x + 3 = 2x(x - 3) - (x - 3) = (2x - 1)(x - 3) = 0$.
  3. $x = \dfrac{1}{2}$ or $x = 3$.

2. The quadratic formula

The quadratic formula 求根公式 is given in the exam's List of formulas:

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

Worked example 2. Solve $3x^2 + 4x - 2 = 0$. Give exact completely correct in every detail answers, then answers to 3 significant figures 有效数字.

  1. $a = 3$, $b = 4$, $c = -2$:
    $$x = \frac{-4 \pm \sqrt{16 + 24}}{6} = \frac{-4 \pm \sqrt{40}}{6}$$
  2. Simplify the surd 根式: $\sqrt{40} = \sqrt{4 \times 10} = 2\sqrt{10}$, so $x = \dfrac{-4 \pm 2\sqrt{10}}{6} = \dfrac{-2 \pm \sqrt{10}}{3}$.
  3. To 3 s.f.: $x = 0.387$ or $x = -1.72$.

3. Completing the square

Worked example 3. Solve $x^2 - 6x + 4 = 0$, giving exact answers.

  1. $(x - 3)^2 - 9 + 4 = 0$, so $(x - 3)^2 = 5$.
  2. $x - 3 = \pm\sqrt{5}$, so $x = 3 + \sqrt{5}$ or $x = 3 - \sqrt{5}$.

Equations that become quadratics

Multiply through to clear a fraction, then rearrange. Check that no answer makes a denominator zero.

Worked example 4. Solve $x + \dfrac{6}{x} = 5$.

  1. Multiply by $x$: $x^2 + 6 = 5x$, so $x^2 - 5x + 6 = 0$.
  2. $(x - 2)(x - 3) = 0$, so $x = 2$ or $x = 3$.

Where a line meets a curve

Set the two expressions for $y$ equal, solve for $x$, then find each $y$ from the line.

Worked example 5. Find where $y = x + 1$ meets $y = x^2 - 3x + 4$.

  1. $x^2 - 3x + 4 = x + 1$, so $x^2 - 4x + 3 = 0$ and $(x - 1)(x - 3) = 0$.
  2. $x = 1$: $y = 2$. $x = 3$: $y = 4$. Points $(1, 2)$ and $(3, 4)$.

2.5 Solution set for quadratic inequalities

A quadratic inequality 不平等 such as $x^2 - x - 6 < 0$ is true for a whole interval of $x$, not just for two values. A quick sketch shows which interval.

Four steps

  1. Rearrange so that one side is $0$ and the $x^2$ term is positive.
  2. Solve the equation $= 0$. Its roots are the critical values 临界值.
  3. Sketch the U-shaped curve through the critical values.
  4. Read off the answer:
    • "$< 0$" (below the axis): the values between the critical values, $a < x < b$;
    • "$> 0$" (above the axis): the values outside them, $x < a$ or $x > b$.

Use $\leqslant$ or $\geqslant$ in the answer when the question has them.

Left: the curve y = x^2 - x - 6 with the x-axis between -2 and 3 drawn thick, open dots at -2 and 3, and the answer -2 < x < 3. Right: the curve y = 2x^2 + 5x - 3 with the x-axis drawn thick to the left of -3 and to the right of 1/2, filled dots at both, and the answer x ≤ -3 or x ≥ 1/2

The thick parts of the $x$-axis are the answers. An open dot means the critical value is not included; a filled dot means it is.

Worked example 1. Solve $x^2 - x - 6 < 0$.

  1. $(x - 3)(x + 2) = 0$: critical values $-2$ and $3$.
  2. "$< 0$": between, so $-2 < x < 3$.

Worked example 2. Solve $2x^2 + 5x - 3 \geqslant 0$.

  1. $(2x - 1)(x + 3) = 0$: critical values $-3$ and $\dfrac{1}{2}$.
  2. "$\geqslant 0$": outside, so $x \leqslant -3$ or $x \geqslant \dfrac{1}{2}$.

Worked example 3. Solve $x(x + 2) > 15$.

  1. $x^2 + 2x - 15 > 0$, so $(x + 5)(x - 3) > 0$: critical values $-5$ and $3$.
  2. Outside: $x < -5$ or $x > 3$.

When the $x^2$ term is negative

Multiply both sides by $-1$ and reverse the inequality sign.

Worked example 4. Solve $12 + x - x^2 > 0$.

  1. Multiply by $-1$: $x^2 - x - 12 < 0$.
  2. $(x - 4)(x + 3) < 0$: between, so $-3 < x < 4$.

Two inequalities together

Solve each one, then keep only the values that satisfy both.

Worked example 5. Find the values of $x$ for which $x^2 - 4x - 5 < 0$ and $2x > 3$.

  1. $(x - 5)(x + 1) < 0$ gives $-1 < x < 5$. And $2x > 3$ gives $x > 1.5$.
  2. Both: $1.5 < x < 5$.

Words in the questions

The exercise sheets for this topic also use these words:

  • solution set 解集
词汇
English 中文 拼音
completing the square/kəmˈpliːtɪŋ ðə skweə/ 配方法 pèi fāng fǎ
minimum point/ˈmɪnɪməm pɔɪnt/ 极小值点 jí xiǎo zhí diǎn
maximum point/ˈmæksɪməm pɔɪnt/ 极大值点 jí dà zhí diǎn
turning point/ˈtɜːnɪŋ pɔɪnt/ 转折点 zhuǎn zhé diǎn
sketch 草绘 cǎo huì
intercept/ˌɪntəˈsept/ 截距 jié jù
range/reɪndʒ/ 范围 fàn wéi
discriminant/dɪˈskrɪmɪnənt/ 判别式 pàn bié shì
distinct/dɪˈstɪŋkt/ 相异 xiāng yì
equal roots 相等的根 xiāng děng de gēn
real roots/rɪəl ruːts/ 实根 shí gēn
tangent/ˈtændʒənt/ 切线 qiē xiàn
quadratic formula/kwɒˈdrætɪk ˈfɔːmjʊlə/ 求根公式 qiú gēn gōng shì
surd/sɜːd/ 根式 gēn shì
significant figures/sɪɡˈnɪfɪkənt ˈfɪɡəz/ 有效数字 yǒu xiào shù zì
exact/eɡˈzækt/ completely correct in every detail adj.
inequality/ɪniːˈkwɒlɪti/ 不平等 bù píng děng
critical values/ˈkrɪtɪkl ˈvæljuːz/ 临界值 lín jiè zhí
solution set/səˈluːʃn set/ 解集 jiě jí

更多 IGCSE 附加数学 知识点

登录或创建账户

IGCSE, A-Level & AP