Domain and range as shadows
"Domain and range as shadows" is a free, interactive Class 11 Maths simulation for JEE, built on the NCERT section "Domain and range of real functions" in Relations and Functions. A real function's graph casts a shadow onto the x-axis (domain, green) and the y-axis (range, orange); a draggable window restricts x and the range shadow updates.
From the lesson Domain and range of real functions in Relations and Functions. Change the values and watch what happens.
What it shows
NCERT §2.4
A real function's graph casts a shadow onto the x-axis (domain, green) and the y-axis (range, orange); a draggable window restricts x and the range shadow updates.
Controls
4 to try
- Segmentedf = √(x − 3) / √(25 − x²) / 1/((x − 2)(x − 6)) / x² + 4 / x²
- Sliderleft end of x-window −6 to 6
- Sliderright end of x-window −6 to 6
- Toggleshow codomain R
Try this
With f = x², set the x-window so that the range shadow is exactly [0, 4] while the domain shadow is not symmetric (e.g. [−1, 2]).
Common mistake
Giving the codomain when the range is asked; ignoring that a restriction on x changes the range.
The idea behind it
NCERT §2.4
- When a real function is given only by a formula, its domain is taken to be the largest set of real numbers for which the formula gives a real value.
- Two things shrink the domain: a denominator cannot be 0, and an even root such as √ needs a non-negative quantity under it.
- For f(x) = (x² + 2x + 1)/(x² − 8x + 12), the denominator is (x − 2)(x − 6), so the domain is R − {2, 6}.
- For f(x) = √(x − 3), we need x − 3 ≥ 0, so the domain is [3, ∞); the range is [0, ∞), because a square root is never negative and x = 3 + k² gives the value k for any k ≥ 0.
- For f(x) = √(25 − x²), we need x² ≤ 25, so the domain is [−5, 5]; the value is largest (5) at x = 0 and smallest (0) at x = ±5, so the range is [0, 5].
- The range is found by asking which outputs are actually reached. For f(x) = x² + 4 on R the range is [4, ∞); for f(x) = 5 − 2x with x > 1 the range is (−∞, 3), since x > 1 gives 2x > 2 and so 5 − 2x < 3.
- A restriction on x changes the range: x² on R has range [0, ∞), but x² on [−1, 2] has range [0, 4].
Questions
3 answers
- What does the "Domain and range as shadows" simulation show?
- A real function's graph casts a shadow onto the x-axis (domain, green) and the y-axis (range, orange); a draggable window restricts x and the range shadow updates.
- What mistake does the "Domain and range as shadows" simulation fix?
- A common mistake it clears up: giving the codomain when the range is asked; ignoring that a restriction on x changes the range.
- Is this simulation free?
- Yes. It is free and runs in the browser on a phone or a laptop. It belongs to the lesson "Domain and range of real functions" in Relations and Functions (Class 11 Maths).
Embed this simulation
Free, with a link back
Teaching this idea? Put the simulation on your own page or LMS with this code.