2.2.1 · HinglishFunctions

Concept of a function — input, output, mapping

1,880 words9 min readRead in English

2.2.1 · Maths › Functions

Functions kyun matter karte hain: Ye mathematics mein relationships ki language hain. Temperature time pe depend karta hai, distance speed pe depend karti hai, profit sales pe depend karta hai — sab functions hain. Is concept ke bina, hum universe ko model nahi kar sakte.

What IS a Function? (Precise Definition)

Hum likhte hain: ya

  • Domain (): Saare possible inputs ka set (jo tum daalne ke allowed ho)
  • Codomain (): Woh set jahan outputs rehte hain ("target" set)
  • Range: Actually produce hue outputs ka set (codomain ka subset)
  • Image of : Output jab hum input karte hain

"Exactly one" kyun? Agar dono 5 aur 7 ho sakta, toh hum kuch bhi predict nahi kar sakte. Mathematics ko determinism chahiye. Ye rule functions ko well-defined banata hai.

Figure — Concept of a function — input, output, mapping

How Does Mapping Work? The Rule

Ek function fundamentally ek mapping ya correspondence hota hai.

Teen Parts:

  1. Input set (Domain): Jahan se hum choose karte hain
  2. Rule: Operation jo ko transform karta hai
  3. Output set (Codomain/Range): Jahan land karta hai

Padho aise: "f ek function hai real numbers se real numbers tak, jo rule se define hota hai"

  • function ka naam hai
  • domain aur codomain specify karta hai
  • independent variable hai (input)
  • dependent variable hai (output)
  • rule ya formula hai

Ye notation kyun? Ye function (machine) ko uske inputs se alag karta hai. aur alag hain: poora process hai, usse pe apply karne ka result hai.

Derivation: "Exactly One Output" Kyun?

Isko scratch se build karte hain. Maano hamare paas do sets hain aur .

Attempt 1 — Kya ye ek function hai?

Check: Har input (1, 2, 3) ka exactly ek output hai. ✓ Ye function HAI.

Attempt 2 — Kya ye ek function hai?

Check: Input 2 dono 5 AUR 7 pe map karta hai. ✗ Ye function NAHI hai (ye ek relation hai, lekin function nahi).

Ye kyun matter karta hai? Agar hum likhein, toh humein ek single jawab chahiye. Ambiguity computation ko tod deti hai.

Attempt 3 — Kya ye ek function hai?

Check: Input 2 ka koi output nahi hai. ✗ Function NAHI — domain poori tarah covered honi chahiye.

Derivation: Ek vertical line alag-alag values ke liye saare points represent karti hai. Agar woh do baar cross kare, maano aur pe, toh input do outputs produce karta hai — definition violate hoti hai.

Worked Examples — Intuition Banana

Specific values compute karo:

  • — Input 3, output 9
  • — Input -2, output 4
  • — Input 0, output 0

Key observations:

  • Domain: Saare real numbers (koi bhi kaam karta hai)
  • Codomain: Saare real numbers (definition mein stated hai)
  • Range: — outputs kabhi negative nahi hote (kyun? Square hamesha ≥0 hota hai)

Ye step kyun? Humne square kiya kyunki woh rule hai. Notice karo value mein nahi, lekin alag inputs same output de sakte hain. Ye allowed hai! Jo forbidden hai woh hai ek input multiple outputs dena.

The rule:

Compute:

  • (kyunki hai, top branch use karo)
  • (kyunki hai, bottom branch use karo)

Piecewise kyun? Kuch functions ko alag inputs ke liye alag rules chahiye hote hain. Phir bhi ek input per ek output! ke liye, hum doosra rule use karte hain (dono nahi), exactly 5 milta hai.

Test: pe, solve karo .

Input do outputs produce karta hai: aur . ✗ Function nahi.

Fix kaise karein? Top half tak restrict karo: (single-valued). Ab ye ek function hai.

Common Mistakes — Galat Ideas Ko Steel-Manning Karna

Kyun sahi lagta hai: symbol algebra mein aata hai (quadratic formula), toh natural lagta hai.

