Everything to learn better...

Home

Maths

Numerical methods

Staircase and cobweb diagrams

Staircase and cobweb diagrams

Select Lesson

Exam Board

Select an option

Explainer Video

Loading...
Tutor: Meera

Summary

Staircase and cobweb diagrams

In a nutshell

An iterative formula can take the form of a staircase or a cobweb diagram when sketched on a graph. These are visual indications of convergence to a root, or divergence away from it. 



Staircase diagrams

f(x)=x22x1f(x)=x^2-2x-1 can produce the iterative formula x=2x+1x=\sqrt{2x+1}. To begin, plot two lines on a graph corresponding to each side of this equation: y=2x+1y=\sqrt{2x+1}​  and y=xy=x.


Maths; Numerical methods; KS5 Year 13; Staircase and cobweb diagrams


Start with x0x_0 as the origin. To create a staircase diagram, draw up from x0x_0 until meeting the curve, then across from the curve to the line, then up from the line until meeting the curve again and so on. Every point the staircase diagram meets the line y=xy=x is a new xnx_n number: x0,x1,x2,...x_0, x_1,x_2,... A diagram is shown below:


Maths; Numerical methods; KS5 Year 13; Staircase and cobweb diagrams


As you can see, the 'stairs' get closer and closer to the point of intersection between y=2x+1y=\sqrt{2x+1} and y=xy=x. That intersecting point lies at xnx_n, which is a root of the original equation f(x)=x22x1f(x)=x^2-2x-1. The staircase diagram converges onto the root.



Cobweb diagrams

Cobweb diagrams have a the same principles as a staircase diagram. Consider the function f(x)=2x34x21f(x)=2x^3-4x^2-1, with an iterative formula g(x)=2+12x2g(x)=2+\dfrac{1}{2x^2}. Plot g(x)g(x) and the line y=xy=x onto a graph.


Maths; Numerical methods; KS5 Year 13; Staircase and cobweb diagrams


Making x0=0.5x_0=0.5 and following the same rules as the staircase diagram, this diagram emerges:


Maths; Numerical methods; KS5 Year 13; Staircase and cobweb diagrams


The diagram circles around the root, forming what's known as a cobweb diagram. The result is the same: through iteration you land on the intersection of y=g(x)y=g(x) and y=xy=x, which is the point whose xx-coordinate is the root of f(x)=2x34x21f(x)=2x^3-4x^2-1.​


Create an account to read the summary

Exercises

Create an account to complete the exercises

FAQs - Frequently Asked Questions

What significance does the intersection between g(x) and y=x have to f(x).

What is a converging cobweb diagram?

What is a converging staircase diagram?

Beta

I'm Vulpy, your AI study buddy! Let's study together.