How do you graph y=x3+3x26x?

2 Answers
Jan 7, 2018

graph{y=x^3+3x^2-6x [-10, 10, -5.08, 4.92]}

Explanation:

Make a table for x and y, and find some solutions that satisfy the equation y=x3+3x26x.

Plot 4 or 5 (x,y) dots on a coordinate plane.

Connect the dots.

Finished graph should look like this:

graph{y=x^3+3x^2-6x [-10, 10, -5.08, 4.92]}

Jan 7, 2018

Refer Explanation section

Explanation:

Given -

y=x3+3x26x

There is no constant term in the function. Hence, the curve passes through the origin.

Moreover, the turning points in the curve are very very important. This will help us to decide the range of xvalues we have to select.

dydx=3x2+6x6
dydx3x2+6x6=0
We shall try to solve using completing the square method.
3x2+6x=6
x2+2x=2 -- [devide all the terms by 3]
x2+2x+1=2+1 -- [take half of the coefficient of x, square it and add it to both sides]

(x+1)2=3
x+1=±3
x=±31
x=1.7321=0.732
x=1.7321=2.732

At x=0.732 and x=2.732 the curve turns.
Select a range of x values that includes these two values.

enter image source here

enter image source here