Value tables:
For y=log3x:
| x | 91 | 31 | 1 | 3 | 9 |
|---|
| y | −2 | −1 | 0 | |
For y=log21x:
| x | 41 | 21 |
|---|
Plot each ordered pair and draw a smooth curve that stays to the right of the vertical asymptote x=0. The base 3 graph rises, while the base 21 graph falls.
For f(x)=log5(x+3):
The logarithm is defined only when its argument is positive. The boundary of that condition gives the vertical asymptote:
- Domain: x+3>0⇒x>−3
For g(x)=log2(x−4):
Replacing x with x−4 shifts the graph right. The same expression must also remain positive:
For y=log3x+2:
Adding 2 outside the logarithm shifts every point vertically without changing the domain or the asymptote:
- Graph y=log3x shifted up