I'm not sure if this is the right term, but I want to 'linearise' an equation of the form $y=ax+bx^3$. What I mean is that if I had another function $y=e^x$, then I can plot $\ln(y)$ against $x$ and I would get a straight line. From there, it's easy to determine the y-intercept and slope. How can I do something similar for this cubic, if possible?
2026-03-29 19:07:49.1774811269
Linearising a cubic function
2.7k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in LINEAR-ALGEBRA
- An underdetermined system derived for rotated coordinate system
- How to prove the following equality with matrix norm?
- Alternate basis for a subspace of $\mathcal P_3(\mathbb R)$?
- Why the derivative of $T(\gamma(s))$ is $T$ if this composition is not a linear transformation?
- Why is necessary ask $F$ to be infinite in order to obtain: $ f(v)=0$ for all $ f\in V^* \implies v=0 $
- I don't understand this $\left(\left[T\right]^B_C\right)^{-1}=\left[T^{-1}\right]^C_B$
- Summation in subsets
- $C=AB-BA$. If $CA=AC$, then $C$ is not invertible.
- Basis of span in $R^4$
- Prove if A is regular skew symmetric, I+A is regular (with obstacles)
Related Questions in LINEAR-REGRESSION
- How does the probabilistic interpretation of least squares for linear regression works?
- A question regarding standardized regression coefficient in a regression model with more than one independent variable
- Product of elements of a linear regression
- Covariance of least squares parameter?
- Contradiction in simple linear regression formula
- Prove that a random error and the fitted value of y are independent
- Is this a Generalized Linear Model?
- The expected value of mean sum of square for the simple linear regression
- How to get bias-variance expression on linear regression with p parameters?
- Relationship between noise term ($\epsilon$) and MLE solution for Linear Regression Models.
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Your equation $y=ax+bx^3$ is already linear in $a$ and $b$. So you don't need to linearize it. You just find the values of $a$ and $b$ that minimize the residual error
$$\sum_{i=1}^n(y_i-ax_i-bx_i^3)^2,$$
assuming you have measured $n$ data points $(x_i,y_i)$ with unbiased, uncorrelated errors of equal variance. Linear algebra helps find the solution more quickly. Think of $X_1=(x_1,x_2,\ldots,x_n)^T$ as one vector, $X_2=(x_1^3,x_2^3,\ldots,x_n^3)^T$ as another vector, and we wish to use any linear combination $aX_1+bX_2\,$ of them to approximate the vector $\,Y=(y_1,y_2,\ldots,y_n)^T$. The residual error vector $e=Y-aX_1-bX_2\,$ and we want to minimize $\Vert e\Vert^2$. In general we can decompose $Y$ into
$$Y=Y_{\parallel}+Y_{\perp},$$
where $Y_{\parallel}$ is in the 2D subspace spanned by $X_1$ and $X_2$ while $Y_{\perp}$ is in the orthogonal complement space. Then we have
$$\Vert e\Vert^2=\Vert Y_{\parallel}-aX_1-bX_2\Vert^2+\Vert Y_{\perp}\Vert^2,$$
satisfying Pythagoras theorem. To minimize $\Vert e\Vert^2$, we choose $Y_{\parallel}=aX_1+bX_2$, so that $\,e=Y_{\perp}$ is perpendicular to both $X_1$ and $X_2$. This then gives us an equation
$$0=\begin{pmatrix}X_1^T\\X_2^T\end{pmatrix}e=\begin{pmatrix}X_1^T\\X_2^T\end{pmatrix}\left[Y-\begin{pmatrix}X_1\;\;X_2\end{pmatrix}\begin{pmatrix}a\\b\end{pmatrix}\right]\!,$$
which then determines the coefficients
$$\begin{pmatrix}a\\b\end{pmatrix}=\begin{pmatrix}X_1^TX_1\;\;X_1^T X_2\\X_2^TX_1\;\;X_2^TX_2\end{pmatrix}^{-1}\begin{pmatrix}X_1^TY\\X_2^TY\end{pmatrix}=\begin{pmatrix}\sum_ix_i^2\;\;\sum_i x_i^4\\ \sum_i x_i^4\;\;\sum_i x_i^6\end{pmatrix}^{-1}\begin{pmatrix}\sum_ix_iy_i\\ \sum_ix_i^3y_i\end{pmatrix}.$$
There are cases where you need to "linearize" your equation before applying the above formalism. In Logistic regression $\,y=1/[1+e^{-a(x-\mu)}]$, for example, you do $\,\ln\,[y/(1-y)]=ax+b\,$ to find $a$ and $b$. In Gaussian regression you do $\,\ln y=a+bx+cx^2$.