let $v$ be the space of polynomials less than or equal to three and let
$$\langle p,q\rangle = p(0)q(0)+p'(0)q'(0)+p(1)q(1)+p'(1)q'(1)$$
What is the angle between the polynomials $2x^3-3x^2$ and $1$?
I was thinking $3\pi/4$ or $4\pi/3$. I was not sure which one it was. I tried drawing a picture and thought it might be $\pi/3$ too. Can someone help me please? I am a self learner and worked on this for days. I came to exhaustion. (real analysis)
It depends on how you defined angle. If it is in the standard way we define in vector spaces with inner product. Let $V$ be an $\mathbb{R}$ or $\mathbb{C}$ vector space with inner product $\langle,\rangle$ the angle $\angle(u,v)$ between vectors $u,v\in V$ is defined by
$$\angle u,v=\cos^{-1}\left(\dfrac{\langle u,v\rangle}{|u||v|}\right)$$
which is well defined because $|\langle u,v\rangle|\leq |u||v|$. In that case, assuming you are dealing with the space of polynomials $P_3(\mathbb{R})$ with the usual inner product we will proceed just computing this thing. Recall that we define
$$\langle f,g\rangle=\int_0^1f(t)g(t)dt,$$
hence, for $f(x)=2x^3-3x^2$ and $g(x)=1$ we have
$$\langle f,g\rangle = \int_0^1 2t^3-3t^2dt = -\dfrac{1}{2},$$
$$\langle f,f\rangle =\int_0^1 4t^6-12t^5+9t^4dt = \dfrac{13}{35}\Longrightarrow |f|=\sqrt{13}/\sqrt{35},$$
$$\langle g,g\rangle = \int_0^1 dt=1\Longrightarrow |g|=1.$$
Because of that
$$\angle (f,g)=\cos^{-1}\left(-\sqrt{\dfrac{13}{140}}\right)\approx1,88 \ \text{rad}$$