- Thread starter
- Admin
- #1

- Feb 14, 2012

- 3,805

Find the values of k such that $\log (kx+1)-\log (x-k)=\log (2-x)$ has a unique real solution.

- Thread starter anemone
- Start date

- Thread starter
- Admin
- #1

- Feb 14, 2012

- 3,805

Find the values of k such that $\log (kx+1)-\log (x-k)=\log (2-x)$ has a unique real solution.

- Nov 4, 2013

- 428

Find the values of k such that $\log (kx+1)-\log (x-k)=\log (2-x)$ has a unique real solution.

$$\frac{kx+1}{x-k}=2-x \Rightarrow x^2-2x+2k+1=0$$

For the above quadratic to have only one solution, the discriminant is zero i.e

$$4-4(2k+1)=0$$

$$\Rightarrow k=0$$

- Thread starter
- Admin
- #3

- Feb 14, 2012

- 3,805

Thank you for participating,

$$\frac{kx+1}{x-k}=2-x \Rightarrow x^2-2x+2k+1=0$$

For the above quadratic to have only one solution, the discriminant is zero i.e

$$4-4(2k+1)=0$$

$$\Rightarrow k=0$$

But...what you have found is only one correct value of $k$ as there are many other values of $k$ which fit the case where the given equation has only a

- Admin
- #4

WhatThank you for participating,Pranav!

But...what you have found is only one correct value of $k$ as there are many other values of $k$ which fit the case where the given equation has only auniquesolution...real

- Admin
- #5

- Mar 5, 2012

- 9,004

Yep. Found another one!Thank you for participating,Pranav!

But...what you have found is only one correct value of $k$ as there are many other values of $k$ which fit the case where the given equation has only auniquesolution...real

For $k=-2$ the equation would yield x=-1 or x=3, but x=3 is not allowed due to the restricted domain of the $\log$. However, x=-1

I seem to recall a couple of threads related to the domain of $\log$ a long long time ago.

- Nov 4, 2013

- 428

Hehe, yes, I remember.domain of $\log$ a long long time ago.

I wait for the others to post their solution.

I am still trying to see where did I go wrong in the previous attempt.

- Thread starter
- Admin
- #7

- Feb 14, 2012

- 3,805

Yep! That is another right one!Yep. Found another one!

For $k=-2$ the equation would yield x=-1 or x=3, but x=3 is not allowed due to the restricted domain of the $\log$. However, x=-1isallowed.

You know, considering I have already posted quite many challenging problems here, I sometimes have to check before posting for another challenge problem and see if that is the one that has already been posted before and this is a very tiring checking process for me...for I need to go through many pages and scan through all threads of mine. This sounds very preposterous because I should have already thought to name the title of the threads cleverly (and clearly) for future reference...I am wondering from time to time if I can rename the titles of all of my threads...I seem to recall a couple of threads related to the domain of $\log$ a long long time ago.

(Edit: I just found another reliable and fast method to ascertain whether the problem at hand has already been posted before or not!)

Thanks...and I encourage you to keep trying!Hehe, yes, I remember.

I wait for the others to post their solution.

I am still trying to see where did I go wrong in the previous attempt.

Last edited:

- Nov 4, 2013

- 428

Is the answer $(-\infty,-1/2] \cup{0}$? I guess this wrong because I had to do a lot of guesswork to reach this answer.

Last edited:

- Thread starter
- Admin
- #9

- Feb 14, 2012

- 3,805

Nope, that is not the answer to it.Is the answer $(-\infty,-1/2] \cup{0}$? I guess this wrong because I had to do a lot of guesswork to reach this answer.

I'm so so sorry,

Edit: Perhaps you want to think along the line about the domain of logarithm functions...

- Nov 4, 2013

- 428

Yes, the answer is incorrect, I found the error in my working.Nope, that is not the answer to it.

I'm so so sorry,Pranav...

I will quietly watch this thread from now.

- Moderator
- #11

- Feb 7, 2012

- 2,738

Find the values of k such that $\log (kx+1)-\log (x-k)=\log (2-x)$ has a unique real solution.

