Domain:
Domain is, by definition, the set of all abscissa (the variable x when working with the coordinate plane) that are allowed to be inputted into the equation. Of course, that is probably not easily understood, so here is a way to think of it: x what you put into that equation, and the domain states what x can be. If x were all of your shirts, but you only wanted to wear white ones, the white shirts would be your domain. You would not consider the other shirts. Mathematically, the domain can be limited to all positive numbers, all integers, or any numbers in between 1 and 3. These are the only value that can be put into your equation. When finding domain, look for two key things, dividing by zero and taking the even (square) root of a negative number. (If you have learned logarithms, add a third: taking the log of a negative number or 0). If an x value will cause you to do any of those forbidden operations, it is not in the domain. For instance, the equation 1/x. The domain cannot include 0, because that would cause dividing by zero. Another example: sqrt(x). The domain cannot include negative numbers, because you cannot take the square root of a negative number. So the domain is all positive numbers. Getting more complicated, try 1/(x-2). x is allowed to be zero, because that would result in 1/(0-2) = -1/2. However, the entire denominator cannot equal zero, so x-2 != 0, x != 2 (!= means not equal to). The domain is all numbers except for 2. Try another, sqrt(x-2). 2 would cause the square root of 0, which is allowed, but any number less than two would result in the square root of a negative. Therefore, the domain is any number 2 or greater. One more thing to remember, all factors must be taken into account because they must all be checked when they equal 0. Take 1/(x-2)(x-3). x cannot be 3 or 2 because they both cause the denominator to be zero. When dealing with square roots, it is more complicated, just remember that an even number of negatives is ok, but an odd number of negatives is not, because that results in the square root of a negative.
Range:
Range is the set of all ordinates (y values in a coordinate plane) that are possible for the equation. The domain is what you put in, the range is what comes out. Let's say the domain are the chemicals H and O. The range is all the possible outcomes. Therefore, the range includes O2 (oxygen), H2O (water), OH (hydroxic acid), etc. However the range does not include NH3 because N was not part of the domain. It is not a possible output. There are many kinds of equations with different ranges and you will learn them with experience, but here are a few. 1/x, the domain is all numbers except for 0, and the range is all numbers except 0, because it can be both positive and negative. Try x=-1, and x=1. However, it will never equal zero because the numerator is a constant. sqrt(x), the domain is all positive numbers, but the range is all numbers because the square root of a number can be both positive and negative. sqrt(4) = 2 and -2. x^2, the domain is all numbers, but the range can only be positive numbers.
A quick note: sometimes the domain will be preset, such as {1,2,3}. To find range, input each into the equation. For instance, in 2x, the range would be {2,4,6}.
I understand this was a long read, but I hope it helps you better understand domain and range. Let me know if this was helpful.