Question
Sketching a function with logarithmic domain restrictions
Original question: Let defined over its maximal domain. a) Sketch the graph of labelling the -intercept with its coordinates.
Expert Verified Solution
Key concept: The function combines polynomial growth with a logarithmic domain restriction.
Step by step
Domain first: the logarithm controls everything
For , the maximal domain comes from the logarithm. The polynomial part is defined for every real , but the logarithm requires its inside to be positive:
Solve that inequality:
So the maximal domain is
That interval is essential for the sketch because the graph cannot touch or cross the vertical boundaries at .
Find the y-intercept exactly
The y-intercept happens when . Substitute directly into the function:
This simplifies to
Since , we get
So the y-intercept is . On the sketch, that point should be labeled clearly because it is the one exact coordinate you can locate without graphing software.
How to sketch the overall shape
The graph is a polynomial curve modified by a logarithmic term. Near the endpoints of the domain, the logarithm becomes very negative because its input approaches , so the curve drops sharply as from inside the domain. That creates two vertical asymptote-like barriers at the boundary points of the domain.
Inside the interval, the cubic term gives the graph a rising-right, falling-left tendency, while the quadratic and linear terms shift the shape. The logarithmic term bends the curve downward near the edges and adds a smooth dip where the input of the log is largest.
A useful way to sketch is to plot the intercept , mark the domain endpoints as excluded, and then estimate a few extra points symmetrically around zero. Because the logarithmic part depends on , it is even, while the polynomial part is not symmetric. That means the full graph will not be symmetric about the y-axis.
Key features to label on the graph
You should label the domain restriction, the y-intercept, and the steep drop near the boundaries. If your instructor expects a fuller sketch, you can also estimate turning behavior numerically. But for a hand sketch, the strongest information is the domain and the intercept.
The crucial idea is that the logarithm never allows zero or negative inputs. Once you identify that restriction, the rest of the graphing task becomes much easier because the domain already tells you where the curve can and cannot exist.
Common graphing pitfall with this function
Many students start by expanding the polynomial and ignoring the logarithm until the end. That leads to the wrong sketch, because the logarithmic term is what limits the domain and forces the curve to end at finite x-values. Another mistake is forgetting that , which makes the y-intercept easier to find than it first appears.
If you keep the domain, intercept, and boundary behavior in view, the sketch will be much more accurate than a guess based on the polynomial alone.
Pitfall alert
The easiest place to make a mistake with is the domain inequality. If you accidentally allow the logarithm’s input to be zero or negative, the sketch becomes invalid immediately. Another common error is reading the boundary points as actual intercepts, but are not included in the domain. Students also sometimes forget that the polynomial part does not remove the logarithmic restriction; the log still dominates the domain. When finding the y-intercept, do not overcomplicate : it is zero, so the intercept is exactly . For the sketch, avoid drawing the curve as if it were a simple cubic. The graph must stop inside the open interval and bend sharply downward near both endpoints because of the logarithmic term.
Try different conditions
If the function were changed to , the sketching process would stay the same, but the domain would change to because requires . The y-intercept would still be since at . That modified problem shows why the denominator inside the logarithm matters so much: changing 20 to 16 moves the vertical boundary points closer to the origin and makes the graph end earlier. If the sign changed to , the domain would become all real numbers, which would produce a completely different graphing behavior.
Further reading
logarithmic domain restriction, y-intercept calculation, function sketching
FAQ
How do you find the maximal domain of a function with a logarithm inside it?
Require the expression inside the logarithm to be positive, then solve that inequality. For this function, the input must stay greater than zero, which gives an open interval centered at the origin.
Why does the logarithmic term change the graph more than the polynomial part?
The polynomial is defined for every real number, but the logarithm restricts where the graph exists. It also forces the curve to drop sharply near the ends of the domain, which strongly shapes the sketch.