Back To Course

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

Are you a student or a teacher?

Start Your Free Trial To Continue Watching

As a member, you'll also get unlimited access to over 75,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

Are you a student or a teacher?

Already a member? Log In

BackDid you know… We have over 160 college courses that prepare you to earn credit by exam that is accepted by over 1,500 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:18
- How to Solve Logarithmic Equations 6:50
- Go to Evaluating Exponential and Logarithmic Functions

- GRE Information Guide
- Computer Science 310: Current Trends in Computer Science & IT
- Earth Science 105: Introduction to Oceanography
- Computer Science 331: Cybersecurity Risk Analysis Management
- Computer Science 336: Network Forensics
- Practical Applications for Excel
- Practical Applications in Business Law
- Practical Applications for How to Network
- Practical Application for Technical Writing
- Practical Applications for Workplace Communications with Computers
- MEGA Test Accomodations
- Study.com Grant for Teachers
- What are the MEGA Tests?
- MOGEA Test Score Information
- ASWB Prep Product Comparison
- What is the MOGEA Test?
- TASC Exam Registration Information

- Promoting Motor Learning With Activities, Sports & Games
- How to Teach Conflict Resolution to Kids
- Witchcraft in the Jacobean Era
- Best Practices for Teaching Gifted Students
- Practical Application: Principles of Composition in Graphic Design Infographic
- Recursion & Recursive Algorithms in Python: Definition & Examples
- Practical Application: Five Major Consumer Rights Infographic
- Food & Beverage Service & Operations: Assignment 2 - Research Paper
- Quiz & Worksheet - Aristotelian Virtue Ethics
- Quiz & Worksheet - Assessing Diverse Learners
- Quiz & Worksheet - Citizen Journalism Overview
- Quiz & Worksheet - Neolithic Period Overview
- Quiz & Worksheet - When to Intercede in Conflict as a Manager
- Flashcards - Measurement & Experimental Design
- Flashcards - Stars & Celestial Bodies

- NES Middle Grades English Language Arts (201): Practice & Study Guide
- Financial Accounting: Tutoring Solution
- Holt Geometry: Online Textbook Help
- CLEP Calculus: Study Guide & Test Prep
- Anthropology 101: General Anthropology
- AP World History - The Late Middle Ages: Help and Review
- AP World History - The Enlightenment: Help and Review
- Quiz & Worksheet - Addiction vs. Habit or Obsession
- Quiz & Worksheet - Strong Verbs
- Quiz & Worksheet - Functional Fixedness in Psychology
- Quiz & Worksheet - Social Needs in Maslow's Hierarchy
- Quiz & Worksheet - Cognitive Appraisal

- The Male Gaze: Definition & Theory
- Indentured Servants in Jamestown: Definition & Overview
- 504 Plans in Florida
- Globalization & International Management: Assignment 1
- Multiplication Games for Kids
- Hawaii Common Core Standards
- WIDA Can Do Descriptors for Grade 2
- Telling Time Games & Activities
- What Is History? - Lesson Plan
- Learning Activities for Children with Down Syndrome
- Study.com's Guidance and Coaching Service
- Star Spangled Banner Lesson Plan

- Tech and Engineering - Videos
- Tech and Engineering - Quizzes
- Tech and Engineering - Questions & Answers

Browse by subject