Question
Question: How do you graph \[f\left( x \right)=2+\ln x\]?...
How do you graph f(x)=2+lnx?
Solution
This question is from the topic of exponential and logistic graphs which belongs to the chapter pre-calculus. In this question, we will draw the graph of f(x)=2+lnx. In solving this question, we will first find the values of f(x) at x=0, 1, 2, 3, and ∞. After using these points and values of f(x) at those points, we will draw the graph of the given equation.
Complete step by step solution:
Let us solve this question.
In this question, we have asked to find the graph of the equation which is given in the question. The given equation is f(x)=2+lnx.
Let us first find out the value of f(x) at x=0. We can write
f(0)=2+ln(0)
As we know that the value of ln(0) is −∞, so we can write
⇒f(0)=2−∞=−∞
Now, let us first find out the value of f(x) at x=1. We can write
f(1)=2+ln(1)
As we know that the value of ln(1) is 0, so we can write
⇒f(1)=2+0=2
Now, let us find out the value of f(x) at x=2. We can write
f(2)=2+ln(2)
As we know that the value of ln(2) is 0.693, so we can write
⇒f(2)=2+0.693=2.693
Now, let us find out the value of f(x) at x=3.
f(3)=2+ln(3)
Putting the value of ln(3) as 1.0986, we can write
⇒f(3)=2+1.0986=3.0986
Now, let us find the value of f(x) at x=∞.
f(∞)=2+ln(∞)
Putting the value of ln(∞) as ∞ in the above equation, we can write
⇒f(∞)=2+∞=∞
Now, we have got the following values:
x | 0 | 1 | 2 | 3 | ∞ |
---|---|---|---|---|---|
f(x) | −∞ | 2 | 2.693 | 3.0986 | ∞ |
Now, we will use the above table and draw the graph of f(x)=2+lnx
Now, we can see that at x=0, the value of f(x) is tending to negative or infinity at x equals to infinity, the value of f(x) is tending to infinity.
Note: We should have a better knowledge in the topic of exponential and logistic graphs to solve this type of question easily. We should remember the following values to solve this type of question easily:
Value of ‘e’ (that is exponential) = 2.71
ln0=−∞
ln1=0
ln2=0.693
ln3=1.0986
ln∞=∞
And, also remember that if lnx=y, then x=ey