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.

please help me to do this problem...

Let $f: \mathbb R\to \mathbb R$ be a continuous function such that $f(q)=\sin q$ for $q\in\mathbb Q$ (rational numbers). Find the value of f(π/4).

share|improve this question
    
Please read: meta.math.stackexchange.com/q/1803 –  user44882 Oct 16 '12 at 16:33
    
What values could $f$ take on the irational numbers? What would make sense? And if you got this, how do you prove it? –  Stefan Oct 16 '12 at 16:33
2  
I think you are in an exam. Hence I will refrain from answering any more of your question for the next 2 hours. –  Matt N. Oct 16 '12 at 16:35
3  
You would make it easier to other people to help you, if you wrote your thoughts about the problem. Otherwise some people might post answers employing some facts you have not learned yet (and thus useless for you). What do you know about continuity? If you know something about dense sets, you might have a look here: Continuous functions between metric spaces are equal if they are equal on a dense set. Other possibility: What do you know about continuity and convergent sequences? –  Martin Sleziak Oct 16 '12 at 16:39
    
to Martin,,I referred your link about cts function between metric spaces are equal....but that says about two functions right???here there's only one and I know Q is dense in R and the thing is I cant find any function that is convergent to π/4. –  ccc Oct 17 '12 at 2:05
add comment

2 Answers 2

The problem OP seems to have is with finding a sequence of rationals converging to $\pi/4$.

If you know that the rationals are dense in the reals, you can just state that fact as a proof of the existence of such a sequence of rationals.

If you don't want to (or can't) use that, then think about the decimal expansion of $\pi/4$. How can you get rational numbers out of that, rational numbers that converge to $\pi/4$?

share|improve this answer
add comment

I'd do it as follows:

$f$ is continuous which means that you can swap limits and function: $\lim_{n \to \infty} f(x_n) = f( \lim_{n \to \infty} x_n) = f(x)$. So to find $f( \pi / 4)$ you pick a sequence $x_n \to \pi / 4$ and investigate what $f(x_n)$ converges to.

I looked it up (because I didn't know any such sequence off the top of my head), and for example, you could take the formula found by Leibniz:

$$ \frac{\pi}{4} = \sum_{k=1}^\infty \frac{(-1)^{k+1}}{2k - 1}$$

share|improve this answer
    
yes exactly...I agree with this idea.but still I couldn't find any sequence such that xn→π/4.can anybody help me?? –  ccc Oct 17 '12 at 0:14
    
@cccjay I added a formula to my answer, hope this helps! –  Matt N. Oct 17 '12 at 6:46
    
thanks alot MattN...I'll check that...:) –  ccc Oct 17 '12 at 7:30
    
another problem!!!!What is the use of giving f(q)=sin(q) there??? –  ccc Oct 17 '12 at 7:41
    
@cccjay That's the function definition! Otherwise, what function are you evaluating at $\pi / 4$? –  Matt N. Oct 17 '12 at 7:45
show 4 more comments

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.