Where Exploration Meets Excellence
Jupiter Academy · Lesson

Vector Inequalities and Properties

Classical mechanics establishes the physical universe through spatial displacements, geometric trajectories, and algebraic vectors. When analyzing planar dynamics, vector addition provides the quantitative foundation for compounding forces, velocities, and linear displacements. However, engineering designs and real-world kinematic analyses rarely involve static orientations with perfectly known angles. Instead, physicists often establish exact mathematical bounds on potential outcomes when directional coordinates fluctuate. Understanding these extreme physical limits demands a rigorous study of vector inequalities, which dictate the allowable scalar boundaries of composite directional quantities.

The foundational principle of vector inequalities emerges directly from Euclidean planar geometry: the length of any single side of a non-degenerate triangle cannot exceed the sum of the lengths of the remaining two sides. When formalized within the language of modern linear algebra and analytical mechanics, this geometric intuition transforms into the vector triangle inequality and its corresponding difference bounds. These relations provide an analytical framework for calculating maximum velocity thresholds, minimum structural tension values, and conservative engineering safety envelopes without requiring explicit component-wise vector resolutions.

Beyond elementary geometry, these bounding properties establish the metric topology required for higher-order physics. From the definition of distance in curved spacetime manifolds to Hilbert space formulations in modern quantum mechanics, vector norms and their inequalities preserve physical causality and conservation laws. Exploring these relationships requires deriving their proofs from initial principles, mapping their exact geometric equality conditions, and observing how they restrict kinematics, structural statics, and error estimations across intermediate and advanced physics.

Foundations of Vector Addition and Geometric Construction

The vector addition framework relies on the head-to-tail construction, commonly termed the triangle law of vector addition. When two non-parallel vectors ##\vec{A}## and ##\vec{B}## reside within an affine plane, placing the initial point of ##\vec{B}## at the terminal point of ##\vec{A}## yields a directed line segment connecting the origin of ##\vec{A}## to the terminus of ##\vec{B}##. This connecting segment represents the resultant vector ##\vec{R} = \vec{A} + \vec{B}##. Because spatial displacement represents an invariant translation, reversing the summation order produces an identical diagonal within a closed parallelogram, verifying that vector addition remains strictly commutative and associative across Euclidean coordinate systems.

Geometric vector addition diagram showing vectors A and B placed head-to-tail to form resultant vector R, with dashed lines completing the parallelogram.
Head-to-tail construction of vectors A and B showing the resultant vector R and the enclosing parallelogram.Programmatically generated contextual illustration.
Algebraic Axioms

Axiomatic Vector Properties in Planar Spaces

Fundamental algebraic rules governing the behavior of vectors and null elements in ##\mathbb{R}^2##.

