Meditaliano IMAT Prep

Lesson 2: Math: Functions, Logs, and Trig

Lesson 2: Functions & Logarithms

This lesson provides a deep dive into the crucial mathematical concepts of functions and logarithms. We'll start with the fundamentals of functions (definition, domain, range) and explore specific examples like linear, quadratic, cubic, absolute value, and trigonometric functions in detail. Then, we will study logarithms, their inverse relationship with exponential functions, and their properties to solve complex equations and inequalities. These tools are indispensable for modeling phenomena in science and engineering.

A Deep Dive into Functions

In mathematics, a function is like a machine. You give it an input, and it gives you back exactly one output. We usually write it as $f(x)$, which is read as "f of x".

  • $x$ is the input value.
  • $f(x)$ (or $y$) is the output value.
  • The Domain is the set of all possible input values ($x$).
  • The Range is the set of all possible output values ($f(x)$).

Example: $f(x) = x + 2$

If you input $x = 3$, the function outputs $f(3) = 3 + 2 = 5$.

If you input $x = -1$, the function outputs $f(-1) = -1 + 2 = 1$.

x Function 'f' (e.g., "square it and add 1") f(x)

A function as an input-output machine.

The crucial rule of functions is that for any single input from the domain, there must be exactly one output in the range. This is verified graphically by the Vertical Line Test.

Linear Functions: $y = mx + c$

The simplest polynomial function. The constant $m$ represents the slope, or rate of change. The constant $c$ is the y-intercept, the point $(0, c)$.

Positive Slope
Negative Slope
Zero Slope
Undefined Slope
IMAT Challenge

Challenge an IMAT Question!

Official Paper: 2018 - Q55

Which of the following is equivalent to: $$(x-y)^2 - (x+y)^2$$

Quadratic Functions: $y = ax^2 + bx + c$

The graph is a parabola. The sign of $a$ determines its orientation ($a>0$ opens up, $a<0$ opens down). The vertex is at $x = -b/(2a)$. The discriminant, $\Delta = b^2 - 4ac$, tells us the number of x-intercepts (roots).

$\Delta > 0$ (2 roots) $\Delta = 0$ (1 root) $\Delta < 0$ (no real roots)

The discriminant and number of roots (for $a>0$).

IMAT Challenge

Challenge an IMAT Question!

Official Paper: 2015 - Q54

If $x=\sqrt{2}+1$, what is the value of $x^2-2x+1$?

Cubic Functions: $y = ax^3 + bx^2 + cx + d$

Cubic functions have a characteristic "S" shape. They can have up to two turning points (a local maximum and a local minimum). The end behavior is determined by the sign of $a$: if $a>0$, the graph rises to the right and falls to the left; if $a<0$, it falls to the right and rises to the left.

Absolute Value Functions: $y = |f(x)|$

The graph of $y=|f(x)|$ is obtained by taking the graph of $y=f(x)$ and reflecting any part that is below the x-axis ($y<0$) across the x-axis.

$y=|x^2-4|$

Graph of $y=|x^2-4|$ from $y=x^2-4$.

IMAT Challenge

Challenge an IMAT Question!

Official Paper: 2011 - Q77

Which of the expressions below has the largest value for $ 0 \lt x \lt 1 $?
IMAT Challenge

Challenge an IMAT Question!

Official Paper: 2011 - Q78

How many different integers, n, are there such that the difference between $2\sqrt{n}$ and 7 is less than 1?
IMAT Challenge

Challenge an IMAT Question!

Official Paper: 2020 - Q54 (Variant)

If a and b are non-zero real numbers, and $a^2=b^2$, which statement must be true?

A Deep Dive into Logarithms

A logarithm answers the question: "What exponent do we need to raise a specific base to, to get another number?" It is the inverse operation to exponentiation.

$y = \log_b(x) \iff b^y = x$
  • Common Log: $\log(x)$ is shorthand for $\log_{10}(x)$.
  • Natural Log: $\ln(x)$ is shorthand for $\log_e(x)$, where $e \approx 2.718$.

Example:

$\log_2(8) = 3$, because $2^3 = 8$.

$\log_{10}(100) = 2$, because $10^2 = 100$.

Exponential Functions: The Foundation

Before understanding logarithms, one must understand exponential functions of the form $f(x)=a^x$. The behavior of the graph depends critically on the base $a$.

Graphs of exponential functions for a > 1 and 0 < a < 1
Graphs of exponential and logarithmic functions showing inverse relationship

Exponential and Logarithmic functions are inverses, reflected across y=x.

Key Logarithm Properties

Property Formula Example
Product Rule $\log_b(MN) = \log_b(M) + \log_b(N)$ $\log_2(16) = \log_2(2 \cdot 8) = \log_2(2) + \log_2(8) = 1 + 3 = 4$
Quotient Rule $\log_b(M/N) = \log_b(M) - \log_b(N)$ $\log_3(9) = \log_3(27 / 3) = \log_3(27) - \log_3(3) = 3 - 1 = 2$
Power Rule $\log_b(M^p) = p \cdot \log_b(M)$ $\log_{10}(1000) = \log_{10}(10^3) = 3 \cdot \log_{10}(10) = 3 \cdot 1 = 3$
Change of Base $\log_b(M) = \frac{\log_c(M)}{\log_c(b)}$ $\log_4(64) = \frac{\ln(64)}{\ln(4)} \approx \frac{4.158}{1.386} = 3$

