Mathematical Functions

FUNCTIONS - Definition: A function is a correspondence between two sets, the domain and the range, such that for each value in the domain, there corresponds exactly one value in the range. - Example representation: f:xyf: x \rightarrow y

Domain and Range of a Function - Domain: The set of inputs, e.g., inputs=p, q, r\text{inputs} = \text{\texttt{\texttt{\texttt{{\texttt{{p, q, r}}}}}}} - Range: The set of outputs, e.g., outputs=1, 2, 3\text{outputs} = \text{\texttt{\texttt{\texttt{{\texttt{{1, 2, 3}}}}}}}

TYPES OF FUNCTIONS

One-to-One Functions - A function f:xyf: x \rightarrow y is one-to-one (injective) if: - Each image y in Yy \text{ in } Y has exactly one x in Xx \text{ in } X assigned to it. - Mathematically: If f(a)=f(b)f(a) = f(b) then a=ba = b.
Example
  • Determine whether the following functions are 1:1: 1. Function: f(x)=5x+2f(x) = 5x + 2 - Let a,b in Xa, b \text{ in } X, - Then: - f(a)=5a+2f(a) = 5a + 2 - f(b)=5b+2f(b) = 5b + 2 - If f(a)=f(b)f(a) = f(b), then 5a+2=5b+25a + 2 = 5b + 2 - This leads to: - 5a=5b5a = 5b - Thus: a=ba = b - Conclusion: f(x)=5x+2f(x) = 5x + 2 is a 1:1 function.

  1. Function: f(x)=x2+3f(x) = x^2 + 3 - Let a,b in Xa, b \text{ in } X, - Then: - f(a)=a2+3f(a) = a^2 + 3 - f(b)=b2+3f(b) = b^2 + 3 - If f(a)=f(b)f(a) = f(b), then (a2+3)=(b2+3)(a^2 + 3) = (b^2 + 3) - This implies: - a2=b2a^2 = b^2 - Therefore: a=±ba = \text{±}b - Conclusion: Since a=ba = b or a=ba = -b, - f(x)=x2+3f(x) = x^2 + 3 is not a 1:1 function.

Onto Functions - Definition: A function f:xyf: x \rightarrow y is onto (surjective) if every y in Yy \text{ in } Y is the image of some x in Xx \text{ in } X. - Alternatively, f:xyf: x \rightarrow y is onto iff the range of f is the entire co-domain of f.

Composite Functions - If ff and gg are functions, the composite function denoted by fgf \circ g is given by: - (fg)(x)=f[g(x)](f \circ g)(x) = f[g(x)] - Likewise: - (gf)(x)=g[f(x)](g \circ f)(x) = g[f(x)]

Example
  • Let f(x)=x2+4f(x) = x^2 + 4 and g(x)=3x+1g(x) = \sqrt{3x} + 1, find: 1. (i) (fg)(x)(f \circ g)(x): - =f[g(x)]=f[3x+1]= f[g(x)] = f[\sqrt{3x} + 1] - =(3x+1)2+4= (\sqrt{3x} + 1)^2 + 4 - =3x+23x+1+4= 3x + 2\sqrt{3x} + 1 + 4 - =3x+23x+5= 3x + 2\sqrt{3x} + 5 1. (ii) (gf)(x)(g \circ f)(x): - =g[f(x)]=g[x2+4]= g[f(x)] = g[x^2 + 4] - =3(x2+4)+1= \sqrt{3(x^2 + 4)} + 1 - =3x2+43+1= \sqrt{3}x^2 + 4\sqrt{3} + 1 1. (iii) (ff)(x)(f \circ f)(x): - =f[f(x)]=f[x2+4]= f[f(x)] = f[x^2 + 4] - =(x2+4)2+4= (x^2 + 4)^2 + 4 - =x4+8x2+16+4= x^4 + 8x^2 + 16 + 4 - =x4+8x2+20= x^4 + 8x^2 + 20

Inverse Functions - A function can be represented by a set of ordered pairs. For example: - f(x)=x+3f(x) = x + 3 from set A=1, 2, 3, 4A = \text{\texttt{\texttt{{1, 2, 3, 4}}}} to set B=4, 5, 6, 7B = \text{\texttt{\texttt{{4, 5, 6, 7}}}} can be written as: - f = \big{(}(1, 4), (2, 5), (3, 6), (4, 7)\big{)} - To form the inverse function f1f^{-1}, interchange the first and second coordinates of each ordered pair: - f^{-1} = \big{(}(4, 1), (5, 2), (6, 3), (7, 4)\big{)} - Properties: - The domain of ff equals the range of f1f^{-1} and vice versa. - To find the inverse of a function, express it in terms of f(x)f(x). - For instance: - f(x)=3xf(x) = 3x - then x=f(x)3x = \frac{f(x)}{3} - Replace xx by f(x)f(x) and f(x)f(x) by xx.

  • Steps to find the inverse of a function: 1. Let y=f(x)y = f(x) 2. Solve for xx 3. Replace yy by xx 4. Replace xx by f1(x)f^{-1}(x)

Definition: - A function f:XYf: X \rightarrow Y has an inverse f1:YXf^{-1}: Y \rightarrow X if it is one-to-one.
Examples - Find the inverse for: 1. f(x)=x+2f(x) = x + 2: - y=x+2y = x + 2 leads to: x=y2x = y - 2 - Therefore: f1(x)=x2f^{-1}(x) = x - 2 2. f(x)=2x3+1f(x) = 2x^3 + 1: - y=2x3+1y = 2x^3 + 1 leads to: 2x3=y12x^3 = y - 1 - Thus: x3=y12x^3 = \frac{y-1}{2} - This implies: x=y123x = \sqrt[3]{\frac{y-1}{2}}; - Therefore: f1(x)=x123f^{-1}(x) = \sqrt[3]{\frac{x-1}{2}} 3. f(x)=2x3f(x) = 2x^3: - y=2x3y = 2x^3 - Then: x=y2x = \frac{y}{2} - Thus: f1(x)=x23f^{-1}(x) = \sqrt[3]{\frac{x}{2}}

