Question #23932

The number of values of k for which the system of equations x+y=2 , kx+y=4 , x+ky=5 has atleast one solution?

Expert's answer

Conditions

The number of values of kk for which the system of equations x+y=2x + y = 2, kx+y=4kx + y = 4, x+ky=5x + ky = 5 has at least one solution?

Solution

We must construct a system of 3 equations, where there will be 3 variables: x,yx, y and kk:


{x+y=2kx+y=4x+ky=5\left\{ \begin{array}{l} x + y = 2 \\ kx + y = 4 \\ x + ky = 5 \end{array} \right.x=2−yx = 2 - y

3rd3^{\text{rd}} equation minus 1st1^{\text{st}} give us:


(k−1)y=3(k - 1)y = 3y=3k−1y = \frac{3}{k - 1}


Then, from the second equation:


k(2−3k−1)+3k−1=4k\left(2 - \frac{3}{k - 1}\right) + \frac{3}{k - 1} = 4


It's obvious, that k=1k = 1 couldn't be a solution (because all 3 equations would have equal left sides, but the right sides wouldn't be equal). So, let's multiply on (k-1):


2k(k−1)−3k+3=4(k−1)2k(k - 1) - 3k + 3 = 4(k - 1)2k2−2k−3k+3−4k+4=02k^2 - 2k - 3k + 3 - 4k + 4 = 02k2−9k+7=02k^2 - 9k + 7 = 0D=81−4⋅2⋅7=81−56=25>0D = 81 - 4 \cdot 2 \cdot 7 = 81 - 56 = 25 > 0


On this point we can already answer our question – as the discriminant is positive – there are 2 different solutions for kk, that's why the number of values of kk, for which the system of equations has at least one solution is **TWO VALUES**

To make sure it, we can find 2 values of kk:


k1,2=9±54=[k=72k=1]k_{1,2} = \frac{9 \pm 5}{4} = \left[ \begin{array}{l} k = \frac{7}{2} \\ k = 1 \end{array} \right]


After that we will have 2 pairs of xx and yy, for each kk, which could be found by substitution kk-value in these equations:


x=2−yx = 2 - yy=3k−1y = \frac {3}{k - 1}
LATEST TUTORIALS
APPROVED BY CLIENTS