So where does $k$ come into it? The only remaining thing to do is to check that the logarithms are defined when $x=1$. For that, we need $k+1>0$, $1-k>0$ and $2-1>0$. The last of those is obviously no problem. The other two conditions require that $\boxed{|k|<1}$.

- Nov 4, 2013

- 428

I still haven't reached an answer but k=0.2 doesn't satisfy the conditions. For this value of k, there are complex roots.

So where does $k$ come into it? The only remaining thing to do is to check that the logarithms are defined when $x=1$. For that, we need $k+1>0$, $1-k>0$ and $2-1>0$. The last of those is obviously no problem. The other two conditions require that $\boxed{|k|<1}$.

The equation simplifies to $(x-1)^2=-2k$, it is easy to see that k must be less than or equal to zero for the equation to have roots.

- Mar 31, 2013

- 1,332

I start from Pranav’s 1st solution

$$\frac{kx+1}{x-k}=2-x \Rightarrow x^2-2x+2k+1=0$$

For the above quadratic to have only one solution, the discriminant is zero i.e

$$4-4(2k+1)=0$$

$$\Rightarrow k=0$$

Now I proceed with the other part

Or

F(x) = x^2−2x+2k+1=0

Has one solution x < 2 as log (2-x) is undefined for x > 2

f(x) is + infinite at + infinite and – infinite so for a solution to exist f(2) < 0 or

2k + 1 < 0 => k < - ½

Now as log(kx + 1) is taken (kx + 1) > 0 or x < - 1/k ( - sign is taken as k is –ve)

Now solution

= (2 – sqrt( 4 - 4k – 4))/2 < - 1/k

Or ( 1- sqrt(-k)) < - 1/k

Because k is –ve and dividing or multiplying by k switches > to < vice versa put –k = p

So ( 1- sqrt(p)) < 1/p

Or (1- 1/p) < sqrt(p)

Solution is becoming complex and I dare not proceed but I would let some one to proceed from here.

I might have done a mistake

- Thread starter
- Admin
- #14

- Feb 14, 2012

- 3,805

Shame on me,

Now, after reading posts from

I apologize for that.

Hi

So where does $k$ come into it? The only remaining thing to do is to check that the logarithms are defined when $x=1$. For that, we need $k+1>0$, $1-k>0$ and $2-1>0$. The last of those is obviously no problem. The other two conditions require that $\boxed{|k|<1}$.

Thanks for participating!

But

My solution:

First off, it's very important and crucial to always find the domain of the original given logarithmic equation and in this problem, we have

$kx+1>0\;\;\;$ | $2-x>0\;\;\;$ $-x>-2$ $x<2$ | $x-k>0\;\;\;$ $x>k$ | That is, the solution sets that we have for $x$ and $k$ must satisfy these three inequalities simultaneously. |

Also, the original equation $\log (kx+1)-\log (x-k)=\log (2-x) \rightarrow \log (kx+1)=\log ((2-x)(x-k))$ is equivalent to the quadratic equation $kx+1=(2-x)(x-k) \rightarrow x^2-2x+2k+1=0$ after we equate the arguments of the log functions.

The quadratic equation $x^2-2x+2k+1=0$ has the two solutions, namely $x=1+\sqrt{-2k}$ and $x=1-\sqrt{-2k}$.

At this point, we can conclude that

1. If $k=0$, we achieved what we wanted and $k=0$ is a solution to the problem,

2. $k$ cannot be greater than zero,

2. We need to think also the case when $k<0$.

Bearing in mind the restriction given by the problem is the given equation has a unique real solution, we thus consider

$k<0$, $x>k$ and $x=1-\sqrt{-2k}$ | and | $k<0$, $x<2$ and $x=1+\sqrt{-2k}$ |

If $1-\sqrt{-2k}>k$ is true, | then | $1+\sqrt{-2k}\ge 2$ must hold. |

If we play with the inequality below a bit, we see that

$1-\sqrt{-2k}>k$

$1-k>\sqrt{-2k}$

$(1-k)^2>(\sqrt{-2k})^2$

$1-2k+k^2>-2k$

