J's answer to Ah boy's Secondary 4 A Maths Singapore question.
done
{{ upvoteCount }} Upvotes
clear
{{ downvoteCount * -1 }} Downvotes
y = x³ + ax + b
For the equation Y = mX + C , you need constants C and m for the y-intercept and gradient respectively. The other terms are variables.
In this equation, you only have constants a and b.
What you can do is : divide both sides by x.
y/x = x² + a + b/x
Then, y/x - x² = b/x + a
y/x - x² = b(1/x) + a
So comparing this to the above,
Y = y/x - x², X = 1/x , m = b, C = a
(Disclaimer: the line is undefined for x = 0 since division by 0 is undefined. So it will work for lines that do not cut the y-intercept
Alternatively,
Simply subtract x³ on both sides (or you can call it 'bringing' over)
y - x³ = ax + b
Here, Y = y - x³, X = x, m = a, C = b
(This line equation is defined for when x = 0
and other values of x)
For the equation Y = mX + C , you need constants C and m for the y-intercept and gradient respectively. The other terms are variables.
In this equation, you only have constants a and b.
What you can do is : divide both sides by x.
y/x = x² + a + b/x
Then, y/x - x² = b/x + a
y/x - x² = b(1/x) + a
So comparing this to the above,
Y = y/x - x², X = 1/x , m = b, C = a
(Disclaimer: the line is undefined for x = 0 since division by 0 is undefined. So it will work for lines that do not cut the y-intercept
Alternatively,
Simply subtract x³ on both sides (or you can call it 'bringing' over)
y - x³ = ax + b
Here, Y = y - x³, X = x, m = a, C = b
(This line equation is defined for when x = 0
and other values of x)
Date Posted:
3 years ago
Typo : it should be 'do not cut the y-axis' instead of the 'do not cut the y-intercept'
If your data points do not include x = 0 , and only include either positive or negative values of x (x > 0 or x < 0, but not both) then the first way is okay.
Otherwise, do the second way.
If your data points do not include x = 0 , and only include either positive or negative values of x (x > 0 or x < 0, but not both) then the first way is okay.
Otherwise, do the second way.