Download presentation

Presentation is loading. Please wait.

Published bySusana Burriss Modified over 2 years ago

1
ACS123 Functions Dr Viktor Fedun Automatic Control and Systems Engineering, C09 Based on lectures by Dr Anthony Rossiter

2
Why is mathematics important? Why do engineers need to be good at mathematics? Is it sufficient to memorise key results? Just because a learning technique worked at school, does that make it the best method now? What mathematics do I need to be good at?

3
Mathematics is a tool-kit A good engineer: 1.knows which is the best tool to use? 2.Is proficient in using the tool? 3.Can adapt the tool to a new use. It is not good enough to memorise key results as the most important skill is abstraction. You must put your effort into understanding.

4
Module assessment 3 in class tests in weeks 4, 7, 11, 13 These will be similar to exam questions. An exam in May or June If you want feedback on an answer you have done, ask in a tutorial. 20 credit module, similar pattern in semester 2.

5
Module organisation I will teach the first semester Lectures and tutorials Of the 5 timetabled hours, 2-3 will be used for lectures (these times may vary each week).

6
MOLE Please use the discussions board to ask questions. Then everyone can see the question and answer. I will not respond to email queries unless of a personal or private nature.

7
Resources Learning is only effective where students engage in self-discovery. 1.What you hear, you will usually forget. 2.You only really understand something when you use it. 3.We will provide ample materials, but YOU will only learn if you use these properly. [5-6 hours per week] Lecturers are here to guide – NOT TO TEACH! We will answer queries and be as helpful as possible, but only you can do the work.

8
Be a function Stand up. 1.Use your arms to illustrate y=x. 2.What about y=-x? 3.Can you do y=x 2, or even x 3. 4.What about sine(x) – you may need a partner. Now do cosine(x). 5.Can you y=mod(x)? Or even y=sqrt(x 2 )? 6.Can you think of any more?

9
Common functions 1.sine, cosine, tangent (and their inverses) 2.logarithm, exponential 3.sinh and cosh 4.straightline, quadratic, general polynomial 5.combinations of above as products, composites and fractions. You should be familiar with shapes of common functions and be able to sketch quickly.

10
Example 1 (Page 136, Kuldeep and Singh, Example 3) [Mechanics] The displacement, φ(t), of a particle at time t is given by: φ(t)= 2t 3 + t 2 - 10t + 10 (a)Evaluate φ(2), φ(3), φ(5). (b)Find simplified expressions for: (i) φ(t 2 ) (ii) φ(t + 1)

11
Example 1 Solution Solution: (a)We have (a)φ(2) = (2 x 2 3 ) + 2 2 – (10 x 2) + 10 = 10 (a)φ(3) = (2 x 3 3 ) + 3 2 – (10 x 3) + 10 = 43 (b)φ(5) = (2 x 5 3 ) + 5 2 – (10 x 5) + 10 = 235

12
Example 1 Solution (b) (i) For φ(t 2 ) we replace the t with t 2 in φ(t)= 2t 3 + t 2 - 10t + 10: φ(t 2 ) = 2(t 2 ) 3 + (t 2 ) 2 – 10(t 2 ) + 10 = 2t 6 + t 4 – 10t 2 + 10 (ii) For φ(t + 1) we replace t with t+1 in φ(t)= 2t 3 + t 2 - 10t + 10: φ(t+1)= 2(t+1) 3 + (t+1) 2 – 10(t+1) + 10:

13
What is a function? 1.A rule which translates an input, usually to a single output. 2.What are the functions for: i.Double the input ii.Shift the input by 3 iii.Cube the input and subtract 1. 3.Write down in words the functions for

14
What variables can a function have? What is the difference between the functions f(x), g(w), h(y) and k(x) A function describes a relationship, the variable names are unimportant. Engineers typically use variable names that relate to the topic: W for weight, h for height, L for length, etc.

15
What is a function argument? The part that appears in the brackets; For y=f(x), x is the argument. For z=g(w), w is the argument. Thus argument is another word for the input to the function. Independent and dependent variables: what do you think these are? Use common sense.

16
Composition of functions What do the following statements mean?

17
Evaluate the following Find y when x=pi/2. Find w when z=1.

18
Function products Evaluate A given that: A = y 2 h with x=2 and z=3 Write down a detailed function expression to express A.

19
Example 2 (Page 152 Kuldeep Singh, Example 16) [Reliability Engineering] The failure density function, f(t), for a component is given by: f(t) = 1/8 where 0 < t < 8 years. Find F(t), R(t) and h(t) where these are defined as: F(t) = tf(t)(Failure Distribution function) R(t) = 1-F(t)(Reliability function) h(t) = f(t) / R(t)(hazard Rate function) and 0 < t < 8 years.

