Loosely Coupled Formulations for Automated Planning: An Integer Programming Perspective

Size: px
Start display at page:

Download "Loosely Coupled Formulations for Automated Planning: An Integer Programming Perspective"

Transcription

1 Journal o Artiicial Intellience Researc 3 (008) 7-57 Submitted 09/07; publised 0/08 Loosely Coupled Formulations or Automated Plannin: An Inteer Prorammin Perspective Menkes H.L. van den Briel Department o Industrial Enineerin Arizona State University, Tempe, AZ 858 USA Tomas Vossen Leeds Scool o Business University o Colorado at Boulder, Boulder CO, USA menkes@asu.edu vossen@colorado.edu Subbarao Kambampati Department o Computer Science and Enineerin Arizona State University, Tempe, AZ 858 USA rao@asu.edu Abstract We represent plannin as a set o loosely coupled network low problems, were eac network corresponds to one o te state variables in te plannin domain. Te network nodes correspond to te state variable values and te network arcs correspond to te value transitions. Te plannin problem is to ind a pat (a sequence o actions) in eac network suc tat, wen mered, tey constitute a easible plan. In tis paper we present a number o inteer prorammin ormulations tat model tese loosely coupled networks wit varyin derees o lexibility. Since merin may introduce exponentially many orderin constraints we implement a so-called branc-and-cut aloritm, in wic tese constraints are dynamically enerated and added to te ormulation wen needed. Our results are very promisin, tey improve upon previous plannin as inteer prorammin approaces and lay te oundation or inteer prorammin approaces or cost optimal plannin.. Introduction Wile inteer prorammin approaces or automated plannin ave not been able to scale well aainst oter compilation approaces (i.e. satisiability and constraint satisaction), tey ave been extremely successul in te solution o many real-world lare scale optimization problems. Given tat te inteer prorammin ramework as te potential to incorporate several important aspects o real-world automated plannin problems (or example, numeric quantities and objective unctions involvin costs and utilities), tere is siniicant motivation to investiate more eective inteer prorammin ormulations or classical plannin as tey could lay te roundwork or lare scale optimization (in terms o cost and resources) in automated plannin. In tis paper, we study a novel decomposition based approac or automated plannin tat yields very eective inteer prorammin ormulations.. We use te term inteer prorammin to reer to inteer linear prorammin unless stated oterwise. c 008 AI Access Foundation. All rits reserved.

2 Van den Briel, Vossen & Kambampati Decomposition is a eneral approac to solvin problems more eiciently. It involves breakin a problem up into several smaller subproblems and solvin eac o te subproblems separately. In tis paper we use decomposition to break up a plannin problem into several interactin (i.e. loosely coupled) components. In suc a decomposition, te plannin problem involves bot indin solutions to te individual components and tryin to mere tem into a easible plan. Tis eneral approac, owever, prompts te ollowin questions: () wat are te components, () wat are te component solutions, and (3) ow ard is it to mere te individual component solutions into a easible plan?. Te Components We let te components represent te state variables o te plannin problem. Fiure illustrates tis idea usin a small loistics example, wit one truck and a packae tat needs to be moved rom location to location. Tere are a total o ive components in tis example, one or eac state variable. We represent te components by an appropriately deined network, were te network nodes correspond to te values o te state variable (or atoms tis is T =trueandf = alse), and te network arcs correspond to te value transitions. Te source node in eac network, represented by a small in-arc, corresponds to te initial value o te state variable. Te sink node(s), represented by double circles, correspond to te oal value(s) o te state variable. Note tat te eects o an action can trier value transitions in te state variables. For example, loadin te packae at location makes te atom pack-in-truck true and pack-at-loc alse. In addition, loadin te packae at location requires tat te atom truck-at-loc istrue. Wile te idea o components representin te state variables o te plannin problem can be used wit any state variable representation, it is particularly syneristic wit multivalued state variables. Multi-valued state variables provide a more compact representation o te plannin problem tan teir binary-valued counterparts. Tereore, by makin te conversion to multi-valued state variables we can reduce te number o components and create a better partitionin o te constraints. Fiure illustrates te use o multi-valued state variables on our small loistics example. Tere are two multi-valued state variables in tis problem, one to caracterize te location o te truck and one to caracterize te location o te packae. In our network representation, te nodes correspond to te state variable values ( = at-loc, = at-loc, and t = in-truck), and te arcs correspond to te value transitions.. Te Component Solutions We let te component solutions represent a pat o value transitions in te state variables. In te networks, nodes and arcs appear in layers. Eac layer represents a plan period in wic, dependin on te structure o te network, one or more value transitions can occur. Te networks in Fiures and eac ave tree layers (i.e. plan periods) and teir structure allows values to persist or cane exactly once per period. Te layers are used to solve te plannin problem incrementally. Tat is, we start wit one layer in eac network and try to solve te plannin problem. I no plan is ound, all networks are extended by one extra layer and a new attempt is made to solve te plannin problem. Tis process is repeated until a plan is ound or a time limit is reaced. In Fiures and, a pat (i.e. 8

3 Loosely Coupled Formulations or Automated Plannin loc loc truck-at-loc T Load at loc T Drive loc loc T - T F F F F truck-at-loc T - T Drive loc loc T Unload at loc T F F F F pack-at-loc T Load at loc T - - T T F F F F pack-at-loc T - T - T Unload at loc T F F F F pack-in-truck T Load at loc T - T Unload at loc T F F F F Fiure : Loistics example broken up into ive components (binary-valued state variables) tat are represented by network low problems. truck-location pack-location Load at loc Load at loc Drive loc loc - t t t t Unload at loc Unload at loc Fiure : Loistics example broken up into two components (multi-valued state variables) tat are represented by network low problems. a solution) rom te source node to one o te sink nodes is ilited in eac network. Since te execution o an action triers value transitions in te state variables, eac pat in a network corresponds to a sequence o actions. Consequently, te plannin problem can be tout o as a collection o network low problems were te problem is to ind a pat (i.e. a sequence o actions) in eac o te networks. However, interactions between 9

4 Van den Briel, Vossen & Kambampati te networks impose side constraints on te network low problems, wic complicate te solution process..3 Te Merin Process We solve tese loosely coupled networks usin inteer prorammin ormulations. One desin coice we make is tat we expand all networks (i.e. components) toeter, so te cost o indin solutions or te individual networks as well as merin tem depends on te diiculty o solvin te inteer prorammin ormulation. Tis, in turn, typically depends on te size o te inteer prorammin ormulation, wic is partly determined by te number o layers in eac o te networks. Te simplest idea is to ave te number o layers o te networks equal te lent o te plan, just as in sequential plannin were te plan lent equals te number o actions in te plan. In tis case, tere will be as many transitions in te networks as tere are actions in te plan, wit te only dierence tat a sequence o actions correspondin to a pat in a network could contain no-op actions. An idea to reduce te required number o layers is by allowin multiple actions to be executed in te same plan period. Tis is exactly wat is done in Grapplan (Blum & Furst, 995) and in oter planners tat ave adopted te Grapplan-style deinition o parallelism. Tat is, two actions can be executed in parallel (i.e. in te same plan period) as lon as tey are non-intererin. In our ormulations we adopt more eneral notions o parallelism. In particular, we relax te strict relation between te number o layers in te networks and te lent o te plan by canin te network representation o te state variables. For example, by allowin multiple transitions in eac network per plan period we permit intererin actions to be executed in te same plan period. Tis, owever, raises issues about ow solutions to te individual networks are searced and ow tey are combined. Wen te network representations or te state variables allow multiple transitions in eac network per plan period, and tus become more lexible, it becomes arder to mere te solutions into a easible plan. Tereore, to evaluate te tradeos in allowin suc lexible representations, we look at a variety o inteer prorammin ormulations. We reer to te inteer prorammin ormulation tat uses te network representation sown in Fiures and as te one state cane model, because it allows at most one transition (i.e. state cane) per plan period in eac state variable. Note tat in tis network representation a plan period mimics te Grapplan-style parallelism. Tat is, two actions can be executed in te same plan period i one action does not delete te precondition or add-eect o te oter action. A more lexible representation in wic values can cane at most once and persist beore and ater eac cane we reer to as te eneralized one state cane model. Clearly, we can increase te number o canes tat we allow in eac plan period. Te representations in wic values can cane at most twice or k times, we reer to as te eneralized two state cane and te eneralized k state cane model respectively. One disadvantae wit te eneralized k state cane model is tat it creates one variable or eac way to do k value canes, and tus introduces exponentially many variables per plan period. Tereore, anoter network representation tat we consider allows a pat o value transitions in wic eac value can be visited at most once per plan period. Tis way, we can limit te number o variables, but may introduce cycles in our networks. Te 0

