Is this business graph an exponential or polynomial function?

In summary,-The Sales vs. Year graph is likely from a course, not from your business.-The graph looks exponential, but with only finitely many points given, you can always find a polynomial through those points. Such a polynomial would be of degree nine in your case.-The slope looks like it might hit zero at 0, so maybe this is really just a quadratic polynomial (which should have better extrapolation properties).
  • #1
jorgevf200002
1
0
TL;DR Summary
exponential or polynomial function
GRAPH WITH VALUES:

Sorry I have a small dilema, I don't know if this is a exponential or polynomial function. I'd think its exponential but it doesn't have same change of factors.
 
Physics news on Phys.org
  • #2
It looks exponential, but with only finitely many points given, you can always find a polynomial through those points. Such a polynomial would be of degree nine in your case.
 
  • Like
Likes docnet and jorgevf200002
  • #3
fresh_42 said:
It looks exponential, but with only finitely many points given, you can always find a polynomial through those points. Such a polynomial would be of degree nine in your case.
May I ask how in the world you knew the polynomial would be of degree nine?
 
  • #4
docnet said:
May I ask how in the world you knew the polynomial would be of degree nine?
We have ten points ##(x_0,y_0)##. Each gives a linear equation ##y_0=a_0+a_1x_0+a_2x_0^2+\ldots+a_nx_0^n##. Thus I have ##10## linear equations in the unknowns ##a_0,a_1,\ldots,a_n##. With ##n=9## we get ##10## equations and ##10## variables in a linear system. The chances that the coefficient matrix is not regular are practically zero.
 
  • Like
Likes docnet
  • #5
To elaborate on what @fresh_42 said, if you have two points, a linear polynomial (degree 1) can be fitted; with three points, a quadratic polynomial (degree 2) can be fitted. In general, if there are N points, a polynomial of degree N - 1 can be fitted.
 
  • Like
Likes docnet
  • #6
A standard way of testing if the graph is more or less exponential:
  1. Take the logs of all the values
  2. Find the best least-squares line through the logs
  3. (Check the "goodness of fit", r2)
  4. Calculate a new set of values from the least-square formula
  5. Take exponentials of the new values
  6. Plot the originals and the calculated new values in the same graph
  7. See if it looks promising
Remember: All measured data contain noise - even if you suspect a perfect fit, you will not get it.
 
  • Like
  • Informative
Likes DaveE, hutchphd, berkeman and 2 others
  • #7
The data is obviously a little noisy - we wouldn't require an exponential curve to literally pass through all the points, so we shouldn't require a polynomial to do so either. A degree four or five polynomial might fit it really well.

That said, you almost certainly want the exponential fit. The polynomial you fit is going to do pretty random stuff to the left and right of your data, the exponential will keep growing in an increasingly steep curve which is probably correct. Since the graph is in excel, I think you can just get it to graph best fit polynomials and exponentials for you to see what they look like.

That said, the slope looks like it might hit zero at 0, so maybe this is really just a quadratic polynomial (which should have better extrapolation properties).
 
  • Like
Likes DaveE
  • #8
jorgevf200002 said:
Summary:: exponential or polynomial function

GRAPH WITH VALUES:

Sorry I have a small dilema, I don't know if this is a exponential or polynomial function. I'd think its exponential but it doesn't have same change of factors.

BTW @jorgevf200002 -- Is this a schoolwork question? Your "Sales vs. Year" graph looks like it's from a course, not from your business...
 
  • Haha
Likes docnet
  • #9
berkeman said:
BTW @jorgevf200002 -- Is this a schoolwork question? Your "Sales vs. Year" graph looks like it's from a course, not from your business...
I think neither. My guess is, that it is either a wet dream or a business plan for the bankers.
 
  • Like
Likes SammyS and berkeman
  • #10
Exponential growth is the standard model for this sort of stuff, have never seen a polynomial sales projection
 
  • Like
Likes berkeman
  • #11
I'm not really sure why it can't be both, as when I find the log values as recommended by Svein in post #6, I get a curve.
The R2 values are interesting in that it appears to be better fit by a quadratic curve than a system generated exponential curve.
type of curve
exponential
0.8018​
quadratic
0.9941​
quadratic exponential
0.9966​
 
Last edited:
  • #12
When curve fitting, I normally use a spreadsheet to find the mathematical curve. Excel has a good solver, but LibreOffice does not, so I use a manual gradient search to minimize the sum squared error. I also like to plot the mathematical curve on top of the experimental data. An example quadratic fit for the data in the OP:
Quadratic.jpg


I next tried an equation of the form ##Y = A*X^n##, where both A and n are variables. This one has two variables, so it took about ten minutes to iterate both A and n. The optimal approach is to choose a value for n, then iterate A for minimum sum square error (SSErr in spreadsheet). Choose a new n, repeat. The results:
Polynomial.jpg


The table in rows 18 to 21 shows the effect of iterating the exponent. It would be easy to get another decimal place of accuracy in the exponent, but the resulting decrease in error would be minimal. I also see no need to add additional terms to this equation.