Fix: Functions ko determinism chahiye. Agar dono roots chahiye, do functions define karo: aur , ya ek set return karo (lekin woh ek alag type ka object hai, standard real function nahi).

Kyun sahi lagta hai: Zyaadatar early examples formulas hote hain.

Fix: Functions define ho sakte hain:

  • Formulas se:
  • Tables se:
  • Graphs se: Ek plotted curve
  • Words se: "Nearest integer tak round karo"
  • Algorithms se: Computer code

Essence hai input-output pairing, representation nahi.

Kyun sahi lagta hai: Hum dekhte hain outputs hain aur dono mix ho jaate hain.

Fix:

  • Domain = inputs jo tum daalo
  • Range = outputs jo tum pao

ke liye: Domain (kisi bhi real ko square kar sakte ho), Range (squares non-negative hote hain).

Active Recall Practice

Recall Feynman Explanation (12-Saal Ke Bacche Ko Explain Karo)

Imagine karo tumhare paas ek magic box hai. Tum top se ek number daalo, aur ek number bottom se nikalta hai. Rule ye hai: same number daalo, hamesha same number niklega. Aaj 3 daalo, 9 milega. Kal 3 daalo, phir bhi 9 milega — box kabhi apna mann nahi badalta.

Wahi function hai! Jo numbers tum daal sakte ho woh "domain" hai (jaise, tum basketball nahi daal sakte, sirf woh numbers jo box accept karta hai). Jo numbers nikal sakte hain woh "codomain" mein hain. Jo numbers ACTUALLY nikalte hain woh "range" hai.

Hum kyun care karte hain? Kyunki duniya mein sab kuch aise hi kaam karta hai: time jaata hai, temperature aata hai. Paisa jaata hai, saamaan aata hai. Functions humein patterns predict aur samajhne dete hain.

Ya: "Function = Faithful Delivery" — mail service analogy. Address (input) → Package (output). Ek address do alag packages same label ke saath receive nahi kar sakta.

Connections to Other Concepts

  • Domain and Range: Natural next step — unhe kaise find karein
  • Types of Functions: One-one, onto, bijective classifications
  • Inverse Functions: Ek function ko reverse kab kar sakte hain?
  • Composition of Functions: Functions ko chain karna
  • Relations: Functions special relations hain (single-valued)
  • Graphs of Functions: Mappings ki visual representation
  • Real-world Applications: Physics laws, economics, computer science

#flashcards/maths

What is a function? :: Ek rule jo har input ko exactly ek output assign karta hai. Likha jaata hai jahan domain hai, codomain hai.

What does "exactly one output" mean?
Har input ke liye domain mein, ek aur sirf ek value hoti hai. Koi bhi input multiple outputs produce nahi kar sakta.
Distinguish: Domain vs Codomain vs Range
Domain = saare possible inputs. Codomain = woh set jahan outputs rehte hain (target set). Range = actually produce hue outputs (codomain ka subset).
Vertical Line Test
Ek graph ek function represent karta hai iff har vertical line usse zyada se zyada ek baar intersect kare. Agar do baar, toh ek input ke do outputs hain → function nahi.
Why can different inputs give the same output?
Rule sirf ek input ko multiple outputs dene se rokta hai. Many-to-one allowed hai (jaise, for ).

Give a relation that is NOT a function :: Circle . pe, (do outputs). Koi bhi relation jahan multiple values pe map kare.

Can a function be defined without a formula?
Haan. Functions tables, graphs, verbal rules, ya algorithms ho sakte hain. Formula sirf ek representation hai.
What is ?
Woh output (ya image) jab input function se process hota hai. Ye dependent variable hai.
Why is the notation important?
Ye function (machine ) ko uski action () se alag karta hai. Domain aur codomain pehle se specify karta hai.

Concept Map

assigns each x

ensures

takes inputs from

outputs live in

subset of

transforms x into fx

feeds into

describes

written as

graphical check for

Function f

Domain A - inputs

Codomain B - target

Range - actual outputs

Rule fx

Exactly one output

Well-defined

Mapping / correspondence

Vertical Line Test

Notation f:A to B