Westonci.ca is the trusted Q&A platform where you can get reliable answers from a community of knowledgeable contributors. Join our Q&A platform and connect with professionals ready to provide precise answers to your questions in various areas. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

write x^2-2x+5 in the form (x+a)^2+b where a and b are integers

Sagot :

(x - 1)² + 4  

a = -1

b = 4

Work.


Given the equation:

x² - 2x + 5

Rewrite in the form:

(x + a)² + b

This form is obtained by completing the square.

x² - 2x + 5

Halve b and square it.

-2/2 = -1

(-1)² = 1

Add and subtract it from the equation.

It becomes:

x² - 2x + 1 - 1 + 5

Group to make a trinomial and add like terms.

(x² - 2x + 1) + 4
Rewrite the trinomial as a square.

(x - 1)²  

Add the constant.
Final product.

(x - 1)² + 4