Given equation: u2+(u−2v−1)2=−4v(u+v)
We expand (u−2v−1)2:
(u−2v−1)2=u2−4uv−2u+4v2+4v+1
We use the formula (a−b−c)2=a2+b2+c2−2ab−2ac+2bc
So our equation becomes:
u2+u2−4uv−2u+4v2+4v+1=−4v(u+v)
We expand the right side:
−4v(u+v)=−4vu−4v2
We move everything to one side:
u2+u2−4uv−2u+4v2+4v+1+4vu+4v2=0
Combining like terms:
u2 terms: u2+u2=2u2
v2 terms: 4v2+4v2=8v2
uv terms: −4uv+4vu=0 (they cancel out!)
u terms: −2u
v terms: 4v
Constant: 1
This gives us: 2u2−2u+8v2+4v+1=0
We factor out 2 from the first two terms:
2(u2−u)+8v2+4v+1=0
We want to complete the square for both u and v terms. Let's rewrite this strategically:
2(u2−u+41)+2(4v2+2v+41)=0
To complete the square:
For u2−u: we add (21)2=41
For 4v2+2v: we need (2v+21)2=4v2+2v+41
This gives us: 2(u−21)2+2(2v+21)2=0
Since we have a sum of squares equal to zero:
2(u−21)2+2(2v+21)2=0
A sum of squares can only equal zero if each square equals zero individually (since squares are always non-negative).
Therefore:
(u−21)2=0→u=21
(2v+21)2=0→2v+21=0→v=−41
We calculate u+3v:
u+3v=21+3(−41)=21−43=42−43=−41
Answer: u+3v=−41
When you see an equation that can be rearranged into a sum of squares equal to zero, remember that each square must individually equal zero. This is a powerful technique for solving systems of equations!