Cal11 calculator

How to Put Logs in Graphing Calculator

Reviewed by Calculator Editorial Team

Graphing logarithmic functions in your calculator is a valuable skill for understanding exponential growth and decay. This guide will walk you through the process step-by-step, including how to set up your calculator, interpret the results, and troubleshoot common issues.

Basic Logarithm Graphing

Logarithmic functions have the general form y = logₐ(x), where 'a' is the base of the logarithm. The most common bases are 10 and the natural logarithm (ln) with base e ≈ 2.71828.

Logarithm Formula: y = logₐ(x)

Where:

  • y = output value
  • a = base of the logarithm (must be positive and not equal to 1)
  • x = input value (must be positive)

The graph of a logarithmic function will always pass through the point (1,0) because logₐ(1) = 0 for any valid base 'a'. The function will be increasing if a > 1 and decreasing if 0 < a < 1.

Key Properties of Logarithmic Functions

  • Domain: x > 0
  • Range: all real numbers
  • Vertical asymptote at x = 0
  • Horizontal asymptote at y = -∞ when a > 1
  • Horizontal asymptote at y = ∞ when 0 < a < 1

Understanding these properties will help you interpret the graphs you create and verify that your calculator is displaying them correctly.

Using Your Calculator

Most graphing calculators have a built-in logarithmic function that you can use to graph these functions. Here's how to set it up:

Step 1: Access the Graphing Mode

Turn on your calculator and navigate to the graphing mode. This is typically found under the "Graph" or "Y=" menu.

Step 2: Enter the Logarithmic Function

In the Y= editor, enter your logarithmic function. For example, to graph y = log₁₀(x), you would enter:

Y₁ = log(X)

Note: Some calculators use "log" for base 10 and "ln" for natural logarithm. Check your calculator's documentation if you're unsure.

Step 3: Set the Window

Adjust the window settings to get a good view of your graph. For logarithmic functions, you'll typically want:

  • Xmin: 0.0001 (to avoid the vertical asymptote)
  • Xmax: 10 (or another appropriate value based on your function)
  • Ymin: -10
  • Ymax: 10
  • Xscl: 1
  • Yscl: 1

Step 4: Graph the Function

Press the graph button to display your logarithmic function. You should see a curve that starts at the point (1,0) and increases or decreases depending on the base.

Step 5: Adjust as Needed

If your graph doesn't look right, try adjusting the window settings or checking that you entered the function correctly. Some calculators require you to specify the base explicitly, so you might need to enter Y₁ = log(X,10) instead of just Y₁ = log(X).

Worked Examples

Let's look at a couple of examples to see how this works in practice.

Example 1: Basic Logarithm

Graph y = log₁₀(x) using your calculator.

  1. Enter Y₁ = log(X) in the Y= editor
  2. Set the window as described above
  3. Press GRAPH

You should see a curve that starts at (1,0) and increases as x increases. The graph will be concave down, showing the decreasing rate of growth as x increases.

Example 2: Different Base

Graph y = log₂(x) using your calculator.

  1. Enter Y₁ = log(X,2) in the Y= editor (some calculators require the base to be specified)
  2. Set the window as described above
  3. Press GRAPH

You should see a curve that starts at (1,0) and increases as x increases. This time, the curve will be steeper than the base 10 logarithm because the base is smaller.

Remember: The smaller the base, the steeper the curve. The larger the base, the flatter the curve.

Common Issues

When graphing logarithmic functions, you might encounter some common problems. Here are solutions to these issues:

1. Graph Doesn't Appear

If your graph doesn't appear, first check that you've entered the function correctly. Make sure you're in the right mode (Graph vs. Table vs. Y=). Also verify that the function is turned on (some calculators require you to enable each Y= function separately).

2. Graph Looks Wrong

If your graph looks distorted or incorrect, try adjusting the window settings. For logarithmic functions, you typically want Xmin to be a small positive number (like 0.0001) to avoid the vertical asymptote at x=0.

3. Calculator Doesn't Recognize "log"

Some calculators use different notation for logarithms. If your calculator doesn't recognize "log", try using "LOG" or check the documentation to see what function name it uses for base 10 logarithms.

4. Graph is Too Small

If your graph is too small to see clearly, adjust the window settings. You might need to zoom in by making Xmax smaller or zoom out by making Xmax larger. The Ymin and Ymax settings can also affect how much of the graph is visible.

FAQ

What is the difference between log and ln?
Log typically refers to base 10 logarithms, while ln refers to natural logarithms with base e ≈ 2.71828. Some calculators use different notation, so check your calculator's documentation if you're unsure.
Can I graph logarithmic functions with negative x values?
No, logarithmic functions are only defined for positive x values. Attempting to graph them with negative x values will result in an error or undefined behavior.
How do I graph a logarithmic function with a different base?
Most calculators allow you to specify the base explicitly. For example, you might enter Y₁ = log(X,2) to graph a base 2 logarithm. Check your calculator's documentation for the exact syntax.
Why does my graph have a vertical line at x=0?
This is the vertical asymptote of the logarithmic function. It occurs because as x approaches 0 from the right, the logarithm grows without bound. Most graphing calculators will not display this line, but you might see it in some plotting software.
How can I verify that my calculator is graphing the function correctly?
You can check specific points by using the table function on your calculator. For example, if you graph y = log₁₀(x), you should see that log₁₀(1) = 0, log₁₀(10) = 1, and log₁₀(100) = 2.