How do I solve the following question?
You are given the identity $x^2-ax+144 = (x-b)^2$
Work out the values of $a$ and $b$.
Question appears in AQA 43005/1H.
How do I solve the following question?
You are given the identity $x^2-ax+144 = (x-b)^2$
Work out the values of $a$ and $b$.
Question appears in AQA 43005/1H.
Posted by Pi R Squared on Yahoo Answers:
$a=24$ and $b=12$
$x^2-24x+144=(x-12)^2$
The prior answer presumes that you already know the fact that two polynomials functions are identical (if and) only if they have identical coefficients. But the above problem might be posed as motivation before this general fact is proved. In that case you can prove it directly without using this more general fact as follows. Evaluating the identity at $\rm\ x = 0\ $ yields $\rm\ (-b)^2\! = 144 = 12^2.\: $ So $\rm (x-b)^2 = x^2 -2bx + 144 \equiv x^2 -ax + 144.\: $ RHS $\!-\!$ LHS yields $\rm\: (2b-a)\:x \equiv 0\:$. Evaluating at $\rm\ x = 1\ $ yields $\rm\ a = 2b.\: $ And, of course, $\rm\ 0 = 12^2 - (-b)^2 = (12+b)\ (12-b)\ \Rightarrow\ b = \pm12\:$.
Note that the above proof yields$\ \ (1)$ the equation is true for all $\rm\: x\ \Rightarrow\ (2)$ the equation is true for $\rm x = 0,\ and\ x = 1\ $ $\rm \Rightarrow $ $\rm\ (3)\ \ a = 2b,\ b^2 = 144.\: $ But $(3)$ implies that both sides of the equation have equal coefficients, so it is true for all $\rm\:x,\:$ implying $(1).\: $ So all three statements are equivalent.
Generally it is true over $\mathbb C$ that two polynomial functions of degree $\rm\:n\:$ are identical iff they have identical coefficients iff they have equal values at $\rm\:n+1\:$ points (or $\rm\:n\:$ points if they have the same leading coefficient - as above). In fact, this is true for polynomials with coefficients in any integral domain, i.e any ring without zero-divisors, i.e. $\rm\ ab = 0 \Rightarrow\ a=0\ or\ b=0,$ but it may be false in non-domans, e.g. functions $\rm\:x^p \equiv x\:$ over $\rm\:\mathbb F_p.$
You have to note first that $12^2=144$. After this, you have to recall the identity
$$(x-b)^2=x^2-2bx+b^2$$
Now compare coefficients to get the equations you need to solve for $a$ and $b$.
The RHS of
$$x^{2}-ax+144\equiv (x-b)^{2}\qquad (1)$$
can be expanded into
$$x^{2}-2bx+b^{2}.$$
So identity $(1)$ is equivalent to
$$x^{2}-ax+144\equiv x^{2}-2bx+b^{2}$$
or
$$(2b-a)x+144-b^{2}\equiv 0,$$
which can only be an identity (i.e. independent of the value of $x$) if
$$a=2b$$
and
$$b^{2}=144.$$
This system of equations has two solutions:
$$b=-12,a=-24$$
and
$$b=12,a=24.$$
$x^2-ax+144\equiv(x-b)^2$
Expand the right-hand side:
$x^2-ax+144\equiv{x^2-2bx+b^2}$
Find the coefficient $(x=0)$:
$b^2=144$
$\Longrightarrow b=\pm{\sqrt{144}}=\pm12$
Substitute $b=\pm12$ back into original equation:
$x^2-ax+144\equiv{x^2\pm{24x}+144}$
$\Longrightarrow -ax\equiv\pm{24x}$
Find the coefficient $(x=1)$:
$a=\pm{24}$
$a=24, b=12$ and $a=-24, b=-12$
Thanks to @J. M. and @Djaian.