Quadratic Form

A quadratic form involving n real variables x_1, x_2, ..., x_n associated with the n×n matrix A=a_(ij) is given by

 Q(x_1,x_2,...,x_n)=a_(ij)x_ix_j,
(1)

where Einstein summation has been used. Letting x be a vector made up of x_1, ..., x_n and x^(T) the transpose, then

 Q(x)=x^(T)Ax,
(2)

equivalent to

 Q(x)=<x,Ax>
(3)

in inner product notation. A binary quadratic form is a quadratic form in two variables and has the form

 Q(x,y)=a_(11)x^2+2a_(12)xy+a_(22)y^2.
(4)

It is always possible to express an arbitrary quadratic form

 Q(x)=alpha_(ij)x_ix_j
(5)

in the form

 Q(x)=(x,Ax),
(6)

where A=a_(ii) is a symmetric matrix given by

 a_(ij)={alpha_(ii)   i=j; 1/2(alpha_(ij)+alpha_(ji))   i!=j.
(7)

Any real quadratic form in n variables may be reduced to the diagonal form

 Q(x)=lambda_1x_1^2+lambda_2x_2^2+...+lambda_nx_n^2
(8)

with lambda_1>=lambda_2>=...>=lambda_n by a suitable orthogonal point-transformation. Also, two real quadratic forms are equivalent under the group of linear transformations iff they have the same quadratic form rank and quadratic form signature.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.