How do you solve 4-x=sqrt(x-4)4x=x4?

1 Answer
Oct 17, 2015

x = 4x=4

Explanation:

The easy way

sqrt(x-4)x4 only takes Real values when x >= 4x4 and then sqrt(x-4) >= 0x40.

When x >= 4x4 then 4 - x <= 04x0

So the only solution is x = 4x=4

The normal way

Square both sides of the equation to get:

16-8x+x^2 = (4-x)^2 = (sqrt(x-4))^2 = x - 4168x+x2=(4x)2=(x4)2=x4

Note that squaring both sides of an equation may introduce spurious solutions (as it does in this case).

Subtract x - 4x4 from both ends to get:

x^2-9x+20 = 0x29x+20=0

This factors as:

(x-4)(x-5) = 0(x4)(x5)=0

So x = 4x=4 or x = 5x=5.

Then check the solutions:

If x = 4x=4 then 4 - x = 04x=0 and sqrt(x-4) = 0x4=0. So x=4x=4 is a solution of the original equation.

If x = 5x=5 then 4 - x = -14x=1 but sqrt(x - 4) = 1x4=1. So x=5x=5 is not a solution of the original equation.

Note that this happens because numbers have two square roots. When you square both sides of an equation you throw away some information.