Suppose $\pi:E\to B$ is a line bundle. Let $s:B\to E$ a non-vanishing section, i.e. for every $b\in B$ $s(b)\ne 0$ and $\pi\circ s=Id_B$.
I have to prove that the line bundle above is trivial.
Idea: Since $s$ is a section, for every $b\in B$, $0\ne E_b:=\pi^{-1}(b)=s(b)\cong\mathbb{R}$. I want to define an isomorphism between $E$ and $B\times\mathbb{R}$. Define $$ F:B\times \mathbb{R}\to E\\ (b,\lambda)\mapsto \lambda s(b) $$ How can I go on?