Back To Course

Math 103: Precalculus12 chapters | 92 lessons | 10 flashcard sets

Watch short & fun videos
**
Start Your Free Trial Today
**

Start Your Free Trial To Continue Watching

As a member, you'll also get unlimited access to over 70,000 lessons in math, English, science, history, and more. Plus, get practice tests, quizzes, and personalized coaching to help you succeed.

Free 5-day trial
Your next lesson will play in
10 seconds

Lesson Transcript

Instructor:
*Jennifer Beddoe*

The graph of a basic logarithm is relatively simple. This lesson will show you how to graph a logarithm and what the transformations will do to the graph as well as their effects on the domain and range of the graph.

The basic formula for a logarithm (log) is *y* = log2*x* is equivalent to 2*y* = *x* which means that the solution to a **logarithm equation** is the power you must raise a certain number to in order to obtain another number. The logarithm function is the inverse of an **exponential**, which is a term that has a variable in its exponent. For example, 2^*x* is an exponential.

It stands to reason, then, that the graph of a logarithm would be the inverse of the graph of an exponential. And you can see from this picture below that that is correct. The graph of the logarithm is just the graph of the exponential inverted across a straight line.

There are two methods you can use in order to graph a logarithm.

The first is to substitute in numbers for one variable to get values for the other, then plot them on a graph and connect the dots. When using this method, remember that the log is undefined at zero and less than zero, so *x* can only be greater than zero.

Let's graph the following as an example: log2*x* = *y*

The first step is to draw a chart, then fill in the values for *x* and *y*.

x |
y |
---|---|

1.4 | 0.5 |

2 | 1 |

2.8 | 1.5 |

4 | 2 |

5.7 | 2.5 |

You can pick any value for *y* that you desire, but smaller is usually better. This way your graph is not huge. You can get the general idea for the graph from 5 or so points.

Then, when you have your points, just plot them on the graph and connect the dots. Remember, with the graph of a general logarithm, it will never touch or cross the *y*-axis but will come as close as possible.

The second method for graphing a logarithm is to use a graphing calculator. Read the instructions that came with your calculator in order to graph logarithms using this method.

The **domain** of any equation is the possible *x* values for that equation. It is any number that *x* could possibly be when that equation is graphed on a coordinate plane. For the general logarithm equation, the domain is *x* > 0 because *x* cannot be zero or below.

The **range**, or possible *y* values for any equation, is any number that *y* could possibly be when the equation is graphed on the coordinate plane. For the general logarithm equation, the range is *y* = all real numbers.

So far, we have only talked about the general logarithm equation and its graph, but what if the equation is more complex, such as *y* = log2*x* + 2

Adding or subtracting to the equation causes the graph to shift, either up, down, left or right, depending on how the addition or subtraction is framed. Graphing logarithmic equations that have been shifted can be done very easily if you remember the set of rules that govern these shifts.

1. The first rule says that adding a number to the equation will cause the graph to shift up the number of spaces indicated by that number. The example shown previously has a +2 added to the equation, which means that the graph will shift up two spaces from the general graph.

As you can see above, the graph has been shifted up two spaces.

2. The second rule states that subtracting a number from the equation will cause the graph to shift down that number of spaces. Take a look at this example: *y* = log2*x* - 2

Because of the -2 in the equation, the graph will be shifted down two spaces.

3. The third rule says that adding a number inside the logarithmic argument will cause the graph to shift left. This time, the number being added will be in parentheses with the *x*, indicating that it is a part of the log function and not just a number to be added on at the end of the equation.

*y* = log2 (*x* + 3)

The (x + 3) in parentheses in this equation causes the graph to shift three spaces to the left.

4. The fourth rule says that subtracting a number inside the logarithmic argument will cause the graph to shift right.

*y* = log2 (*x* - 3)

The (x - 3) in parentheses will cause the graph to shift three spaces to the right.

You can also have a graph that is translated in two directions. Take a look at this example:

*y* = log2 (*x* + 2) - 4

The graph of this equation will be shifted to the left two spaces and down four spaces.

Earlier we discussed the domain and range of logarithmic functions and defined the **domain** as the possible *x* values and the **range** as the possible *y* values of a function. When the basic graph is transformed in a certain way, it will change the values for the domain and range of that function.

If the graph is shifted up or down, the domain will still be *x* > 0, and the range will stay *y* = all real numbers. If the graph shifts to the left or right, the range again will not change, but the domain will shift along with the graph. This is because we are moving the graph in the *x* direction, so the boundary line will change. If the equation is *y* = log2 (*x* + 2), then *x* can be less than zero - it just can't be less than or equal to -2.