20
Example 2 (Page 152 Example 16) Solution We have: F(t) = tf(t) = t(1/8) = t/8. R(t)= 1-F(t) = 1- t/8 h(t) = f(t) / R(t) = (1/8)/(1-t/8) = 1/(8-t)

21
Graphs and sketching By first producing a suitable table, sketch the graphs of the following functions in the domain -3 to 3. Domain is the values allowed to the argument or independent variable. Range is the values the output (dependent variable) can take. What is the range of these?

22
Example 3 (Page 110 Example 7) [Fluid Mechanics] The streamlines of fluid flow are given by: y = x 2 + c where c is constant. Sketch the streamlines for c = 0, -1,1, -2, 2, -3 and 3.

23
Example 3 (Page 110 Example 7) Solution The graphs of y = x 2 + c for c = 0, -1,1, -2, 2, -3 and 3 are: (c=0)y = x 2 (c=-1) y = x 2 - 1 (c=1)y = x 2 + 1 (c=-2)y = x 2 -2 (c=2)y = x 2 +2 (c=-3)y = x 2 – 3 (c=3)y = x 2 + 3

24
y x -3 -2 0 1 2 3 c = -3 c = -2 c = -1 c = 0 c = 1 c = 2 c = 3 -2 1 2 Notice how the graph of y=x 2 + c varies as c changes. The c is where the curve cuts the y axis.

25
Inverse function mean that all we’ve done is made a switch in emphasis

26
Inverse function mean that all we’ve done is made a switch in emphasis 7 – 4 = 3 3 + 4 = 7

27
Inverse function mean that all we’ve done is made a switch in emphasis 7 – 4 = 3 3 + 4 = 7 Both of this statements say the same thing, but with a change in emphasis

28
Inverse function mean that all we’ve done is made a switch in emphasis 7 – 4 = 3 3 + 4 = 7 Both of this statements say the same thing, but with a change in emphasis

29
Inverse function mean that all we’ve done is made a switch in emphasis 7 – 4 = 3 3 + 4 = 7 Both of this statements say the same thing, but with a change in emphasis

30
Inverse function example y=2x-7; y=f(x)=2x-7

31
Inverse function example y=2x-7; y=f(x)=2x-7 Identity function

32
Inverse function example y=2x-7; y=f(x)=2x-7 Identity function If and inverse function

33
Inverse function example y=2x-7; y=f(x)=2x-7 Identity function If and inverse function Composition of functions

34
Inverse function A function f and its inverse f. Because f maps 1 to 4, the inverse f maps 4 back to 1. f f

35
One to one function For every value of x, there is a distinct value of y and for every value of y there is a distinct value of x. Which of the following is one to one? Draw the graph and it should be obvious.

36
Inverse function What about? Proof

37
Inverse function example

38
Sometimes the inverse of a function cannot be expressed by a formula with a finite number of terms. For example, if f is the function then f is one-to-one, and therefore possesses an inverse function f. The formula for this inverse has an infinite number of terms:

39
Inverse function examples link

40
Many-to-one and one-to-many Give some examples of many-to-one and one-to-many functions. The logic goes from independent variable to dependent variable.

41
Notation Get into groups and decide three example functions with the following properties [3 for each item]. 1.Continuous 2.Discontinuous 3.Periodic (Why are these important?) 4.Odd 5.Even

43
Odd Even

44
Summary Independent variable (domain) Dependent variable (range) Function Many-to-one (one-to-one,…) Odd, even, periodic Inverse function Continuous/discontinuous Composite function Straight lines

45
Exponential functions On some rough paper, do a sketch of the following functions. In what sense are the functions equivalent? With a suitable rescaling of x, they are all the same shape. Functions of this form are called exponentials.

47
Exponential properties If you double the value of the independent variable, you square the value of the dependent variable. There is a constant ratio which depends solely on the difference of the argument: For all x!

48
Exponential properties

49
Exponentiation is not commutative 4 + 5 = 5 + 4 4 * 5 = 5 * 4but4 = 5 5 4 256 = 625

50
Exponential properties Exponentiation is not commutative 4 + 5 = 5 + 4 4 * 5 = 5 * 4 but 4 = 5 5 4 256 = 625 Exponentiation is not associative (2 + 3) + 4 = 2 + (3 + 4)(2 * 3) * 4 = 2 * (3 * 4) but 2 = 4096 3 ( ) 4 2 = 2.417.851.639.229.258.349.412.353 3 ( ) 4

51
Exponential convention 1.When dealing with exponential functions it is usual to assume the same base – ALWAYS! 2.The assumed base is `e’. 3.It will become clearer later why `e’ is chosen because this makes a lot of common algebra much simpler. 4.`e’ is irrational, but has a value near 2.7

52
Exponential convention 1.When dealing with exponential functions it is usual to assume the same base – ALWAYS! 2.The assumed base is `e’. 3.It will become clearer later why `e’ is chosen because this makes a lot of common algebra much simpler. 4.`e’ is irrational, but has a value near 2.7 and more precisely