Solving Logarithmic Inequalities

Solving these requires a careful, step-by-step process:

  1. Determine the domain: Find all values of $x$ for which the arguments of all logarithms are positive.
  2. Combine logarithms: Use log properties to combine terms into a single logarithm on one or both sides.
  3. Solve the inequality:
    • If base $a > 1$, keep the inequality sign: $\log_a f(x) > \log_a g(x) \implies f(x) > g(x)$.
    • If base $0 < a < 1$, flip the inequality sign: $\log_a f(x) > \log_a g(x) \implies f(x) < g(x)$.
  4. Find the intersection: The final solution is the intersection of the domain from step 1 and the solution from step 3.

Trigonometric Functions

Trigonometric functions (sin, cos, tan) describe the relationship between angles and side lengths in a right-angled triangle.

Adjacent (A) Opposite (O) Hypotenuse (H) θ
  • Sine (sin): $\sin(\theta) = \frac{\text{Opposite}}{\text{Hypotenuse}}$
  • Cosine (cos): $\cos(\theta) = \frac{\text{Adjacent}}{\text{Hypotenuse}}$
  • Tangent (tan): $\tan(\theta) = \frac{\text{Opposite}}{\text{Adjacent}}$

Mnemonic: SOH CAH TOA

Common Angles

Function $0^\circ$ (0 rad) $30^\circ$ ($\pi/6$) $45^\circ$ ($\pi/4$) $60^\circ$ ($\pi/3$) $90^\circ$ ($\pi/2$)
$\sin(\theta)$ $0$ $\frac{1}{2}$ $\frac{\sqrt{2}}{2}$ $\frac{\sqrt{3}}{2}$ $1$
$\cos(\theta)$ $1$ $\frac{\sqrt{3}}{2}$ $\frac{\sqrt{2}}{2}$ $\frac{1}{2}$ $0$
$\tan(\theta)$ $0$ $\frac{\sqrt{3}}{3}$ $1$ $\sqrt{3}$ Undefined

The Unit Circle

The unit circle, a circle with a radius of 1 centered at the origin (0,0), is the foundation for understanding trigonometry. For any angle $\theta$, the point $(x, y)$ where the angle's terminal side intersects the circle gives us the values:

  • $\cos(\theta) = x$ (the x-coordinate)
  • $\sin(\theta) = y$ (the y-coordinate)
  • $\tan(\theta) = \frac{y}{x}$ (the slope of the radius)
$\theta$ $y = \sin(\theta)$ $x = \cos(\theta)$ $(x, y)$ (1, 0) (0, -1) (-1, 0) (0, 1)

The Unit Circle: $\cos(\theta)$ is the x-coordinate, $\sin(\theta)$ is the y-coordinate.

The sign (positive or negative) of the functions depends on the quadrant $\theta$ is in (using the "All Students Take Calculus" mnemonic):

  • Quadrant I (0 to $\pi/2$): All positive (sin, cos, tan)
  • Quadrant II ($\pi/2$ to $\pi$): Sine positive (cos, tan negative)
  • Quadrant III ($\pi$ to $3\pi/2$): Tangent positive (sin, cos negative)
  • Quadrant IV ($3\pi/2$ to $2\pi$): Cosine positive (sin, tan negative)

Graphs of Trigonometric Functions

These functions are periodic, repeating their values in regular intervals.

$y = \sin(x)$

Graph of y=sin(x)
  • Period: $2\pi$
  • Amplitude: 1
  • Passes through (0, 0)

$y = \cos(x)$

Graph of y=cos(x)
  • Period: $2\pi$
  • Amplitude: 1
  • Passes through (0, 1)

$y = \tan(x)$

Graph of y=tan(x)
  • Period: $\pi$
  • Amplitude: Undefined
  • Asymptotes: at $x = \frac{\pi}{2} + n\pi$

Amplitude and Period Transformations

These basic graphs can be transformed. For $y = A\sin(Bx)$ or $y=A\cos(Bx)$:

  • The Amplitude is $|A|$. This stretches the graph vertically.
  • The Period is $\frac{2\pi}{|B|}$. This compresses or stretches the graph horizontally.

Inverse Functions

An inverse function, written $f^{-1}(x)$, "undoes" the action of the original function $f(x)$.

If $f(a) = b$, then $f^{-1}(b) = a$

The graph of $f^{-1}(x)$ is the reflection of the graph of $f(x)$ across the line $y = x$. For a function to have an inverse, it must be one-to-one (it must pass the Horizontal Line Test).

Example:

If $f(x) = x + 2$, its inverse is $f^{-1}(x) = x - 2$.

$f(3) = 5$. The inverse "undoes" this: $f^{-1}(5) = 3$.

The inverse of $f(x) = \log_b(x)$ is $f^{-1}(x) = b^x$.

Practice Problems

Test your understanding. Answer all questions and then click "Submit Answers" to see your score.