A.1 Precalculus: Functions and Trigonometry

Overall Progress

1.1 Definition and Concepts of Functions

1. Introduction

Functions are fundamental concepts in mathematics and science, serving as the building blocks for modeling relationships between variables. They play a crucial role in various fields, from physics and engineering to economics and data science [Stewart, 2015].

2. Definition of a Function

A function ff from a set AA to a set BB is a rule that assigns to each element xx in AA exactly one element yy in BB. We write this as:

f:ABf: A \to B

Here, AA is called the domain of the function, and BB is called the codomain. The set of all outputs yy is called the range of the function, which is a subset of the codomain [Spivak, 1994].

3. Key Concepts

  • Input and Output: The input of a function is often denoted as xx, while the output is denoted as yy or f(x)f(x).
  • Notation: Functions are often written in the form y=f(x)y = f(x), where ff is the name of the function.
  • Graph: The graph of a function is the set of all points (x,y)(x, y) in the Cartesian plane such that y=f(x)y = f(x).
  • One-to-One (Injective): A function is one-to-one if each element in the codomain is paired with at most one element in the domain.
  • Onto (Surjective): A function is onto if every element in the codomain is paired with at least one element in the domain.
  • Bijective: A function that is both one-to-one and onto.

4. Types of Functions

  • Linear Functions: Of the form f(x)=mx+bf(x) = mx + b, where mm is the slope and bb is the y-intercept.
  • Quadratic Functions: Of the form f(x)=ax2+bx+cf(x) = ax^2 + bx + c, where a0a \neq 0.
  • Exponential Functions: Of the form f(x)=axf(x) = a^x, where a>0a > 0 and a1a \neq 1.
  • Logarithmic Functions: The inverse of exponential functions, of the form f(x)=loga(x)f(x) = \log_a(x).
  • Trigonometric Functions: Such as sine, cosine, and tangent.

5. Interactive Example: Linear Function

Let's explore a linear function of the form f(x)=ax+bf(x) = ax + b. Use the sliders to adjust the values of aa (slope) and bb (y-intercept) and observe how the graph changes.

Slope (a): 1

Y-intercept (b): 0

6. Real-World Application: Ohm's Law

Ohm's Law is a fundamental principle in electrical engineering that describes the relationship between voltage (V), current (I), and resistance (R) in an electrical circuit. It can be expressed as a linear function:

V=IRV = IR

Where:

  • VV is the voltage across the conductor (measured in volts, V)
  • II is the current through the conductor (measured in amperes, A)
  • RR is the resistance of the conductor (measured in ohms, Ω)

This linear function demonstrates how the concepts we've discussed apply in a practical engineering context:

  • Domain: The current II (typically non-negative real numbers)
  • Codomain: The voltage VV (all real numbers)
  • Slope: The resistance RR (determines how quickly voltage increases with current)
  • Y-intercept: In this case, it's 0, as no current means no voltage drop

7. Function Composition

Function composition is the process of combining two or more functions to create a new function. If ff and gg are two functions, their composition is denoted as (fg)(x)(f \circ g)(x) or f(g(x))f(g(x)), which means "apply g first, then apply f to the result" [Stewart, 2015].

Mathematically, this is expressed as:

(fg)(x)=f(g(x))(f \circ g)(x) = f(g(x))

For example, if f(x)=x2f(x) = x^2 and g(x)=x+1g(x) = x + 1, then:

(fg)(x)=f(g(x))=f(x+1)=(x+1)2(f \circ g)(x) = f(g(x)) = f(x + 1) = (x + 1)^2

8. Conclusion

Functions are powerful mathematical tools that allow us to model relationships between variables, make predictions, and solve complex problems across various scientific and engineering disciplines. From the simple linear functions we explored interactively to more complex compositions, functions provide a language for describing and analyzing the world around us [Stewart, 2015; Boas, 2006; Spivak, 1994].

As you continue your studies, you'll encounter more advanced function concepts, such as limits, derivatives, and integrals, which form the foundation of calculus and higher mathematics. These tools will enable you to tackle even more complex problems in science, engineering, and beyond.