Sketch quadratics, cubics, reciprocals and exponentials

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.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

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.

How to solve it

  1. Find the y-intercept by setting x = 0.
  2. Find the x-intercepts by setting y = 0 and solving.
  3. For a quadratic, find the turning point by completing the square or using x = -b ÷ 2a.
  4. For a cubic, use the sign of the x³ term to decide the shape at both ends.
  5. 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.

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)
y = x^2 - 4x + 3(0, 3)(1, 0)(3, 0)(2, -1)-2-1012345-3-2-1012345y = x^2 - 4x + 3y = x^2 - 4x + 3Graph 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).
  1. Write the function
  2. a > 0, so the graph is a U-shaped parabola with a minimum point
  3. y-intercept: put
  4. Roots: solve . The discriminant tells you how many
  5. Factorise and set each bracket to zero
  6. Complete the square to find the turning point
  7. The turning point is where the bracket is zero; the line of symmetry goes through it
  8. Check by calculus: at the turning point
  9. Check: substituting each root gives y = 0

Example 2: sketch y = x^3 - 3x

Worked out by the solver on this page. Press the button to try it yourself.

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)}
y = x^3 - 3x(0, 0)(-1, 2)(1, -2)(-1.732, 0)(0, 0)(1.732, 0)-4-3-2-101234-4-3-2-101234y = x^3 - 3xy = x^3 - 3xGraph 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).
  1. Write the function
  2. y-intercept: put
  3. Factorise fully and set each factor to zero
  4. Roots: where the graph crosses or touches the x-axis
  5. Turning points: differentiate and solve
  6. Use the second derivative to classify each point
  7. End behaviour: the leading term dominates for large x
  8. Check: the factorised form agrees with the original at test values
  9. 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.

Cubic graph Answer checked
Answer
x=−2, 1, 3; turning points (2−193,56−381927) (maximum), (2+193,56−381927) (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)}
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-101234-6-4-20246810y = x^3 - 2x^2 - 5x + 6y = x^3 - 2x^2 - 5x + 6Graph 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).
  1. Write the function
  2. y-intercept: put
  3. Factor theorem: try factors of the constant term. If then is a factor
  4. Factorise fully and set each factor to zero
  5. Roots: where the graph crosses or touches the x-axis
  6. Turning points: differentiate and solve
  7. Use the second derivative to classify each point
  8. End behaviour: the leading term dominates for large x
  9. Check: the factorised form agrees with the original at test values
  10. Check: substituting each root into the original gives zero

Example 4: sketch y = 1/x

Worked out by the solver on this page. Press the button to try it yourself.

Reciprocal graph Answer checked
Answer
asymptotes x=0, y=0\text{asymptotes } x = 0,\ y = 0
y = 1/x-8-6-4-202468-8-6-4-202468y = 1/xy = 1/xy = 0Graph with x from -8 to 8 and y from -8 to 8. Shows the curve y = 1/x; the curve y = 0.
  1. Write the function as one fraction
  2. Vertical asymptote: the denominator cannot be zero
  3. Horizontal asymptote: for very large x the fraction tends to the ratio of the x-coefficients
  4. Equivalently, split it into asymptote + reciprocal part
  5. x = 0 is the asymptote, so there is no y-intercept
  6. The numerator is never zero, so the graph never crosses the x-axis
  7. Check: substitute into the original function

Example 5: sketch y = 2^x

Worked out by the solver on this page. Press the button to try it yourself.

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}
y = 2^x(0, 1)-5-4-3-2-1012345-202468y = 2^xy = 2^xy = 0Graph 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).
  1. This is an exponential graph of the form
  2. Horizontal asymptote: the power term tends to 0 as x , so y approaches K
  3. y-intercept: put
  4. can never equal 0 (it has the same sign as A), so there is no x-intercept
  5. Check: substitute values into the original

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.

Quadratic graph Answer checked
Answer
(3,−4) (minimum)\left(3, -4\right)\ (\text{minimum})
y = x^2 - 6x + 5(0, 5)(1, 0)(5, 0)(3, -4)-10123456-4-20246y = x^2 - 6x + 5y = x^2 - 6x + 5Graph 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).
  1. Write the function
  2. a > 0, so the graph is a U-shaped parabola with a minimum point
  3. y-intercept: put
  4. Roots: solve . The discriminant tells you how many
  5. Factorise and set each bracket to zero
  6. Complete the square to find the turning point
  7. The turning point is where the bracket is zero; the line of symmetry goes through it
  8. Check by calculus: at the turning point
  9. Check: substituting each root gives y = 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.

  1. Complete the square(x − 3)² − 4
  2. Vertex(3, −4)
  3. Check: roots 1 and 5 are symmetric about 3 ✓-4

Quadratic roots

Roots of y = x² − 4x + 3.

  1. Factorise(x − 1)(x − 3)
  2. Roots1 and 3
  3. Check: y-intercept 3 ✓3

Cubic Higher

Stationary points of y = x³ − 3x.

  1. dy/dx3x² − 3
  2. Set to 0x = ±1
  3. y values−2 and 2
  4. Check: (1, −2) ✓-2

Reciprocal Higher

Sketch y = 1/x.

  1. Asymptotesx = 0 and y = 0
  2. Point(2, 0.5)
  3. 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

  1. Intercepts first.
  2. Turning points: dy/dx = 0.
  3. Asymptotes as dashed lines.
  4. End behaviour.
  5. 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.

Solve: …

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.

More in Algebra and the formula sheets.