Direct Variation: Both UP or both DOWN
$y$ varies directly with $x$, means $y = kx$, where $k$ is called a constant of variation
Example: surface area of a cube varies directly with the edge length of the cube $$A = 6(l^2)$$
Indirect Variation: One UP and one DOWN
$y$ varies inversely as $x$, means $\displaystyle y = \frac{k}{x}$
General Solution vs. Specific Solution(Example)
$x$ and $y$ vary inversely
$y = 7$
$x = 4$
General Solution Specific Solution $\displaystyle y = \frac{k}{x}$ $\displaystyle y = \frac{28}{x}$ the general solution is the equation with $k$ still in it the specific solution is solved for $k$
Joint Variation indicates that multiple variables are related to each other
$y$ varies directly with $x$ and inversely with $z$
$\displaystyle y = \frac{kx}{z}$
if $y = -6, x = 2, $ and $ z = -1$
then $\displaystyle y = \frac{3x}{z}$
Example
$p$ varies directly with the cube of $w$ and the square root $z$, and inversely with the fifth power of $q$
$$p = \frac{kw^3\sqrt{z}}{q^5}$$A rational function with polynomials $p(x)$ & $q(x)$ with $q(x) \neq 0$ will be in the form
$$f(x) = \frac{p(x)}{q(x)}$$$h$ = horizontal shift and asymptote
$k$ = vertical shift and asymptote
Example:
$\displaystyle f(x) = \frac{1}{x}$
Vertical asymptote at $x=0$
Horizontal asymptote at $y=0$
As $x \to \infty \mid f(x) \approx 0$
As $x \to -\infty \mid f(x) \approx 0$
Example 2:
$\displaystyle y = \frac{1}{x-3}+2$
Vertical asymptote at $x=2$
Horizontal asymptote at $y=3$
Domain: $x\in \mathbb R \ni x \neq 3$
Range: $y\in \mathbb R \ni y \neq 2$
%matplotlib inline
import matplotlib
import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(-5, 5, 500)
axes = plt.gca()
axes.set_xlim([-5,5])
axes.set_ylim([-5,5])
plt.plot(x, (1 / (x-3) ) + 2)
plt.grid(True)
plt.title('y = 1/(x-3) + 2')
plt.show()
Two types of discontinuity
To Simplify:
Steps for Solving Algebraically: