Putting an equation in quadratic form

  • Thread starter Thread starter miahmad
  • Start date Start date
  • Tags Tags
    Form Quadratic
miahmad
Messages
5
Reaction score
0
Could someone please explain how to go about putting an equation into quadratic form.
e.g:
Q(x,y,z)=7x^2-2y^2-40z^2-14xz+20yz.

I know it equals 7(x-z)^2 -2(y-5z)^2 +3z^2. dnt know how to get there though.
 
Physics news on Phys.org
Dnt wrry figured it out.
 
What you want to do is first make a square which gets all the x terms right, then a square which gets all the y terms right, but without touching the x. Then in the end, you can use the z2 term to balance the z's.

So, for example, with an x you have 7x2 and -14xz.
If you write c (x - a)2, you will get terms with c x2 and 2 x a c, and stuff with a2, which you can cancel by -a2 terms, if you need. So you can reproduce these two terms by taking c = 7, a = -z.

Then you do the same with the y, choosing numbers c and a such that you exactly get the right y2 and yz terms.

Then, you multiply out everything you have so far. If you did it right, all the terms will match, except possibly those with only z2. Since z2 is itself a square, you can easily fix this by adding the appropriate amount of z2 at the end, and you're done.
 
Thread 'Derivation of equations of stress tensor transformation'
Hello ! I derived equations of stress tensor 2D transformation. Some details: I have plane ABCD in two cases (see top on the pic) and I know tensor components for case 1 only. Only plane ABCD rotate in two cases (top of the picture) but not coordinate system. Coordinate system rotates only on the bottom of picture. I want to obtain expression that connects tensor for case 1 and tensor for case 2. My attempt: Are these equations correct? Is there more easier expression for stress tensor...
Back
Top