I have a homogenous differential equation
$a_0 y'' + a_1 y' + a_2 y = 0$
I know that $\lambda_0$ is a double root in characteristic polynomial.
Now I have to show that $y(t) = t e^{\lambda_0 t}$ is a solution to the differential equation.
I cannot just insert the function $y(t)$ in the differential equation because of all the unknown coefficients, but I know that when the second order polynomial has a double root the discriminant is zero and the solutions are
$t = -\frac{b}{2a} = -\frac{a_1}{2 a_0}$.
Can I use this to show that the function is a solution to the diff. eq.?
You can simply substitute $y(t)$ into the equation, but as you say, it appears you need some extra information: In this case, the only other information you have is that $\lambda$ is a double root of the characteristic equation $a_0 r^2 + a_1 r + a_2$; in particular, a quadratic polynomial $A r^2 + B r + C$ has a double root iff its discriminant $B^2 - 4 A C$ is zero. Using this will allow you to simplify the expression you produce when substituting the candidate solution $y(t)$.