I have been reading a lot about real analysis and infinite sets lately. Infinite sets I mean the most common ones ($\mathbb{N}$ and $\mathbb{R}$). I have come across many problems and there are two which look very similar in terms of solving technique but I could not seem to figure them out.
Problem 1: Is there a function ($f:$ $\mathbb{R} \rightarrow \mathbb{R}$) whose limit at every point is $ \infty $ ?
Problem 2: Can a function ($f:$ $\mathbb{R} \rightarrow \mathbb{R}$) have continuum many local min/max values ? (We are looking for local extrema values not points, so the constant function only has 1 in this regard)
So both problems ask questions about some properties maximum cardinality. Obviously countably finite is achieveable for both questions ($\tan{x}$ and $x\sin{(1/x)}$). I think the answer is negative for both questions.
For Problem 1 I think all values have to be 'large' for this to happen, namely $\infty$ but could not exactly prove this. I also tried to make a bijection with rational numbers on how many points can have a limit at infinity, but also could not finish.
For problem 2 I tried bijection with rationals but I could not make it so that for every rational I pair it with one Local min/max.
I feel like the thought process should be roughly similar for both but I could not find it. I may be completely on the wrong foot either by guessing that the answer must be negative.
Can someone tell me if my ideas can be finished, or if not then what way would work for proving these, and also if my guess about the answer is right.