Why Does y=c*a^x Not Fit Data w/Negative Y & Positive X?

  • Thread starter jimmy123
  • Start date
  • Tags
    Exponential
In summary, the conversation discusses the limitations of fitting data with negative y-values and positive x-values using the exponential function y=c*a^x, and suggests using y=c*a^x+b for better results. It also shows that the function can be adjusted to fit different sets of points by manipulating the parameters c and a. Finally, an example is given to demonstrate how to find an exponential function that fits specific points.
  • #1
jimmy123
1
0
i don't understand this...why will y=c*a^x not fit data which has negative y-values and positive x-values?... Will that same data fit y=c*a^x+b?

thanks in advance
 
Physics news on Phys.org
  • #2
Think about this: What is the domain and range of [tex]y=ca^x[/tex]? As [tex]x[/tex] increases or decreases, will the domain and range change? It helps to look at a graph of this exponential function.
 
  • #3
jimmy123 said:
i don't understand this...why will y=c*a^x not fit data which has negative y-values and positive x-values?... Will that same data fit y=c*a^x+b?

thanks in advance

??Actually it might. You just have to take c to be negative! Since a^x itself is always positive (whether x is negative or positive, c*a^x will be negative as long as c is negative.

If you want to try to fit to points that have y values both positive and negative, then you will have to try something like c*a^x+ b.

Of course, in the first case, since you have only two parameters, a and c, to determine, you can force it to fit more than two points. y= c*a^x+ b as three parameters, so you can fit that to three points.
 
  • #4
Halls makes a good point.
Rather than analyzing the function with positive and negative values of [tex]c[/tex] and [tex]a[/tex], you can fit any two points with this function since it is in its most general form. Plus, you don't have to assume [tex]c[/tex] is restricted to be a positive number.

Try this: Find an exponential function in the form [tex]y=ca^x[/tex] by solving for [tex]c[/tex] and [tex]a[/tex] to fit points [tex](-2,-3)[/tex] and [tex](3,2)[/tex].
 

1. Why does the equation y=c*a^x not fit data with negative y and positive x?

The equation y=c*a^x is an exponential growth equation, which means that as x increases, y also increases. However, when x is negative, the value of a^x becomes very small and approaches 0, making y very close to 0 as well. This does not fit with the data that has negative y values.

2. Can the equation be modified to fit the data?

Yes, the equation can be modified to fit the data by adding a constant term. The modified equation would be y=c*a^x + b, where b is a constant value that can shift the curve up or down to fit the data with negative y values.

3. Why does the equation still not fit perfectly even with the added constant term?

The added constant term can help make the curve fit better, but it may still not fit perfectly due to other factors such as experimental error or the presence of outliers in the data.

4. Are there any other equations that can fit data with negative y values and positive x values?

Yes, there are other equations that can fit such data, such as logarithmic functions or power functions. These equations have different properties and may fit the data better depending on the nature of the data.

5. How do I determine which equation is the best fit for my data?

The best way to determine the best fit equation for your data is by plotting the data and visually inspecting the curve. You can also use statistical analysis techniques such as regression analysis to determine the equation that best fits the data. It is important to also consider the properties of the data and the theoretical basis for choosing a particular equation.

Similar threads

  • Calculus
Replies
3
Views
977
Replies
3
Views
1K
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
493
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
760
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
893
Replies
3
Views
333
Replies
22
Views
1K
Replies
7
Views
741
Back
Top