Sketching graphs of functions

Sketching graphs of functions

Spec 1.11 · Edexcel International A Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A cubic with a>0a>0 rises left to right; a repeated root touches the axis, a single root crosses.
  • y=kxy=\frac kx and y=kx2y=\frac k{x^2} have asymptotes x=0x=0 and y=0y=0.
  • sin⁡\sin and cos⁡\cos have period 360∘360^\circ and range −1-1 to 11; tan⁡\tan has period 180∘180^\circ and asymptotes at 90∘90^\circ, 270∘270^\circ.
  • The xx-coordinates where f(x)f(x) and g(x)g(x) meet solve f(x)=g(x)f(x)=g(x).
  • A full sketch shows shape, intercepts, turning points and asymptotes.

Cubic graphs

Find the roots by factorising, the yy-intercept, and whether each root is a crossing or a touching point.

A cubic with a>0a>0 rises from bottom left to top right; with a<0a<0 it falls. y=x(x−2)(x+2)y=x(x-2)(x+2) crosses at −2-2, 00 and 22.

A repeated root such as x2x^2 in y=x2(x−4)y=x^2(x-4) makes the curve touch the axis and turn back; a single root crosses.

−3−2−1123−8−6−4−22468xy(-2, 0)(0, 0)(2, 0)y = x(x − 2)(x + 2)
y = x(x − 2)(x + 2) has three single roots, so it crosses the axis at each.
−112345−10−5510xy(0, 0)(4, 0)y = x²(x − 4)
y = x²(x − 4) has a repeated root at 0, so the curve touches the x-axis at the origin and turns back. It crosses at (4, 0).

How does y=x2(x−4)y=x^2(x-4) behave at x=0x=0?

Reciprocal graphs

y=kxy=\frac kx has two branches that approach the axes but never meet them; the axes are its asymptotes.

y=kxy=\frac kx is in the first and third quadrants if k>0k>0, the second and fourth if k<0k<0. y=kx2y=\frac k{x^2} lies above the xx-axis for k>0k>0 and is symmetrical about the yy-axis.

An asymptote is a line the curve approaches but never reaches: here x=0x=0 and y=0y=0.

−4−3−2−11234−4−3−2−11234xyx = 0y = 0(1, 1)y = 1/xy = 1/x²
y = 1/x (first and third quadrants) and y = 1/x² (first and second quadrants) with asymptotes x = 0 and y = 0. Both pass through (1, 1).

In which quadrants does y=−3xy=\frac{-3}{x} lie?

Trigonometric graphs

Sine and cosine are waves between −1-1 and 11 with period 360∘360^\circ; tangent repeats every 180∘180^\circ with asymptotes.

For 0∘≤x≤360∘0^\circ\le x\le360^\circ: y=sin⁡xy=\sin x starts at 00, peaks at 90∘90^\circ, minimum at 270∘270^\circ. y=cos⁡xy=\cos x starts at 11, minimum at 180∘180^\circ.

y=tan⁡xy=\tan x passes through the origin and (180∘,0)(180^\circ,0), with vertical asymptotes at 90∘90^\circ and 270∘270^\circ. Its period is 180∘180^\circ.

123456−1.5−1−0.50.511.5xy(90°, 1)(270°, -1)(0°, 1)(180°, -1)y = sin xy = cos x
y = sin x and y = cos x for 0° to 360° (the horizontal axis is in radians: 90° = 1.571, 180° = 3.142, 270° = 4.712, 360° = 6.283).
123456−4−3−2−11234xyx = 90°x = 270°(0°, 0)(180°, 0)y = tan x
y = tan x for 0° to 360° (radians on the axis), with vertical asymptotes at 90° and 270°.

Where are the vertical asymptotes of y=tan⁡xy=\tan x for 0∘≤x≤360∘0^\circ\le x\le360^\circ?

Intersections solve equations

The xx-coordinates where y=f(x)y=f(x) and y=g(x)y=g(x) meet are the solutions of f(x)=g(x)f(x)=g(x).

A sketch shows how many solutions to expect before you solve algebraically.

sin⁡x=cos⁡x\sin x=\cos x for 0∘≤x≤360∘0^\circ\le x\le360^\circ: the curves cross twice, at 45∘45^\circ and 225∘225^\circ (from tan⁡x=1\tan x=1). For x(x−2)(x+2)=2xx(x-2)(x+2)=\frac2x there are two solutions, x=±2+6x=\pm\sqrt{2+\sqrt6}.

−3−2−1123−10−8−6−4−2246810xy(2.11, 0.95)(-2.11, -0.95)y = x(x − 2)(x + 2)y = 2/x
y = x(x − 2)(x + 2) and y = 2/x meet twice, at x = ±√(2 + √6) ≈ ±2.11.

Worked example

Solve sin⁡x=cos⁡x\sin x=\cos x for 0∘≤x≤360∘0^\circ\le x\le360^\circ.

How many solutions does sin⁡x=cos⁡x\sin x=\cos x have for 0∘≤x≤360∘0^\circ\le x\le360^\circ?

A complete sketch

Show the overall shape, every intercept with coordinates, any turning point on an axis and any asymptote (dashed, with its equation).

It does not need to be to scale. For y=x2(x−4)y=x^2(x-4): it touches the xx-axis at the origin, crosses at (4,0)(4,0), is below the axis for x<4x<4 and rises to +∞+\infty for x>4x>4. So the line y=5y=5 meets it once.

−2−1123456−20−1010203040xy(0, 0)(4, 0)(8/3, −256/27)y = x²(x − 4)
y = x²(x − 4): touches the x-axis at the origin, crosses at (4, 0), turning point (8/3, −256/27).
  • Sketchshape + intercepts + asymptotes

Worked example

Sketch y=x2(x−4)y=x^2(x-4) and say how many times it meets y=5y=5.

What happens to y=x2(x−4)y=x^2(x-4) as x→−∞x\to-\infty?

Try an exam question

Sketch the graph of y=x2(x−4)y=x^2(x-4), showing the coordinates of any points where the curve meets the axes. State how many solutions there are to x2(x−4)=5x^2(x-4)=5.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which of the following are the equations of the asymptotes of CC?

1 mark, marked against the mark scheme

Revision notes