5 Loosely Coupled Formulations or Automated Plannin inteer prorammin ormulation tat uses tis representation is reerred to as te state cane pat model. In eneral, by allowin multiple transitions in eac network per plan period (i.e. layer), te more complex te merin process becomes. In particular, te merin process cecks weter te actions in te solutions o te individual networks can be linearized into a easible plan. In our inteer prorammin ormulations, orderin constraints ensure easible linearizations. Tere may, owever, be exponentially many orderin constraints wen we eneralize te Grapplan-style parallelism. Rater tan insertin all tese constraints in te inteer prorammin ormulation up ront, we add tem as needed usin a branc-and-cut aloritm. A branc-and-cut aloritm is a branc-and-bound aloritm in wic certain constraints are enerated dynamically trouout te branc-and-bound tree. We sow tat te perormance o our inteer prorammin (IP) ormulations sow new potential and are competitive wit SATPLAN04 (Kautz, 004). Tis is a siniicant result because it orms a basis or oter more sopisticated IP-based plannin systems capable o andlin numeric constraints and non-uniorm action costs. In particular, te new potential o our IP ormulations as led to teir successul use in solvin partial satisaction plannin problems (Do, Benton, van den Briel, & Kambampati, 007). Moreover, it as initiated a new line o work in wic inteer and linear prorammin are used in euristic state-space searc or automated plannin (Benton, van den Briel, & Kambampati, 007; van den Briel, Benton, Kambampati, & Vossen, 007). Te remainder o tis paper is oranized as ollows. In Section we provide a brie backround on inteer prorammin and discuss some approaces tat ave used inteer prorammin to solve plannin problems. In Section 3 we present a series o inteer prorammin ormulations tat eac adopt a dierent network representation. We describe ow we set up tese loosely coupled networks, provide te correspondin inteer prorammin ormulation, and discuss te dierent variables and constraints. In Section 4 we describe te branc-and-cut aloritm tat is used or solvin tese ormulations. We provide a eneral backround on te branc-and-cut concept and sow ow we apply it to our ormulations by means o an example. Section 5 provides experimental results to determine wic caracteristics in our approac ave te reatest impact on perormance. Related work is discussed in Section 6 and some conclusions are iven in Section 7.. Backround Since our ormulations are based on inteer prorammin, we briely review tis tecnique and discuss its use in plannin. A mixed inteer proram is represented by a linear objective unction and a set o linear inequalities: min{cx : Ax b, x,..., x p 0andinteer,x p+,..., x n 0}, were A is an (m n) matrix,c is an n-dimensional row vector, b is an m-dimensional column vector, and x an n-dimensional column vector o variables. I all variables are continuous (p =0)weavealinear proram, i all variables are inteer (p = n) weave an inteer proram, andix,..., x p {0, } we ave a mixed 0- proram. Te set S = {x,..., x p 0andinteer,x p+,..., x n 0:Ax b} is called te easible reion, andan n-dimensional column vector x is called a easible solution i x S. Moreover, te unction

6 Van den Briel, Vossen & Kambampati cx is called te objective unction, and te easible solution x is called an optimal solution i te objective unction is as small as possible, tat is, cx =min{cx : x S} Mixed inteer prorammin provides a ric modelin ormalism tat is more eneral tan propositional loic. Any propositional clause can be represented by one linear inequality in 0- variables, but a sinle linear inequality in 0- variables may require exponentially many clauses (Hooker, 988). Te most widely used metod or solvin (mixed) inteer prorams is by applyin a branc-and-bound aloritm to te linear prorammin relaxation, wic is muc easier to solve. Te linear prorammin (LP) relaxation is a linear proram obtained rom te oriinal (mixed) inteer proram by relaxin te interality constraints: min{cx : Ax b, x,..., x n 0} Generally, te LP relaxation is solved at every node in te branc-and-bound tree, until () te LP relaxation ives an inteer solution, () te LP relaxation value is inerior to te current best easible solution, or (3) te LP relaxation is ineasible, wic implies tat te correspondin (mixed) inteer proram is ineasible. An ideal ormulation o an inteer proram is one or wic te solution o te linear prorammin relaxation is interal. Even tou every inteer proram as an ideal ormulation (Wolsey, 998), in practice it is very ard to caracterize te ideal ormulation as it may require an exponential number o inequalities. In problems were te ideal ormulation cannot be determined, it is oten desirable to ind a stron ormulation o te inteer proram. Suppose tat te easible reions P = {x R n : A x b } and P = {x R n : A x b } describe te linear prorammin relaxations o two IP ormulations o a problem. Ten we say tat ormulation or P is stroner tan ormulation or P i P P. Tat is, te easible reion P is subsumed by te easible reion P.Inoter words P improves te quality o te linear relaxation o P by removin ractional extreme points. Tere exist numerous powerul sotware packaes tat solve mixed inteer prorams. In our experiments we make use o te commercial solver CPLEX 0.0 (Inc., 00), wic is currently one o te best LP/IP solvers. Te use o inteer prorammin tecniques to solve artiicial intellience plannin problems as an intuitive appeal, especially iven te success IP as ad in solvin similar types o problems. For example, IP as been used extensively or solvin problems in transportation, loistics, and manuacturin. Examples include crew scedulin, veicle routin, and production plannin problems (Jonson, Nemauser, & Savelsber, 000). One potential advantae is tat IP tecniques can provide a natural way to incorporate several important aspects o real-world plannin problems, suc as numeric constraints and objective unctions involvin costs and utilities. Plannin as inteer prorammin as, neverteless, received only limited attention. One o te irst approaces is described by Bylander (997), wo proposes an LP euristic or partial order plannin aloritms. Wile te LP euristic elps to reduce te number o expanded nodes, te evaluation is rater time-consumin. In eneral, te perormance o. Wile te inteer prorammin problem is NP-complete (Garey & Jonson, 979) te linear prorammin problem is polynomially solvable (Karmarkar, 984).

7 Loosely Coupled Formulations or Automated Plannin IP oten depends on te structure o te problem and on ow te problem is ormulated. Te importance o developin stron IP ormulations is discussed by Vossen et al. (999), wo compare two ormulations or classical plannin: () a straitorward ormulation based on te conversion o te propositional representation by SATPLAN wic yields only mediocre results, and () a less intuitive ormulation based on te representation o state transitions wic leads to considerable perormance improvements. Several ideas tat urter improve ormulation based on te representation o state transitions are described by Dimopoulos (00). Some o tese ideas are implemented in te IP-based planner Optiplan (van den Briel & Kambampati, 005). Approaces tat rely on domain-speciic knowlede are proposed by Bockmayr and Dimopoulos (998, 999). By exploitin te structure o te plannin problem tese IP ormulations oten provide encourain results. Te use o LP and IP as also been explored or non-classical plannin. Dimopoulos and Gerevini (00) describe an IP ormulation or temporal plannin and Wolman and Weld (999) use LP ormulations in combination wit a satisiability-based planner to solve resource plannin problems. Kautz and Walser (999) also solve resource plannin problems, but use domain-speciic IP ormulations. 3. Formulations Tis section describes our IP ormulations tat model te plannin problem as a collection o loosely coupled network low problems. Eac network represents a state variable, in wic te nodes correspond to te state variable values, and te arcs correspond to te value transitions. Te state variables are based on te SAS+ plannin ormalism (Bäckström & Nebel, 995), wic is a plannin ormalism tat uses multi-valued state variables instead o binary-valued atoms. An action in SAS+ is modeled by its pre-, post- and prevailconditions. Te pre- and post-conditions express wic state variables are caned and wat values tey must ave beore and ater te execution o te action, and te prevailconditions speciy wic o te uncaned variables must ave some speciic value beore and durin te execution o an action. A SAS+ plannin problem is described by a tuple Π= C, A, s 0,s were: C = {c,..., c n } is a inite set o state variables, were eac state variable c C as an associated domain V c and an implicitly deined extended domain V c + = V c {u}, were u denotes te undeined value. For eac state variable c C, s[c] denotes te value o c in state s. Tevalueoc is said to be deined in state s i and only i s[c] u. Te total state space S = V c... V cn and te partial state space S + = V c +... V c + n are implicitly deined. A is a inite set o actions o te orm pre, post, prev, werepre denotes te preconditions, post denotes te post-conditions, and prev denotes te prevail-conditions. For eac action a A, pre[c],post[c] and prev[c] denotes te respective conditions on state variable c. Te ollowin two restrictions are imposed on all actions: () Once te value o a state variable is deined, it can never become undeined. Hence, or all c C, ipre[c] u ten pre[c] post[c] u; () A prevail- and post-condition o an action can never deine a value on te same state variable. Hence, or all c C, eiter post[c] =u or prev[c] =u or bot. 3

8 Van den Briel, Vossen & Kambampati s 0 S denotes te initial state and s S + denotes te oal state. Wile SAS+ plannin allows te initial state and oal state to be bot partial states, we assume tat s 0 is a total state and s is a partial state. We say tat state s is satisied by state t i and only i or all c C we ave s[c] =u or s[c] =t[c]. Tis implies tat i s [c] =u or state variable c, ten any deined value V c satisies te oal or c. To obtain a SAS+ description o te plannin problem we use te translator component o te Fast Downward planner (Helmert, 006). Te translator is a stand-alone component tat contains a eneral purpose aloritm wic transorms a propositional description o te plannin problem into a SAS+ description. Te aloritm provides an eicient roundin tat minimizes te state description lent and is based on te preprocessin aloritm o te MIPS planner (Edelkamp & Helmert, 999). In te remainder o tis section we introduce some notation and describe our IP ormulations. Te ormulations are presented in suc a way tat tey proressively eneralize te Grapplan-style parallelism trou te incorporation o more lexible network representations. For eac ormulation we will describe te underlyin network, and deine te variables and constraints. We will not concentrate on te objective unction as muc because te constraints will tolerate only easible plans. 3. Notation For te ormulations tat are described in tis paper we assume tat te ollowin inormation is iven: C: a set o state variables; V c : a set o possible values (i.e. domain) or eac state variable c C; E c : a set o possible value transitions or eac state variable c C; G c =(V c,e c ) : a directed domain transition rap or every c C; State variables can be represented by a domain transition rap, were te nodes correspond to te possible values, and te arcs correspond to te possible value transitions. An example o te domain transition rap o a variable is iven in Fiure 3. Wile te example depicts a complete rap, a domain transition rap does not need to be a complete rap. Furtermore, we assume as iven: E a c E c represents te eect o action a in c; V a c V c represents te prevail condition o action a in c; A E c := {a A : Ec a > 0} represents te actions tat ave an eect in c, anda E c (e) represents te actions tat ave te eect e in c; A V c := {a A : Vc a > 0} represents te actions tat ave a prevail condition in c, and A V c () represents te actions tat ave te prevail condition in c; C a := {c C : a A E c AV c } represents te state variables on wic action a as an eect or a prevail condition. 4

