I'm trying to solve a problem about the Lie group of transformation over $\mathbb{R}$: \begin{equation} x\mapsto ax+b, \end{equation} where $a,b\in\mathbb{R}, a\neq 0.$
I'm asked to find the space of left invariant 2-forms.
Can anybody explain me how to get the solution?
The element, call it $g(a,b)$, of your Lie group can be viewed as the matrix $$ g(a,b)=\left(\begin{array}{rr}a&b\\0&1\end{array}\right) $$ acting on column vectors $(x,1)^T$. We see that the matrix of $1$-forms $$ g(a,b)^{-1}dg(a,b)=\frac1a\left(\begin{array}{rr}1&-b\\0&a\end{array}\right)\left(\begin{array}{rr}da&db\\0&0\end{array}\right)= \frac1a\left(\begin{array}{rr}da&db\\0&0\end{array}\right) $$ is left-invariant. Namely, if $h$ is a fixed element of the group, then $$ (hg)^{-1}d(hg)=g^{-1}h^{-1}hdg=g^{-1}dg. $$ As $\omega_1=\dfrac1a\,da$ and $\omega_2=\dfrac1a\,db$ are invariant 1-forms, their wedge product $$ \omega_1\wedge\omega_2=\frac1{a^2}da\wedge db $$ is an invariant 2-form.
On a locally compact 2-dimensional group the left-invariant 2-forms form a 1-dimensional space (IIRC) as integrating them gives a left Haar measure.