NCERT Example 10 - Relations and Functions
Question: Let N be the natural numbers and R={(x,y): y=2x; x,y in N}. Find the domain, codomain and range. Is R a function?
Answer: Domain=N, codomain=N, range=the even natural numbers; R is a function.
Full step-by-step NCERT solution with diagrams on Something by Zero.