Finding equation from logarithmic graph

6 replies · 3K views · last reply
dsm7272
Messages
3
Reaction score
0
I've spent some time researching and trying to find an equation for this line, but it's not exact. I'm only searching for the equation of the line that descends towards zero (the angled line). I plugged in some numbers and it does not match the graph, the line on the graph is steeper. I start with y=a*b^x, solve for a and b then solve to show what x equals (commission). I followed some log rules and end up with the equation you see below in the image.

Can anyone help me find the equation?View attachment 7643

View attachment 7644
 
Attachments
  • Red line on a grid graph of list equipment price in thousands of dollars against percent commission, descending from 4500 at 4% to 500 at 10%, then vertical at 10%.
    Screen Shot 2017-12-22 at 4.07.13 PM.png
    47.8 KB · Views: 163
  • Formula for Commission equal to log of PRICE over 500,000 times (1/9) raised to 0.1/0.06, divided by log of the 0.06th root of 1/9.
    Screen Shot 2017-12-22 at 4.12.17 PM.png
    6.4 KB · Views: 173
It seems you are making this more complicated than it needs to be - the line is straight - so a linear model should be sufficient. Can you find a linear equation that represents the line?
 
greg1313 said:
It seems you are making this more complicated than it needs to be - the line is straight - so a linear model should be sufficient. Can you find a linear equation that represents the line?

I think the y-axis is intended to be a logarithmic scale. Is the y-axis number scale wrong? Is that the problem?
The line was placed on some generic log scale graph, then a line was drawn.
 
Hi dsm7272,

It's pretty hard (if not impossible) for me to tell what logarithmic scale is being used and I think that information is crucial. Do you have any more information about the graph?
 
dsm7272 said:
I think the y-axis is intended to be a logarithmic scale. Is the y-axis number scale wrong? Is that the problem?
The line was placed on some generic log scale graph, then a line was drawn.

Hi dsm7272! Welcome to MHB! (Smile)

If I try to find the slope of the line segment with end points at prices 500 and 4500, I get $\frac{10\%-4\%}{\log(500) - \log(4500)} = -0.0628771$.
And from the formula the slope should be $\dfrac{1}{\log\sqrt[0.06]{\frac 19}} = -0.0628771$.
So that is a match.
 
I like Serena said:
Hi dsm7272! Welcome to MHB! (Smile)

If I try to find the slope of the line segment with end points at prices 500 and 4500, I get $\frac{10\%-4\%}{\log(500) - \log(4500)} = -0.0628771$.
And from the formula the slope should be $\dfrac{1}{\log\sqrt[0.06]{\frac 19}} = -0.0628771$.
So that is a match.
Thank you. Are you saying my equation is correct? Because when I go to plug in 1,500 as the price I get 7% commission. But, on the graph it's more like 7.4%. and that's where I'm confused. Maybe the scale of the graph is off?
 
dsm7272 said:
Thank you. Are you saying my equation is correct? Because when I go to plug in 1,500 as the price I get 7% commission. But, on the graph it's more like 7.4%. and that's where I'm confused. Maybe the scale of the graph is off?

Indeed!
The numbers have been placed wrong on the graph paper.
The graph should look like:
View attachment 7645

If I'm not mistaken, it could be fixed by putting all prices one line down.
That is, the 500 should be at the bottom. And 5000 should be at the top.
That is:
View attachment 7646
 
Attachments
  • Straight line plotted on semi-log graph paper, falling from about 5000 at x = 4 to about 500 at x = 10; y-axis labelled 100, 1000, 10000 and x-axis labelled 3 to 11.
    Price_Commission_LogPlot.png
    3.1 KB · Views: 164
  • Straight line plotted on a log-scale graph with minor gridlines, falling from upper left to lower right; horizontal axis labelled 3 to 7 and vertical axis labelled 500 at bottom and 5000 at top.
    Price_Commission_LogPlot2.png
    5 KB · Views: 168