Why Did My Cubic Equation Plot as a Curve Instead of a Line?

In summary, the conversation discusses converting a cubic equation into a linear equation to plot it on a graph. The process involves changing variables and writing them on different axes. The final linear equation given is x+y = (q/p)x3 + q.
  • #1
Kyoma
97
0
Okay, I was doing some questions concerning linear law when I came across a question that asked me to convert a cubic equation into a 'linear equation' so that I can draw it on a graph.

Cubic Equation:

p(x+y-q) = qx3

Then, I convert the above equation into:

y/x2 = (q/p)x

However, when I tried plotting the graph. Letting y/x2 to be the y-axis and x to be the x-axis, I got a curve, instead of a line!

What's wrong?
 
Physics news on Phys.org
  • #2
But then your y-axis is dependent on your x-axis, that's VERY odd.

The procedure you have to go through is probably more like the following:

Say y = e^x and we want to represent is linearly, what do we do? Well we know that to get x downstairs, we can use the ln function: ln(y) = x

Now we draw a regular y' = x and on the y'-axis we write y' = ln(y)

So it basically comes down to: changing your variables! I've just done an example where I replaced y, but I think I'd replace x in your example, so that you have to write on the x'-axis: x' = f(x); what is f?
 
  • #3
?

The answer given to me is:

x+y = (q/p)x3 + q

Letting x+y to be the y-axis and x3 to be the x-axis, I indeed got a straight line graph...
 

FAQ: Why Did My Cubic Equation Plot as a Curve Instead of a Line?

What is Linear Law?

Linear Law, also known as the Law of Proportionality, states that the relationship between two variables is directly proportional. This means that as one variable increases, the other variable also increases in a linear fashion.

How do you know if a relationship is linear?

A relationship is considered linear if the data points on a graph form a straight line when plotted. This indicates that there is a constant rate of change between the two variables.

What is the equation for Linear Law?

The equation for Linear Law is y = mx + b, where y is the dependent variable, x is the independent variable, m is the slope of the line, and b is the y-intercept.

What is the significance of the slope in Linear Law?

The slope of a linear relationship represents the rate of change between the two variables. It tells us how much the dependent variable changes for every one unit change in the independent variable.

How is Linear Law used in science?

Linear Law is used in science to analyze and understand the relationship between two variables. It is commonly used in fields such as physics, chemistry, and biology to make predictions and draw conclusions based on experimental data.

Similar threads

Replies
17
Views
2K
Replies
9
Views
2K
Replies
14
Views
2K
Replies
6
Views
2K
Replies
7
Views
10K
Replies
7
Views
2K
Replies
4
Views
1K
Replies
2
Views
1K
Back
Top