How do you solve x^2-12x+32=0x212x+32=0?

1 Answer
Jun 22, 2016

x=4x=4 or x=8x=8

Explanation:

color(white)()
Method 1 - Finding a pair of factors

Find a pair of factors of 3232 with sum 1212.

The pair 4, 84,8 works in that 4xx8 = 324×8=32 and 4+8=124+8=12

Hence we find:

0 = x^2-12x+32 = (x-4)(x-8)0=x212x+32=(x4)(x8)

So x = 4x=4 or x = 8x=8

color(white)()
Method 2 - Completing the square

0 = x^2-12x+320=x212x+32

= x^2-2(6x)+36-4=x22(6x)+364

= (x-6)^2-2^2=(x6)222

= ((x-6)-2)((x-6)+2)=((x6)2)((x6)+2)

= (x-8)(x-4)=(x8)(x4)

Hence x=8x=8 or x=4x=4

color(white)()
Method 3 - Quadratic formula

x^2-12x+32 = 0x212x+32=0

is in the form ax^2+bx+c = 0ax2+bx+c=0 with a=1a=1, b=-12b=12, c=32c=32

This has roots given by the quadratic formula:

x = (-b+-sqrt(b^2-4ac))/(2a)x=b±b24ac2a

= (12+-sqrt(12^2-4(1)(32)))/(2*1)=12±1224(1)(32)21

= (12+-sqrt(144-128))/2=12±1441282

= (12+-sqrt(16))/2=12±162

= (12+-4)/2=12±42

= 6+-2=6±2

So x=8x=8 or x=4x=4