Presentation is loading. Please wait.

Presentation is loading. Please wait.

Worked examples and exercises are in the text STROUD PROGRAMME 12 CURVES AND CURVE FITTING.

Similar presentations


Presentation on theme: "Worked examples and exercises are in the text STROUD PROGRAMME 12 CURVES AND CURVE FITTING."— Presentation transcript:

1 Worked examples and exercises are in the text STROUD PROGRAMME 12 CURVES AND CURVE FITTING

2 Worked examples and exercises are in the text STROUD Introduction Standard curves Asymptotes Systematic curve sketching, given the equation of the curve Curve fitting Method of least squares Programme 12: Curves and curve fitting

3 Worked examples and exercises are in the text STROUD Introduction Standard curves Asymptotes Systematic curve sketching, given the equation of the curve Curve fitting Method of least squares Programme 12: Curves and curve fitting

4 Worked examples and exercises are in the text STROUD Introduction Programme 12: Curves and curve fitting The purpose of this Programme is to develop methods for establishing the relationship between two variables whose values have been obtained by experiment. Before doing this it is necessary to consider the algebraic relationships that give rise to standard geometric shapes.

5 Worked examples and exercises are in the text STROUD Introduction Standard curves Asymptotes Systematic curve sketching, given the equation of the curve Curve fitting Method of least squares Programme 12: Curves and curve fitting

6 Worked examples and exercises are in the text STROUD Standard curves Straight line Second-degree curves Third-degree curves Circle Ellipse Hyperbola Logarithmic curves Exponential curves Hyperbolic curves Trigonometric curves Programme 12: Curves and curve fitting

7 Worked examples and exercises are in the text STROUD Standard curves Straight line Programme 12: Curves and curve fitting The equation of a straight line is a first-degree relationship and can always be expressed in the form: where m = dy/dx is the gradient of the line and c is the y value where the line crosses the y-axis – the vertical intercept.

8 Worked examples and exercises are in the text STROUD Standard curves Second-degree curves Programme 12: Curves and curve fitting The simplest second-degree curve is expressed by: Its graph is a parabola, symmetrical about The y-axis and existing only for y  0. y = ax 2 gives a thinner parabola if a > 1 and a flatter parabola if 0 < a < 1. The general second-degree curve is: where a, b and c determine the position,‘width’ and orientation of the parabola.

9 Worked examples and exercises are in the text STROUD Standard curves Second-degree curves (change of vertex) Programme 12: Curves and curve fitting If the parabola: is moved parallel to itself to a vertex position (2, 3), for example, its equation relative to the new axes is where Y = y – 3 and X = x – 2. Relative to the original axes this gives

10 Worked examples and exercises are in the text STROUD Standard curves Second-degree curves Programme 12: Curves and curve fitting Note: If: and a < 0 then the parabola is inverted. For example:

11 Worked examples and exercises are in the text STROUD Standard curves Third-degree curves Programme 12: Curves and curve fitting The basic third-degree curve is: which passes through the origin. The curve: is the reflection in the vertical axis.

12 Worked examples and exercises are in the text STROUD Standard curves Third-degree curves Programme 12: Curves and curve fitting The general third-degree curve is: Which cuts the x-axis at least once.

13 Worked examples and exercises are in the text STROUD Standard curves Circle Programme 12: Curves and curve fitting The simplest case of the circle is with centre at the origin and radius r. The equation is then

14 Worked examples and exercises are in the text STROUD Standard curves Circle Programme 12: Curves and curve fitting Moving the centre to (h, k) gives: where: The general equation of a circle is:

15 Worked examples and exercises are in the text STROUD Standard curves Ellipse Programme 12: Curves and curve fitting The equation of an ellipse is: If a > b then a is called the semi-major axis and b is called the semi-minor axis.

16 Worked examples and exercises are in the text STROUD Standard curves Hyperbola Programme 12: Curves and curve fitting The equation of an hyperbola is: When y = 0, x = ± a and when x = 0, y 2 = –b 2 and the curve does not cross the y-axis. Note: The two opposite arms of the hyperbola gradually approach two straight lines (asymptotes).

17 Worked examples and exercises are in the text STROUD Standard curves Rectangular hyperbola Programme 12: Curves and curve fitting If the asymptotes are at right angles to each other, the curve is a rectangular hyperbola. If the curve is rotated through 45 o so that the asymptotes coincide with the coordinate axes the equation is then:

18 Worked examples and exercises are in the text STROUD Standard curves Logarithmic curves Programme 12: Curves and curve fitting If y = log x, then when: so the curve crosses the x-axis at x = 1 Also, log x does not exist for real x < 0.