$1+k^2>0$

That is, $1-\sqrt{-2k}>k$ is always true for all $k \in R$.

In this case, in order to find the solution set for $k$, which is the answer to the problem, we must set

$1+\sqrt{-2k} \ge 2$

$\sqrt{-2k} \ge 1$

$-2k \ge 1$

$k \le -\frac{1}{2}$

Hence, the solution set for $k$ is ${k:k \le -\frac{1}{2}, k=0}$.

- - - Updated - - -

HeyI start from Pranav’s 1st solution

Now I proceed with the other part

Or

F(x) = x^2−2x+2k+1=0

Has one solution x < 2 as log (2-x) is undefined for x > 2

f(x) is + infinite at + infinite and – infinite so for a solution to exist f(2) < 0 or

2k + 1 < 0 => k < - ½

Now as log(kx + 1) is taken (kx + 1) > 0 or x < - 1/k ( - sign is taken as k is –ve)

Now solution

= (2 – sqrt( 4 - 4k – 4))/2 < - 1/k

Or ( 1- sqrt(-k)) < - 1/k

Because k is –ve and dividing or multiplying by k switches > to < vice versa put –k = p

So ( 1- sqrt(p)) < 1/p

Or (1- 1/p) < sqrt(p)

Solution is becoming complex and I dare not proceed but I would let some one to proceed from here.

I might have done a mistake

BTW, thanks for participating!

Last edited:

- Mar 31, 2013

- 1,332

Hello Anemone,Shame on me,Pranav! It appears that we have found the same answer, which I'm not completely sure is correct...at first I solved it and got the solution set for $k$ to be $[-\dfrac{1}{2},0]$. And I was so happy, but I didn't check to see if it's correct or not!

Now, after reading posts fromOpalgandkaliprasad, I checked my work again, and I found the same answer as you. But, I must also tell you I am not entirely sure if ${k: -\infty<k \le -\dfrac{1}{2}}$ is the answer because to me,Opalgis always right.

I apologize for that.

HiOpalg,

Thanks for participating!

ButOpalg, my answer is different than yours. Could you please check my work?

My solution:

First off, it's very important and crucial to always find the domain of the original given logarithmic equation and in this problem, we have

$kx+1>0\;\;\;$ $2-x>0\;\;\;$

$-x>-2$

$x<2$$x-k>0\;\;\;$

$x>k$That is, the solution sets that we have for $x$ and $k$ must satisfy these three inequalities simultaneously.

Also, the original equation $\log (kx+1)-\log (x-k)=\log (2-x) \rightarrow \log (kx+1)=\log ((2-x)(x-k))$ is equivalent to the quadratic equation $kx+1=(2-x)(x-k) \rightarrow x^2-2x+2k+1=0$ after we equate the arguments of the log functions.

The quadratic equation $x^2-2x+2k+1=0$ has the two solutions, namely $x=1+\sqrt{-2k}$ and $x=1-\sqrt{-2k}$.

At this point, we can conclude that

1. If $k=0$, we achieved what we wanted and $k=0$ is a solution to the problem,

2. $k$ cannot be greater than zero,

2. We need to think also the case when $k<0$.

Bearing in mind the restriction given by the problem is the given equation has a unique real solution, we thus consider

$k<0$, $x>k$ and $x=1-\sqrt{-2k}$

and $k<0$, $x<2$ and $x=1+\sqrt{-2k}$

If $1-\sqrt{-2k}>k$ is true, then $1+\sqrt{-2k}>2$ must hold.

If we play with the inequality below a bit, we see that

$1-\sqrt{-2k}>k$

$1-k>\sqrt{-2k}$

$(1-k)^2>(\sqrt{-2k})^2$

$1-2k+k^2>-2k$

$1+k^2>0$

That is, $1-\sqrt{-2k}>k$ is always true for all $k \in R$.

In this case, in order to find the solution set for $k$, which is the answer to the problem, we must set

$1+\sqrt{-2k}>2$

$\sqrt{-2k}>1$

$-2k>1$

$k<-\frac{1}{2}$

