1001Ferramentas
✂️Calculators

Bisection Method

Find a root of f(x)=0 in [a,b] by bisection (requires sign change).

Raiz ≈

How the bisection method finds roots

Take a continuous function f on some interval [a, b] where f(a) · f(b) < 0. That sign change is the key: by the Intermediate Value Theorem, a root has to sit somewhere inside. From there the method just keeps checking the midpoint c = (a + b) / 2. If f(c) · f(a) < 0, the root is in [a, c], so you set b = c; if not, you set a = c. Each pass throws away half the interval.

Convergence is linear, which means the error after n iterations stays below (b − a) / 2^n. Try x² − 2 = 0 on [1, 2] and the midpoints come out as 1.5, then 1.25 (rejected once the sign check moves the bracket), then 1.375, 1.4375, and so on. Around 20 iterations get you six correct decimal digits of √2 ≈ 1.41421356. Yes, it is slower than Newton's method with its quadratic convergence, but it never asks for f' and it is mathematically guaranteed to converge as long as the starting bracket is valid.

Where bisection shows up in practice

It earns its keep whenever the derivative is missing, unstable, or costly to evaluate. It also makes a dependable fallback inside hybrid root-finders, where Brent's method pairs bisection with secant and inverse-quadratic steps to stay both safe and fast. You will run into it in industrial process control and PID tuning, when solving for implied volatility in option pricing, in binary-search variants across algorithms, and in calibration curves used in instrumentation.

FAQ

What if f(a) · f(b) > 0? Then the method has nowhere to start, since the bracket shows no guaranteed sign change. Maybe there is no root, maybe there is an even number of them, or maybe you simply picked the wrong interval. Plotting f first is the easiest way to spot good brackets.

How many iterations do I need? Hitting a tolerance ε takes n ≥ log₂((b − a) / ε) steps. On a unit interval with ε = 10⁻⁶ that works out to 20 iterations, and the function itself does not change that number.

Why use bisection over Newton's method? Newton is faster (quadratic against linear), but it can also diverge, oscillate, or stall when it hits f'(x) = 0. Bisection gives up that speed for a guarantee that never breaks, which is exactly what you want when reliability counts more than how many iterations it takes.

Related Tools

🎯

Newton-Raphson Method

Find roots of f(x)=0 by Newton-Raphson with numerical derivative.

Trapezoid Integral

Approximate ∫ₐᵇ f(x)dx by composite trapezoid rule.

🏖️

Vacation Pay Calculator (Brazil)

Calculate vacation pay with the constitutional third per Brazilian labor law (CLT). Enter gross salary and vacation days to get the estimated net amount.

📐

Timber Design Strength (kmod, NBR 7190)

Computes the timber design strength per the Brazilian NBR 7190, f_d = k_mod1 · k_mod2 · k_mod3 · f_k / γ_w, where the three modification factors correct the characteristic strength for load duration, service moisture class and timber grade, and γ_w is the material partial safety factor. Timber is the only common structural material whose strength falls with the DURATION of the applied load, and that is what k_mod1 encodes: it is 1.10 for instantaneous action and only 0.60 for permanent load, so the same member is worth nearly twice as much under impact as under self weight. In the most common design combination — long-duration action (0.70), moisture class 1 or 2 (1.00), first-grade sawn timber (1.00) and compression parallel to the grain with γ_wc = 1.4 — the factors cancel such that the design strength comes out exactly half the characteristic value, a shortcut worth memorising to sanity-check any result. Enter the three modification factors, the characteristic strength and the partial safety factor.

🎨

Paint Coverage Calculator

Compute paint liters needed for an area, given coverage per liter and coats.

Arc Flash Incident Energy (Lee Method)

Computes arc flash incident energy by the Ralph Lee method, E = 5.12×10⁵ × V × I_bf × t ÷ d², with voltage in kV, bolted fault current in kA, fault clearing time in seconds and working distance in millimetres. Lee's method models an open-air arc as an ideal radiant heat source, ignoring the energy an enclosure reflects back; IEEE 1584 therefore keeps it only as the legacy model, recommended for open-air arcs and for voltages above 15 kV where the empirical equations do not apply. The result in cal/cm² sets the PPE category: 1.2 cal/cm² is the second-degree burn threshold and the value that bounds the arc flash boundary. The cal/cm² form is adopted (the J/cm² variant uses 2.142×10⁶ and is 4.184 times larger). Enter the voltage, the fault current, the clearing time and the working distance.

The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.