Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please help, I am stuck on the following question:


Find the values of $a$ and $b$

Can you show me the working out?

share|cite|improve this question
Open term in LHS, compare both sides – evil999man Mar 16 '14 at 15:36
up vote 2 down vote accepted

If you don't know the theorem used implicitly in some of the other answers (that polynomial functions are identical iff they have equal coefficients), you can proceed more simply as follows. Expanding the square and subtracting it from the RHS yields

$$ (2a-12) x + b-a^2\, =\, 0$$

Evaluating the above at $\,x = 0\,$ yields $\,b-a^2 = 0\,$ so $\, b = a^2,\,$ so the above becomes

$$ (2a-12)x\, =\, 0$$

Evaluating the above at $\,x = 1\,$ yields $\,2a-12=0\,$ so $\, 2a=12,\,$ so $\, a=6,\,$ so $\, b = a^2 = 36.$

share|cite|improve this answer


$$\begin{align*}(1)&\;\;(x-a)^2=x^2-12x+b\iff x^2-2ax+a^2=x^2-12x+b\\{}\\(2)&\;\;\text{Two polynomials are identical iff the coefficients of corresponding powers of $\;x\;$ are identical}\end{align*}$$

share|cite|improve this answer

The left-hand side equals $x^2-2ax+a^2$. Comparing linear coefficients, we get $-2a = -12$ or $a=6$. Comparing constant coefficients, we get $b=a^2=6^2=36$. Hence $a=6$ and $b=36$.

share|cite|improve this answer

Well, firstly you should expand the expression and get $$x^2-2ax+a^2=x^2-12x+b$$ then cross out $x^2$ $$a^2-2ax=b-12x$$ Which means that \begin{cases} -2ax = -12x \Rightarrow a=6\\ a^2=b \Rightarrow b=a^2=6^2=36\\ \end{cases} So $a=6$ and $b=36$

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.