Solveeit Logo

Question

Question: How do you graph \(y = {\log _3}\left( {x - 2} \right)\)?...

How do you graph y=log3(x2)y = {\log _3}\left( {x - 2} \right)?

Explanation

Solution

To solve this question, we need to follow some certain steps. First, we need to find asymptotes for the given functions. In the next step we need to find three points on the graph. This can be done by using different values of xx greater than the asymptote and then by putting them into the given function.

Complete step by step solution:
We are given the function y=log3(x2)y = {\log _3}\left( {x - 2} \right).
First, we will find the asymptotes of the function. This means that we need to find where the given function cannot be defined.
We know that the logarithm of the number exists only if the number is greater than zero.
Therefore, for the given function y=log3(x2)y = {\log _3}\left( {x - 2} \right), we can say that the function cannot be defined for the values of xx less than or equal to 2 which is x2x \leqslant 2.
Therefore, for vertical asymptotes for the given function is x=2x = 2.
Now, we will find the point where x=3x = 3.
y=log3(x2)y = {\log _3}\left( {x - 2} \right)
We will now put x=3x = 3.
y=log3(32)=log31=0\Rightarrow y = {\log _3}\left( {3 - 2} \right) = {\log _3}1 = 0
Therefore, the y-intercept of the function is (3,0)\left( {3,0} \right).
Now, let us find the point where x=5x = 5.
y=log3(x2)y = {\log _3}\left( {x - 2} \right)
We will now put x=5x = 5.
y=log3(52)=log33=1\Rightarrow y = {\log _3}\left( {5 - 2} \right) = {\log _3}3 = 1
Therefore, we get a point (5,1)\left( {5,1} \right)on the graph.
Now, let us find the point where x=11x = 11.
y=log3(112)=log39=log332=2log33=2(1)=2\Rightarrow y = {\log _3}\left( {11 - 2} \right) = {\log _3}9 = {\log _3}{3^2} = 2{\log _3}3 = 2\left( 1 \right) = 2
Thus, we get another point (11,2)\left( {11,2} \right) on the graph.
Now we have three points (3,0)\left( {3,0} \right), (5,1)\left( {5,1} \right)and (11,2)\left( {11,2} \right) and the vertical asymptotes x=2x = 2. By using this information, we can get the graph of the function y=log3(x2)y = {\log _3}\left( {x - 2} \right) as:

Note: Here, we have taken the values of xx to obtain the points (3,0)\left( {3,0} \right), (5,1)\left( {5,1} \right)and (11,2)\left( {11,2} \right) such that they are in the relation with the base. As a result we have used two important properties of logarithm. First, loga1=0{\log _a}1 = 0 , second the exponent rule, logamn=nlogam{\log _a}{m^n} = n{\log _a}m and third logaa=1{\log _a}a = 1.