9 Loosely Coupled Formulations or Automated Plannin Fiure 3: An example o a domain transition rap, were V c = {,,} are te possible values (states) o c and E c = {(,), (,), (, ), (, ), (, ), (, )} are te possible value transitions in c. Hence, eac action is deined by its eects (i.e. pre- and post-conditions) and its prevail conditions. In SAS+ plannin, actions can ave at most one eect or prevail condition in eac state variable. In oter words, or eac a A and c C, weavetatec a and V c a are empty or Ec a + V c a. An example o ow te eects and prevail conditions aect one or more domain transition raps is iven in Fiure 4. Fiure 4: An example o ow action eects and prevail conditions are represented in a domain transition rap. Action a as implications on tree state variables C a = {c,c,c 3 }. Te eects o a are represented by E a c = {(,)} and E a c = {(, )}, and te prevail condition o a is represented by V a c 3 = {}. In addition, we use te ollowin notation: V + c (): to denote te in-arcs o node in te domain transition rap G c; V c (): to denote te out-arcs o node in te domain transition rap G c ; P + c,k (): to denote pats o lent k in te domain transition rap G c tat end at node. NotetatP c, + () =V + c (). P c,k (): to denote pats o lent k in te domain transition rap G c tat start at node. NotetatPc, () =V c (). 5

10 Van den Briel, Vossen & Kambampati P c,k (): to denote pats o lent k in te domain transition rap G c tat visit node, but tat do not start or end at. 3. One State Cane (SC) Formulation Our irst IP ormulation incorporates te network representation tat we ave seen in Fiures and. Te name one state cane relates to te number o transitions tat we allow in eac state variable per plan period. Te restriction o allowin only one value transition in eac network also restricts wic actions we can execute in te same plan period. It appens to be te case tat te network representation o te SC ormulation incorporates te standard notion o action parallelism wic is used in Grapplan (Blum & Furst, 995). Te idea is tat actions can be executed in te same plan period as lon as tey do not delete te precondition or add-eect o anoter action. In terms o value transitions in state variables, tis is sayin tat actions can be executed in te same plan period as lon as tey do not cane te same state variable (i.e. tere is only one value cane or value persistence in eac state variable). 3.. State Cane Network Fiure 5 sows a sinle layer (i.e. period) o te network wic underlies te SC ormulation. I we set up te IP ormulation wit T plan periods, ten tere will be T +layers o nodes and T layers o arcs in te network (te zerot layer o nodes is or te initial state and te remainin T layers o nodes and arcs are or te successive plan periods). For eac possible state transition tere is an arc in te state cane network. Te orizontal arcs correspond to te persistence o a value, and te diaonal arcs correspond to te value canes. A solution pat to an individual network ollows te arcs wose transitions are supported by te action eect and prevail conditions tat appear in te solution plan. SC network Period t Fiure 5: One state cane (SC) network. 3.. Variables We ave two types o variables in tis ormulation: action variables to represent te execution o an action, and arc low variables to represent te state transitions in eac network. 6

