Skip to content
Gioi Toan
Start learning
A parabola on coordinate axes with a smiling ball rolling along it

Notes on Lesson 3: Exponential function. Logarithmic function (Maths 11 Canh Dieu, Chapter VI)

Lesson summary

Let aa be a positive real number different from 1.

+ Has a graph passing through the points (0;1)(0; 1), (1;a)(1; a) and always lying above the x-axis.

Tell apart two functions that look very similar: y=x2y = x^2 has the variable in the base (power function), while y=2xy = 2^x has the variable in the exponent (exponential function).

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Nhận biết hàm số mũ, hàm số lôgarit, đồ thị và tính chất

You have heard about saving money with compound interest: every year, the amount is multiplied by a fixed coefficient, so it grows faster and faster as time goes on. That "faster and faster" is exactly the sign of an exponential function, a function where the variable is in the exponent. Today's lesson helps you recognise the exponential function and the logarithmic function, read their graphs and properties, and then apply them to real problems such as calculating population, interest rate or pH.

Practise similar problems

Key ideas: what do you need to know?

Exponential function

  • Let aa be a positive real number different from 1. The function y=axy = a^x is called the exponential function with base aa.
  • The variable xx is in the exponent, the base aa is a positive constant different from 1.
  • Example: y=2xy = 2^x, y=(2)xy = \left(\sqrt{2}\right)^x, y=exy = e^x are exponential functions. The function y=2−xy = 2^{-x} is also an exponential function because 2−x=(12)x2^{-x} = \left(\frac{1}{2}\right)^x, base 12\frac{1}{2}. The function y=8x3=(813)x=2xy = 8^{\frac{x}{3}} = \left(8^{\frac{1}{3}}\right)^x = 2^x is an exponential function with base 2. The function y=x−2y = x^{-2} is not an exponential function because the variable is in the base.

In plain words: Tell apart two functions that look very similar: y=x2y = x^2 has the variable in the base (power function), while y=2xy = 2^x has the variable in the exponent (exponential function). The conditions a>0a > 0, a≠1a \ne 1 have a reason: if the base is negative then axa^x is not always meaningful (for example (−2)12(-2)^{\frac{1}{2}} is undefined), so no function can be set up on R\mathbb{R}; and if a=1a = 1 then 1x=11^x = 1 is a constant function, with nothing to study. When you meet an expression like 3−x3^{-x} or 8x38^{\frac{x}{3}}, use the properties of powers to bring it to the form bxb^x and point out the base.

Phrase by phrase
exponential function with base aa
The function y=axy = a^x with a>0a > 0, a≠1a \ne 1, variable in the exponent.Example: y=5xy = 5^x has base 5.
2−x=(12)x2^{-x} = \left(\frac{1}{2}\right)^x
Change the negative exponent to see clearly the base of the exponential function.Example: 3−x=(13)x3^{-x} = \left(\frac{1}{3}\right)^x.

Graph and properties of the exponential function

  • The exponential function y=axy = a^x:

+ Has domain R\mathbb{R} and range (0;+∞)(0; +\infty);
+ Is increasing on R\mathbb{R} when a>1a > 1 and decreasing on R\mathbb{R} when 0<a<10 < a < 1;
+ Is continuous on R\mathbb{R};
+ Has a graph passing through the points (0;1)(0; 1), (1;a)(1; a) and always lying above the x-axis.

  • Shape of the graph: when a>1a > 1, the graph goes up from left to right, getting closer to the x-axis on the left; when 0<a<10 < a < 1, the graph goes down from left to right, getting closer to the x-axis on the right.
  • Example: the table of values of y=(12)xy = \left(\frac{1}{2}\right)^x at x=−3;−2;−1;0;1;2;3x = -3; -2; -1; 0; 1; 2; 3 is 8;4;2;1;12;14;188; 4; 2; 1; \frac{1}{2}; \frac{1}{4}; \frac{1}{8}. The function y=(12)xy = \left(\frac{1}{2}\right)^x can also be written as y=2−xy = 2^{-x}.

In plain words: Every property can be read from the graph. The graph is always above the x-axis, so ax>0a^x > 0 for every xx, the range is (0;+∞)(0; +\infty). The graph always passes through (0;1)(0; 1) because a0=1a^0 = 1 for every base. If the base is greater than 1 the curve "climbs" (grows very fast), if the base is less than 1 it "goes down". The graph never touches the x-axis, it only gets closer and closer. When drawing, make a table of values with integer xx from −3-3 to 33, plot the points and join them with a smooth curve.

