Log graph calculator

Plot log(x) and transformed logarithmic functions while checking the valid domain and vertical asymptote.

· Value = —
Function color
Interactive function graphThe graph updates as you change the equation, values, and view controls. Move your pointer across the graph to read x and y coordinates, or drag to move the graph.xy

Hover to inspect coordinates. Drag the graph to pan the view or use the wheel and zoom controls to explore the function.

ABOUT THE TOOL

How logarithmic graphs work

A logarithm is the inverse of an exponential function and is defined only when its input is positive.

HOW TO USE IT

  1. Enter A, B, C, and D.
  2. Check the domain and vertical asymptote.
  3. Try a shifted logarithm.
  4. Use zoom controls to keep the valid branch visible.

Explore the logarithmic graph

The parent natural logarithm y = log(x) is defined only for positive x and grows slowly. This calculator uses y = A log(Bx + C) + D, where A controls vertical scale, B changes the input scale, C shifts the input, and D moves the graph vertically.

Find the logarithm domain and asymptote

The input must satisfy Bx + C > 0. When B is nonzero, the vertical asymptote is x = −C/B. The logarithm has no horizontal asymptote and increases or decreases slowly depending on the signs of A and B.

Practice with log functions

Start with log(x), then try log(2x), log(x + 1), or a reflected and shifted curve. Use the graph cursor on the valid domain and zoom controls to keep the visible branch in view.

Logarithmic graph theory

A logarithm is the inverse of an exponential function and is defined only when its input is positive. For y = A log(Bx + C) + D, the domain is determined by Bx + C > 0 and the vertical asymptote occurs where Bx + C = 0. The curve grows slowly, which is why logarithmic scales are useful for comparing quantities across a wide range. The signs of A and B determine whether the valid branch rises or falls.

Log graph example

For y = log(x + 2) − 1, the domain is x > −2, the vertical asymptote is x = −2, and the graph passes through (−1, −1) because log(1) = 0. Enter the example, stay on the valid side of the asymptote, and use the cursor to check the shifted reference point. If the input becomes zero or negative, there is no real logarithmic value to plot.

Logarithmic graph example

For y = log₂(x − 1) + 3, the domain is x > 1, the vertical asymptote is x = 1, and the reference point (2, 3) comes from log₂(1) = 0. The curve increases slowly as x moves right. Enter the expression, stay on the valid side of the asymptote, and use the cursor to test values such as x = 5, where y = 5 for this base-2 example.

Logarithms undo exponentials

The equation y = log_b(x) means b^y = x, so logarithmic and exponential graphs are inverses. Their graphs reflect across y = x when the same base is used. This relationship explains the logarithm’s domain x > 0 and why its growth is slow: multiplying the input produces an additive change in the output.

COMMON QUESTIONS

Frequently asked questions

What is the domain of log(x)?

The domain is x > 0 because the logarithm input must be positive.

What is the vertical asymptote?

For A log(Bx + C) + D, it is x = −C/B when B is nonzero.

Is log the inverse of exponential growth?

Yes. Natural logarithm and eˣ undo each other on their valid domains.

What is the domain of a logarithmic function?

The logarithm’s input must be positive. For log(Bx + C), require Bx + C > 0.

What is the vertical asymptote of a log graph?

It occurs where the input equals zero. For log(Bx + C), solve Bx + C = 0.

Why does a logarithmic graph grow slowly?

A logarithm is the inverse of exponential growth, so large multiplicative changes in x become smaller additive changes in y.