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.
Learning Objective (LO M2.1):
Manipulate logarithmic expressions and solve exponential/logarithmic equations and inequalities.
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$.
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)$.
Challenge an IMAT Question!
Official Paper: 2018 - Q55
worked solution & explanation
Concept Difference of squares $A^2 - B^2 = (A-B)(A+B)$ or direct expansion.
Step 1 Expand: $(x^2 - 2xy + y^2) - (x^2 + 2xy + y^2)$.
Step 2 Subtract: $x^2 - 2xy + y^2 - x^2 - 2xy - y^2 = -4xy$.
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).
The discriminant and number of roots (for $a>0$).
Challenge an IMAT Question!
Official Paper: 2015 - Q54
worked solution & explanation
Notice Rather than plugging $x$ in immediately, simplify the polynomial first.
Step 1 Factorize: $x^2 - 2x + 1 = (x-1)^2$.
Step 2 Substitute $x$: $(\sqrt{2} + 1 - 1)^2 = (\sqrt{2})^2 = 2$.
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.
Graph of $y=|x^2-4|$ from $y=x^2-4$.
Challenge an IMAT Question!
Official Paper: 2011 - Q77
worked solution & explanation
Notice Rather than algebraic proofs, plugging in a simple number is much faster.
Step 1 Choose $x = 1/4$ (easy to root and square) within range $(0, 1)$.
Step 2 Evaluate options: A: $(1/4)^2 = 1/16$. B: $1 / (1/4) = 4$. C: $1 / (5/4) = 0.8$. D: $1 / (1/2) = 2$. E: $1/2 = 0.5$.
Challenge an IMAT Question!
Official Paper: 2011 - Q78
worked solution & explanation
Step 1 Translate words to math: $|2\sqrt{n} - 7| \lt 1$.
Step 2 Remove absolute bounds: $-1 \lt 2\sqrt{n} - 7 \lt 1 \implies 6 \lt 2\sqrt{n} \lt 8$.
Step 3 Divide by 2: $3 \lt \sqrt{n} \lt 4$.
Step 4 Square all sides: $9 \lt n \lt 16$. Integers satisfying this: 10, 11, 12, 13, 14, 15 (Total 6).
Challenge an IMAT Question!
Official Paper: 2020 - Q54 (Variant)
worked solution & explanation
Step 1 Take the square root of both sides. By definition, $\sqrt{x^2} = |x|$.
Step 2 Therefore, $\sqrt{a^2} = \sqrt{b^2} \implies |a| = |b|$. This accounts for both $a=b$ and $a=-b$.
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.
- 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$.
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:
- Determine the domain: Find all values of $x$ for which the arguments of all logarithms are positive.
- Combine logarithms: Use log properties to combine terms into a single logarithm on one or both sides.
- 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)$.
- 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.
- 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)
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)$
- Period: $2\pi$
- Amplitude: 1
- Passes through (0, 0)
$y = \cos(x)$
- Period: $2\pi$
- Amplitude: 1
- Passes through (0, 1)
$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)$.
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.