Exploiting Correlation in Stochastic Circuit Design

Size: px
Start display at page:

Download "Exploiting Correlation in Stochastic Circuit Design"

Transcription

1 Eploiting Correlation in Stochastic Circuit Design Armin Alaghi and John P. Haes Advanced Computer Architecture Laborator Department of Electrical Engineering and Computer Science Universit of Michigan, Ann Arbor, MI, 4809, USA {alaghi, Abstract Stochastic computing (SC) is a re-emerging computing paradigm which enables ultra-low power and massive parallelism in important applications like real-time image processing. It is characteried b its use of pseudo-random numbers implemented b 0- sequences called stochastic numbers (SNs) and interpreted as probabilities. Accurac is usuall assumed to depend on the interacting SNs being highl independent or uncorrelated in a loosel specified wa. This paper introduces a new and rigorous SC correlation (SCC) measure for SNs, and shows that, contrar to intuition, correlation can be eploited as a resource in SC design. We propose a general framework for analing and designing combinational circuits with correlated inputs, and demonstrate that such circuits can be significantl more efficient and more accurate than traditional SC circuits. We also provide a method of analing stochastic sequential circuits, which tend to have inherentl correlated state variables and have proven ver hard to anale. Kewords Stochastic computing; signal correlation; low-power design; stochastic circuit design. I. INTRODUCTION Stochastic computing (SC) was introduced in the 960s as a wa to implement comple computing tasks at low hardware cost [2] [6] [7]. Its ke feature is the use of long random bitstreams called stochastic numbers (SNs) to represent the data being processed. Fig. a shows how a single AND gate can multipl two n-bit SNs in n clock ccles. Here,, denote logic functions, and the 8-bit sequences X, Y, Z denote the corresponding SNs with their probabilit values,, in parenthesis. The probabilit of appearing on is equal to the probabilit of on, multiplied b the probabilit of a on, assuming that the input signals are independent or uncorrelated. SC has seen little use in practice because it involves comple and poorl understood trade-offs among circuit sie, computation time, and accurac. There has been a recent resurgence of interest in SC as it has been shown to be ver cost-effective in some useful applications, notabl lowdensit parit check (LDPC) decoding [9] [6] and image processing [3] [3]. Stochastic circuits have other nice properties such as ver low power and high error tolerance. On the other hand, SC has several drawbacks that need to be addressed to obtain practical circuits. In particular, independent inputs have been seen as necessar for SC because correlated inputs can produce inaccurate results [2]. This is illustrated b Fig. b where the bit-streams X and Y are identical, and so are maimall correlated. The output Z now has the value instead of the desired product. X = (4/8) Y = (4/8) X = (4/8) Y = (4/8) Z = (2/8) Z = (4/8) Figure. Stochastic multiplication; accurate result with uncorrelated inputs; inaccurate result due to correlated inputs. Fig. 2 shows some basic components for constructing stochastic circuits. Addition is implemented b a two-wa multipleer in the scaled form ( + )/2, which ensures that the sum of two SNs lies in the probabilit interval [0,]. Note that the scaling factor is supplied b an independent SN W of fied value 0.5, i.e., a purel random bit-stream. The remaining two circuits convert numbers between ordinar binar form N and stochastic form X with = N/2 k. The (pseudo) random number generator in Fig. 2c is tpicall implemented b a linear feedback shift register (LFSR) [0]. Signed numbers can be handled b bipolar notation, which maps the SN range from [0,] to [,]. If X is an SN with (unipolar) value, its corresponding bipolar value is. The circuits of Fig. 2 require ver minor modification to handle bipolar numbers. For eample, an XNOR gate performs the bipolar multiplication, while the multipleer of Fig. 2b continues to serve as a scaled adder for bipolar SNs. Most SC circuits designed so far do not behave satisfactoril when their inputs are even moderatel correlated. The general solution to this problem has been to avoid correlation as much as possible, either b using independent sources for all input SNs, or else b selectivel re-randomiing correlated SNs. The latter involves first 0 AND Multipleer Random number W (c) (d) generator Clock Binar number N Stochastic number X k k Clock A B Binar counter Comparator A<B k Stochastic number X Binar number N Figure 2. Unipolar SC components: multiplier scaled adder (c) binar-to-stochastic converter (d) stochastic-to-binar converter.

2 w w (4/8) (4/8) 0 0 (6/8) (4/8) (4/8) 0 0 (6/8) (5/8) (5/8) Figure 3. Stochastic addition showing accurate results with uncorrelated and correlated inputs X and Y. converting an SN to binar form and then converting it back to stochastic form via circuits like those of Fig. 2c-d. These steps come at high cost, imposing as much as 80% area overhead on one stochastic image-processing circuit [8]. In an iterative LPDC decoder [6], SNs must be re-randomied in ever iteration to avoid deadlocks. Correlation is poorl understood in the SC contet, in contrast with areas such as communications theor [0]. The onl relevant stud we know of is due to Jeavons et al. [], who do not provide an measure of correlation among bitstreams or its impact on SC behavior. The define SNs X and Y to be independent if, where is the SN obtained b ANDing X and Y. This, in effect, sas that a stochastic multiplier s inputs are uncorrelated if the output is accurate. It gives no hint of what happens with correlation present. Ma et al. [5] discuss the propagation of inaccurac through stochastic circuits under the assumption of independent inputs, and do not anale correlated inputs. This paper introduces a rigorous measure of correlation among SNs, and shows how to anale circuits with correlated inputs. It leads to an interesting conclusion: contrar to general belief, correlation is not alwas harmful in SC. In fact, it can even be eploited to design better circuits! Fig. 3 gives a motivating eample. The multipleer implements which, with = 0.5, is the scaled sum. If all inputs are independent as in Fig. 3a, the circuit performs the add operation accuratel. In Fig. 3b, ever 0 of X coincides with a from Y, impling that X and Y are (negativel) correlated, but the circuit still computes accuratel. This will be eplained in Sec. II. The net eample illustrates a situation where, counter to most intuition, correlation is actuall beneficial. The absolutevalued subtraction function is useful in image processing [3]. If it is implemented under the usual assumption of independent inputs, a large stochastic circuit is needed [3]. However, it can also be implemented b a single XOR gate fed with highl correlated inputs in which there is maimum overlap of s and 0s between the two input SNs. In that case, the probabilit of getting two s (or two 0s) on and is (or ), impling that the probabilit of different values on and becomes if (5/8) (4/8) (/8) Figure 4. XOR gate with correlated inputs implementing absolutevalued subtraction., as in Fig. 4, or else if. In other words, the output represents. Note that an XOR fed with independent SNs X and Y implements an entirel different function, namel,. These eamples demonstrate correlation s significance in SC, and suggest that advantage can be taken of correlation in certain cases. We introduce here a measure of correlation for SC and a method of analing SC circuits based on the probabilistic transfer matri (PTM) methodolog [2]. We also develop a method of snthesiing combinational circuits that work in the presence of correlation. Finall, we discuss the analsis of sequential stochastic circuits, which is ver poorl understood at present. Prior work is limited to a few special cases with regular structures [4] [4]. General sequential circuits are difficult to anale because of correlation among the state variables. The correlation analsis of this paper provides a wa to tackle these circuits. The main contributions of this paper are A new correlation measure SCC for SNs Use of PTMs to anale stochastic circuits A stud of combinational circuits with correlated inputs and their application to some useful SC designs Analsis of general sequential stochastic circuits The paper is organied as follows. Sec. II discusses PTMs and their role in SC. A rigorous analsis of correlation in the SC contet is presented in Sec. III. Then Sec. IV deals with combinational stochastic circuits, while Sec. V addresses sequential circuits. Some conclusions are drawn in Sec.VI. II. PROBABILISTIC TRANSFER MATRICES The probabilistic transfer matri (PTM) [2] has proven valuable in the probabilistic analsis of logic circuits, such as circuits subject to soft errors. Here we show that PTMs are also useful for analing correlation in stochastic circuits. In the usual SC scenario, a circuit with m inputs,, 2,, m is analed using the probabilit values of m bit-streams applied to its input lines, assuming that these bit-streams are independent. In the PTM formulation, the same input data is represented b a stochastic vector V of sie 2 m. The elements of V are the probabilities of the possible input combinations of 2 m, which can var from 00 0 to. For eample, V = [/2 0 0 /2] is the PTM corresponding to two inputs and, when the probabilit of = 00 and = is /2 and the other probabilities are ero. The PTM has more information than conditional probabilit values it also implicitl contains correlation information. For eample, V = [/2 0 0 /2] indicates that SNs X and Y are highl correlated because the probabilit of having different values on and is

3 alwas ero. The vector V 2 = [/4 /4 /4 /4], on the other hand, represents two completel uncorrelated SNs. Ever logic circuit has a PTM representing its error-free function. This is a matri of sie 2 m 2 l, where m and l are the numbers of inputs and outputs of the circuit, respectivel. The PTM of an AND gate implementing = is The entr p i,j is the (conditional) probabilit of input i producing output j. Multipling an input PTM b a circuit PTM ields an output PTM, which for a single-output gate is a vector [o 0 o ] where o 0 and o are the probabilities of 0 and, respectivel, appearing at the output. For eample, the SC operation performed b the XOR circuit of Fig. 4 is described b the PTM calculation [ ] [ ] [ ] It was stated earlier that the adder of Fig. 3 has input SNs X and Y which can be correlated without causing inaccurac. We now prove this via PTM analsis. The input vector has the form I = [i 0 i i 2 i 3 ], in which i 0, i, i 2 and i 3 denote the probabilit of being 00, 0, 0 and, respectivel. The input SN W is a constant of value /2 and so is omitted from the PTM. The adder s PTM is therefore [ ] The corresponding output vector is given b [ ] [ ] [ ] Note that and alwas holds, whether X and Y are independent or correlated. Hence, ( ). The input vectors [/8 3/8 /8 3/8] and [0 /2 /4 /4] corresponding to the inputs X and Y of Figs. 3a and 3b, respectivel, both lead to the same output vector [3/8 5/8]. III. CORRELATION OF STOCHASTIC NUMBERS Correlation refers to statistical similarit between two phenomena. As discussed in detail in [0], the correlation of two sequences (bit-streams) is measured b some form of covariance or dot-product operation. With appropriate normaliation, a correlation value of + means maimum similarit, a correlation value means minimum similarit (maimum difference), and a correlation of 0 means the sequences are uncorrelated. While man measures of similarit eist [5], the are not ver useful in the SC contet. The standard definition of correlation (also known as the Pearson correlation [5]), in particular, is unsuitable because it imposes constraints on the epected value of the bit-streams. For eample, implies that the bit-streams must be identical. A suitable similarit measure should be independent of, or orthogonal to, the data values; in other words, it should not impose constraints on the data. We therefore propose a new correlation measure defined as follows. Definition : The SC correlation SCC(X, Y) of two SNs X and Y is given b { The starting point in constructing SCC(X, Y) is obtaining the bit-wise AND function (a kind of dot-product) of the SNs, that is, finding. This is then centralied b the uncorrelated value ielding Finall, the centralied value is normalied b dividing it b the maimum possible values. The centraliation makes SCC consistent with the definition of independence in [] when, i.e., when. The normaliation guarantees that for two maimall similar (or different) SNs X and Y, we get (or ). Unlike the standard correlation measure, SCC does not var with the SN values. All the intermediate values of SCC are linearl interpolated between the independent case and the maimum similarit (or difference) case. For eample, means that is half-wa between, i.e., the independent case, and, i.e., the maimum overlap case. We can also define SCC using the notation of [5], which allows eas comparison with other correlation concepts. For two n-bit SNs X and Y, denote the number of overlapping s b a, the number of overlapping s of X and 0s of Y b b, the number of overlapping 0s of X and s of Y b c, and the number of overlapping 0s on both SNs b d. Clearl,. We then have the following definition which is equivalent to Def. : { The numerator ad bc is common to man similarit measures including Pearson correlation and it captures the overlap of 0s and s in the two bit-streams. The denominator, on the other hand, is simpl a normaliation factor. While Pearson correlation is normalied b the variance of the bit-streams, SCC is normalied so that the bitstreams with maimum (minimum) overlap of s and 0s lead to SCC = + ( ), independent of the values of the SNs. Table I shows eamples of bit-streams with their and SCC values. Note that and SCC are the same for independ-

4 TABLE I. SOME SNS WITH THEIR SCC AND STANDARD CORRELATION VALUES Stochastic numbers SC correlation Standard correlation X = 0000 Y = X = 0000 Y = X = 0000 Y = 0000 X = 00 Y = X = 00 Y = X = 00 Y = X = Y = ent SNs, and for SNs with equal values. When the SNs have different values, SCC consistentl gives the value + (or ) for maimum (minimum) overlap of s and 0s between the bit-streams, while gives different values. This shows that, unlike, SCC is not affected b the values of the bit-streams. As mentioned earlier, the function of a stochastic circuit can effectivel be changed b enforcing correlations among its inputs. The XOR gate of Fig. 4 illustrates this. Fig. 5a shows the stochastic functions implemented b the same XOR gate at different levels of SCC. In all cases, the output of the function remains the same at the four corners, but the function changes greatl for the intermediate values. Fig. 5b shows the same function for various fied values of and SCC. IV. COMBINATIONAL CIRCUITS Ever stochastic circuit implements a real-valued function F, which is interpreted as its stochastic behavior. For eample, the AND gate of Fig. implements the multiplication function = F(, ) =, assuming. The inputs of F are the values of the SNs and. Hence, to obtain the stochastic behavior of a logic circuit, we need to determine its corresponding probabilit function F. We saw earlier that a circuit s functionalit can change in the presence of correlation. The AND gate, for eample, implements = F(, ) = min(, ) if. Table II. FUNCTIONS FOR THE PTM ELEMENTS OF A TWO-INPUT CIRCUIT (, ) SCC = 0 i 0 (, ) SCC = (, ) SCC = + ma min i min ma i 2 min ma i 3 ma min Based on Def. and the subsequent discussion, the SC function of the AND gate for the case of, sa, is half-wa between its SC function for and. In general, we can epress a circuit s functionalit as a linear combination of its functions at and or. Hence for an SCC, can be written as { where, and are the functions of the same circuit at and +, respectivel. For the AND gate eample, we have,, and. In order to derive the stochastic behavior of a circuit C with correlated inputs, we use the PTM tools discussed in Sec. II. If C has two input bit-streams X and Y with correlation SCC, construct the input PTM I = [i 0 i i 2 i 3 ], in which the i k s are epressed in the form of Eq. (3). The s, s, and s corresponding to each i k are defined in Table II. From these, we can etract C s stochastic behavior b multipling the vector I b the circuit PTM. For instance, if C is an XOR gate, [ ] [ ] ields the functions illustrated in Fig. 5a for some representative values of SCC. (3) p X p X SCC = SCC = 0.5 SCC = 0 SCC = 0.5 SCC = SCC= SCC= /2 SCC= SCC=+ SCC=0 +/2 SCC=+ SCC=+ = 0 = 0.25 = 0.5 = 0.75 = Figure 5. Functions implemented b an XOR gate with different input SCC values, and with fied values of.

5 t 0 t t 2 t Figure 6. High-level structure of a snthesied two-input circuit with correlated inputs, prior to simplification. Onl correlation corresponding to the special case has been considered in the literature. As we have just seen, other cases such as lead to useful results. The PTM formulation of two-input SC circuits discussed above points to a method for snthesiing stochastic circuits with correlated inputs. In this approach, a target function F(, ) is approimated b a function = (, ) defined b [ ] [ ] [ ] (4) in which the t k s are the parameters of F to be determined and the i k s are epressed in the form of Eq. (3) and Table II. The process of approimation is to find the best t k s and the best SCC for which the following error function is minimied. ( ) (5) This is done b adjusting the t k s and the SCC using standard optimiation techniques. Because of the limited number of parameters and the well-behaved error function, this problem is relativel eas to solve. Once the parameters are found, can be realied b a logic circuit with the overall multipleer-stle structure shown in Fig. 6, The constant SNs needed for the four t k s can be generated b up to four copies of the circuit in Fig. 2c. The resulting circuit can then be further optimied using conventional logic snthesis methods and tools. Generating two SNs X and Y with a desired level of SCC is a problem that has not been studied before. We propose to use the circuit structure shown in Fig. 7, which generates X b generator generator 2 generator 3 SCC magn r r 2 r 3 SCC sign Figure 7. Generating SNs with a specified SCC. Step : Determine a suitable approimating function according to Eq. (4) in which the input vector I is defined b Eq. (3) and Table II. Step 2: Determine the error function given b Eq. (5). Step 3: Minimie b adjusting the t k and SCC parameters in. Step 4: Insert these parameters into the structure of Fig. 6, and use standard logic snthesis methods to optimie the resulting circuit. Figure 8. Algorithm CCC to snthesie a stochastic function with correlated inputs. means of a standard SN generator and, depending on the sign SCC sign and magnitude SCC magn of SCC, mies uncorrelated and correlated versions of Y together. For eample, if SCC = +, then Y is generated from the same random number source used b X, so X and Y become highl correlated. Note that Fig. 7 is a programmable structure, and not all the components shown are needed in ever design. For eample, if a circuit requires X and Y to be generated with SCC = +, then the select inputs of the multipleer are set to 0, impling that random number generators 2 and 3, and their associated circuits can be removed. Fig. 8 summaries our proposed correlated combinational circuit (CCC) snthesis algorithm. As an eample, consider the problem of snthesiing a circuit for the target function In Step of CCC, is prepared in the form of Eq. (4), and in Step 2 the error function is prepared in the form of Eq. (5). Then, the t k s and SCC are adjusted until is minimied. For the running eample,, i.e., the eact target function, can be achieved b assigning t 0 = 0, t = 0, t 2 = 0, t 3 =, and SCC = +. On plugging these values into the circuit of Fig. 6, we obtain that of Fig. 9a, i.e., an AND gate. Observe that the AND implements onl if its inputs have SCC = +. In order to generate X and Y, we use the circuit of Fig. 7 and plug in SCC = + (SCC sign = 0, SCC magn = ), ielding the circuit of Fig. 9b. This circuit is smaller than one emploing two of the independent SN generators in Fig. 2c, so generating correlated SNs is cheaper than generating independent ones in this case. Table III shows eamples of circuits snthesied b the CCC algorithm. Most of the target functions are useful nonlinear functions that have no efficient stochastic implementation when the inputs are uncorrelated. The last snthesied function in the table is the multipleer-based scaled adder in which correlation of the input data does not matter. Another tpe of SC adder, a saturating adder, is also shown. This generator Figure 9. Implementing the function : snthesied stochastic circuit, and corresponding SN generator. r

6 TABLE III. EXAMPLES OF SYNTHESIZED STOCHASTIC CIRCUITS EXPLOITING VARIOUS CORRELATION LEVELS Target function [ ] SCC Snthesied circuit [ ] + AND gate with positivel correlated inputs [ ] + OR gate with positivel correlated inputs [ ] + XOR gate with positivel correlated inputs; implements absolute-valued subtraction [ ] OR gate with negativel correlated inputs; implements saturating add [ ] An Multipleer with arbitrar correlation among its data inputs; implements scaled add circuit adds its inputs without scaling until the saturating value is reached. Finall, observe that in some cases, the circuits snthesied b CCC are the same as the standard designs. For eample, the smallest SC multiplier is the AND gate of Fig., which requires uncorrelated inputs. This shows that the CCC is capable of replicating circuits snthesied b eisting methods, because SCC = 0 is also allowed in CCC. Table IV compares the circuits snthesied b CCC and those designed b the spectral snthesis method of [], which makes the usual independent-inputs assumption, i.e., SCC = 0. In addition to the circuits of Table III, a few other functions were implemented. Since it is normall impossible to implement real-valued functions eactl, some are approimated before snthesis. Area is estimated b mapping the circuits to a generic librar of cells using 0.35 m CMOS technolog [9]. For a fair comparison, we also report the measured mean error between the snthesied and target functions F and F. The results indicate that in most cases, the circuits snthesied b CCC are smaller and more accurate than those designed b the method of []. When dealing with more than two signals, considering their pairwise SCC values ma be insufficient, as higher-order correlations can eist among groups of three or more of the signals. To handle such cases, we suggest using PTMs that are large enough to embed all the signal correlations of interest. Circuits with man inputs can also be designed b decom- TABLE IV. COMPARISON BETWEEN CIRCUITS SYNTHESIZED IN THIS PAPER AND THOSE SYNTHESIZED BY THE SPECTRAL METHOD OF [] Target function Saturating adder Saturating subtracter Multiplier Scaled adder Snthesis method and correlation assumption Area* ( m 2 ) Mean Error (%) [] with SCC = 0,628 0 CCC with SCC =,09 0 [] with SCC = 0,663 0 CCC with SCC = +,88 0 [] with SCC = 0,646 0 CCC with SCC = 0,646 0 [] with SCC = 0,857 0 CCC with SCC = +,320 0 [] with SCC = 0,980 2 CCC with SCC = +,443 7 [] with SCC = 0 2,306 5 CCC with SCC =,760 9 A multi-variate [] with SCC = 0 2,086 9 polnomial CCC with SCC = /2 2,473 4 * Circuits with uncorrelated (independent) inputs were snthesied according to [] with polnomials of degree. All the reported area numbers include stochastic number generators. v w Figure 0. Stochastic circuit for image edge-detection [3]. posing the target function into subfunctions of two variables. The CCC method can then be used to snthesie the pieces and put them back together. For eample, consider the fourvariable function which performs the ver useful image-processing task of edge detection [3]. It decomposes into two absolute-valued subtraction functions and, which are then combined b a scaled add to produce : 0 r,, All three of these functions can be snthesied b CCC, as indicated in Table III. Fig. 0 shows the result; the XOR gates perform absolute-valued subtraction, while the multipleer performs scaled addition. Note that the select input of the multipleer is fed b an auiliar input r with p r = /2. V. SEQUENTIAL CIRCUITS As with conventional binar logic, stochastic sequential circuits (stochastic FSMs) can lead to more efficient designs than combinational ones. For instance, Fig. shows a sequential update node of the tpe commonl used in stochastic LDPC decoders [7]. It implements the function for which no more efficient combinational equivalent is known. Sequential stochastic circuits have also been proposed to implement arithmetic functions such as division and hperbolic tangent [4] [6] [4]. However, the proposed designs are mostl ad hoc, or require state transition diagrams of a ver restricted structure [4] [4]. Analing stochastic sequential circuits with arbitrar state transition diagrams is difficult since the state variables tend to be correlated. For eample, in the three-state circuit of Fig. 2, the state never occurs, so the SNs corresponding to state bits w 0 and w are correlated. A general method to anale and design arbitrar stochastic sequential circuits does not presentl eist.

7 (2/8) 0 0 (6/8) clock J K Q (4/8) Figure. Stochastic update node used in LDPC decoders. A sequential logic circuit implements two combinational functions: the net-state function δ that, given the current state and the current inputs, produces the net state, and the output function λ that produces the corresponding output signals. In the contet of SC, net-state transitions are treated as probabilistic. Hence, we are mainl interested in the stochastic behavior of the state-defining function δ, since λ is a simple combinational function and can be analed b eisting methods. Like our approach to combinational circuits with correlation, we use PTMs to anale sequential circuits. The state probabilit distribution of a sequential circuit is represented b a vector S = [s s 2 s l ] in which s i denotes the probabilit of being in state i. For eample, the vector [/3 /3 /3] corresponding to the circuit of Fig. 2 indicates that the probabilit of being in each state is /3. The state transition behavior of the sequential circuit can be epressed as a transition matri T, in which element t ij denotes the probabilit of a transition from state i to j. The transition matri corresponding to Fig. 2 is [ ] Given the state probabilit distribution S(t) in a particular clock ccle t and the transition matri T, we can write the state distribution of the net clock ccle t + as S(t + ) = S(t) T. For instance, with S(t) = [/3 /3 /3] and =, we get S(t + ) = [0 /3 2/3]. After enough clock ccles, the state distribution of the sequential circuit tpicall converges to a stationar distribution, which can represent the circuit s stochastic behavior. Fortunatel, finding is a well-known mathematical problem. The transition matri T of a sequential circuit can be interpreted as a Markov chain [8], which is an FSM with probabilistic state transitions. The stationar state of a Markov chain is an eigenvector of T with the defining propert = T. For eample, the stationar distribution of the circuit in Fig. 2 is [ ] [ ] [ ] And since the output onl becomes in the state w w 0 = 0, i.e., the second state, we conclude that. D D Q w 0 w Q ' ' w w ' 0 Figure 2. A sequential stochastic circuit C and its state transition diagram. In order to find the stationar distribution of an l-state FSM with an arbitrar transition matri T, we need to solve the equation = T and compute the elements of = [s s 2 s l ]. The equation corresponding to each state is of the form, in which the G i s collectivel represent the stochastic behavior of the net-state function δ of the FSM. As noted earlier, the function δ is combinational, and according to [], its stochastic behavior can be represented as a polnomial. This implies that all the G i s, and hence all the elements of T, are polnomial functions with respect to the input SN values. This fact allows us to obtain an analtical solution to = T and leads to the following result. Theorem: Given a sequential circuit with m inputs,, m, and a transition matri T whose elements are polnomial functions of, its stationar state distribution has elements of the form F / F 2, where F and F 2 are polnomial functions. The theorem follows from the fact that in solving = T, the coefficients of the variables s i become parameteried polnomial functions. The standard row-transformation steps in solution methods like Gaussian elimination onl appl the operations addition, multiplication, and division to the matri elements. Since these are polnomial functions, adding and multipling them produces polnomials, and dividing them gives rational polnomials. The degrees of the polnomials depend on the number of states l and the degrees of the polnomial elements of T. If these polnomials are linear, the final solution is of degree 2 l 2. For eample, the transfer matri corresponding to the twostate LDPC update circuit of Fig. is [ ] To find the stationar distribution of T, we form the equations () Since the circuit is either in state s 0 or s, we have the additional constraint s 0 + s =. Hence, s = s 0, ielding

8 Thus, we obtain the epected function [7]: Another eample is a four-state sequential circuit from [4], which has the transition matri [ ] Now = T ields the following set of equations: with the additional constraint Solving these equations analticall we obtain, etc., which is consistent with the analsis of [4]. VI. CONCLUSIONS Stochastic computing (SC) has recentl re-emerged as an attractive alternative technique for some important computing tasks with etreme demands for small sie and low power. A ke unsolved problem in designing stochastic circuits has been to overcome the computational inaccuracies that result from undefined and undesired correlations among signals. The usual solution has been to avoid correlation entirel at the cost of introducing man independent stochastic number sources or re-randomiers. This paper has investigated in depth the impact of correlation on stochastic computing. We have shown that not all correlation is harmful. In fact, contrar to what one would intuitivel epect, correlation can serve as a resource in designing stochastic circuits. We have given the first general and rigorous definition of correlation for SC, which has enabled us to anale both combinational and sequential stochastic circuits in the presence of correlation. We demonstrated how probabilistic transfer matrices aid this analsis, and lead to a general approach to designing stochastic circuits with correlated inputs. We further demonstrated how to implement various useful functions such as saturating addition and subtraction that had no previous efficient SC implementations. We reported a comparative stud indicating that the circuits with correlated inputs are generall smaller and more accurate than those with independent inputs. Finall, we presented the first sstematic analsis of sequential stochastic circuits, a problem which has generall resisted attack since the 960s. ACKNOWLEDGEMENTS This work was supported b Grant CCF-0742 from the U.S. National Science Foundation. The authors are grateful to Igor L. Markov for helpful discussions. REFERENCES [] Alaghi, A. and Haes, J.P., A spectral transform approach to stochastic circuits, Proc. ICCD, pp , 202. [2] Alaghi, A. and Haes, J.P., Surve of stochastic computing, ACM Trans. Embedded Computing Sstems, 2, no. 2s, pp. 92:-92:9, Ma 203. [3] Alaghi, A., Li, C. and Haes, J.P., Stochastic circuits for realtime image-processing applications, Proc. DAC, pp. 36:-6, June 203. [4] Brown, B.D. and Card, H.C., Stochastic neural computation I: computational elements IEEE Trans. Computers, 50, pp , 200. [5] Choi, S.S., Cha, S.H. and Tappert, C., A surve of binar similarit and distance measures, Journ. Sstemics, Cbernetics and Informatics, 8, pp , 200. [6] Gaines, B.R., Stochastic computing sstems, Advances in Information Sstems Science, 2, pp , 969. [7] Gaudet, V.C. and Raple, A.C., Iterative decoding using stochastic computation, Electronics Letters, 39, , [8] Grinstead, C.M., and Snell, L.J., Grinstead and Snell s Introduction to Probabilit, version of 4 Jul 2006, American Math. Soc., [9] Gross, W.J., Gaudet, V.C. and Milner, A., Stochastic implementation of LDPC decoders, Proc. Asilomar Conf., pp , [0] Golomb, S.W. and Gong, G., Signal Design for Good Correlation, New York: Cambridge Univ. Press, [] Jeavons, P., Cohen, D.A. and Shawe-Talor, J., Generating binar sequences for stochastic computing, IEEE Trans. Info. Theor, 40, pp , 994. [2] Krishnaswam, S., Viamontes, G.F., Markov, I.L. and Haes, J.P., Probabilistic transfer matrices in smbolic reliabilit analsis of logic circuits, ACM Trans. Design Automation of Electronic Sstems, 3, no., pp.8:-8:35, Jan [3] Li, P. and Lilja, D.J., Using stochastic computing to implement digital image processing algorithms, Proc. ICCD, pp. 54-6, 20. [4] Li, P., Qian, W., Riedel, M.D., Baargan, K. and Lilja, D.J., The snthesis of linear finite state machine-based stochastic computational elements, Proc. ASP-DAC., pp , 202. [5] Ma, C., Zhong, S. and Dang, H., Understanding variance propagation in stochastic computing sstems, Proc. ICCD, pp , 202. [6] Naderi, A., Mannor, S., Sawan, M. and Gross, W.J., Delaed stochastic decoding of LDPC codes, IEEE Tran. Signal Proc., 59, pp , 20. [7] Poppelbaum, W.J., Afuso, C. and Esch, J.W., Stochastic computing elements and sstems, Proc. AFIPS Fall Joint Computer Conf., pp , 967. [8] Qian, W., LI, X., Riedel, M.D., Baargan, K. and Lilja, D.J., An architecture for fault-tolerant computation with stochastic logic, IEEE Trans. Computers, 60, pp , 20. [9] Sentovich, E.M. et al., SIS: A Sstem for sequential circuit snthesis, Univ. of California, Berkele, Tech. Report UCB/ERL M92/4, Electronics Research Lab, 992.

On the Functions Realized by Stochastic Computing Circuits

On the Functions Realized by Stochastic Computing Circuits On the Functions Realied b Stochastic uting Circuits Armin Alaghi and John P. Haes Advanced uter Architecture Laborator Department of Electrical Engineering and uter Science Universit of Michigan, Ann

More information

Case Studies of Logical Computation on Stochastic Bit Streams

Case Studies of Logical Computation on Stochastic Bit Streams Case Studies of Logical Computation on Stochastic Bit Streams Peng Li 1, Weikang Qian 2, David J. Lilja 1, Kia Bazargan 1, and Marc D. Riedel 1 1 Electrical and Computer Engineering, University of Minnesota,

More information

Eliminating a Hidden Error Source in Stochastic Circuits

Eliminating a Hidden Error Source in Stochastic Circuits Eliminating a Hidden Error Source in Stochastic Circuits Paishun Ting and John P. Hayes Department of Electrical Engineering and Computer Science University of Michigan, Ann Arbor, MI 89, USA {paishun,

More information

STOCHASTIC computing (SC) is an unconventional computing

STOCHASTIC computing (SC) is an unconventional computing 177 IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 34, NO. 11, NOVEMBER 15 STRAUSS: Spectral Transform Use in Stochastic Circuit Synthesis Armin Alaghi, Student Member,

More information

Demonstrate solution methods for systems of linear equations. Show that a system of equations can be represented in matrix-vector form.

Demonstrate solution methods for systems of linear equations. Show that a system of equations can be represented in matrix-vector form. Chapter Linear lgebra Objective Demonstrate solution methods for sstems of linear equations. Show that a sstem of equations can be represented in matri-vector form. 4 Flowrates in kmol/hr Figure.: Two

More information

Strain Transformation and Rosette Gage Theory

Strain Transformation and Rosette Gage Theory Strain Transformation and Rosette Gage Theor It is often desired to measure the full state of strain on the surface of a part, that is to measure not onl the two etensional strains, and, but also the shear

More information

COMPRESSIVE (CS) [1] is an emerging framework,

COMPRESSIVE (CS) [1] is an emerging framework, 1 An Arithmetic Coding Scheme for Blocked-based Compressive Sensing of Images Min Gao arxiv:1604.06983v1 [cs.it] Apr 2016 Abstract Differential pulse-code modulation (DPCM) is recentl coupled with uniform

More information

CONTINUOUS SPATIAL DATA ANALYSIS

CONTINUOUS SPATIAL DATA ANALYSIS CONTINUOUS SPATIAL DATA ANALSIS 1. Overview of Spatial Stochastic Processes The ke difference between continuous spatial data and point patterns is that there is now assumed to be a meaningful value, s

More information

6. Vector Random Variables

6. Vector Random Variables 6. Vector Random Variables In the previous chapter we presented methods for dealing with two random variables. In this chapter we etend these methods to the case of n random variables in the following

More information

Simultaneous Orthogonal Rotations Angle

Simultaneous Orthogonal Rotations Angle ELEKTROTEHNIŠKI VESTNIK 8(1-2): -11, 2011 ENGLISH EDITION Simultaneous Orthogonal Rotations Angle Sašo Tomažič 1, Sara Stančin 2 Facult of Electrical Engineering, Universit of Ljubljana 1 E-mail: saso.tomaic@fe.uni-lj.si

More information

4.7. Newton s Method. Procedure for Newton s Method HISTORICAL BIOGRAPHY

4.7. Newton s Method. Procedure for Newton s Method HISTORICAL BIOGRAPHY 4. Newton s Method 99 4. Newton s Method HISTORICAL BIOGRAPHY Niels Henrik Abel (18 189) One of the basic problems of mathematics is solving equations. Using the quadratic root formula, we know how to

More information

8.1 Exponents and Roots

8.1 Exponents and Roots Section 8. Eponents and Roots 75 8. Eponents and Roots Before defining the net famil of functions, the eponential functions, we will need to discuss eponent notation in detail. As we shall see, eponents

More information

12.1 Systems of Linear equations: Substitution and Elimination

12.1 Systems of Linear equations: Substitution and Elimination . Sstems of Linear equations: Substitution and Elimination Sstems of two linear equations in two variables A sstem of equations is a collection of two or more equations. A solution of a sstem in two variables

More information

The Synthesis of Complex Arithmetic Computation on Stochastic Bit Streams Using Sequential Logic

The Synthesis of Complex Arithmetic Computation on Stochastic Bit Streams Using Sequential Logic The Synthesis of Complex Arithmetic Computation on Stochastic Bit Streams Using Sequential Logic Peng Li, David J. Lilja, Weikang Qian, Kia Bazargan, and Marc Riedel Department of Electrical and Computer

More information

Applications of Gauss-Radau and Gauss-Lobatto Numerical Integrations Over a Four Node Quadrilateral Finite Element

Applications of Gauss-Radau and Gauss-Lobatto Numerical Integrations Over a Four Node Quadrilateral Finite Element Avaiable online at www.banglaol.info angladesh J. Sci. Ind. Res. (), 77-86, 008 ANGLADESH JOURNAL OF SCIENTIFIC AND INDUSTRIAL RESEARCH CSIR E-mail: bsir07gmail.com Abstract Applications of Gauss-Radau

More information

DIGITAL LOGIC CIRCUITS

DIGITAL LOGIC CIRCUITS DIGITAL LOGIC CIRCUITS Introduction Logic Gates Boolean Algebra Map Specification Combinational Circuits Flip-Flops Sequential Circuits Memor Components Integrated Circuits BASIC LOGIC BLOCK - GATE - Logic

More information

Coordinate geometry. + bx + c. Vertical asymptote. Sketch graphs of hyperbolas (including asymptotic behaviour) from the general

Coordinate geometry. + bx + c. Vertical asymptote. Sketch graphs of hyperbolas (including asymptotic behaviour) from the general A Sketch graphs of = a m b n c where m = or and n = or B Reciprocal graphs C Graphs of circles and ellipses D Graphs of hperbolas E Partial fractions F Sketch graphs using partial fractions Coordinate

More information

Exact Differential Equations. The general solution of the equation is f x, y C. If f has continuous second partials, then M y 2 f

Exact Differential Equations. The general solution of the equation is f x, y C. If f has continuous second partials, then M y 2 f APPENDIX C Additional Topics in Differential Equations APPENDIX C. Eact First-Order Equations Eact Differential Equations Integrating Factors Eact Differential Equations In Chapter 6, ou studied applications

More information

The Synthesis of Complex Arithmetic Computation on Stochastic Bit Streams Using Sequential Logic

The Synthesis of Complex Arithmetic Computation on Stochastic Bit Streams Using Sequential Logic The Synthesis of Complex Arithmetic Computation on Stochastic Bit Streams Using Sequential Logic Peng Li, David J. Lilja, Weikang Qian, Kia Bazargan, and Marc Riedel Department of Electrical and Computer

More information

Improving Common Subexpression Elimination Algorithm with A New Gate-Level Delay Computing Method

Improving Common Subexpression Elimination Algorithm with A New Gate-Level Delay Computing Method , 23-25 October, 2013, San Francisco, USA Improving Common Subexpression Elimination Algorithm with A New Gate-Level Dela Computing Method Ning Wu, Xiaoqiang Zhang, Yunfei Ye, and Lidong Lan Abstract In

More information

Computation of Csiszár s Mutual Information of Order α

Computation of Csiszár s Mutual Information of Order α Computation of Csiszár s Mutual Information of Order Damianos Karakos, Sanjeev Khudanpur and Care E. Priebe Department of Electrical and Computer Engineering and Center for Language and Speech Processing

More information

On the design of Incremental ΣΔ Converters

On the design of Incremental ΣΔ Converters M. Belloni, C. Della Fiore, F. Maloberti, M. Garcia Andrade: "On the design of Incremental ΣΔ Converters"; IEEE Northeast Workshop on Circuits and Sstems, NEWCAS 27, Montreal, 5-8 August 27, pp. 376-379.

More information

15. Eigenvalues, Eigenvectors

15. Eigenvalues, Eigenvectors 5 Eigenvalues, Eigenvectors Matri of a Linear Transformation Consider a linear ( transformation ) L : a b R 2 R 2 Suppose we know that L and L Then c d because of linearit, we can determine what L does

More information

2: Distributions of Several Variables, Error Propagation

2: Distributions of Several Variables, Error Propagation : Distributions of Several Variables, Error Propagation Distribution of several variables. variables The joint probabilit distribution function of two variables and can be genericall written f(, with the

More information

Math 214 Spring problem set (a) Consider these two first order equations. (I) dy dx = x + 1 dy

Math 214 Spring problem set (a) Consider these two first order equations. (I) dy dx = x + 1 dy Math 4 Spring 08 problem set. (a) Consider these two first order equations. (I) d d = + d (II) d = Below are four direction fields. Match the differential equations above to their direction fields. Provide

More information

Uncertainty and Parameter Space Analysis in Visualization -

Uncertainty and Parameter Space Analysis in Visualization - Uncertaint and Parameter Space Analsis in Visualiation - Session 4: Structural Uncertaint Analing the effect of uncertaint on the appearance of structures in scalar fields Rüdiger Westermann and Tobias

More information

Cubic and quartic functions

Cubic and quartic functions 3 Cubic and quartic functions 3A Epanding 3B Long division of polnomials 3C Polnomial values 3D The remainder and factor theorems 3E Factorising polnomials 3F Sum and difference of two cubes 3G Solving

More information

The approximation of piecewise linear membership functions and Łukasiewicz operators

The approximation of piecewise linear membership functions and Łukasiewicz operators Fuzz Sets and Sstems 54 25 275 286 www.elsevier.com/locate/fss The approimation of piecewise linear membership functions and Łukasiewicz operators József Dombi, Zsolt Gera Universit of Szeged, Institute

More information

Digital Logic and Design (Course Code: EE222) Lecture 1 5: Digital Electronics Fundamentals. Evolution of Electronic Devices

Digital Logic and Design (Course Code: EE222) Lecture 1 5: Digital Electronics Fundamentals. Evolution of Electronic Devices Indian Institute of Technolog Jodhpur, Year 207 208 Digital Logic and Design (Course Code: EE222) Lecture 5: Digital Electronics Fundamentals Course Instructor: Shree Prakash Tiwari Email: sptiwari@iitj.ac.in

More information

Methods for Advanced Mathematics (C3) Coursework Numerical Methods

Methods for Advanced Mathematics (C3) Coursework Numerical Methods Woodhouse College 0 Page Introduction... 3 Terminolog... 3 Activit... 4 Wh use numerical methods?... Change of sign... Activit... 6 Interval Bisection... 7 Decimal Search... 8 Coursework Requirements on

More information

Perturbation Theory for Variational Inference

Perturbation Theory for Variational Inference Perturbation heor for Variational Inference Manfred Opper U Berlin Marco Fraccaro echnical Universit of Denmark Ulrich Paquet Apple Ale Susemihl U Berlin Ole Winther echnical Universit of Denmark Abstract

More information

Survey of Stochastic Computing

Survey of Stochastic Computing Survey of Stochastic Computing ARMIN ALAGHI and JOHN P. HAYES, University of Michigan Stochastic computing (SC) was proposed in the 1960s as a low-cost alternative to conventional binary computing. It

More information

Chapter 4 Analytic Trigonometry

Chapter 4 Analytic Trigonometry Analtic Trigonometr Chapter Analtic Trigonometr Inverse Trigonometric Functions The trigonometric functions act as an operator on the variable (angle, resulting in an output value Suppose this process

More information

A HAND-HELD SENSOR FOR LOCAL MEASUREMENT OF MAGNETIC FIELD, INDUCTION AND ENERGY LOSSES

A HAND-HELD SENSOR FOR LOCAL MEASUREMENT OF MAGNETIC FIELD, INDUCTION AND ENERGY LOSSES A HAND-HELD SENSOR FOR LOCAL MEASUREMENT OF MAGNETIC FIELD, INDUCTION AND ENERGY LOSSES G. Krismanic, N. Baumgartinger and H. Pfützner Institute of Fundamentals and Theor of Electrical Engineering Bioelectricit

More information

10.5 Graphs of the Trigonometric Functions

10.5 Graphs of the Trigonometric Functions 790 Foundations of Trigonometr 0.5 Graphs of the Trigonometric Functions In this section, we return to our discussion of the circular (trigonometric functions as functions of real numbers and pick up where

More information

Logical Computation on Stochastic Bit Streams with Linear Finite State Machines

Logical Computation on Stochastic Bit Streams with Linear Finite State Machines IEEE TRANSACTIONS ON COMPUTERS, VOL., NO., 2 Logical Computation on Stochastic Bit Streams with Linear Finite State Machines Peng Li, Student Member, IEEE, David J. Lilja, Fellow, IEEE, Weikang Qian, Member,

More information

Towards Increasing Learning Speed and Robustness of XCSF: Experimenting With Larger Offspring Set Sizes

Towards Increasing Learning Speed and Robustness of XCSF: Experimenting With Larger Offspring Set Sizes Towards Increasing Learning Speed and Robustness of XCSF: Eperimenting With Larger Offspring Set Sizes ABSTRACT Patrick Stalph Department of Computer Science Universit of Würzburg, German Patrick.Stalph@stud-mail.uniwuerzburg.de

More information

14.1 Systems of Linear Equations in Two Variables

14.1 Systems of Linear Equations in Two Variables 86 Chapter 1 Sstems of Equations and Matrices 1.1 Sstems of Linear Equations in Two Variables Use the method of substitution to solve sstems of equations in two variables. Use the method of elimination

More information

INF Introduction to classifiction Anne Solberg Based on Chapter 2 ( ) in Duda and Hart: Pattern Classification

INF Introduction to classifiction Anne Solberg Based on Chapter 2 ( ) in Duda and Hart: Pattern Classification INF 4300 151014 Introduction to classifiction Anne Solberg anne@ifiuiono Based on Chapter 1-6 in Duda and Hart: Pattern Classification 151014 INF 4300 1 Introduction to classification One of the most challenging

More information

Chapter Adequacy of Solutions

Chapter Adequacy of Solutions Chapter 04.09 dequac of Solutions fter reading this chapter, ou should be able to: 1. know the difference between ill-conditioned and well-conditioned sstems of equations,. define the norm of a matri,

More information

CHAPTER 2: Partial Derivatives. 2.2 Increments and Differential

CHAPTER 2: Partial Derivatives. 2.2 Increments and Differential CHAPTER : Partial Derivatives.1 Definition of a Partial Derivative. Increments and Differential.3 Chain Rules.4 Local Etrema.5 Absolute Etrema 1 Chapter : Partial Derivatives.1 Definition of a Partial

More information

8. BOOLEAN ALGEBRAS x x

8. BOOLEAN ALGEBRAS x x 8. BOOLEAN ALGEBRAS 8.1. Definition of a Boolean Algebra There are man sstems of interest to computing scientists that have a common underling structure. It makes sense to describe such a mathematical

More information

MMJ1153 COMPUTATIONAL METHOD IN SOLID MECHANICS PRELIMINARIES TO FEM

MMJ1153 COMPUTATIONAL METHOD IN SOLID MECHANICS PRELIMINARIES TO FEM B Course Content: A INTRODUCTION AND OVERVIEW Numerical method and Computer-Aided Engineering; Phsical problems; Mathematical models; Finite element method;. B Elements and nodes, natural coordinates,

More information

Boolean Algebra and Logic Gates

Boolean Algebra and Logic Gates Boolean Algebra and Logic Gates Prof. Wangrok Oh Dept. of Information Communications Eng. Chungnam National Universit Prof. Wangrok Oh(CNU) / 5 Overview Aiomatic Definition of Boolean Algebra 2 Basic Theorems

More information

Higher order method for non linear equations resolution: application to mobile robot control

Higher order method for non linear equations resolution: application to mobile robot control Higher order method for non linear equations resolution: application to mobile robot control Aldo Balestrino and Lucia Pallottino Abstract In this paper a novel higher order method for the resolution of

More information

1 GSW Gaussian Elimination

1 GSW Gaussian Elimination Gaussian elimination is probabl the simplest technique for solving a set of simultaneous linear equations, such as: = A x + A x + A x +... + A x,,,, n n = A x + A x + A x +... + A x,,,, n n... m = Am,x

More information

Cryptanalysis of a discrete-time synchronous chaotic encryption system

Cryptanalysis of a discrete-time synchronous chaotic encryption system NOTICE: This is the author s version of a work that was accepted b Phsics Letters A in August 2007. Changes resulting from the publishing process, such as peer review, editing, corrections, structural

More information

INF Introduction to classifiction Anne Solberg

INF Introduction to classifiction Anne Solberg INF 4300 8.09.17 Introduction to classifiction Anne Solberg anne@ifi.uio.no Introduction to classification Based on handout from Pattern Recognition b Theodoridis, available after the lecture INF 4300

More information

Outcomes. Spiral 1 / Unit 2. Boolean Algebra BOOLEAN ALGEBRA INTRO. Basic Boolean Algebra Logic Functions Decoders Multiplexers

Outcomes. Spiral 1 / Unit 2. Boolean Algebra BOOLEAN ALGEBRA INTRO. Basic Boolean Algebra Logic Functions Decoders Multiplexers -2. -2.2 piral / Unit 2 Basic Boolean Algebra Logic Functions Decoders Multipleers Mark Redekopp Outcomes I know the difference between combinational and sequential logic and can name eamples of each.

More information

Properties of Limits

Properties of Limits 33460_003qd //04 :3 PM Page 59 SECTION 3 Evaluating Limits Analticall 59 Section 3 Evaluating Limits Analticall Evaluate a it using properties of its Develop and use a strateg for finding its Evaluate

More information

04. What is the Mod number of the counter circuit shown below? Assume initially reset.

04. What is the Mod number of the counter circuit shown below? Assume initially reset. . Which of the following is the state diagram for the Meale machine shown below. 4. What is the Mod number of the counter circuit shown below? Assume initiall reset. input CLK D output D D a. b. / / /

More information

QUALITATIVE ANALYSIS OF DIFFERENTIAL EQUATIONS

QUALITATIVE ANALYSIS OF DIFFERENTIAL EQUATIONS arxiv:1803.0591v1 [math.gm] QUALITATIVE ANALYSIS OF DIFFERENTIAL EQUATIONS Aleander Panfilov stable spiral det A 6 3 5 4 non stable spiral D=0 stable node center non stable node saddle 1 tr A QUALITATIVE

More information

The American School of Marrakesh. Algebra 2 Algebra 2 Summer Preparation Packet

The American School of Marrakesh. Algebra 2 Algebra 2 Summer Preparation Packet The American School of Marrakesh Algebra Algebra Summer Preparation Packet Summer 016 Algebra Summer Preparation Packet This summer packet contains eciting math problems designed to ensure our readiness

More information

1.5. Analyzing Graphs of Functions. The Graph of a Function. What you should learn. Why you should learn it. 54 Chapter 1 Functions and Their Graphs

1.5. Analyzing Graphs of Functions. The Graph of a Function. What you should learn. Why you should learn it. 54 Chapter 1 Functions and Their Graphs 0_005.qd /7/05 8: AM Page 5 5 Chapter Functions and Their Graphs.5 Analzing Graphs of Functions What ou should learn Use the Vertical Line Test for functions. Find the zeros of functions. Determine intervals

More information

1.1 The Equations of Motion

1.1 The Equations of Motion 1.1 The Equations of Motion In Book I, balance of forces and moments acting on an component was enforced in order to ensure that the component was in equilibrium. Here, allowance is made for stresses which

More information

Parameterized Joint Densities with Gaussian and Gaussian Mixture Marginals

Parameterized Joint Densities with Gaussian and Gaussian Mixture Marginals Parameterized Joint Densities with Gaussian and Gaussian Miture Marginals Feli Sawo, Dietrich Brunn, and Uwe D. Hanebeck Intelligent Sensor-Actuator-Sstems Laborator Institute of Computer Science and Engineering

More information

Space frames. b) R z φ z. R x. Figure 1 Sign convention: a) Displacements; b) Reactions

Space frames. b) R z φ z. R x. Figure 1 Sign convention: a) Displacements; b) Reactions Lecture notes: Structural Analsis II Space frames I. asic concepts. The design of a building is generall accomplished b considering the structure as an assemblage of planar frames, each of which is designed

More information

LESSON 35: EIGENVALUES AND EIGENVECTORS APRIL 21, (1) We might also write v as v. Both notations refer to a vector.

LESSON 35: EIGENVALUES AND EIGENVECTORS APRIL 21, (1) We might also write v as v. Both notations refer to a vector. LESSON 5: EIGENVALUES AND EIGENVECTORS APRIL 2, 27 In this contet, a vector is a column matri E Note 2 v 2, v 4 5 6 () We might also write v as v Both notations refer to a vector (2) A vector can be man

More information

The Maze Generation Problem is NP-complete

The Maze Generation Problem is NP-complete The Mae Generation Problem is NP-complete Mario Alviano Department of Mathematics, Universit of Calabria, 87030 Rende (CS), Ital alviano@mat.unical.it Abstract. The Mae Generation problem has been presented

More information

8.4. If we let x denote the number of gallons pumped, then the price y in dollars can $ $1.70 $ $1.70 $ $1.70 $ $1.

8.4. If we let x denote the number of gallons pumped, then the price y in dollars can $ $1.70 $ $1.70 $ $1.70 $ $1. 8.4 An Introduction to Functions: Linear Functions, Applications, and Models We often describe one quantit in terms of another; for eample, the growth of a plant is related to the amount of light it receives,

More information

Solutions to Two Interesting Problems

Solutions to Two Interesting Problems Solutions to Two Interesting Problems Save the Lemming On each square of an n n chessboard is an arrow pointing to one of its eight neighbors (or off the board, if it s an edge square). However, arrows

More information

Unit 3 NOTES Honors Common Core Math 2 1. Day 1: Properties of Exponents

Unit 3 NOTES Honors Common Core Math 2 1. Day 1: Properties of Exponents Unit NOTES Honors Common Core Math Da : Properties of Eponents Warm-Up: Before we begin toda s lesson, how much do ou remember about eponents? Use epanded form to write the rules for the eponents. OBJECTIVE

More information

520 Chapter 9. Nonlinear Differential Equations and Stability. dt =

520 Chapter 9. Nonlinear Differential Equations and Stability. dt = 5 Chapter 9. Nonlinear Differential Equations and Stabilit dt L dθ. g cos θ cos α Wh was the negative square root chosen in the last equation? (b) If T is the natural period of oscillation, derive the

More information

We have examined power functions like f (x) = x 2. Interchanging x

We have examined power functions like f (x) = x 2. Interchanging x CHAPTER 5 Eponential and Logarithmic Functions We have eamined power functions like f =. Interchanging and ields a different function f =. This new function is radicall different from a power function

More information

H.Algebra 2 Summer Review Packet

H.Algebra 2 Summer Review Packet H.Algebra Summer Review Packet 1 Correlation of Algebra Summer Packet with Algebra 1 Objectives A. Simplifing Polnomial Epressions Objectives: The student will be able to: Use the commutative, associative,

More information

ASYNCHRONOUS SEQUENTIAL CIRCUITS

ASYNCHRONOUS SEQUENTIAL CIRCUITS ASYNCHRONOUS SEQUENTIAL CIRCUITS Sequential circuits that are not snchronized b a clock Asnchronous circuits Analsis of Asnchronous circuits Snthesis of Asnchronous circuits Hazards that cause incorrect

More information

(2.5) 1. Solve the following compound inequality and graph the solution set.

(2.5) 1. Solve the following compound inequality and graph the solution set. Intermediate Algebra Practice Final Math 0 (7 th ed.) (Ch. -) (.5). Solve the following compound inequalit and graph the solution set. 0 and and > or or (.7). Solve the following absolute value inequalities.

More information

MAT 127: Calculus C, Fall 2010 Solutions to Midterm I

MAT 127: Calculus C, Fall 2010 Solutions to Midterm I MAT 7: Calculus C, Fall 00 Solutions to Midterm I Problem (0pts) Consider the four differential equations for = (): (a) = ( + ) (b) = ( + ) (c) = e + (d) = e. Each of the four diagrams below shows a solution

More information

Additional Topics in Differential Equations

Additional Topics in Differential Equations 6 Additional Topics in Differential Equations 6. Eact First-Order Equations 6. Second-Order Homogeneous Linear Equations 6.3 Second-Order Nonhomogeneous Linear Equations 6.4 Series Solutions of Differential

More information

Eigenvectors and Eigenvalues 1

Eigenvectors and Eigenvalues 1 Ma 2015 page 1 Eigenvectors and Eigenvalues 1 In this handout, we will eplore eigenvectors and eigenvalues. We will begin with an eploration, then provide some direct eplanation and worked eamples, and

More information

Linear regression Class 25, Jeremy Orloff and Jonathan Bloom

Linear regression Class 25, Jeremy Orloff and Jonathan Bloom 1 Learning Goals Linear regression Class 25, 18.05 Jerem Orloff and Jonathan Bloom 1. Be able to use the method of least squares to fit a line to bivariate data. 2. Be able to give a formula for the total

More information

11.4 Polar Coordinates

11.4 Polar Coordinates 11. Polar Coordinates 917 11. Polar Coordinates In Section 1.1, we introduced the Cartesian coordinates of a point in the plane as a means of assigning ordered pairs of numbers to points in the plane.

More information

Blow-up collocation solutions of nonlinear homogeneous Volterra integral equations

Blow-up collocation solutions of nonlinear homogeneous Volterra integral equations Blow-up collocation solutions of nonlinear homogeneous Volterra integral equations R. Benítez 1,, V. J. Bolós 2, 1 Dpto. Matemáticas, Centro Universitario de Plasencia, Universidad de Extremadura. Avda.

More information

Handout for Adequacy of Solutions Chapter SET ONE The solution to Make a small change in the right hand side vector of the equations

Handout for Adequacy of Solutions Chapter SET ONE The solution to Make a small change in the right hand side vector of the equations Handout for dequac of Solutions Chapter 04.07 SET ONE The solution to 7.999 4 3.999 Make a small change in the right hand side vector of the equations 7.998 4.00 3.999 4.000 3.999 Make a small change in

More information

Section 3.1. ; X = (0, 1]. (i) f : R R R, f (x, y) = x y

Section 3.1. ; X = (0, 1]. (i) f : R R R, f (x, y) = x y Paul J. Bruillard MATH 0.970 Problem Set 6 An Introduction to Abstract Mathematics R. Bond and W. Keane Section 3.1: 3b,c,e,i, 4bd, 6, 9, 15, 16, 18c,e, 19a, 0, 1b Section 3.: 1f,i, e, 6, 1e,f,h, 13e,

More information

Research Article Chaotic Attractor Generation via a Simple Linear Time-Varying System

Research Article Chaotic Attractor Generation via a Simple Linear Time-Varying System Discrete Dnamics in Nature and Societ Volume, Article ID 836, 8 pages doi:.//836 Research Article Chaotic Attractor Generation via a Simple Linear Time-Varing Sstem Baiu Ou and Desheng Liu Department of

More information

In this chapter a student has to learn the Concept of adjoint of a matrix. Inverse of a matrix. Rank of a matrix and methods finding these.

In this chapter a student has to learn the Concept of adjoint of a matrix. Inverse of a matrix. Rank of a matrix and methods finding these. MATRICES UNIT STRUCTURE.0 Objectives. Introduction. Definitions. Illustrative eamples.4 Rank of matri.5 Canonical form or Normal form.6 Normal form PAQ.7 Let Us Sum Up.8 Unit End Eercise.0 OBJECTIVES In

More information

Research Design - - Topic 15a Introduction to Multivariate Analyses 2009 R.C. Gardner, Ph.D.

Research Design - - Topic 15a Introduction to Multivariate Analyses 2009 R.C. Gardner, Ph.D. Research Design - - Topic 15a Introduction to Multivariate Analses 009 R.C. Gardner, Ph.D. Major Characteristics of Multivariate Procedures Overview of Multivariate Techniques Bivariate Regression and

More information

Stability Analysis of a Geometrically Imperfect Structure using a Random Field Model

Stability Analysis of a Geometrically Imperfect Structure using a Random Field Model Stabilit Analsis of a Geometricall Imperfect Structure using a Random Field Model JAN VALEŠ, ZDENĚK KALA Department of Structural Mechanics Brno Universit of Technolog, Facult of Civil Engineering Veveří

More information

Review of Essential Skills and Knowledge

Review of Essential Skills and Knowledge Review of Essential Skills and Knowledge R Eponent Laws...50 R Epanding and Simplifing Polnomial Epressions...5 R 3 Factoring Polnomial Epressions...5 R Working with Rational Epressions...55 R 5 Slope

More information

MACHINE LEARNING 2012 MACHINE LEARNING

MACHINE LEARNING 2012 MACHINE LEARNING 1 MACHINE LEARNING kernel CCA, kernel Kmeans Spectral Clustering 2 Change in timetable: We have practical session net week! 3 Structure of toda s and net week s class 1) Briefl go through some etension

More information

UNCORRECTED SAMPLE PAGES. 3Quadratics. Chapter 3. Objectives

UNCORRECTED SAMPLE PAGES. 3Quadratics. Chapter 3. Objectives Chapter 3 3Quadratics Objectives To recognise and sketch the graphs of quadratic polnomials. To find the ke features of the graph of a quadratic polnomial: ais intercepts, turning point and ais of smmetr.

More information

1.6 ELECTRONIC STRUCTURE OF THE HYDROGEN ATOM

1.6 ELECTRONIC STRUCTURE OF THE HYDROGEN ATOM 1.6 ELECTRONIC STRUCTURE OF THE HYDROGEN ATOM 23 How does this wave-particle dualit require us to alter our thinking about the electron? In our everda lives, we re accustomed to a deterministic world.

More information

Chapter 6. Self-Adjusting Data Structures

Chapter 6. Self-Adjusting Data Structures Chapter 6 Self-Adjusting Data Structures Chapter 5 describes a data structure that is able to achieve an epected quer time that is proportional to the entrop of the quer distribution. The most interesting

More information

x c x c This suggests the following definition.

x c x c This suggests the following definition. 110 Chapter 1 / Limits and Continuit 1.5 CONTINUITY A thrown baseball cannot vanish at some point and reappear someplace else to continue its motion. Thus, we perceive the path of the ball as an unbroken

More information

Journal of Inequalities in Pure and Applied Mathematics

Journal of Inequalities in Pure and Applied Mathematics Journal of Inequalities in Pure and Applied Mathematics http://jipam.vu.edu.au/ Volume 2, Issue 2, Article 15, 21 ON SOME FUNDAMENTAL INTEGRAL INEQUALITIES AND THEIR DISCRETE ANALOGUES B.G. PACHPATTE DEPARTMENT

More information

nm nm

nm nm The Quantum Mechanical Model of the Atom You have seen how Bohr s model of the atom eplains the emission spectrum of hdrogen. The emission spectra of other atoms, however, posed a problem. A mercur atom,

More information

Glossary. Also available at BigIdeasMath.com: multi-language glossary vocabulary flash cards. An equation that contains an absolute value expression

Glossary. Also available at BigIdeasMath.com: multi-language glossary vocabulary flash cards. An equation that contains an absolute value expression Glossar This student friendl glossar is designed to be a reference for ke vocabular, properties, and mathematical terms. Several of the entries include a short eample to aid our understanding of important

More information

Realization of Quantum Hadamard Gate by Applying Optimal Control Fields to a Spin Qubit

Realization of Quantum Hadamard Gate by Applying Optimal Control Fields to a Spin Qubit 00 nd International Conference on Mechanical and Electronics Engineering (ICMEE 00) Realiation of Quantum Hadamard Gate b Appling Optimal Control Fields to a Spin Qubit Sh Mohammad Nejad Nanoptronics Research

More information

THE UNIVERSITY OF MICHIGAN. Timing Analysis of Domino Logic

THE UNIVERSITY OF MICHIGAN. Timing Analysis of Domino Logic Timing Analsis of Domino Logic b David Van Campenhout, Trevor Mudge and Karem Sakallah CSE-T-296-96 THE UNIVESITY O MICHIGAN Computer Science and Engineering Division Department of Electrical Engineering

More information

Hamiltonicity and Fault Tolerance

Hamiltonicity and Fault Tolerance Hamiltonicit and Fault Tolerance in the k-ar n-cube B Clifford R. Haithcock Portland State Universit Department of Mathematics and Statistics 006 In partial fulfillment of the requirements of the degree

More information

Polynomial and Rational Functions

Polynomial and Rational Functions Name Date Chapter Polnomial and Rational Functions Section.1 Quadratic Functions Objective: In this lesson ou learned how to sketch and analze graphs of quadratic functions. Important Vocabular Define

More information

5.3.3 The general solution for plane waves incident on a layered halfspace. The general solution to the Helmholz equation in rectangular coordinates

5.3.3 The general solution for plane waves incident on a layered halfspace. The general solution to the Helmholz equation in rectangular coordinates 5.3.3 The general solution for plane waves incident on a laered halfspace The general solution to the elmhol equation in rectangular coordinates The vector propagation constant Vector relationships between

More information

Optimal Kernels for Unsupervised Learning

Optimal Kernels for Unsupervised Learning Optimal Kernels for Unsupervised Learning Sepp Hochreiter and Klaus Obermaer Bernstein Center for Computational Neuroscience and echnische Universität Berlin 587 Berlin, German {hochreit,ob}@cs.tu-berlin.de

More information

Algebra II Notes Unit Six: Polynomials Syllabus Objectives: 6.2 The student will simplify polynomial expressions.

Algebra II Notes Unit Six: Polynomials Syllabus Objectives: 6.2 The student will simplify polynomial expressions. Algebra II Notes Unit Si: Polnomials Sllabus Objectives: 6. The student will simplif polnomial epressions. Review: Properties of Eponents (Allow students to come up with these on their own.) Let a and

More information

Polynomial and Rational Functions

Polynomial and Rational Functions Polnomial and Rational Functions Figure -mm film, once the standard for capturing photographic images, has been made largel obsolete b digital photograph. (credit film : modification of work b Horia Varlan;

More information

Iran University of Science and Technology, Tehran 16844, IRAN

Iran University of Science and Technology, Tehran 16844, IRAN DECENTRALIZED DECOUPLED SLIDING-MODE CONTROL FOR TWO- DIMENSIONAL INVERTED PENDULUM USING NEURO-FUZZY MODELING Mohammad Farrokhi and Ali Ghanbarie Iran Universit of Science and Technolog, Tehran 6844,

More information

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-2700: Digital Logic Design Winter Notes - Unit 2

ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT, OAKLAND UNIVERSITY ECE-2700: Digital Logic Design Winter Notes - Unit 2 ECE-7: Digital Logic Design Winter 8 Notes - Unit OPTIMIZED IMPLEMENTATION OF LOGIC FUNCTIONS BASIC TECHNIQUES: We can alas minimie logic unctions using the Boolean theorems. Hoever, more poerul methods

More information

MATRIX TRANSFORMATIONS

MATRIX TRANSFORMATIONS CHAPTER 5. MATRIX TRANSFORMATIONS INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRIX TRANSFORMATIONS Matri Transformations Definition Let A and B be sets. A function f : A B

More information

4 Strain true strain engineering strain plane strain strain transformation formulae

4 Strain true strain engineering strain plane strain strain transformation formulae 4 Strain The concept of strain is introduced in this Chapter. The approimation to the true strain of the engineering strain is discussed. The practical case of two dimensional plane strain is discussed,

More information