Vector Operation Mathematical Expression Geometric Significance
Commutative Law ##\vec{A} + \vec{B} = \vec{B} + \vec{A}## Summation order does not modify the enclosing parallelogram diagonal.
Associative Law ##(\vec{A} + \vec{B}) + \vec{C} = \vec{A} + (\vec{B} + \vec{C})## Multi-segmented polygonal spatial paths produce identical total displacement.
Additive Identity ##\vec{A} + \vec{0} = \vec{A}## Translation by a null vector leaves position vectors completely invariant.
Additive Inverse ##\vec{A} + (-\vec{A}) = \vec{0}## Retracing an identical trajectory in reverse yields zero net spatial translation.
Note:
  • Scalar multiplication across zero elements preserves structural integrity: ##\lambda \vec{0} = \vec{0}## and ##0 \vec{A} = \vec{0}##.
  • The null vector possesses zero magnitude (##|\vec{0}| = 0##), leaving its spatial direction undefined.

The Null Vector and Relative Inverses

A null vector ##\vec{0}## occupies an essential analytical role within classical vector calculus, serving as the unique identity element for additive vector operations. When a particle begins its motion at point ##P##, follows an arbitrary planar path to a distinct coordinate ##P'##, and subsequently returns directly to ##P##, the final position vector precisely matches the initial coordinate vector. The net physical displacement is not a scalar zero, but rather the zero vector ##\vec{0}##, characterized mathematically by ##|\vec{0}| = 0## with indeterminate directional orientation.

Vector subtraction derives logically from the additive inverse, defining the difference ##\vec{A} - \vec{B}## as the direct summation ##\vec{A} + (-\vec{B})##. Geometrically, negating vector ##\vec{B}## maintains its absolute magnitude while rotating its spatial orientation by 180° (or ##\pi## radians). When evaluated within relative velocity frameworks, the observed velocity of particle ##A## relative to observer ##B## is expressed as ##\vec{v}_{AB} = \vec{v}_A - \vec{v}_B##, establishing that every physical subtraction problem maps directly to a closed vector addition triangle.

Resolution and Cartesian Decomposition

Planar vectors can be projected onto non-collinear basis directions using orthogonal unit basis vectors ##\hat{i}## and ##\hat{j}## aligned along the Cartesian ##x## and ##y## coordinate axes. These dimensionless directed segments feature fixed unit norms, satisfying ##|\hat{i}| = |\hat{j}| = 1## with mutual orthogonality ensured by ##\hat{i} \cdot \hat{j} = 0##. An arbitrary planar vector ##\vec{A}## decomposes into scalar components ##A_x = |\vec{A}|\cos\theta## and ##A_y = |\vec{A}|\sin\theta##, where ##\theta## denotes the counterclockwise inclination relative to the positive horizontal axis.

Decomposing vectors into orthogonal components simplifies geometric evaluations by translating spatial diagrams into scalar equations: ##\vec{A} = A_x\hat{i} + A_y\hat{j}##. By applying the Pythagorean theorem across right-angled coordinate projections, the Euclidean norm resolves to ##|\vec{A}| = \sqrt{A_x^2 + A_y^2}##, while the planar orientation satisfies ##\theta = \arctan(A_y / A_x)##. This orthogonal decoupling underpins analytical proofs of vector inequalities, as component projections must always remain less than or equal to the total vector magnitude.

The Triangle Inequality for Vector Addition

The vector triangle inequality states that the magnitude of the vector sum cannot exceed the sum of the individual vector magnitudes: ##|\vec{A} + \vec{B}| \le |\vec{A}| + |\vec{B}|##. In Euclidean plane geometry, this relationship reflects the fundamental principle that a straight line provides the shortest distance between two points. When two vector segments form the sides of a triangle, the third side represents their resultant sum, whose length is strictly bounded by the combined lengths of the two constituent segments.

Norm Inequalities

Geometric Configurations and Resultant Bounds

Analytical expressions for the resultant magnitude across key relative orientations.

Angle ##\theta## Resultant Magnitude ##|\vec{A} + \vec{B}|## Physical Classification
##\theta = 0^\circ## ##|\vec{A}| + |\vec{B}|## Collinear, parallel vectors (absolute upper bound achieved).
##0^\circ < \theta < 90^\circ## ##\sqrt{|\vec{A}|^2 + |\vec{B}|^2 + 2|\vec{A}||\vec{B}|\cos\theta}## Acute convergence; non-degenerate constructive triangle.
##\theta = 90^\circ## ##\sqrt{|\vec{A}|^2 + |\vec{B}|^2}## Orthogonal vectors (Pythagorean resultant condition).
##\theta = 180^\circ## ##\big||\vec{A}| - |\vec{B}|\big|## Collinear, anti-parallel vectors (absolute lower bound achieved).
Note:
  • Equality ##|\vec{A} + \vec{B}| = |\vec{A}| + |\vec{B}|## requires collinear vectors directed in the same sense (##\theta = 0##).
  • For non-collinear vectors, the resultant and its components form a true geometric triangle, yielding a strict inequality.

Algebraic Proof via the Inner Product

To establish this inequality without relying on graphical constructions, we use the algebraic inner product. The squared norm of the vector sum is defined as the self inner product ##|\vec{A} + \vec{B}|^2 = (\vec{A} + \vec{B}) \cdot (\vec{A} + \vec{B})##. Expanding this expression using the distributive property yields:

###|\vec{A} + \vec{B}|^2 = \vec{A} \cdot \vec{A} + 2(\vec{A} \cdot \vec{B}) + \vec{B} \cdot \vec{B} = |\vec{A}|^2 + |\vec{B}|^2 + 2|\vec{A}||\vec{B}|\cos\theta###

Because the trigonometric cosine function is strictly bounded by ##-1 \le \cos\theta \le 1## for all real angles ##\theta##, the cross term satisfies the inequality ##2|\vec{A}||\vec{B}|\cos\theta \le 2|\vec{A}||\vec{B}|##. Substituting this upper bound into the expanded expression directly produces:

###|\vec{A} + \vec{B}|^2 \le |\vec{A}|^2 + |\vec{B}|^2 + 2|\vec{A}||\vec{B}| = (|\vec{A}| + |\vec{B}|)^2###

Because vector norms are non-negative real quantities, taking the positive square root of both sides preserves the inequality, yielding ##|\vec{A} + \vec{B}| \le |\vec{A}| + |\vec{B}|##. This algebraic derivation confirms that the upper bound stems directly from the boundedness of the inner product, aligning with the Cauchy-Schwarz inequality.

Conditions for Strict Equality

The condition for strict equality, ##|\vec{A} + \vec{B}| = |\vec{A}| + |\vec{B}|##, occurs precisely when ##\cos\theta = 1##. In planar trigonometry, this condition requires ##\theta = 0## radians, meaning the two vectors must be collinear and share the same directional sense. Under these conditions, the triangle degenerates into a one-dimensional line segment where the components add constructively.

Conversely, if ##\vec{A}## and ##\vec{B}## point in non-parallel directions, the angle satisfies ##0 < \theta \le \pi##, which forces ##\cos\theta < 1##. This reduction ensures the strict inequality ##|\vec{A} + \vec{B}| < |\vec{A}| + |\vec{B}|##. In kinematics, this illustrates that any lateral steering maneuver decreases total forward translation compared to straight-line motion along a single axis.

Difference Bounds and the Reverse Triangle Inequality

While the standard triangle inequality sets an absolute upper bound on the vector sum, the reverse triangle inequality establishes a strict lower bound on vector differences and resultants. This bound states that the magnitude of the vector difference cannot be smaller than the absolute difference between the individual vector magnitudes: ##|\vec{A} - \vec{B}| \ge \big||\vec{A}| - |\vec{B}|\big|##. This relation guarantees that two vectors cannot cancel each other beyond the limit imposed by their scalar magnitudes.

Bound Classification

Comparison of Upper and Lower Vector Inequalities

Structural bounds governing vector addition and subtraction across all orientations.

Formulation Type Mathematical Inequality Equality Criterion
Direct Upper Bound ##|\vec{A} + \vec{B}| \le |\vec{A}| + |\vec{B}|## Collinear and codirectional (##\theta = 0^\circ##).
Difference Upper Bound ##|\vec{A} - \vec{B}| \le |\vec{A}| + |\vec{B}|## Collinear and opposite directions (##\theta = 180^\circ##).
Direct Lower Bound ##|\vec{A} + \vec{B}| \ge \big||\vec{A}| - |\vec{B}|\big|## Collinear and opposite directions (##\theta = 180^\circ##).
Reverse Triangle Bound ##|\vec{A} - \vec{B}| \ge \big||\vec{A}| - |\vec{B}|\big|## Collinear and codirectional (##\theta = 0^\circ##).
Note:
  • The outer absolute value on the scalar difference ensures the lower bound remains non-negative regardless of whether ##|\vec{A}| \ge |\vec{B}|## or ##|\vec{B}| > |\vec{A}|##.
  • Together, these bounds constrain the magnitude of any resultant vector to a closed interval.

Derivation of the Reverse Triangle Inequality

The reverse triangle inequality can be derived using the standard triangle inequality. We express the vector ##\vec{A}## as the sum of two components: ##\vec{A} = (\vec{A} - \vec{B}) + \vec{B}##. Applying the norm operator and the standard triangle inequality yields:

###|\vec{A}| = |(\vec{A} - \vec{B}) + \vec{B}| \le |\vec{A} - \vec{B}| + |\vec{B}|###

Subtracting ##|\vec{B}|## from both sides isolates the norm of the difference vector, producing the inequality ##|\vec{A} - \vec{B}| \ge |\vec{A}| - |\vec{B}|##. Reversing the initial labels by expanding ##\vec{B} = (\vec{B} - \vec{A}) + \vec{A}## yields the parallel relation ##|\vec{B} - \vec{A}| \ge |\vec{B}| - |\vec{A}|##. Because ##|\vec{B} - \vec{A}| = |\vec{A} - \vec{B}|##, multiplying by negative one gives:

###|\vec{A} - \vec{B}| \ge -(|\vec{A}| - |\vec{B}|)###

Combining these two inequalities into a single expression establishes that the difference vector norm is bounded below by the absolute magnitude difference: ##|\vec{A} - \vec{B}| \ge \big||\vec{A}| - |\vec{B}|\big|##. This completes the algebraic derivation without requiring geometric diagrams.

The Complete Resultant Bound Spectrum

Combining the upper and lower bounds produces the full bounding inequality for the sum of two vectors in a plane: ##\big||\vec{A}| - |\vec{B}|\big| \le |\vec{A} + \vec{B}| \le |\vec{A}| + |\vec{B}|##. This compound inequality states that the magnitude of the resultant vector is bounded within an interval defined by the individual vector lengths, irrespective of the angle ##\theta## between them.

For example, if two forces have magnitudes ##|\vec{F}_1| = 10\text{ N}## and ##|\vec{F}_2| = 4\text{ N}##, their resultant ##|\vec{F}_{\text{net}}|## must fall within the range ##[6\text{ N}, 14\text{ N}]##. Values outside this interval cannot occur in Euclidean space. This interval identity allows engineers and physicists to bound physical interactions when directional data is incomplete.

Physical Applications in Planar Kinematics

Vector inequalities provide essential analytical constraints in planar kinematics, particularly when analyzing the relationship between displacement and distance. Distance represents the scalar path length traced along a trajectory, whereas displacement ##\Delta\vec{r} = \vec{r}_2 - \vec{r}_1## represents the net change in position. Applying vector inequalities shows that the magnitude of net displacement is always less than or equal to the total distance traveled, linking abstract norm axioms directly to measurable kinematic quantities.

Kinematic Bounding

Kinematic Parameter Bounds in Planar Motion

Real-world manifestations of vector inequalities in particle dynamics.

Physical Context Vector Relation Kinematic Interpretation
Displacement vs Path ##|\Delta\vec{r}| \le \int_{t_1}^{t_2} |\vec{v}(t)|\,dt## Net displacement magnitude never exceeds total path length.
Relative Velocity ##\big||\vec{v}_A| - |\vec{v}_B|\big| \le |\vec{v}_{AB}| \le |\vec{v}_A| + |\vec{v}_B|## Limits on observed target velocity across varying headings.
Crosswind Drift ##|\vec{v}_{\text{ground}}| \le |\vec{v}_{\text{air}}| + |\vec{v}_{\text{wind}}|## Defines the reachable groundspeed envelope for aircraft navigation.
Accelerated Turning ##|\vec{a}_{\text{total}}| \le |\vec{a}_t| + |\vec{a}_c|## Upper bound for combined tangential and centripetal accelerations.
Note:
  • Equality between displacement magnitude and path length requires unidirectional, rectilinear motion without reversals.
  • For orthogonal tangential and centripetal accelerations, the resultant follows the exact Pythagorean relation ##|\vec{a}| = \sqrt{a_t^2 + a_c^2}##.

Displacement and Path Length Generalization

To analyze continuous curved motion, we model a particle's trajectory as a sequence of infinitesimal displacement segments ##d\vec{r}##. The total net displacement over a finite time interval ##[t_1, t_2]## corresponds to the vector definite integral ##\Delta\vec{r} = \int_{t_1}^{t_2} \vec{v}(t)\,dt##. In contrast, the scalar distance traveled ##s## accumulates the absolute scalar speed along the path: ##s = \int_{t_1}^{t_2} |\vec{v}(t)|\,dt##.

Applying the continuous version of the triangle inequality confirms that the norm of an integral cannot exceed the integral of the norm: ##\big|\int_{t_1}^{t_2} \vec{v}(t)\,dt\big| \le \int_{t_1}^{t_2} |\vec{v}(t)|\,dt##. Thus, ##|\Delta\vec{r}| \le s## across all trajectories. The two quantities are equal only when the velocity vector maintains a constant direction throughout the motion, reducing the path to a straight line without directional reversals.

Relative Velocity and Environmental Drifts

In two-dimensional relative motion, vector inequalities determine operational limits for navigation. Consider an aircraft flying with airspeed ##\vec{v}_{a}## relative to an air mass moving with wind velocity ##\vec{v}_{w}##. The velocity relative to the ground is given by ##\vec{v}_{g} = \vec{v}_{a} + \vec{v}_{w}##. Without knowing the exact wind direction, navigation systems can use the triangle inequality to bound the groundspeed within the interval ##\big||\vec{v}_{a}| - |\vec{v}_{w}|\big| \le |\vec{v}_{g}| \le |\vec{v}_{a}| + |\vec{v}_{w}|##.

Similarly, when calculating relative velocities between two moving craft, ##\vec{v}_{rel} = \vec{v}_1 - \vec{v}_2##, the closing speed is bounded by the sum of their individual speeds: ##|\vec{v}_{rel}| \le |\vec{v}_1| + |\vec{v}_2|##. This upper limit occurs during a direct head-on encounter (##\theta = \pi##). Conversely, during parallel motion in the same direction, the relative speed reaches its lower bound, ##\big||\vec{v}_1| - |\vec{v}_2|\big|##. These bounds provide essential constraints for collision avoidance algorithms.

Advanced Metrics and Metric Space Generalizations

The vector triangle inequality extends beyond planar kinematics to serve as an axiomatic foundation in linear analysis and differential geometry. In mathematical physics, distance cannot always be described by simple Euclidean coordinates. Instead, spaces are defined through generalized metrics that measure separations between functional states, quantum wavepackets, and relativistic coordinates. In all valid metric and normed spaces, the triangle inequality remains an essential postulate that ensures consistent topological properties.

Topological Analysis

Norms and Metric Space Classifications

Mathematical generalizations of distance and bounds across diverse metric spaces.

Space Designation Norm / Metric Formula Mathematical Role
Euclidean Space (##\ell_2##) ##\|\vec{x}\|_2 = \sqrt{\sum x_i^2}## Standard model for classical Newtonian space and rigid-body mechanics.
Manhattan Space (##\ell_1##) ##\|\vec{x}\|_1 = \sum |x_i|## Measures grid-constrained motion and numerical error limits.
Chebyshev Space (##\ell_\infty##) ##\|\vec{x}\|_\infty = \max |x_i|## Bounds peak component-level deviations in multi-axis motion control.
Metric Space ##(M, d)## ##d(x, z) \le d(x, y) + d(y, z)## Ensures topological consistency and convergence in analysis.
Note:
  • Every normed vector space forms a metric space under the induced metric ##d(\vec{x}, \vec{y}) = \|\vec{x} - \vec{y}\|##.
  • The Minkowski inequality verifies that ##L^p## spaces satisfy the triangle inequality across function spaces.

The Cauchy-Schwarz Inequality

The vector triangle inequality is intrinsically connected to the Cauchy-Schwarz inequality, which bounds the inner product of two vectors: ##|\vec{A} \cdot \vec{B}| \le |\vec{A}| |\vec{B}|##. In two-dimensional Cartesian coordinates, expanding this relationship yields the algebraic inequality ##(A_x B_x + A_y B_y)^2 \le (A_x^2 + A_y^2)(B_x^2 + B_y^2)##. This identity ensures that the projection of one vector along another cannot exceed its total magnitude.

Because the dot product satisfies ##\vec{A} \cdot \vec{B} = |\vec{A}||\vec{B}|\cos\theta##, the Cauchy-Schwarz inequality corresponds directly to the trigonometric bound ##|\cos\theta| \le 1##. In higher-dimensional analysis and quantum mechanics, where geometric angles cannot be visualized, the Cauchy-Schwarz inequality serves as the primary tool used to establish the triangle inequality and preserve the integrity of physical state spaces.

Norm Axioms and Topological Spaces

In abstract mathematical physics, a vector space ##V## over the real numbers is termed a normed space if there exists a functional mapping ##\|\cdot\|: V \to [0, \infty)## satisfying three core axioms: positive definiteness (##\|\vec{v}\| = 0 \iff \vec{v} = \vec{0}##), absolute scalability (##\|\alpha \vec{v}\| = |\alpha| \|\vec{v}\|##), and subadditivity (##\|\vec{u} + \vec{v}\| \le \|\vec{u}\| + \|\vec{v}\|##). Subadditivity is simply the triangle inequality formulated as an axiom.

This subadditivity condition induces a natural metric defined by ##d(\vec{u}, \vec{v}) = \|\vec{u} - \vec{v}\|##, turning the vector space into a metric topological space. This structure ensures that distance remains well-behaved, allowing physicists to define continuous trajectories, limits, and derivative operators. Without the triangle inequality, spaces could violate transitivity, permitting closed loops of zero length between distinct coordinates and breaking basic causality.

Computational Algorithms and Worked Problems

Applying vector inequalities to complex kinematic problems often requires systematic algorithmic evaluation rather than simple geometric sketches. When forces or velocities depend on time or orientation angles, determining the extreme bounds on their resultants is crucial for structural and kinematic analysis. The following worked examples show how to bound resultant vectors, resolve multi-axis force systems, and implement these calculations algorithmically.

Analytical Problems

Worked Exemplars: Vector Bound Analysis

Step-by-step bound solutions for common kinematic and static force vectors.

Scenario Description Input Parameters Analytical Deduction
Concurrent Forces ##F_1 = 12\text{ N},\; F_2 = 5\text{ N}## Net force bounded by ##[7\text{ N}, 17\text{ N}]##; reaches 13 N when orthogonal.
Three-Force Equilibrium ##F_1 = 8\text{ N},\; F_2 = 13\text{ N},\; F_3 = 4\text{ N}## Equilibrium impossible: ##F_1 + F_3 = 12 < 13##, violating closure.
River Crossing Range ##v_{\text{boat}} = 5\text{ m s}^{-1},\; v_{\text{river}} = 3\text{ m s}^{-1}## Resultant ground speed is bounded between ##2\text{ m s}^{-1}## and ##8\text{ m s}^{-1}##.
Relative Motion Spread ##|\vec{v}_1| = 20\text{ m s}^{-1},\; |\vec{v}_2| = 15\text{ m s}^{-1}## Relative separation speed ##|\vec{v}_{12}|## is bounded within ##[5, 35]\text{ m s}^{-1}##.
Note:
  • For a set of three concurrent coplanar forces to maintain static equilibrium (##\sum \vec{F} = \vec{0}##), the largest force magnitude cannot exceed the sum of the remaining two.
  • These conditions provide quick geometric checks before setting up detailed component equations.

Step-by-Step Analytical Exemplar

Consider three coplanar forces acting on a particle: ##\vec{F}_1##, ##\vec{F}_2##, and ##\vec{F}_3##, with magnitudes ##|\vec{F}_1| = 7\text{ N}## and ##|\vec{F}_2| = 11\text{ N}##. What range of magnitudes for ##\vec{F}_3## permits the particle to remain in static equilibrium? For equilibrium to hold, the net force must vanish: ##\vec{F}_1 + \vec{F}_2 + \vec{F}_3 = \vec{0}##, which requires ##\vec{F}_3 = -(\vec{F}_1 + \vec{F}_2)##.

Taking the magnitude of both sides gives ##|\vec{F}_3| = |\vec{F}_1 + \vec{F}_2|##. Using the resultant bounds for two vectors, we know that ##\big||\vec{F}_1| - |\vec{F}_2|\big| \le |\vec{F}_1 + \vec{F}_2| \le |\vec{F}_1| + |\vec{F}_2|##. Substituting the given values yields ##|7 - 11| \le |\vec{F}_3| \le 7 + 11##, or ##4\text{ N} \le |\vec{F}_3| \le 18\text{ N}##. Any value outside this range cannot produce equilibrium, regardless of the relative angles chosen.

Algorithmic Verification of Vector Bounds

Computational tools can verify these vector inequalities across varying relative angles. The Python script below calculates the resultant magnitude of two planar vectors over a full rotation (0 to ##2\pi## radians), verifying that the computed norm remains within the analytical upper and lower bounds established by the triangle and reverse triangle inequalities.


import math

def evaluate_vector_bounds(mag_a: float, mag_b: float, steps: int = 360):
    lower_bound = abs(mag_a - mag_b)
    upper_bound = mag_a + mag_b

    print(f"Theoretical Lower Bound: {lower_bound:.4f}")
    print(f"Theoretical Upper Bound: {upper_bound:.4f}")

    violations = 0
    for i in range(steps):
        theta = 2.0 * math.pi * (i / steps)
        # Resultant via law of cosines: R = sqrt(A^2 + B^2 + 2AB cos(theta))
        res_sq = (mag_a ** 2) + (mag_b ** 2) + (2.0 * mag_a * mag_b * math.cos(theta))
        resultant = math.sqrt(max(0.0, res_sq))

        # Verify bounds with floating-point tolerance
        if resultant < (lower_bound - 1e-9) or resultant > (upper_bound + 1e-9):
            violations += 1

    print(f"Total steps tested: {steps}")
    print(f"Inequality violations detected: {violations}")

if __name__ == "__main__":
    evaluate_vector_bounds(12.

RESOURCES