top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S3-SA5-0001

What is a Function?

Grade Level:

Class 9

AI/ML, Data Science, Physics, Economics, Cryptography, Computer Science, Engineering

Definition
What is it?

A function is like a special machine that takes an input, does something to it, and gives exactly one output. In maths, it's a rule that assigns each input value to exactly one output value.

Simple Example
Quick Example

Imagine you go to a chai stall. The price you pay (output) depends on the number of cups of chai you buy (input). If 1 cup costs ₹10, then 2 cups will cost ₹20, and 3 cups will cost ₹30. For each number of cups, there is only one total price you pay. This relationship is a function.

Worked Example
Step-by-Step

Let's say a function is defined as "double the input and then add 5". We can write this as f(x) = 2x + 5.

Step 1: Find the output when the input (x) is 3.
---Step 2: Substitute x = 3 into the function: f(3) = 2(3) + 5.
---Step 3: Multiply 2 by 3: f(3) = 6 + 5.
---Step 4: Add 6 and 5: f(3) = 11.
---So, when the input is 3, the output is 11.

Why It Matters

Functions are super important for understanding how things change and relate to each other. They are used by engineers to design bridges, by data scientists to predict trends in stock markets, and by AI specialists to teach computers to recognize faces. Learning functions helps you think logically and solve complex problems in many exciting careers.

Common Mistakes

MISTAKE: Thinking one input can give multiple outputs (e.g., if you put 5 into a machine, sometimes you get 10, sometimes 12). | CORRECTION: For a relationship to be a function, each input must always produce exactly one unique output. It's a reliable machine!

MISTAKE: Confusing the input (domain) with the output (range). | CORRECTION: The input is what you put into the function, usually 'x'. The output is what you get out, usually 'y' or 'f(x)'. Think of a juice machine: fruits are input, juice is output.

MISTAKE: Not understanding that different inputs can sometimes give the same output. | CORRECTION: It's okay if f(2) = 4 and f(-2) = 4 (like in f(x) = x^2). What's NOT okay is f(2) = 4 AND f(2) = 5. Each input must have only one output.

Practice Questions
Try It Yourself

QUESTION: If a function is defined as f(x) = x + 7, what is the output when the input is 5? | ANSWER: 12

QUESTION: A function g(x) triples the input and then subtracts 4. Write this function as an equation and find g(10). | ANSWER: g(x) = 3x - 4; g(10) = 26

QUESTION: For the function h(x) = x^2 - 1, find h(-3) and h(3). Are the outputs the same? Why or why not? | ANSWER: h(-3) = 8, h(3) = 8. Yes, the outputs are the same because squaring a negative number gives a positive result, just like squaring a positive number.

MCQ
Quick Quiz

Which of the following describes a function?

Each input has at least one output.

Each input has exactly one output.

Each output has exactly one input.

Some inputs have no output.

The Correct Answer Is:

B

Option B is correct because the defining characteristic of a function is that every input maps to exactly one unique output. Options A and D allow for multiple or no outputs, which is not a function. Option C describes an 'inverse function' but not a general function.

Real World Connection
In the Real World

When you use a food delivery app like Swiggy or Zomato, the total bill (output) is a function of the food items you order and their prices (input). The app calculates this instantly. Also, in cricket, a player's total runs (output) is a function of the number of boundaries and singles they hit (input).

Key Vocabulary
Key Terms

INPUT: The value you put into a function, usually 'x' | OUTPUT: The value you get out of a function, usually 'y' or 'f(x)' | DOMAIN: The set of all possible input values for a function | RANGE: The set of all possible output values for a function | RELATIONSHIP: How one quantity depends on another.

What's Next
What to Learn Next

Now that you understand what a function is, you're ready to explore different types of functions like linear functions and quadratic functions. You'll learn how to draw their graphs and see how they look visually, building on this foundational knowledge.

bottom of page