Skip to main content
Solve for b
Tick mark Image
Solve for a (complex solution)
Tick mark Image
Solve for a
Tick mark Image
Graph

Similar Problems from Web Search

Share

x^{2}+3x+4=x^{2}+2xa+a^{2}+b
Use binomial theorem \left(p+q\right)^{2}=p^{2}+2pq+q^{2} to expand \left(x+a\right)^{2}.
x^{2}+2xa+a^{2}+b=x^{2}+3x+4
Swap sides so that all variable terms are on the left hand side.
2xa+a^{2}+b=x^{2}+3x+4-x^{2}
Subtract x^{2} from both sides.
2xa+a^{2}+b=3x+4
Combine x^{2} and -x^{2} to get 0.
a^{2}+b=3x+4-2xa
Subtract 2xa from both sides.
b=3x+4-2xa-a^{2}
Subtract a^{2} from both sides.