A-level Mathematics

2.9 Graphs, the modulus function, asymptotes and intersections — Learn

Prerequisites: factorising from 2.3 and 2.7; solving quadratics from 2.4; simultaneous equations from 2.5; inequalities from 2.6.

By the end of this section you can: sketch a polynomial from its factors; draw and use the modulus function; solve equations and inequalities that contain a modulus; find the asymptotes of y=axy = \frac{a}{x} and y=ax2y = \frac{a}{x^2}; and find where two graphs meet.

1. Sketching a polynomial

A sketch is not a plot. It carries the features that matter, in the right places.

  1. Find the roots by solving y=0y = 0 and factorising.
  2. Find the yy-intercept by putting x=0x = 0.
  3. Decide the shape: a positive leading coefficient means the curve goes up at both ends for an even degree, and up on the right for an odd degree.
  4. Mark any repeated root. At a repeated root the curve touches the xx-axis instead of crossing it.

Example 1. Sketch y=x2−x−6y = x^2 - x - 6.

Factorise to find the roots:

x2−x−6=(x−3)(x+2),x^2 - x - 6 = (x - 3)(x + 2),

so the roots are x=3x = 3 and x=−2x = -2. Putting x=0x = 0 gives the yy-intercept −6-6. The coefficient of x2x^2 is positive, so the parabola opens upwards. The sketch is a UU shape crossing the xx-axis at −2-2 and 33 and the yy-axis at −6-6.

2. The modulus function

The modulus of a number is its distance from zero, so it is never negative.

∣x∣={xif x≥0,−xif x<0.|x| = \begin{cases} x & \text{if } x \geq 0, \\ -x & \text{if } x < 0. \end{cases}

The graph of y=∣x∣y = |x| is a VV shape, with its point at the origin. The graph of y=∣x−a∣y = |x - a| is the same VV moved right by aa, with its point at (a,0)(a, 0).

An equation with a modulus has two cases, because the expression inside the modulus can be positive or negative.

Example 2. Solve ∣x−3∣=2|x - 3| = 2.

Case 1, x−3≥0x - 3 \geq 0:

x−3=2,x=5.x - 3 = 2, \qquad x = 5.

Case 2, x−3<0x - 3 < 0:

−(x−3)=2,x−3=−2,x=1.-(x - 3) = 2, \qquad x - 3 = -2, \qquad x = 1.

Both values are solutions. On the graph, they are the two points where the VV shape y=∣x−3∣y = |x - 3| meets the line y=2y = 2.

Example 3. Solve ∣x+1∣<3|x + 1| < 3.

The inequality says the distance from xx to −1-1 is less than 33. This is the interval between −1−3-1 - 3 and −1+3-1 + 3:

−4<x<2.-4 < x < 2.

In set notation, x∈(−4,2)x \in (-4, 2). Change << to >> and the answer changes to the two intervals outside: x<−4x < -4 or x>2x > 2.

3. Try it: the modulus fold

Predict first. The figure draws y=∣x−a∣y = |x - a| together with a horizontal line y=by = b. Before you touch the sliders, predict how many solutions the equation ∣x−a∣=b|x - a| = b has when b>0b > 0, when b=0b = 0, and when b<0b < 0. Write all three answers down.

Test. Move the slider for aa and watch the point of the VV slide along the xx-axis. Then move the slider for bb and watch the horizontal line and the points where it meets the VV. Take bb above zero first, then set it to zero, then push it below zero.

Explain. The dashed line is y=x−ay = x - a, drawn only where that line is negative. Write two sentences saying how it becomes the left arm of the VV, and why a value of bb below zero leaves the equation with no solutions.

4. Asymptotes

An asymptote is a line that a curve approaches but never reaches. The reciprocal graphs are the standard examples.

y=axandy=ax2,a≠0.y = \frac{a}{x} \qquad \text{and} \qquad y = \frac{a}{x^2}, \qquad a \neq 0.

Both have a vertical asymptote at x=0x = 0, where the denominator is zero and the curve is undefined. As xx grows large, the fraction ax\frac{a}{x} gets closer to 00, so both graphs have a horizontal asymptote at y=0y = 0.

lim⁡x→∞ax=0.\lim_{x \to \infty} \frac{a}{x} = 0.

The notation lim⁡x→∞\lim_{x \to \infty} means "the value the expression approaches as xx grows without bound". The curve does not have to reach the value; it only has to get closer.

Example 4. Find the asymptotes of y=3x−2+1y = \dfrac{3}{x - 2} + 1.

The denominator is zero at x=2x = 2, so there is a vertical asymptote at x=2x = 2. As x→∞x \to \infty the fraction approaches 00, so

y→0+1=1.y \to 0 + 1 = 1.

The horizontal asymptote is y=1y = 1.

5. Intersections

The points where two graphs meet are the solutions of the two equations taken together.

Example 5. Find where y=x2y = x^2 meets y=x+6y = x + 6.

Set the expressions equal:

x2=x+6,x2−x−6=0,(x−3)(x+2)=0.x^2 = x + 6, \qquad x^2 - x - 6 = 0, \qquad (x - 3)(x + 2) = 0.

So x=3x = 3 or x=−2x = -2. Substitute into y=x2y = x^2:

x=3⇒y=9,x=−2⇒y=4.x = 3 \Rightarrow y = 9, \qquad x = -2 \Rightarrow y = 4.

The graphs meet at (3,9)(3, 9) and (−2,4)(-2, 4). Reading an equation graphically is exactly this: the roots of an equation are the crossings of the two graphs.

Watch out. A case that fails is still a case you must check.

For ∣x∣=2x−1|x| = 2x - 1, the case x<0x < 0 gives x=13x = \frac{1}{3}, which is not less than zero, so it is rejected. The equation has the single solution x=1x = 1. Always test each value against the case that produced it.

An asymptote is not a value. The curve never touches its asymptote, so y=1y = 1 is not in the range of y=3x−2+1y = \frac{3}{x - 2} + 1. Re-check: put each solution back into the original equation, and mark on your sketch whether the curve is allowed to cross the asymptote.

Progress check

Return to the chapter problem. The arch is y=4−x24y = 4 - \frac{x^2}{4} and the lorry roof is 3.23.2 m above the road.

  1. Write the condition "the arch is at least as high as the lorry roof" as a modulus inequality, using symmetry about x=0x = 0.
  2. Solve the inequality and give the set of positions where the roof clears the arch.
  3. Find the greatest height of the arch and the two points where the arch meets the road, and sketch the arch using those three features.
  4. Explain, using the graph, why a wider lorry has less room under a higher part of the arch.

You should now be able to

Settings

Colour scheme

Applies to every book you read here.

Reading theme

Applies to every book you read here.