Functions and Domains


Functions and Domains

Maria
So Michael, today we're tackling functions and all the cool stuff that comes with them. Let's start simple: a function is like a machine that takes an input and gives exactly one output. For example, the 'biological mother' function: each person has exactly one biological mother, so that's a function. But if we tried 'mother' in general, some people have multiple, so it wouldn't be a function.

Michael
Got it. So functions are all about uniqueness. And we usually write them as equations, like y = x² + 1, or with function notation: f(x) = x² + 1. When we evaluate f(2), we plug in 2 to get 5. And for more complex expressions like a+3, we substitute carefully with parentheses.

Maria
Exactly. And we can also represent functions graphically. The vertical line test tells us if a graph is a function: if any vertical line hits the graph more than once, it's not a function. Graphs also help us find domain and range. For the graph shown, the domain is all x from -8 to 4, and the range is y from -5 to 3.

Michael
For equations, we find domain algebraically by excluding values that make denominators zero or make even roots negative. For example, f(x) = 1/(x² - 4x + 3) excludes x = 1 and x = 3. And for g(x) = √(3 - 2x), we need 3 - 2x ≥ 0, so x ≤ 1.5.

Maria
Right. Now let's talk about how functions behave. Increasing functions go up as x increases, decreasing go down. We describe intervals using x-values. For example, a graph might be decreasing on (-4, -2) and (4, 7), and increasing on (-2, 1).

Michael
And then there are maximums and minimums. An absolute maximum is the highest y-value overall, while local maxima are high points in a neighborhood. Similarly for minima. In the example, there's a local max at about (2.7, 3.3) and a local min at (2, 2).

Maria
Symmetry is another feature. Even functions are symmetric about the y-axis, meaning f(-x) = f(x). Odd functions are symmetric about the origin, meaning f(-x) = -f(x). For instance, f(x) = x² is even, and f(x) = x³ is odd.

Michael
We also have a set of 'toolkit' functions: y = x, y = x², y = x³, y = √x, y = |x|, y = 2^x, y = 1/x, and y = 1/x². Memorizing their shapes helps us sketch transformations quickly.

Maria
Transformations! Adding or subtracting on the outside shifts the graph vertically; on the inside, it shifts horizontally but in the opposite direction. Multiplying stretches or shrinks, and negatives cause reflections. For example, y = √(x - 2) shifts right by 2, while y = √x - 2 shifts down by 2.

Michael
Piecewise functions are defined by different rules for different x-intervals. To graph them, we draw each piece and use open or closed circles at boundaries. They may have discontinuities at the border, or be continuous if the pieces line up.

Maria
Now, inverse functions undo what the original function does. For a function f, the inverse f⁻¹ satisfies f⁻¹(f(x)) = x and f(f⁻¹(x)) = x. Graphically, inverses are reflections over y = x. A function has an inverse only if it's one-to-one, passing the horizontal line test.

Michael
We also need angles. They can be measured in degrees or radians. π radians = 180°. For example, 135° in radians is (135π)/180 = 3π/4. And we have degrees-minutes-seconds: 32°17'25" converts to 32.2903°.

Maria
Arc length of a circle is s = rθ, where θ is in radians. Sector area is A = (1/2)r²θ. For a pool with radius 8 m and angle 2.5 rad, arc length is 20 m. For a sector of radius 10 m and angle π/6 rad, area is about 26.18 m².

Michael
Linear speed v = ωr, where ω is angular speed. A Ferris wheel of radius 20 m making 1 revolution per 2 minutes has angular speed π rad/min and linear speed 20π m/min.

Maria
Trig functions in right triangles: SOH CAH TOA. Sine = opposite/hypotenuse, Cosine = adjacent/hypotenuse, Tangent = opposite/adjacent. Reciprocal functions: secant = 1/cos, cosecant = 1/sin, cotangent = 1/tan.

Michael
Special angles: 30°, 45°, 60°. Their sine and cosine values are key: sin30=1/2, cos30=√3/2; sin45=√2/2, cos45=√2/2; sin60=√3/2, cos60=1/2. These come from triangles.

Maria
The unit circle extends trig to any angle. For an angle θ, the point on the unit circle has coordinates (cosθ, sinθ). Tangent is sinθ/cosθ. Properties: periodic with period 2π, even/odd, and Pythagorean identity cos²θ + sin²θ = 1.

Michael
Graphs of sine and cosine have midline y=0, amplitude 1, period 2π. They can be transformed: y = a sin(bx - c) + d has amplitude |a|, period 2π/|b|, phase shift c/b, vertical shift d.

Maria
Tangent, secant, cotangent, and cosecant have their own graphs with asymptotes. Tangent has period π, secant and cosecant have period 2π. Their transformations follow similar rules.

Michael
Inverse trig functions: arcsin, arccos, arctan. They return angles for given numbers. For arcsin, the range is [-π/2, π/2]; for arccos, [0, π]; for arctan, (-π/2, π/2). Be careful: sin⁻¹x is not 1/sinx.

Maria
Solving trig equations: If the value is special, use the unit circle to find angles in [0, 2π) and add 2πk for all solutions. If not, use inverse trig and adjust using symmetry. For example, cos t = 1/3 gives t ≈ 1.2310 and 5.0522 radians.

Michael
Trig identities are equations true for all variables. The Pythagorean identities: sin²θ + cos²θ = 1, tan²θ + 1 = sec²θ, cot²θ + 1 = csc²θ. Others: sum/difference, double-angle, half-angle formulas.

Maria
For non-right triangles, we have Law of Cosines: c² = a² + b² - 2ab cos C, and Law of Sines: sin A/a = sin B/b = sin C/c. They let us find missing sides and angles, but watch for the ambiguous case in SSA.

Michael
Conic sections! Parabolas: set of points equidistant from a focus and directrix. Equations: (x-h)² = 4p(y-k) or (y-k)² = 4p(x-h). p is the distance from vertex to focus. Ellipses: sum of distances to two foci is constant. Equation: (x-h)²/a² + (y-k)²/b² = 1, with a > b, c² = a² - b².

Maria
Hyperbolas: difference of distances to two foci is constant. Equations: (x-h)²/a² - (y-k)²/b² = 1 (horizontal) or (y-k)²/a² - (x-h)²/b² = 1 (vertical). Asymptotes have slopes ±b/a or ±a/b. c² = a² + b².

Michael
Polar coordinates use (r, θ) instead of (x,y). Conversion: x = r cosθ, y = r sinθ, r² = x² + y², tanθ = y/x. For example, (5, -π/6) in polar becomes (5√3/2, -5/2) in Cartesian.

Maria
Parametric equations describe curves with a parameter t. For example, x = cos t, y = sin t gives a circle. We can parameterize a circle of radius R centered at (h,k) as x = h + R cos t, y = k + R sin t.

Michael
Finally, the difference quotient (f(x+h)-f(x))/h gives the average rate of change, or slope of the secant line. For f(x)=2x² - x + 3, we simplified it to 4x + 2h - 1. This is a foundation for calculus.

Maria
Wow, we covered a lot! From basic function concepts to trig, conics, and beyond. Hopefully, this gives you a solid overview. There's so much more to explore, but this is a great start.

Ask anything
We've read this whole study set, so questions about it get the best answers.