Linearizing exponential and power functions

    Understanding Linearization

    Linearization is a statistical technique used to transform a non-linear relationship between two variables into a linear one. This is often done when the original scatterplot shows a curved pattern, making it difficult to apply linear regression models directly. By transforming one or both variables, we aim to achieve a scatterplot that appears roughly linear, allowing us to use least-squares regression to model the relationship and make predictions. The key advantage is that the properties of linear regression (e.g., slope, intercept, R-squared) can then be interpreted in the context of the transformed data.

    Why Linearize?

    • Simplify analysis: Linear regression is a well-understood and powerful tool. Transforming data to be linear allows us to leverage these tools.
    • Interpretability: The slope and intercept of a linear model have clear interpretations. While these interpretations change after transformation, they still provide valuable insights into the relationship.
    • Prediction: Once a linear model is fit to the transformed data, predictions can be made and then transformed back to the original scale.
    • Residual analysis: A linear relationship often leads to residuals that are randomly scattered around zero, indicating that a linear model is appropriate. Non-linear patterns in residuals suggest that the original model is not a good fit.

    Linearizing Exponential Functions

    An exponential function takes the form y = ab^x, where 'a' is the initial value (when x=0) and 'b' is the growth/decay factor. To linearize an exponential function, we apply a logarithmic transformation to the 'y' variable.

    Consider the equation: y = ab^x

    Taking the logarithm (base 10 or natural log, commonly natural log on the AP exam unless specified) of both sides:

    log(y) = log(ab^x)

    Using logarithm properties (log(MN) = log(M) + log(N) and log(M^k) = k log(M)):

    log(y) = log(a) + log(b^x)

    log(y) = log(a) + x * log(b)

    This equation is now in the form of a linear equation: Y = intercept + slope * X, where Y = log(y), intercept = log(a), slope = log(b), and X = x. If a scatterplot of (x, log(y)) appears linear, then the original relationship was exponential.

    Linearizing Power Functions

    A power function takes the form y = ax^b, where 'a' is a constant and 'b' is the exponent. To linearize a power function, we apply a logarithmic transformation to both the 'x' and 'y' variables.

    Consider the equation: y = ax^b

    Taking the logarithm of both sides:

    log(y) = log(ax^b)

    Using logarithm properties:

    log(y) = log(a) + log(x^b)

    log(y) = log(a) + b * log(x)

    This equation is now in the form of a linear equation: Y = intercept + slope * X, where Y = log(y), intercept = log(a), slope = b, and X = log(x). If a scatterplot of (log(x), log(y)) appears linear, then the original relationship was a power function.

    Identifying the Correct Transformation

    On the AP exam, you might be presented with two scatterplots: one of (x, log(y)) and one of (log(x), log(y)). To determine which transformation is more appropriate, you should look for the scatterplot that:

    • Appears most linear.
    • Has the most random residual plot (no clear pattern).

    After identifying the best linear transformation, you can perform least-squares regression on the transformed data. The regression equation (e.g., log(y) = c + mx or log(y) = c + m log(x)) can then be used to make predictions or interpret the coefficients. Remember to reverse the transformation for predictions on the original scale.

    Practice questions

    1

    A scientist models bacterial growth with the equation y = 5 * (2.5)^x, where y is the number of bacteria and x is time in hours. Which transformation would linearize this relationship?

    2

    If a scatterplot of (log x, log y) shows a strong linear pattern, what type of function best describes the original relationship between x and y?

    3

    After performing a least-squares regression on (x, log y) data, you obtain the equation log(y) = 0.3 + 0.15x. What is the predicted value of y when x = 10?

    4

    You are presented with two residual plots: one for a regression of (x, log y) and another for (log x, log y). How do you choose which transformed model is better?

    Practice more free →

    Free AP4U account — unlimited practice, AI grader, and progress tracking.

    Canonical: https://apforu.com/ap/statistics/unit-2-exploring-two-variable-data/linearizing-exponential-and-power-functions