Working with the line
- What is the equation of a line through (3,8) and (1,2)?
Does (3,2) lie on the line through (4,4) and (6,8)?
- Where does the line through (1,3) and (2,2) intersect with the
line through (1,1) and (2,5)?
3.If draw a curve, with positive slope then keeps getting
higher and higher. If it has a maximum though then the slope
must level off and then become negative. Similarly for a
minimum it must level off before becoming positive.
If we have a polynomial then we would like to find where
its slope is zero(as in where it levels off) and whether the
slope then becomes +ve(then a minimum) or -ve(then a max).
We can do this using mathematica since D[f[x],x] gives
us the slope of f[x] as a function of x. Then we would
like to know where this is zero. Can do this too by using
Solve[D[f[x],x]==0,x]. For the moment only looking at polynomials
so you only need to know that xn goes to nxn-1.
Using D[D[f[x],x],x] can check whether max or min.
Try these for tuesday:
- x3-2x+2
- 3x2+2x-8
and so on.