Lesson 13 of 42 · Functions, exponentials and logarithms

Graphs of powers, exponentials, logarithms and absolute value

Know the shape of each elementary graph, move it with shifts and reflections, and count solutions of an equation by counting where two graphs meet.

About 24 minutes

In this lesson

  • Describe the graphs of powers, roots, 1x\frac{1}{x}, exponentials, logarithms and absolute value from a few key points.
  • Apply shifts, reflections and the absolute value to a known graph.
  • Count the real solutions of an equation by comparing two graphs.

The idea

Know a handful of shapes by heart

Without a calculator, graph questions are answered by recognising a basic shape and a few of its points. Learn these.

Function Domain Shape and key points
y=x2y = x^2 all reals U-shaped, lowest point (0,0)(0, 0), symmetric about the yy-axis; passes (±1,1)(\pm 1, 1), (±2,4)(\pm 2, 4).
y=x3y = x^3 all reals Always increasing, flat at the origin, symmetric through the origin; passes (1,1)(1, 1), (−1,−1)(-1, -1), (2,8)(2, 8).
y=xy = \sqrt{x} x≥0x \geq 0 Starts at (0,0)(0, 0), rises ever more slowly; passes (1,1)(1, 1), (4,2)(4, 2), (9,3)(9, 3).
y=1xy = \frac{1}{x} x≠0x \neq 0 Two separate branches, in the first and third quadrants; the axes are asymptotes; passes (1,1)(1, 1), (−1,−1)(-1, -1).
y=axy = a^x, a>1a > 1 all reals Always positive, increasing, passes (0,1)(0, 1) and (1,a)(1, a); hugs the xx-axis on the left.
y=axy = a^x, 0<a<10 < a < 1 all reals Always positive, decreasing, passes (0,1)(0, 1); hugs the xx-axis on the right.
y=log⁡axy = \log_a x, a>1a > 1 x>0x > 0 Increasing, passes (1,0)(1, 0) and (a,1)(a, 1); plunges towards −∞-\infty next to the yy-axis.
y=∣x∣y = \lvert x \rvert all reals V-shaped, corner at (0,0)(0, 0), slopes −1-1 and 11.

Two facts link these. The exponential axa^x and the logarithm log⁡ax\log_a x are inverse functions, so their graphs are mirror images in the line y=xy = x: the point (0,1)(0, 1) on one becomes (1,0)(1, 0) on the other, and the horizontal asymptote y=0y = 0 becomes the vertical asymptote x=0x = 0. And y=(12)xy = \left(\frac{1}{2}\right)^x is y=2−xy = 2^{-x}, the mirror image of 2x2^x in the yy-axis.

Moving a graph

Start from a known graph y=f(x)y = f(x) and k>0k > 0.

New equation Effect on the graph
y=f(x)+ky = f(x) + k up by kk
y=f(x)−ky = f(x) - k down by kk
y=f(x−k)y = f(x - k) right by kk
y=f(x+k)y = f(x + k) left by kk
y=−f(x)y = -f(x) reflected in the xx-axis
y=f(−x)y = f(-x) reflected in the yy-axis
y=∣f(x)∣y = \lvert f(x) \rvert parts below the xx-axis flipped above it

The horizontal shifts feel backwards, and that is exactly why they are tested. In y=f(x−3)y = f(x - 3), the output that ff used to give at 00 now appears at x=3x = 3, so everything has moved right. Check any shift with one point: y=x−3y = \sqrt{x - 3} starts where the radicand is zero, at x=3x = 3.

Asymptotes move with the graph. y=2x−4y = 2^x - 4 has the horizontal asymptote y=−4y = -4; y=log⁡2(x+1)y = \log_2(x + 1) has the vertical asymptote x=−1x = -1 and the domain x>−1x > -1.

Absolute value of a function

y=∣f(x)∣y = \lvert f(x) \rvert keeps every point where ff is positive or zero and reflects the rest upwards. So y=∣x2−4∣y = \lvert x^2 - 4 \rvert is the U-shape of x2−4x^2 - 4 with the stretch between x=−2x = -2 and x=2x = 2, which dipped to −4-4, flipped into an arch that peaks at (0,4)(0, 4). The whole graph looks like a W: its two lowest points, at (±2,0)(\pm 2, 0), are sharp corners, and its middle peak is rounded. Compare y=f(∣x∣)y = f(\lvert x \rvert), which is a different operation: it copies the right half of the graph onto the left.

Counting solutions with graphs

The real solutions of f(x)=g(x)f(x) = g(x) are the xx-coordinates where the graphs of ff and gg meet. You often do not need the solutions themselves, only how many there are, and a rough sketch answers that. Two tools make the count reliable:

  • Monotonicity. If one side is increasing and the other decreasing, the graphs meet at most once. If you also find one solution, it is the only one.
  • Sign changes. If f−gf - g is positive at one point and negative at another, and both are unbroken in between, the graphs cross somewhere between them.

