How to Expand Log(a+b) for Best Fit Analysis?

  • Thread starter Thread starter Saoist
  • Start date Start date
  • Tags Tags
    Expanding
Click For Summary
SUMMARY

The discussion focuses on the mathematical expansion of the logarithmic function Log(a+b) and its application in best fit analysis. Participants clarify that while Log(a+b) can be expressed as Log(a) + Log(b+1) in certain contexts, it generally remains in its simplest form. The equation X^3 = (cY+d)^2 is explored, with contributors noting that it cannot be transformed into a linear y=mx+c format for direct plotting. Instead, they suggest using logarithmic transformations to analyze data points for regression, although this does not yield a straight line graph.

PREREQUISITES
  • Understanding of logarithmic functions and their properties
  • Familiarity with polynomial equations and their graphical representations
  • Knowledge of regression analysis techniques
  • Basic skills in data visualization and plotting
NEXT STEPS
  • Study the properties of logarithmic transformations in data analysis
  • Learn about polynomial regression techniques for fitting curves
  • Explore methods for visualizing non-linear relationships in data
  • Investigate the use of software tools like Python's NumPy and Matplotlib for regression analysis and plotting
USEFUL FOR

Mathematicians, data analysts, and researchers involved in statistical modeling and regression analysis will benefit from this discussion.

Saoist
Messages
28
Reaction score
0
anyoen know how to expand this? i can't think of any obvious way...
 
Mathematics news on Phys.org
What kind of result are you looking for - functions of a and b separately? As it stands, it is as simple as possible.
 
There's not much you can do. In some cases, it's useful to factor it as \log a+\log(b+1), but in general there's nothing simpler than the way you wrote it.
 
i have a deceptively simple question you see:

X^3 = (cY+d)^2

where c and d are constants, with x and y the variables. how would you plot the 2 variables as a straight line graph. I'm having an idiocy attack and can only think "log it..."
 
Take the log of Y and graph x, log y.
 
that doesn't plot that relationship as a straight line though does it?

i was under impression you had to transform [said equation] into a y=mx+c type form
 
Saoist said:
that doesn't plot that relationship as a straight line though does it?
i was under impression you had to transform [said equation] into a y=mx+c type form

You can't plot things like x^3=y^2 as a straight line on a normal graph.
 
I didn't mean that would give you a formula, but if you had a set of data, you could find the regression by plotting x, log y. It's not the answer but it's a way to get it.
 
Saoist said:
that doesn't plot that relationship as a straight line though does it?
i was under impression you had to transform [said equation] into a y=mx+c type form

No, none of log-log, log-linear or linear-log will make that equation a straight line.

What's the full context of the problem, do you have a number (more than 2) of x,y points and you wish to find constants c and d that give the "best fit" in some particular sense?
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
1K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 44 ·
2
Replies
44
Views
5K
  • · Replies 20 ·
Replies
20
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K