Domain and Range
شرح المجال والمدى بالعربي: الدرس بالإنجليزية كما في الامتحان، ومع كل خطوة شرحها بالعربي.
Domain and range: values left out because of a zero denominator or a negative square root, the range of a squared function, and the range of an inverse.
- 8 steps
- 5 min
- 4 syllabuses
Try a real exam question on this
0580/42 · Feb/Mar 2025 · Q14 · 5 marks · Solve it step by step, the way the examiner marks it.
Loading the animated solution…
See the solution as textText version of the solution
For f(x) = 5 − 4x, evaluate the function at a value, form a composite expression in x, and find the inverse function.
(a) 1 mark
Calculate f(−3) using f(x) = 5 − 4x.
- Understand the question. The function f of x is five minus four x, and we must find the value of f at minus three.
- Substitute minus three into the function. The rule is five minus four times x, so replace x with minus three.
- f(−3) = 5 − 4 × (−3) = 5 + 12 = 17
Answer 17
(b) 2 marks
Substitute 3 − 2x into f and simplify the resulting expression.
- Understand the question. The function f of x is five minus four x, and we must find f of three minus two x, in its simplest form.
- Substitute the expression into the function. The rule is five minus four times x, so replace x with three minus two x.
- f(3 − 2x) = 5 − 4(3 − 2x)
- Expand the bracket. Four times three is twelve and four times minus two x is minus eight x, so subtracting gives minus twelve plus eight x.
- = 5 − 12 + 8x
- Collect like terms. Five minus twelve is minus seven, and the x term stays eight x.
- = 8x − 7
Answer 8x − 7
(c) 2 marks
Determine f⁻¹(x) for the function f(x) = 5 − 4x.
- Understand the question. The function f of x is five minus four x, and we must find its inverse, f to the power minus one of x.
- Find the inverse function. Start with y as the output, then swap x and y and make y the subject.
- Why does this work? The inverse function undoes the function. Its inputs are the function's outputs, and its outputs are the inputs.
- So swap x and y, then rearrange to make y the subject. That writes the undoing as a formula.
- y = 5 − 4x, swap: x = 5 − 4y
- Rearrange for y. Add four y to both sides and subtract x, so four y is five minus x.
- 4y = 5 − x
- Divide by four. y is five minus x all divided by four, so the inverse is that expression.
- f⁻¹(x) = (5 − x)/4
Answer (5 − x)/4
The lesson, step by step
Step 1 of 8
Domain and Range
A function is a machine. The domain is the inputs you are allowed to put in. The range is the outputs that can come out.
Key idea
Most questions ask which x must be left out. Two things break a function: dividing by 0, and the square root of a negative.
اشرحها بالعربي
الدالة مثل الآلة. المجال هو المدخلات المسموح بإدخالها، والمدى هو المخرجات التي يمكن أن تخرج منها. معظم الأسئلة تسأل: ما قيم المجهول التي يجب استبعادها؟ شيئان يُفسدان الدالة: القسمة على صفر، والجذر التربيعي لعدد سالب.
Step 2 of 8
You Cannot Divide by Zero (Higher)
If x is in the bottom of a fraction, find the x that makes the bottom 0. That x is left out.
Worked example
- 1
— Look at the bottom of the fraction. Only the bottom can cause trouble.
- 2
— A fraction with 0 on the bottom has no value, so find the x that makes the bottom 0.
- 3
— Take 9 from both sides. Putting in x = −9 would put 0 on the bottom.
- 4
— Write the answer as x ≠ −9. Every other value of x is allowed.
Worked example
- 1
— A second one, with a minus in front of the x. Look at the bottom again.
- 2
— Set the bottom equal to 0.
- 3
— Take 3 from both sides.
- 4
— Divide both sides by −4. A negative divided by a negative is positive.
- 5
— Leave out x = 3/4, or 0.75.
Common mistake
Setting the top to 0. The top can be 0; only the bottom cannot.
اشرحها بالعربي
إذا كان المجهول في مقام الكسر، فأوجد القيمة التي تجعل المقام صفرًا واستبعدها. انظر إلى المقام فقط، فهو وحده يسبب المشكلة. ساوِ المقام بالصفر وحلّ المعادلة: انقل العدد إلى الطرف الآخر، وإن كان معامل المجهول سالبًا فاقسم عليه وتذكّر أن السالب على السالب موجب. اكتب الجواب بصيغة: المجهول لا يساوي هذه القيمة، وكل القيم الأخرى مسموحة. الخطأ الشائع أن تساوي البسط بالصفر؛ البسط يمكن أن يكون صفرًا، أما المقام فلا.
Step 3 of 8
No Square Root of a Negative (Higher)
If x is inside a square root, the inside must be 0 or more.
Worked example
- 1
— Look at what is inside the root.
- 2
— You cannot take the square root of a negative, so the inside must be 0 or more.
- 3
— Add 2x to both sides. This avoids dividing by a negative number later.
- 4
— Divide both sides by 2.
- 5
— Read it the other way round: x can be 4 or smaller.
- 6
— The question asks which values cannot be used, so give the opposite: anything above 4.
اشرحها بالعربي
إذا كان المجهول داخل جذر تربيعي، فيجب أن يكون ما تحت الجذر صفرًا أو أكثر، لأنه لا يوجد جذر تربيعي لعدد سالب. في المثال نكتب متباينة: ما تحت الجذر أكبر من أو يساوي صفرًا. ننقل حد المجهول إلى الطرف الآخر حتى لا نقسم على عدد سالب، ثم نقسم الطرفين، ونقرأ المتباينة من الجهة الأخرى. انتبه: إذا سأل السؤال عن القيم التي لا يمكن استخدامها، فاكتب العكس، أي القيم الأكبر من ذلك العدد.
Step 4 of 8
The Range (Higher)
The range asks which outputs are possible. A square is never negative.
Worked example
- 1
— A squared bracket.
- 2
— A square is never negative, so the squared bracket is 0 or more.
- 3
— The lowest value is 0. It happens when the bracket is 0, at x = −2.
- 4
— There is no top limit, because x can be as large as you like. Write the range with f(x).
Common mistake
Writing the range with x. The range is about outputs, so use f(x) or y.
اشرحها بالعربي
المدى يسأل: ما المخرجات الممكنة؟ الفكرة الأساسية أن المربع لا يكون سالبًا أبدًا. في المثال القوس المربع أكبر من أو يساوي صفرًا، وأصغر قيمة له هي الصفر، وتحدث عندما يساوي ما داخل القوس صفرًا. ولا يوجد حد أعلى لأن المجهول يمكن أن يكبر كما نشاء. الخطأ الشائع أن تكتب المدى بالمجهول؛ المدى عن المخرجات، فاكتبه باستخدام إف أو صاد.
Step 5 of 8
Range of a Shifted Square (Higher)
Exams often add a number to the square, or give it as . Write it as a squared bracket first, then read off the lowest value.
Worked example
- 1
— A squared bracket, plus 5.
- 2
— A square is never negative.
- 3
— Add 5 to both sides, so the whole function is 5 or more.
- 4
— Write the range with f(x).
Worked example
- 1
— Complete the square first, to find the lowest point.
- 2
— Half of 4 is 2, so use (x + 2)². That bracket adds an extra 4, so take 4 away.
- 3
— The domain starts at x = −2, exactly where the bracket is 0. So −4 is the lowest value.
- 4
— The values rise from −4 with no top limit.
Common mistake
Ignoring the domain. For with the lowest value is , not −4, because x never reaches −2.
اشرحها بالعربي
كثيرًا ما يضيف الامتحان عددًا إلى المربع، أو يعطي الدالة دون قوس. الطريقة: اكتبها أولًا على صورة قوس مربع، ثم اقرأ أصغر قيمة. في المثال الأول المربع لا يقل عن صفر، فإذا أضفنا العدد إلى الطرفين صارت الدالة كلها لا تقل عن هذا العدد. في المثال الثاني نكمل المربع أولًا لنجد أدنى نقطة، ونتأكد أن المجال يبدأ عندها، ثم نكتب المدى. الخطأ الشائع إهمال المجال: إذا لم يصل المجهول إلى أدنى نقطة، فأصغر قيمة تكون عند بداية المجال.
Step 6 of 8
Range from a Set of Inputs
When the domain is a short list of numbers, the range is just the list of answers.
Worked example
- 1
— Put each number of the domain in, one at a time.
- 2
— Replace x with −2. Use a bracket to keep the negative sign.
- 3
— −3 × −2 = +6, because a minus times a minus is a plus.
- 4
— Replace x with 0.
- 5
— Replace x with 3, then work out 4 − 9.
- 6
— List the outputs, smallest first. These three numbers are the whole range.
Common mistake
Writing −5 ≤ y ≤ 10. With a list of inputs only these three outputs are possible, so list them.
اشرحها بالعربي
عندما يكون المجال قائمة قصيرة من الأعداد، يكون المدى ببساطة قائمة النواتج. عوّض بكل عدد من المجال واحدًا تلو الآخر، وضع العدد السالب داخل قوس، وتذكّر أن السالب في السالب موجب. ثم رتّب النواتج من الأصغر إلى الأكبر. الخطأ الشائع أن تكتب المدى كمتباينة بين أصغر ناتج وأكبره؛ مع قائمة مدخلات لا توجد إلا هذه النواتج فقط، فاكتبها قائمة.
Step 7 of 8
Range of an Inverse (Higher)
An inverse swaps inputs and outputs. So the range of the inverse is the domain of the function.
Worked example
- 1
— The function and its domain.
- 2
— An inverse swaps inputs and outputs, so the inputs of h become the outputs of the inverse.
- 3
— The domain of h starts at −2, so every output of the inverse is −2 or more.
اشرحها بالعربي
الدالة العكسية تبادل بين المدخلات والمخرجات. لذلك مدى الدالة العكسية هو نفسه مجال الدالة الأصلية. في المثال نقرأ مجال الدالة، ثم نكتبه مدى للدالة العكسية، أي أن كل مخرجات الدالة العكسية تبدأ من بداية ذلك المجال فما فوق.
Step 8 of 8
Which Method? Read the Question
Look for a fraction, a root or a square.
| You see | You do |
| x in the bottom | bottom = 0 is left out |
| x in a square root | inside must be 0 or more |
| Range of a square | 0 or more |
| Range of an inverse | the domain of the function |
| Find f(3) or fg(x) | Composite Functions |
Key idea
Domain uses x. Range uses f(x) or y.
اشرحها بالعربي
ابحث في الدالة عن كسر أو جذر أو مربع. الجدول يلخص: إذا كان المجهول في المقام فاستبعد القيمة التي تجعل المقام صفرًا. إذا كان تحت جذر تربيعي فما تحته يجب أن يكون صفرًا أو أكثر. مدى المربع صفر أو أكثر. مدى الدالة العكسية هو مجال الدالة الأصلية. أما التعويض بعدد أو تركيب دالتين فارجع إلى درس الدوال المركبة. تذكّر: المجال يُكتب بالمجهول، والمدى يُكتب بإف أو صاد.
More real exam questions on this
Solve one in Lemmara and see where every mark goes.
- 0580/42Feb/Mar 2026 · Q158 marksGiven f(x) = 10 − 2x and g(x) = 2x² + 3, find a range, an inverse function, a composite function, and evaluate an inverse for h(x) = 10^(2/x).Solve it →
- 0580/41May/Jun 2026 · Q209 marksWork with functions f, g, h and j: evaluate, solve a composite equation, find a range from a domain, and solve with an inverse.Solve it →
- 0580/21May/Jun 2025 · Q148 marksGiven f(x) = 3x − 4 and g(x) = 4x + 1, evaluate and invert f, find the form of fg(x), and combine two fractions.Solve it →
- 0580/42May/Jun 2025 · Q196 marksUse the functions f(x) = x + 1, g(x) = 5 − 2x and h(x) = 2ˣ to evaluate, find a range, and solve for x.Solve it →
- 4024/23May/Jun 2025 · Q107 marksUse f(x) = 3x − 5 and g(x) = 2 − 6x to evaluate, solve, compose and find a range.Solve it →
- 4MA1/2HRJun 2025 · Q193 marksGiven f(x) = 3x − 4 for x > 2 and g(x) = x/(2x + 1), state an excluded x value for g and find the composite gf(x) in simplest form.Solve it →
Lemmara is an independent study tool, not affiliated with or endorsed by Cambridge International Education or Pearson Edexcel. The lessons and worked examples are Lemmara’s own.