# If $A$ and $B$ are positive constants, show that $\frac{A}{x-1} + \frac{B}{x-2}$ has a solution on $(1,2)$

I have problem which I couldn't figure out how to solve; If $A$ and $B$ are positive constants, show that $$0=\frac{A}{x-1} + \frac{B}{x-2}$$ has a solution on the open interval $(1,2)$.

If you support your answers with rigorous proof, I appreciate that.

What I thought was taking interval roughly close to the end points from the inside i.e $[1.1,1.9]$, but then it wouldn't be rigorous solution to this problem. After that, I totally stuck since I couldn't determine to closed interval, which prevented me from using any useful theorem.

Note: The problem is taken from G.Simmons Calculus with Analytic Geometry 2nd.

• Can the one who voted down give a reason please ? – onurcanbektas Jul 27 '16 at 8:36
• because your problem lost some details about what you have done. – Zack Ni Jul 27 '16 at 10:10
• I think that "unclear what you are asking would be more appropriate. What do you mean by $\frac A{x-1}+\frac B{x-2}$ has a solution? Did you want to write that it has a zero or a root? Or to ask whether $\frac A{x-1}+\frac B{x-2}=0$ has a solution? – Martin Sleziak Jul 30 '16 at 8:38
• I edited, in the book the equation was without "=0"; therefore, I directly wrote like that. – onurcanbektas Jul 30 '16 at 9:19
• Since you write that it was written in the book, including the name of the book would, in my opinion, count as adding context. – Martin Sleziak Jul 30 '16 at 9:28

## 4 Answers

Let $$f(x) = \frac{A}{x - 1} + \frac{B}{x - 2}.$$

Observe that $f$ is defined on $\mathbb R \setminus \{1,2\}$ and it's continuous since it's a sum of continuous functions.

Now,

• $\lim\limits_{x \to 1^+} f(x) = +\infty$
• $\lim\limits_{x \to 2^-} f(x) = -\infty$

Therefore, from the definition of limit and the intermediate value theorem, it follows that $f$ has a root on $(1, 2)$.

It is important to note that the result follows from the definition of limit as well, because the intermediate value theorem requires $f$ to be continuous over a compact $[a, b]$. Indeed, we have $$\forall \varepsilon > 0, \exists \delta \text{ such that } x - 1 < \delta \implies f(x) > \varepsilon$$ And similarly, from the second limit, $$\forall \varepsilon' > 0, \exists \delta' \text{ such that } 2 - x < \delta' \implies f(x) < -\varepsilon'$$ So it's possible to choose appropriate constants $\delta,\delta'$ such that $f$ satisfies the conditions of the intermediate value theorem on $[1 + \delta, 2 - \delta']$ and $f(1 + \delta') > 0$ and $f(2 - \delta) < 0$.

The graph may make the reasoning clearer ($A = 2$ and $B = 1$): You may also be interested in this very similar question, which has a similar (albeit a bit more involved) solution.

• what do you mean by "from the definition of limit and the intermediate value theorem" ? – onurcanbektas Jul 27 '16 at 8:25
• @Leth Added a little explanation. – rubik Jul 27 '16 at 8:26
• @Leth: There is good reason for using your book's definition of existence of limits, because the rules for addition and multiplication of limits are simpler (see math.stackexchange.com/a/1782096/21820). However, although rubik used a different definition of limit existence in his answer, his conclusion is valid because it does not mention limit existence anywhere. Go back to the rigorous definition of $\lim_{x \to 1^+} f(x) = \infty$. It tells you that there is some $a > 1$ such that ( $f(x) > 1000$ for every $x \in (1,a]$ ). Use $a$ for the left point for IVT. Same on the right. – user21820 Jul 31 '16 at 6:35
• @Leth That was discussed before here. If you already know/proved that $f$ is continuous (i.e. in its domain), you are done. Otherwise just use the definition, it's a fairly simple application of it. – rubik Jul 31 '16 at 8:05
• @Leth: Any function that is continuous on some domain is continuous on any subdomain just by definition of continuity. (The reverse might not be true.) – user21820 Jul 31 '16 at 8:30

In the interval $(1,2)$ you may freely multiply by $(x-1)(x-2)$ and

$$A(x-2)+B(x-1)=0$$ or

$$(A+B)x=2A+B,$$ $$x=\frac{2A+B}{A+B}=1+\frac A{A+B}.$$

Clearly,

$$0<\frac A{A+B}<1,$$ which substantiates the claim.

• Yes, it is clearly one of the solutions of the problem, thanks but as I'm not interested in solving with algebraic manipulation, it doesn't help me understating the topic better. – onurcanbektas Jul 30 '16 at 13:52
• @Leth: was this ever explained in your post ? Sorry, I can't read your mind. By the way, my answer is a rigorous proof. – Yves Daoust Aug 12 '16 at 6:24
• I didn't mean to be rude, I just did an explanation for not accepting as an answer.By the way, I never said it is not a rigorous proof, I just said the method is a manipulation. – onurcanbektas Aug 12 '16 at 6:38
• @Leth: what frustrates me is that I still don't know what you are after, as you didn't state it. – Yves Daoust Aug 12 '16 at 6:41
• I was after a solution including basic theorems of calculus. – onurcanbektas Aug 12 '16 at 6:44

Hint

Define (and fill in details)

$$f(x):=\frac{A}{x-1} + \frac{B}{x-2}=\frac{(A+B)x-2A-B}{(x-1)(x-2)}$$

so

$$\lim_{x\to1^+}f(x)=(-A)\lim_{x\to1^+}\frac1{(x-1)(x-2)}=\infty$$

$$\lim_{x\to2^-}f(x)=B\lim_{x\to2^-}\frac1{(x-1)(x-2)}=-\infty$$

and now use the IVT and the fact $\;f(x)\;$ is continuous at $\;(1,2)\;$

• But in order to use IVT, the function must be continuous at some closed interval ? – onurcanbektas Jul 27 '16 at 8:22
• @Leth Of course. That's part of the "details". For example, we know there exists $\;\epsilon>0\;$ s.t. $\;f(1+\epsilon)=2\;$ , and also exists a $\;\delta>0\;$ such that $\;f(2-\delta)=-1\;$ . Well, now focus on $\;[1+\epsilon,\,2-\delta]\;$ .... – DonAntonio Jul 27 '16 at 8:28

To add on DonAntonio's Answer:

$$f(x) = \frac{A}{x-1} + \frac{B}{x-2} = \frac{(A+B)x - 2A - B}{(x-1)(x-2)}.$$

Now, $1 < \frac{2A+B}{A+B} < 2$, since $A,B > 0$. Moreover, one calculates $f(\frac{2A+B}{A+B}) = 0$.