53
Common exponential The most common functions you will deal with are: A positive exponent gives an increasing function with increasing argument. A negative exponent gives a decreasing argument with exponent.

55
Exponentials and systems engineering The behaviour of real systems is often described as an exponential decay. 1.Radioactivity follows a curve of the form. 2.An explosion might be an increasing function. 3.Many systems have dynamics with 2 exponentials. If behaviour has a positive exponent – BEWARE!

56
Note Logarithms and exponentials are inverse functions of one another.

57
Even/odd and hyperbolic Functions

58
Even functions An even function is one whereby the vertical axis is equivalent to a mirror. In mathematical terms, this means that f(-x)=f(x)

59
Examples of even functions Notice symmetry about x=0

60
Odd functions An odd function is one whereby the vertical axis reverses the value of the function. In mathematical terms, this means that f(-x)=-f(x)

61
Examples of odd functions Notice asymmetry about x=0

62
Constructing even and odd functions Every function can be made up of even and odd functions. This can make some engineering problems easier to handle. EVEN FUNCTIONS f(x)=f(-x) ODD FUNCTIONS f(x)=-f(-x)

63
Constructing even and odd functions EVEN ODD EVEN FUNCTIONS f(x)=f(-x) ODD FUNCTIONS f(x)=-f(-x)

64
Construct even and odd functions to make up the following

65
USE

66
Simple rules EVEN*EVEN = EVEN ODD*ODD = EVEN EVEN*ODD=ODD EVEN+EVEN=EVEN ODD+ODD=ODD ODD+EVEN=NEITHER ODD NOR EVEN Can you prove these?

67
Common even/odd functions EVEN cos x 2n cosh ODD sin x 2n+1 tan sinh Today we focus on cosh and sinh

68
Plots of cosh and sinh

69
Engineering examples of cosh and sinh Some examples taken from the following book: –“Engineering Mathematics through Applications” Kuldeep Singh –Published by: Palgrave MacMillan –ISBN 0-333-92224-7

70
Example 1 (Page 251 Example 21) [Electrical Principles] A transmission line of length L has voltage V. At a distance x from the sending end, the voltage is given by: V L = ½(V + IZ 0 )e -φx + ½(V - IZ 0 )e φx (*) Where I is the current, Z 0 is the characteristic impedance and φ is the propagation coefficient.

71
Show that at x = L: V L = Vcosh(φL) - IZ 0 sinh(φL) V L = ½(V + IZ 0 )e -φx + ½(V - IZ 0 )e φx (*) Solution: Putting x = L into (*) gives: V L = ½(V + IZ 0 )e -φL + ½(V - IZ 0 )e φL = V(e -φL + e φL )/2 + IZ 0 (e -φL - e φL )/2 = Vcosh(φL) + IZ 0 (e -φL - e φL )/2 so V L = Vcosh(φL) + IZ 0 sinh(φL)

72
Example 2 (Page 251 Example 22) [Electronics] In a semiconductor, a force, F, exerted on an electron is given by: F = Qcke -kx /(1+e -kx ) 2 (*) Where c and k are constants, x is the distance from the pn junction and Q is the charge. Show that F = Qck/2[1+cosh(kx)]

73
Solution: F = Qcke -kx /(1+e -kx ) 2 (*) soF = Qcke -kx /(1 + 2e -kx + e -2kx ) = Qcke -kx / e -kx (e kx + 2 + e -kx ) = Qck /(e kx + 2 + e -kx ) = Qck /(2 + e kx + e -kx ) = Qck /(2 + 2(e kx + e -kx )/2) = Qck /(2 + 2cosh(kx)) henceF = Qck/2[1+cosh(kx)] Show that F = Qck/2[1+cosh(kx)]

74
Solution to ODES Where an ODE takes the form The solution can be represented in two similar ways.

75
Identities You should be familiar with common identities using cosh and sinh. Prove the following:

76
Use of hyperbolic equations with parametric descriptions Some simple curves lend themselves to parametric descriptions. Consider: 1.Circle 2.Ellipse 3.Hyperbola

78
Parametric descriptions ENGINEERING APPLICATION: Space orbits can be either elliptical or hyperbolic (often called a sling shot). the sine and cosine functions give a parametric equation for the ellipse the hyperbolic sine and hyperbolic cosine give a parametric equation for the hyperbola

79
Questions 1. Simplify the following expressions. 2. Find parametric expressions for x,y satisfying the following hyperbola.

80
Link between cosine, sine, cosh and sinh You may find the following useful.

Similar presentations

Presentation is loading. Please wait....

OK

MATH – High School Common Core Vs Kansas Standards.

MATH – High School Common Core Vs Kansas Standards.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google