Sketch a log graph and solve a log equation
Unit 3 Topic 1: Differentiation of exponential and logarithmic functions
The question
Consider the function \(f(x)=2\ln (x+3)-2\).
- (a) Sketch the graph of \(y=f(x)\), labelling any intercepts and asymptotes with exact values. [3 marks]
- (b) Solve \(\ln (x+3)+\ln (x-1)=\ln (5)\). [2 marks]
The idea. A log only takes positive inputs, so \(x + 3 > 0\) gives the asymptote. In part (b), combine the logs into one, compare the insides, then check each answer is allowed in both original logs.
The answer, one mark at a time
-
Part (a)
A log is only defined for positive inputs. The graph exists where \(x + 3 > 0\), and it drops away as \(x\) gets close to \(-3\).
\[x + 3 > 0 \Rightarrow x > -3\]\[\text{Vertical asymptote: } x = -3\]states the asymptote [1 mark]
-
For the \(x\)-intercept, set \(y = 0\) and undo the log with \(e\). For the \(y\)-intercept, put \(x = 0\). Keep both exact.
\[2\ln(x + 3) - 2 = 0 \Rightarrow \ln(x + 3) = 1\]\[x + 3 = e \Rightarrow x = e - 3\]\[y = 2\ln(0 + 3) - 2 = 2\ln(3) - 2\]determines both intercepts as exact values [1 mark]
-
Draw an increasing curve that bends over, coming up from the asymptote on the right side of \(x = -3\). Label the asymptote and both exact intercepts.
\[\text{Increasing, concave down}\]\[\text{Through } (e - 3,\, 0) \text{ and } (0,\, 2\ln(3) - 2)\]\[\text{Approaches } x = -3 \text{ from the right}\]sketches the correct shape with features labelled [1 mark]
-
Part (b)
Use \(\ln a + \ln b = \ln(ab)\) to make one log. Equal logs have equal insides, so expand and form a quadratic.
\[\ln\left((x + 3)(x - 1)\right) = \ln(5)\]\[(x + 3)(x - 1) = 5\]\[x^{2} + 2x - 3 = 5\]\[x^{2} + 2x - 8 = 0\]\[(x + 4)(x - 2) = 0\]combines the logarithms and forms the quadratic [1 mark]
-
Both logs in the original equation need positive inputs: \(x + 3 > 0\) and \(x - 1 > 0\), so \(x > 1\). Reject the answer that breaks this.
\[x = -4 \quad\text{or}\quad x = 2\]\[\text{Need } x > 1\text{, so reject } x = -4\]\[x = 2\]solves and rejects the invalid solution [1 mark]
Answer
Watch for. In part (b), \(x = 2\) on its own is not enough: you must say why \(x = -4\) is rejected. At \(x = -4\), both \(\ln(-1)\) and \(\ln(-5)\) are undefined.