1

In my example I have a point $P$:

$P = (1,3)$

And another point $Q$

$Q = (8,8)$

I need to find a logarithmic function which passes through both $P$ and $Q$ and

$y = 8$ when $x > 8$.

I have no idea where to start. How can I go about finding such a function?

2 Answers2

3

If you want a curve of the form $y=a\log x + b$ you can just plug your two points in to find $a$ and $b$. We get $$3=a \log 1 +b\\8=a \log 8 +b\\3=b\\5=a\log 8\\a=\frac 5{\log 8}\\y=\frac 5{\log 8}\log x+3$$ The derivation does not care what base of logs you use. If you use $2$ the final expression simplifies to $$y=\frac 53\log_2 x +3$$

Ross Millikan
  • 374,822
  • Sorry my vagueness, my question was not specific enough. I need an example of a function that's the inverse of an exponential function, which starts at $P$ and passes through $Q$. However when $x>8$ then $y = 8$. So a function that is inverse of exponential and then stops increasing after $Q$ – Andrew Kor Jun 04 '18 at 17:54
  • To stop it increasing after $x=8$ you can just declare that $y=8$ for all $x \ge 8$. – Ross Millikan Jun 04 '18 at 17:59
0

Seeing one of the points is $(1,3)$ then solve the equation $a\cdot ln(8) + 3 = 8$

$a = \frac{5}{ln(8)} = 2.4045$

Hence $y = 2.4045\cdot ln(x) + 3$

Phil H
  • 5,579