So I'm a senior in high school going through Spivak's Calculus. I've made it up to chapter 3 with a lot of difficulty and only being able to solve less than half of the problems. If I can't prove some theorem on my own I can usually understand the proof although sometimes it takes whole days to feel like I'm starting to wrap my head around it. My biggest problem is that it seems like I never know where to begin. Is this something that will just come with time? For example a problem I'm currently stuck on is showing that for each $n$ there is a polynomial function of degree $n$ with $n$ roots. I have already proven that if $f$ is a polynomial function of degree $n$ , then $f$ has at most $n$ roots. I assume this proof builds on that one. I just don't know where to start.
Update: Okay so funny enough I think a proof just came to me but I want to make sure it's correct. So my proof is
There is a polynomial of degree $n=1$ with exactly one root. Assume $g$ is a polynomial of degree $k$ with $k$ roots, then $f(x)=(x-a)g(x)$ is a polynomial of degree $k+1$ with $k+1$ roots. Therefore for each $n$ there is a polynomial function of degree $n$ with $n$ roots.
Is this proof valid?
Update: Okay so funny enough i think a proof just came to me but i want to make sure it's correct. So my proof is There is a polynomial of degree $n=1$ with exactly one root. Assume $g$ is a polynomial of degree $k$ with $k$ roots, then $f(x)=(x-a)g(x)$ is a polynomial of degree $k+1$ with $k+1$ roots. Therefore for each $n$ there is a polynomial function of degree $n$ with $n$ roots. Is this proof valid?