Phrase by phrase
the range is (0;+∞)(0; +\infty)
The value of axa^x is always positive and takes every positive number.Example: 2x2^x is never equal to 0 or negative.
Increasing on R\mathbb{R} when a>1a > 1
As xx increases, axa^x increases.Example: 23>222^3 > 2^2 because 3>23 > 2.
always lies above the x-axis
Every point of the graph has a positive y-coordinate.Example: (12)10=11024>0\left(\frac{1}{2}\right)^{10} = \frac{1}{1024} > 0.

Logarithmic function

  • Let aa be a positive real number different from 1. The function y=log⁡axy = \log_a x is called the logarithmic function with base aa.
  • The expression log⁡ax\log_a x is meaningful only when x>0x > 0.
  • Example: y=log⁡3xy = \log_{\sqrt{3}} x, y=log⁡xy = \log x, y=ln⁡xy = \ln x are logarithmic functions (with bases 3\sqrt{3}, 10, ee respectively). The function y=log⁡2−2xy = \log_{2^{-2}} x is a logarithmic function with base 14\frac{1}{4}. The function y=log⁡x2y = \log_x 2 is not a logarithmic function because the variable is in the base.

In plain words: The logarithmic function "asks backwards" the exponential function: log⁡28=3\log_2 8 = 3 because 23=82^3 = 8. Since a power of a positive base is always positive, you can only take the logarithm of a positive number; that is why the domain is (0;+∞)(0; +\infty). To recognise a logarithmic function, check two things: the variable xx is in the place of the "number whose logarithm is taken", and the base is a positive constant different from 1.

Phrase by phrase
logarithmic function with base aa
The function y=log⁡axy = \log_a x with a>0a > 0, a≠1a \ne 1.Example: y=log⁡3xy = \log_3 x has base 3.
is meaningful only when x>0x > 0
You cannot take the logarithm of 0 or a negative number.Example: log⁡2(−4)\log_2 (-4) is undefined.

Graph and properties of the logarithmic function

  • Logarithmic function y=log⁡axy = \log_a x:

+ Has domain (0;+∞)(0; +\infty) and range R\mathbb{R};
+ Increasing on (0;+∞)(0; +\infty) when a>1a > 1 and decreasing on (0;+∞)(0; +\infty) when 0<a<10 < a < 1;
+ Continuous on (0;+∞)(0; +\infty);
+ Has a graph passing through the points (1;0)(1; 0), (a;1)(a; 1) and always lying to the right of the y-axis.

  • Shape of the graph: when a>1a > 1, the graph goes up, getting closer and closer to the y-axis as xx approaches 0; when 0<a<10 < a < 1, the graph goes down, getting closer and closer to the y-axis as xx approaches 0.
  • Example: the table of values of y=log⁡12xy = \log_{\frac{1}{2}} x at x=8;4;2;1;12;14;18x = 8; 4; 2; 1; \frac{1}{2}; \frac{1}{4}; \frac{1}{8} is −3;−2;−1;0;1;2;3-3; -2; -1; 0; 1; 2; 3.

In plain words: The logarithmic graph lies entirely to the right of the y-axis because xx must be positive, and it always crosses the x-axis at (1;0)(1; 0) because log⁡a1=0\log_a 1 = 0. If the base is greater than 1, the graph goes up but very slowly: log⁡2x\log_2 x has to wait until x=1024x = 1024 to equal 10. If the base is less than 1, the graph goes down. When making a table of values, choose xx to be powers of the base (14;12;1;2;4\frac{1}{4}; \frac{1}{2}; 1; 2; 4 with base 2) so the values come out as integers, which makes plotting points very easy.

Phrase by phrase
the range is R\mathbb{R}
log⁡ax\log_a x takes every real value, including negative ones.Example: log⁡218=−3\log_2 \frac{1}{8} = -3.
always lies to the right of the y-axis
Every point of the graph has a positive x-coordinate.Example: No point of the graph of y=ln⁡xy = \ln x has x-coordinate −1-1.
(1;0)(1; 0), (a;1)(a; 1)
Two points that the graph always passes through because log⁡a1=0\log_a 1 = 0, log⁡aa=1\log_a a = 1.Example: The graph of y=log⁡5xy = \log_5 x passes through (1;0)(1; 0) and (5;1)(5; 1).

