This quadratic form calculator evaluates a two-variable quadratic form, Q(x, y) = a x squared plus b xy plus c y squared, at any point you choose, and tells you whether the form is positive definite, negative definite, indefinite or degenerate. You enter the three coefficients, a, b and c, along with the x and y values of the point you want to test. The calculator returns the value of Q at that point, the definiteness classification, and the determinant of the symmetric matrix behind the form, calculated as ac minus b squared over four. Definiteness matters because it describes the shape of the underlying surface: a positive definite form has a genuine minimum, a negative definite form has a genuine maximum, and an indefinite form has a saddle point, distinctions used in optimisation, statistics and geometry. The classification follows directly from the sign of a and the sign of that determinant, both shown alongside the result so you can see how the answer was reached. Try the default example first, a equals 1, b equals 0, c equals 1 at the point (3, 4), which gives a value of 25 and a positive definite result, then swap in your own coefficients and point to check assignments or explore how changing b shifts a form from definite to indefinite. Results update as you type and are rounded for easy reading.
The form is Q(x, y) = a x^2 + b xy + c y^2, represented by the symmetric matrix with rows (a, b/2) and (b/2, c), whose determinant is ac minus b^2/4. It is positive definite if a is positive and that determinant is positive, negative definite if a is negative and the determinant positive, and indefinite if the determinant is negative.
For Q = x^2 + y^2 (a = 1, b = 0, c = 1) at (3, 4), the value is 9 + 16 = 25, the determinant is 1, and a is positive, so the form is positive definite. Enter 1, 0, 1, 3, 4 to confirm.
A homogeneous degree two expression in the variables, here a x squared plus b xy plus c y squared.
The form is positive for every non-zero input, which corresponds to a genuine minimum in optimisation.
From the sign of a and the determinant of the symmetric matrix: both conditions together give definiteness; a negative determinant gives an indefinite (saddle) form.
This calculator is for algebra students and anyone needing a quick, reliable result.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland by SiteHost New Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-08-15 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.