MATH103 for Engineering: Lecture #3 Summary
[cite_start]This lecture continues Chapter 1 of MATH103 for Engineering, focusing on the various types of functions and techniques for sketching their graphs, including shifts, reflections, and scaling. [cite: 1]
Chapter 1: Basics: Types of functions
Shift Formulas: Shifting Functions
Vertical Shifts
[cite_start]- For $y=f(x)+k$: Shifts the graph of $f$ up $k$ units if $k>0$. [cite: 1]
[cite_start]- Shifts it down $|k|$ units if $k<0$. [cite: 1]
Example: Vertical Shift
Consider the basic function $y=x^2$.
- $y=x^2+1$ shifts the graph of $y=x^2$ up by 1 unit.
- [cite_start]$y=x^2-2$ shifts the graph of $y=x^2$ down by 2 units. [cite: 1]
Horizontal Shifts
[cite_start]- For $y=f(x+h)$: Shifts the graph of $f$ left $h$ units if $h>0$. [cite: 1]
[cite_start]- Shifts it right $|h|$ units if $h<0$. [cite: 1]
Example: Horizontal Shift
Consider the basic function $y=x^2$.
- $y=(x+3)^2$ shifts the graph of $y=x^2$ to the left by 3 units.
- [cite_start]$y=(x-2)^2$ shifts the graph of $y=x^2$ to the right by 2 units. [cite: 2]
Curve Sketching: Very Important Steps
[cite_start]To sketch the graph of a transformed function, follow these steps: [cite: 3]
[cite_start]- Sketch the graph of the basic function. [cite: 3]
[cite_start]- Reflect it around the y-axis, if needed. [cite: 4]
[cite_start]- Make horizontal shifts "right or left", if needed. [cite: 4]
[cite_start]- Reflect it around the x-axis, if needed. [cite: 5]
[cite_start]- Make vertical shifts "up or down", if needed. [cite: 5]
[cite_start]Note: It is generally better to proceed by first reflecting, then shifting. [cite: 6]
Examples:
Sketch a) $f(x)=-\sqrt{2x+4}-3$
[cite_start]This can be rewritten as $f(x)=-\sqrt{2(x+2)}-3$. [cite: 6]
[cite_start]- Basic function: $y=\sqrt{x}$. [cite: 6]
[cite_start]- Step 1: Reflection across the X-axis: Apply the negative sign outside the square root, $y=-\sqrt{x}$. [cite: 6]
- Step 2: Horizontal Shift (due to $x+2$): Shift left by 2 units. This results from $x+2$, so for the general form $f(x+h)$, here $h=2 > 0$ means a left shift. [cite_start]This implies a transformation from $\sqrt{2x}$ to $\sqrt{2(x+2)}$. [cite: 6]
[cite_start]- Step 3: Vertical Shift (due to $-3$): Shift down by 3 units. [cite: 6]
Sketch b) $f(x)=-3x^{2}+6x-1$
[cite_start]First, complete the square to get $f(x)=-3(x-1)^{2}+2$. [cite: 6]
[cite_start]- Basic function: $y=x^2$. [cite: 7]
- Step 1: Reflection across the x-axis and Vertical Stretch: Apply the $-3$ factor, $y=-3x^2$. [cite_start]The negative sign reflects across the x-axis, and the '3' causes a vertical stretch. [cite: 6]
[cite_start]- Step 2: Horizontal Shift (due to $x-1$): Shift right by 1 unit. [cite: 7]
[cite_start]- Step 3: Vertical Shift (due to $+2$): Shift up by 2 units. [cite: 7]
Scaling and Reflecting Functions
[cite_start]Vertical and Horizontal Scaling and Reflecting Formulas: [cite: 7]
| Transformation |
Effect |
Condition |
| $y=cf(x)$ |
Stretches the graph of $f$ vertically by a factor of $c$. |
[cite_start]For $c>1$ [cite: 7] |
| $y=\frac{1}{c}f(x)$ |
Compresses the graph of $f$ vertically by a factor of $c$. |
[cite_start]For $c>1$ [cite: 7] |
| $y=f(cx)$ |
Compresses the graph of $f$ horizontally by a factor of $c$. |
[cite_start]For $c>1$ [cite: 7] |
| $y=f(x/c)$ |
Stretches the graph of $f$ horizontally by a factor of $c$. |
[cite_start]For $c>1$ [cite: 7] |
| $y=-f(x)$ |
Reflects the graph of $f$ across the x-axis. |
[cite_start]For $c=-1$ [cite: 8] |
| $y=f(-x)$ |
Reflects the graph of $f$ across the y-axis. |
[cite_start]For $c=-1$ [cite: 9] |
Example: Vertical Scaling
For $y=\sqrt{x}$:
- $y=3\sqrt{x}$ shows vertical stretching.
- [cite_start]$y=\frac{1}{3}\sqrt{x}$ shows vertical compression. [cite: 9]
Example: Horizontal Scaling
For $y=\sqrt{x}$:
- $y=\sqrt{3x}$ shows horizontal compression.
- [cite_start]$y=\sqrt{x/3}$ shows horizontal stretching. [cite: 9]
[cite_start]We continue what we started on Lecture 2: "Some types of functions" [cite: 9]
[cite_start]Types of Functions: [cite: 10]
[cite_start]- Polynomials. [cite: 10]
[cite_start]- Square root function "radicals". [cite: 10]
[cite_start]- Rational function. [cite: 10]
[cite_start]- Absolute value function "Modulus". [cite: 10]
[cite_start]- Exponential function. [cite: 10]
[cite_start]- Logarithmic function. [cite: 10]
[cite_start]- Trigonometric functions. [cite: 11]
[cite_start]- Hyperbolic functions. [cite: 11]
3. Rational function
[cite_start]Definition: The quotient of two polynomials is called a rational function $f(x) = \frac{P(x)}{Q(x)}$, where $P(x)$ and $Q(x)$ are polynomials. [cite: 11]
The domain of the rational function is $\mathbb{R} - \{x | [cite_start]Q(x)=0\}$ (all real numbers except where the denominator is zero). [cite: 12]
[cite_start]Example: The domain of the rational function $f(x)=\frac{3x^2-1}{x-4}$ is $\mathbb{R}-\{4\}$, which can also be written as $\{x : x \in \mathbb{R}, x \ne 4\}$. [cite: 12]
Some special rational functions:
- The graph for $y=\frac{1}{x^n}$ will have a shape similar to $y=\frac{1}{x}$ when $n$ is odd (branches in opposite quadrants).
- [cite_start]The graph for $y=\frac{1}{x^n}$ will have a shape similar to $y=\frac{1}{x^2}$ when $n$ is even (branches in adjacent quadrants, typically both going to positive or negative infinity). [cite: 13]
Example: Sketch the graph of $y = -\frac{1}{(x-1)^2} + 3$
[cite_start]Apply the 3 steps of curve sketching: [cite: 13]
- Start with the basic graph of $y=\frac{1}{x^2}$.
[cite_start]- Reflect on the x-axis (due to the negative sign in front): $y=-\frac{1}{x^2}$. [cite: 13]
[cite_start]- Shift right by 1 unit (due to $x-1$): $y=-\frac{1}{(x-1)^2}$. [cite: 13]
[cite_start]- Shift up by 3 units (due to $+3$): $y=-\frac{1}{(x-1)^2}+3$. [cite: 13]
4. Absolute Value Function $f(x) = |x|$
[cite_start]The absolute value function $f(x)=|x|$ has a domain of $(-\infty, \infty)$ and a range of $[0, \infty)$. [cite: 14]
Sketch the function $y = |x-2|-1$
[cite_start]This involves both horizontal and vertical shifts. [cite: 14]
[cite_start]- Shift the basic graph of $y=|x|$ 2 units to the right (due to $x-2$). [cite: 15]
[cite_start]- Shift it 1 unit down (due to $-1$). [cite: 15]
5. Exponential function
[cite_start]Definition: For any positive real number $a$ and any real number $x$, we define the exponential function as $f(x) = a^x$. [cite: 15]
[cite_start]Special cases: [cite: 16, 17]
[cite_start]- If $a=1$, then $f(x)=1^x=1$. [cite: 16]
[cite_start]- If $a=0$, then $f(x)=0^x=0$, provided $x>0$. [cite: 17]
[cite_start]Examples: Use the ideas of reflection and shifting to sketch the graph of: [cite: 18]
- $f(x) = 4^{x+2}$
[cite_start]The graph of $y=4^x$ shifted to the left by 2 units. [cite: 18]
- $f(x) = 4^x + 2$
[cite_start]The graph of $y=4^x$ shifted up by 2 units. [cite: 18]
- $f(x) = 3 - 4^{-x} = -4^{-x} + 3$
[cite_start]The graph of $y=4^x$ will be: [cite: 18]
[cite_start]- Reflected on the y-axis (due to $-x$). [cite: 18]
[cite_start]- Reflected on the x-axis (due to the negative sign in front of $4^{-x}$). [cite: 19]
[cite_start]- Shifted up by 3 units (due to $+3$). [cite: 19]
Special case: The natural exponential function $f(x) = e^x$
[cite_start]A very special irrational number denoted by $e \approx 2.71828...$ is very useful in engineering applications. [cite: 19]
The function $f(x)=e^x$ is called the natural exponential function. [cite_start]Its graph is shown in the figure (similar to $y=a^x$ for $a>1$). [cite: 20]
[cite_start]Properties of the natural exponential function: [cite: 21]
- $e^2 \cdot e^3 = e^5$
- $e^{-3} = 1/e^3$
- $e^5 / e^3 = e^2$
- $(e^2)^3 = e^6$
6. Logarithmic function
[cite_start]We define $y = \log_a(x)$ if and only if $x = a^y$. [cite: 22]
[cite_start]We can think of "$\log_a(x)$" as the power of "$a$" that gives $x$. [cite: 22]
[cite_start]Examples: [cite: 21]
- $\log_2(32) = 5$, because $2^5 = 32$. [cite_start]This means the power of 2 that gives 32 is 5. [cite: 21]
- $\log_2(2) = 1$, because $2^1 = 2$. [cite_start]The power of 2 that gives 2 is 1. [cite: 21]
- $\log_2(1) = 0$, because $2^0 = 1$. [cite_start]The power of 2 that gives 1 is 0. [cite: 21]
Graph of the logarithmic function:
[cite_start]The graph of $y=\log_a(x)$ is the reflection of $y=a^x$ on the line $y=x$. [cite: 23]
NEXT Lecture
Thank you