Educerie

Educerie · IB Diploma · Mathematics: analysis and approaches

IB Mathematics AA 2.4 · SL and HL

Key features of graphs and intersections

Once a function is on the screen, which points and lines describe it, and how do you find each of them, including where two graphs meet?

What you will learn

  • Know the key features of a graph: intercepts, zeros, maximum and minimum points, symmetry and asymptotes.
  • Understand that zeros, roots and x-intercepts are the same numbers, and that a value differs from a point.
  • Understand that on a restricted domain the greatest or least value can sit at an end point.
  • Know that the solutions of f(x) = g(x) are the x-coordinates where the two graphs meet, found with technology.

You must be able to

  1. Find the coordinates of local maximum and minimum points and the zeros of a function with your GDC.
  2. Solve f(x) = g(x) by finding where the graphs intersect, giving every solution.
  3. Write down the equations of the vertical and horizontal asymptotes of a graph.
  4. Find the range of a function on a restricted domain by comparing turning points and end points.
  5. Find the values of k for which f(x) = k has a given number of solutions.
  6. Sketch a graph showing its intercepts, turning points and asymptotes.

In the exam. mainly Paper 2, where the GDC is expected: "find the coordinates of the local minimum", "write down the equation of the vertical asymptote", "solve f(x)=g(x)f(x) = g(x)", usually 1 to 3 marks each inside a longer question. Paper 1 asks for the same features by hand, for simple functions: a factorised quadratic, a rational function ax+bcx+d\dfrac{ax + b}{cx + d}. Sketches are also common.

1The features, and their names

Figure 1 shows one graph with its features labelled: the cubic y=x3−3x2−9x+5y = x^{3} - 3x^{2} - 9x + 5.

Figure 1 · The key features of one graph x y local max (−1, 10) local min (3, −22) (0, 5) (−2.18, 0) (0.489, 0) (4.69, 0) y = x³ − 3x² − 9x + 5: three zeros, one y-intercept, a local maximum and a local minimum. The zeros of f, the roots of f(x) = 0 and the x-intercepts are the same three numbers.
Figure 1 · The key features of one graph
FeatureWhat it isHow to find it
yy-interceptwhere the graph crosses the yy-axisput x=0x = 0: the point (0,f(0))(0, f(0))
xx-interceptswhere the graph crosses the xx-axissolve f(x)=0f(x) = 0
Zeros of ffthe xx-values that make f(x)=0f(x) = 0the same numbers as the xx-intercepts
Roots of an equationthe solutions of f(x)=0f(x) = 0the same numbers again
Local maximum / minimuma point where the graph turns, higher or lower than everything close to itGDC maximum and minimum tools; later, calculus
Vertexthe turning point of a parabolaGDC, or x=−b2ax = -\dfrac{b}{2a} from the formula booklet
Axis of symmetrya vertical line the graph is a mirror image inthrough the vertex of a parabola
Vertical asymptotea line x=ax = a that the graph runs up or down alongsidewhere the function is undefined because of division by zero
Horizontal asymptotea line y=by = b that the graph settles towards as x→±∞x \to \pm\inftythe value f(x)f(x) approaches for very large or very negative xx

Zeros, roots and xx-intercepts are one set of numbers seen three ways: inputs, solutions, points. For Figure 1 they are x=−2.18x = -2.18, 0.4890.489 and 4.694.69.

  • A question asking for the zeros wants the xx-values.
  • A question asking for the xx-intercepts wants points, (−2.18,0)(-2.18, 0) and so on.

A second distinction costs marks too.

  • The maximum value of a function is a yy-value, such as 10.
  • The maximum point is a pair of coordinates, (−1,10)(-1, 10).

Answer the one you are asked for.

2Using the GDC: what each tool gives you

On Paper 2 you find these features with graphing technology. A short note of the method helps the marker award method marks. The tools are named differently on different calculators but do the same jobs:

You wantToolThe GDC asks you for
a zero, root or xx-interceptzero / roota left bound and a right bound either side of it
a local maximum or minimummaximum / minimumbounds either side of the turn
the yy-interceptvalue at x=0x = 0, or yy-interceptnothing
where two graphs meetintersectthe two curves, and a guess near the point
an output for a given inputvalue, or the tablethe input