If *x* = -2, then we get *y* = log2 (-2 + 2) which equals *y* = log2 (0) which is undefined.

All that to say that for the equation *y* = log2 (*x* + 2), the domain is *x* > -2.

The same rule applies if the graph is shifted to the right. If the equation is *y* = log (*x* - 3), then the domain is all numbers greater than 3, or *x* > 3, in order to keep the number being evaluated a positive number.

By adding or subtracting numbers from the logarithm equation or argument, you will shift the graph of the logarithm up, down, left or right. It's easy to do if you remember the rules of transformation. If the transformation is to the left or right, it will affect the domain of the graph but not the range. Up or down shifts will not affect the domain or the range of the graph.

After this lesson, you should be able to:

- Define logarithm and compare its graph to a graph of an exponential
- Explain how to graph a logarithm equation
- List the rules of transformation
- Identify how transformations affect the domain and range of the graph

To unlock this lesson you must be a Study.com Member.

Create your account

Already a member? Log In

BackDid you know… We have over 95 college courses that prepare you to earn credit by exam that is accepted by over 2,000 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Not sure what college you want to attend yet? Study.com has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

You are viewing lesson
Lesson
4 in chapter 2 of the course:

Back To Course

Math 103: Precalculus12 chapters | 92 lessons | 10 flashcard sets

- Go to Functions

- What Is an Exponential Function? 7:24
- Exponential Growth vs. Decay 8:41
- What is a Logarithm? 5:23
- How to Graph Logarithms: Transformations and Effects on Domain/Range 6:53
- Logarithmic Properties 5:11
- Practice Problems for Logarithmic Properties 6:44
- How to Solve Exponential Equations 6:17
- How to Solve Logarithmic Equations 6:50
- Go to Evaluating Exponential and Logarithmic Functions

- Data Science for Marketing
- Individual Creativity in the Workplace
- Leadership in Action for Coaches
- Introduction to the Internet of Things
- Adaptive Leadership for Agile Organizations
- Logical vs. Creative Thinking in the Workplace
- Adaptive Technology & Innovation
- Marketing Analytics
- World Music Overview
- Big Data Analytics & Application
- Average AFQT Scores
- ASVAB Test Day Preparation
- How To Pass the GED Reading Test
- What is the AFQT?
- What is the Highest ASVAB Score?
- ASVAB Scores for Marines
- Can You Retake the ASVAB?

- History of Photography Materials & Techniques
- Basketry: Materials, Techniques & Processes
- Surface Area of a Pentagonal Prism
- Displaying Three-Dimensional Art: Methods & Techniques
- The Role of the Trauma Nurse in Injury Prevention & Outreach
- Common Practice Style & Developing Tonal Harmony
- Flast v. Cohen: Case Brief, Decision & Dissent
- Leadership with Intention & Reflection
- Quiz & Worksheet - Native American Art History
- Quiz & Worksheet - Mrs. Van Daan in Diary of a Young Girl
- Quiz & Worksheet - Fiber Art Materials Terms
- Quiz & Worksheet - Processes in Sculpting
- Quiz & Worksheet - Inheritance in Java
- Introduction to Research Methods in Psychology Flashcards
- Clinical Assessment in Psychology Flashcards

- Intro to Psychology: Help and Review
- LSAT Test: Online Prep & Review
- Developmental Psychology: Certificate Program
- DSST Foundations of Education: Study Guide & Test Prep
- ILTS Science - Earth and Space Science: Test Practice and Study Guide
- Dividing Polynomials: Homework Help Resource
- GACE History: The Rise of the Islamic Nation
- Quiz & Worksheet - Causes & Effects of Greenhouse Gas
- Quiz & Worksheet - Monocotyledon Plants
- Quiz & Worksheet - Lysogenic Cycle of a Virus
- Quiz & Worksheet - Fixing Singular and Plural Pronouns Errors
- Quiz & Worksheet - Characteristics & Politics of ALDE

- Pioneers in Human Development Theory: Freud, Piaget & Jung
- Milk & Dairy Production Process
- Florida State Standards for Math
- First Grade Tennessee Science Standards
- High School Summer Reading List
- Counting Money Lesson Plan
- Telling Time: Activities & Games for Kids
- Wisconsin Science Standards for First Grade
- Texas Educators' Code of Ethics
- Kansas Science Standards for 1st Grade
- North Carolina State Standards for Social Studies
- Best IT Certifications

Browse by subject