Common mistakesThinking that the graph of y=axy = a^x crosses the x-axis. The graph always lies above the x-axis, only getting closer and closer to it.

Exponential functions and logarithmic functions in real life

  • Exponential growth: population growth is estimated by the formula S=AertS = A{e^{rt}}, where AA is the population of the base year, SS is the population after tt years, and rr is the annual population growth rate.
  • Compound interest (extension): deposit an amount PP at an interest rate of rr per period, with interest added to the principal after each period; then after nn periods the amount is T=P(1+r)nT = P{(1 + r)^n}, an exponential function of nn with base 1+r>11 + r > 1.
  • pH of a solution (extension): pH=−log⁡x\text{pH} = -\log x, where xx is the hydrogen ion concentration (mol/L).
  • Example: with A=97,34A = 97,34 million, r=0,91%=0,0091r = 0,91\% = 0,0091, t=30t = 30 years (from 2020 to 2050), S=97,34⋅e0,0091⋅30≈127,90S = 97,34 \cdot e^{0,0091 \cdot 30} \approx 127,90 million people.

In plain words: Any quantity that gets multiplied by a fixed coefficient after each period (savings deposits, population, bacteria, decaying radioactive substances) follows an exponential function. A base greater than 1 means growth, less than 1 means decay. Logarithmic functions are used to "compress" quantities that span a very wide range, such as hydrogen ion concentration or sound level, onto a small, easy-to-use number scale. When doing exercises, first identify clearly what is the variable (usually time) and what is the constant, then substitute the numbers.

Phrase by phrase
S=AertS = A{e^{rt}}
Exponential growth formula: the population after tt years from the base year AA with rate rr.Example: A=100A = 100, r=0,02r = 0,02, t=10t = 10 give S=100e0,2S = 100e^{0,2}.
T=P(1+r)nT = P{(1 + r)^n}
The amount after nn periods of compound interest, where PP is the initial deposit.Example: Deposit 10 million at an interest rate of 5%5\% a year; after 2 years you get 10⋅1,052=11,02510 \cdot 1,05^2 = 11,025 million.
pH=−log⁡x\text{pH} = -\log x
pH calculated from the hydrogen ion concentration.Example: x=10−7x = 10^{-7}, then pH equals 7 (pure water).

Worked examples

Example 1

Among the following functions, which are exponential functions and which are logarithmic functions? State the base.
a) y=(0,5)xy = (0,5)^x; b) y=3−xy = 3^{-x}; c) y=x3y = x^3; d) y=log⁡2xy = \log_{\sqrt{2}} x; e) y=log⁡x3y = \log_x 3; f) y=exy = e^x.

Show the solution to example 1

Step 1: a) y=(0,5)xy = (0,5)^x has the form axa^x with a=0,5a = 0,5, 0<a≠10 < a \ne 1: an exponential function with base 0,50,5.
Step 2: b) 3−x=(13)x3^{-x} = \left(\frac{1}{3}\right)^x: an exponential function with base 13\frac{1}{3}.
Step 3: c) y=x3y = x^3 has the variable in the base and a constant exponent: it is not an exponential function, nor a logarithmic function.
Why: An exponential function must have the variable in the exponent and a constant positive base different from 1.
Step 4: d) y=log⁡2xy = \log_{\sqrt{2}} x is a logarithmic function with base 2\sqrt{2} (because 2>0\sqrt{2} > 0, 2≠1\sqrt{2} \ne 1).
Step 5: e) y=log⁡x3y = \log_x 3 has the variable in the base, so it is not a logarithmic function. f) y=exy = e^x is an exponential function with base ee.
Result: Exponential functions: a) base 0,50,5, b) base 13\frac{1}{3}, f) base ee; logarithmic function: d) base 2\sqrt{2}; c) and e) belong to neither type.

Common mistakesConfusing the exponential function y=2xy = 2^x with the function y=x2y = x^2. An exponential function has the variable in the exponent, and the base is a constant.

Common mistakesForgetting the condition on the base: treating y=1xy = 1^x or y=(−2)xy = (-2)^x as an exponential function. The base must be positive and different from 1.

TipDraw y=log⁡axy = \log_a x: choose x=a−2;a−1;1;a;a2x = a^{-2}; a^{-1}; 1; a; a^2, the values are in turn −2;−1;0;1;2-2; -1; 0; 1; 2.