Hence, the solution set for $k$ is ${k:k<-\frac{1}{2}, k=0}$.

- - - Updated - - -

Heykaliprasad, yes, if we approach it like you did, things can become excessively complicated...

BTW, thanks for participating!

I appreciate your statement. Bout none of the above ans imply that kx +1 >0 ( I am sorry if it is implicit some where which I did not understand) and I formulated the equation to put a limit on x

- Thread starter
- Admin
- #16

- Feb 14, 2012

- 3,805

I'm sorryHello Anemone,

I appreciate your statement. Bout none of the above ans imply that kx +1 >0 ( I am sorry if it is implicit some where which I did not understand) and I formulated the equation to put a limit on x

Let me add the explanation in this post:

We know we now have only one real solution to the problem, namely $x=1-\sqrt{-2k}$.

The solution suggests that $k<-\dfrac{1}{2}$, $\therefore -2k>1$ which then tells us $x=1-\sqrt{-2k}<0$.

Since $k<-\dfrac{1}{2}$ and $x<0$, then $kx+1$ is always greater than zero. Agree?

- Nov 4, 2013

- 428

Sorry if this is going to be dumb but Wolfram Alpha doesn't give any solutions to:I'm sorrykaliprasadfor not covering the explanation in my previous post how the solution set of $k$ implies too that $kx+1>0$ must also be true.

Let me add the explanation in this post:

We know we now have only one real solution to the problem, namely $x=1-\sqrt{-2k}$.

The solution suggests that $k<-\dfrac{1}{2}$, $\therefore -2k>1$ which then tells us $x=1-\sqrt{-2k}<0$.

Since $k<-\dfrac{1}{2}$ and $x<0$, then $kx+1$ is always greater than zero. Agree?

$$1-\sqrt{-2k}>-\frac{1}{k}$$

1-sqrt(-2k)>-1/k - Wolfram|Alpha

EDIT: That was actually very dumb. I should have fed Wolfram Alpha with this:

k(1-sqrt(-2k))+1>0 - Wolfram|Alpha

Last edited:

- Thread starter
- Admin
- #18

- Feb 14, 2012

- 3,805

So, everything seems okay now?Sorry if this is going to be dumb but Wolfram Alpha doesn't give any solutions to:

$$1-\sqrt{-2k}>-\frac{1}{k}$$

1-sqrt(-2k)>-1/k - Wolfram|Alpha

EDIT: That was actually very dumb. I should have fed Wolfram Alpha with this:

k(1-sqrt(-2k))+1>0 - Wolfram|Alpha

- Nov 4, 2013

- 428

I guess everything's ok. So then the final answer is $(-\infty,-1/2] \cup {0} $?So, everything seems okay now?

- Thread starter
- Admin
- #20

- Feb 14, 2012

- 3,805

Hmm...I think so.I guess everything's ok. So then the final answer is $(-\infty,-1/2] \cup {0} $?

I'm sorry though, because I don't have the answers for the vast majority of the challenge problems that I posted here for reference.

- Admin
- #21

There seems to be some confusion in this thread, so I thought to see if I could add to it.

I think we can all agree that when $k=0$ this leads to the case where there is one real solution only, $x=1$. Otherwise we obtain the roots:

\(\displaystyle x=1\pm\sqrt{-2k}\)

In order for either of these roots to be real, we require $k<0$. (I use a strict inequality because we have already accounted for $k=0$

Analyzing the arguments of the log functions, we find:

a) \(\displaystyle x<2\)

Using the larger root, and making it greater than or equal to 2, and the smaller root less than 2, thereby ensuring only 1 root is real, we obtain

i) \(\displaystyle 1+\sqrt{-2k}\ge2\)

\(\displaystyle -2k\ge1\)

\(\displaystyle k\le-\frac{1}{2}\)

ii) \(\displaystyle 1-\sqrt{-2k}<2\)

\(\displaystyle -\sqrt{-2k}<1\)

\(\displaystyle -2k\ge0\)

\(\displaystyle k\le0\)

We need both of these to be true, hence:

\(\displaystyle k\le-\frac{1}{2}\)

