Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Let $f,g:\mathbb{R}\to\mathbb{R}$ denote the functions

$$f(x)=\begin{cases}-x+3,&x\leq 1,\\-ax^2,&\text{otherwise}.\end{cases}$$ $$g(x)=\begin{cases}\frac{x^3+x^2-x-1}{x-1},&x\neq 1,\\-b,&\text{otherwise}.\end{cases}$$

Determine parameters $a,b\in\mathbb{R}$ such that $f$ and $g$ are continuous.

I was thinking about comparing limits for both sides, that is finding $a$ via

$$\lim\limits_{x\to 1}-x+3=\lim\limits_{x\to 1}-ax^2$$

and $b=-4$ with the same approach. Actually it looked obvious to me that $a=-2$, however my thoughts don't comply with the solution of WolframAlpha. What am I doing wrong here?

share|improve this question
2  
Believe in you, not in Wolfram. As $\lim_{x\to 1} 3-x = 2 = \lim_{x\to 1} 2x^2$, you are right. By the way, $a = -2$, then. –  martini Nov 10 '12 at 13:32
    
Oh typo. Fixed it now - may I ask you whether you can confirm my second result $b=4$ which I did determine the same way as $a$? –  Christian Ivicevic Nov 10 '12 at 13:35
1  
As for $a$, up to a sign, as $g(x) = (x+1)^2$ for $x \ne 1$, so the limit $\lim_{x\to 1, x\ne 1} g(x) = (1+1)^2 = 4 \stackrel != -b$, so $b=-4$. –  martini Nov 10 '12 at 13:37
    
@martini: Oh again a typo... but nevertheless thanks. –  Christian Ivicevic Nov 10 '12 at 13:38
add comment

1 Answer

up vote 1 down vote accepted

Yes, $a=-2$ and $b=-4$.

Of course, $f$ and $g$ are continuous in the given point if the left and right limits there exist and coincide, and the plot of Wolfram also confirms this (though the text itself 'Discontinuity at $x=1$' is really misleading).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.