Odd and Even Functions ### Definitions: - A function f(x)f(x) is said to be even if: - f(a)=f(a)f(a) = f(-a) for every aa; thus f(a)f(a)=0f(-a) - f(a) = 0. - Example: f(x)=x2f(x) = x^2 is an even function. - A function is said to be odd if: - f(a)=f(a)f(-a) = -f(a) or [f(a)+f(a)=0][f(-a) + f(a) = 0] - Example: f(x)=x3f(x) = x^3 is an odd function.

Examples: - Assess if the following functions are odd or even: 1. Function: f(x)=x5f(x) = x^5 - Since f(a)=a5f(a) = a^5 and f(a)=(a)5=a5f(-a) = (-a)^5 = -a^5 - Therefore, f(a)=f(a)f(a) = -f(-a), thus, f(x)f(x) is odd. 1. Function: f(x)=x2f(x) = x^2 - f(a)=a2f(a) = a^2 and f(a)=(a)2=a2f(-a) = (-a)^2 = a^2 - f(a)=f(a)f(-a) = f(a), thus, f(x)f(x) is even.

Linear and Quadratic Functions ### Linear Inequalities: - An inequality states a relationship between two mathematical expressions, written as follows: - Less than: < - Less than or equal to: \text{≤} Greater than: > - Greater than or equal to: \text{≥}

Example: - Solve: - 3x + 7 > x - 8 - or 5x7y ≤ 45x - 7y \text{ ≤ } 4 - etc.
Important Note: - Inequalities can be simplified similarly to equations, but remember that if multiplying both sides by -1, the inequality sign must be reversed.

Absolute Value - The absolute value of a number XX, denoted by x|x|, is defined as follows: - x={x,amp;if x0 x,amp;if xlt;0|x| = \begin{cases} x, &amp; \text{if } x \geq 0 \ -x, &amp; \text{if } x &lt; 0 \end{cases}

Example: - 3=3, and 5=5|3| = 3, \text{ and } |-5| = 5
Properties: 1. a=a|-a| = |a| 2. ab=ab|ab| = |a||b| and a+ba+b|a + b| \leq |a| + |b| (Triangle Inequality)
Equations and Inequalities with Absolute Values: - If DD is positive: - x=D iff x=D or x=D|x| = D \text{ iff } x = D \text{ or } x = -D - |x| < D \text{ iff } -D < x < D
Example Problem: - Solve: 2x+5=3|2x + 5| = 3 - Split into two cases: 1. 2x+5=32x=2x=12x + 5 = 3 \rightarrow 2x = -2 \rightarrow x = -1 2. 2x+5=32x=8x=42x + 5 = -3 \rightarrow 2x = -8 \rightarrow x = -4 The complete set of solutions is: Solution Set=-1, -4\text{Solution Set} = \text{\texttt{\texttt{\texttt{{-1, -4}}}}}

Quadratic Equations - A quadratic equation is defined as any equation that can be expressed in the form: - ax2+bx+c=0ax^2 + bx + c = 0 - where a,b,ca, b, c are real numbers, and a0a \neq 0.

Methods of Solving Quadratics: 1. Factorization Method - via Zero Product Property: - Example: To solve x2x=0x^2 - x = 0, factor to get: x(x1)=0x(x - 1) = 0 - Solutions are: x=0 or x=1x = 0 \text{ or } x = 1
Example Problem: - Solve for xx: x2x=12x^2 - x = 12, 1. Rearranging gives: x2x12=0x^2 - x - 12 = 0 2. Factorization gives: (x4)(x+3)=0(x - 4)(x + 3) = 0 3. Apply Zero Product Property to find: x=4 or x=3x = 4 \text{ or } x = -3
  1. Completing Square Method: - Example: To solve x2=16x^2 = 16, 1. Rearranging gives: x216=0x^2 - 16 = 0 2. Factoring leads to: (x4)(x+4)=0(x - 4)(x + 4) = 0 3. Find solutions: x=4 or x=4x = 4 \text{ or } x = -4

  2. Quadratic Formula: - x=b±b24ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Example Problem Using Quadratic Formula: - Solve: x26x16=0x^2 - 6x - 16 = 0 - Identify: a=1,b=6,c=16a = 1, b = -6, c = -16, - Substituting in formula: x=(6)±(6)24(1)(16)2(1)x = \frac{-(-6) \pm \sqrt{(-6)^2 - 4(1)(-16)}}{2(1)} - Simplifying gives us: x=8 or x=2x = 8 \text{ or } x = -2
Discriminant Analysis: - Depending on the discriminant (b24acb^2 - 4ac): 1. If > 0, two unequal real solutions. 2. If = 0, one unique solution. 3. If < 0, no real solutions.
Roots Outcomes: - Using roots α\alpha and β\beta from quadratic equation ax2+bx+c=0ax^2 + bx + c = 0: - Sum of Roots: α+β=ba\alpha + \beta = -\frac{b}{a} - Product of Roots: αβ=ca\alpha\beta = \frac{c}{a}
Example - Roots Evaluation: - Given roots from 5x22x+7=05x^2 - 2x + 7 = 0, - Calculate sum and product using the formulas derived.