19 Worked examples and exercises are in the text STROUD Standard curves Logarithmic curves Programme 12: Curves and curve fitting The graph of y = ln x also has the same shape and crosses the x-axis at x = 1. The graphs of y = alog x and y = aln x are similar but with all ordinates multiplied by the constant factor a.

20 Worked examples and exercises are in the text STROUD Standard curves Exponential curves Programme 12: Curves and curve fitting The curve y = e x crosses the y-axis at x = 0. As x   so y   as x  −  so y  0 Sometimes called the growth curve.

21 Worked examples and exercises are in the text STROUD Standard curves Exponential curves Programme 12: Curves and curve fitting The curve y = e −x crosses the y-axis at y = 1. As x   so y  0 as x  −  so y   Sometimes called the decay curve.

22 Worked examples and exercises are in the text STROUD Standard curves Exponential curves Programme 12: Curves and curve fitting The curve: passes through the origin and tends to the asymptote y = a as x  .

23 Worked examples and exercises are in the text STROUD Standard curves Hyperbolic curves Programme 12: Curves and curve fitting The combination of the curves for: gives the hyperbolic cosine curve:

24 Worked examples and exercises are in the text STROUD Standard curves Hyperbolic curves Programme 12: Curves and curve fitting Another combination of the curves for: gives the hyperbolic sine curve:

25 Worked examples and exercises are in the text STROUD Standard curves Hyperbolic curves Programme 12: Curves and curve fitting Plotting these last two curves together shows that: is always outside:

26 Worked examples and exercises are in the text STROUD Standard curves Trigonometric curves Programme 12: Curves and curve fitting The sine curve is given as:

27 Worked examples and exercises are in the text STROUD Introduction Standard curves Asymptotes Systematic curve sketching, given the equation of the curve Curve fitting Method of least squares Programme 12: Curves and curve fitting

28 Worked examples and exercises are in the text STROUD Asymptotes Determination of an asymptote Asymptotes parallel to the x- and y-axes Programme 12: Curves and curve fitting

29 Worked examples and exercises are in the text STROUD Asymptotes Determination of an asymptote Programme 12: Curves and curve fitting An asymptote to a curve is a line to which the curve approaches as the distance from the origin increases. To find the asymptote to: (a)Substitute y = mx + c in the given equation and simplify (b)Equate to zero the coefficients of the two highest powers of x (c)Determine the values of m and c to find the equation of the asymptote.

30 Worked examples and exercises are in the text STROUD Programme 12: Curves and curve fitting For example, to find the asymptote to the curve: Substitute y = mx + c into the equation to obtain: Equate the coefficients of x 3 and x 2 to zero to obtain: Giving the asymptote: Asymptotes Determination of an asymptote

31 Worked examples and exercises are in the text STROUD Asymptotes Asymptotes parallel to the x- and y-axes Programme 12: Curves and curve fitting For the curve y = f (x), the asymptotes parallel to the y-axis can be found by equating the coefficient of the highest power of y to zero. Therefore for: The asymptotes are given by: That is:

32 Worked examples and exercises are in the text STROUD Asymptotes Asymptotes parallel to the x- and y-axes Programme 12: Curves and curve fitting For the curve y = f (x), the asymptotes parallel to the x-axis can be found by equating the coefficient of the highest power of x to zero. Therefore for: The asymptote is given by: That is:

33 Worked examples and exercises are in the text STROUD Introduction Standard curves Asymptotes Systematic curve sketching, given the equation of the curve Curve fitting Method of least squares Programme 12: Curves and curve fitting

34 Worked examples and exercises are in the text STROUD Systematic curve sketching, given the equation of the curve Symmetry Intersection with the axes Change of origin Asymptotes Large and small values of x and y Stationary points Limitations Programme 12: Curves and curve fitting

35 Worked examples and exercises are in the text STROUD Systematic curve sketching, given the equation of the curve Symmetry Programme 12: Curves and curve fitting Inspect the equation for symmetry: (a)If only even powers of y occur, the curve is symmetrical about the x-axis (b)If only even powers of x occur, the curve is symmetrical about the y-axis (c)If only even powers of x and y occur, the curve is symmetrical about both axes

36 Worked examples and exercises are in the text STROUD Systematic curve sketching, given the equation of the curve Intersection with the axes Programme 12: Curves and curve fitting Points at which the curve crosses the x- and y-axes: Crosses the x-axis: Put y = 0 and solve for x Crosses the y-axis: Put x = 0 and solve for y For example, the curve Crosses the x-axis at x = −10 Crosses the y-axis at y = 2 and −5

37 Worked examples and exercises are in the text STROUD Systematic curve sketching, given the equation of the curve Change of origin Programme 12: Curves and curve fitting Look for a possible change of origin to simplify the equation. For example, if, for the curve The origin is changed by putting Y = y + 3 and X = x – 4, the equation becomes that of a parabola symmetrical about the Y axis:

