James Ashton MathsFREE MATHEMATICS. OPEN TO EVERYONE.
HomeIB DiplomaA levelAbout
IB Diploma › Maths AA HL › Topic 2: Functions › Graphs, key features & solving graphically

Graphs, key features & solving graphically

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

SL 2.32.4SL + HL extensionPaper 1Paper 2≈ 50 min to work through
Before you start: straight lines and factorising. See Straight lines and Before you start SL › 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 graphSL 2.3
  • Find intercepts, maximum and minimum points, and asymptotesSL 2.4
  • Use the TI-Nspire to find key featuresSL 2.4
  • Solve f(x)=g(x) by finding intersectionsSL 2.10
  • Use a graph to decide how many solutions an equation hasSL 2.10

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 1Paper 2
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.
GDC: 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 2Paper 2
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 3Paper 2
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)Paper 1
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 TI-Nspire Calculator tricks →

On a Graphs page: menu → 6: Analyze Graph → 1: Zero, 2: Minimum, 3: Maximum or 4: Intersection. Click to the left and then the right of the point. Set the view with menu → 4: Window/Zoom.

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.

★HL extension

Extra depth for HL: harder worked examples and HL-standard exam questions.

A favourite HL question asks how the number of solutions of f(x)=k depends on k. The answer comes from the graph: sweep a horizontal line y=k up the page and count the crossings. Turning points and asymptotes mark where the count changes.

Number of solutions of f(x) = k

Worked example H1Paper 1
Find the number of real solutions of x3−3x=k for each value of k.
f(x)=x3−3x has a local maximum (−1,2) and a local minimum (1,−2).
Found from the GDC or by differentiating.
−2<k<2: the line y=k crosses the curve 3 times.
k=±2: it touches at a turning point and crosses once more: 2 solutions.
k<−2 or k>2: 1 solution.
Worked example H2Paper 2
Find the number of solutions of xe−x=k for each real k.
f(x)=xe−x: maximum (1,1e); f→−∞ as x→−∞; f→0+ as x→∞.
k>1e: none. k=1e: one. 0<k<1e: two. k≤0: one.
For 0<k<1e the line meets the curve once on each side of the maximum; it never meets the right-hand tail because f>0 but f→0.

Tangency as a boundary case

For equations like ex=kx, the boundary value of k is where the line y=kx is a tangent to y=ex. The tangent from the origin touches at (1,e), so k=e: two solutions for k>e, one for k=e or k<0, none for 0≤k<e.

HL exam-style questions

Question 1Paper 2[6 marks]

Let f(x)=x3−3x.

  • (a)Find the coordinates of the local maximum and local minimum points of the graph of f.[2]
  • (b)Find the set of values of k for which the equation f(x)=k has exactly three real solutions.[2]
  • (c)Write down the values of k for which f(x)=k has exactly two real solutions.[2]
(a)
(−1,2)A1
(1,−2)A1
(b)
considering the horizontal line y=kM1
−2<k<2A1
(c)
k=2, k=−2A1A1
Question 2Paper 2[5 marks]

Let g(x)=xe−x, x∈ℝ.

  • (a)Find the coordinates of the maximum point of the graph of g.[2]
  • (b)Find the set of values of k for which g(x)=k has two distinct real solutions.[3]
(a)
(1,0.368)A1A1
Accept (1,e−1)
(b)
g(x)>0 for x>0 and g→0 as x→∞R1
0<k<0.368A2
A1 for one correct end

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 the GDC 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 GDC 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 questions in the style of the IB exam, with full markschemes. Give yourself about 1 minute per mark.

Question 1Paper 2[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 (GDC 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 2Paper 2[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 3Paper 1[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 IB questions. Your school or teacher will have these papers.

PaperQuestionFocusDifficulty
Nov 2024 · Paper 2Q1Evaluate, find roots and sketch a function with radicals★☆☆
May 2025 · TZ3 · Paper 1Q6Sketch modulus and reciprocal transformations of a given graph★★☆
May 2023 · TZ1 · Paper 1Q8Sketch f(mod x) and find k giving exactly two solutions★★☆
May 2024 · TZ1 · Paper 1Q9Sketch f(mod x) and mod of f(mod x) from a given graph★★★
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