Maths Mathematics

MathematicsUnit 38 min read

Functions and Graphs: Types, Rules, and Plotting

Unit 3 of Mathematics covers the definition of functions, their types (algebraic, trigonometric, piecewise), domain/range, transformations, and graphing techniques, with solved examples and NEB-style questions to master plotting and analysis.

TAKEAWAYS:

  • A function assigns exactly one output to each input (vertical line test).
  • Types include polynomial, rational, exponential, logarithmic, and piecewise functions.
  • Transformations (shifts, stretches, reflections) change graphs predictably.
  • Domain/range define where a function is valid and its output limits.
  • Graphing requires plotting key points, asymptotes, and intercepts.
  • NEB exams test definitions, transformations, and real-world applications.

1. What is a Function?

A function is a rule that connects inputs (domain) to outputs (range) such that each input has exactly one output. Think of it like a machine:

  • Input → Function Rule → Output.
  • Example: If , then , , etc.

Key Terms

  • Domain: All possible input values (e.g., for ).
  • Range: All possible output values (e.g., for ).
  • Vertical Line Test: If a vertical line crosses a graph more than once, it’s not a function.
0.511.522.533.54246810121416xyy = x²y = √x(1,1)(4,2)
Graphs of y = x² (parabola) and y = √x (half-parabola). Both pass the vertical line test.

2. Types of Functions

(A) Algebraic Functions

  1. Polynomial Functions

    • Form: .
    • Example: (cubic function).
    • Graph: Smooth curves (no breaks or sharp turns).
  2. Rational Functions

    • Form: (ratio of polynomials).
    • Example: .
    • Graph: Has vertical asymptotes (where denominator = 0) and horizontal asymptotes (behavior as ).
-5-4-3-2-112345-20-101020xyy = 1/(x−2)Vertical asymptote(0,−0.5)
Rational function y = 1/(x−2) with vertical asymptote at x = 2.
  1. Piecewise Functions
    • Defined by different rules for different intervals.
    • Example:
    • Graph: Looks like "broken" pieces.
-2-1.5-1-0.50.511.52-11234xyy = x+1y = x²(−1,0)(1,1)
Piecewise function: linear for x < 0, quadratic for x ≥ 0.

(B) Trigonometric Functions

  • Sine, Cosine, Tangent: Defined using the unit circle.
    • .
    • .
    • .
  • Graphs: Repeating waves (periodic) with amplitude and period.

(C) Exponential and Logarithmic Functions

  1. Exponential: (e.g., ).

    • Graph: Always increasing if , always decreasing if .
    • Asymptote: (x-axis).
  2. Logarithmic: (inverse of exponential).

    • Graph: Defined only for , passes through .
    • Asymptote: (y-axis).
0.511.522.533.54246810121416xyy = 2^x(1,0)(2,1)
Exponential (y = 2^x) and logarithmic (y = log₂x) functions.

3. Domain and Range

Function Type Domain Range
Polynomial All real numbers () All real numbers ()
Rational ()
Square Root ()
Exponential () All real numbers ()
Logarithmic () All real numbers ()

Example: Find the domain and range of .

  • Domain: → → .
  • Range: and max at : . → .

4. Transformations of Functions

Graphs can be shifted, stretched, or reflected using transformations:

Transformation Effect on Graph Example
Shift up by units (up 3)
Shift down by units (down 2)
Shift left by units (left 1)
Shift right by units (right 2)
Vertical stretch () or compress () (stretch)
Horizontal compress () or stretch () (compress)
Reflect over x-axis
Reflect over y-axis (no change for even functions)

Example: Sketch if .

  1. Start with (parabola).
  2. Shift left by 2: .
  3. Shift down by 3: .
-4-3-2-11251015xyOriginal: y = x²Transformed: y = (x+2)²−3Vertex: (−2,−3)
Original parabola shifted left 2 and down 3.

5. Graphing Techniques

To graph a function like :

  1. Simplify: but (hole at ).
  2. Find intercepts:
    • x-intercept: Set → .
    • y-intercept: Set → .
  3. Asymptotes:
    • Vertical: (denominator zero).
    • Horizontal: As , (no horizontal asymptote).
  4. Plot points: , , .
-2-1.5-1-0.50.511.52-1-0.50.511.522.53xyy = (x²−1)/(x−1)(−1,0)(0,1)Hole at x=1
Graph with hole at x=1 and x-intercept at (−1,0).

6. Applications of Functions

  1. Physics: (distance vs. time).
  2. Economics: (price vs. quantity).
  3. Biology: (population growth).

Example: A ball’s height (in meters).

  • Find height at second: m.
  • Find when it hits the ground (): → → or seconds.

Exam Tip

  1. Definitions: Know what a function, domain, and range are.
  2. Graphing: Always find intercepts, asymptotes, and key points.
  3. Transformations: Practice shifting/stretching graphs.
  4. Piecewise Functions: Check each interval separately.
  5. NEB Questions:
    • Sketch graphs of given functions.
    • Find domain/range from equations.
    • Apply transformations to match graphs.
    • Solve real-world problems using functions.

NEB-Style Questions

Short Answer

  1. Define a piecewise function with an example.
  2. What is the domain of ?
  3. Sketch and describe its transformations from .

Long Answer

  1. Given :

    • Simplify and state the domain.
    • Sketch its graph.
    • Find and .
  2. A function is defined as:

    • Find and .
    • Sketch the graph.
    • Determine if is continuous at .

Graph Matching

  1. Match the following functions to their graphs (A, B, C, D):

Note: Practice graphing at least 5 functions daily. Use graph paper or online tools like Desmos to visualize transformations!

Based on the NEB +2 Science syllabus for Mathematics (Maths), unit 3.

Discussion

Loading…