11 Loosely Coupled Formulations or Automated Plannin We use separate variables or canes in a state variable (te diaonal arcs in te SC network) and or te persistence o a value in a state variable (te orizontal arcs in te SC network). Te variables are deined as ollows: x a t {0, }, ora A, t T ; x a t is equal to i action a is executed at plan period t, and0oterwise. ȳ c,,t {0, }, orc C, V c, t T ;ȳ c,,t is equal to i te value o state variable c persists at period t, and0oterwise. y c,e,t {0, }, orc C, e E c, t T ; y c,e,t is equal to i te transition e E c in state variable c is executed at period t, and0oterwise Constraints Tere are two classes o constraints. We ave constraints or te network lows in eac state variable network and constraints or te action eects tat determine te interactions between tese networks. Te SC inteer prorammin ormulation is: State cane lows or all c C, V c { i = s0 [c] y c,e, +ȳ c,, = () 0 oterwise. e Vc () y c,e,t+ +ȳ c,,t+ = y c,e,t +ȳ c,,t or t T () e V c () e V c + () e V c + () y c,e,t +ȳ c,,t = i = s [c] (3) Action implications or all c C, t T x a t = y c,e,t or e E c (4) a A:e E a c x a t ȳ c,,t or a A, V a c (5) Constraints (), (), and (3) are te network low constraints or state variable c C. Constraint () ensures tat te pat o state transitions beins in te initial state o te state variable and constraint (3) ensures tat, i a oal exists, te pat ends in te oal state o te state variable. Note tat, i te oal value or state variable c is undeined (i.e. s [c] =u) ten te pat o state transitions may end in any o te values V c. Hence, we do not need a oal constraint or te state variables wose oal states s [c] are undeined. Constraint () is te low conservation equation and enorces te continuity o te constructed pat. Actions may introduce interactions between te state variables. For instance, te eects o te load action in our loistics example aect two dierent state variables. Actions link state variables to eac oter and tese interactions are represented by te action implication 7

12 Van den Briel, Vossen & Kambampati constraints. For eac transition e E c, constraints (4) link te action execution variables tat ave e as an eect (i.e. e Ec a ) to te arc low variables. For example, i an action x a t wit eect e Ec a is executed, ten te pat in state variable c must ollow te arc represented by y c,e,t. Likewise, i we coose to ollow te arc represented by y c,e,t,ten exactly one action x a t wit e Ea c must be executed. Te summation on te let and side prevents two or more actions rom intererin wit eac oter, ence only one action may cause te state cane e in state variable c at period t. Prevail conditions o an action link state variables in a similar way as te action eects do. Speciically, constraint (5) states tat i action a is executed at period t (x a t =),ten te prevail condition Vc a is required in state variable c at period t (ȳ c,,t =). 3.3 Generalized One State Cane (GSC) Formulation In our second ormulation we incorporate te same network representation as in te SC ormulation, but adopt a more eneral interpretation o te value transitions, wic leads to an unconventional notion o action parallelism. For te GSC ormulation we relax te condition tat parallel actions can be arraned in any order by requirin a weaker condition. We allow actions to be executed in te same plan period as lon as tere exists some orderin tat is easible. More speciically, witin a plan period a set o actions is easible i () tere exists an orderin o te actions suc tat all preconditions are satisied, and () tere is at most one state cane in eac o te state variables. Tis eneralization o conditions is similar to wat Rintanen, Heljanko and Niemelä (006) reer to as te -step semantics semantics. To illustrate te basic concept, let us aain examine our small loistics example introduced in Fiure. Te solution to tis problem is to load te packae at location, drive te truck rom location to location, and unload te packae at location. Clearly, tis plan would require tree plan periods under Grapplan-style parallelism as tese tree actions interere wit eac oter. I, owever, we allow te load at loc andtedrive loc loc action to be executed in te same plan period, ten tere exists some orderin between tese two actions tat is easible, namely load te packae at te location beore drivin te truck to location. Te key idea beind tis example sould be clear: wile it may not be possible to ind a set o actions tat can be linearized in any order, tere may neverteless exist some orderin o te actions tat is viable. Te question is, o course, ow to incorporate tis idea into an IP ormulation. truck-location pack-location Load at loc Drive loc loc Load at loc Unload at loc Unload at loc t t t Fiure 6: Loistics example represented by network low problems wit eneralized arcs. 8

13 Loosely Coupled Formulations or Automated Plannin Tis example illustrates tat we are lookin or a set o constraints tat allow sets o actions or wic: () all action preconditions are met, () tere exists an orderin o te actions at eac plan period tat is easible, and (3) witin eac state variable, te value is caned at most once. Te incorporation o tese ideas only requires minor modiications to te SC ormulation. Speciically, we need to cane te action implication constraints or te prevail conditions and add a new set o constraints wic we call te orderin implication constraints State Cane Network Te minor modiications are revealed in te GSC network. Wile te network itsel is identical to te SC network, te interpretation o te transition arcs is somewat dierent. To incorporate te new set o conditions, we implicitly allow values to persist (te dased orizontal arcs in te GSC network) at te tail and ead o eac transition arc. Te interpretation o tese implicit arcs is tat in eac plan period a value may be required as a prevail condition, ten te value may cane, and te new value may also be required as a prevail condition as sown in Fiure 7. GSC network Generalized state cane arc Period t Period t Fiure 7: Generalized one state cane (GSC) network Variables Since te GSC network is similar to te SC network te same variables are used, tus, action variables to represent te execution o an action, and arc low variables to represent te low trou eac network. Te dierence in te interpretation o te state cane arcs is dealt wit in te constraints o te GSC ormulation, and tereore does not introduce any new variables. For te variable deinitions, we reer to Section Constraints We now ave tree classes o constraints, tat is, constraints or te network lows in eac state variable network, constraints or linkin te lows wit te action eects and prevail conditions, and orderin constraints to ensure tat te actions in te plan can be linearized into a easible orderin. 9

14 Van den Briel, Vossen & Kambampati Te network low constraints or te GSC ormulation are identical to tose in te SC ormulation iven by ()-(3). Moreover, te constraints tat link te lows wit te action eects are equal to te action eect constraints in te SC ormulation iven by (4). Te GSC ormulation diers rom te SC ormulation in tat it relaxes te condition tat parallel actions can be arraned in any order by requirin a weaker condition. Tis weaker condition aects te constraints tat link te lows wit te action prevail conditions, and introduces a new set o orderin constraints. Tese constraints o te GSC ormulation are iven as ollows: Action implications or all c C, t T x a t ȳ c,,t + y c,e,t + e V c + () e Vc () y c,e,t or a A, V a c (6) Orderin implications a V (Δ) x a t V (Δ) or all cycles Δ G prec (7) Constraint (6) incorporates tis new set o conditions or wic actions can be executed in te same plan period. In particular, we need to ensure tat or eac state variable c, te value V c olds i it is required by te prevail condition o action a at plan period t. Tere are tree possibilities: () Te value olds or c trouout te period. () Te value olds initially or c, but te value is caned to a value oter tan by anoter action. (3) Te value does not old initially or c, but te value is caned to by anoter action. In eiter o te tree cases te value olds at some point in period t so tat te prevail condition or action a can be satisied. In words, te value may prevail implicitly as lon as tere is a state cane tat includes. As beore, te prevail implication constraints link te action prevail conditions to te correspondin network arcs. Te action implication constraints ensure tat te preconditions o te actions in te plan are satisied. Tis, owever, does not uarantee tat te actions can be linearized into a easible order. Fiure 7 indicates tat tere are implied orderins between actions. Actions tat require te value as a prevail condition must be executed beore te action tat canes into. Likewise, an action tat canes into must be executed beore actions tat require te value as a prevail condition. Te state cane low and action implication constraints outlined above indicate tat tere is an orderin between te actions, but tis orderin could be cyclic and tereore ineasible. To make sure tat an orderin is acyclic we start by creatin a directed implied precedence rap G prec =(V prec,e prec ). In tis rap te nodes a V prec correspond to te actions, tat is, V prec = A, andwe create a directed arc (i.e. an orderin) between two nodes (a, b) E prec i action a as to be executed beore action b in time period t, orib as to be executed ater a. Inparticular, we ave E prec = (a, b) (a, b) (a,b) A A,c C, V a c,e E b c: e V c, (a,b) A A,c C, V b c,e E a c : e V + c, 30

15 Loosely Coupled Formulations or Automated Plannin Te implied orderins become immediately clear rom Fiure 8. Te iure on te let depicts te irst set o orderins in te expression o E prec. It says tat te orderin between two actions a and b tat are executed in te same plan period is implied i action a requires a value to prevail tat action b deletes. Similarly, te iure on te rit depicts second set o orderins in te expression o E prec. Tat is, an orderin is implied i action a adds te prevail condition o b. a b a b Fiure 8: Implied orderins or te GSC ormulation. Te orderin implication constraints ensure tat te actions in te inal solution can be linearized. Tey basically involve puttin an n-ary mutex relation between te actions tat are involved in eac cycle. Unortunately, te number o orderin implication constraints rows exponentially in te number o actions. As a result, it will be impossible to solve te resultin ormulation usin standard approaces. We address tis complication by implementin a branc-and-cut approac in wic te orderin implication constraints are added dynamically to te ormulation. Tis approac is discussed in Section Generalized k State Cane (GkSC) Formulation In te GSC ormulation actions can be executed in te same plan period i () tere exists an orderin o te actions suc tat all preconditions are satisied, and () tere occurs at most one value cane in eac o te state variables. One obvious eneralization o tis would be to relax te second condition and allow at most k c value canes in eac state variable c, werek c V c. By allowin multiple value canes in a state variable per plan period we, in act, permit a series o value canes. Speciically, te GkSC model allows series o value canes. Obviously, tere is a tradeo between loosenin te networks versus te amount o work it takes to mere te individual plans. Wile we ave not implemented te GkSC ormulation, we provide some insit in tis tradeo by describin and evaluatin te GkSC ormulation wit k c =orallc C We will reer to tis special case as te eneralized two state cane (GSC) ormulation. One reason we restrict ourselves to tis special case is tat te eneral case o k state canes would introduce exponentially many variables in te ormulation. Tere are IP tecniques, owever, tat deal wit exponentially many variables (Desaulniers, Desrosiers, & Solomon, 005), but we will not discuss tem ere State Cane Network Te network tat underlies te GSC ormulation is equivalent to GSC, but spans an extra layer o nodes and arcs. Tis extra layer allows us to ave a series o two transitions per plan 3

16 Van den Briel, Vossen & Kambampati period. All transitions are eneralized and implicitly allow values to persist just as in te GSC network. Fiure 9 displays te network correspondin to te GSC ormulation. In te GSC network tere are eneralized one and two state cane arcs. For example, tere is a eneralized one state cane arc or te transition (,), and tere is a eneralized two state canes arc or te transitions {(, ), (, )}. Since all arcs are eneralized, eac value tat is visited can also be persisted. We also allow cyclic transitions, suc as, {(,), (, )} i is not te prevail condition o some action. I we were to allow cyclic transitions in wic is a prevail condition o an action, ten te action orderin in a plan period can not be implied anymore (i.e. te prevail condition on would eiter ave to occur beore te value transitions to, or ater it transitions back to ). Tus i tere is no prevail condition on ten we can saely allow te cyclic transition {(,), (, )}. state cane arcs state canes arcs Period t Period t Fiure 9: Generalized two state cane (GSC) network. On te let te subnetwork tat consists o eneralized one state cane arcs and no-op arcs, on te rit te subnetwork tat consists o te eneralized two state cane arcs. Te subnetwork or te two state cane arcs may include cyclic transitions, suc as, {(, ), (, )} as lon as is not te prevail condition o some action Variables As beore we ave variables representin te execution o an action, and variables representin te lows over one state cane (diaonal arcs) or persistence (orizontal arcs). In addition, we ave variables representin pats over two consecutive state canes. Hence, we ave variables or eac pair o state canes (,,) suc tat (,) E c and (, ) E c. We will restrict tese pats to visit unique values only, tat is,,, and, or i is not a prevail condition o any action ten we also allow pats were =. Te variables rom te GSC ormulation are also used in GSC ormulation. Tere is, owever, an additional variable to represent te arcs tat allow or two state canes: y c,e,e,t {0, }, or c C, (e,e ) P c,, t T ; y c,e,e,t isequaltoi tere exists a value V c and transitions e,e E c, suc tat e V c + () and e Vc (), in state variable c are executed at period t, and0oterwise. 3

17 Loosely Coupled Formulations or Automated Plannin Constraints We aain ave our tree classes o constraints, wic are iven as ollows: State cane lows or all c C, V c { i = s0 [c] y c,e,e, + y c,e, +ȳ c,, = (8) 0 oterwise. (e,e ) P c, () e Vc () y c,e,e,t+ + y c,e,t+ +ȳ c,,t+ = (e,e ) P c, () e Vc () y c,e,e,t + y c,e,t +ȳ c,,t or t T (9) (e,e ) P + c, () e V c + () y c,e,e,t + y c,e,t +ȳ c,,t = i { s [c]} (0) (e,e ) P + c, () e V c + () Action implications or all c C, t T x a t = y c,e,t + a A:e E a c (e,e ) P c, :e =e e =e y c,e,e,t or e E c () x a t ȳ c,,t + y c,e,t + y c,e,t + y c,e,e,t + e V c + () e Vc () (e,e ) Pc, () y c,e,e,t + y c,e,e,t or a A, Vc a () (e,e ) P + c, () (e,e ) P c, () Orderin implications a V (Δ) x a t V (Δ) or all cycles Δ G prec (3) Constraints (8), (9), and (0) represent te low constraints or te GSC network. Constraints () and () link te action eects and prevail conditions wit te correspondin lows, and constraint 3 ensures tat te actions can be linearized into some easible orderin. 3.5 State Cane Pat (PatSC) Formulation Tere are several ways to eneralize te network representation o te GSC ormulation and loosen te interaction between te networks. Te GkSC ormulation presented one eneralization tat allows up to k transitions in eac state variable per plan period. Since it uses exponentially many variables anoter way to eneralize te network representation o te GSC ormulation is by requirin tat eac value can be true at most once per plan period. To illustrate tis idea we consider our loistics example aain, but we now use 33

18 Van den Briel, Vossen & Kambampati truck-location Load at loc Drive loc loc Unload at loc pack-location - Load at loc - Unload at loc - t t Fiure 0: Loistics example represented by network low problems tat allow a pat o value transitions per plan period suc tat eac value can be true at most once. a network representation tat allows a pat o transitions per plan period as depicted in Fiure 0. Recall tat te solution to te loistics example consists o tree actions: irst load te packae at location, ten drive te truck rom location to location, and last unload te packae at location. Clearly, tis solution would not be allowed witin a sinle plan period under Grapplan-style parallelism. Moreover, it would also not be allowed witin a sinle period in te GSC ormulation. Te reason or tis is tat te number o value canes in te packae-location state variable is two. First, it canes rom pack-at-loc to pack-in-truck, and ten it canes rom pack-in-truck to pack-at-loc. As beore, owever, tere does exists an orderin o te tree actions tat is easible. Te key idea beind tis example is to sow tat we can allow multiple value canes in a sinle period. I we limit te value canes in a state variable to simple pats, tat is, in one period eac value is visited at most once, ten we can still use implied precedences to determine te orderin restrictions State Cane Network In tis ormulation eac value can be true at most once in eac plan period, ence te number o value transitions or eac plan period is limited to k c were k c = V c oreac c C. In te PatSC network, nodes appear in layers and correspond to te values o te state variable. However, eac layer now consists o twice as many nodes. I we set up an IP encodin wit a maximum number o plan periods T ten tere will be T layers. Arcs witin a layer correspond to transitions or to value persistence, and arcs between layers ensure tat all plan periods are connected to eac oter. Fiure displays a network correspondin to te state variable c wit domain V c = {,,} tat allows multiple transitions per plan period. Te arcs pointin ritwards correspond to te persistence o a value, wile te arcs pointin letwards correspond to te value canes. I more tan one plan period is needed te curved arcs pointin ritwards 34

19 Loosely Coupled Formulations or Automated Plannin link te layers between two consecutive plan periods. Note tat wit unit capacity on te arcs, any pat in te network can visit eac node at most once. PatSC network Period t Fiure : Pat state cane (PatSC) network Variables We now ave action execution variables and arc low variables (as deined in te previous ormulations), and linkin variables tat connect te networks between two consecutive time periods. Tese variables are deined as ollows: z c,,t {0, }, orc C, V c, 0 t T ; z c,,t is equal to i te value o state variable c is te end value at period t, and0oterwise Constraints As in te previous ormulations, we ave state cane low constraints, action implication constraints, and orderin implication constraints. Te main dierence is te underlyin network. Te PatSC inteer prorammin ormulation is iven as ollows: State cane lows or all c C, V c { i = s0 [c] z c,,0 = (4) 0 oterwise. y c,e,t + z c,,t = ȳ c,,t (5) e V c + () ȳ c,,t = e Vc () y c,e,t + z c,,t or t T (6) z c,,t = i s [c] (7) Action implications or all c C, t T x a t = y c,e,t or e E c (8) a A:e E a c x a t ȳ c,,t or V a c (9) 35

20 Van den Briel, Vossen & Kambampati Orderin implications a V (Δ) x a t V (Δ) or all cycles Δ G prec (0) Constraints (4)-(7) are te network low constraints. For eac node, except or te initial and oal state nodes, tey ensure a balance o low (i.e. low-in must equal low-out). Te initial state node as a supply o one unit o low and te oal state node as a demand o one unit o low, wic are iven by constraints (4) and (7) respectively. Te interactions tat actions impose upon dierent state variables are represented by te action implication constraints (8) and (9), wic ave been discussed earlier. Te implied precedence rap or tis ormulation is iven by G prec =(V prec,e prec ). It as an extra set o arcs to incorporate te implied precedences tat are introduced wen two actions imply a state cane in te same class c C. Te nodes a V prec aain correspond to actions, and tere is an arc (a, b) E prec i action a as to be executed beore action b in te same time period, or i b as to be executed ater a. More speciically, we ave E prec = E prec (a,b) A A,c C, V c,e Ec a,e Ec: b e V c + () e Vc () (a, b) As beore, te orderin implication constraints (0) ensure tat te actions in te solution plan can be linearized into a easible orderin. 4. Branc-and-Cut Aloritm IP problems are usually solved wit an LP-based branc-and-bound aloritm. Te basic structure o tis tecnique involves a binary enumeration tree in wic brances are pruned accordin to bounds provided by te LP relaxation. Te root node in te enumeration tree represents te LP relaxation o te oriinal IP problem and eac oter node represents a subproblem tat as te same objective unction and constraints as te root node except or some additional bound constraints. Most IP solvers use an LP-based branc-and-bound aloritm in combination wit various preprocessin and probin tecniques. In te last ew years tere as been siniicant improvement in te perormance o tese solvers (Bixby, 00). In an LP-based branc-and-bound aloritm, te LP relaxation o te oriinal IP problem (te solution to te root node) will rarely be inteer. Wen some inteer variable x as a ractional solution v we branc to create two new subproblems, suc tat te bound constraint x v is added to te let-cild node, and x v is added to te rit-cild node. Tis brancin process is carried out recursively to expand tose subproblems wose solution remains ractional. Eventually, ater enou bounds are placed on te variables, an inteer solution is ound. Te value o te best inteer solution ound so ar, Z, is reerred to as te incumbent and is used or prunin. 36

21 Loosely Coupled Formulations or Automated Plannin In a minimization problem, brances emanatin rom nodes wose solution value Z LP is reater tan te current incumbent, Z, can never ive rise to a better inteer solution as eac cild node as a smaller easible reion tan its parent. Hence, we can saely eliminate suc nodes rom urter consideration and prune tem. Nodes wose easible reion ave been reduced to te empty set, because too many bounds are placed on te variables, can be pruned as well. Wen solvin an IP problem wit an LP-based branc-and-bound aloritm we must consider te ollowin two decisions. I several inteer variables ave a ractional solution, wic variable sould we branc on next, and i te branc we are currently workin on is pruned, wic subproblem sould we solve next? Basic rules include use te most ractional variable rule or brancin variable selection and te best objective value rule or node selection. For our ormulations a standard LP-based branc-and-bound aloritm approac is very ineective due to te lare number (potentially exponentially many) orderin implication constraints in te GSC, GSC, and PatSC ormulations. Wile it is possible to reduce te number o constraints by introducin additional variables (Martin, 99), te resultin ormulations would still be intractable or all but te smallest problem instances. Tereore, we solve te IP ormulations wit a so-called branc-and-cut aloritm, wic considers te orderin implication constraints implicitly. A branc-and-cut aloritm is a branc-andbound aloritm in wic certain constraints are enerated dynamically trouout te branc-and-bound tree. A lowcart o our branc-and-cut aloritm is iven in Fiure. I, ater solvin te LP relaxation, we are unable to prune te node on te basis o te LP solution, te branc-and-cut aloritm tries to ind a violated cut, tat is, a constraint tat is valid but not satisied by te current solution. Tis is also known as te separation problem. I one or more violated cuts are ound, te constraints are added to te ormulation and te LP is solved aain. I none are ound, te aloritm creates a branc in te enumeration tree (i te solution to te current subproblem is ractional) or enerates a easible solution (i te solution to te current subproblem is interal). Te basic idea o branc-and-cut is to leave out constraints rom te LP relaxation o wic tere are too many to andle eiciently, and add tem to te ormulation only wen tey become bindin at te solution to te current LP. Branc-and-cut aloritms ave successully been applied in solvin ard lare-scale optimization problems in a wide variety o applications includin scedulin, routin, rap partitionin, network desin, and acility location problems (Caprara & Fiscetti, 997). In our branc-and-cut aloritm we can stop as soon as we ind te irst easible solution, or we can implicitly enumerate all nodes (trou prunin) and ind te optimal solution or a iven objective unction. Note tat our ormulations can only be used to ind bounded lent optimal plans. Tat is, ind te optimal plan iven a plan period (i.e. a bounded lent). In our experimental results, owever, we ocus on indin easible solutions. 4. Constraint Generation At any point durin runtime tat te cut enerator is called we ave a solution to te current LP problem, wic consists o te LP relaxation o te oriinal IP problem plus any added bound constraints and added cuts. In our implementation o te branc-and-cut 37

Security Constrained Optimal Power Flow

Security Constrained Optimal Power Flow Security Constrained Optimal Power Flow 1. Introduction and notation Fiure 1 below compares te optimal power flow (OPF wit te security-constrained optimal power flow (SCOPF. Fi. 1 Some comments about tese

More information

1.5 Function Arithmetic

1.5 Function Arithmetic 76 Relations and Functions.5 Function Aritmetic In te previous section we used te newly deined unction notation to make sense o epressions suc as ) + 2 and 2) or a iven unction. It would seem natural,

More information

The tangent line and the velocity problems. The derivative at a point and rates of change. , such as the graph shown below:

The tangent line and the velocity problems. The derivative at a point and rates of change. , such as the graph shown below: Capter 3: Derivatives In tis capter we will cover: 3 Te tanent line an te velocity problems Te erivative at a point an rates o cane 3 Te erivative as a unction Dierentiability 3 Derivatives o constant,

More information

Continuity and Differentiability

Continuity and Differentiability Continuity and Dierentiability Tis capter requires a good understanding o its. Te concepts o continuity and dierentiability are more or less obvious etensions o te concept o its. Section - INTRODUCTION

More information

Taylor Series and the Mean Value Theorem of Derivatives

Taylor Series and the Mean Value Theorem of Derivatives 1 - Taylor Series and te Mean Value Teorem o Derivatives Te numerical solution o engineering and scientiic problems described by matematical models oten requires solving dierential equations. Dierential

More information

General Solution of the Stress Potential Function in Lekhnitskii s Elastic Theory for Anisotropic and Piezoelectric Materials

General Solution of the Stress Potential Function in Lekhnitskii s Elastic Theory for Anisotropic and Piezoelectric Materials dv. Studies Teor. Pys. Vol. 007 no. 8 7 - General Solution o te Stress Potential Function in Lenitsii s Elastic Teory or nisotropic and Pieoelectric Materials Zuo-en Ou StateKey Laboratory o Explosion

More information

ASSOCIATIVITY DATA IN AN (, 1)-CATEGORY

ASSOCIATIVITY DATA IN AN (, 1)-CATEGORY ASSOCIATIVITY DATA IN AN (, 1)-CATEGORY EMILY RIEHL A popular sloan is tat (, 1)-cateories (also called quasi-cateories or - cateories) sit somewere between cateories and spaces, combinin some o te eatures

More information

Efficient algorithms for for clone items detection

Efficient algorithms for for clone items detection Efficient algoritms for for clone items detection Raoul Medina, Caroline Noyer, and Olivier Raynaud Raoul Medina, Caroline Noyer and Olivier Raynaud LIMOS - Université Blaise Pascal, Campus universitaire

More information

Chapter 2 Limits and Continuity. Section 2.1 Rates of Change and Limits (pp ) Section Quick Review 2.1

Chapter 2 Limits and Continuity. Section 2.1 Rates of Change and Limits (pp ) Section Quick Review 2.1 Section. 6. (a) N(t) t (b) days: 6 guppies week: 7 guppies (c) Nt () t t t ln ln t ln ln ln t 8. 968 Tere will be guppies ater ln 8.968 days, or ater nearly 9 days. (d) Because it suggests te number o

More information

CMU Fall VLSI CAD

CMU Fall VLSI CAD CMU Fall 00 8-760 VLSI CAD [5 pts] HW 5. Out: Tue Nov 7, Due: Tu. Dec 0, in class. (V). Quadratic Placement [5 pts] Consider tis simple netlist wit fixed pins, wic as placeable objects. All te -point wires

More information

Consider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx.

Consider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx. Capter 2 Integrals as sums and derivatives as differences We now switc to te simplest metods for integrating or differentiating a function from its function samples. A careful study of Taylor expansions

More information

A = h w (1) Error Analysis Physics 141

A = h w (1) Error Analysis Physics 141 Introduction In all brances of pysical science and engineering one deals constantly wit numbers wic results more or less directly from experimental observations. Experimental observations always ave inaccuracies.

More information

Material for Difference Quotient

Material for Difference Quotient Material for Difference Quotient Prepared by Stepanie Quintal, graduate student and Marvin Stick, professor Dept. of Matematical Sciences, UMass Lowell Summer 05 Preface Te following difference quotient

More information

Solving Continuous Linear Least-Squares Problems by Iterated Projection

Solving Continuous Linear Least-Squares Problems by Iterated Projection Solving Continuous Linear Least-Squares Problems by Iterated Projection by Ral Juengling Department o Computer Science, Portland State University PO Box 75 Portland, OR 977 USA Email: juenglin@cs.pdx.edu

More information

Preface. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed.

Preface. Here are a couple of warnings to my students who may be here to get a copy of what happened on a day that you missed. Preface Here are my online notes for my course tat I teac ere at Lamar University. Despite te fact tat tese are my class notes, tey sould be accessible to anyone wanting to learn or needing a refreser

More information

Krazy Katt, the mechanical cat

Krazy Katt, the mechanical cat Krazy Katt, te mecanical cat Te cat rigting relex is a cat's innate ability to orient itsel as it alls in order to land on its eet. Te rigting relex begins to appear at 3 4 weeks o age, and is perected

More information

Pre-Calculus Review Preemptive Strike

Pre-Calculus Review Preemptive Strike Pre-Calculus Review Preemptive Strike Attaced are some notes and one assignment wit tree parts. Tese are due on te day tat we start te pre-calculus review. I strongly suggest reading troug te notes torougly

More information

5. Network Analysis. 5.1 Introduction

5. Network Analysis. 5.1 Introduction 5. Network Analysis 5.1 Introduction With the continued rowth o this country as it enters the next century comes the inevitable increase in the number o vehicles tryin to use the already overtaxed transportation

More information

OPTIMISATION AND MARGINAL ANALYSIS PHILIP K. ADOM

OPTIMISATION AND MARGINAL ANALYSIS PHILIP K. ADOM OPTIMISATION AND MARGINAL ANALYSIS PHILIP K. ADOM MATHEMATICAL RELATIONS Equations are matematical description o ow variables are related. In ever equation, tere is a dependent variable, independent variable

More information

UNIT #6 EXPONENTS, EXPONENTS, AND MORE EXPONENTS REVIEW QUESTIONS

UNIT #6 EXPONENTS, EXPONENTS, AND MORE EXPONENTS REVIEW QUESTIONS Answer Key Name: Date: UNIT # EXPONENTS, EXPONENTS, AND MORE EXPONENTS REVIEW QUESTIONS Part I Questions. Te epression 0 can be simpliied to () () 0 0. Wic o te ollowing is equivalent to () () 8 8? 8.

More information

Essential Microeconomics : EQUILIBRIUM AND EFFICIENCY WITH PRODUCTION Key ideas: Walrasian equilibrium, first and second welfare theorems

Essential Microeconomics : EQUILIBRIUM AND EFFICIENCY WITH PRODUCTION Key ideas: Walrasian equilibrium, first and second welfare theorems Essential Microeconomics -- 5.2: EQUILIBRIUM AND EFFICIENCY WITH PRODUCTION Key ideas: Walrasian equilibrium, irst and second welare teorems A general model 2 First welare Teorem 7 Second welare teorem

More information

Online Appendix for Lerner Symmetry: A Modern Treatment

Online Appendix for Lerner Symmetry: A Modern Treatment Online Appendix or Lerner Symmetry: A Modern Treatment Arnaud Costinot MIT Iván Werning MIT May 2018 Abstract Tis Appendix provides te proos o Teorem 1, Teorem 2, and Proposition 1. 1 Perect Competition

More information

How to Find the Derivative of a Function: Calculus 1

How to Find the Derivative of a Function: Calculus 1 Introduction How to Find te Derivative of a Function: Calculus 1 Calculus is not an easy matematics course Te fact tat you ave enrolled in suc a difficult subject indicates tat you are interested in te

More information

Copyright c 2008 Kevin Long

Copyright c 2008 Kevin Long Lecture 4 Numerical solution of initial value problems Te metods you ve learned so far ave obtained closed-form solutions to initial value problems. A closedform solution is an explicit algebriac formula

More information

Differentiation Rules c 2002 Donald Kreider and Dwight Lahr

Differentiation Rules c 2002 Donald Kreider and Dwight Lahr Dierentiation Rules c 00 Donal Kreier an Dwigt Lar Te Power Rule is an example o a ierentiation rule. For unctions o te orm x r, were r is a constant real number, we can simply write own te erivative rater

More information

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator.

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator. Lecture XVII Abstract We introduce te concept of directional derivative of a scalar function and discuss its relation wit te gradient operator. Directional derivative and gradient Te directional derivative

More information

On One Justification on the Use of Hybrids for the Solution of First Order Initial Value Problems of Ordinary Differential Equations

On One Justification on the Use of Hybrids for the Solution of First Order Initial Value Problems of Ordinary Differential Equations Pure and Applied Matematics Journal 7; 6(5: 74 ttp://wwwsciencepublisinggroupcom/j/pamj doi: 648/jpamj765 ISSN: 6979 (Print; ISSN: 698 (Online On One Justiication on te Use o Hybrids or te Solution o First

More information

Exam 1 Review Solutions

Exam 1 Review Solutions Exam Review Solutions Please also review te old quizzes, and be sure tat you understand te omework problems. General notes: () Always give an algebraic reason for your answer (graps are not sufficient),

More information

The Measurement of the Gravitational Constant g with Kater s Pendulum

The Measurement of the Gravitational Constant g with Kater s Pendulum e Measurement of te Gravitational Constant wit Kater s Pendulum Abstract A Kater s pendulum is set up to measure te period of oscillation usin a lamppotocell module and a ektronix oscilloscope. Usin repeated

More information

Satometer: How Much Have We Searched?

Satometer: How Much Have We Searched? Satometer: How Muc Have We Searced? Fadi A. Aloul, Brian D. Sierawski, Karem A. Sakalla Department o Electrical Engineering and Computer Science University o Micigan {aloul, bsieraws, karem}@eecs.umic.edu

More information

3.4 Worksheet: Proof of the Chain Rule NAME

3.4 Worksheet: Proof of the Chain Rule NAME Mat 1170 3.4 Workseet: Proof of te Cain Rule NAME Te Cain Rule So far we are able to differentiate all types of functions. For example: polynomials, rational, root, and trigonometric functions. We are

More information

BARYCENTRIC SUBDIVISION AND ISOMORPHISMS OF GROUPOIDS

BARYCENTRIC SUBDIVISION AND ISOMORPHISMS OF GROUPOIDS BARYCENTRIC SUBDIVISION AND ISOMORPHISMS OF GROUPOIDS JASHA SOMMER-SIMPSON Abstract Given roupoids G and H as well as an isomorpism Ψ : Sd G = Sd H between subdivisions, we construct an isomorpism P :

More information

Honors Calculus Midterm Review Packet

Honors Calculus Midterm Review Packet Name Date Period Honors Calculus Midterm Review Packet TOPICS THAT WILL APPEAR ON THE EXAM Capter Capter Capter (Sections. to.6) STRUCTURE OF THE EXAM Part No Calculators Miture o multiple-coice, matcing,

More information

INTERSECTION THEORY CLASS 17

INTERSECTION THEORY CLASS 17 INTERSECTION THEORY CLASS 17 RAVI VAKIL CONTENTS 1. Were we are 1 1.1. Reined Gysin omomorpisms i! 2 1.2. Excess intersection ormula 4 2. Local complete intersection morpisms 6 Were we re oin, by popular

More information

1 The concept of limits (p.217 p.229, p.242 p.249, p.255 p.256) 1.1 Limits Consider the function determined by the formula 3. x since at this point

1 The concept of limits (p.217 p.229, p.242 p.249, p.255 p.256) 1.1 Limits Consider the function determined by the formula 3. x since at this point MA00 Capter 6 Calculus and Basic Linear Algebra I Limits, Continuity and Differentiability Te concept of its (p.7 p.9, p.4 p.49, p.55 p.56). Limits Consider te function determined by te formula f Note

More information

1. Which one of the following expressions is not equal to all the others? 1 C. 1 D. 25x. 2. Simplify this expression as much as possible.

1. Which one of the following expressions is not equal to all the others? 1 C. 1 D. 25x. 2. Simplify this expression as much as possible. 004 Algebra Pretest answers and scoring Part A. Multiple coice questions. Directions: Circle te letter ( A, B, C, D, or E ) net to te correct answer. points eac, no partial credit. Wic one of te following

More information

Mathematical Theory of the h- and g-index in Case of Fractional Counting of Authorship

Mathematical Theory of the h- and g-index in Case of Fractional Counting of Authorship Matematical Teory of te - and -Index in Case of Fractional Countin of Autorsip Leo Ee Universiteit Hasselt (UHasselt), Campus Diepenbeek, Aoralaan, B-3590 Diepenbeek, Belium and Universiteit Antwerpen

More information

Dimensioning Optical Networks under Traffic Growth Models

Dimensioning Optical Networks under Traffic Growth Models Dimensioning Optical etworks under Traic rowt Models Tapan Kumar ayak Dept o Electrical Communication Engineering Indian Institute o Science Bangalore, India 560012 Kumar Sivarajan Tejas etworks Kanija

More information

1. Consider the trigonometric function f(t) whose graph is shown below. Write down a possible formula for f(t).

1. Consider the trigonometric function f(t) whose graph is shown below. Write down a possible formula for f(t). . Consider te trigonometric function f(t) wose grap is sown below. Write down a possible formula for f(t). Tis function appears to be an odd, periodic function tat as been sifted upwards, so we will use

More information

Teaching Differentiation: A Rare Case for the Problem of the Slope of the Tangent Line

Teaching Differentiation: A Rare Case for the Problem of the Slope of the Tangent Line Teacing Differentiation: A Rare Case for te Problem of te Slope of te Tangent Line arxiv:1805.00343v1 [mat.ho] 29 Apr 2018 Roman Kvasov Department of Matematics University of Puerto Rico at Aguadilla Aguadilla,

More information

Chapter Seven The Quantum Mechanical Simple Harmonic Oscillator

Chapter Seven The Quantum Mechanical Simple Harmonic Oscillator Capter Seven Te Quantum Mecanical Simple Harmonic Oscillator Introduction Te potential energy function for a classical, simple armonic oscillator is given by ZÐBÑ œ 5B were 5 is te spring constant. Suc

More information

2.11 That s So Derivative

2.11 That s So Derivative 2.11 Tat s So Derivative Introduction to Differential Calculus Just as one defines instantaneous velocity in terms of average velocity, we now define te instantaneous rate of cange of a function at a point

More information

lecture 26: Richardson extrapolation

lecture 26: Richardson extrapolation 43 lecture 26: Ricardson extrapolation 35 Ricardson extrapolation, Romberg integration Trougout numerical analysis, one encounters procedures tat apply some simple approximation (eg, linear interpolation)

More information

THE AXIOMS FOR TRIANGULATED CATEGORIES

THE AXIOMS FOR TRIANGULATED CATEGORIES THE AIOMS FOR TRIANGULATED CATEGORIES J. P. MA Contents 1. Trianulated cateories 1 2. Weak pusouts and weak pullbacks 4 3. How to prove Verdier s axiom 6 Reerences 9 Tis is an edited extract rom my paper

More information

Numerical Differentiation

Numerical Differentiation Numerical Differentiation Finite Difference Formulas for te first derivative (Using Taylor Expansion tecnique) (section 8.3.) Suppose tat f() = g() is a function of te variable, and tat as 0 te function

More information

Solution. Solution. f (x) = (cos x)2 cos(2x) 2 sin(2x) 2 cos x ( sin x) (cos x) 4. f (π/4) = ( 2/2) ( 2/2) ( 2/2) ( 2/2) 4.

Solution. Solution. f (x) = (cos x)2 cos(2x) 2 sin(2x) 2 cos x ( sin x) (cos x) 4. f (π/4) = ( 2/2) ( 2/2) ( 2/2) ( 2/2) 4. December 09, 20 Calculus PracticeTest s Name: (4 points) Find te absolute extrema of f(x) = x 3 0 on te interval [0, 4] Te derivative of f(x) is f (x) = 3x 2, wic is zero only at x = 0 Tus we only need

More information

Some Review Problems for First Midterm Mathematics 1300, Calculus 1

Some Review Problems for First Midterm Mathematics 1300, Calculus 1 Some Review Problems for First Midterm Matematics 00, Calculus. Consider te trigonometric function f(t) wose grap is sown below. Write down a possible formula for f(t). Tis function appears to be an odd,

More information

The derivative function

The derivative function Roberto s Notes on Differential Calculus Capter : Definition of derivative Section Te derivative function Wat you need to know already: f is at a point on its grap and ow to compute it. Wat te derivative

More information

Solving Second Order Linear Dirichlet and Neumann Boundary Value Problems by Block Method

Solving Second Order Linear Dirichlet and Neumann Boundary Value Problems by Block Method IAENG International Journal o Applied Matematics 43: IJAM_43 04 Solving Second Order Linear Diriclet and Neumann Boundar Value Problems b Block Metod Zanaria Abdul Majid Mod Mugti Hasni and Norazak Senu

More information

Conductance from Transmission Probability

Conductance from Transmission Probability Conductance rom Transmission Probability Kelly Ceung Department o Pysics & Astronomy University o Britis Columbia Vancouver, BC. Canada, V6T1Z1 (Dated: November 5, 005). ntroduction For large conductors,

More information

Quantum Numbers and Rules

Quantum Numbers and Rules OpenStax-CNX module: m42614 1 Quantum Numbers and Rules OpenStax College Tis work is produced by OpenStax-CNX and licensed under te Creative Commons Attribution License 3.0 Abstract Dene quantum number.

More information

4. The slope of the line 2x 7y = 8 is (a) 2/7 (b) 7/2 (c) 2 (d) 2/7 (e) None of these.

4. The slope of the line 2x 7y = 8 is (a) 2/7 (b) 7/2 (c) 2 (d) 2/7 (e) None of these. Mat 11. Test Form N Fall 016 Name. Instructions. Te first eleven problems are wort points eac. Te last six problems are wort 5 points eac. For te last six problems, you must use relevant metods of algebra

More information

Quantum Mechanics Chapter 1.5: An illustration using measurements of particle spin.

Quantum Mechanics Chapter 1.5: An illustration using measurements of particle spin. I Introduction. Quantum Mecanics Capter.5: An illustration using measurements of particle spin. Quantum mecanics is a teory of pysics tat as been very successful in explaining and predicting many pysical

More information

MVT and Rolle s Theorem

MVT and Rolle s Theorem AP Calculus CHAPTER 4 WORKSHEET APPLICATIONS OF DIFFERENTIATION MVT and Rolle s Teorem Name Seat # Date UNLESS INDICATED, DO NOT USE YOUR CALCULATOR FOR ANY OF THESE QUESTIONS In problems 1 and, state

More information

E E B B. over U is a full subcategory of the fiber of C,D over U. Given [B, B ], and h=θ over V, the Cartesian arrow M=f

E E B B. over U is a full subcategory of the fiber of C,D over U. Given [B, B ], and h=θ over V, the Cartesian arrow M=f ppendix : ibrational teory o L euivalence E E onsider ibrations P, P, and te category Fib[,] o all maps E @E 2 =(, ):@ :: P { P 2 () @ o ibrations; Fib[,] is a ull subcategory o [,] ; see [3]. Fib[,] is

More information

Precalculus Test 2 Practice Questions Page 1. Note: You can expect other types of questions on the test than the ones presented here!

Precalculus Test 2 Practice Questions Page 1. Note: You can expect other types of questions on the test than the ones presented here! Precalculus Test 2 Practice Questions Page Note: You can expect oter types of questions on te test tan te ones presented ere! Questions Example. Find te vertex of te quadratic f(x) = 4x 2 x. Example 2.

More information

HOW TO DEAL WITH FFT SAMPLING INFLUENCES ON ADEV CALCULATIONS

HOW TO DEAL WITH FFT SAMPLING INFLUENCES ON ADEV CALCULATIONS HOW TO DEAL WITH FFT SAMPLING INFLUENCES ON ADEV CALCULATIONS Po-Ceng Cang National Standard Time & Frequency Lab., TL, Taiwan 1, Lane 551, Min-Tsu Road, Sec. 5, Yang-Mei, Taoyuan, Taiwan 36 Tel: 886 3

More information

Notes on wavefunctions II: momentum wavefunctions

Notes on wavefunctions II: momentum wavefunctions Notes on wavefunctions II: momentum wavefunctions and uncertainty Te state of a particle at any time is described by a wavefunction ψ(x). Tese wavefunction must cange wit time, since we know tat particles

More information

Analytic Functions. Differentiable Functions of a Complex Variable

Analytic Functions. Differentiable Functions of a Complex Variable Analytic Functions Differentiable Functions of a Complex Variable In tis capter, we sall generalize te ideas for polynomials power series of a complex variable we developed in te previous capter to general

More information

MAT244 - Ordinary Di erential Equations - Summer 2016 Assignment 2 Due: July 20, 2016

MAT244 - Ordinary Di erential Equations - Summer 2016 Assignment 2 Due: July 20, 2016 MAT244 - Ordinary Di erential Equations - Summer 206 Assignment 2 Due: July 20, 206 Full Name: Student #: Last First Indicate wic Tutorial Section you attend by filling in te appropriate circle: Tut 0

More information

MA455 Manifolds Solutions 1 May 2008

MA455 Manifolds Solutions 1 May 2008 MA455 Manifolds Solutions 1 May 2008 1. (i) Given real numbers a < b, find a diffeomorpism (a, b) R. Solution: For example first map (a, b) to (0, π/2) and ten map (0, π/2) diffeomorpically to R using

More information

1 1. Rationalize the denominator and fully simplify the radical expression 3 3. Solution: = 1 = 3 3 = 2

1 1. Rationalize the denominator and fully simplify the radical expression 3 3. Solution: = 1 = 3 3 = 2 MTH - Spring 04 Exam Review (Solutions) Exam : February 5t 6:00-7:0 Tis exam review contains questions similar to tose you sould expect to see on Exam. Te questions included in tis review, owever, are

More information

Midterm #1B. x 8 < < x 8 < 11 3 < x < x > x < 5 or 3 2x > 5 2x < 8 2x > 2

Midterm #1B. x 8 < < x 8 < 11 3 < x < x > x < 5 or 3 2x > 5 2x < 8 2x > 2 Mat 30 College Algebra Februar 2, 2016 Midterm #1B Name: Answer Ke David Arnold Instructions. ( points) For eac o te ollowing questions, select te best answer and darken te corresponding circle on our

More information

MATH1901 Differential Calculus (Advanced)

MATH1901 Differential Calculus (Advanced) MATH1901 Dierential Calculus (Advanced) Capter 3: Functions Deinitions : A B A and B are sets assigns to eac element in A eactl one element in B A is te domain o te unction B is te codomain o te unction

More information

The Complexity of Computing the MCD-Estimator

The Complexity of Computing the MCD-Estimator Te Complexity of Computing te MCD-Estimator Torsten Bernolt Lerstul Informatik 2 Universität Dortmund, Germany torstenbernolt@uni-dortmundde Paul Fiscer IMM, Danisc Tecnical University Kongens Lyngby,

More information

Computer Derivations of Numerical Differentiation Formulae. Int. J. of Math. Education in Sci. and Tech., V 34, No 2 (March-April 2003), pp

Computer Derivations of Numerical Differentiation Formulae. Int. J. of Math. Education in Sci. and Tech., V 34, No 2 (March-April 2003), pp Computer Derivations o Numerical Dierentiation Formulae By Jon H. Matews Department o Matematics Caliornia State University Fullerton USA Int. J. o Mat. Education in Sci. and Tec. V No (Marc-April ) pp.8-87.

More information

Combining functions: algebraic methods

Combining functions: algebraic methods Combining functions: algebraic metods Functions can be added, subtracted, multiplied, divided, and raised to a power, just like numbers or algebra expressions. If f(x) = x 2 and g(x) = x + 2, clearly f(x)

More information

Dynamics and Relativity

Dynamics and Relativity Dynamics and Relativity Stepen Siklos Lent term 2011 Hand-outs and examples seets, wic I will give out in lectures, are available from my web site www.damtp.cam.ac.uk/user/stcs/dynamics.tml Lecture notes,

More information

2. A Generic Formulation and the Single-Commodity Flow Formulation for the CVRP

2. A Generic Formulation and the Single-Commodity Flow Formulation for the CVRP On Time-Dependent Models for Unit Demand Veicle Routing Problems Maria Teresa Godino, CIO-Dep. de Matemática, Instituto Politécnico de Beja, mtgodino@estig.ipbeja.pt Luis Gouveia, CIO-DEIO, Faculdade de

More information

Hydraulic validation of the LHC cold mass heat exchanger tube.

Hydraulic validation of the LHC cold mass heat exchanger tube. Hydraulic validation o te LHC cold mass eat excanger tube. LHC Project Note 155 1998-07-22 (pilippe.provenaz@cern.c) Pilippe PROVENAZ / LHC-ACR Division Summary Te knowledge o te elium mass low vs. te

More information

Exponentials and Logarithms Review Part 2: Exponentials

Exponentials and Logarithms Review Part 2: Exponentials Eponentials and Logaritms Review Part : Eponentials Notice te difference etween te functions: g( ) and f ( ) In te function g( ), te variale is te ase and te eponent is a constant. Tis is called a power

More information

4.2 - Richardson Extrapolation

4.2 - Richardson Extrapolation . - Ricardson Extrapolation. Small-O Notation: Recall tat te big-o notation used to define te rate of convergence in Section.: Definition Let x n n converge to a number x. Suppose tat n n is a sequence

More information

Polynomial Interpolation

Polynomial Interpolation Capter 4 Polynomial Interpolation In tis capter, we consider te important problem of approximatinga function fx, wose values at a set of distinct points x, x, x,, x n are known, by a polynomial P x suc

More information

University of Washington Department of Chemistry Chemistry 453 Winter Quarter 2015

University of Washington Department of Chemistry Chemistry 453 Winter Quarter 2015 Lecture : Transition State Teory. tkins & DePaula: 7.6-7.7 University o Wasinton Departent o Ceistry Ceistry 453 Winter Quarter 05. ctivated Kinetics Kinetic rate uations are overned by several principles.

More information

Differentiation. introduction to limits

Differentiation. introduction to limits 9 9A Introduction to limits 9B Limits o discontinuous, rational and brid unctions 9C Dierentiation using i rst principles 9D Finding derivatives b rule 9E Antidierentiation 9F Deriving te original unction

More information

THE IDEA OF DIFFERENTIABILITY FOR FUNCTIONS OF SEVERAL VARIABLES Math 225

THE IDEA OF DIFFERENTIABILITY FOR FUNCTIONS OF SEVERAL VARIABLES Math 225 THE IDEA OF DIFFERENTIABILITY FOR FUNCTIONS OF SEVERAL VARIABLES Mat 225 As we ave seen, te definition of derivative for a Mat 111 function g : R R and for acurveγ : R E n are te same, except for interpretation:

More information

2.8 The Derivative as a Function

2.8 The Derivative as a Function .8 Te Derivative as a Function Typically, we can find te derivative of a function f at many points of its domain: Definition. Suppose tat f is a function wic is differentiable at every point of an open

More information

3.1 Extreme Values of a Function

3.1 Extreme Values of a Function .1 Etreme Values of a Function Section.1 Notes Page 1 One application of te derivative is finding minimum and maimum values off a grap. In precalculus we were only able to do tis wit quadratics by find

More information

Symmetry Labeling of Molecular Energies

Symmetry Labeling of Molecular Energies Capter 7. Symmetry Labeling of Molecular Energies Notes: Most of te material presented in tis capter is taken from Bunker and Jensen 1998, Cap. 6, and Bunker and Jensen 2005, Cap. 7. 7.1 Hamiltonian Symmetry

More information

Minimum-weight spanning trees

Minimum-weight spanning trees Spannin Trees 7.1 130 Minimum-weit spannin trees Motivation: Create a connected network as ceaply as possible. Tink: Settin up electrical rid or road network. Spannin Trees 7.1 130 Minimum-weit spannin

More information

Average Rate of Change

Average Rate of Change Te Derivative Tis can be tougt of as an attempt to draw a parallel (pysically and metaporically) between a line and a curve, applying te concept of slope to someting tat isn't actually straigt. Te slope

More information

Derivatives. By: OpenStaxCollege

Derivatives. By: OpenStaxCollege By: OpenStaxCollege Te average teen in te United States opens a refrigerator door an estimated 25 times per day. Supposedly, tis average is up from 10 years ago wen te average teenager opened a refrigerator

More information

Chapter 2 Limits and Continuity

Chapter 2 Limits and Continuity 4 Section. Capter Limits and Continuity Section. Rates of Cange and Limits (pp. 6) Quick Review.. f () ( ) () 4 0. f () 4( ) 4. f () sin sin 0 4. f (). 4 4 4 6. c c c 7. 8. c d d c d d c d c 9. 8 ( )(

More information

Polynomial Interpolation

Polynomial Interpolation Capter 4 Polynomial Interpolation In tis capter, we consider te important problem of approximating a function f(x, wose values at a set of distinct points x, x, x 2,,x n are known, by a polynomial P (x

More information

Math 1241 Calculus Test 1

Math 1241 Calculus Test 1 February 4, 2004 Name Te first nine problems count 6 points eac and te final seven count as marked. Tere are 120 points available on tis test. Multiple coice section. Circle te correct coice(s). You do

More information

These errors are made from replacing an infinite process by finite one.

These errors are made from replacing an infinite process by finite one. Introduction :- Tis course examines problems tat can be solved by metods of approximation, tecniques we call numerical metods. We begin by considering some of te matematical and computational topics tat

More information

REVIEW LAB ANSWER KEY

REVIEW LAB ANSWER KEY REVIEW LAB ANSWER KEY. Witout using SN, find te derivative of eac of te following (you do not need to simplify your answers): a. f x 3x 3 5x x 6 f x 3 3x 5 x 0 b. g x 4 x x x notice te trick ere! x x g

More information

Mathematics 5 Worksheet 11 Geometry, Tangency, and the Derivative

Mathematics 5 Worksheet 11 Geometry, Tangency, and the Derivative Matematics 5 Workseet 11 Geometry, Tangency, and te Derivative Problem 1. Find te equation of a line wit slope m tat intersects te point (3, 9). Solution. Te equation for a line passing troug a point (x

More information

Volume 29, Issue 3. Existence of competitive equilibrium in economies with multi-member households

Volume 29, Issue 3. Existence of competitive equilibrium in economies with multi-member households Volume 29, Issue 3 Existence of competitive equilibrium in economies wit multi-member ouseolds Noriisa Sato Graduate Scool of Economics, Waseda University Abstract Tis paper focuses on te existence of

More information

NUMERICAL DIFFERENTIATION. James T. Smith San Francisco State University. In calculus classes, you compute derivatives algebraically: for example,

NUMERICAL DIFFERENTIATION. James T. Smith San Francisco State University. In calculus classes, you compute derivatives algebraically: for example, NUMERICAL DIFFERENTIATION James T Smit San Francisco State University In calculus classes, you compute derivatives algebraically: for example, f( x) = x + x f ( x) = x x Tis tecnique requires your knowing

More information

HOMEWORK HELP 2 FOR MATH 151

HOMEWORK HELP 2 FOR MATH 151 HOMEWORK HELP 2 FOR MATH 151 Here we go; te second round of omework elp. If tere are oters you would like to see, let me know! 2.4, 43 and 44 At wat points are te functions f(x) and g(x) = xf(x)continuous,

More information

Functions of the Complex Variable z

Functions of the Complex Variable z Capter 2 Functions of te Complex Variable z Introduction We wis to examine te notion of a function of z were z is a complex variable. To be sure, a complex variable can be viewed as noting but a pair of

More information

Generic maximum nullity of a graph

Generic maximum nullity of a graph Generic maximum nullity of a grap Leslie Hogben Bryan Sader Marc 5, 2008 Abstract For a grap G of order n, te maximum nullity of G is defined to be te largest possible nullity over all real symmetric n

More information

1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x)

1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x) Calculus. Gradients and te Derivative Q f(x+) δy P T δx R f(x) 0 x x+ Let P (x, f(x)) and Q(x+, f(x+)) denote two points on te curve of te function y = f(x) and let R denote te point of intersection of

More information

Domination Problems in Nowhere-Dense Classes of Graphs

Domination Problems in Nowhere-Dense Classes of Graphs LIPIcs Leibniz International Proceedings in Informatics Domination Problems in Nowere-Dense Classes of Graps Anuj Dawar 1, Stepan Kreutzer 2 1 University of Cambridge Computer Lab, U.K. anuj.dawar@cl.cam.ac.uk

More information

Lines, Conics, Tangents, Limits and the Derivative

Lines, Conics, Tangents, Limits and the Derivative Lines, Conics, Tangents, Limits and te Derivative Te Straigt Line An two points on te (,) plane wen joined form a line segment. If te line segment is etended beond te two points ten it is called a straigt

More information

CHAPTER (A) When x = 2, y = 6, so f( 2) = 6. (B) When y = 4, x can equal 6, 2, or 4.

CHAPTER (A) When x = 2, y = 6, so f( 2) = 6. (B) When y = 4, x can equal 6, 2, or 4. SECTION 3-1 101 CHAPTER 3 Section 3-1 1. No. A correspondence between two sets is a function only if eactly one element of te second set corresponds to eac element of te first set. 3. Te domain of a function

More information

Excursions in Computing Science: Week v Milli-micro-nano-..math Part II

Excursions in Computing Science: Week v Milli-micro-nano-..math Part II Excursions in Computing Science: Week v Milli-micro-nano-..mat Part II T. H. Merrett McGill University, Montreal, Canada June, 5 I. Prefatory Notes. Cube root of 8. Almost every calculator as a square-root

More information

Variational Methods for Time Dependent Wave Propagation Problems

Variational Methods for Time Dependent Wave Propagation Problems Variational Metods or Time Dependent Wave Propagation Problems Patrick Joly INRIA Rocquencourt, BP105 Le Cesnay, France (patrick.joly@inria.r) 1 Introduction Tere is an important need or numerical metods

More information

MAT Calculus for Engineers I EXAM #1

MAT Calculus for Engineers I EXAM #1 MAT 65 - Calculus for Engineers I EXAM # Instructor: Liu, Hao Honor Statement By signing below you conrm tat you ave neiter given nor received any unautorized assistance on tis eam. Tis includes any use

More information