To sketch a graph you do not plot every point. You find the key features: where it crosses the axes, where it turns, and what it does for very large or very small x.
On this page
Before you start
This page is easier if you are comfortable with:
What this topic covers
Find the intercepts first (see quadratic equations and factorising ), then the turning points using stationary points . Standard shapes include the reciprocal graph and the exponential graph , and a sketch can be shifted using graph transformations.
Each part of this topic has its own page with the formula, worked examples and a solver: Modulus function , Composite and inverse functions , Transformations of y = f(x) , Composite function , Inverse function , Graph transformations , Equation of a circle (centre origin) , Tangent to a circle , Exponential graph, Reciprocal graph.
Closely related topics: Quadratic equations, Differentiation, Logarithms and exponentials , Straight lines and coordinates .
What is it used for? Sketching a curve shows its key features: intercepts, turning points, asymptotes and behaviour as x gets large. A good sketch needs these, not every point.
Understanding a function’s shape before solving or integrating. Showing where a function is positive or negative. Checking an answer visually.
How to solve it
Find the y-intercept by setting x = 0. Find the x-intercepts by setting y = 0 and solving. For a quadratic, find the turning point by completing the square or using x = -b ÷ 2a. For a cubic, use the sign of the x³ term to decide the shape at both ends. For y = 1/x or y = a^x, mark the asymptotes and the points the curve must pass through.
Worked examples
The examples marked with a button were worked out by the solver on this page. You can try each one yourself.
Example 1: sketch y = x^2 - 4x + 3 Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: sketch y = x^2 - 4x + 3
Quadratic graph Answer checked
Answer
x = 1 , 3 ; turning point ( 2 , − 1 ) ; y-intercept ( 0 , 3 ) x = 1,\ 3;\ \text{turning point } \left(2, -1\right);\ \text{y-intercept } \left(0, 3\right) x = 1 , 3 ; turning point ( 2 , − 1 ) ; y-intercept ( 0 , 3 ) y = ( x − 2 ) 2 − 1
y = x^2 - 4x + 3 (0, 3) (1, 0) (3, 0) (2, -1) -2 -1 0 1 2 3 4 5 -3 -2 -1 0 1 2 3 4 5 y = x^2 - 4x + 3 y = x^2 - 4x + 3 Graph with x from -2.7 to 5.7 and y from -3.2 to 5.2. Shows the curve y = x^2 - 4x + 3; point (0, 3) at (0, 3); point (1, 0) at (1, 0); point (3, 0) at (3, 0); point (2, -1) at (2, -1). Write the function
y = x 2 − 4 x + 3
a > 0, so the graph is a U-shaped parabola with a minimum point
a = 1 , b = − 4 , c = 3
y-intercept: put x = 0
y = 3 ⇒ ( 0 , 3 )
Roots: solve y = 0 . The discriminant tells you how many
b 2 − 4 a c = ( − 4 ) 2 − 4 × 1 × 3 = 4
Factorise and set each bracket to zero
y = ( x − 1 ) ( x − 3 ) ⇒ x = 1 , x = 3
Complete the square to find the turning point
y = ( x − 2 ) 2 − 1
The turning point is where the bracket is zero; the line of symmetry goes through it
turning point ( 2 , − 1 ) ( minimum ) , line of symmetry x = 2
Check by calculus: d x d y = 2 a x + b = 0 at the turning point
d x d y = 2 x − 4 = 0 ⇒ x = 2 , y = − 1
Check: substituting each root gives y = 0
f ( 1 ) = 0 , f ( 3 ) = 0
Example 2: sketch y = x^3 - 3x Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: sketch y = x^3 - 3x
Cubic graph Answer checked
Answer
x = − 3 , 0 , 3 ; turning points ( − 1 , 2 ) (maximum) , ( 1 , − 2 ) (minimum) x = -\sqrt{3},\ 0,\ \sqrt{3};\ \text{turning points } \left(-1, 2\right)\ \text{(maximum)},\ \left(1, -2\right)\ \text{(minimum)} x = − 3 , 0 , 3 ; turning points ( − 1 , 2 ) (maximum) , ( 1 , − 2 ) (minimum) y = x^3 - 3x (0, 0) (-1, 2) (1, -2) (-1.732, 0) (0, 0) (1.732, 0) -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 y = x^3 - 3x y = x^3 - 3x Graph with x from -4.2 to 4.2 and y from -4.2 to 4.2. Shows the curve y = x^3 - 3x; point (0, 0) at (0, 0); point (-1, 2) at (-1, 2); point (1, -2) at (1, -2); point (-1.732, 0) at (-1.73205, 0); point (0, 0) at (0, 0); point (1.732, 0) at (1.73205, 0). Write the function
y = x 3 − 3 x
y-intercept: put x = 0
y = 0 ⇒ ( 0 , 0 )
Factorise fully and set each factor to zero
y = x ( x 2 − 3 )
Roots: where the graph crosses or touches the x-axis
Turning points: differentiate and solve d x d y = 0
d x d y = 3 x 2 − 3 = 0 ⇒ x = − 1 , x = 1
Use the second derivative d x 2 d 2 y = 6 x to classify each point
( − 1 , 2 ) : d x 2 d 2 y = − 6 ⇒ maximum , ( 1 , − 2 ) : d x 2 d 2 y = 6 ⇒ minimum
End behaviour: the leading term x 3 dominates for large x
as x → ∞ , y → ∞ ; as x → − ∞ , y → − ∞
Check: the factorised form agrees with the original at test values
x = − 2.5 , − 0.7 , 0.3 , 1.9 , 3.3 give the same y both ways
Check: substituting each root into the original gives zero
Example 3: sketch y = (x-1)(x+2)(x-3) Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: sketch y = (x-1)(x+2)(x-3)
Cubic graph Answer checked
Answer
x = − 2 , 1 , 3 ; turning points ( 2 − 19 3 , 56 − 38 19 27 ) (maximum) , ( 2 + 19 3 , 56 − 38 19 27 ) (minimum) x = -2,\ 1,\ 3;\ \text{turning points } \left(\dfrac{2 - \sqrt{19}}{3}, \dfrac{56 - 38\sqrt{19}}{27}\right)\ \text{(maximum)},\ \left(\dfrac{2 + \sqrt{19}}{3}, \dfrac{56 - 38\sqrt{19}}{27}\right)\ \text{(minimum)} x = − 2 , 1 , 3 ; turning points ( 3 2 − 19 , 27 56 − 38 19 ) (maximum) , ( 3 2 + 19 , 27 56 − 38 19 ) (minimum) y = x^3 - 2x^2 - 5x + 6 (0, 6) (-0.786, -4.061) (2.12, -4.061) (-2, 0) (1, 0) (3, 0) -3 -2 -1 0 1 2 3 4 -6 -4 -2 0 2 4 6 8 10 y = x^3 - 2x^2 - 5x + 6 y = x^3 - 2x^2 - 5x + 6 Graph with x from -3.7 to 4.7 and y from -6.51 to 10.66. Shows the curve y = x^3 - 2x^2 - 5x + 6; point (0, 6) at (0, 6); point (-0.786, -4.061) at (-0.7863, -4.06067); point (2.12, -4.061) at (2.11963, -4.06067); point (-2, 0) at (-2, 0); point (1, 0) at (1, 0); point (3, 0) at (3, 0). Write the function
y = x 3 − 2 x 2 − 5 x + 6
y-intercept: put x = 0
y = 6 ⇒ ( 0 , 6 )
Factor theorem: try factors of the constant term. If f ( a ) = 0 then ( x − a ) is a factor
f ( 1 ) = 0
Factorise fully and set each factor to zero
y = ( x + 2 ) ( x − 1 ) ( x − 3 )
Roots: where the graph crosses or touches the x-axis
x = − 2 , x = 1 , x = 3
Turning points: differentiate and solve d x d y = 0
d x d y = 3 x 2 − 4 x − 5 = 0 ⇒ x = 3 2 − 19 , x = 3 2 + 19 Use the second derivative d x 2 d 2 y = 6 x − 4 to classify each point
( 3 2 − 19 , 27 56 − 38 19 ) : d x 2 d 2 y = − 8.7178 ⇒ maximum , ( 3 2 + 19 , 27 56 − 38 19 ) : d x 2 d 2 y = 8.7178 ⇒ minimum End behaviour: the leading term x 3 dominates for large x
as x → ∞ , y → ∞ ; as x → − ∞ , y → − ∞
Check: the factorised form agrees with the original at test values
x = − 2.5 , − 0.7 , 0.3 , 1.9 , 3.3 give the same y both ways
Check: substituting each root into the original gives zero
f ( − 2 ) = 0 , f ( 1 ) = 0 , f ( 3 ) = 0
Example 4: sketch y = 1/x Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: sketch y = 1/x
Reciprocal graph Answer checked
Answer
asymptotes x = 0 , y = 0 \text{asymptotes } x = 0,\ y = 0 asymptotes x = 0 , y = 0 y = 1/x -8 -6 -4 -2 0 2 4 6 8 -8 -6 -4 -2 0 2 4 6 8 y = 1/x y = 1/x y = 0 Graph with x from -8 to 8 and y from -8 to 8. Shows the curve y = 1/x; the curve y = 0. Write the function as one fraction
y = x 1
Vertical asymptote: the denominator cannot be zero
x = 0 ⇒ x = 0
Horizontal asymptote: for very large x the fraction tends to the ratio of the x-coefficients
y → 1 0 = 0
Equivalently, split it into asymptote + reciprocal part
y = 0 + x 1
x = 0 is the asymptote, so there is no y-intercept
no y-intercept
The numerator is never zero, so the graph never crosses the x-axis
no x-intercept
Check: substitute into the original function
, f ( 1000000 ) ≈ 0 (close to 0 ) , f ( 0 + 0.000001 ) ≈ 1000000
Example 5: sketch y = 2^x Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: sketch y = 2^x
Exponential graph Answer checked
Answer
asymptote y = 0 ; y-intercept ( 0 , 1 ) ; no x-intercept \text{asymptote } y = 0;\ \text{y-intercept } \left(0, 1\right);\ \text{no x-intercept} asymptote y = 0 ; y-intercept ( 0 , 1 ) ; no x-intercept y = 2^x (0, 1) -5 -4 -3 -2 -1 0 1 2 3 4 5 -2 0 2 4 6 8 y = 2^x y = 2^x y = 0 Graph with x from -5 to 5 and y from -2 to 9. Shows the curve y = 2^x; the curve y = 0; point (0, 1) at (0, 1). This is an exponential graph of the form y = A b k x + m + K
y = 2 x , A = 1 , b = 2 , K = 0
Horizontal asymptote: the power term tends to 0 as x → − ∞ , so y approaches K
y = 0
y-intercept: put x = 0
y = 1
A b … can never equal 0 (it has the same sign as A), so there is no x-intercept
no x-intercept
Check: substitute values into the original
f ( − 60 ) ≈ 0 (close to the asymptote y = 0 )
Example 6: turning point of y = x^2 - 6x + 5 Worked out by the solver on this page. Press the button to try it yourself.
Try this in the solver: turning point of y = x^2 - 6x + 5
Quadratic graph Answer checked
Answer
( 3 , − 4 ) ( minimum ) \left(3, -4\right)\ (\text{minimum}) ( 3 , − 4 ) ( minimum ) y = ( x − 3 ) 2 − 4
y = x^2 - 6x + 5 (0, 5) (1, 0) (5, 0) (3, -4) -1 0 1 2 3 4 5 6 -4 -2 0 2 4 6 y = x^2 - 6x + 5 y = x^2 - 6x + 5 Graph with x from -1.7 to 6.7 and y from -5.8 to 6.8. Shows the curve y = x^2 - 6x + 5; point (0, 5) at (0, 5); point (1, 0) at (1, 0); point (5, 0) at (5, 0); point (3, -4) at (3, -4). Write the function
y = x 2 − 6 x + 5
a > 0, so the graph is a U-shaped parabola with a minimum point
a = 1 , b = − 6 , c = 5
y-intercept: put x = 0
y = 5 ⇒ ( 0 , 5 )
Roots: solve y = 0 . The discriminant tells you how many
b 2 − 4 a c = ( − 6 ) 2 − 4 × 1 × 5 = 16
Factorise and set each bracket to zero
y = ( x − 1 ) ( x − 5 ) ⇒ x = 1 , x = 5
Complete the square to find the turning point
y = ( x − 3 ) 2 − 4
The turning point is where the bracket is zero; the line of symmetry goes through it
turning point ( 3 , − 4 ) ( minimum ) , line of symmetry x = 3
Check by calculus: d x d y = 2 a x + b = 0 at the turning point
d x d y = 2 x − 6 = 0 ⇒ x = 3 , y = − 4
Check: substituting each root gives y = 0
f ( 1 ) = 0 , f ( 5 ) = 0
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
Quadratic y = x² − 4x + 3: roots 1 and 3
Vertex at (2, −1).
Cubic y = x³ − 3x: roots 0, ±√3
Turning points at x = ±1.
Reciprocal y = 1/x
Asymptotes x = 0, y = 0.
Exponential y = 2ˣ
Passes through (0, 1), y > 0.
Word problems
Find the intercepts, the turning points and any asymptotes, check the behaviour at large x, then join smoothly.
Quadratic Turning point of y = x² − 6x + 5.
Complete the square (x − 3)² − 4 Vertex (3, −4) Check: roots 1 and 5 are symmetric about 3 ✓ -4
Quadratic roots Roots of y = x² − 4x + 3.
Factorise (x − 1)(x − 3) Roots 1 and 3 Check: y-intercept 3 ✓ 3
Cubic Higher Stationary points of y = x³ − 3x.
dy/dx 3x² − 3 Set to 0 x = ±1 y values −2 and 2 Check: (1, −2) ✓ -2
Reciprocal Higher Sketch y = 1/x.
Asymptotes x = 0 and y = 0 Point (2, 0.5) Check: 1/2 = 0.5 ✓ 0.5
Common mistakes
Drawing the vertex at the wrong place vertex at (−3, …) for (x − 3)² ✗
(3, …) ✓
Opposite sign.
Crossing an asymptote curve crosses ✗
approaches only ✓
Never touches.
Missing the y-intercept no intercept ✗
substitute x = 0 ✓
Always find it.
Wrong end behaviour of a cubic both ends up ✗
opposite ends ✓
Check the sign of x³.
Exam tips
Intercepts first.
Turning points: dy/dx = 0.
Asymptotes as dashed lines.
End behaviour.
Label key points.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Vertex y of y = x² − 6x + 5 Foundation -4
2. y-intercept of y = (x − 1)(x + 2)(x − 3) Foundation 6
3. Larger root of y = x² − 4x + 3 Foundation 3
4. Turning point x of y = x² − 8x Higher 4
5. y of 2ˣ at x = 3 Higher 8
6. Positive turning point x of y = x³ − 3x Higher 1
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Intercept Where the curve meets an axis. Turning point A maximum or minimum. Asymptote A line the curve approaches. Root An x-intercept. Vertex The turning point of a parabola. Behaviour at infinity The ends of the curve.
Frequently asked questions
How do I sketch a curve? Mark intercepts, turning points and asymptotes, then join smoothly.
How do I find turning points? Set dy/dx = 0.
What is an asymptote? A line the curve gets closer to but never reaches.
Which page covers stationary points? stationary points.
Which page covers reciprocal graphs? reciprocal graph and reciprocal graphs and asymptotes .
Which page covers exponentials? exponential graph.