b) \(\displaystyle x>k\)

We will find here that both roots must be larger than $k$, otherwise there are no solutions for $k$. Setting the smaller root greater than $k$:

\(\displaystyle 1-\sqrt{-2k}>k\)

\(\displaystyle k\le0\)

c) \(\displaystyle kx>-1\)

In order for solutions to exist, we need:

i) \(\displaystyle k\left(1+\sqrt{-2k} \right)\le-1\)

\(\displaystyle k\le-\frac{1}{2}\)

ii) \(\displaystyle k\left(1-\sqrt{-2k} \right)>-1\)

\(\displaystyle k\le0\)

We need both of these to be true, hence:

\(\displaystyle k\le-\frac{1}{2}\)

Thus, we find the solutions:

\(\displaystyle k=0,\,k\in\,\left(-\infty,-\frac{1}{2} \right]\)

I think we can all agree that when $k=0$ this leads to the case where there is one real solution only, $x=1$. Otherwise we obtain the roots:

\(\displaystyle x=1\pm\sqrt{-2k}\)

In order for either of these roots to be real, we require $k<0$. (I use a strict inequality because we have already accounted for $k=0$

Analyzing the arguments of the log functions, we find:

a) \(\displaystyle x<2\)

Using the larger root, and making it greater than or equal to 2, and the smaller root less than 2, thereby ensuring only 1 root is real, we obtain

i) \(\displaystyle 1+\sqrt{-2k}\ge2\)

\(\displaystyle -2k\ge1\)

\(\displaystyle k\le-\frac{1}{2}\)

ii) \(\displaystyle 1-\sqrt{-2k}<2\)

\(\displaystyle -\sqrt{-2k}<1\)

\(\displaystyle -2k\ge0\)

\(\displaystyle k\le0\)

We need both of these to be true, hence:

\(\displaystyle k\le-\frac{1}{2}\)

b) \(\displaystyle x>k\)

We will find here that both roots must be larger than $k$, otherwise there are no solutions for $k$. Setting the smaller root greater than $k$:

\(\displaystyle 1-\sqrt{-2k}>k\)

\(\displaystyle k\le0\)

c) \(\displaystyle kx>-1\)

In order for solutions to exist, we need:

i) \(\displaystyle k\left(1+\sqrt{-2k} \right)\le-1\)

\(\displaystyle k\le-\frac{1}{2}\)

ii) \(\displaystyle k\left(1-\sqrt{-2k} \right)>-1\)

\(\displaystyle k\le0\)

We need both of these to be true, hence:

\(\displaystyle k\le-\frac{1}{2}\)

Thus, we find the solutions:

\(\displaystyle k=0,\,k\in\,\left(-\infty,-\frac{1}{2} \right]\)

Last edited:

- Moderator
- #22

- Feb 7, 2012

- 2,738

My previous attempt at an answer obviously went off the rails right from the start. I agree with the answer $(-\infty,-1/2] \cup {0} $.I guess everything's ok. So then the final answer is $(-\infty,-1/2] \cup {0} $?

- Mar 31, 2013

- 1,332

F(x) = x^2−2x+2k+1=0

Has one solution x < 2 as log (2-x) is undefined for x > 2

f(x) is + infinite at + infinite and – infinite so for a solution to exist f(2) < 0 or

2k + 1 < 0 => k < - ½

Then to check that kx + 1 > 0 I complicated the things

I should have realized that

if k < -1/2

x = 1- sqrt(-2k) < 0

as kx + 1 > 0 is satisfied.

Thanks to Anemone for clarifying the things and solution is not complex

- Admin
- #24

- Mar 5, 2012

- 9,004

Can we include it please?

That is since $kx + 1 > 0$ is not satisfied for $k=-\frac 1 2$ and $x=2$, so we have only $x=0$ as solution, as required.

- Admin
- #25

Yes, I see what I did wrong.

Can we include it please?

That is since $kx + 1 > 0$ is not satisfied for $k=-\frac 1 2$ and $x=2$, so we have only $x=0$ as solution, as required.

I fixed my post above...thanks for catching this.