Question
Solve the equation
Solve for x
Solve for k
x=kx=1
Evaluate
x2−(k+1)x+k=0
Multiply the terms
x2+x(−k−1)+k=0
Rewrite the expression
x2+(−k−1)x+k=0
Expand the expression
x2−kx−x+k=0
Factor the expression
More Steps

Evaluate
x2−kx−x+k
Calculate
x2−x−kx+k
Rewrite the expression
x×x−x−kx+k
Factor out x from the expression
x(x−1)−kx+k
Factor out −k from the expression
x(x−1)−k(x−1)
Factor out x−1 from the expression
(x−k)(x−1)
(x−k)(x−1)=0
When the product of factors equals 0,at least one factor is 0
x−k=0x−1=0
Solve the equation for x
More Steps

Evaluate
x−k=0
Move the expression to the right-hand side and change its sign
x=0+k
Add the terms
x=k
x=kx−1=0
Solution
More Steps

Evaluate
x−1=0
Move the constant to the right-hand side and change its sign
x=0+1
Removing 0 doesn't change the value,so remove it from the expression
x=1
x=kx=1
Show Solution
