Skip to content
All apps

Multiplicity of roots

About this app

Set polynomial roots with multiplicities one, two or three. Discover when a graph crosses or touches the axis and when it flattens.

The idea

In factored form f(x) = a·(x − x₁)^m₁·(x − x₂)^m₂·… every xᵢ is a root and the exponent mᵢ is its multiplicity. With odd multiplicity f changes sign and the graph crosses the x-axis: at an angle for m = 1, with a horizontal tangent for m = 3. With even multiplicity the sign stays the same, the graph touches the axis and has a turning point there. For m ≥ 2, xᵢ is also a root of f′.

What the app shows

Up to three roots can be switched on and off, moved, and given multiplicity 1 to 4. A leading coefficient a stretches or flips the graph. The app shows the factored form and labels each root “crosses” or “touches”. You can also overlay f′. The default is f(x) = (x − 1)(x − 3)², with a simple root at 1 and a double root at 3.

Things to try

Change the multiplicity of the root at 3 from 2 to 3 and watch the touching point turn into a horizontal inflection. Turn on f′: at touching points and at such inflections, f′ has a root as well. Drag roots toward each other on the canvas and see how the graph flattens between them.

Frequently asked questions

What is the multiplicity of a root?
It is the number of times the linear factor (x − x₀) appears in the factorisation of the polynomial. In f(x) = (x − 1)(x − 3)², 1 is a simple root and 3 a double root. A root of multiplicity m is also a root of all derivatives up to f⁽ᵐ⁻¹⁾.
When does a graph touch the x-axis instead of crossing it?
At a root of even multiplicity the graph touches the axis without changing sign, so there is a local maximum or minimum. At odd multiplicity it crosses the axis. From multiplicity 3 on, it crosses with a horizontal tangent.
What happens at a triple root?
At a triple root both f and f′ are zero, but f still changes sign. The graph passes through the axis horizontally without turning back. This is an inflection point with a horizontal tangent, as for f(x) = x³ at 0.
What can I set in the app?
The position and multiplicity of up to three roots, whether each is active, and the leading coefficient a. You can also overlay the derivative f′.

Subject: Analysis (one-dimensional)

More from Analysis (one-dimensional)

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps