How this calculation works
Test a reduced proper real rational transfer function for positive realness within a strict nonboundary-pole domain.
Re G(iω)=R(ω²)/|D(iω)|²; require LHP poles and R(x)≥0 for x≥0.A worked example
For G(s)=(s+1)/(s+2), the real-part numerator isω²+2 and the pole is−2, so the transfer function is positive real.
Good to know
Proper real rational degree≤6, distinct numerically resolved poles, no imaginary-axis poles or detected common factors. Polynomial stationary-point sign test,strictly negative minima fail; no boundary-pole extension, matrix passivity or nonlinear-system verdict.
Reference: MathWorks: positive-real frequency response and passivity (opens in a new tab) ↗
A real-part condition, not a magnitude bound
Positive realness concerns the real part of a transfer function over the imaginary axis together with the required analytic pole conditions. It does not mean that every polynomial coefficient is positive or that the response magnitude stays below one. Those are different properties.
For a scalar linear system, positive realness connects with a suitable input-output passivity convention. That connection should not be expanded into a claim about an arbitrary nonlinear device. This calculator evaluates the stated finite rational model and its strict nonboundary-pole assumptions only.
Compare this with the SISO H infinity norm calculator for a stable rational transfer function. Test whether a transfer function has nonnegative real part on the imaginary axis under analytic pole conditions, rather than bound its magnitude.
Preparing a reduced transfer function
Enter ascending numerator and denominator coefficients for a proper real rational function. The denominator degree must be at least the numerator degree. A common numerator-denominator factor should be canceled deliberately before input, because canceled unstable modes raise a different realization question from the transfer function alone.
The page detects unresolved common factors and rejects them rather than silently canceling a mode. Imaginary-axis poles and repeated or poorly separated roots are also excluded. The familiar boundary-pole extensions of the positive-real theorem are not claimed by this narrower numerical implementation.
The default first-order example
The default transfer function is s plus one divided by s plus two. Its only pole is minus two, which lies strictly in the left half-plane. Multiplying its imaginary-axis numerator by the conjugate denominator gives a real part proportional to omega squared plus two.
The squared denominator magnitude is positive at every real frequency. Because omega squared plus two is strictly positive, the real-part requirement holds throughout the frequency axis. The output therefore marks the example positive real and shows the polynomial coefficients that support this conclusion.
Reducing the frequency test to a polynomial
Split each real polynomial into its even and odd powers before substituting s equal to i omega. The real part of numerator times conjugate denominator contains only even powers of omega. Replacing omega squared by x gives a real polynomial R on the nonnegative half-line.
Its denominator is a strictly positive squared magnitude when no imaginary-axis pole exists. The sign question can therefore be tested using R at zero, its nonnegative stationary points and its eventual leading behavior, rather than guessing from a finite frequency plot that might miss a negative interval.
Pole checks and residual scale
The implementation finds the denominator roots and checks their real parts. Any strictly right-half-plane pole fails the analytic condition, while a pole numerically too close to the imaginary axis is outside the supported resolved domain. A nonnegative frequency polynomial cannot compensate for an unstable pole.
The sign test uses a numerical coefficient-scale tolerance. Near a repeated stationary root or a barely touching zero, small perturbations can change the classification. The listed polynomial and stationary squared frequencies expose the calculation so borderline cases can be studied with symbolic or higher-precision methods.
Reading a negative result
A negative result can arise from unstable poles, a negative real-part interval, or both. Inspect the separate stable-poles and nonnegative-real-part fields to see which condition failed. This distinguishes a dynamical pole problem from a dissipativity-shaped frequency problem in the same transfer expression.
Do not infer a physical energy source merely from one rejected mathematical model. Sign conventions for input and output, model reduction and the frequency range of validity all matter when applying a passivity interpretation. The calculator does not know those physical choices unless they are already embodied in the entered transfer function.
Useful independent checks
For a simple first-order model, derive the real part by hand and compare its numerator with the returned polynomial. A negative constant gain should fail, and a positive constant gain should pass. A right-half-plane pole should fail even if a coarse frequency plot appears nonnegative.
For more complex models, compare against a trusted positive-real or passivity routine using the same cancellation and boundary conventions. Matching those assumptions is essential. This page deliberately excludes several meaningful theorem extensions to provide a bounded, inspectable numerical calculation rather than an overbroad certification.
A few questions, answered
Does positive real mean gain below one?
No. It constrains the real part and analytic pole behavior, not an H-infinity magnitude limit.
Are imaginary-axis poles supported?
No. This page uses the stricter nonboundary-pole domain and does not implement their residue conditions.
Will common factors be canceled automatically?
No. Supply a deliberately reduced model; detected or unresolved common factors are rejected.
Does this certify a nonlinear system as passive?
No. The calculation concerns the supplied scalar linear rational transfer function only.