James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
A level Maths › Pure · Algebra & functions › Graphs of functions

Graphs of functions

Sketching and drawing graphs, finding their key features (intercepts, turning points, asymptotes), and solving equations by graphing.

Pure 2.7Year 1≈ 50 min to work through
Before you start: straight lines and factorising. See Straight lines and Before you start (GCSE skills check) › Factorising.

1What you need to know

Tick these off as you go. By the end of the page you should be able to do all of them without notes.

  • Know the difference between sketching and drawing a graphY1
  • Find intercepts, maximum and minimum points, and asymptotesY1
  • Use your calculator to find key featuresY1
  • Solve f(x)=g(x) by finding intersectionsY1
  • Use a graph to decide how many solutions an equation hasY1

2Notes & worked examples

Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.

The big idea

A graph is a picture of a function. Its key features (intercepts, turning points, asymptotes) tell you the most important facts about the function, and graphs let you solve equations that algebra cannot.

2.1 Sketching and key features

Each key feature answers a question about the function. The y-intercept is the value when x=0. The x-intercepts (roots or zeros) are where the function equals zero. Maximum and minimum points show the largest and smallest values in a region. Asymptotes show where the function heads towards a value without reaching it.

  • A sketch shows the shape and the key features, labelled. A drawing is accurate, to scale, on a given grid.
  • Key features: x-intercepts (zeros, where y=0), the y-intercept (where x=0), maximum and minimum points, asymptotes, and any symmetry.
  • Label key features with coordinates on your sketch.

Sketching from an equation. Find the y-intercept (put x=0) and any x-intercepts (put y=0). Think about what happens for very large positive and negative x: for x3, the graph goes up on the right and down on the left. Find any turning points (by calculator or, later, by differentiation) and any asymptotes. Then join the features with a smooth curve and label them.

Worked example 1Calculator
Find the key features of y=x3−4x.
x-intercepts: x(x−2)(x+2)=0, so x=0,±2. The y-intercept is 0.
calculator: local maximum (−1.15,3.08) and local minimum (1.15,−3.08).
The graph has rotational symmetry about the origin.
Give coordinates to 3 s.f. unless told otherwise.

2.2 Solving equations graphically

The solutions of f(x)=g(x) are the x-coordinates of the points where y=f(x) and y=g(x) meet. This works for equations you cannot solve by algebra.

Why does this work?

A point (x,y) lies on the graph y=f(x) only if y=f(x). If it also lies on y=g(x), then f(x)=g(x) at that x. So every crossing point gives a solution, and every solution gives a crossing point. Counting the crossing points tells you how many solutions there are.

An equation like x2=2x mixes a polynomial with an exponential. There is no algebraic method to solve it exactly, so a graph or the calculator is the right tool. You can also rearrange so one side is zero, f(x)−g(x)=0, and find the zeros of a single graph.

Worked example 2Calculator
Solve x2=2x.
Graph y=x2 and y=2x.
Find all the intersections: x=−0.767, x=2 and x=4.
There are three solutions.
Zoom out to make sure you have not missed any.
Worked example 3Calculator
How many solutions does x3−4x=2 have?
The line y=2 is between the local minimum (−3.08) and the local maximum (3.08) of y=x3−4x.
So it crosses the curve three times: there are 3 solutions.
Worked example 4 (faded)No calculator
For f(x)=(x−1)(x+3), find the intercepts.
x-intercepts: x= 1 and −3  ← you work this out
y-intercept: f(0)= −3  ← you work this out
On your Casio ClassWiz Calculator tricks →

A ClassWiz does not draw graphs, so use the Table app: enter f(x), choose a start, end and step, and look for sign changes (a root lies between them) and where the values stop increasing (a turning point). The Equation app → Polynomial finds the roots of cubics exactly.

3Explore it

Move the horizontal line y=k. The number of times it crosses y=x3−4x is the number of solutions of x3−4x=k.

4Common mistakes & exam tips

Common mistakes

  • Missing solutions because the window is too small.
  • Giving the y-coordinate when the question asks for the solution x.
  • Not labelling intercepts and turning points on a sketch.
  • Using a sketch where an accurate drawing was asked for (or the other way round).

Exam tips

  • Write down the coordinates your calculator gives you, then answer the question that was asked.
  • For "how many solutions", sketch both graphs and count the crossings.
  • Rewrite f(x)=g(x) as f(x)−g(x)=0 and find the zeros if two curves are hard to separate.

5Practice

Fluency questions build the basics. Problem-solving questions make you think about which method to use.

FluencyP1
Find the x-intercepts of y=x2−5x+6.
(x−2)(x−3)=0: x=2 and x=3.
FluencyP2
Find the y-intercept of y=(x+2)(x−4).
(2)(−4)=−8
FluencyP3
Use your calculator to find the maximum point of y=−x2+4x+1.
(2,5)
FluencyP4
Solve ex=3−x.
x=0.792
Problem solvingP5
How many real roots does x3−3x+1=0 have?
The turning points are (−1,3) and (1,−1), on opposite sides of the x-axis, so there are 3 roots.
Problem solvingP6
Find the points where y=1x meets y=x.
x2=1: (1,1) and (−1,−1).

6Exam-style questions

Original exam-style questions with full markschemes. Edexcel papers allow a calculator throughout, but questions labelled “No calculator” practise exact working. Allow about 1.2 minutes per mark.

Question 1Calculator[6 marks]

f(x)=x3−2x2−5x+6.

  • (a)Find the x-intercepts of the graph of f.[2]
  • (b)Find the coordinates of the local maximum point.[2]
  • (c)Solve f(x)=4.[2]
(a)
Attempt to find zeros (calculator or factorise)M1
x=−2, 1, 3A1
(b)
x=−0.786A1
(−0.786, 8.21)A1
(c)
Intersection with y=4M1
x=−1.68, 0.358, 3.32A1
Question 2Calculator[5 marks]

  • (a)Solve lnx=3−x.[2]
  • (b)Find the number of solutions of ex=x+2, and give each solution.[3]
(a)
Graph both sides, find intersectionM1
x=2.21A1
(b)
Two solutionsA1
x=−1.84A1
x=1.15A1
Question 3No calculator[4 marks]

f(x)=(x−2)2(x+1).

  • (a)Write down the x-intercepts of the graph of f.[2]
  • (b)Find the y-intercept.[1]
  • (c)Write down the values of x for which f(x)<0.[1]
(a)
x=−1A1
x=2 (the graph touches the axis here)A1
(b)
(−2)2(1)=4A1
(c)
x<−1A1

7Check yourself

Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.

8Past-paper practice

Once you're scoring well above, try real Edexcel A level questions. Past papers and markschemes are on the Pearson website.

PaperQuestionFocusDifficulty
June 2022 · Paper 2Q2Sketch an exponential curve and solve an equation★☆☆
June 2018 · Paper 2Q3(b)Sketch y = |x| + 3 and compare it with |x + 3|★☆☆
Nov 2021 · Paper 2Q11Modulus graph: sketch, then solve with a parameter k★★★
Spotted a mistake on this page?Tell me and I'll fix it. The button opens an email with this page already named, or write to jamesashtonmaths@gmail.com.
Report a mistake