Decreasing on the whole domain

"Decreasing" means that a larger input always gives a smaller output. y=1xy = \frac{1}{x} falls on each branch separately, but it is not decreasing on its whole domain: −1<1-1 < 1 and 1−1=−1<1=11\frac{1}{-1} = -1 < 1 = \frac{1}{1}. The break at x=0x = 0 lets the graph jump from −∞-\infty to +∞+\infty.

Worked examples

Example 1: A shifted absolute value

Describe the graph of y=∣x−2∣−3y = \lvert x - 2 \rvert - 3: its corner, its intercepts and its shape.

  1. Start from y=∣x∣y = \lvert x \rvert, a V with its corner at the origin. x−2x - 2 moves it right by 2, and −3-3 moves it down by 3, so the corner is at (2,−3)(2, -3).

  2. The arms keep slopes −1-1 and 11, and the V still opens upwards, so the lowest value of yy is −3-3.

  3. xx-intercepts: ∣x−2∣=3\lvert x - 2 \rvert = 3 gives x−2=3x - 2 = 3 or x−2=−3x - 2 = -3, so x=5x = 5 or x=−1x = -1.

  4. yy-intercept: at x=0x = 0, y=∣−2∣−3=−1y = \lvert -2 \rvert - 3 = -1. A value table confirms the shape: at x=−1,0,2,4,5x = -1, 0, 2, 4, 5 the values are 0,−1,−3,−1,00, -1, -3, -1, 0.

Answer

A V opening upwards with its corner at (2,−3)(2, -3), crossing the xx-axis at −1-1 and 55 and the yy-axis at −1-1. Putting the corner at (−2,−3)(-2, -3) is the usual slip: x−2x - 2 moves the graph right, not left.

Example 2: A shifted logarithm

For y=log⁡2(x+4)−1y = \log_2(x + 4) - 1, give the domain, the asymptote and the intercepts.

  1. The argument must be positive: x+4>0x + 4 > 0, so the domain is x>−4x > -4. The graph of log⁡2x\log_2 x has moved 4 to the left and 1 down, so the vertical asymptote is x=−4x = -4.

  2. xx-intercept: log⁡2(x+4)=1\log_2(x + 4) = 1 means x+4=21=2x + 4 = 2^1 = 2, so x=−2x = -2.

  3. yy-intercept: at x=0x = 0, y=log⁡24−1=2−1=1y = \log_2 4 - 1 = 2 - 1 = 1.

  4. A value table: at x=−3.5,−3,−2,0,4x = -3.5, -3, -2, 0, 4 the values are −2,−1,0,1,2-2, -1, 0, 1, 2. The function increases, quickly near the asymptote and slowly further right.

Answer

Domain x>−4x > -4, vertical asymptote x=−4x = -4, xx-intercept −2-2, yy-intercept 11. Reading x+4x + 4 as a shift to the right would put the asymptote at x=4x = 4, which is wrong.

Example 3: How many solutions does x2=2xx^2 = 2^x have?

How many real numbers satisfy x2=2xx^2 = 2^x?

  1. Try small integers: x=2x = 2 gives 4=44 = 4 and x=4x = 4 gives 16=1616 = 16. That is two solutions already.

  2. Negative xx: as xx goes from −1-1 to 00, x2x^2 falls from 11 to 00 while 2x2^x rises from 12\frac{1}{2} to 11. At x=−1x = -1 the parabola is above (1>121 > \frac{1}{2}); at x=0x = 0 it is below (0<10 < 1). So they cross once between −1-1 and 00.

  3. Only once for negative xx: there x2x^2 is decreasing and 2x2^x increasing, so they can meet at most once.

  4. Positive xx: between 00 and 22 the exponential is above (at x=1x = 1, 2>12 > 1); at x=3x = 3, 9>89 > 8, so the parabola is above between the two crossings; beyond x=4x = 4 the exponential grows faster and stays above (at x=5x = 5, 32>2532 > 25). There are no further crossings.

Answer

Three real solutions: x=2x = 2, x=4x = 4, and one between −1-1 and 00. The tempting answer is two, from testing positive integers only.

Common traps

  • Shifting the wrong way

    f(x−3)f(x - 3) moves the graph 3 to the right, and f(x+3)f(x + 3) moves it 3 to the left. Confirm with one point: the special point of the original (a corner, a starting point, an asymptote) moves to where the bracket becomes what it was before.

  • Forgetting the domain of a logarithm or root

    y=log⁡3(x−2)y = \log_3(x - 2) does not exist for x≤2x \leq 2. An option that lists a point with x≤2x \leq 2 on that graph, or an intercept found there, can be rejected at once.

  • Calling a function with a break "decreasing"

    1x\frac{1}{x} decreases on each branch, but not on its whole domain. To test a claim of monotonicity, compare one input on each side of the break.

  • Confusing axa^x with xax^a

    2x2^x is an exponential (variable in the exponent), always positive; x2x^2 is a power (variable in the base), zero at the origin. Their graphs, growth and domains differ, and the test can put both in one equation.