Example 2

Draw the graph of the function y=3xy = 3^x. From the graph, state the range and whether the function is increasing or decreasing.

Show the solution to example 2

Step 1: Make a table of values: x=−2;−1;0;1;2x = -2; -1; 0; 1; 2 gives y=19;13;1;3;9y = \frac{1}{9}; \frac{1}{3}; 1; 3; 9.
Step 2: Plot the points (−2;19)\left(-2; \frac{1}{9}\right), (−1;13)\left(-1; \frac{1}{3}\right), (0;1)(0; 1), (1;3)(1; 3), (2;9)(2; 9) on the coordinate plane OxyOxy and join them with a smooth curve. On the left, the graph gets closer and closer to the x-axis but never touches it.
Step 3: The graph lies entirely above the x-axis and rises arbitrarily high, so the range is (0;+∞)(0; +\infty).
Step 4: The graph goes up from left to right, so the function is increasing on R\mathbb{R}.
Why: The base 3>13 > 1 matches the property that an exponential function is increasing when a>1a > 1.
Result: The graph passes through (0;1)(0; 1), (1;3)(1; 3) and lies above the x-axis; range (0;+∞)(0; +\infty); the function is increasing on R\mathbb{R}.

Example 3

Draw the graph of the function y=log⁡3xy = \log_3 x. From the graph, state the domain, the range, and whether the function is increasing or decreasing.

Show the solution to example 3

Step 1: Choose xx as a power of 3 so that the value is an integer: x=19;13;1;3;9x = \frac{1}{9}; \frac{1}{3}; 1; 3; 9 gives y=−2;−1;0;1;2y = -2; -1; 0; 1; 2.
Why: log⁡33k=k\log_3 3^k = k, so choosing x=3kx = 3^k means computing yy without a calculator.
Step 2: Plot the points (19;−2)\left(\frac{1}{9}; -2\right), (13;−1)\left(\frac{1}{3}; -1\right), (1;0)(1; 0), (3;1)(3; 1), (9;2)(9; 2), join them with a smooth curve; as xx approaches 0, the graph goes down, getting closer and closer to the y-axis.
Step 3: The graph lies to the right of the y-axis: domain (0;+∞)(0; +\infty). The graph extends down as low as we like and up as high as we like: range R\mathbb{R}.
Step 4: The graph goes up, so the function is increasing on (0;+∞)(0; +\infty) (base 3>13 > 1).
Result: Domain (0;+∞)(0; +\infty), range R\mathbb{R}, the function is increasing on (0;+∞)(0; +\infty); the graph passes through (1;0)(1; 0) and (3;1)(3; 1).

Example 4

Use the increasing, decreasing nature of the exponential function and the logarithmic function to compare:
a) 1,731,7^3 and 1,781,7^{\sqrt{8}}; b) 0,4−20,4^{-2} and 0,4−1,50,4^{-1,5}; c) log⁡0,53\log_{0,5} 3 and log⁡0,5π\log_{0,5} \pi.

Show the solution to example 4

Step 1: a) The function y=1,7xy = 1,7^x has base 1,7>11,7 > 1, so it is increasing. Since 8<9=3\sqrt{8} < \sqrt{9} = 3, we have 1,78<1,731,7^{\sqrt{8}} < 1,7^3.
Step 2: b) The function y=0,4xy = 0,4^x has base 0<0,4<10 < 0,4 < 1, so it is decreasing. Since −2<−1,5-2 < -1,5, we have 0,4−2>0,4−1,50,4^{-2} > 0,4^{-1,5}.
Why: For a decreasing function, a smaller exponent gives a greater value; check again: 0,4−2=6,250,4^{-2} = 6,25, 0,4−1,5≈3,950,4^{-1,5} \approx 3,95.
Step 3: c) The function y=log⁡0,5xy = \log_{0,5} x is decreasing on (0;+∞)(0; +\infty). Since 3<π3 < \pi, we have log⁡0,53>log⁡0,5π\log_{0,5} 3 > \log_{0,5} \pi.
Result: a) 1,73>1,781,7^3 > 1,7^{\sqrt{8}}; b) 0,4−2>0,4−1,50,4^{-2} > 0,4^{-1,5}; c) log⁡0,53>log⁡0,5π\log_{0,5} 3 > \log_{0,5} \pi.