The same approach is easily adaptable to exponential, trigonometric, or other forms. Although more than two variables can be challenging to curve fit by manual methods. I like this method because I have direct visual evidence of the quality of the curve fit, it can be done with any spreadsheet, and it's easy.
 
  • Like
Likes OmCheeto and berkeman
  • #13
However this is a ‘business graph’ so if the number is, say, revenue you trivially know what the function is - sum(all sales in the business for the year). Sales then is a result of all the business operations - marketing, ops etc. Its trivial, but important to remember the reality behind the numbers and how crude an approximation will be by any simple equation

given that sales, or any other metric measuring growth in dollars is going to be heteroskedastic, a good first step is to take differences, maybe regressing on the log change - you then have linearized the data and OLS works fine. You can then add other explanatory variables if needed

Logically, it has to be some sort of logistic function - exponential in the early growth stages then flattening out as the business matures
 
Last edited:
  • #14
The rate of growth increases like an exponential function. You can graph the logarithm of the Y values. If they lie on a straight line, then the original data are exponential.
 
  • #15
I tried an exponential function on the data in the OP, ##Y = Ae^{X/B}##. That did not fit well, so I subtracted the A value: ##Y = -A + Ae^{X/B}## to force the equation to start at 0, 0. The optimized results of both of these equations are plotted below.
Exponential.jpg

Summarizing the equations and sum of square errors for the above curve fits:
Equation ... SSError
##Y = X^2## ... ... 10,522,000
## Y = AX^n## ... ... 512,000
##Y = Ae^{X/B}##... 2,191,000
##Y = -A + Ae^{X/B}##... 1,427,000

It looks like the polynomial of degree 3.2 is by far the best fit.

But simple curve fitting is (usually) not the best way to fit curves to data. The best way is to start by looking for the math underlying the original data. If the original data is from population growth with exponential basis, then the curve fit should be exponential, even if a polynomial would better fit the data.
 
Last edited:
  • Like
Likes OmCheeto
  • #16
Have Excel plot the data using a log scale for the ordinate and see what you get.
 
  • Like
Likes FactChecker
  • #17
Chestermiller said:
Have Excel plot the data using a log scale for the ordinate and see what you get.
I agree. That would be my first recommendation.
Here is what I got from an R program:
plotOfLogYasFunctionOfX.png


Residuals:
Min 1Q Median 3Q Max
-0.39081 -0.11329 0.07758 0.14110 0.26229

Coefficients:
Estimate Std. Error t value
(Intercept) 4.06994 0.16508 24.65
x 0.56936 0.02661 21.40
Pr(>|t|)
(Intercept) 7.83e-09 ***
x 2.39e-08 ***
---
Signif. codes:
0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.2417 on 8 degrees of freedom
Multiple R-squared: 0.9828, Adjusted R-squared: 0.9807
F-statistic: 458 on 1 and 8 DF, p-value: 2.392e-08
 
  • #18
FactChecker said:
I agree. That would be my first recommendation.
Here is what I got from an R program:
View attachment 288734

Residuals:
Min 1Q Median 3Q Max
-0.39081 -0.11329 0.07758 0.14110 0.26229

Coefficients:
Estimate Std. Error t value
(Intercept) 4.06994 0.16508 24.65
x 0.56936 0.02661 21.40
Pr(>|t|)
(Intercept) 7.83e-09 ***
x 2.39e-08 ***
---
Signif. codes:
0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Residual standard error: 0.2417 on 8 degrees of freedom
Multiple R-squared: 0.9828, Adjusted R-squared: 0.9807
F-statistic: 458 on 1 and 8 DF, p-value: 2.392e-08
Excel will do it automatically for you. All that needs to be done is to switch the vertical axis to a logarithmic scale with a single click.
 
  • Like
Likes FactChecker

1. What is an exponential function?

An exponential function is a mathematical function in which the independent variable appears in the exponent. It is often written in the form f(x) = a^x, where a is a constant and x is the independent variable.

2. How can I tell if a business graph represents an exponential or polynomial function?

The best way to determine if a business graph represents an exponential or polynomial function is to look at the shape of the graph. Exponential functions will have a curved, J-shaped graph, while polynomial functions will have a more linear, U-shaped graph.

3. What are the key differences between exponential and polynomial functions?

Exponential functions have a constant growth rate, meaning that the output increases at a faster and faster rate as the input increases. Polynomial functions, on the other hand, have a more gradual increase or decrease in the output as the input increases.

4. Can a business graph represent both an exponential and polynomial function?

No, a business graph can only represent one type of function at a time. However, it is possible for a business to experience both exponential and polynomial growth at different points in time, which may be reflected in different sections of the graph.

5. How can understanding the type of function represented by a business graph be useful?

Understanding the type of function represented by a business graph can provide valuable insights into the growth and success of a business. It can help predict future trends and inform decision-making processes for the company.

Similar threads

Replies
3
Views
2K
  • Differential Equations
Replies
1
Views
663
  • Precalculus Mathematics Homework Help
Replies
12
Views
1K
Replies
12
Views
1K
Replies
12
Views
2K
Replies
1
Views
2K
Replies
2
Views
793
Replies
2
Views
1K
Back
Top