Functions — Types aur Graphs

Constant, polynomial, logarithm, exponential, modulus — sab function types aur unke graphs

📊 Function — Definition

Function ek rule hai jo har independent variable x ki ek unique dependent variable y deta hai. f: X → Y means f X se Y mein map karta hai.

Domain = x ki valid values ka set (input) Co-domain = y ki saari possible values (declared range) Range = f(x) ki actual values ka set (always ⊆ Co-domain)

📋 Types of Functions

FunctionFormGraph ShapeExample
Constantf(x) = cHorizontal linef(x) = 5
Identityf(x) = x45° line through originf(x) = x
Linearf(x) = mx+cStraight linef(x) = 2x+3
Polynomialf(x) = aₙxⁿ+...+a₀Smooth curvef(x) = x²−3x+2
Rationalf(x) = p(x)/q(x)Curve with asymptotesf(x) = 1/x
Modulusf(x) = |x|V-shape|x| = x if x≥0, -x if x<0
Exponentialf(x) = aˣExponential growth/decayf(x) = 2ˣ, eˣ
Logarithmf(x) = log(x)Slow growth curvef(x) = log₁₀(x)
Signumsgn(x)-1, 0, or 1+1 if x>0, 0 if x=0, -1 if x<0
Greatest Integer⌊x⌋Step function⌊3.7⌋=3, ⌊-1.2⌋=-2
Composite Function
(f∘g)(x) = f(g(x)) — pehle g apply karo, phir f ka result pe
Example: f(x)=x², g(x)=x+1 → (f∘g)(x) = f(g(x)) = (x+1)²

📈 Graphical Representation

Key Graph Properties
Domain = x-axis pe jahan graph defined hai
Range = y-axis pe jo values aati hain
Vertical Line Test: Agar koi vertical line sirf 1 point pe cut kare → function hai
Horizontal Line Test: Agar sirf 1 point pe cut kare → one-one function hai
Modulus |x|: V-shape, vertex at (0,0), domain=ℝ, range=[0,∞)
Exponential eˣ: Domain=ℝ, Range=(0,∞), always increasing
ln(x): Domain=(0,∞), Range=ℝ, passes through (1,0)
1/x: Domain=ℝ\{0}, Range=ℝ\{0}, 2 branches