linear independence for two objects is pretty easy. if neither is zero, it just means neither one is a multiple of the other.
What you use as multipliers determines what kind of linear independence you are using.
We usually use real numbers for multipliers so independence of x+ay and x+by^2, just means neither is a real multiple of the other.
that is obvious since multiplying by a real number cannot change a y into a y^2.
But the more interesting question you are concerned with is what does this say about the number of solutions?
Given two equations in two variables, the number of simultaneous solutions can be infinite even if they are independent in this sense.
For example x and xy are independent but share the whole y-axis as common solutions. These have a common factor of x, explaining that fact.
At least if we use complex numbers instead of reals we can say always that two polynomials share an infinite number of commono zeroes only if they have a common irreducible factor. (Then it seems to follow also for real numbers.)
the answer to the problem of how many common solutions two polynomials in two variables have, is called Bezout's theorem. I.e. if the two polynomials f,g have no common non constant factors, then they can have at most deg(f)deg(g) common solutions. Tangential solutions can count as more than one however, as usual.
there is a way to calculate the multiplicity of a solution (a,b), as the vector dimension of the local ring R/(f,g), where R is the ring formed from the polynomial ring C[x,y] by allowing as denominators all polynomials not vanishing at the given point (a,b).
I believe the first proof of this theorem was due to Gauss?, and used Euler's? theory of resultants.