Graphing Logarithmic Functions

Graphing Logarithmic Functions

The function y=logbx is the inverse function of the exponential function y=bx .
Consider the function y=3x . It can be graphed as:
The graph of inverse function of any function is the reflection of the graph of the function about the line y=x . So, the graph of the logarithmic function y=log3(x) which is the inverse of the function y=3x is the reflection of the above graph about the line y=x .
x19131392781y=log3x2101234
The domain of the function is the set of all positive real numbers.
When no base is written, assume that the log is base 10 .
x1100011001101101001000y=logx3210123
The logarithmic function, y=logb(x) , can be shifted k units vertically and h units horizontally with the equation y=logb(x+h)+k .
Vertical shift
If  k>0 , the graph would be shifted upwards.
If  k<0 , the graph would be shifted downwards.
Horizontal Shift
If  h>0 , the graph would be shifted left.
If  h<0 , the graph would be shifted right.
Consider the logarithmic function y=[log2(x+1)3] . This can be obtained by translating the parent graph y=log2(x) a couple of times.
Consider the graph of the function y=log2(x) .
Since h=1 , y=[log2(x+1)] is the translation of y=log2(x) by one unit to the left.
Now, k=3 . The graph of y=[log2(x+1)] will be shifted 3 units down to get y=[log2(x+1)]3 .
You may recall that logarithmic functions are defined only for positive real numbers. This is because, for negative values, the associated exponential equation has no solution. For example, 3x=1 has no real solution, so log3(1) is undefined.
So, what about a function like y=log4(x) ?
This is defined only for negative values of x .
Find the values of the function for a few negative values of x . For an easier calculation you can use the exponential form of the equation, 4y=x .
x12481632y=log4(x)or4y=x01211122212
Plot the points and join them by a smooth curve.
You can see that the graph is the reflection of the graph of the function y=log4(x) about the y -axis.

Comments

Popular posts from this blog

Maxpooling vs minpooling vs average pooling

Generative AI - Prompting with purpose: The RACE framework for data analysis

Best Practices for Storing and Loading JSON Objects from a Large SQL Server Table Using .NET Core