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.

At which points is the following function continuous?

$$\begin{eqnarray*} f(x) = \begin{cases} 5x, &\text{if }x \in\mathbb Q, \\ x^2-6, &\text{if }x \notin\mathbb Q. \end{cases} \end{eqnarray*}$$

share|improve this question
    
I've done nothing because I have no idea where to start from. –  Gigili Jan 24 '12 at 11:00
    
Is this homework? what have you tried? –  Dennis Gulko Jan 24 '12 at 11:01
    
$Q$ is the set of rational number? –  Paul Jan 24 '12 at 11:01
    
When is $5x = x^2-6$? –  lhf Jan 24 '12 at 11:01
1  
@Gigili, no, -1 and 6. –  lhf Jan 24 '12 at 11:12
show 4 more comments

1 Answer

Consider any point $x\in\mathbb{R}$ and assume that $f$ is continuous at $x$. You can find two sequences $\{a_n\}\subset\mathbb{Q}$ and $\{b_n\}\subset\mathbb{R}\setminus\mathbb{Q}$ such that $\lim a_n=\lim b_n=x$ (do you know why they exist and/or how to find those?). Now use the Heine property for continuity to say that $$5x=\lim 5a_n=\lim f(a_n)=f(\lim a_n)=f(\lim b_n)=\lim f(b_n)=\lim b_n^2-6=x^2-6$$ Now you can find $x$.

share|improve this answer
3  
And having found $x$ you must still prove that the function is continuous at $x$, since using just two sequences won't prove it. –  Marc van Leeuwen Jan 24 '12 at 11:18
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.