Common mistakesComparing 0,4−20,4^{-2} and 0,4−1,50,4^{-1,5} by the habit "a bigger exponent means bigger" while forgetting that a base less than 1 makes the function decreasing.

TipBase greater than 1: the graph "goes uphill", the function is increasing. Base from 0 to 1: the graph "goes downhill", the function is decreasing. This is true for both axa^x and log⁡ax\log_a x.

Example 5

Find the domain of each function: a) y=ln⁡(5−x)y = \ln(5 - x); b) y=log⁡2(x2−4x+3)y = \log_2(x^2 - 4x + 3).

Show the solution to example 5

Step 1: a) The function is defined when 5−x>05 - x > 0, that is x<5x < 5. Domain D=(−∞;5)D = (-\infty; 5).
Why: A logarithmic function only makes sense when the expression we take the logarithm of is positive.
Step 2: b) We need x2−4x+3>0x^2 - 4x + 3 > 0. The quadratic has two solutions x=1x = 1, x=3x = 3, the coefficient of x2x^2 is positive, so it is positive when x<1x < 1 or x>3x > 3.
Step 3: Domain D=(−∞;1)∪(3;+∞)D = (-\infty; 1) \cup (3; +\infty).
Result: a) D=(−∞;5)D = (-\infty; 5); b) D=(−∞;1)∪(3;+∞)D = (-\infty; 1) \cup (3; +\infty).

Common mistakesFinding the domain of y=log⁡af(x)y = \log_a f(x) but setting f(x)≥0f(x) \ge 0. It must be f(x)>0f(x) > 0, because the logarithm of 0 is not defined.

TipExponential: domain R\mathbb{R}, range (0;+∞)(0; +\infty). Logarithm: swap the two sets, domain (0;+∞)(0; +\infty), range R\mathbb{R}.

Example 6

Uncle An deposits 100 million dong in the bank with an interest rate of 6%6\% a year, and each year the interest is added to the principal.
a) Write the formula for the amount AA (million dong) after nn years. Calculate the amount after 5 years (round to the hundredths place).
b) Calculate the amount after 11 years and after 12 years. From which year does the amount start to exceed 200 million dong?

Show the solution to example 6

Step 1: After each year the amount is multiplied by 1+0,06=1,061 + 0,06 = 1,06, so A=100⋅1,06nA = 100 \cdot 1,06^n.
Step 2: After 5 years: A=100⋅1,065≈133,82A = 100 \cdot 1,06^5 \approx 133,82 million dong.
Step 3: After 11 years: 100⋅1,0611≈189,83100 \cdot 1,06^{11} \approx 189,83 million; after 12 years: 100⋅1,0612≈201,22100 \cdot 1,06^{12} \approx 201,22 million.
Step 4: The function A=100⋅1,06nA = 100 \cdot 1,06^n is increasing (base 1,06>11,06 > 1), so for n≤11n \le 11 we have A≤189,83<200A \le 189,83 < 200, while for n≥12n \ge 12 we have A≥201,22>200A \ge 201,22 > 200.
Why: Being increasing lets us draw a conclusion for every year, without computing each year.
Result: a) A=100⋅1,06nA = 100 \cdot 1,06^n, after 5 years about 133,82133,82 million dong; b) about 189,83189,83 million and 201,22201,22 million; the amount exceeds 200 million from year 12.

Terms

Exponential function
The function y=axy = a^x with a>0a > 0, a≠1a \ne 1.Example: y=2xy = 2^x.
Logarithmic function
The function y=log⁡axy = \log_a x with a>0a > 0, a≠1a \ne 1.Example: y=ln⁡xy = \ln x.
Base
The fixed number aa in axa^x or log⁡ax\log_a x.Example: y=log⁡5xy = \log_5 x has base 5.
Domain
The set of values of xx that make the expression meaningful.Example: y=log⁡2xy = \log_2 x has domain (0;+∞)(0; +\infty).
Range
The set of all values yy that the function takes.Example: y=3xy = 3^x has range (0;+∞)(0; +\infty).
Increasing
As xx increases, yy increases.Example: y=2xy = 2^x is increasing on R\mathbb{R}.
Decreasing
As xx increases, yy decreases.Example: y=log⁡12xy = \log_{\frac{1}{2}} x is decreasing on (0;+∞)(0; +\infty).
Exponential growth
A quantity that is multiplied by a fixed coefficient after each period, described by an exponential function.Example: Population S=AertS = A{e^{rt}}.