Find k Such That Log Equation Has Real Solution

  • MHB
  • Thread starter anemone
  • Start date
In summary: Therefore, $\boxed{k \le 0}$.To ensure that the logarithms are defined, we also need to consider the restrictions $kx+1>0$ and $x-k>0$. This implies that $\boxed{k < 1}$.Therefore, the values of $k$ that satisfy the given equation and ensure a unique real solution are $\boxed{0 < k < 1}$.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Find the values of k such that $\log (kx+1)-\log (x-k)=\log (2-x)$ has a unique real solution.
 
Mathematics news on Phys.org
  • #2
anemone said:
Find the values of k such that $\log (kx+1)-\log (x-k)=\log (2-x)$ has a unique real solution.

The given equation can be rearranged as:

$$\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$$
 
  • #3
Pranav said:
The given equation can be rearranged as:

$$\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$$

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 a unique real solution...
 
  • #4
anemone said:
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 a unique real solution...

What anemone means is find the values of $k$ for which the given equation has only 1 real solution. The use of the word unique implies there is only 1 solution. This is what has thrown us off. :D
 
  • #5
anemone said:
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 a unique real solution...

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=-1 is allowed.
I seem to recall a couple of threads related to the domain of $\log$ a long long time ago. :cool:
 
  • #6
I like Serena said:
domain of $\log$ a long long time ago. :cool:

Hehe, yes, I remember. :P

I wait for the others to post their solution.

I am still trying to see where did I go wrong in the previous attempt. :)
 
  • #7
I like Serena said:
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=-1 is allowed.

Yep! That is another right one! ;)

I like Serena said:
I seem to recall a couple of threads related to the domain of $\log$ a long long time ago. :cool:

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...

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

Pranav said:
Hehe, yes, I remember. :P

I wait for the others to post their solution.

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

Thanks...and I encourage you to keep trying!(Tongueout)
 
Last edited:
  • #8
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:
  • #9
Pranav said:
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.

Nope, that is not the answer to it.

I'm so so sorry, Pranav...

Edit: Perhaps you want to think along the line about the domain of logarithm functions...:)
 
  • #10
anemone said:
Nope, that is not the answer to it.

I'm so so sorry, Pranav...

Yes, the answer is incorrect, I found the error in my working.

I will quietly watch this thread from now. :)
 
  • #11
anemone said:
Find the values of k such that $\log (kx+1)-\log (x-k)=\log (2-x)$ has a unique real solution.
[sp]To avoid any danger of dividing by $0$, write the equation as $\log (kx+1) = \log (x-k) + \log (2-x)$. Now exponentiate: $kx+1 = (x-k)(2-x)$. That simplifies to $x^2 - 2x + 1 = 0$, which is independent of $k$ and has the unique solution $x=1.$

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}$.[/sp]
 
  • #12
Opalg said:
[sp]To avoid any danger of dividing by $0$, write the equation as $\log (kx+1) = \log (x-k) + \log (2-x)$. Now exponentiate: $kx+1 = (x-k)(2-x)$. That simplifies to $x^2 - 2x + 1 = 0$, which is independent of $k$ and has the unique solution $x=1.$

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}$.[/sp]

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.

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.
 
  • #13
Pranav said:
The given equation can be rearranged as:

$$\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$$

I 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
 
  • #14
Pranav said:
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.

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 from Opalg and kaliprasad, 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, Opalg is always right.

I apologize for that.:eek:

Opalg said:
[sp]To avoid any danger of dividing by $0$, write the equation as $\log (kx+1) = \log (x-k) + \log (2-x)$. Now exponentiate: $kx+1 = (x-k)(2-x)$. That simplifies to $x^2 - 2x + 1 = 0$, which is independent of $k$ and has the unique solution $x=1.$

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}$.[/sp]

Hi Opalg,

Thanks for participating!:)

But Opalg, 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}\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 - - -

kaliprasad said:
I 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

Hey kaliprasad, yes, if we approach it like you did, things can become excessively complicated...:confused:

BTW, thanks for participating!
 
Last edited:
  • #15
anemone said:
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 from Opalg and kaliprasad, 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, Opalg is always right.

I apologize for that.:eek:



Hi Opalg,

Thanks for participating!:)

But Opalg, 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 - - -
Hey kaliprasad, yes, if we approach it like you did, things can become excessively complicated...:confused:

BTW, thanks for participating!

Hello 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
 
  • #16
kaliprasad said:
Hello 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

I'm sorry kaliprasad for 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?:)
 
  • #17
anemone said:
I'm sorry kaliprasad for 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?:)

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
 
Last edited:
  • #18
  • #19
anemone said:
So, everything seems okay now?

I guess everything's ok. So then the final answer is $(-\infty,-1/2] \cup {0} $?
 
  • #20
Pranav said:
I guess everything's ok. So then the final answer is $(-\infty,-1/2] \cup {0} $?

Hmm...I think so.

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.:eek:
 
  • #21
There seems to be some confusion in this thread, so I thought to see if I could add to it. (Heidy)

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:
  • #22
Pranav said:
I guess everything's ok. So then the final answer is $(-\infty,-1/2] \cup {0} $?
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} $.
 
  • #23
I was right till the point

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 < - ½

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
 
  • #24
I see some confusion whether the solution $k=-\frac 1 2$ is included or not.
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.
 
  • #25
I like Serena said:
I see some confusion whether the solution $k=-\frac 1 2$ is included or not.
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.

Yes, I see what I did wrong. (Doh)

I fixed my post above...thanks for catching this. :D
 
  • #26
I like Serena said:
I see some confusion whether the solution $k=-\frac 1 2$ is included or not.
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.

:eek:Oops...I also just fixed my solution post, thanks I like Serena!
 

FAQ: Find k Such That Log Equation Has Real Solution

How do you find k for a log equation to have a real solution?

To find k for a log equation to have a real solution, you can use the following steps:

  • Step 1: Rewrite the log equation in exponential form.
  • Step 2: Set the expression inside the log equal to 0.
  • Step 3: Solve for the variable in the exponent.
  • Step 4: Substitute the value found in step 3 into the original log equation.
  • Step 5: Simplify and solve for k.

Can k be any value for the log equation to have a real solution?

No, k cannot be any value. The value of k must satisfy certain conditions in order for the log equation to have a real solution. These conditions include the base of the logarithm being positive and not equal to 1, and the argument (expression inside the log) being positive.

What does a log equation with no real solution look like?

A log equation with no real solution will have a negative argument (expression inside the log) or a negative base. For example, log2(-4) or log-3(8).

Are there any alternative methods for finding k for a log equation to have a real solution?

Yes, there are alternative methods such as graphing the log equation and finding the x-intercept, or using a calculator to solve for k. However, the steps mentioned in question 1 are the most commonly used and reliable methods.

Can a log equation have more than one real solution for k?

Yes, a log equation can have more than one real solution for k. This is because there may be multiple values of k that satisfy the conditions for the log equation to have a real solution. In this case, the solutions for k will be expressed as a set of numbers.

Similar threads

Replies
13
Views
2K
Replies
9
Views
1K
Replies
10
Views
2K
Replies
1
Views
975
Replies
2
Views
2K
Replies
3
Views
1K
Replies
6
Views
2K
Replies
5
Views
1K
Back
Top