Check yourself

Answer each question before you open its answer.

Question 1: Asymptote and intercept of a logarithm

Functions

For the graph of y=log⁡3(x−2)+1y = \log_3(x - 2) + 1, what are the vertical asymptote and the xx-intercept?

  1. A.Asymptote x=2x = 2; xx-intercept 73\frac{7}{3}
  2. B.Asymptote x=−2x = -2; xx-intercept −53-\frac{5}{3}
  3. C.Asymptote x=2x = 2; xx-intercept 33
  4. D.Asymptote x=2x = 2; xx-intercept 55
Show the answer

Answer: A. Asymptote x=2x = 2; xx-intercept 73\frac{7}{3}

Working

The argument x−2x - 2 must be positive, so the asymptote is x=2x = 2. For the intercept set y=0y = 0: log⁡3(x−2)=−1\log_3(x - 2) = -1, so x−2=3−1=13x - 2 = 3^{-1} = \frac{1}{3} and x=73x = \frac{7}{3}.

Why the other options are wrong

  • B. This shifts the graph left instead of right, as if the formula were log⁡3(x+2)+1\log_3(x + 2) + 1.
  • C. At x=3x = 3 the logarithm is 00, so y=1y = 1, not 00: this is where the shifted graph crosses the line y=1y = 1.
  • D. This solves log⁡3(x−2)=1\log_3(x - 2) = 1 instead of −1-1: the sign of the constant was lost when moving it across.

What carries over

The asymptote of a shifted logarithm is where its argument is zero; an intercept comes from converting the logarithm to a power.

Question 2: Counting solutions on a W-shaped graph

Functions

How many real solutions does ∣x2−4∣=4\lvert x^2 - 4 \rvert = 4 have?

  1. A.11
  2. B.22
  3. C.33
  4. D.44
Show the answer

Answer: C. 33

Working

Either x2−4=4x^2 - 4 = 4, so x=±22x = \pm 2\sqrt{2}, or x2−4=−4x^2 - 4 = -4, so x=0x = 0. That is three solutions. On the graph, the line y=4y = 4 cuts each outer arm once and touches the peak of the arch at (0,4)(0, 4).

Why the other options are wrong

  • A. This counts only x=0x = 0, where the line y=4y = 4 touches the top of the flipped arch, and misses the two outer branches.
  • B. This solves only x2−4=4x^2 - 4 = 4 and forgets the case x2−4=−4x^2 - 4 = -4.
  • D. This treats x2=0x^2 = 0 as giving two solutions. It gives only x=0x = 0.

What carries over

An equation ∣f(x)∣=k\lvert f(x) \rvert = k splits into f(x)=kf(x) = k and f(x)=−kf(x) = -k; count the distinct roots of both.

Question 3: Decreasing on the whole domain

Functions

Which function is decreasing on its whole domain?

  1. A.y=1xy = \dfrac{1}{x}
  2. B.y=(12)xy = \left(\frac{1}{2}\right)^x
  3. C.y=log⁡2xy = \log_2 x
  4. D.y=−x2y = -x^2
Show the answer

Answer: B. y=(12)xy = \left(\frac{1}{2}\right)^x

Working

An exponential with base between 0 and 1 decreases for every xx: each step of 1 to the right halves the value. The reciprocal function fails across its break, the logarithm with base 2 increases, and −x2-x^2 rises up to x=0x = 0 before falling.

Why the other options are wrong

  • A. It decreases on each branch, but −1<1-1 < 1 while 1−1<11\frac{1}{-1} < \frac{1}{1}, so it is not decreasing across the break at 00.
  • C. A logarithm with base greater than 1 is increasing.
  • D. This increases for x<0x < 0 and decreases only for x>0x > 0.

What carries over

To test monotonicity, compare two inputs, including one on each side of any break in the domain.

Key points

  • axa^x passes (0,1)(0, 1) with asymptote y=0y = 0; log⁡ax\log_a x passes (1,0)(1, 0) with asymptote x=0x = 0; they mirror each other in y=xy = x.

  • f(x−k)f(x - k) moves right, f(x)+kf(x) + k moves up; check any shift with one point.

  • ∣f(x)∣\lvert f(x) \rvert flips the negative parts of the graph upwards.

  • The number of solutions of an equation is the number of meeting points of two graphs; monotonicity and sign changes pin the count down.

All questions here are original and written for UniExamer; none comes from the test maker.

Written by the UniExamer team with AI assistance. Every worked example and check question was re-solved by an independent checker before publication. No subject expert has reviewed this lesson yet. If you find a mistake, write to support@uniexamer.com.

Bu konuyu çalış

Bu beceride çözümlü açıklamalarla yeni sorular. Çalışma için Single Exam Pass veya Plus gerekir.