38 Worked examples and exercises are in the text STROUD Systematic curve sketching, given the equation of the curve Asymptotes Programme 12: Curves and curve fitting The asymptotes parallel with the coordinate axes are found by: (a)For the curve y = f (x), the asymptotes parallel to the x-axis can be found by equating the coefficient of the highest power of x to zero. (b)For the curve y = f (x), the asymptotes parallel to the y-axis can be found by equating the coefficient of the highest power of y to zero. (c)General asymptotes are found by substituting y = mx + c in the given equation, simplifying and equating to zero the coefficients of the two highest powers of x to find the values of m and c.

39 Worked examples and exercises are in the text STROUD Systematic curve sketching, given the equation of the curve Large and small values of x and y Programme 12: Curves and curve fitting If x or y is small, higher powers of x or y become negligible and hence only lower powers of x or y appearing in the equation provide an approximate simpler form

40 Worked examples and exercises are in the text STROUD Systematic curve sketching, given the equation of the curve Stationary points Programme 12: Curves and curve fitting Stationary points exists where: If further:

41 Worked examples and exercises are in the text STROUD Systematic curve sketching, given the equation of the curve Limitations Programme 12: Curves and curve fitting Restrictions on the possible range of values that x or y may have. For example:

42 Worked examples and exercises are in the text STROUD Introduction Standard curves Asymptotes Systematic curve sketching, given the equation of the curve Curve fitting Method of least squares Programme 12: Curves and curve fitting

43 Worked examples and exercises are in the text STROUD Curve fitting Programme 12: Curves and curve fitting Readings of two related variables from a test or experiment normally include errors of various kinds and so the points that are plotted from the data are scattered about the positions they should ideally occupy. Having plotted the points a graph is then drawn through the scattered points to approximate to the relationship between the two variables. From the parameters involved in this graph an algebraic form for the relationship is then deduced.

44 Worked examples and exercises are in the text STROUD Curve fitting Straight-line law Graphs of the form y = ax n, where a and n are constants Graphs of the form y = ae nx Programme 12: Curves and curve fitting

45 Worked examples and exercises are in the text STROUD Curve fitting Straight-line law Programme 12: Curves and curve fitting If the assumption that the two variables x and y whose values are taken from experiment are linearly related then their relationship will be expressed algebraically as: where a represents the gradient of the straight line and b represents the vertical intercept From a plot of the data, a straight line is drawn through the data as the ‘line of best fit’. The values of a and b are then read off from the graph.

46 Worked examples and exercises are in the text STROUD Curve fitting Graphs of the form y = ax n, where a and n are constants Programme 12: Curves and curve fitting Taking logarithms of both sides of the equation: yields: If data is collected for the x and y values then these must be converted to X and Y values where: So that:

47 Worked examples and exercises are in the text STROUD Curve fitting Graphs of the form y = ae nx Programme 12: Curves and curve fitting Taking natural logarithms of both sides of the equation: yields: If data is collected for the x and y values then the y values must be converted to Y values where: So that:

48 Worked examples and exercises are in the text STROUD Introduction Standard curves Asymptotes Systematic curve sketching, given the equation of the curve Curve fitting Method of least squares Programme 12: Curves and curve fitting

49 Worked examples and exercises are in the text STROUD Method of least squares Fitting a straight-line graph Programme 12: Curves and curve fitting Drawing a straight line of best fit through a set of plotted points by eye introduces unnecessary errors. To minimise errors the method of least squares is used where the sum of the squares of the vertical distances from the straight line is minimised. Assume that the equation of the line of best fit is given by:

50 Worked examples and exercises are in the text STROUD Method of least squares Fitting a straight-line graph Programme 12: Curves and curve fitting The i th point plotted, (x i, y i ), is a vertical distance from the line: The sum of the squares of these differences for all n points plotted is then:

51 Worked examples and exercises are in the text STROUD Method of least squares Fitting a straight-line graph Programme 12: Curves and curve fitting The values of a and b must now be determined that gives S its minimum value. For S to be a minimum: This yields the two simultaneous equations from which the values of a and b can be found:

52 Worked examples and exercises are in the text STROUD Learning outcomes Draw sketch graphs of standard curves Determine the equations of asymptotes parallel to the x- and y-axes Sketch the graphs of curves with asymptotes, stationary points and other features Fit graphs to data using straight-line forms Fit graphs to data using the method of least squares Programme 12: Curves and curve fitting


Download ppt "Worked examples and exercises are in the text STROUD PROGRAMME 12 CURVES AND CURVE FITTING."

Similar presentations


Ads by Google