HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Logarithms, Exponentials and a First Look at Differentiation
  1. 1Exponential and logarithmic functions
  2. 2Laws of logarithms and equations
  3. 3A first look at differentiation
  1. Mathematics
  2. /Logarithms, Exponentials and a First Look at Differentiation
  3. /Exponential and logarithmic functions

Course 21.3·Lesson 1 of 3

Exponential and logarithmic functions

The exponential function exe^xex and the logarithm ln⁡x\ln xlnx

Lesson 1 of 3Show all lessonsHide
Logarithms, Exponentials and a First Look at Differentiation
  1. 1Exponential and logarithmic functions
  2. 2Laws of logarithms and equations
  3. 3A first look at differentiation

Try the code and the simulations beside the lesson.

The number eee and the function exe^xex

A bank pays interest, a medicine fades from the blood, and a culture of cells divides. Each is an exponential process, and the base that suits it best is the number e≈2.71828e \approx 2.71828e≈2.71828. It is irrational, like π\piπ.

The function f(x)=exf(x) = e^xf(x)=ex has these properties.

  • Its domain is all real numbers, and its range is ex>0e^x > 0ex>0.
  • It passes through (0,1)(0, 1)(0,1), because e0=1e^0 = 1e0=1.
  • It is always increasing. For e−xe^{-x}e−x the graph is reflected, so it decreases.
  • It has an asymptote: a line that the graph approaches but never reaches. For y=exy = e^xy=ex the asymptote is y=0y = 0y=0, the xxx-axis.

Logarithms

A logarithm answers the question "which power?". For a>0a > 0a>0 and a≠1a \ne 1a=1:

log⁡ax=ymeansay=x.\displaystyle \log_a x = y \quad\text{means}\quad a^y = x.loga​x=ymeansay=x.

So log⁡28=3\log_2 8 = 3log2​8=3, because 23=82^3 = 823=8. Logarithms may be given to any base. The base 101010 is written lg⁡\lglg, so lg⁡1000=3\lg 1000 = 3lg1000=3. The base eee is written ln⁡\lnln, so ln⁡x=log⁡ex\ln x = \log_e xlnx=loge​x is the natural logarithm.

Some values come straight from the definition: log⁡a1=0\log_a 1 = 0loga​1=0, log⁡aa=1\log_a a = 1loga​a=1, and log⁡a1a=−1\log_a \dfrac{1}{a} = -1loga​a1​=−1. A logarithm is defined only for x>0x > 0x>0.

The two functions are inverses

f(x)=exf(x) = e^xf(x)=ex and g(x)=ln⁡xg(x) = \ln xg(x)=lnx are inverses of each other. Applying one after the other gives back xxx:

ln⁡(ex)=x for all x,eln⁡x=x for x>0.\displaystyle \ln(e^x) = x \text{ for all } x, \qquad e^{\ln x} = x \text{ for } x > 0.ln(ex)=x for all x,elnx=x for x>0.

Everything we found about inverse functions then follows.

  • The graph of y=ln⁡xy = \ln xy=lnx is the reflection of y=exy = e^xy=ex in the line y=xy = xy=x.
  • The domain of ln⁡x\ln xlnx is x>0x > 0x>0, which is the range of exe^xex. The range of ln⁡x\ln xlnx is all real numbers.
  • The point (0,1)(0, 1)(0,1) on exe^xex becomes (1,0)(1, 0)(1,0) on ln⁡x\ln xlnx.
  • The asymptote y=0y = 0y=0 of exe^xex becomes the asymptote x=0x = 0x=0 of ln⁡x\ln xlnx, the yyy-axis.
A graph with equal scales. The blue curve y equals e to the power x rises from near the x-axis on the left through the point (0, 1). The green curve y equals ln x rises from the y-axis through the point (1, 0). The two curves are mirror images in the dashed line y equals x. The x-axis is the asymptote of the blue curve and the y-axis is the asymptote of the green curve.

The graphs y=kenx+ay = ke^{nx} + ay=kenx+a and y=kln⁡(ax+b)y = k\ln(ax + b)y=kln(ax+b)

The syllabus uses whole numbers for nnn, kkk, aaa and bbb.

For y=kenx+ay = ke^{nx} + ay=kenx+a:

  • The yyy-intercept is found by putting x=0x = 0x=0: y=k+ay = k + ay=k+a.
  • The asymptote is y=ay = ay=a, because enxe^{nx}enx gets close to 000 at one end.
  • If n>0n > 0n>0 the term enxe^{nx}enx grows to the right. If n<0n < 0n<0 it decays to the right. Then kkk sets the size and the direction.

