Back To Course

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

Are you a student or a teacher?

Try Study.com, risk-free

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.

Try it risk-freeWhat teachers are saying about Study.com

Already registered? Login here for access

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

BackWhat teachers are saying about Study.com

Already registered? Login here for access

Did 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

- Introduction to HTML & CSS
- Introduction to JavaScript
- Computer Science 332: Cybersecurity Policies and Management
- Introduction to SQL
- Computer Science 203: Defensive Security
- JavaScript Language Basics
- JavaScript & HTML
- Error Handling, Debugging & Events in JavaScript
- HTML Elements & Lists
- Conditionals, Arrays & Loops in JavaScript
- Anti-Bullying Survey Finds Teachers Lack the Support They Need
- What is the ASCP Exam?
- ASCPI vs ASCP
- MEGA Exam Registration Information
- MEGA & MoGEA Prep Product Comparison
- PERT Prep Product Comparison
- MTLE Prep Product Comparison

- Students with ADHD
- Tools & Weapons of the Neolithic Age
- Communication to Foster Childhood Development
- Mandalas: History & Examples
- ISO/IEC 27004: History & Overview
- KPIs: Strategic, Risk Management & Operational Security
- FOIL Method Lesson Plan
- Quiz & Worksheet - Cauchy-Riemann Equations
- Quiz & Worksheet - Teacher-Student Interactions in Preschool
- Worksheet & Practice - Graphing Trig Functions
- Quiz & Worksheet - Rural Settlement Patterns
- Flashcards - Measurement & Experimental Design
- Flashcards - Stars & Celestial Bodies
- Formative Assessment
- Differentiated Instruction Strategies & Examples

- NES Social Science (303): Practice & Study Guide
- Business Math for Teachers: Professional Development
- Introduction to Human Geography: Certificate Program
- Neuroanatomy: Help & Tutorials
- NES Mathematics (304): Practice & Study Guide
- AP Physics 1 Vectors: Homeschool Curriculum
- ORELA General Science: The Solar System
- Quiz & Worksheet - Science & Religion During the Renaissance
- Quiz & Worksheet - Strength of an Electric Field & Coulomb's Law
- Quiz & Worksheet - Effects of Amphetamines on the Body
- Quiz & Worksheet - Schedule II Drugs
- Quiz & Worksheet - Chronic Effects of Marijuana Use

- Kanban: Process, Methodology & Rules
- What is Medical Indigency? - Definition & Policy
- Oregon Trail Lesson Plan
- How to Publish in a Scientific Journal
- Arizona Science Standards
- Homeschooling in Texas
- What are the NBPTS Standards?
- How to Use the GED Social Studies Prep Course
- How to Choose a Dissertation Topic
- Third Grade New York State Science Standards
- Digital Citizenship Lesson Plan
- New York State Science Standards for Grade 4

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

Browse by subject