I have seen people give the definition that a subspace is a vector space contained within a vector space. But is this definition actually accurate? Isn't this a special case, in particular the definition of a linear/vector subspace?
For example, I have seen hyperplanes described as subspaces, but they do not contain the zero vector (affine subspaces).
Shouldn't the correct definition of a subspace be something like this: A subset of a set from a space such that the structure of that space still holds on the subset.
In other words, my question is whether there is a general definition of a subspace.