For y=2e−x+1y = 2e^{-x} + 1y=2e−x+1 the yyy-intercept is 333, the asymptote is y=1y = 1y=1, and the graph falls towards y=1y = 1y=1 without meeting it.

For y=kln⁡(ax+b)y = k\ln(ax + b)y=kln(ax+b):

  • The domain is ax+b>0ax + b > 0ax+b>0.
  • The vertical asymptote is x=−bax = -\dfrac{b}{a}x=−ab​, where ax+b=0ax + b = 0ax+b=0.
  • The xxx-intercept is where ax+b=1ax + b = 1ax+b=1, because ln⁡1=0\ln 1 = 0ln1=0.

For y=3ln⁡(2x+4)y = 3\ln(2x + 4)y=3ln(2x+4) the asymptote is x=−2x = -2x=−2 and the xxx-intercept is x=−1.5x = -1.5x=−1.5.

Two graphs side by side. The left graph is y equals 2e to the power minus x plus 1: it starts high on the left, passes through (0, 3) and falls towards the dashed horizontal asymptote y equals 1 on the right. The right graph is y equals 3 ln(2x plus 4): it has the dashed vertical asymptote x equals minus 2, passes through (minus 1.5, 0) and rises slowly to the right.

Practise with new numbers

Try it in Python

The program shows that ln⁡(ex)\ln(e^x)ln(ex) gives back xxx, and that y=2e−x+1y = 2e^{-x} + 1y=2e−x+1 settles towards its asymptote.

Read it first. Then run it. What happens to yyy as xxx grows?

1. Change 2 * exp(-x) + 1 to 2 * exp(-x) - 3. Where does it settle?

2. Try log(0). What does Python say, and why?

Common mistakes

  • Taking a logarithm of zero or a negative number. It does not exist.
  • Letting the graph cross its asymptote. It approaches the asymptote and never meets it.
  • Using aaa as the yyy-intercept. The intercept is k+ak + ak+a, and aaa is the asymptote.
  • Forgetting the domain ax+b>0ax + b > 0ax+b>0 of ln⁡(ax+b)\ln(ax + b)ln(ax+b).
  • Mixing up the base. lg⁡\lglg is base 101010 and ln⁡\lnln is base eee.

Remember these

  • log⁡ax=y\log_a x = yloga​x=y means ay=xa^y = xay=x. log⁡a1=0\log_a 1 = 0loga​1=0 and log⁡aa=1\log_a a = 1loga​a=1.
  • exe^xex and ln⁡x\ln xlnx are inverses. ln⁡(ex)=x\ln(e^x) = xln(ex)=x and eln⁡x=xe^{\ln x} = xelnx=x.
  • y=kenx+ay = ke^{nx} + ay=kenx+a: yyy-intercept k+ak + ak+a, asymptote y=ay = ay=a.
  • y=kln⁡(ax+b)y = k\ln(ax + b)y=kln(ax+b): asymptote x=−bax = -\dfrac{b}{a}x=−ab​, xxx-intercept where ax+b=1ax + b = 1ax+b=1.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Evaluate log⁡381\log_3 81log3​81.
  1. State the asymptote and the yyy-intercept of y=5ex−2y = 5e^x - 2y=5ex−2.
  1. State the domain and the asymptote of y=ln⁡(x−4)y = \ln(x - 4)y=ln(x−4).
  1. Find the inverse of f(x)=e3xf(x) = e^{3x}f(x)=e3x.
  1. Find xxx when ln⁡x=2\ln x = 2lnx=2. Give the answer to 333 significant figures.

References

  • Cambridge International, IGCSE Additional Mathematics 0606 syllabus (2025, 2026 and 2027), unit 6 Logarithmic and exponential functions.
  • OpenStax, Precalculus 2e, chapter 4 Exponential and Logarithmic Functions.

Enroll free in Logarithms, Exponentials and a First Look at Differentiation

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

Which power is it? Three short logarithms are to be evaluated without a calculator…Easy · High School (9–10) · by StemPy Lab
A decay model with a floor level is sketched: the quantity falls from its starting value towards a…Medium · High School (9–10) · by StemPy Lab
A scientist plots a scaled logarithm of a linear expression, and the graph is bounded on the left…Hard · High School (9–10) · by StemPy Lab
Next: lesson 2Laws of logarithms and equations
← Logarithms, Exponentials and a First Look at Differentiation
← PreviousLaws of logarithms and equations →

Discussion (0)

Log in to join the discussion.

Loading…

undo each other. You meet logarithms to any base, draw the graphs of
y=kenx+ay = ke^{nx} + ay=kenx+a
and
y=kln⁡(ax+b)y = k\ln(ax + b)y=kln(ax+b)
, and state their asymptotes and intercepts.
about 25 min1 simulation1 practice question1 Python program5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.