...2 + 2 Notation: X is a matrix, x is a vector Solve by setting derivatives to zero, to get = ( + )−1 (Px1) (PxN)(NxP) (PxP) For a new example (PxN) (Nx1) = = ( + )−1 Getting to Dual form = ( + )−1 + = 1 where = = 1 − = 1 − = − gives the dual solution, from which we can obtain w = or = =1 (here, xi is the i-th example) 11 . . 1 ⋮ ⋮ = ⋮ ⋮ 1 1 ⋮ ⋮ 1 ⋮ ⋮ Substituting w = in = we get = − + = = + − 1 − , We can compute as: = ( + )−1 where K = i.e. = , 11 . . ⋮ ⋮ ⋮ 1 1 ⋮ ⋮ ⋮ 11 ⋮ ⋮ ..... 1 1 ⋮ ⋮ =(xi.xj) (dot product) K: matrix of inner products of N vectors (Gram Matrix) K: matrix of similarities of example pairs (since dot product gives similarity between vectors) (1 , 1 ) . . . . . ⋮ K= ⋮ ( , 1 ) (1 , ) ⋮ ⋮ ( , ) Now, = = = , = =1 =1 (since w = ) , So in the dual form: Compute = ( + )−1 where K = , i.e. = , Evaluate on a new data point xnew as y = f = =1 , Both of these require inner products between data points Substitute the inner product with a kernel function K(x,z) = Then, we obtain a procedure for ridge regression over a new feature space F given by ɸ: x -> ɸ(x) ϵ F (kernel ridge regression) ...
Words: 2145 - Pages: 9
...Department of Mathematical Sciences MATH103 Introduction to Linear Algebra Lecturer: Prof. Victor Goryunov Office: Room 519, Mathematical Sciences Building; email: goryunov@liv.ac.uk Lectures: Monday 1pm and 2pm in Lecture Theatre B, Central Teaching Hub (no. 221 on the Campus Map), Tuesday 13.00 in Lecture Theatre (room 101), Electrical Engineering Building (no. 235 on the map). Attendance at lectures is compulsory. (See the Student Charter.) Make sure you scan your card. Tutorials: Normally on Tuesday afternoon. The tutorials will be in groups of about 20. They form an integral part of the course and attendance is compulsory. They start in Week 1. Set work Work will be set by the lecturer weekly on Monday at the 2pm lecture. It will be already available on VITAL from the previous Friday. The set work consist of two very similar parts: • set C – for solving and detailed discussion at the coming Tuesday tutorial, and • set H – written solutions to which you should hand to your MATH103 tutor by 4 pm next Thursday. All the problems are to be studied before the Tuesday tutorial. Your submitted solutions are marked by your tutor and handed back the following Tuesday; the lecturer’s solutions are available online the same day. Web publications All module materials will be available on VITAL as soon as they are needed in the class. Hard copies of some houndouts will also be distributed, but only once. Closer to the end of the semester, past papers will be put on VITAL. Class Tests There...
Words: 1033 - Pages: 5
... we multiply each element with this number. Example: [pic] Multiplication of a row vector by a column vector This multiplication is only possible if the row vector and the column vector have the same number of elements. To multiply the row by the column, one multiplies corresponding elements, then adds the results. Example: [pic] If the row vector and the column vector are not of the same length, their product is not defined. Example: [pic] The Product of a Row Vector and Matrix When the number of elements in row vector is the same as the number of rows in the second matrix then this matrix multiplication can be performed. Example: [pic] If the number of elements in row vector is NOT the same as the number of rows in the second matrix then their product is not defined. Example: [pic] Linear programming (LP; also called linear optimization) is a method to achieve the best outcome (such as maximum profit or lowest cost) in a mathematical model whose requirements are represented by linear relationships. Linear programming is a special case of mathematical programming (mathematical optimization). More formally, linear programming is a technique for the optimization of a linear objective function, subject to linear equality and linear inequality constraints. Its feasible region is a convex polytope, which is a set defined as the intersection of finitely many half spaces, each of which is defined by a linear inequality. Its objective function is a real-valued...
Words: 1244 - Pages: 5
...be focusing on the Input-Output analysis, a type of analysis created for the purpose of describing and making predictions of complicated mathematical models using systems of linear equations. It was established by “W. Leontief, who won the 1973 Nobel Prize in Economics” (Hefferon, p.60). In this paper, mathematical and linear algebra formulas, calculations, graphs, diagrams, pictures, etc., will be clearly shown as to further understand the applicability of linear algebra in economics. Calculations and mathematical examples used in economics will be provided in the context of this paper for better understanding. Also, terms and notations used will be explained, derivation and origin of mathematical results will be shown. Definitions: Economics is a branch of knowledge concerned with the production, distributions, and consumption of goods and services. Linear algebra is a branch of mathematics with the properties of finite dimensional vector spaces and linear mapping between the spaces. The equations are represented using matrices and vectors and consist of several unknowns. Econometrics is branch of economics that aims to give the definitions of application of mathematics and statistical methods to economic data. Game theory is a method of studying strategic decision-making, that is, the study of mathematical models of conflict and cooperation between decision makers (Levine). Input-output Analysis Application: The economy is a complicated network of sectors...
Words: 1271 - Pages: 6
...SENIOR SECONDARY COURSE PHYSICS 1 (CORE MODULES) Coordinators Dr. Oum Prakash Sharma Sh. R.S. Dass NATIONAL INSTITUTE OF OPEN SCHOOLING A-25, INSTITUTIONAL AREA, SECTOR-62, NOIDA-201301 (UP) COURSE DESIGN COMMITTEE CHAIRMAN Prof. S.C. Garg Former Pro-Vice Chancellor IGNOU, Maidan Garhi, Delhi MEMBERS Prof. A.R. Verma Former Director, National Physical Laboratory, Delhi, 160, Deepali Enclave Pitampura, Delhi-34 Dr. Naresh Kumar Reader (Rtd.) Deptt. of Physics Hindu College, D.U. Dr. Oum Prakash Sharma Asstt. Director (Academic) NIOS, Delhi Prof. L.S. Kothari Prof. of Physics (Retd.) Delhi University 71, Vaishali, Delhi-11008 Dr. Vajayshree Prof. of Physics IGNOU, Maidan Garhi Delhi Sh. R.S. Dass Vice Principal (Rtd.) BRMVB, Sr. Sec. School Lajpat Nagar, New Delhi-110024 Dr. G.S. Singh Prof. of Physics IIT Roorkee Sh. K.S. Upadhyaya Principal Jawahar Navodaya Vidyalaya Rohilla Mohammadabad (U.P.) Dr. V.B. Bhatia Prof. of Physics (Retd.) Delhi University 215, Sector-21, Faridabad COURSE DEVELOPMENT TEAM CHAIRMAN Prof. S.C. Garg Former Pro-Vice Chancellor IGNOU, Delhi MEMBERS Prof. V.B. Bhatia 215, Sector-21, Faridabad Prof. B.B. Tripathi Prof. of Physics (Retd.), IIT Delhi 9-A, Awadhpuri, Sarvodaya Nagar Lucknow-226016 Sh. K.S. Upadhyaya Principal Navodaya Vidyalaya Rohilla Mohammadabad, (U.P.) Dr. V.P. Shrivastava Reader (Physics) D.E.S.M., NCERT, Delhi EDITORS TEAM CHAIRMAN Prof. S.C. Garg Former Pro-Vice Chancellor IGNOU, Delhi MEMBERS Prof. B.B. Tripathi Prof...
Words: 131353 - Pages: 526
...multiple choice, but you do NOT need to bring a scantron form. There will be several choices of answer per multiple-choice question and, for each, only one answer will be the correct one. You should do rough work on the test or on paper provided by me. No calculator is allowed. No notes or cards are allowed. BRING YOUR MYMAV ID CARD WITH YOU. • When I write a test, I look over the lecture notes and homework which have already been assigned, and use them to model about 85% of the test problems (and most of them are fair game). You should expect between 30 and 40 questions in total. • A good way to review is to go over the homework problems you have not already done & make sure you understand all the homework well by 48 hours prior to the test. You should also look over the past tests/midterms and understand those fully. In addition, this information sheet provides some practice problems that are provided to help you study if you have finished all the homework questions. These practice questions do NOT form a model for the test. These questions are intended only to help you identify any gaps in your understanding. In the last 24 hours before the test, reread ALL the homework problems, skim through the lecture notes and past...
Words: 4172 - Pages: 17
...Calculus Fundamental theorems, Reduction formulae, Properties of definite integrals, Applications to length, area, volume, surface of revolution, improper integrals, Multiple Integrals-Double integrals, Applications to areas, volumes. Module III: Ordinary Differential Equations Formation of ODEs, Definition of order, degree & solutions, ODE of first order : Method of separation of variables, homogeneous and non homogeneous equations, Exactness & integrating factors, Linear equations & Bernoulli equations, General linear ODE of nth order, Solution of homogeneous equations, Operator method, Method of undetermined coefficients, Solution of simple simultaneous ODE. Module IV: Vector Calculus Scalar and Vector Field, Derivative of a Vector, Gradient, Directional Derivative, Divergence and Curl and their Physical Significance, Arc Length, Tangent, Directional Derivative, Evaluation of Line Integral, Green’s Theorem in...
Words: 310 - Pages: 2
...Mathematics Syllabus Algebra: Algebra of complex numbers, addition, multiplication, conjugation, polar representation, properties of modulus and principal argument, triangle inequality, cube roots of unity, geometric interpretations. Quadratic equations with real coefficients, relations between roots and coefficients, formation of quadratic equations with given roots, symmetric functions of roots. Arithmetic, geometric and harmonic progressions, arithmetic, geometric and harmonic means, sums of finite arithmetic and geometric progressions, infinite geometric series, sums of squares and cubes of the first n natural numbers. Logarithms and their properties. Permutations and combinations, Binomial theorem for a positive integral index, properties of binomial coefficients. Matrices as a rectangular array of real numbers, equality of matrices, addition, multiplication by a scalar and product of matrices, transpose of a matrix, determinant of a square matrix of order up to three, inverse of a square matrix of order up to three, properties of these matrix operations, diagonal, symmetric and skew-symmetric matrices and their properties, solutions of simultaneous linear equations in two or three variables. Addition and multiplication rules of probability, conditional probability, Bayes Theorem, independence of events, computation of probability of events using permutations and combinations. Trigonometry: Trigonometric functions, their periodicity and graphs, addition...
Words: 631 - Pages: 3
...meet. a) Given any two points in space, how would you find the vector from one point to another point? b) What is the relationship of this vector with the straight line that passes through the two points? 3. What do you understand by the term “normal vector to a flat plane”? What is/are the angle/angle(s) between the normal vector and the flat plane? Describe the relationship between any line on a plane with respect to the normal vector of the flat plane. Exploring and Understanding 4. Figure 1 Figure 1 above shows three points (i.e. A, B and C) lying on the same plane. a) From the information given, find vectors , and . = (0 3 -5) = ( b) From what you have discussed in Q2 and Q3, what is the relationship between the normal vector to the flat plane and the three vectors , and ? The normal vector is always perpendicular to the flat plane. c) What can you conclude about any vectors that lie on the plane with the normal vector to the plane? All perpendicular to the plane. Dot Product 5. Similar to multiplication of two scalar quantities, we can also multiply two vectors. One of the ways to multiply two vectors is by taking the dot product of these two vectors as shown below: If and , then a. * Find the dot product between vectorand . -30 b. Given that vector e is zero vector, i.e., find the dot product of vector c and e, and vector d and e. What conclusion can you draw...
Words: 984 - Pages: 4
...Product Description Throughout this paper use research to support your analysis / evaluation, but remember to keep your use of citations/quotes/credits to about 15% of your total paper (in other words, 85% of your submission needs to be your own words… be sure to indent the first line of the paragraph. This section of the paper must contain research - which means that a citation must be included in the section (Last name, year, page). The punctuation goes after the citation not at the end of the sentence. If no author is stated: (Short Title of Article, year). The punctuation goes after the citation not at the end of the sentence. Be consistent in the way you cite your group’s compiled work throughout this paper! Product & Firm History Throughout this paper use research to support your analysis / evaluation, but remember to keep your use of citations/quotes/credits to about 15% of your total paper (in other words, 85% of your submission needs to be your own words… be sure to indent the first line of the paragraph. This section of the paper must contain research - which means that a citation must be included in the section (Last name, year, page). The punctuation goes after the citation not at the end of the sentence. If no author is stated: (Short Title of Article, year). The punctuation goes after the citation not at the end of the sentence. Be consistent in the way you cite your group’s compiled work throughout this paper! The Traditional 4Ps Product Throughout...
Words: 825 - Pages: 4
...The Application of Matrix and Calculus in Business Submitted To: Ms. Farzana Lalarukh Associate Professor Department of finance University of Dhaka No NAME ID 01 Md. Shezanur Rahman 16-011 02 Morjina Begum 16-061 03 Ishrat Amin 16-119 04 Md. Liakot Akbar 16-121 05 Farah Tasneem 16-163 Ms. Farzana Lalarukh Associate Professor Department of Finance University of Dhaka Subject: Submission of Term paper on “The Application of Matrix and Calculus in Business” We are pleased to submit this term paper on “The Application of Matrix and Calculus in Business” as a preliminary requirement of fulfillment of this course of our BBA program. Throughout the study, we have tried with the best of our capacity to conciliate as much information as possible. We would like to thank you for assigning us such a responsibility and helping us on different aspects of the report. We hope you will appreciate the sincere effort. Yours sincerely Farah Tasneem (On behalf of the group) ID: 16-163 Section: A It is a great honor for us to submit this...
Words: 4023 - Pages: 17
...SCHAUM’S outlines SCHAUM’S outlines Linear Algebra Fourth Edition Seymour Lipschutz, Ph.D. Temple University Marc Lars Lipson, Ph.D. University of Virginia Schaum’s Outline Series New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto Copyright © 2009, 2001, 1991, 1968 by The McGraw-Hill Companies, Inc. All rights reserved. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written permission of the publisher. ISBN: 978-0-07-154353-8 MHID: 0-07-154353-8 The material in this eBook also appears in the print version of this title: ISBN: 978-0-07-154352-1, MHID: 0-07-154352-X. All trademarks are trademarks of their respective owners. Rather than put a trademark symbol after every occurrence of a trademarked name, we use names in an editorial fashion only, and to the benefit of the trademark owner, with no intention of infringement of the trademark. Where such designations appear in this book, they have been printed with initial caps. McGraw-Hill eBooks are available at special quantity discounts to use as premiums and sales promotions, or for use in corporate training programs. To contact a representative please e-mail us at bulksales@mcgraw-hill.com. TERMS OF USE This is a copyrighted work and The McGraw-Hill Companies,...
Words: 229129 - Pages: 917
...Short Answer Assignment 5.1 1. Conditionally executed is a single alternative decision structure. It provides only one alternative path of execution. The action is conditionally executed because it is performed only when a certain condition is true. 2. Using the IF statement will be the way to go because it is a dual alternative decision structure. 3. The case structure would be the most straightforward to use. 4. The and operator takes two Boolean expressions as operands and creates a compound Boolean expression that is true only when both sub-expressions are true. 5. The OR operator takes two Boolean expressions as operands and create a compound Boolean expression that is true when either of the sub-expressions are true. 6. The And operator 7. A flag is a Boolean variable that signals when some conditions exists in the program. Algorithm Workbench 1. If x is > 100 y=20 z=40 End IF 2. If a is < 10 then b=0 c=1 End If 3. If a is <10 b=0 Else If 4. If score is <60 Then Display “Your grade is F.” Else If score is <70 Then Display “Your grade is D.” Else If score is< 80 Then Display “Your grade is C.” Else If score is <90 Then Display “Your grade is B.” Else Display “Your grade is A.” End If End If End If End If 5. Main Mod If (amount1>10) AND (amount2 <100) Then If amount1>amount2 Then Display “Amount 1 is greater than Amount 2” Else If amount2>...
Words: 433 - Pages: 2
...Program Description Write a few lines of pseudo code to calculate the cost of a road trip. Prompt the user for the cost of gas, the cost of food, and the cost of lodging. Sum up the total cost and display the output. Analysis The point of the program is to calculate a total cost on a prospective road. To produce these results I will be adding costGas, costFood and costLodging to get costTotal. The final display will be in dollars. I will be using a submodular approach with submodules: Welcome, Prompts, and DisplayOutput Welcome – displays the welcome message Prompts – simply prompts the user for required information of costFood, costGas and costLodging DisplayOutput – displays the final result on the screen. Program design Main //Declare Variables //Initialize Variables //Display welcome message Call Welcome //Prompt for an input to get cost of gas. Store user’s input as costGas //Prompt for an input to get cost of food. Store user’s input as costFood //Prompt for an input to get cost of lodging. Store user’s input as costLodging //Calculate by adding costGas, costFood and costLodging costTotal=costGas+costFood+costLodging //Display output Call DisplayOutput End Submodule Welcome //Display welcome message End //End Welcome Submodule Prompts //Display Prompts End //End Prompts Submodule DisplayOutput //Display DisplayOutput End //End DisplayOutput Code(Pseudo-code) Main //This program...
Words: 478 - Pages: 2
...Lab 8.1 Step 2: The hour is 1 continue loop till the hour is 24 then stop. Step 3: Constant Integer Max_Minutes = 60 Declare Integer minutes For minutes = 1 to Max_Minutes Display “The minute is “, minutes End For Step 4: Constant Integer Max_Seconds = 60 Declare Integer seconds For seconds = 1 to Max_Seconds Display “The second is “, seconds End For Step 6: The number is 2 The number is 4 The number is 6 The number is 8 The number is 10 Step 7: Constant Integer Max_VALUE = 200 Declare Integer counter For counter = 20 to Max_VALUE step 20 Display “The number is “, counter End For Step 9: Enter the number of students in class Display however many numbered students you enter Step 11: Loop five times, each asking you to enter a number Displaying the total at the end Step 12: Declare Integer counter Declare Integer totalAge = 0 Declare Real averageAge = 0 Declare Integer age Declare Integer number Display “How many ages do you want to enter: “ Input number For counter = 1 to number Display “Enter age “ Input age Set totalAge = totalAge + age End For averageAge = totalAge / number Display “The average age is “, averageAge Lab 8.2 Lab 8.3 Module Module1 Sub Main() Dim anotherDay As String = "yes" While anotherDay = "yes" Dim totalSpeed As Double = 0 Dim averageSpeed As Double = 0 enterSpeeds(totalSpeed) calcAverage(totalSpeed, averageSpeed) ...
Words: 324 - Pages: 2