On a Casio these tools live under G-Solv. On a TI-Nspire, they are under Analyse Graph. Two habits matter:

  • Find each feature separately. First choose a window that shows every feature, since a tool only finds what is on screen. A cubic with three zeros needs the zero tool three times.
  • Round only at the end, and to 3 significant figures. The GDC shows 0.488872256…0.488872256\ldots; you write 0.4890.489. If the value feeds into a later part, use the stored value, or the next answer drifts.
  • Write a line such as "using GDC: local minimum at (3,−22)(3, -22)". An answer with no working scores only if exactly right.

On Paper 1 you find the same features by algebra.

  • Factorise for zeros.
  • Substitute x=0x = 0 for the yy-intercept.
  • Use the axis formula or a completed square (2.6) for a vertex.
  • Read asymptotes from the form of the function.

3Zeros and intercepts

  • The yy-intercept always comes from x=0x = 0. A function has at most one.
  • The xx-intercepts come from f(x)=0f(x) = 0. There may be none, one or many. By hand, factorise and use the fact that a product is zero only when a factor is.

Worked example. Find the zeros and the yy-intercept of g(x)=3x2−4x−4g(x) = 3x^{2} - 4x - 4, and the vertex of its graph.

3x2−4x−4=(3x+2)(x−2)=0factorise3x^{2} - 4x - 4 = (3x + 2)(x - 2) = 0 \qquad \textcolor{#838c91}{\text{factorise}}x=−23orx=2the two zerosx = -\frac{2}{3} \quad\text{or}\quad x = 2 \qquad \textcolor{#838c91}{\text{the two zeros}}g(0)=−4y-intercept (0,−4)g(0) = -4 \qquad \textcolor{#838c91}{\text{y-intercept }(0, -4)}x=−b2a=23,g ⁣(23)=−163vertex (23,−163)x = \frac{-b}{2a} = \frac{2}{3}, \qquad g\!\left(\tfrac{2}{3}\right) = -\frac{16}{3} \qquad \textcolor{#838c91}{\text{vertex }\left(\tfrac{2}{3}, -\tfrac{16}{3}\right)}

The axis x=23x = \tfrac{2}{3} is halfway between the zeros, a check on the arithmetic.

Crossing and touching

  • At most zeros a graph crosses the xx-axis. At a repeated zero, where a factor appears twice, it only touches the axis and turns back.
  • Example: for p(x)=(x+2)(x−1)2p(x) = (x + 2)(x - 1)^{2}, the zero x=−2x = -2 is a crossing and x=1x = 1 is a touch. The graph reaches the axis at (1,0)(1, 0), which is also a local minimum, and goes back up.
  • The zero tool can fail without a sign change. Find a touch as a minimum or maximum with yy-value 0.
  • "The graph does not cross the xx-axis" means f(x)=0f(x) = 0 has no solution. For a quadratic that is a negative discriminant (2.6).

4Maximum and minimum values

  • A local maximum = a point higher than every nearby point on the graph: the top of a hill. A local minimum = the bottom of a valley.
    • For y=x3−3x2−9x+5y = x^{3} - 3x^{2} - 9x + 5 the GDC gives a local maximum at (−1,10)(-1, 10) and a local minimum at (3,−22)(3, -22).
    • "Local" matters. The cubic in Figure 1 rises for ever on the right, so (−1,10)(-1, 10) is only the highest nearby.
  • On a restricted domain the end points join the competition, as Figure 2 shows. Take the same cubic on −3≤x≤6-3 \le x \le 6 and check four candidates: both turning points and both end points.
f(−3)=−27−27+27+5=−22left end pointf(-3) = -27 - 27 + 27 + 5 = -22 \qquad \textcolor{#838c91}{\text{left end point}}f(−1)=10local maximumf(-1) = 10 \qquad \textcolor{#838c91}{\text{local maximum}}f(3)=−22local minimumf(3) = -22 \qquad \textcolor{#838c91}{\text{local minimum}}f(6)=216−108−54+5=59right end pointf(6) = 216 - 108 - 54 + 5 = 59 \qquad \textcolor{#838c91}{\text{right end point}}

The greatest value is 5959, at the end point (6,59)(6, 59), not at the local maximum. The least is −22-22, reached twice. The range on this domain is −22≤f(x)≤59-22 \le f(x) \le 59, the same method as the range questions in 2.2.

Figure 2 · On a restricted domain the end points compete x y −3 3 6 59 −22 (−3, −22) (6, 59) greatest value local max (−1, 10) (3, −22) Same function on −3 ≤ x ≤ 6. The greatest value, 59, is at an end point, not at the local maximum. The least value, −22, is reached twice: at the end point x = −3 and at the local minimum.
Figure 2 · On a restricted domain the end points compete

On a restricted domain, the greatest and least values can be at the end points. Evaluate ff at every end point and turning point, then compare.

Worked example. Find the range of k(x)=2x3−3x2−12x+4k(x) = 2x^{3} - 3x^{2} - 12x + 4 for −3≤x≤4-3 \le x \le 4.

The GDC gives a local maximum at (−1,11)(-1, 11) and a local minimum at (2,−16)(2, -16). The end points are k(−3)=−54−27+36+4=−41k(-3) = -54 - 27 + 36 + 4 = -41 and k(4)=128−48−48+4=36k(4) = 128 - 48 - 48 + 4 = 36.

The least of the four values is −41-41, at the left end. The greatest is 3636, at the right end. The range is −41≤k(x)≤36-41 \le k(x) \le 36.

5Symmetry and the vertex

  • A graph has line symmetry in a vertical line x=hx = h if folding along that line puts one half exactly onto the other.
    • Every parabola has one: its axis of symmetry. The turning point on it is the vertex.

Figure 3(a) shows y=−2x2+8x−3y = -2x^{2} + 8x - 3. The formula booklet gives the axis of a quadratic ax2+bx+cax^{2} + bx + c as x=−b2ax = -\dfrac{b}{2a}:

x=−b2a=−82×(−2)=2axis of symmetry: x=2x = \frac{-b}{2a} = \frac{-8}{2 \times (-2)} = 2 \qquad \textcolor{#838c91}{\text{axis of symmetry: }x = 2}y=−2(2)2+8(2)−3=−8+16−3=5vertex (2,5)y = -2(2)^{2} + 8(2) - 3 = -8 + 16 - 3 = 5 \qquad \textcolor{#838c91}{\text{vertex }(2, 5)}
  • Symmetry gives points for free. Since (0.5,0.5)(0.5, 0.5) is on the curve, so is its mirror image (3.5,0.5)(3.5, 0.5). The two xx-intercepts of a parabola sit equally either side of its axis, so the axis is halfway between them.
  • In the vertex form a(x−h)2+ka(x - h)^{2} + k, you can read off the vertex (h,k)(h, k) and the axis x=hx = h. That is the point of completing the square.
Figure 3 · Two kinds of symmetry (a) y = −2x² + 8x − 3 x y 1 3 4 −2 2 4 2 x = 2 vertex (2, 5) (b) y = x³ − 4x x y −1 1 −3 3 −2 2 (1, −3) (−1, 3) (a) Line symmetry: fold along x = 2. (b) Rotational symmetry: turn half a turn about the origin.
Figure 3 · Two kinds of symmetry
  • Symmetry in the yy-axis (x=0x = 0) happens exactly when f(−x)=f(x)f(-x) = f(x) for every xx. Even powers do this, x2x^{2} and x4x^{4}. So does 10x2+1\dfrac{10}{x^{2} + 1}, which is built only from x2x^{2}.
    • HL meets this test by name, as even and odd functions, in AHL 2.14. At SL it is enough to describe the symmetry on the graph.
  • A graph has rotational symmetry about the origin if a half turn (180∘180^{\circ}) about (0,0)(0, 0) leaves it unchanged.
    • Example: Figure 3(b) shows y=x3−4xy = x^{3} - 4x. The point (1,−3)(1, -3) turns onto (−1,3)(-1, 3), and every point on one side matches one on the other, with the origin exactly halfway.
    • The algebra is f(−x)=−f(x)f(-x) = -f(x). Odd powers do this, xx and x3x^{3}. So does 4xx2+1\dfrac{4x}{x^{2} + 1}.

Worked example. Decide the symmetry of s(x)=x3+2xs(x) = x^{3} + 2x and u(x)=x2+xu(x) = x^{2} + x.

For ss: s(−x)=−x3−2x=−s(x)s(-x) = -x^{3} - 2x = -s(x), so it has rotational symmetry about the origin.

For uu: u(−x)=x2−xu(-x) = x^{2} - x is neither u(x)u(x) nor −u(x)-u(x), so neither test passes. A mix of odd and even powers is the signal.

When a question asks you to describe a symmetry, name the line (x=2x = 2) or the centre (the origin) precisely.

6Asymptotes

An asymptote = a straight line that a graph gets closer and closer to as it heads off towards infinity. You need two kinds, found using graphing technology. Figure 4 shows both for y=2x+1x−3y = \dfrac{2x + 1}{x - 3}.

Figure 4 · Vertical and horizontal asymptotes x y −6 6 9 −6 −3 3 6 9 3 x = 3 y = 2 (−0.5, 0) (0, −⅓) y = (2x + 1)/(x − 3). Near x = 3 the curve shoots off; far to either side it settles towards y = 2.
Figure 4 · Vertical and horizontal asymptotes
  • A vertical asymptote, x=ax = a, is where the function is undefined because it would divide by zero (with a top that is not also zero there). Nearby, the outputs grow without limit, up or down.
    • Example: the denominator x−3x - 3 is zero at x=3x = 3. The curve shoots off the screen either side of x=3x = 3, and the table shows why:
xx2.92.92.992.99333.013.013.13.1
yy−68-68−698-698undefined7027027272

In symbols: y→−∞y \to -\infty as x→3−x \to 3^{-} (from the left) and y→+∞y \to +\infty as x→3+x \to 3^{+} (from the right). The curve plunges on one side and soars on the other.

A horizontal asymptote, y=by = b, is the value the outputs settle towards as xx becomes very large, positive or negative. Scroll the table far out:

xx10010010001000−1000-1000
yy2.072.072.0072.0071.9931.993
  • The outputs settle on 2, so the horizontal asymptote is y=2y = 2.
  • On Paper 1 you can see it without a table. For very large xx the +1+1 and the −3-3 hardly matter, so 2x+1x−3\dfrac{2x + 1}{x - 3} behaves like 2xx=2\dfrac{2x}{x} = 2.

In general, take ax+bcx+d\dfrac{ax + b}{cx + d} with c≠0c \neq 0 and ad≠bcad \neq bc. (Otherwise top and bottom share a factor, and the graph is a horizontal line with a hole.)

  • The vertical asymptote is x=−dcx = -\dfrac{d}{c}.
  • The horizontal asymptote is y=acy = \dfrac{a}{c}.

Here that gives x=3x = 3 and y=2y = 2. The domain is every x≠3x \neq 3. The range is every y≠2y \neq 2, because 2x+1=2(x−3)2x + 1 = 2(x - 3) has no solution. The yy-intercept is (0,−13)\left(0, -\dfrac{1}{3}\right). The xx-intercept is where the top is zero, (−0.5,0)(-0.5, 0).

Always write an asymptote as the equation of a line: x=3x = 3 and y=2y = 2, never just "33" and "22". On a sketch, draw it dashed and label it with that equation.

  • A horizontal asymptote is about what happens far away. So a graph can cross it.
    • Example: Figure 5 shows y=4xx2+1y = \dfrac{4x}{x^{2} + 1}, with horizontal asymptote y=0y = 0. It passes through the origin, turns at (1,2)(1, 2) and (−1,−2)(-1, -2), and only then settles towards y=0y = 0 on both sides.
  • A graph can never cross a vertical asymptote, because the function has no value there.
Figure 5 · A curve may cross its horizontal asymptote x y −6 −3 3 6 2 −2 max (1, 2) min (−1, −2) approaches y = 0 approaches y = 0 y = 4x/(x² + 1) passes through the origin on y = 0, then approaches y = 0 again as x → ±∞.
Figure 5 · A curve may cross its horizontal asymptote

Worked example. For r(x)=4−x2x+5r(x) = \dfrac{4 - x}{2x + 5}, find the asymptotes, the intercepts, and say what the graph does on each side of the vertical asymptote.

Here a=−1a = -1, b=4b = 4, c=2c = 2, d=5d = 5. The vertical asymptote is x=−52x = -\dfrac{5}{2} and the horizontal asymptote is y=−12y = -\dfrac{1}{2}. The yy-intercept is r(0)=45r(0) = \dfrac{4}{5}. The top is zero at x=4x = 4, so the xx-intercept is (4,0)(4, 0).

For the sides, put values close to −2.5-2.5 in the table:

xx−2.6-2.6−2.51-2.51−2.49-2.49−2.4-2.4
yy−33-33−325.5-325.5324.5324.53232

So y→−∞y \to -\infty as x→−2.5−x \to -2.5^{-}, and y→+∞y \to +\infty as x→−2.5+x \to -2.5^{+}. The domain is x≠−2.5x \neq -2.5 and the range is y≠−0.5y \neq -0.5.

Other families

  • Exponential. y=4e−0.5x+3y = 4e^{-0.5x} + 3 has the horizontal asymptote y=3y = 3, because the exponential part shrinks towards 0 as xx grows. The range is y>3y > 3.
  • Logarithm. y=ln⁡(2x−6)y = \ln(2x - 6) has the vertical asymptote x=3x = 3, where its argument reaches 0. The domain is x>3x > 3.
  • Rational. 3x2+1x2−4\dfrac{3x^{2} + 1}{x^{2} - 4} has vertical asymptotes x=±2x = \pm 2. Dividing top and bottom by x2x^{2} shows the outputs tend to 3, so y=3y = 3.

Two warnings about technology.

  • A GDC in connected mode may draw a steep line joining the branches at x=3x = 3. It is not part of the graph, as the table proves.
  • A window that stops at x=10x = 10 can make an approach to an asymptote look like a falling curve. Check the table at large xx.

7Sketching with the features

A sketch shows the features in the right places with the right shape between them.

  1. Mark the axes, dashed asymptotes (with their equations), intercepts and turning points.
  2. Decide what the curve does far left and far right.
  3. Join everything in one smooth curve that never crosses a vertical asymptote.

Worked example. Sketch p(x)=(x+2)(x−1)2p(x) = (x + 2)(x - 1)^{2}.

The yy-intercept is p(0)=2×1=2p(0) = 2 \times 1 = 2. The zeros are x=−2x = -2 (a crossing) and x=1x = 1 (a touch, since the factor is squared). The GDC gives a local maximum at (−1,4)(-1, 4) and a local minimum at (1,0)(1, 0), the touch point.

For large positive xx, pp is large and positive. For large negative xx, it is large and negative. So the curve rises from the bottom left through (−2,0)(-2, 0) and peaks at (−1,4)(-1, 4). It falls through (0,2)(0, 2) to touch the axis at (1,0)(1, 0), then rises for ever.

For a rational function add the asymptotes. In the sketch of r(x)r(x) from section 6, the right branch comes down beside x=−2.5x = -2.5, through (0,45)\left(0, \tfrac{4}{5}\right) and (4,0)(4, 0), and levels out just above y=−0.5y = -0.5.

The left branch runs from just below y=−0.5y = -0.5 down to −∞-\infty.

8Where two graphs meet

Two graphs meet where they have the same yy-value at the same xx. So the xx-coordinates of the points of intersection of y=f(x)y = f(x) and y=g(x)y = g(x) are exactly the solutions of f(x)=g(x)f(x) = g(x). That turns an equation into a picture the GDC can read.

By algebra, when it is easy

  • On Paper 1 you set f(x)=g(x)f(x) = g(x), rearrange and solve by hand. A line and a parabola show every possibility.
  • Take y=2x2−3x+2y = 2x^{2} - 3x + 2 and the line y=x+cy = x + c. Equating them gives 2x2−4x+2−c=02x^{2} - 4x + 2 - c = 0, whose discriminant (from 2.6) is 16−8(2−c)=8c16 - 8(2 - c) = 8c.
    • If c>0c > 0, the discriminant is positive and the line cuts the curve twice.
    • If c=0c = 0, it is zero and the line touches the curve at one point, (1,1)(1, 1). The line is a tangent.
    • If c<0c < 0, it is negative and the line misses.
  • For c=2c = 2 the equation is 2x2−4x=2x(x−2)=02x^{2} - 4x = 2x(x - 2) = 0, and the graphs meet at (0,2)(0, 2) and (2,4)(2, 4).

Most equations cannot be solved by algebra. The syllabus has no algebraic method for 2x=x+32^{x} = x + 3. The GDC solves it in two ways, as Figure 6 shows.

Figure 6 · Solving 2ˣ = x + 3 with technology, two ways (a) y = 2ˣ and y = x + 3 x y −4 2 4 2 4 6 8 (−2.86, 0.137) (2.44, 5.44) y = 2ˣ y = x + 3 (b) y = 2ˣ − x − 3 x y −4 2 4 2 4 −2 x = −2.86 x = 2.44 (a) Intersect the two graphs. (b) Or graph the difference and find its zeros. The x-values are the same.
Figure 6 · Solving 2ˣ = x + 3 with technology, two ways

Method 1: intersect

  • Graph y=2xy = 2^{x} and y=x+3y = x + 3 and use the intersect tool at each crossing.
  • The graphs meet at (−2.86,0.137)(-2.86, 0.137) and (2.44,5.44)(2.44, 5.44), so the solutions are x=−2.86x = -2.86 and x=2.44x = 2.44.

Method 2: zeros of the difference

  • Graph y=2x−x−3y = 2^{x} - x - 3 and use the zero tool twice for the same xx-values.
  • Use this when one graph is awkward to enter, or to count every solution in a wide window.

Reading an inequality

  • Where the graph of ff is above the graph of gg, f(x)>g(x)f(x) > g(x).
  • In Figure 6(a) the exponential is above the line left of the first crossing and right of the second. So 2x>x+32^{x} > x + 3 for x<−2.86x < -2.86 or x>2.44x > 2.44, and 2x<x+32^{x} < x + 3 for −2.86<x<2.44-2.86 < x < 2.44.
  • The intersections give the boundaries. The picture tells you which side.
    • Example: for the parabola and line above with c=2c = 2, the parabola is below the line between the meeting points. So 2x2−3x+2<x+22x^{2} - 3x + 2 < x + 2 for 0<x<20 < x < 2.

Counting solutions: the line y=ky = k

  • The solutions of f(x)=kf(x) = k are where the horizontal line y=ky = k meets the graph, so count the crossings.
  • For the cubic of Figure 1, the local maximum is 10 and the local minimum is −22-22.
    • A line above 10 or below −22-22 meets the graph once.
    • The lines y=10y = 10 and y=−22y = -22 each meet it twice. They touch one turning point and cross elsewhere.
    • A line between them meets it three times.
  • So f(x)=kf(x) = k has exactly three solutions when −22<k<10-22 < k < 10 (strict).
  • On a restricted domain count only the part of the graph that exists, since an end point can add or remove a crossing. Take k(x)=2x3−3x2−12x+4k(x) = 2x^{3} - 3x^{2} - 12x + 4 on −3≤x≤4-3 \le x \le 4 (section 4).
    • The line y=20y = 20 meets the graph once.
    • The line y=0y = 0 meets it three times.
    • The line y=−30y = -30 meets it once, because the graph starts at −41-41 and never returns below −16-16 after climbing past −30-30.

Two checks before you write the answer.

  • Have you found them all? Zoom out. An exponential and a line, or two curves, can meet more than once, and the second meeting is often off the default screen.
  • Does the question want xx-values or points? "Solve" wants x=…x = \dots. "Find the coordinates" wants (x,y)(x, y).

Intersections can have a real-world meaning. A market equilibrium is where demand meets supply. In 2.3, break-even was where revenue met cost. Name the meaning in your answer, with units.

Worked example. A stadium sells a limited run of tour posters. Demand is p=60q+3p = \dfrac{60}{q + 3} and supply is p=0.4q+2p = 0.4q + 2, where qq is in hundreds of posters and pp is in dollars. Find the equilibrium.

Graph both and intersect: q=8.29q = 8.29, p=5.32p = 5.32. In context: the market clears at about 829 posters at $5.32\$5.32 each.

Practice questions

45 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.